@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
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./wellknown-nf8nzb7g.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-th16xtyn.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-t5t85r32.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
UnsupportedPackageError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-c8x8zcz1.js";
|
|
20
20
|
|
|
21
21
|
// src/session/to-session-error.ts
|
|
22
22
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./wellknown-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service75
|
|
8
|
+
} from "./wellknown-4f40xxt9.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service53
|
|
11
|
+
} from "./wellknown-301ntmw9.js";
|
|
12
12
|
import {
|
|
13
13
|
Service13
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./wellknown-rt56ea7r.js";
|
|
15
15
|
import {
|
|
16
16
|
Service14,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-gtp0d19d.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service64
|
|
22
|
+
} from "./wellknown-th16xtyn.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service20,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./wellknown-zfdfzxrp.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./wellknown-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin20,
|
|
42
|
+
name: () => name2,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name2 = "patch";
|
|
89
|
+
var Input2 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output2 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent2 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin20 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
111
|
+
const environment = yield* Service53;
|
|
112
|
+
const access = yield* Service20;
|
|
113
113
|
const fileMutation = yield* Service14;
|
|
114
114
|
const formatter = yield* Service13;
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
115
|
+
const location = yield* Service75;
|
|
116
|
+
const permission = yield* Service64;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name2,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input2,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin41 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent2(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -323,4 +323,4 @@ function trimDiff(diff) {
|
|
|
323
323
|
`);
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
export {
|
|
326
|
+
export { name2, Input2, Applied2, Output2, toModelContent2, Plugin20, exports_patch };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update3
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
21
21
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function update3(adapter, event) {
|
|
25
25
|
const created = DateTime.makeUnsafe(event.created);
|
|
26
26
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
27
27
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -385,4 +385,4 @@ function update2(adapter, event) {
|
|
|
385
385
|
return project(event);
|
|
386
386
|
}
|
|
387
387
|
|
|
388
|
-
export {
|
|
388
|
+
export { update3, exports_message_updater };
|
|
@@ -1,59 +1,59 @@
|
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service72,
|
|
11
|
+
node77
|
|
12
|
+
} from "./wellknown-98b7kxpa.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service61,
|
|
15
|
+
node66
|
|
16
|
+
} from "./wellknown-ebah8r6x.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make18
|
|
22
|
+
} from "./wellknown-r8xr0va3.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service58
|
|
26
|
+
} from "./wellknown-afdssyjb.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./wellknown-nf8nzb7g.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service65,
|
|
32
|
+
node70
|
|
33
|
+
} from "./wellknown-eg418mx6.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./wellknown-0fey9sjf.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./wellknown-6xzgjakr.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service57,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
51
|
-
noopLayer: () =>
|
|
49
|
+
layer: () => layer22,
|
|
50
|
+
node: () => node63,
|
|
51
|
+
noopLayer: () => noopLayer3,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service57 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
68
|
+
var layer22 = Layer.effect(Service57, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service65;
|
|
70
|
+
const instances = yield* Service61;
|
|
71
71
|
const bus = yield* Service79;
|
|
72
|
-
const jobs = yield*
|
|
72
|
+
const jobs = yield* Service72;
|
|
73
73
|
const db = (yield* Service80).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -82,13 +82,13 @@ var layer17 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service58.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable)
|
|
89
89
|
});
|
|
90
90
|
});
|
|
91
|
-
const coordinator = yield*
|
|
91
|
+
const coordinator = yield* make18({
|
|
92
92
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
93
93
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
94
94
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -109,7 +109,7 @@ var layer17 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
109
109
|
}, releaseOnCommit(sessionID));
|
|
110
110
|
}))
|
|
111
111
|
});
|
|
112
|
-
return
|
|
112
|
+
return Service57.of({
|
|
113
113
|
active: coordinator.active,
|
|
114
114
|
isActive: coordinator.isActive,
|
|
115
115
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -128,12 +128,12 @@ var layer17 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
128
128
|
awaitIdle: coordinator.awaitIdle
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var
|
|
132
|
-
service:
|
|
133
|
-
layer:
|
|
134
|
-
deps: [
|
|
131
|
+
var node63 = makeGlobalNode({
|
|
132
|
+
service: Service57,
|
|
133
|
+
layer: layer22,
|
|
134
|
+
deps: [node70, node66, node84, node85, node77]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
136
|
+
var noopLayer3 = Layer.succeed(Service57, Service57.of({
|
|
137
137
|
active: Effect.succeed(new Set),
|
|
138
138
|
isActive: () => Effect.succeed(false),
|
|
139
139
|
resume: () => Effect.void,
|
|
@@ -142,4 +142,4 @@ var noopLayer2 = Layer.succeed(Service34, Service34.of({
|
|
|
142
142
|
awaitIdle: () => Effect.void
|
|
143
143
|
}));
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { Service57, terminal2, layer22, node63, noopLayer3, exports_execution };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info14,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info14 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info16 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info14, exports_provider2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-7wdjtyr9.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-nf8nzb7g.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-rhjbct0v.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-a1bz86dw.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./wellknown-cq37gk0t.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./wellknown-06dxphr1.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service50
|
|
4
|
+
} from "./wellknown-p8kqgwd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service55
|
|
7
|
+
} from "./wellknown-xtxsez35.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin18
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin18 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service50;
|
|
27
|
+
const output = yield* Service55;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin11 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin18, exports_tool_output };
|
|
@@ -1,64 +1,64 @@
|
|
|
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
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./wellknown-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./wellknown-06dxphr1.js";
|
|
21
21
|
import {
|
|
22
22
|
load3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./wellknown-0rzpb8gt.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./wellknown-kg06axw8.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./wellknown-d50f2zf5.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./wellknown-q8p9236r.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./wellknown-0fey9sjf.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./wellknown-7kwy8a22.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./wellknown-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
record2,
|
|
47
47
|
add2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./wellknown-tdstcens.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/compaction.ts
|
|
54
54
|
var exports_compaction2 = {};
|
|
55
55
|
__export(exports_compaction2, {
|
|
56
|
-
Service: () =>
|
|
56
|
+
Service: () => Service8,
|
|
57
57
|
SessionCompaction: () => exports_compaction2,
|
|
58
58
|
buildPrompt: () => buildPrompt2,
|
|
59
59
|
estimateTokens: () => estimateTokens2,
|
|
60
60
|
layer: () => layer7,
|
|
61
|
-
node: () =>
|
|
61
|
+
node: () => node11,
|
|
62
62
|
retainUsers: () => retainUsers2,
|
|
63
63
|
serializeToolContent: () => serializeToolContent2,
|
|
64
64
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -123,7 +123,7 @@ var SUMMARY_RULES = `Rules:
|
|
|
123
123
|
var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
124
124
|
`).filter((line) => line.startsWith("##"));
|
|
125
125
|
|
|
126
|
-
class
|
|
126
|
+
class Service8 extends Context.Service()("@opencode/SessionCompaction") {
|
|
127
127
|
}
|
|
128
128
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
129
129
|
var estimateTokens2 = (input) => {
|
|
@@ -291,7 +291,7 @@ var buildPrompt2 = (update) => {
|
|
|
291
291
|
};
|
|
292
292
|
var hasSummarySection = (summary) => summary.split(`
|
|
293
293
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
294
|
-
var layer7 = Layer.effect(
|
|
294
|
+
var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
295
295
|
const bus = yield* Service79;
|
|
296
296
|
const llm = yield* LLMClient.Service;
|
|
297
297
|
const db = (yield* Service80).db;
|
|
@@ -574,7 +574,7 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
574
574
|
}
|
|
575
575
|
}));
|
|
576
576
|
});
|
|
577
|
-
return
|
|
577
|
+
return Service8.of({
|
|
578
578
|
transform: state.transform,
|
|
579
579
|
reload: state.reload,
|
|
580
580
|
enabled: () => state.get().auto,
|
|
@@ -583,10 +583,10 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
583
583
|
compactManual
|
|
584
584
|
});
|
|
585
585
|
}));
|
|
586
|
-
var
|
|
587
|
-
service:
|
|
586
|
+
var node11 = makeLocationNode({
|
|
587
|
+
service: Service8,
|
|
588
588
|
layer: layer7,
|
|
589
589
|
deps: [node84, node85, llmClient2]
|
|
590
590
|
});
|
|
591
591
|
|
|
592
|
-
export {
|
|
592
|
+
export { Service8, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node11, exports_compaction2 };
|