@opencode/core 0.0.0-dev-19298 → 0.0.0-dev-19299
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 +75 -75
- 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/{wellknown-t1gyex3t.js → shell-00xsej0j.js} +11 -11
- package/dist/chunks/{wellknown-e5xbyv4k.js → shell-05w1n024.js} +3 -3
- package/dist/chunks/{wellknown-0hpxrkyb.js → shell-0hpxrkyb.js} +2 -2
- package/dist/chunks/{wellknown-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
- package/dist/chunks/{wellknown-x8epn3eh.js → shell-0pkbjn6r.js} +27 -27
- package/dist/chunks/{wellknown-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
- package/dist/chunks/{wellknown-5b5zdayx.js → shell-0rjzv2qt.js} +15 -15
- package/dist/chunks/{wellknown-0v53mg2y.js → shell-0v53mg2y.js} +1 -1
- package/dist/chunks/{wellknown-y8t89g2h.js → shell-0v877kr8.js} +5 -5
- package/dist/chunks/{wellknown-yb0rz80c.js → shell-10d00zpt.js} +26 -26
- package/dist/chunks/{wellknown-tregh9zc.js → shell-138zhwcg.js} +2 -2
- package/dist/chunks/{wellknown-ec8389mk.js → shell-18e56dsp.js} +4 -4
- package/dist/chunks/{wellknown-5ba826g4.js → shell-18fyhaqr.js} +31 -31
- package/dist/chunks/{wellknown-80e0yyk8.js → shell-1awm1f41.js} +12 -12
- package/dist/chunks/{wellknown-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
- package/dist/chunks/{wellknown-w10k0mk6.js → shell-20qr1f9s.js} +18 -18
- package/dist/chunks/{wellknown-21r38tys.js → shell-21r38tys.js} +1 -1
- package/dist/chunks/{wellknown-2402vzrj.js → shell-2402vzrj.js} +1 -1
- package/dist/chunks/{wellknown-4w8b7heb.js → shell-25m32m9c.js} +21 -21
- package/dist/chunks/{wellknown-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
- package/dist/chunks/{wellknown-4kftbr8z.js → shell-2a9rpc71.js} +80 -80
- package/dist/chunks/{wellknown-w6jjpet8.js → shell-2ehqxkpw.js} +18 -18
- package/dist/chunks/{wellknown-zfdfzxrp.js → shell-2hhhp258.js} +17 -17
- package/dist/chunks/{wellknown-7dqw4kz8.js → shell-2k8khapm.js} +5 -5
- package/dist/chunks/{wellknown-ej8cxv4b.js → shell-2qab6ga2.js} +11 -11
- package/dist/chunks/{wellknown-92ceydex.js → shell-2qfg8d7s.js} +13 -13
- package/dist/chunks/{wellknown-gkzab4dd.js → shell-2tjgwr1s.js} +35 -35
- package/dist/chunks/{wellknown-751bb1qn.js → shell-2vc21b52.js} +6 -6
- package/dist/chunks/{wellknown-98b7kxpa.js → shell-3a20re4p.js} +14 -14
- package/dist/chunks/{wellknown-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
- package/dist/chunks/{wellknown-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{wellknown-k3htwn63.js → shell-3m73xpkh.js} +30 -30
- package/dist/chunks/{wellknown-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
- package/dist/chunks/{wellknown-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
- package/dist/chunks/{wellknown-345aazev.js → shell-41kyjx1y.js} +6 -6
- package/dist/chunks/{wellknown-a4exdnt3.js → shell-43k15f45.js} +4 -4
- package/dist/chunks/{wellknown-m8vs919j.js → shell-4b7zwk5x.js} +16 -16
- package/dist/chunks/{wellknown-xtxsez35.js → shell-54jgwn9b.js} +12 -12
- package/dist/chunks/{wellknown-56gdpj1q.js → shell-56gdpj1q.js} +2 -2
- package/dist/chunks/{wellknown-dhnpxtn3.js → shell-56v372ka.js} +22 -22
- package/dist/chunks/{wellknown-kdpy9gz7.js → shell-5ayyaxsv.js} +24 -24
- package/dist/chunks/{wellknown-5daktx2q.js → shell-5daktx2q.js} +1 -1
- package/dist/chunks/{wellknown-h5nf0wwg.js → shell-5f9fjpvd.js} +17 -17
- package/dist/chunks/{wellknown-tsra1adq.js → shell-5nkpcfwc.js} +20 -20
- package/dist/chunks/{wellknown-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
- package/dist/chunks/{wellknown-1vsftg9k.js → shell-618mw38d.js} +9 -9
- package/dist/chunks/{wellknown-kj3rejfq.js → shell-63w78ebd.js} +42 -42
- package/dist/chunks/{wellknown-669tq793.js → shell-669tq793.js} +1 -1
- package/dist/chunks/{wellknown-jsf83ghp.js → shell-6d22mmhm.js} +8 -8
- package/dist/chunks/{wellknown-fvanntqq.js → shell-6ersrjne.js} +4 -4
- package/dist/chunks/{wellknown-6wfwqt87.js → shell-6fpr2q13.js} +7 -7
- package/dist/chunks/{wellknown-xekzrwwc.js → shell-6hh53734.js} +9 -9
- package/dist/chunks/{wellknown-djyr913s.js → shell-6k2bypnf.js} +20 -20
- package/dist/chunks/{wellknown-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
- package/dist/chunks/{wellknown-8cw9e3y8.js → shell-706y5kzp.js} +19 -19
- package/dist/chunks/{wellknown-q17z9dx8.js → shell-70y17xeh.js} +5 -5
- package/dist/chunks/{wellknown-71q4at8m.js → shell-71q4at8m.js} +1 -1
- package/dist/chunks/{wellknown-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{wellknown-0f9afca0.js → shell-7gvwkz6m.js} +5 -5
- package/dist/chunks/{wellknown-t5t85r32.js → shell-7jw46hp1.js} +24 -24
- package/dist/chunks/{wellknown-vy22dxga.js → shell-7tc1bkdm.js} +22 -22
- package/dist/chunks/{wellknown-arnmqd59.js → shell-7y1qfq25.js} +1 -1
- package/dist/chunks/{wellknown-1t0hsb5v.js → shell-7yef7cvy.js} +11 -11
- package/dist/chunks/{wellknown-vxyf8mmv.js → shell-7z6sde0c.js} +26 -26
- package/dist/chunks/{wellknown-pcax7nge.js → shell-83nz3y93.js} +10 -10
- package/dist/chunks/{wellknown-frfc3m7z.js → shell-89216gat.js} +8 -8
- package/dist/chunks/{wellknown-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
- package/dist/chunks/{wellknown-2az4qg4k.js → shell-8ed5dapv.js} +9 -9
- package/dist/chunks/{wellknown-8p4f9s12.js → shell-8p4f9s12.js} +2 -2
- package/dist/chunks/{wellknown-1cxh2yq8.js → shell-8pmkjsch.js} +15 -15
- package/dist/chunks/{wellknown-jy16bfac.js → shell-96yt6zt0.js} +1 -1
- package/dist/chunks/{wellknown-6xzgjakr.js → shell-97wsckqb.js} +17 -17
- package/dist/chunks/{wellknown-kvmv1fep.js → shell-994aemam.js} +22 -22
- package/dist/chunks/shell-9cbfsecp.js +247 -0
- package/dist/chunks/{wellknown-7png34pd.js → shell-9f3htfzg.js} +11 -11
- package/dist/chunks/{wellknown-j7hxrhe3.js → shell-9rh7p80v.js} +27 -27
- package/dist/chunks/{wellknown-rhvgj8e6.js → shell-9se2kd1x.js} +20 -20
- package/dist/chunks/{wellknown-gdcxaw8d.js → shell-9y2ew1rf.js} +32 -32
- package/dist/chunks/{wellknown-2g4a82s9.js → shell-a08t2777.js} +17 -17
- package/dist/chunks/{wellknown-a1bz86dw.js → shell-a1bz86dw.js} +3 -3
- package/dist/chunks/{wellknown-zc3bbtev.js → shell-a76t9a7s.js} +7 -7
- package/dist/chunks/{wellknown-aaet6srn.js → shell-aaet6srn.js} +2 -2
- package/dist/chunks/{wellknown-h9t3yg4c.js → shell-amyzqp92.js} +4 -4
- package/dist/chunks/{wellknown-th16xtyn.js → shell-aptkcqzk.js} +32 -32
- package/dist/chunks/{wellknown-r5ba5pd1.js → shell-aqxxzgb1.js} +9 -9
- package/dist/chunks/{wellknown-qg0c46zd.js → shell-b0qfk3e8.js} +15 -15
- package/dist/chunks/{wellknown-1vf609rd.js → shell-b22s170t.js} +20 -20
- package/dist/chunks/{wellknown-8zm39b8n.js → shell-b4jn3br6.js} +17 -17
- package/dist/chunks/{wellknown-5ekz0yty.js → shell-b57s6jwk.js} +35 -35
- package/dist/chunks/{wellknown-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
- package/dist/chunks/{wellknown-4f40xxt9.js → shell-b6rw8h1c.js} +17 -17
- package/dist/chunks/{wellknown-fpv6qd1b.js → shell-b97hqjkq.js} +8 -8
- package/dist/chunks/{wellknown-g477egy3.js → shell-bc9tah8j.js} +8 -8
- package/dist/chunks/{wellknown-qnxyes55.js → shell-bcn7gkrj.js} +6 -6
- package/dist/chunks/{wellknown-ztc1je1k.js → shell-bhct745e.js} +15 -15
- package/dist/chunks/{wellknown-83q352bh.js → shell-bx7eg4z0.js} +50 -50
- package/dist/chunks/{wellknown-eg7325wb.js → shell-c4tw6aft.js} +22 -22
- package/dist/chunks/{wellknown-j7ashrwe.js → shell-c8zh40b9.js} +41 -41
- package/dist/chunks/{wellknown-7s9yv6nr.js → shell-c902c3h9.js} +19 -19
- package/dist/chunks/{wellknown-cfpkc3c9.js → shell-cfpkc3c9.js} +2 -2
- package/dist/chunks/{wellknown-844ef7ks.js → shell-cmwkp3r5.js} +4 -4
- package/dist/chunks/{wellknown-92sryvry.js → shell-cpk6j284.js} +9 -9
- package/dist/chunks/{wellknown-cq37gk0t.js → shell-cq37gk0t.js} +4 -4
- package/dist/chunks/{wellknown-pchvxq4t.js → shell-cxmnv656.js} +4 -4
- package/dist/chunks/{wellknown-hsbjamnz.js → shell-d21bwxkq.js} +33 -33
- package/dist/chunks/{wellknown-q8p9236r.js → shell-desah413.js} +21 -21
- package/dist/chunks/{wellknown-3w2b2yj4.js → shell-dj9sq318.js} +5 -5
- package/dist/chunks/{wellknown-b0yc1cc1.js → shell-dkkztdya.js} +15 -15
- package/dist/chunks/{wellknown-rt56ea7r.js → shell-dmvjrdjg.js} +15 -15
- package/dist/chunks/{wellknown-y71avatq.js → shell-dpkg50ah.js} +4 -4
- package/dist/chunks/{wellknown-htjw9qza.js → shell-dsst23xf.js} +8 -8
- package/dist/chunks/{wellknown-afdssyjb.js → shell-e2hjzebn.js} +4 -4
- package/dist/chunks/{wellknown-f7na88a3.js → shell-e42zg7c9.js} +19 -19
- package/dist/chunks/{wellknown-s9c35a17.js → shell-e7szzkhd.js} +7 -7
- package/dist/chunks/{wellknown-cf5npnpn.js → shell-e9pvhpj1.js} +32 -32
- package/dist/chunks/{wellknown-f1qeq853.js → shell-ejnnja69.js} +5 -5
- package/dist/chunks/{wellknown-dy1s2zwt.js → shell-ek4n1jkk.js} +3 -3
- package/dist/chunks/{wellknown-vwjrxgyb.js → shell-emmyw7mw.js} +62 -62
- package/dist/chunks/{wellknown-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
- package/dist/chunks/{wellknown-qek8dtx8.js → shell-ewxvpahx.js} +7 -7
- package/dist/chunks/{wellknown-dnwf0qct.js → shell-f0hazdnn.js} +80 -80
- package/dist/chunks/{wellknown-f828m53h.js → shell-f828m53h.js} +2 -2
- package/dist/chunks/{wellknown-f9bavhm2.js → shell-f8q7mv7a.js} +1 -1
- package/dist/chunks/{wellknown-94sf61n7.js → shell-fad7jthp.js} +5 -5
- package/dist/chunks/{wellknown-cx9z24qy.js → shell-fccy21eq.js} +25 -25
- package/dist/chunks/{wellknown-qmr73083.js → shell-fgh0kbhd.js} +1 -1
- package/dist/chunks/{wellknown-kb2g279d.js → shell-fkwrhsf7.js} +15 -15
- package/dist/chunks/{wellknown-ebah8r6x.js → shell-fpq9acqp.js} +6 -6
- package/dist/chunks/{wellknown-kby4yt7g.js → shell-fr8908f4.js} +16 -16
- package/dist/chunks/{wellknown-d8ag70r5.js → shell-ftdj6rwn.js} +18 -18
- package/dist/chunks/{wellknown-rkbmpfe2.js → shell-fv6yey1z.js} +10 -10
- package/dist/chunks/{wellknown-jwx4y25k.js → shell-fwwk8vbp.js} +9 -9
- package/dist/chunks/{wellknown-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
- package/dist/chunks/{wellknown-18cztcj7.js → shell-fygdb7h7.js} +3 -3
- package/dist/chunks/{wellknown-pshw0dya.js → shell-g3nea3nn.js} +30 -30
- package/dist/chunks/{wellknown-vhzmfeej.js → shell-gccfn8rw.js} +24 -24
- package/dist/chunks/{wellknown-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
- package/dist/chunks/{wellknown-zerdtc7d.js → shell-gj9xpvv3.js} +2 -2
- package/dist/chunks/{wellknown-hv7kxmpp.js → shell-gq0a9pv7.js} +13 -13
- package/dist/chunks/{wellknown-599k2402.js → shell-gv1gd9by.js} +25 -25
- package/dist/chunks/{wellknown-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
- package/dist/chunks/{wellknown-h03wrkyp.js → shell-h03wrkyp.js} +2 -2
- package/dist/chunks/{wellknown-h2r7bbkd.js → shell-h2r7bbkd.js} +3 -3
- package/dist/chunks/{wellknown-f4xmay09.js → shell-h6kmz9yd.js} +162 -162
- package/dist/chunks/{wellknown-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
- package/dist/chunks/{wellknown-1smgb78j.js → shell-h9gpzc29.js} +15 -15
- package/dist/chunks/{wellknown-qfeftde1.js → shell-h9y0se6r.js} +10 -10
- package/dist/chunks/{wellknown-5wwtptpe.js → shell-hb21382w.js} +4 -4
- package/dist/chunks/{wellknown-6erqqgaw.js → shell-hteb4sy5.js} +11 -11
- package/dist/chunks/{wellknown-1a8afdf1.js → shell-hvy5aax6.js} +13 -13
- package/dist/chunks/{wellknown-ajq9kf1a.js → shell-hx84msds.js} +3 -3
- package/dist/chunks/{wellknown-s9cync3p.js → shell-hz8qtd9r.js} +26 -26
- package/dist/chunks/{wellknown-r5x6zcsm.js → shell-j028xdjb.js} +3 -3
- package/dist/chunks/{wellknown-j56e64zr.js → shell-j56e64zr.js} +1 -1
- package/dist/chunks/{wellknown-yrntw0wa.js → shell-jap5vfbs.js} +10 -10
- package/dist/chunks/{wellknown-zrnwyp6v.js → shell-jh9n7czd.js} +15 -15
- package/dist/chunks/{wellknown-5aveev3e.js → shell-jm9tsfw3.js} +5 -5
- package/dist/chunks/{wellknown-301ntmw9.js → shell-jr1myxr3.js} +24 -24
- package/dist/chunks/{wellknown-jj63jgrn.js → shell-js0rm7nb.js} +8 -8
- package/dist/chunks/{wellknown-0r7yqxbf.js → shell-jv01nqvq.js} +5 -5
- package/dist/chunks/{wellknown-5hjhdcrb.js → shell-jw31rss3.js} +28 -28
- package/dist/chunks/{wellknown-jw80jp6b.js → shell-jw80jp6b.js} +1 -1
- package/dist/chunks/{wellknown-ebc7h8jh.js → shell-jygyrd66.js} +4 -4
- package/dist/chunks/{wellknown-sg5j0v43.js → shell-jzban73a.js} +23 -23
- package/dist/chunks/{wellknown-v8ch97zc.js → shell-k16ay38w.js} +1 -1
- package/dist/chunks/{wellknown-0jfqnnd8.js → shell-k1qcad96.js} +36 -36
- package/dist/chunks/{wellknown-r5yb3bmp.js → shell-ke6544fm.js} +35 -35
- package/dist/chunks/{wellknown-kg06axw8.js → shell-kg06axw8.js} +1 -1
- package/dist/chunks/{wellknown-5jtdmvnp.js → shell-ksz0h0wp.js} +1 -1
- package/dist/chunks/{wellknown-6d5ab3w3.js → shell-ktqk9wm9.js} +12 -12
- package/dist/chunks/{wellknown-rh8sysy4.js → shell-ky97rf12.js} +10 -10
- package/dist/chunks/{wellknown-2wj8n25z.js → shell-kzr6x06e.js} +6 -6
- package/dist/chunks/{wellknown-2d6j2h4j.js → shell-m27pyyd3.js} +6 -6
- package/dist/chunks/{wellknown-nf8nzb7g.js → shell-m3ncy77r.js} +3 -3
- package/dist/chunks/{wellknown-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{wellknown-mkcjrzeh.js → shell-mkcjrzeh.js} +1 -1
- package/dist/chunks/{wellknown-r0pa45k4.js → shell-mrd03y1j.js} +9 -9
- package/dist/chunks/{wellknown-jxak35yf.js → shell-n2cfwsx3.js} +46 -46
- package/dist/chunks/{wellknown-sv9bpgvh.js → shell-n76fdqym.js} +5 -5
- package/dist/chunks/{wellknown-hjt4xg1x.js → shell-nhy5jxhy.js} +4 -4
- package/dist/chunks/{wellknown-tn1q108x.js → shell-p2cyn4p5.js} +280 -280
- package/dist/chunks/{wellknown-433mxpjr.js → shell-p422xgpw.js} +37 -37
- package/dist/chunks/{wellknown-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
- package/dist/chunks/{wellknown-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{wellknown-pcf161yc.js → shell-pmmw8deh.js} +53 -53
- package/dist/chunks/{wellknown-k7ezg90w.js → shell-pqqxfvch.js} +11 -11
- package/dist/chunks/{wellknown-xczywpe1.js → shell-ptwhs400.js} +25 -25
- package/dist/chunks/{wellknown-7wdjtyr9.js → shell-q19p4fn9.js} +3 -3
- package/dist/chunks/{wellknown-pwzt2dd6.js → shell-q59nfae1.js} +21 -21
- package/dist/chunks/{wellknown-ryr25ayn.js → shell-qa3qhgw8.js} +4 -4
- package/dist/chunks/{wellknown-1m53f3h1.js → shell-qag0q529.js} +16 -16
- package/dist/chunks/{wellknown-5gbkaz4t.js → shell-qc6f3j7a.js} +5 -5
- package/dist/chunks/{wellknown-t3jrbyxp.js → shell-qka0hr3t.js} +5 -5
- package/dist/chunks/{wellknown-yesww6qn.js → shell-qrgq40sn.js} +9 -9
- package/dist/chunks/{wellknown-qsdy395h.js → shell-qsdy395h.js} +1 -1
- package/dist/chunks/{wellknown-p8kqgwd3.js → shell-qw53xxyx.js} +39 -39
- package/dist/chunks/{wellknown-bbcn74nn.js → shell-r0z2gdxb.js} +8 -8
- package/dist/chunks/{wellknown-0rzpb8gt.js → shell-r19qme2h.js} +8 -8
- package/dist/chunks/{wellknown-k5nzfyaf.js → shell-r4am0p4d.js} +19 -19
- package/dist/chunks/{wellknown-kckbw66n.js → shell-r80v4heq.js} +9 -9
- package/dist/chunks/{wellknown-r8xr0va3.js → shell-r8xr0va3.js} +1 -1
- package/dist/chunks/{wellknown-31dz7cp4.js → shell-r9babyk8.js} +1 -1
- package/dist/chunks/shell-rap9a73h.js +18 -0
- package/dist/chunks/{wellknown-v69q3rne.js → shell-rg4s5c95.js} +21 -21
- package/dist/chunks/{wellknown-rhjbct0v.js → shell-rhjbct0v.js} +1 -1
- package/dist/chunks/{wellknown-7kwy8a22.js → shell-rpsff8a5.js} +6 -6
- package/dist/chunks/{wellknown-06dxphr1.js → shell-rsdf2nvv.js} +4 -4
- package/dist/chunks/{wellknown-qm7jrdpz.js → shell-rtathh62.js} +8 -8
- package/dist/chunks/{wellknown-ag9w6e5n.js → shell-s79t7y84.js} +6 -6
- package/dist/chunks/{wellknown-97648kyg.js → shell-sd7yc29c.js} +11 -11
- package/dist/chunks/{wellknown-gtp0d19d.js → shell-sn3acatt.js} +13 -13
- package/dist/chunks/{wellknown-vxwzppst.js → shell-srpeewqc.js} +9 -9
- package/dist/chunks/{wellknown-x4qbn06s.js → shell-swc0pkqs.js} +9 -9
- package/dist/chunks/{wellknown-0w219v1z.js → shell-t0gs96tb.js} +11 -11
- package/dist/chunks/{wellknown-t0x5rdq8.js → shell-t0x5rdq8.js} +2 -2
- package/dist/chunks/{wellknown-rvyy05ds.js → shell-t8jgb82e.js} +11 -11
- package/dist/chunks/{wellknown-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
- package/dist/chunks/{wellknown-wxgaszs1.js → shell-tcaz1bq6.js} +16 -16
- package/dist/chunks/{wellknown-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
- package/dist/chunks/{wellknown-tdstcens.js → shell-tdstcens.js} +1 -1
- package/dist/chunks/{wellknown-eg418mx6.js → shell-tettmk12.js} +14 -14
- package/dist/chunks/{wellknown-qr27hz8v.js → shell-tfngb0ww.js} +4 -4
- package/dist/chunks/{wellknown-h1p5fdzw.js → shell-tmf5q148.js} +7 -7
- package/dist/chunks/{wellknown-9ppkv52n.js → shell-tvs8yzpc.js} +8 -8
- package/dist/chunks/{wellknown-tvtrv512.js → shell-tvtrv512.js} +1 -1
- package/dist/chunks/{wellknown-6cpxxfqb.js → shell-tx48azwr.js} +33 -33
- package/dist/chunks/{wellknown-81a28jj9.js → shell-v03gdzqm.js} +20 -20
- package/dist/chunks/{wellknown-g8j92q4r.js → shell-v4wpewe9.js} +24 -24
- package/dist/chunks/{wellknown-kwvvtnkq.js → shell-va26gyj7.js} +38 -38
- package/dist/chunks/{wellknown-5g4j5yqq.js → shell-ve0vypz6.js} +18 -18
- package/dist/chunks/{wellknown-veqvce7d.js → shell-veqvce7d.js} +1 -1
- package/dist/chunks/{wellknown-vbt1q5qz.js → shell-vmhtgab3.js} +14 -14
- package/dist/chunks/{wellknown-1w8g4bq4.js → shell-vsqc0n3y.js} +12 -12
- package/dist/chunks/{wellknown-jc5jqykq.js → shell-vvqxd921.js} +6 -6
- package/dist/chunks/{wellknown-vyqn3nqs.js → shell-vyqn3nqs.js} +1 -1
- package/dist/chunks/{wellknown-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
- package/dist/chunks/{wellknown-3vt47zmq.js → shell-vzepkry7.js} +17 -17
- package/dist/chunks/{wellknown-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{wellknown-0gyadjkj.js → shell-w4t3nk4h.js} +36 -36
- package/dist/chunks/{wellknown-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{wellknown-dqyrj80g.js → shell-wqak0vb9.js} +23 -23
- package/dist/chunks/{wellknown-d50f2zf5.js → shell-wx9wy1qm.js} +1 -1
- package/dist/chunks/{wellknown-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
- package/dist/chunks/{wellknown-1e8nxva5.js → shell-x270dfa1.js} +14 -14
- package/dist/chunks/{wellknown-x43y2vfs.js → shell-x43y2vfs.js} +2 -2
- package/dist/chunks/{wellknown-0fey9sjf.js → shell-x6cmkhdm.js} +4 -4
- package/dist/chunks/{wellknown-6d8w2zge.js → shell-x6n2md0c.js} +4 -4
- package/dist/chunks/{wellknown-13adgrn5.js → shell-x7cz8gr1.js} +22 -22
- package/dist/chunks/{wellknown-nbddwgy7.js → shell-x940zq77.js} +10 -10
- package/dist/chunks/{wellknown-j15mxnwj.js → shell-xdh3xy78.js} +6 -6
- package/dist/chunks/{wellknown-r47paza8.js → shell-xdpfkwez.js} +38 -38
- package/dist/chunks/{wellknown-jn3vahqd.js → shell-xmkt8jmy.js} +8 -8
- package/dist/chunks/{wellknown-6h4qwayx.js → shell-xn4a1s6b.js} +2 -2
- package/dist/chunks/{wellknown-86hz29wt.js → shell-y03df9yv.js} +7 -7
- package/dist/chunks/{wellknown-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
- package/dist/chunks/{wellknown-9pebw04q.js → shell-y46htk8f.js} +32 -32
- package/dist/chunks/{wellknown-rsym84ch.js → shell-y5mrfvw4.js} +9 -9
- package/dist/chunks/{wellknown-b99r3qgs.js → shell-ya8xe20p.js} +10 -10
- package/dist/chunks/{wellknown-2gc4ne5c.js → shell-ygvd8b8c.js} +3 -3
- package/dist/chunks/{wellknown-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
- package/dist/chunks/{wellknown-yrznvahk.js → shell-yrznvahk.js} +2 -2
- package/dist/chunks/{wellknown-vx52c60r.js → shell-yxfce51e.js} +14 -14
- package/dist/chunks/{wellknown-tjbnh4gx.js → shell-yy1a830f.js} +11 -11
- package/dist/chunks/{wellknown-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
- package/dist/chunks/{wellknown-kbv6dgc6.js → shell-z0kp0xfc.js} +4 -4
- package/dist/chunks/{wellknown-z63w68vq.js → shell-z63w68vq.js} +2 -2
- package/dist/chunks/{wellknown-1ah30sey.js → shell-z69s9t6b.js} +5 -5
- package/dist/chunks/{wellknown-z9054wkr.js → shell-zakbxfw5.js} +20 -20
- package/dist/chunks/{wellknown-c8x8zcz1.js → shell-zcp935tq.js} +11 -11
- package/dist/chunks/{wellknown-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
- package/dist/chunks/{wellknown-e0prvjnp.js → shell-zhxw6mnd.js} +2 -2
- package/dist/chunks/{wellknown-n0zn403d.js → shell-zj136r52.js} +20 -20
- package/dist/chunks/{wellknown-dhh9g715.js → shell-zjvxgrfz.js} +9 -9
- package/dist/chunks/{wellknown-qha4sez1.js → shell-zkhy8a1w.js} +10 -10
- package/dist/chunks/{wellknown-4wdpjckx.js → shell-zr0pwyem.js} +19 -19
- package/dist/chunks/{wellknown-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
- package/dist/chunks/{wellknown-153kn5pz.js → shell-zw6cm767.js} +24 -24
- package/dist/chunks/{wellknown-gnwvvsrg.js → shell-zxegzph2.js} +21 -21
- package/dist/chunks/{wellknown-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- 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 +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- 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 +117 -117
- 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 +115 -115
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- 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 +89 -89
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +96 -96
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- 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 +7 -7
- 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 +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +67 -67
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +349 -349
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- 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 +7 -7
- package/dist/model-resolver.js +84 -84
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +74 -74
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +98 -98
- 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 +92 -92
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +3 -3
- 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 +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- 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 +4 -4
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- 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 +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- 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 +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- 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 +3 -3
- 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 +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +109 -109
- package/dist/session/model-transport.js +5 -5
- 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 +1 -1
- 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 +121 -121
- 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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- 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 +209 -209
- 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 +11 -11
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +88 -88
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- 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 +100 -100
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- 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 +3 -3
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +1 -1
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +1 -1
- 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 +72 -72
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +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/wellknown-qc068m1q.js +0 -18
- package/dist/chunks/wellknown-vaf1ev04.js +0 -247
- /package/dist/chunks/{wellknown-0mesazry.js → shell-0mesazry.js} +0 -0
- /package/dist/chunks/{wellknown-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{wellknown-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{wellknown-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{wellknown-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{wellknown-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{wellknown-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{wellknown-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
- /package/dist/chunks/{wellknown-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{wellknown-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{wellknown-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{wellknown-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{wellknown-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
- /package/dist/chunks/{wellknown-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{wellknown-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{wellknown-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{wellknown-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{wellknown-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{wellknown-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{wellknown-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{wellknown-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{wellknown-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{wellknown-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{wellknown-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{wellknown-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{wellknown-922hggd3.js → shell-922hggd3.js} +0 -0
- /package/dist/chunks/{wellknown-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{wellknown-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{wellknown-a1tpkmh4.js → shell-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{wellknown-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{wellknown-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{wellknown-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{wellknown-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{wellknown-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{wellknown-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{wellknown-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{wellknown-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{wellknown-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{wellknown-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{wellknown-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{wellknown-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{wellknown-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{wellknown-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{wellknown-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{wellknown-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{wellknown-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{wellknown-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{wellknown-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{wellknown-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{wellknown-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{wellknown-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{wellknown-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{wellknown-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{wellknown-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{wellknown-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{wellknown-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{wellknown-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{wellknown-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{wellknown-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
- /package/dist/chunks/{wellknown-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{wellknown-hrnqkpcd.js → shell-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{wellknown-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{wellknown-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{wellknown-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{wellknown-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{wellknown-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{wellknown-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{wellknown-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{wellknown-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{wellknown-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{wellknown-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{wellknown-paphc93g.js → shell-paphc93g.js} +0 -0
- /package/dist/chunks/{wellknown-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{wellknown-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{wellknown-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{wellknown-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{wellknown-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{wellknown-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{wellknown-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{wellknown-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{wellknown-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{wellknown-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{wellknown-twg0f83k.js → shell-twg0f83k.js} +0 -0
- /package/dist/chunks/{wellknown-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{wellknown-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{wellknown-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{wellknown-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{wellknown-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{wellknown-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{wellknown-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
- /package/dist/chunks/{wellknown-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{wellknown-ym463w8f.js → shell-ym463w8f.js} +0 -0
- /package/dist/chunks/{wellknown-z9919s4g.js → shell-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-z0kp0xfc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service77,
|
|
6
|
+
Event20
|
|
7
|
+
} from "./shell-3m73xpkh.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -14,7 +14,7 @@ import { Effect, Stream } from "effect";
|
|
|
14
14
|
var ModelsDevPlugin2 = define({
|
|
15
15
|
id: "opencode.models.dev",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
|
-
const modelsDev = yield*
|
|
17
|
+
const modelsDev = yield* Service77;
|
|
18
18
|
const bus = yield* Service79;
|
|
19
19
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
20
20
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -49,7 +49,7 @@ var ModelsDevPlugin2 = define({
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
});
|
|
52
|
-
yield* bus.subscribe(
|
|
52
|
+
yield* bus.subscribe(Event20.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
55
|
function environmentNames(provider) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-m27pyyd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
ID17
|
|
7
|
+
} from "./shell-1awm1f41.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/openrouter.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
evt.provider.update(item.provider.id, (provider) => {
|
|
22
22
|
provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
|
|
23
23
|
});
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID17.make("gpt-5-chat-latest"), ID17.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!item.models.has(modelID))
|
|
26
26
|
continue;
|
|
27
27
|
evt.model.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service42,
|
|
3
|
+
node46
|
|
4
|
+
} from "./shell-gccfn8rw.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make20,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-rhjbct0v.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions4 = {};
|
|
17
|
+
__export(exports_instructions4, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions4,
|
|
19
|
+
Service: () => Service25,
|
|
20
|
+
node: () => node29
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,11 +57,11 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service25 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service42;
|
|
64
|
+
return Service25.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node29 = makeLocationNode({ service: Service25, layer, deps: [node46] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service25, node29, exports_instructions4 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service47,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node51
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service47 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service47.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node51 = makeLocationNode({
|
|
143
|
+
service: Service47,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service47, node51, exports_tool_output2 };
|
|
@@ -4,28 +4,28 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-x43y2vfs.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-kg06axw8.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service39,
|
|
17
|
+
node43
|
|
18
|
+
} from "./shell-srpeewqc.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service70,
|
|
21
|
+
node74
|
|
22
|
+
} from "./shell-js0rm7nb.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./shell-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./shell-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
@@ -35,10 +35,10 @@ __export(exports_tool, {
|
|
|
35
35
|
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service38,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node42
|
|
42
42
|
});
|
|
43
43
|
import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service38 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service70;
|
|
58
|
+
const image = yield* Service39;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
180
180
|
error: error.message
|
|
181
181
|
}), { discard: true })
|
|
182
182
|
});
|
|
183
|
-
return
|
|
183
|
+
return Service38.of({
|
|
184
184
|
transform: state.transform,
|
|
185
185
|
reload: state.reload,
|
|
186
186
|
snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
|
|
@@ -262,10 +262,10 @@ function namespaceError(name) {
|
|
|
262
262
|
return;
|
|
263
263
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
264
264
|
}
|
|
265
|
-
var
|
|
266
|
-
service:
|
|
265
|
+
var node42 = makeLocationNode({
|
|
266
|
+
service: Service38,
|
|
267
267
|
layer,
|
|
268
|
-
deps: [
|
|
268
|
+
deps: [node74, node43]
|
|
269
269
|
});
|
|
270
270
|
|
|
271
|
-
export { RegistrationError2,
|
|
271
|
+
export { RegistrationError2, Service38, node42, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-hx84msds.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-z0kp0xfc.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-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: () =>
|
|
23
|
+
Event: () => Event17,
|
|
24
|
+
ID: () => ID12,
|
|
25
25
|
Info: () => Info27,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service71,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node75
|
|
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 ID12 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event17 = Credential.Event;
|
|
42
42
|
|
|
43
43
|
class Info27 extends Schema.Class("Credential.Info")({
|
|
44
|
-
id:
|
|
44
|
+
id: ID12,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service71 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service80).db;
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service71.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) {
|
|
@@ -77,7 +77,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
79
|
const credential = new Info27({
|
|
80
|
-
id:
|
|
80
|
+
id: ID12.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(Service74, 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(Event17.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event17.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(Service74, 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(Event17.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(Service74, 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(Event17.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(Service74, 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(Event17.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node75 = makeGlobalNode({ service: Service71, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID12, OAuth3, Key4, Value2, Event17, Info27, Service71, node75, exports_credential };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service76,
|
|
6
|
+
node80
|
|
7
|
+
} from "./shell-x940zq77.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
15
|
Service78,
|
|
16
16
|
node83
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-05w1n024.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./shell-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service43,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node47,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service43 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service76;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
109
|
const kv = yield* Service78;
|
|
110
|
-
return
|
|
110
|
+
return Service43.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node47 = makeGlobalNode({
|
|
171
|
+
service: Service43,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node80, Global.node, node83]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service43, isError2, validateBranch2, node47, exports_repository_cache };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
Service62,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node66
|
|
7
|
+
} from "./shell-p422xgpw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate = {};
|
|
14
14
|
__export(exports_generate, {
|
|
15
15
|
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service20,
|
|
18
|
+
UnavailableError: () => UnavailableError2,
|
|
19
|
+
layer: () => layer9,
|
|
20
|
+
node: () => node24
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -27,15 +27,15 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
27
27
|
}) {
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
31
31
|
message: Schema.String,
|
|
32
32
|
service: Schema.optional(Schema.String)
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service20 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer9 = Layer.effect(Service20, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
40
|
const resolver = yield* Service62;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
@@ -45,28 +45,28 @@ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
45
45
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
46
46
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
47
47
|
], (error) => {
|
|
48
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
48
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
|
|
49
49
|
return Effect.fail(mapped);
|
|
50
50
|
}));
|
|
51
51
|
if (!resolved)
|
|
52
52
|
return yield* new ModelSelectionError2({
|
|
53
53
|
message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
|
|
54
54
|
});
|
|
55
|
-
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new
|
|
55
|
+
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
|
|
56
56
|
message: error.message,
|
|
57
57
|
service: resolved.ref.providerID
|
|
58
58
|
})));
|
|
59
59
|
return response.text;
|
|
60
60
|
});
|
|
61
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
61
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
62
62
|
message: "Generation credentials are unavailable"
|
|
63
63
|
})));
|
|
64
|
-
return
|
|
64
|
+
return Service20.of({ text });
|
|
65
65
|
}));
|
|
66
|
-
var
|
|
67
|
-
service:
|
|
68
|
-
layer:
|
|
69
|
-
deps: [
|
|
66
|
+
var node24 = makeLocationNode({
|
|
67
|
+
service: Service20,
|
|
68
|
+
layer: layer9,
|
|
69
|
+
deps: [node66, llmClient2]
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
export { ModelSelectionError2,
|
|
72
|
+
export { ModelSelectionError2, UnavailableError2, Service20, layer9, node24, exports_generate };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|