@opencode/core 0.0.0-dev-20704 → 0.0.0-dev-20709
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{git-rtywqqeh.js → aisdk-native-01y3f7bv.js} +47 -47
- package/dist/chunks/{git-th9ajxgn.js → aisdk-native-03fm6xww.js} +20 -20
- package/dist/chunks/{git-6yfhzeyn.js → aisdk-native-07b88ewe.js} +15 -15
- package/dist/chunks/{git-knevfgda.js → aisdk-native-0br3sbwn.js} +4 -4
- package/dist/chunks/{git-sq5fjz5k.js → aisdk-native-0fcnf4k0.js} +3 -3
- package/dist/chunks/{git-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
- package/dist/chunks/{git-enz4yr2b.js → aisdk-native-0r3h4g8d.js} +3 -3
- package/dist/chunks/{git-0vbcp93d.js → aisdk-native-0vbcp93d.js} +2 -2
- package/dist/chunks/{git-r01t9b5y.js → aisdk-native-0w1gqsy8.js} +6 -6
- package/dist/chunks/{git-veqfhemw.js → aisdk-native-0ybbsf06.js} +6 -6
- package/dist/chunks/{git-1acjjqhc.js → aisdk-native-1acjjqhc.js} +1 -1
- package/dist/chunks/aisdk-native-1bvhz5fn.js +26 -0
- package/dist/chunks/{git-1dazxqgg.js → aisdk-native-1dazxqgg.js} +2 -2
- package/dist/chunks/{git-1dvck2a7.js → aisdk-native-1dvck2a7.js} +2 -2
- package/dist/chunks/{git-kb3dycrr.js → aisdk-native-1mx3n2wn.js} +28 -28
- package/dist/chunks/{git-kvy3eq26.js → aisdk-native-1n44zhc8.js} +35 -35
- package/dist/chunks/{git-mfpttc98.js → aisdk-native-1p0e1b8x.js} +22 -22
- package/dist/chunks/{git-56gdpj1q.js → aisdk-native-1ygqh575.js} +9 -9
- package/dist/chunks/{git-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
- package/dist/chunks/{git-mgtegeff.js → aisdk-native-2dq1nwb3.js} +32 -32
- package/dist/chunks/{git-2yc0zydp.js → aisdk-native-2gft9zrf.js} +12 -12
- package/dist/chunks/{git-0jwsre1p.js → aisdk-native-2k8khapm.js} +5 -5
- package/dist/chunks/{git-6fay8h1c.js → aisdk-native-2pxm5326.js} +9 -9
- package/dist/chunks/{git-q8n1maba.js → aisdk-native-2r0nygzx.js} +5 -5
- package/dist/chunks/{git-2r3cr5cb.js → aisdk-native-2tb5kw7h.js} +11 -11
- package/dist/chunks/{git-b1hvjmy2.js → aisdk-native-2thgdp2j.js} +12 -12
- package/dist/chunks/{git-pasgpr7w.js → aisdk-native-2xnaqvsk.js} +25 -25
- package/dist/chunks/{git-ddbjfjsc.js → aisdk-native-2z9rdnpk.js} +16 -16
- package/dist/chunks/{git-jyns8p4a.js → aisdk-native-34ga942y.js} +28 -28
- package/dist/chunks/{git-8awjb79p.js → aisdk-native-35xk5t8e.js} +1 -1
- package/dist/chunks/{git-4rmr8y37.js → aisdk-native-3djvz3ey.js} +12 -12
- package/dist/chunks/{git-3fc6dm20.js → aisdk-native-3fc6dm20.js} +1 -1
- package/dist/chunks/{git-5w9yjztw.js → aisdk-native-3g8j9he4.js} +1 -1
- package/dist/chunks/{git-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-3gs028xv.js → aisdk-native-3q1gr1a2.js} +8 -8
- package/dist/chunks/{git-vmxqwdc7.js → aisdk-native-3qyd79fn.js} +35 -35
- package/dist/chunks/{git-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-03xyy9gs.js → aisdk-native-3zbwexce.js} +8 -8
- package/dist/chunks/{git-3zsf4n22.js → aisdk-native-3zsf4n22.js} +1 -1
- package/dist/chunks/{git-bx0gyb4h.js → aisdk-native-47jkzegy.js} +5 -5
- package/dist/chunks/{git-1gfgk62c.js → aisdk-native-4a0nv7mx.js} +8 -8
- package/dist/chunks/{git-zd543wtv.js → aisdk-native-4n1w1mwn.js} +14 -14
- package/dist/chunks/{git-4ts7tf6z.js → aisdk-native-4ts7tf6z.js} +2 -2
- package/dist/chunks/{git-dm3wfn5k.js → aisdk-native-51s2fzzw.js} +1 -1
- package/dist/chunks/{git-sjesw609.js → aisdk-native-5a281dsh.js} +1 -1
- package/dist/chunks/{git-bkpe843v.js → aisdk-native-5aerd9gk.js} +1 -1
- package/dist/chunks/{git-ktv3m1r0.js → aisdk-native-5fy507pd.js} +30 -30
- package/dist/chunks/{git-5m9w47nd.js → aisdk-native-5m9w47nd.js} +1 -1
- package/dist/chunks/{git-h2my2rg3.js → aisdk-native-5se65zms.js} +1 -1
- package/dist/chunks/{git-5t3nmthw.js → aisdk-native-5t3nmthw.js} +2 -2
- package/dist/chunks/{git-br0tr5aq.js → aisdk-native-5yzzbxa7.js} +8 -8
- package/dist/chunks/{git-vtsdwepb.js → aisdk-native-6643fh4v.js} +8 -8
- package/dist/chunks/{git-24mvnw1a.js → aisdk-native-6eescg35.js} +12 -12
- package/dist/chunks/{git-tn5xx32x.js → aisdk-native-6etf443x.js} +18 -18
- package/dist/chunks/{git-0h7w1762.js → aisdk-native-6f1dxxa4.js} +6 -6
- package/dist/chunks/{git-mq67z803.js → aisdk-native-6mk2tng7.js} +9 -9
- package/dist/chunks/{git-8kys6q5k.js → aisdk-native-6mxhr2qe.js} +9 -9
- package/dist/chunks/{git-6xb47vfp.js → aisdk-native-6xb47vfp.js} +1 -1
- package/dist/chunks/{git-71az546q.js → aisdk-native-71az546q.js} +2 -2
- package/dist/chunks/{git-xdcanj78.js → aisdk-native-72f4yr2x.js} +28 -28
- package/dist/chunks/{git-et51fp32.js → aisdk-native-77k3apz6.js} +16 -16
- package/dist/chunks/{git-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-7gnynpnq.js → aisdk-native-7gnynpnq.js} +5 -5
- package/dist/chunks/{git-qnxqf0m0.js → aisdk-native-7wvqhqmf.js} +2 -2
- package/dist/chunks/{git-34cxmcg0.js → aisdk-native-82gzcw6c.js} +11 -11
- package/dist/chunks/{git-wax0z6gf.js → aisdk-native-82pgy2e8.js} +13 -13
- package/dist/chunks/{git-84txncab.js → aisdk-native-84txncab.js} +1 -1
- package/dist/chunks/{git-f454xj3h.js → aisdk-native-85dzj6v8.js} +23 -23
- package/dist/chunks/{git-4e6k6dfb.js → aisdk-native-85q0js3r.js} +13 -13
- package/dist/chunks/{git-k7rgc2fp.js → aisdk-native-864qtc5w.js} +77 -77
- package/dist/chunks/{git-74b6gs10.js → aisdk-native-87ew3dd7.js} +11 -11
- package/dist/chunks/{git-9p810e6v.js → aisdk-native-88zt6e5g.js} +38 -38
- package/dist/chunks/{git-89znhe33.js → aisdk-native-89znhe33.js} +1 -1
- package/dist/chunks/{git-8d7r5vzw.js → aisdk-native-8d7r5vzw.js} +1 -1
- package/dist/chunks/{git-8m6m0r52.js → aisdk-native-8m6m0r52.js} +1 -1
- package/dist/chunks/{git-4cnb2xys.js → aisdk-native-8tk57j94.js} +15 -15
- package/dist/chunks/{git-kta98k5n.js → aisdk-native-8wf81ekm.js} +30 -30
- package/dist/chunks/{git-dwh2kmq1.js → aisdk-native-91vz4dn3.js} +13 -13
- package/dist/chunks/{git-watzg3w7.js → aisdk-native-93wn4g3z.js} +22 -22
- package/dist/chunks/{git-z9tda7av.js → aisdk-native-952skrfv.js} +20 -20
- package/dist/chunks/{git-hp4h0j0h.js → aisdk-native-9545chzt.js} +5 -5
- package/dist/chunks/{git-f95575pt.js → aisdk-native-97mz4936.js} +28 -28
- package/dist/chunks/{git-9e5bzkjp.js → aisdk-native-9e5bzkjp.js} +3 -3
- package/dist/chunks/{git-ecrxx57p.js → aisdk-native-9g9csjp7.js} +16 -16
- package/dist/chunks/aisdk-native-9gfpqcdz.js +253 -0
- package/dist/chunks/{git-rn9fzfgr.js → aisdk-native-9r6ywcc6.js} +14 -14
- package/dist/chunks/aisdk-native-9zdhvgqs.js +18 -0
- package/dist/chunks/{git-7yh4e7ss.js → aisdk-native-a1gpj94z.js} +3 -3
- package/dist/chunks/{git-d1gs5a5j.js → aisdk-native-a487yr8b.js} +6 -6
- package/dist/chunks/{git-hkc5vpms.js → aisdk-native-a4jj3vad.js} +15 -15
- package/dist/chunks/{git-ed2ev5p7.js → aisdk-native-a4pdvehx.js} +6 -6
- package/dist/chunks/{git-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
- package/dist/chunks/{git-8x3sg3yv.js → aisdk-native-aprpy01j.js} +44 -44
- package/dist/chunks/{git-28y8jcrp.js → aisdk-native-avmgectw.js} +13 -13
- package/dist/chunks/{git-55pe6j01.js → aisdk-native-b16k9rtw.js} +4 -4
- package/dist/chunks/{git-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
- package/dist/chunks/{git-vxz3rty8.js → aisdk-native-b9y81j6x.js} +9 -9
- package/dist/chunks/{git-pqyr69kh.js → aisdk-native-bnq3nex7.js} +136 -136
- package/dist/chunks/{git-ppvk6b39.js → aisdk-native-c0pkktcq.js} +2 -2
- package/dist/chunks/{git-x8bpv305.js → aisdk-native-c4rkswsa.js} +11 -11
- package/dist/chunks/{git-q8ejgrh7.js → aisdk-native-c60ns7m9.js} +11 -11
- package/dist/chunks/{git-r10ym7h9.js → aisdk-native-c68azkd3.js} +43 -43
- package/dist/chunks/{git-f92ay7ys.js → aisdk-native-c85kbd42.js} +5 -5
- package/dist/chunks/{git-dyymvp0r.js → aisdk-native-c8s61e4b.js} +8 -8
- package/dist/chunks/{git-mjymc32g.js → aisdk-native-cavr175a.js} +4 -4
- package/dist/chunks/{git-rs59bnnz.js → aisdk-native-chpn015s.js} +26 -26
- package/dist/chunks/{git-e9dvv37v.js → aisdk-native-cv8n9rs1.js} +11 -11
- package/dist/chunks/{git-3txpt5y2.js → aisdk-native-d0sth8yw.js} +21 -21
- package/dist/chunks/{git-yqnpmjq6.js → aisdk-native-d1k7qqjk.js} +20 -20
- package/dist/chunks/{git-wf3cm873.js → aisdk-native-dcy281qj.js} +5 -5
- package/dist/chunks/{git-5qwkxp89.js → aisdk-native-de52ckkz.js} +4 -4
- package/dist/chunks/{git-kaeshj5g.js → aisdk-native-dejbv03z.js} +26 -26
- package/dist/chunks/{git-qmqgtz8f.js → aisdk-native-djszqvmq.js} +9 -9
- package/dist/chunks/{git-s53tfnwn.js → aisdk-native-dyeypv49.js} +48 -48
- package/dist/chunks/{git-pc80jw58.js → aisdk-native-dzfymvke.js} +4 -4
- package/dist/chunks/{git-kvbgpx4j.js → aisdk-native-e0qzk5r5.js} +21 -21
- package/dist/chunks/{git-p5zfrphm.js → aisdk-native-e6bbc8bc.js} +21 -21
- package/dist/chunks/{git-ef5x83kb.js → aisdk-native-ef5x83kb.js} +1 -1
- package/dist/chunks/{git-bfm9jnc4.js → aisdk-native-efb77nfn.js} +13 -13
- package/dist/chunks/{git-6fmx122w.js → aisdk-native-emjh0hr2.js} +34 -34
- package/dist/chunks/{git-1fr8qzyd.js → aisdk-native-emne1295.js} +14 -14
- package/dist/chunks/{git-g8p0vbj8.js → aisdk-native-env7ywr2.js} +3 -3
- package/dist/chunks/{git-etq0c3wd.js → aisdk-native-etq0c3wd.js} +1 -1
- package/dist/chunks/{git-n31r56j8.js → aisdk-native-ey7k5xf9.js} +7 -7
- package/dist/chunks/{git-3p01mmvj.js → aisdk-native-f2grx0yv.js} +24 -24
- package/dist/chunks/{git-xeafnbe6.js → aisdk-native-f8yjtecs.js} +7 -7
- package/dist/chunks/{git-drfybefv.js → aisdk-native-f98p7yad.js} +3 -3
- package/dist/chunks/aisdk-native-fd5fx7jg.js +53 -0
- package/dist/chunks/{git-wbh0epq5.js → aisdk-native-fdpme9ze.js} +17 -17
- package/dist/chunks/{git-10623zx4.js → aisdk-native-fe26e9b7.js} +29 -29
- package/dist/chunks/{git-r8z5hn3t.js → aisdk-native-fe2je886.js} +4 -4
- package/dist/chunks/{git-0nvn360z.js → aisdk-native-fk7bck1s.js} +11 -11
- package/dist/chunks/{git-0d38zc5x.js → aisdk-native-fn9jdj8g.js} +29 -29
- package/dist/chunks/{git-atacd640.js → aisdk-native-g6yf6zs6.js} +40 -40
- package/dist/chunks/{git-wh6zw745.js → aisdk-native-g6yfr6ja.js} +5 -5
- package/dist/chunks/{git-90yarghs.js → aisdk-native-gb690d7s.js} +25 -25
- package/dist/chunks/{git-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-4mqfmj50.js → aisdk-native-gjg7xkam.js} +47 -47
- package/dist/chunks/{git-dz1d0362.js → aisdk-native-gksjbth6.js} +14 -14
- package/dist/chunks/{git-h2b79v29.js → aisdk-native-h2b79v29.js} +2 -2
- package/dist/chunks/{git-wxrj95wz.js → aisdk-native-h5339cx9.js} +15 -15
- package/dist/chunks/{git-5e1pzs32.js → aisdk-native-h5m7e0fe.js} +9 -9
- package/dist/chunks/{git-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-b7b4ctej.js → aisdk-native-hbyhqfhs.js} +5 -5
- package/dist/chunks/{git-m5jcjszt.js → aisdk-native-hzrfc1p4.js} +2 -2
- package/dist/chunks/{git-2c4qqt40.js → aisdk-native-j0y4n8w7.js} +15 -15
- package/dist/chunks/{git-ncvrjp5d.js → aisdk-native-j3dz16ny.js} +9 -9
- package/dist/chunks/{git-j56e64zr.js → aisdk-native-j56e64zr.js} +1 -1
- package/dist/chunks/{git-7pvn9ar0.js → aisdk-native-jheqhzaa.js} +18 -18
- package/dist/chunks/{git-p7a39gy5.js → aisdk-native-jkp0d30b.js} +6 -6
- package/dist/chunks/{git-jyc5rva5.js → aisdk-native-jr5qe7ta.js} +15 -15
- package/dist/chunks/{git-vajzw01v.js → aisdk-native-js83je8r.js} +11 -11
- package/dist/chunks/{git-b4twkq7r.js → aisdk-native-jws6fkes.js} +4 -4
- package/dist/chunks/{git-jztmdpvv.js → aisdk-native-jxx9h0p7.js} +30 -30
- package/dist/chunks/{git-kmtwqyfg.js → aisdk-native-k1wmmers.js} +28 -28
- package/dist/chunks/{git-f892jb6s.js → aisdk-native-k2dkh59q.js} +3 -3
- package/dist/chunks/{git-472np96h.js → aisdk-native-kc6y61x2.js} +4 -4
- package/dist/chunks/{git-f4qzsran.js → aisdk-native-ked4161y.js} +14 -14
- package/dist/chunks/{git-xs2jnxkj.js → aisdk-native-knvfad4s.js} +8 -8
- package/dist/chunks/{git-pz27sgs1.js → aisdk-native-kpws5qk4.js} +54 -54
- package/dist/chunks/{git-6xaf5kjd.js → aisdk-native-kv1t4m7a.js} +1 -1
- package/dist/chunks/{git-vrrxywxv.js → aisdk-native-kw6xtc83.js} +30 -30
- package/dist/chunks/{git-m3fdjcah.js → aisdk-native-m3fdjcah.js} +1 -1
- package/dist/chunks/{git-dwq6ryhm.js → aisdk-native-m3zza4qd.js} +8 -8
- package/dist/chunks/{git-t3e4w3tq.js → aisdk-native-m59fvk41.js} +10 -10
- package/dist/chunks/{git-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-3sj8yt8v.js → aisdk-native-n1n192bv.js} +4 -4
- package/dist/chunks/{git-rxa84y3y.js → aisdk-native-n5byd0jv.js} +3 -3
- package/dist/chunks/{git-gh5z95q3.js → aisdk-native-n8sna2wb.js} +9 -9
- package/dist/chunks/{git-ex4azxym.js → aisdk-native-nmbkhxvp.js} +22 -22
- package/dist/chunks/{git-nxm207yx.js → aisdk-native-nxm207yx.js} +1 -1
- package/dist/chunks/{git-830fnc2g.js → aisdk-native-nyxjhf6a.js} +11 -11
- package/dist/chunks/{git-m09mwcgx.js → aisdk-native-nz98h78h.js} +13 -13
- package/dist/chunks/{git-d038dv6g.js → aisdk-native-p0hhgz4g.js} +31 -31
- package/dist/chunks/{git-x25mmpq9.js → aisdk-native-p6q60agk.js} +28 -28
- package/dist/chunks/{git-a2dq8wfv.js → aisdk-native-p994pva9.js} +87 -87
- package/dist/chunks/{git-bv3r9y5q.js → aisdk-native-pamey50j.js} +84 -84
- package/dist/chunks/{git-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{git-5dwry08k.js → aisdk-native-pn6k0d9d.js} +3 -3
- package/dist/chunks/{git-9881wf2t.js → aisdk-native-pnk3v7rt.js} +46 -46
- package/dist/chunks/{git-a1c3m0fn.js → aisdk-native-pntan4r5.js} +11 -11
- package/dist/chunks/{git-148p72g5.js → aisdk-native-ppcscxwg.js} +22 -22
- package/dist/chunks/{git-2wrq52sr.js → aisdk-native-pzzd0959.js} +30 -30
- package/dist/chunks/{git-q0xm7vwc.js → aisdk-native-q0xm7vwc.js} +2 -2
- package/dist/chunks/{git-2n0tmftt.js → aisdk-native-q1e1hgzz.js} +24 -24
- package/dist/chunks/{git-a6jsgks7.js → aisdk-native-q9gqcfw7.js} +34 -34
- package/dist/chunks/{git-pqnznyp6.js → aisdk-native-qd64f0zj.js} +15 -15
- package/dist/chunks/aisdk-native-qf9zjf80.js +72 -0
- package/dist/chunks/{git-6ak8scqv.js → aisdk-native-qfpkpe7y.js} +59 -44
- package/dist/chunks/{git-qnc92qwc.js → aisdk-native-qnc92qwc.js} +1 -1
- package/dist/chunks/{git-g5w8qwbj.js → aisdk-native-qqeeq2t9.js} +7 -7
- package/dist/chunks/{git-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
- package/dist/chunks/{git-qxjc9qry.js → aisdk-native-qxjc9qry.js} +3 -3
- package/dist/chunks/{git-amkm9g4e.js → aisdk-native-r2kgxaf5.js} +8 -8
- package/dist/chunks/{git-r18vxgt1.js → aisdk-native-r37t4s3w.js} +11 -11
- package/dist/chunks/{git-p8jt97qf.js → aisdk-native-r5vegkyj.js} +20 -20
- package/dist/chunks/{git-57tfmtnt.js → aisdk-native-r73hmtc1.js} +9 -9
- package/dist/chunks/{git-s4gp803s.js → aisdk-native-r8m16k99.js} +7 -7
- package/dist/chunks/{git-54ma36ye.js → aisdk-native-r94pvvab.js} +4 -4
- package/dist/chunks/{git-pzpx8774.js → aisdk-native-rdcezpbm.js} +25 -25
- package/dist/chunks/{git-rdw6cm16.js → aisdk-native-rdw6cm16.js} +1 -1
- package/dist/chunks/{git-5p7bz5xh.js → aisdk-native-rgyebrcv.js} +23 -23
- package/dist/chunks/{git-gyw7sedy.js → aisdk-native-rsrc4zt1.js} +14 -14
- package/dist/chunks/{git-69j91c1q.js → aisdk-native-rzs3gq0x.js} +8 -8
- package/dist/chunks/{git-p0wnex98.js → aisdk-native-s3rwwk9v.js} +8 -8
- package/dist/chunks/{git-rhjbct0v.js → aisdk-native-s8d7rejh.js} +4 -4
- package/dist/chunks/{git-8k05bbzn.js → aisdk-native-s8djk599.js} +4 -4
- package/dist/chunks/{git-wecqtg5s.js → aisdk-native-scgrse2b.js} +5 -5
- package/dist/chunks/{git-kcwew1je.js → aisdk-native-sd513p4d.js} +3 -3
- package/dist/chunks/{git-9kpsa33c.js → aisdk-native-se0yeatb.js} +28 -28
- package/dist/chunks/aisdk-native-sew9y8as.js +507 -0
- package/dist/chunks/{git-v2zvec27.js → aisdk-native-sfd4r54w.js} +25 -9
- package/dist/chunks/{git-tqzf399c.js → aisdk-native-sgd3f5pt.js} +18 -18
- package/dist/chunks/{git-2em0gr1z.js → aisdk-native-sh971651.js} +9 -9
- package/dist/chunks/{git-ejaazq2g.js → aisdk-native-snabhzqe.js} +14 -14
- package/dist/chunks/{git-g1wj236p.js → aisdk-native-sq2ar9zs.js} +9 -9
- package/dist/chunks/{git-jecez823.js → aisdk-native-svvcvv3x.js} +30 -30
- package/dist/chunks/{git-9tp863pf.js → aisdk-native-szb8dkw5.js} +11 -11
- package/dist/chunks/{git-nrjza425.js → aisdk-native-szxr08mz.js} +21 -21
- package/dist/chunks/{git-fqb2p7cx.js → aisdk-native-t2fc4mz5.js} +4 -4
- package/dist/chunks/{git-ddt2bs9e.js → aisdk-native-t7n9q6bq.js} +4 -4
- package/dist/chunks/{git-82pkvj7n.js → aisdk-native-t95kbymz.js} +35 -35
- package/dist/chunks/{git-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-kq4vwj2t.js → aisdk-native-tcz4ychs.js} +13 -13
- package/dist/chunks/{git-3bn7dahb.js → aisdk-native-tdrcvt86.js} +3 -3
- package/dist/chunks/{git-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
- package/dist/chunks/{git-emr6ve0k.js → aisdk-native-tfy4q3pg.js} +18 -18
- package/dist/chunks/{git-f1vyh6xp.js → aisdk-native-thtzhryg.js} +10 -10
- package/dist/chunks/{git-wj76ss2k.js → aisdk-native-tjedn1bk.js} +4 -4
- package/dist/chunks/{git-fpecnkgp.js → aisdk-native-v0es1rhs.js} +9 -9
- package/dist/chunks/{git-2shrwg0p.js → aisdk-native-vc2y7zr1.js} +28 -28
- package/dist/chunks/{git-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
- package/dist/chunks/{git-6qa8gc7n.js → aisdk-native-vew2h27j.js} +13 -13
- package/dist/chunks/{git-v0xmac3n.js → aisdk-native-vjjaysxc.js} +2 -2
- package/dist/chunks/{git-p5hf1vyv.js → aisdk-native-vmjj6rsa.js} +40 -40
- package/dist/chunks/{git-q6yya7b3.js → aisdk-native-vrpz8t5t.js} +5 -5
- package/dist/chunks/{git-tj6x4h0k.js → aisdk-native-vtyfjjtb.js} +4 -4
- package/dist/chunks/{git-vzs5sf6e.js → aisdk-native-vzs5sf6e.js} +1 -1
- package/dist/chunks/{git-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-5w6ne2rj.js → aisdk-native-w9ytv6gf.js} +11 -11
- package/dist/chunks/{git-4cg8anvm.js → aisdk-native-wc4cy09v.js} +27 -21
- package/dist/chunks/{git-vysh9dgc.js → aisdk-native-wceejssx.js} +13 -13
- package/dist/chunks/{git-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{git-gqx2rq7f.js → aisdk-native-wg9tehq5.js} +23 -23
- package/dist/chunks/{git-6jmsbqrr.js → aisdk-native-wj4385qw.js} +29 -29
- package/dist/chunks/{git-xntdcqfp.js → aisdk-native-wrqzhvvn.js} +16 -16
- package/dist/chunks/{git-x4c7a9hn.js → aisdk-native-x1fb9tfq.js} +307 -307
- package/dist/chunks/{git-g5jg60e9.js → aisdk-native-x4d5e2nf.js} +11 -11
- package/dist/chunks/{git-x661k3y3.js → aisdk-native-x661k3y3.js} +1 -1
- package/dist/chunks/{git-mnhrm2h8.js → aisdk-native-x8ex8qt6.js} +6 -6
- package/dist/chunks/{git-2dx3b0tq.js → aisdk-native-x8n68ra5.js} +23 -23
- package/dist/chunks/{git-jzfaq73r.js → aisdk-native-x9njby4g.js} +14 -14
- package/dist/chunks/{git-rcqna60j.js → aisdk-native-xgcqr47n.js} +26 -26
- package/dist/chunks/{git-667z5wzd.js → aisdk-native-xj999yaw.js} +6 -6
- package/dist/chunks/{git-t6t5zza9.js → aisdk-native-xk9k9nxk.js} +6 -6
- package/dist/chunks/{git-xkntkrq7.js → aisdk-native-xkntkrq7.js} +2 -2
- package/dist/chunks/{git-ccqm7fdh.js → aisdk-native-xn9a9t3a.js} +14 -14
- package/dist/chunks/{git-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-n45dgdc0.js → aisdk-native-y3062bsv.js} +43 -43
- package/dist/chunks/{git-ew029xcz.js → aisdk-native-y6enkrfg.js} +22 -22
- package/dist/chunks/{git-sh3a6ya8.js → aisdk-native-y6tmncgw.js} +26 -26
- package/dist/chunks/{git-n3y58kt3.js → aisdk-native-y74dekks.js} +22 -22
- package/dist/chunks/{git-5v8s61nm.js → aisdk-native-y89a5nf3.js} +19 -19
- package/dist/chunks/{git-5aps1zy9.js → aisdk-native-yr715y08.js} +9 -9
- package/dist/chunks/{git-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
- package/dist/chunks/{git-as7cf5zz.js → aisdk-native-zfs8ae4p.js} +4 -4
- package/dist/chunks/{git-vqje4rkm.js → aisdk-native-zge4yazr.js} +25 -25
- package/dist/chunks/{git-e34n4qn9.js → aisdk-native-zjc3g87s.js} +3 -3
- package/dist/chunks/{git-t3xq634j.js → aisdk-native-zmt7bawc.js} +10 -10
- package/dist/chunks/{git-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
- package/dist/chunks/{git-8wbfwab3.js → aisdk-native-zv1jtsyg.js} +2 -2
- package/dist/chunks/{git-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
- package/dist/chunks/{git-db5vm63h.js → aisdk-native-zz40hjq6.js} +4 -4
- package/dist/chunks/{git-brmpb9yt.js → aisdk-native-zz929c7b.js} +22 -22
- package/dist/chunks/{git-52rdeedc.js → aisdk-native-zzjj0xr1.js} +13 -13
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +360 -360
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +85 -85
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +74 -74
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +351 -351
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +12 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +96 -96
- package/dist/models-dev.js +107 -107
- 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 +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +117 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +94 -94
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +97 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +79 -79
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- 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 +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/managed-policy.d.ts +11 -1
- package/dist/types/plugin/internal.d.ts +1 -1
- package/dist/types/plugin/module.d.ts +5 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/git-5gzkp3ws.js +0 -26
- package/dist/chunks/git-8h1kyr3w.js +0 -507
- package/dist/chunks/git-fkw9s7y9.js +0 -60
- package/dist/chunks/git-pf31ssb9.js +0 -18
- package/dist/chunks/git-vvedr2c9.js +0 -253
- package/dist/chunks/git-zxs6a24a.js +0 -28
- /package/dist/chunks/{git-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → aisdk-native-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-34c7v6d4.js → aisdk-native-34c7v6d4.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3t0ybcrp.js → aisdk-native-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3w5fmr99.js → aisdk-native-3w5fmr99.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-5qd3pb7m.js → aisdk-native-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{git-6q2bdcd1.js → aisdk-native-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-8wj87zfr.js → aisdk-native-8wj87zfr.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → aisdk-native-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → aisdk-native-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → aisdk-native-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → aisdk-native-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
- /package/dist/chunks/{git-z5v4ffb3.js → aisdk-native-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
|
@@ -1,53 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./aisdk-native-wrqzhvvn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node55
|
|
7
|
+
} from "./aisdk-native-93wn4g3z.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
Service5,
|
|
10
10
|
node6
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-native-952skrfv.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service84
|
|
14
|
+
} from "./aisdk-native-fd5fx7jg.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./git-mfpttc98.js";
|
|
16
|
+
Service30
|
|
17
|
+
} from "./aisdk-native-9zdhvgqs.js";
|
|
19
18
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
node19,
|
|
20
|
+
ID3
|
|
21
|
+
} from "./aisdk-native-1p0e1b8x.js";
|
|
22
|
+
import {
|
|
23
|
+
Service2,
|
|
24
|
+
node3
|
|
25
|
+
} from "./aisdk-native-5yzzbxa7.js";
|
|
23
26
|
import {
|
|
24
27
|
requirements2,
|
|
25
28
|
guarded2,
|
|
26
29
|
list2
|
|
27
|
-
} from "./
|
|
30
|
+
} from "./aisdk-native-sew9y8as.js";
|
|
28
31
|
import {
|
|
29
|
-
|
|
32
|
+
make3,
|
|
30
33
|
LoadError2
|
|
31
|
-
} from "./
|
|
34
|
+
} from "./aisdk-native-sfd4r54w.js";
|
|
32
35
|
import {
|
|
33
36
|
Updated2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
37
|
+
Service3,
|
|
38
|
+
node4
|
|
39
|
+
} from "./aisdk-native-91vz4dn3.js";
|
|
37
40
|
import {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
41
|
+
Service4,
|
|
42
|
+
node5
|
|
43
|
+
} from "./aisdk-native-yr715y08.js";
|
|
41
44
|
import {
|
|
42
45
|
__export
|
|
43
|
-
} from "./
|
|
46
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
44
47
|
|
|
45
48
|
// src/plugin/supervisor.ts
|
|
46
49
|
var exports_supervisor = {};
|
|
47
50
|
__export(exports_supervisor, {
|
|
48
51
|
PluginSupervisor: () => exports_supervisor,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
52
|
+
layer: () => layer3,
|
|
53
|
+
node: () => node2
|
|
51
54
|
});
|
|
52
55
|
import { Event } from "@opencode/schema/config";
|
|
53
56
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -80,6 +83,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
80
83
|
const error = Cause.squash(cause);
|
|
81
84
|
return Effect.logWarning("failed to load plugin", { target: operation.target, ref, cause }).pipe(Effect.as({ error: error instanceof LoadError2 ? error.message : "Plugin failed to load", ref }));
|
|
82
85
|
}));
|
|
86
|
+
if ("blocked" in plugin) {
|
|
87
|
+
const previous = packages.get(operation.target);
|
|
88
|
+
if (previous)
|
|
89
|
+
enabled.delete(previous.id);
|
|
90
|
+
packages.delete(operation.target);
|
|
91
|
+
failures.delete(operation.target);
|
|
92
|
+
continue;
|
|
93
|
+
}
|
|
83
94
|
if ("pending" in plugin) {
|
|
84
95
|
pending.add(operation.target);
|
|
85
96
|
continue;
|
|
@@ -116,7 +127,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
116
127
|
failures: [
|
|
117
128
|
...failures.values(),
|
|
118
129
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
119
|
-
id:
|
|
130
|
+
id: ID3.make(plugin.id),
|
|
120
131
|
source: plugin.source ?? { type: "builtin" },
|
|
121
132
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
122
133
|
features: { server: true, ...plugin.features }
|
|
@@ -125,14 +136,15 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
125
136
|
pending: [...pending]
|
|
126
137
|
};
|
|
127
138
|
});
|
|
128
|
-
var
|
|
129
|
-
const
|
|
130
|
-
const
|
|
131
|
-
const
|
|
132
|
-
const
|
|
133
|
-
const
|
|
134
|
-
const
|
|
135
|
-
const
|
|
139
|
+
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
140
|
+
const managed = yield* Service84;
|
|
141
|
+
const registry = yield* Service30;
|
|
142
|
+
const sdk = yield* Service3;
|
|
143
|
+
const instance = yield* Service2;
|
|
144
|
+
const sources = yield* Service5;
|
|
145
|
+
const modules = yield* make3();
|
|
146
|
+
const bus = yield* Service82;
|
|
147
|
+
const updates = yield* Service4;
|
|
136
148
|
const internal = yield* list2();
|
|
137
149
|
let release = yield* registry.hold();
|
|
138
150
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -155,6 +167,8 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
155
167
|
revision: "internal",
|
|
156
168
|
source: { type: "builtin" }
|
|
157
169
|
}));
|
|
170
|
+
if (current === 1)
|
|
171
|
+
yield* registry.activate(pre.filter((plugin) => guarded2.has(plugin.id)));
|
|
158
172
|
const operations = yield* sources.operations();
|
|
159
173
|
const immediate = yield* resolve(modules, pre, post, operations, false, running);
|
|
160
174
|
const source = (source) => source.type === "package" ? {
|
|
@@ -190,6 +204,7 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
190
204
|
const watch = (stream) => stream.pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
191
205
|
yield* watch(sources.changes());
|
|
192
206
|
yield* watch(modules.changes());
|
|
207
|
+
yield* watch(managed.changes());
|
|
193
208
|
yield* watch(Stream.fromEffectRepeat(Effect.sleep("24 hours")));
|
|
194
209
|
yield* watch(bus.subscribe([Event.Updated, Updated2]));
|
|
195
210
|
yield* watch(updates.changes().pipe(Stream.filter((update) => packages.has(update.target)), Stream.tap((update) => Effect.sync(() => {
|
|
@@ -207,14 +222,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
207
222
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
208
223
|
}));
|
|
209
224
|
var nodeDeps = [
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
225
|
+
node19,
|
|
226
|
+
node4,
|
|
227
|
+
node3,
|
|
213
228
|
node6,
|
|
214
|
-
|
|
215
|
-
|
|
229
|
+
node5,
|
|
230
|
+
node86,
|
|
216
231
|
Npm.node,
|
|
217
|
-
|
|
232
|
+
node55,
|
|
218
233
|
requirements2
|
|
219
234
|
];
|
|
220
235
|
function pluginSource(target) {
|
|
@@ -222,6 +237,6 @@ function pluginSource(target) {
|
|
|
222
237
|
return { type: "local", path: target };
|
|
223
238
|
return { type: "package", target };
|
|
224
239
|
}
|
|
225
|
-
var
|
|
240
|
+
var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
226
241
|
|
|
227
|
-
export {
|
|
242
|
+
export { layer3, node2, exports_supervisor };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make13,
|
|
10
|
+
render: () => render2
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make13(tools) {
|
|
33
|
+
return render2(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render2(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make13, render2, exports_system_prompt };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-native-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-w9ytv6gf.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin4,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin4 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin39 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin39 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin4, exports_tavily };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service51
|
|
4
|
+
} from "./aisdk-native-y3062bsv.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch = {};
|
|
14
|
+
__export(exports_websearch, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
+
Plugin: () => Plugin24
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin24 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service51;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin26 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin24, exports_websearch };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID6,
|
|
9
9
|
Name2,
|
|
10
10
|
available3,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service40,
|
|
12
|
+
node43
|
|
13
|
+
} from "./aisdk-native-chpn015s.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions3 = {};
|
|
20
|
+
__export(exports_instructions3, {
|
|
21
|
+
Service: () => Service26,
|
|
22
|
+
SkillInstructions: () => exports_instructions3,
|
|
23
|
+
node: () => node30
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID6,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,14 +60,14 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service26 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service40;
|
|
67
|
+
return Service26.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
69
|
const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
|
-
return
|
|
70
|
+
return make21({
|
|
71
71
|
key: Key3.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node30 = makeLocationNode({ service: Service26, layer, deps: [node43] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service26, node30, exports_instructions3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./aisdk-native-jkp0d30b.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-9zdhvgqs.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service36
|
|
9
|
+
} from "./aisdk-native-pnk3v7rt.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service48;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service36), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-native-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./aisdk-native-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/affinity.ts
|
|
6
6
|
var exports_affinity = {};
|
|
7
7
|
__export(exports_affinity, {
|
|
8
8
|
SessionAffinity: () => exports_affinity,
|
|
9
|
-
get: () =>
|
|
9
|
+
get: () => get4
|
|
10
10
|
});
|
|
11
|
-
var
|
|
11
|
+
var get4 = (session) => session.parentID ?? session.fork?.sessionID ?? session.id;
|
|
12
12
|
|
|
13
|
-
export {
|
|
13
|
+
export { get4, exports_affinity };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service84,
|
|
3
|
-
node88
|
|
4
|
-
} from "./git-g5jg60e9.js";
|
|
5
1
|
import {
|
|
6
2
|
Service83,
|
|
7
3
|
node87
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-x4d5e2nf.js";
|
|
5
|
+
import {
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./aisdk-native-wrqzhvvn.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-native-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-native-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event20,
|
|
24
24
|
External: () => External2,
|
|
25
25
|
ID: () => ID15,
|
|
26
26
|
Info: () => Info25,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service75,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node78
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
@@ -40,7 +40,7 @@ var OAuth3 = Credential.OAuth;
|
|
|
40
40
|
var Key4 = Credential.Key;
|
|
41
41
|
var External2 = Credential.External;
|
|
42
42
|
var Value2 = Credential.Value;
|
|
43
|
-
var
|
|
43
|
+
var Event20 = Credential.Event;
|
|
44
44
|
|
|
45
45
|
class Info25 extends Schema.Class("Credential.Info")({
|
|
46
46
|
id: ID15,
|
|
@@ -50,11 +50,11 @@ class Info25 extends Schema.Class("Credential.Info")({
|
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service75 extends Context.Service()("@opencode/Credential") {
|
|
54
54
|
}
|
|
55
|
-
var layer = Layer.effect(
|
|
56
|
-
const db = (yield*
|
|
57
|
-
const bus = yield*
|
|
55
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
56
|
+
const db = (yield* Service83).db;
|
|
57
|
+
const bus = yield* Service82;
|
|
58
58
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
59
59
|
const stored = (row) => {
|
|
60
60
|
if (!row.integration_id)
|
|
@@ -70,7 +70,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
70
70
|
const credential = stored(row);
|
|
71
71
|
return credential ? [credential] : [];
|
|
72
72
|
});
|
|
73
|
-
return
|
|
73
|
+
return Service75.of({
|
|
74
74
|
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))),
|
|
75
75
|
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))),
|
|
76
76
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -110,9 +110,9 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
110
110
|
type: credential.value.type,
|
|
111
111
|
active: activated
|
|
112
112
|
});
|
|
113
|
-
yield* bus.publish(
|
|
113
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
114
114
|
if (activated)
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
116
116
|
return credential;
|
|
117
117
|
}),
|
|
118
118
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -132,7 +132,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
132
132
|
})), Effect.orDie);
|
|
133
133
|
if (integrationID) {
|
|
134
134
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
135
|
-
yield* bus.publish(
|
|
135
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
136
136
|
}
|
|
137
137
|
}),
|
|
138
138
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
164
164
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
165
165
|
});
|
|
166
166
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
167
|
-
yield* bus.publish(
|
|
167
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
168
168
|
}),
|
|
169
169
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
170
170
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -197,12 +197,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
197
197
|
active: removed.switched,
|
|
198
198
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
199
199
|
});
|
|
200
|
-
yield* bus.publish(
|
|
200
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
201
201
|
if (removed.switched)
|
|
202
|
-
yield* bus.publish(
|
|
202
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
203
203
|
})
|
|
204
204
|
});
|
|
205
205
|
}));
|
|
206
|
-
var
|
|
206
|
+
var node78 = makeGlobalNode({ service: Service75, layer, deps: [node87, node86] });
|
|
207
207
|
|
|
208
|
-
export { ID15, OAuth3, Key4, External2, Value2,
|
|
208
|
+
export { ID15, OAuth3, Key4, External2, Value2, Event20, Info25, Service75, node78, exports_credential };
|