@opencode/core 0.0.0-dev-21603 → 0.0.0-dev-21614
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{filesystem-pe681sea.js → wellknown-076c863b.js} +29 -29
- package/dist/chunks/{filesystem-r6wgv8c9.js → wellknown-0gka690g.js} +6 -6
- package/dist/chunks/{filesystem-tasvem1v.js → wellknown-0ks2n9jf.js} +6 -6
- package/dist/chunks/{filesystem-vq1p6kkc.js → wellknown-10e9m0pt.js} +19 -19
- package/dist/chunks/{filesystem-a9mr4pbf.js → wellknown-14ywxsr7.js} +24 -24
- package/dist/chunks/{filesystem-p6brcwvv.js → wellknown-17d0ztjt.js} +5 -5
- package/dist/chunks/{filesystem-ed5h55sq.js → wellknown-17m52qnf.js} +16 -16
- package/dist/chunks/{filesystem-rfytqs76.js → wellknown-1afthse9.js} +79 -79
- package/dist/chunks/{filesystem-6w1z0afp.js → wellknown-1aqx0n7f.js} +45 -45
- package/dist/chunks/{filesystem-my4zabxr.js → wellknown-1aykj8gn.js} +3 -3
- package/dist/chunks/{filesystem-fx5d1n8y.js → wellknown-1bgqzpz0.js} +2 -2
- package/dist/chunks/{filesystem-942936k7.js → wellknown-1dbgwwb0.js} +48 -48
- package/dist/chunks/{filesystem-1x2knyw4.js → wellknown-1x2knyw4.js} +1 -1
- package/dist/chunks/{filesystem-z2g46f5b.js → wellknown-1yj5qhdy.js} +4 -4
- package/dist/chunks/{filesystem-5zrxpy3q.js → wellknown-1yq9hg58.js} +5 -5
- package/dist/chunks/{filesystem-b4rme3tx.js → wellknown-210p74nv.js} +6 -6
- package/dist/chunks/{filesystem-jx3jy26a.js → wellknown-25zhe1e5.js} +14 -14
- package/dist/chunks/{filesystem-fjqbqs01.js → wellknown-27dh21s1.js} +15 -15
- package/dist/chunks/{filesystem-1ep2p91f.js → wellknown-27w5k9zf.js} +2 -2
- package/dist/chunks/{filesystem-57r3w4mg.js → wellknown-2ka2xw9j.js} +33 -33
- package/dist/chunks/{filesystem-2xm0hnd3.js → wellknown-2vk9k41n.js} +9 -9
- package/dist/chunks/{filesystem-2z1j29yd.js → wellknown-2z1j29yd.js} +1 -1
- package/dist/chunks/{filesystem-v6ssz0w4.js → wellknown-34s5tdcd.js} +4 -4
- package/dist/chunks/{filesystem-61g7nd3s.js → wellknown-385mwvv9.js} +10 -10
- package/dist/chunks/{filesystem-ayjs7tqn.js → wellknown-3cbjf1nt.js} +2 -2
- package/dist/chunks/{filesystem-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-0s34gk3x.js → wellknown-3hw3272a.js} +8 -8
- package/dist/chunks/{filesystem-szcgc7h4.js → wellknown-3kdbrncp.js} +5 -5
- package/dist/chunks/{filesystem-3nnrz6f6.js → wellknown-3nnrz6f6.js} +1 -1
- package/dist/chunks/{filesystem-wh56f0xg.js → wellknown-3vvv9mv5.js} +14 -14
- package/dist/chunks/{filesystem-qxd0vyyx.js → wellknown-41b3382c.js} +7 -7
- package/dist/chunks/{filesystem-7ag3s6hb.js → wellknown-4pw98qd4.js} +4 -4
- package/dist/chunks/{filesystem-4v008n1t.js → wellknown-4v008n1t.js} +1 -1
- package/dist/chunks/{filesystem-4xvmh7wp.js → wellknown-4xvmh7wp.js} +3 -3
- package/dist/chunks/{filesystem-5m9w47nd.js → wellknown-5m9w47nd.js} +1 -1
- package/dist/chunks/{filesystem-b6vsg801.js → wellknown-5nnwax6m.js} +5 -5
- package/dist/chunks/{filesystem-gmxp0tf2.js → wellknown-5nrmz00j.js} +26 -26
- package/dist/chunks/{filesystem-zqe6np9v.js → wellknown-5tpm11qt.js} +41 -41
- package/dist/chunks/{filesystem-zj8h54zn.js → wellknown-5vcjq1d8.js} +7 -7
- package/dist/chunks/{filesystem-81852ppe.js → wellknown-6bssvd5f.js} +28 -28
- package/dist/chunks/{filesystem-vgk61ywp.js → wellknown-6c5cd6ez.js} +9 -9
- package/dist/chunks/{filesystem-7f5nwzj1.js → wellknown-6ca4ym0t.js} +28 -28
- package/dist/chunks/{filesystem-nzhn8ym0.js → wellknown-6dmetk4g.js} +15 -15
- package/dist/chunks/{filesystem-6esdw8yj.js → wellknown-6esdw8yj.js} +1 -1
- package/dist/chunks/{filesystem-1c8e1z5t.js → wellknown-6gbmgfj5.js} +5 -5
- package/dist/chunks/{filesystem-6pjqjmy2.js → wellknown-6pjqjmy2.js} +1 -1
- package/dist/chunks/{filesystem-8wxy6m1c.js → wellknown-6q5pcj1n.js} +10 -10
- package/dist/chunks/{filesystem-bhk5af8b.js → wellknown-6vhvgjh4.js} +22 -22
- package/dist/chunks/{filesystem-4ef8bwn9.js → wellknown-6vqxkcd0.js} +12 -12
- package/dist/chunks/{filesystem-d5rem3a1.js → wellknown-6wdcbwmk.js} +7 -7
- package/dist/chunks/{filesystem-3v1362xg.js → wellknown-6xcwddbm.js} +26 -26
- package/dist/chunks/{filesystem-q45ckesn.js → wellknown-6ysjzz3p.js} +33 -33
- package/dist/chunks/{filesystem-m07e8bkf.js → wellknown-6yzvmzd3.js} +15 -15
- package/dist/chunks/{filesystem-w8qtt4th.js → wellknown-76cb1hcw.js} +4 -4
- package/dist/chunks/{filesystem-ty2sm10g.js → wellknown-772qq538.js} +23 -23
- package/dist/chunks/{filesystem-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-7n2s0hvn.js → wellknown-7dwrvf5h.js} +1 -1
- package/dist/chunks/{filesystem-g1sdaffb.js → wellknown-7nkdcysn.js} +27 -27
- package/dist/chunks/{filesystem-cc5x4asw.js → wellknown-7pcsvk8m.js} +18 -18
- package/dist/chunks/{filesystem-7w2ypzdf.js → wellknown-7w2ypzdf.js} +1 -1
- package/dist/chunks/{filesystem-5wkrvrk3.js → wellknown-7w8fhshn.js} +23 -23
- package/dist/chunks/{filesystem-t7e7c0ah.js → wellknown-8682byc1.js} +6 -6
- package/dist/chunks/{filesystem-c3mghmzq.js → wellknown-8hzjd0j9.js} +17 -17
- package/dist/chunks/{filesystem-qjgzc4b4.js → wellknown-8jztxfpf.js} +4 -4
- package/dist/chunks/{filesystem-3dedk1s0.js → wellknown-8qkyrtnb.js} +28 -28
- package/dist/chunks/{filesystem-4ap0d51q.js → wellknown-8sqhc7vc.js} +6 -6
- package/dist/chunks/{filesystem-2qc03bdv.js → wellknown-8v3etk6p.js} +10 -10
- package/dist/chunks/{filesystem-ggdzy5vb.js → wellknown-8vttfty6.js} +13 -13
- package/dist/chunks/{filesystem-8wtp7s3z.js → wellknown-8wtp7s3z.js} +1 -1
- package/dist/chunks/{filesystem-1w51vxkz.js → wellknown-8xmmsc9p.js} +13 -13
- package/dist/chunks/{filesystem-spa8vgy8.js → wellknown-8ykqf5wm.js} +11 -11
- package/dist/chunks/{filesystem-91rj84md.js → wellknown-91rj84md.js} +1 -1
- package/dist/chunks/{filesystem-2j6zzxrf.js → wellknown-9a61gpeh.js} +5 -5
- package/dist/chunks/wellknown-9cmrt7xy.js +26 -0
- package/dist/chunks/{filesystem-7fvw33xg.js → wellknown-9dtj3gwf.js} +12 -12
- package/dist/chunks/{filesystem-3k4jc8v0.js → wellknown-9g4cv0f3.js} +5 -5
- package/dist/chunks/{filesystem-ggm2jm67.js → wellknown-9smwdb2z.js} +14 -14
- package/dist/chunks/{filesystem-z5hhap5m.js → wellknown-9v7dz4xn.js} +12 -12
- package/dist/chunks/{filesystem-p53t1m50.js → wellknown-9vbx93zb.js} +30 -30
- package/dist/chunks/{filesystem-65k60evq.js → wellknown-a5y3wh5q.js} +5 -5
- package/dist/chunks/{filesystem-8p2axgtb.js → wellknown-aa2zaxkm.js} +14 -14
- package/dist/chunks/{filesystem-r2skbm8f.js → wellknown-ae027wx8.js} +9 -9
- package/dist/chunks/{filesystem-034tev2y.js → wellknown-aj7mw0zk.js} +2 -2
- package/dist/chunks/{filesystem-v11fj23z.js → wellknown-am41y27b.js} +11 -11
- package/dist/chunks/{filesystem-r66x192s.js → wellknown-aqc37f1k.js} +35 -35
- package/dist/chunks/{filesystem-dvebtgfn.js → wellknown-axjrj1bz.js} +18 -18
- package/dist/chunks/{filesystem-8fg642az.js → wellknown-ayxev8a3.js} +2 -2
- package/dist/chunks/{filesystem-b0mv4wxm.js → wellknown-b0mv4wxm.js} +2 -2
- package/dist/chunks/{filesystem-9e4mvsvc.js → wellknown-b0t89xxr.js} +37 -37
- package/dist/chunks/{filesystem-axbw4nz1.js → wellknown-b30fx7c5.js} +21 -21
- package/dist/chunks/{filesystem-5s0q14pj.js → wellknown-b5tvc8h0.js} +5 -5
- package/dist/chunks/{filesystem-bmk2h0av.js → wellknown-b692ze95.js} +8 -8
- package/dist/chunks/{filesystem-ze4vdf9h.js → wellknown-beqsqb4f.js} +1 -1
- package/dist/chunks/{filesystem-gkkwf9ek.js → wellknown-bmd0we0e.js} +23 -23
- package/dist/chunks/{filesystem-v7ecd1j3.js → wellknown-c3v55vft.js} +18 -18
- package/dist/chunks/{filesystem-nv7qnqx3.js → wellknown-c6gg2d7g.js} +9 -9
- package/dist/chunks/{filesystem-nt6ka9fm.js → wellknown-cdehd1dv.js} +11 -11
- package/dist/chunks/{filesystem-zkgq49d1.js → wellknown-cfkc8wvf.js} +4 -4
- package/dist/chunks/{filesystem-t2wr9q9z.js → wellknown-cjqg7s82.js} +13 -13
- package/dist/chunks/{filesystem-s1w5fnqx.js → wellknown-cmceae6s.js} +18 -18
- package/dist/chunks/{filesystem-nftmt6w7.js → wellknown-cqf8794w.js} +23 -23
- package/dist/chunks/{filesystem-8k7htary.js → wellknown-ctz21g80.js} +10 -10
- package/dist/chunks/{filesystem-kw88awxx.js → wellknown-cwqd4yek.js} +6 -6
- package/dist/chunks/wellknown-d2bq0fh0.js +257 -0
- package/dist/chunks/{filesystem-d4v9tmah.js → wellknown-d4v9tmah.js} +2 -2
- package/dist/chunks/{filesystem-hw3tvpxd.js → wellknown-d9rjxn1q.js} +13 -13
- package/dist/chunks/{filesystem-ek8mq45z.js → wellknown-dcbbhpwf.js} +16 -16
- package/dist/chunks/{filesystem-edvrbgb7.js → wellknown-dcxf72cj.js} +14 -14
- package/dist/chunks/{filesystem-7zaqb5eb.js → wellknown-dmg81fze.js} +11 -11
- package/dist/chunks/{filesystem-998yhzzq.js → wellknown-dvj9ct8m.js} +3 -3
- package/dist/chunks/{filesystem-9dzxay90.js → wellknown-dzbgzh8d.js} +24 -24
- package/dist/chunks/{filesystem-vck145x8.js → wellknown-e0977wyg.js} +15 -15
- package/dist/chunks/{filesystem-5qd3pb7m.js → wellknown-e3qxr5gk.js} +2 -2
- package/dist/chunks/{filesystem-hx2kfbk2.js → wellknown-e5azydyz.js} +7 -7
- package/dist/chunks/{filesystem-jneg3k74.js → wellknown-e5dqjz6v.js} +4 -4
- package/dist/chunks/{filesystem-e834z07m.js → wellknown-e834z07m.js} +1 -1
- package/dist/chunks/{filesystem-c1xd845s.js → wellknown-e94x7tnv.js} +11 -11
- package/dist/chunks/{filesystem-kybr559y.js → wellknown-ebhqaeer.js} +20 -20
- package/dist/chunks/{filesystem-xh3hzw7q.js → wellknown-ebqxajpa.js} +8 -8
- package/dist/chunks/{filesystem-ya1e3r6x.js → wellknown-ee49148j.js} +18 -18
- package/dist/chunks/{filesystem-ef5x83kb.js → wellknown-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-d0adv3wn.js → wellknown-ek216raq.js} +4 -4
- package/dist/chunks/{filesystem-t0861qrz.js → wellknown-em09g0j4.js} +11 -11
- package/dist/chunks/{filesystem-qnm4ee5f.js → wellknown-et702fqy.js} +6 -6
- package/dist/chunks/wellknown-ezna1kdx.js +18 -0
- package/dist/chunks/{filesystem-8xs7txxn.js → wellknown-f8brgmmr.js} +1 -1
- package/dist/chunks/{filesystem-fffv3p7h.js → wellknown-fffv3p7h.js} +1 -1
- package/dist/chunks/{filesystem-mgd76wh1.js → wellknown-ffp3ehby.js} +15 -15
- package/dist/chunks/{filesystem-ewt411c3.js → wellknown-fhpwcnq5.js} +16 -16
- package/dist/chunks/{filesystem-zjbp7710.js → wellknown-fmt9wnsp.js} +28 -28
- package/dist/chunks/{filesystem-be4y46ka.js → wellknown-fyzdnt29.js} +18 -18
- package/dist/chunks/{filesystem-rntrk4q6.js → wellknown-fzrg86r1.js} +10 -10
- package/dist/chunks/{filesystem-g5h9c0rr.js → wellknown-g5h9c0rr.js} +2 -2
- package/dist/chunks/{filesystem-zmwx25fz.js → wellknown-gbnff0zv.js} +2 -2
- package/dist/chunks/{filesystem-k2swmk98.js → wellknown-gcc7dp33.js} +15 -15
- package/dist/chunks/{filesystem-7e5ts14b.js → wellknown-gcj3kjtw.js} +29 -24
- package/dist/chunks/{filesystem-jhe7xhev.js → wellknown-ge2s7166.js} +18 -18
- package/dist/chunks/{filesystem-eq3fc1qc.js → wellknown-gj8x1tda.js} +5 -5
- package/dist/chunks/{filesystem-6825m99s.js → wellknown-gm2e9k17.js} +15 -15
- package/dist/chunks/{filesystem-6je74zf0.js → wellknown-gpgh1ne9.js} +13 -13
- package/dist/chunks/{filesystem-4k0n4aqd.js → wellknown-h4qn0q0n.js} +25 -25
- package/dist/chunks/{filesystem-edpv0694.js → wellknown-h9zzwr9p.js} +4 -4
- package/dist/chunks/{filesystem-7h2wc5qt.js → wellknown-hnc1mdqv.js} +13 -13
- package/dist/chunks/{filesystem-rs61zdpp.js → wellknown-htb7qhsb.js} +11 -11
- package/dist/chunks/{filesystem-j113cymg.js → wellknown-j113cymg.js} +1 -1
- package/dist/chunks/{filesystem-0kew33c2.js → wellknown-j693j56p.js} +7 -7
- package/dist/chunks/{filesystem-pvg6n8yd.js → wellknown-j9sfyafe.js} +26 -26
- package/dist/chunks/{filesystem-wxf6pp3z.js → wellknown-jdv93er6.js} +29 -29
- package/dist/chunks/{filesystem-epqb75p6.js → wellknown-jtx0gzs1.js} +8 -8
- package/dist/chunks/{filesystem-033a0jkt.js → wellknown-jx89vj1k.js} +3 -3
- package/dist/chunks/{filesystem-3trpca19.js → wellknown-k4t14cac.js} +10 -10
- package/dist/chunks/{filesystem-dt3jkxpv.js → wellknown-k6n8wf1h.js} +15 -15
- package/dist/chunks/{filesystem-1tpn6myv.js → wellknown-k6wk3r5t.js} +37 -37
- package/dist/chunks/{filesystem-k814nvkf.js → wellknown-k814nvkf.js} +1 -1
- package/dist/chunks/{filesystem-jgmj0zrj.js → wellknown-k8w4kbf3.js} +41 -41
- package/dist/chunks/{filesystem-ps833y8c.js → wellknown-k97tdqzj.js} +6 -6
- package/dist/chunks/{filesystem-2n0h6mem.js → wellknown-k9cky2s3.js} +11 -11
- package/dist/chunks/{filesystem-2q14gge3.js → wellknown-kf4k70c8.js} +27 -27
- package/dist/chunks/{filesystem-xxwqbg00.js → wellknown-ksj071wv.js} +25 -25
- package/dist/chunks/{filesystem-4b4zxyy8.js → wellknown-kv86bdab.js} +9 -9
- package/dist/chunks/{filesystem-m1714858.js → wellknown-m1714858.js} +1 -1
- package/dist/chunks/{filesystem-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-maspj1v3.js → wellknown-maspj1v3.js} +1 -1
- package/dist/chunks/{filesystem-2f3z3cr8.js → wellknown-mchcfyvf.js} +328 -328
- package/dist/chunks/{filesystem-116ca35p.js → wellknown-mj6xf4g5.js} +24 -24
- package/dist/chunks/{filesystem-9d47vacw.js → wellknown-mkg5me76.js} +19 -19
- package/dist/chunks/{filesystem-ypxm9172.js → wellknown-msqmy3gp.js} +4 -4
- package/dist/chunks/{filesystem-k4p9vzj4.js → wellknown-mtxwg59p.js} +6 -6
- package/dist/chunks/{filesystem-y6v2r02b.js → wellknown-mw1fpszq.js} +40 -40
- package/dist/chunks/{filesystem-22qxr633.js → wellknown-my2wpxcm.js} +18 -18
- package/dist/chunks/{filesystem-6cxhfye1.js → wellknown-mz3hfnzx.js} +26 -26
- package/dist/chunks/{filesystem-n0p0277s.js → wellknown-n0p0277s.js} +1 -1
- package/dist/chunks/{filesystem-b55rpsr5.js → wellknown-n9a7rh5w.js} +4 -4
- package/dist/chunks/{filesystem-a0pqy3jv.js → wellknown-n9n70ej9.js} +9 -9
- package/dist/chunks/{filesystem-770pw0s1.js → wellknown-nah043kf.js} +4 -4
- package/dist/chunks/{filesystem-pmr385ej.js → wellknown-nfha22dk.js} +11 -11
- package/dist/chunks/{filesystem-bmz6t6pq.js → wellknown-nk7afy6y.js} +16 -16
- package/dist/chunks/{filesystem-y9xrhqjb.js → wellknown-nt8bw4me.js} +6 -6
- package/dist/chunks/{filesystem-p015t6z3.js → wellknown-p015t6z3.js} +2 -2
- package/dist/chunks/{filesystem-an558sqv.js → wellknown-p0tsr9h6.js} +4 -4
- package/dist/chunks/{filesystem-7k3s3q4g.js → wellknown-p7q4x3ve.js} +34 -34
- package/dist/chunks/{filesystem-bcrvt9qa.js → wellknown-p900kj0g.js} +68 -68
- package/dist/chunks/{filesystem-pyeqa8z9.js → wellknown-pa73zsyv.js} +13 -13
- package/dist/chunks/{filesystem-fartem3k.js → wellknown-pgeh2d1w.js} +6 -6
- package/dist/chunks/{filesystem-exnmcfra.js → wellknown-pj7zvz06.js} +16 -16
- package/dist/chunks/{filesystem-pknna89w.js → wellknown-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-f2de68n6.js → wellknown-pmxxkv03.js} +1 -1
- package/dist/chunks/{filesystem-s4s6vne1.js → wellknown-q27fbm3z.js} +7 -7
- package/dist/chunks/{filesystem-vzmjdaw1.js → wellknown-qaz4f448.js} +9 -9
- package/dist/chunks/{filesystem-yjzq9vex.js → wellknown-qffbzpjd.js} +27 -27
- package/dist/chunks/{filesystem-rbj8gs5v.js → wellknown-qjwcge9s.js} +3 -3
- package/dist/chunks/{filesystem-gc4rcfsx.js → wellknown-qkc3z5ds.js} +4 -4
- package/dist/chunks/{filesystem-w65kmk12.js → wellknown-qrpbmy32.js} +11 -11
- package/dist/chunks/{filesystem-xcspg1bc.js → wellknown-r06a3q58.js} +18 -18
- package/dist/chunks/{filesystem-r0yr0wbs.js → wellknown-r0yr0wbs.js} +1 -1
- package/dist/chunks/{filesystem-xw9sjbq7.js → wellknown-r711frth.js} +6 -6
- package/dist/chunks/{filesystem-v714my2j.js → wellknown-r7hn3bee.js} +34 -34
- package/dist/chunks/{filesystem-xxecem69.js → wellknown-r8bt6dxp.js} +22 -22
- package/dist/chunks/{filesystem-pta84ypa.js → wellknown-r8f6rk3c.js} +8 -8
- package/dist/chunks/{filesystem-w6e33p3k.js → wellknown-r9eyfrc3.js} +16 -16
- package/dist/chunks/{filesystem-rb9dy4dg.js → wellknown-rb9dy4dg.js} +1 -1
- package/dist/chunks/{filesystem-5ajak8ts.js → wellknown-rbhxz4gb.js} +30 -30
- package/dist/chunks/{filesystem-p1qvkr9d.js → wellknown-ressjymw.js} +24 -24
- package/dist/chunks/{filesystem-rt5dr6hb.js → wellknown-rt5dr6hb.js} +1 -1
- package/dist/chunks/{filesystem-azwwy65a.js → wellknown-s4vbyw3x.js} +20 -20
- package/dist/chunks/{filesystem-rrad2nt9.js → wellknown-s626qfae.js} +4 -4
- package/dist/chunks/{filesystem-1y0wdj51.js → wellknown-s7kyse9r.js} +9 -9
- package/dist/chunks/{filesystem-43jry69q.js → wellknown-s9qqqswp.js} +14 -14
- package/dist/chunks/{filesystem-d4r2kcv6.js → wellknown-schbm4ma.js} +45 -45
- package/dist/chunks/{filesystem-rhkbbz1f.js → wellknown-skywmwjb.js} +4 -4
- package/dist/chunks/{filesystem-sqjzf8x2.js → wellknown-sqjzf8x2.js} +1 -1
- package/dist/chunks/{filesystem-cp6v88n8.js → wellknown-sr7feaek.js} +29 -29
- package/dist/chunks/{filesystem-ntshrafh.js → wellknown-srwcj12q.js} +11 -11
- package/dist/chunks/{filesystem-mtkfycnh.js → wellknown-ssfehs1z.js} +4 -4
- package/dist/chunks/{filesystem-kmx603z6.js → wellknown-sv14dtn5.js} +50 -50
- package/dist/chunks/{filesystem-r7bm2ta5.js → wellknown-t3zdfkz5.js} +10 -10
- package/dist/chunks/{filesystem-7csthhj8.js → wellknown-t5x9ax0g.js} +4 -4
- package/dist/chunks/{filesystem-cash41ab.js → wellknown-t79pfcy2.js} +11 -11
- package/dist/chunks/{filesystem-tczq8hjw.js → wellknown-tczq8hjw.js} +1 -1
- package/dist/chunks/{filesystem-q0d1t4r8.js → wellknown-tfztb0br.js} +21 -21
- package/dist/chunks/{filesystem-w4ey5q3y.js → wellknown-tgppvydt.js} +18 -18
- package/dist/chunks/{filesystem-mmkbt6v3.js → wellknown-tkmwn4n3.js} +9 -9
- package/dist/chunks/{filesystem-c3rhye5x.js → wellknown-tmpacpwf.js} +20 -20
- package/dist/chunks/{filesystem-79yxn91x.js → wellknown-tvbkyf9p.js} +15 -15
- package/dist/chunks/{filesystem-tw8zr1ps.js → wellknown-tw8zr1ps.js} +1 -1
- package/dist/chunks/{filesystem-twv2r8f4.js → wellknown-twv2r8f4.js} +2 -2
- package/dist/chunks/{filesystem-xrd94v26.js → wellknown-txwdtw55.js} +11 -11
- package/dist/chunks/{filesystem-v2r1d0zg.js → wellknown-v2r1d0zg.js} +1 -1
- package/dist/chunks/{filesystem-kmzgegqq.js → wellknown-v5hpj9dd.js} +8 -8
- package/dist/chunks/{filesystem-qjhdweq9.js → wellknown-v8vd993n.js} +8 -8
- package/dist/chunks/{filesystem-k0rz3mv5.js → wellknown-v9see6sy.js} +16 -16
- package/dist/chunks/{filesystem-nad4mkqt.js → wellknown-vbhy04yp.js} +8 -8
- package/dist/chunks/{filesystem-32tacxf9.js → wellknown-vcvnp0q3.js} +4 -4
- package/dist/chunks/{filesystem-vd3b3yk9.js → wellknown-vd3b3yk9.js} +1 -1
- package/dist/chunks/{filesystem-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-vmfhgzt5.js → wellknown-vmfhgzt5.js} +1 -1
- package/dist/chunks/{filesystem-s0jq7590.js → wellknown-vq3ad26g.js} +24 -24
- package/dist/chunks/{filesystem-vrcsa8qx.js → wellknown-vrcsa8qx.js} +2 -2
- package/dist/chunks/{filesystem-hj2jsaw9.js → wellknown-vxjbe68y.js} +15 -15
- package/dist/chunks/{filesystem-8j62s4y7.js → wellknown-w0s8kcs1.js} +33 -33
- package/dist/chunks/{filesystem-r41sfy63.js → wellknown-w2eysc6j.js} +6 -6
- package/dist/chunks/{filesystem-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-qmhe942t.js → wellknown-w9704mzh.js} +2 -2
- package/dist/chunks/{filesystem-wakvkjy4.js → wellknown-wakvkjy4.js} +1 -1
- package/dist/chunks/{filesystem-ndfn0p5e.js → wellknown-wbbgvkty.js} +25 -25
- package/dist/chunks/{filesystem-wd87259q.js → wellknown-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-f17hsh48.js → wellknown-wfa1ttd4.js} +14 -14
- package/dist/chunks/{filesystem-xs9f9c89.js → wellknown-wnvqne7d.js} +26 -26
- package/dist/chunks/{filesystem-yznjjmbw.js → wellknown-wqj0b1m2.js} +166 -166
- package/dist/chunks/{filesystem-fznmdakp.js → wellknown-wr3re1en.js} +4 -4
- package/dist/chunks/{filesystem-mqqgcg93.js → wellknown-wsccfv8x.js} +4 -4
- package/dist/chunks/{filesystem-3af2h6f6.js → wellknown-wwsd659t.js} +14 -14
- package/dist/chunks/{filesystem-w3hdzqmq.js → wellknown-wy65z4t5.js} +9 -9
- package/dist/chunks/{filesystem-6xsqtwm9.js → wellknown-x0m7sghc.js} +38 -38
- package/dist/chunks/{filesystem-jzckctm7.js → wellknown-x5b2bey3.js} +24 -24
- package/dist/chunks/{filesystem-ea8rv3yk.js → wellknown-x9720knc.js} +15 -15
- package/dist/chunks/{filesystem-jr7k77qs.js → wellknown-xbf8tvh1.js} +3 -3
- package/dist/chunks/{filesystem-r5q168xg.js → wellknown-xc76h6b6.js} +52 -52
- package/dist/chunks/{filesystem-bstexjd6.js → wellknown-xd9cc171.js} +5 -5
- package/dist/chunks/{filesystem-nh58hc9m.js → wellknown-xrbr151j.js} +82 -82
- package/dist/chunks/{filesystem-2bxs16p1.js → wellknown-xs6gfkjp.js} +43 -43
- package/dist/chunks/{filesystem-1byvm3vx.js → wellknown-xvs7wkqm.js} +9 -9
- package/dist/chunks/{filesystem-93cw99tk.js → wellknown-xw56b1c2.js} +41 -41
- package/dist/chunks/{filesystem-ma48de29.js → wellknown-y906m0ew.js} +5 -5
- package/dist/chunks/{filesystem-7kvsvhsr.js → wellknown-yaqxkf8p.js} +8 -8
- package/dist/chunks/{filesystem-yb20nhc3.js → wellknown-yb20nhc3.js} +1 -1
- package/dist/chunks/{filesystem-bps13hr4.js → wellknown-ydkqfst9.js} +11 -11
- package/dist/chunks/{filesystem-f5pe5xbd.js → wellknown-ypqhzgty.js} +11 -11
- package/dist/chunks/{filesystem-4y366mta.js → wellknown-yt87mgee.js} +2 -2
- package/dist/chunks/{filesystem-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-z38nccrw.js → wellknown-z38nccrw.js} +1 -1
- package/dist/chunks/{filesystem-7he63rq2.js → wellknown-z4y6rart.js} +5 -5
- package/dist/chunks/{filesystem-yyn8wt6y.js → wellknown-z5axs658.js} +9 -9
- package/dist/chunks/{filesystem-0t2efqex.js → wellknown-z704znn1.js} +21 -21
- package/dist/chunks/{filesystem-esjx5599.js → wellknown-z9hy4jc9.js} +13 -13
- package/dist/chunks/{filesystem-cd9vvngm.js → wellknown-zk32jm74.js} +2 -2
- package/dist/chunks/{filesystem-zkg84ctx.js → wellknown-zkg84ctx.js} +1 -1
- package/dist/chunks/{filesystem-shzcewxt.js → wellknown-zns6ke8q.js} +14 -14
- package/dist/chunks/{filesystem-w0ng8sb4.js → wellknown-zre18969.js} +14 -14
- package/dist/chunks/{filesystem-b6kqqew2.js → wellknown-zteftdt1.js} +8 -8
- package/dist/chunks/{filesystem-jghabtcw.js → wellknown-zwj0rqkv.js} +24 -24
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- 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 +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- 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 +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- 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 +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- package/dist/git.js +10 -10
- 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 +93 -93
- 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 +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +136 -136
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +78 -78
- 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 +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +11 -4
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- 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 +221 -221
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +139 -139
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/pty/ticket.d.ts +7 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/filesystem-87sqwm80.js +0 -18
- package/dist/chunks/filesystem-9jjtdp7g.js +0 -26
- package/dist/chunks/filesystem-h15n1nxh.js +0 -257
- /package/dist/chunks/{filesystem-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2bv980vf.js → wellknown-2bv980vf.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → wellknown-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → wellknown-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-5fjb7ams.js → wellknown-5fjb7ams.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → wellknown-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-6q2bdcd1.js → wellknown-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → wellknown-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-84wd9syh.js → wellknown-84wd9syh.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a058387c.js → wellknown-a058387c.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → wellknown-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → wellknown-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → wellknown-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hcxmzztb.js → wellknown-hcxmzztb.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → wellknown-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jze0r7bz.js → wellknown-jze0r7bz.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-m18g726c.js → wellknown-m18g726c.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-pkyv6v7h.js → wellknown-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-ve7vex1e.js → wellknown-ve7vex1e.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wjj7prxr.js → wellknown-wjj7prxr.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → wellknown-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z5v4ffb3.js → wellknown-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service84,
|
|
9
|
+
node88
|
|
10
|
+
} from "./wellknown-9dtj3gwf.js";
|
|
11
11
|
import {
|
|
12
12
|
Service79,
|
|
13
13
|
node83
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./wellknown-pgeh2d1w.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./wellknown-vd3b3yk9.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID6,
|
|
27
27
|
Service: () => Service40,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node43,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID6 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
@@ -47,7 +47,7 @@ class Service40 extends Context.Service()("@opencode/Snapshot") {
|
|
|
47
47
|
}
|
|
48
48
|
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service84;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const location = yield* Service79;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID6.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -141,25 +141,25 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
141
141
|
for (const [file, snapshot] of input.files) {
|
|
142
142
|
const absolute = path.resolve(worktree, file);
|
|
143
143
|
if (!FSUtil.contains(worktree, absolute))
|
|
144
|
-
return yield* new
|
|
144
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
145
145
|
files.set(file, TreeID2.make(snapshot));
|
|
146
146
|
}
|
|
147
147
|
return files;
|
|
148
148
|
});
|
|
149
149
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
150
150
|
if (!enabled())
|
|
151
|
-
return yield* new
|
|
151
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
152
152
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
153
153
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
154
154
|
});
|
|
155
155
|
return Service40.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
156
156
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
157
|
-
var
|
|
157
|
+
var node43 = makeLocationNode({
|
|
158
158
|
service: Service40,
|
|
159
159
|
layer,
|
|
160
|
-
deps: [FSUtil.node,
|
|
160
|
+
deps: [FSUtil.node, node88, Global.node, node83]
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var noopLayer2 = Layer.succeed(Service40, Service40.of({
|
|
163
163
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
164
164
|
reload: () => Effect.void,
|
|
165
165
|
capture: () => Effect.undefined,
|
|
@@ -168,13 +168,13 @@ var noopLayer3 = Layer.succeed(Service40, Service40.of({
|
|
|
168
168
|
restore: () => Effect.void
|
|
169
169
|
}));
|
|
170
170
|
function failure(operation, cause) {
|
|
171
|
-
if (cause instanceof
|
|
171
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
172
172
|
return cause;
|
|
173
|
-
return new
|
|
173
|
+
return new Error3({
|
|
174
174
|
operation,
|
|
175
175
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
176
176
|
cause
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { ID6, Error3, Service40, node43, noopLayer2, exports_snapshot2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-qjwcge9s.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-8jztxfpf.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-qjwcge9s.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-h9zzwr9p.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service58
|
|
9
|
+
} from "./wellknown-8682byc1.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
14
|
Service40
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./wellknown-h4qn0q0n.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./wellknown-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
MessageNotFoundError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./wellknown-et702fqy.js";
|
|
22
22
|
import {
|
|
23
23
|
SessionMessageTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./wellknown-dvj9ct8m.js";
|
|
25
25
|
import {
|
|
26
26
|
decodeMessageRowSync2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./wellknown-ctz21g80.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/session/revert.ts
|
|
33
33
|
var exports_revert = {};
|
|
@@ -40,7 +40,7 @@ __export(exports_revert, {
|
|
|
40
40
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
41
41
|
import { Effect } from "effect";
|
|
42
42
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
43
|
-
const instances = yield*
|
|
43
|
+
const instances = yield* Service58;
|
|
44
44
|
const database = yield* Service86;
|
|
45
45
|
const bus = yield* Service85;
|
|
46
46
|
return yield* Effect.gen(function* () {
|
|
@@ -72,7 +72,7 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
72
72
|
}).pipe(instances.provide(input.session));
|
|
73
73
|
});
|
|
74
74
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
75
|
-
const instances = yield*
|
|
75
|
+
const instances = yield* Service58;
|
|
76
76
|
const bus = yield* Service85;
|
|
77
77
|
yield* Effect.gen(function* () {
|
|
78
78
|
const snapshot = yield* Service40;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service67
|
|
4
|
+
} from "./wellknown-5tpm11qt.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service9
|
|
7
|
+
} from "./wellknown-mw1fpszq.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-6pjqjmy2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/compaction.ts
|
|
16
16
|
var exports_compaction = {};
|
|
17
17
|
__export(exports_compaction, {
|
|
18
18
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin13
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin13 = define({
|
|
24
24
|
id: "opencode.config.compaction",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const compaction = yield*
|
|
26
|
+
const config = yield* Service67;
|
|
27
|
+
const compaction = yield* Service9;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
29
29
|
yield* compaction.transform((editor) => {
|
|
30
30
|
editor.configure({ precompute: latest2(loaded.entries, "experimental")?.precompute_compaction === true });
|
|
@@ -41,4 +41,4 @@ var Plugin41 = define({
|
|
|
41
41
|
})
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
export {
|
|
44
|
+
export { Plugin13, exports_compaction };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./wellknown-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./wellknown-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./wellknown-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-qjwcge9s.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service85,
|
|
8
8
|
node89
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-h9zzwr9p.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-p015t6z3.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./wellknown-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./wellknown-ctz21g80.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service64,
|
|
21
|
+
node68
|
|
22
|
+
} from "./wellknown-9smwdb2z.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service23,
|
|
25
|
+
node26
|
|
26
|
+
} from "./wellknown-1afthse9.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./wellknown-tw8zr1ps.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service2,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer3,
|
|
42
|
+
node: () => node3
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,7 +51,7 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service2 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var messagePrompt = (text) => `Here is the first message of the conversation:
|
|
@@ -72,11 +72,11 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
72
72
|
title: session.title,
|
|
73
73
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
76
76
|
const bus = yield* Service85;
|
|
77
77
|
const llm = yield* LLMClient.Service;
|
|
78
|
-
const context = yield*
|
|
79
|
-
const store = yield*
|
|
78
|
+
const context = yield* Service23;
|
|
79
|
+
const store = yield* Service64;
|
|
80
80
|
const db = (yield* Service86).db;
|
|
81
81
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
82
82
|
const chunks = [];
|
|
@@ -160,12 +160,12 @@ Recent conversation:
|
|
|
160
160
|
title: truncate(title)
|
|
161
161
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
162
162
|
});
|
|
163
|
-
return
|
|
163
|
+
return Service2.of({ generate });
|
|
164
164
|
}));
|
|
165
|
-
var
|
|
166
|
-
service:
|
|
167
|
-
layer:
|
|
168
|
-
deps: [node89, llmClient2,
|
|
165
|
+
var node3 = makeLocationNode({
|
|
166
|
+
service: Service2,
|
|
167
|
+
layer: layer3,
|
|
168
|
+
deps: [node89, llmClient2, node26, node68, node90]
|
|
169
169
|
});
|
|
170
170
|
|
|
171
|
-
export {
|
|
171
|
+
export { Service2, isUntitled2, layer3, node3, exports_title };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-h9zzwr9p.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node83
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-pgeh2d1w.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service48,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node51
|
|
13
|
+
} from "./wellknown-c3v55vft.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
24
|
CreateInput: () => CreateInput2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event2,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID2,
|
|
28
|
+
Info: () => Info3,
|
|
29
|
+
NotFoundError: () => NotFoundError2,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service15,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node17
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event2 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var ID2 = Pty.ID;
|
|
43
|
+
var Info3 = Pty.Info;
|
|
44
44
|
var CreateInput2 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID2
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service15 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service85;
|
|
61
61
|
const location = yield* Service79;
|
|
62
|
-
const shell = yield*
|
|
62
|
+
const shell = yield* Service48;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID2.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service15.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node17 = makeLocationNode({
|
|
273
|
+
service: Service15,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [node89, node83,
|
|
275
|
+
deps: [node89, node83, node51]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID2, Info3, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service15, node17, exports_pty, Event2 };
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-rb9dy4dg.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-ef5x83kb.js";
|
|
12
12
|
import {
|
|
13
13
|
Service79
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./wellknown-pgeh2d1w.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./wellknown-8hzjd0j9.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin39,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,7 +33,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin39 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
39
|
const location = yield* Service79;
|
|
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
553
553
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
554
554
|
});
|
|
555
555
|
|
|
556
|
-
export {
|
|
556
|
+
export { Plugin39, exports_git };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
8
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
9
|
-
function
|
|
9
|
+
function make4(input) {
|
|
10
10
|
const disabled = false;
|
|
11
11
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
12
12
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -259,4 +259,4 @@ function hasRecordKey(input, field, key) {
|
|
|
259
259
|
return isRecord(input[field]) && key in input[field];
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
export {
|
|
262
|
+
export { make4 };
|
|
@@ -4,22 +4,22 @@ import {
|
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-ksj071wv.js";
|
|
8
8
|
import {
|
|
9
9
|
stringify2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-5fjb7ams.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/aisdk.ts
|
|
16
16
|
var exports_aisdk = {};
|
|
17
17
|
__export(exports_aisdk, {
|
|
18
18
|
AISDK: () => exports_aisdk,
|
|
19
19
|
InitError: () => InitError2,
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service61,
|
|
21
21
|
locationLayer: () => locationLayer2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node65
|
|
23
23
|
});
|
|
24
24
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
25
25
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -164,9 +164,9 @@ function initError(providerID) {
|
|
|
164
164
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
class
|
|
167
|
+
class Service61 extends Context.Service()("@opencode/AISDK") {
|
|
168
168
|
}
|
|
169
|
-
var locationLayer2 = Layer.effect(
|
|
169
|
+
var locationLayer2 = Layer.effect(Service61, Effect.gen(function* () {
|
|
170
170
|
let sdkHooks = [];
|
|
171
171
|
let languageHooks = [];
|
|
172
172
|
const languages = new Map;
|
|
@@ -204,7 +204,7 @@ var locationLayer2 = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
204
204
|
}
|
|
205
205
|
return event;
|
|
206
206
|
});
|
|
207
|
-
const service =
|
|
207
|
+
const service = Service61.of({
|
|
208
208
|
hook: {
|
|
209
209
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
210
210
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -870,6 +870,6 @@ function providerErrorMessage(error) {
|
|
|
870
870
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
871
871
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
872
872
|
}
|
|
873
|
-
var
|
|
873
|
+
var node65 = makeLocationNode({ service: Service61, layer: locationLayer2, deps: [] });
|
|
874
874
|
|
|
875
|
-
export { InitError2,
|
|
875
|
+
export { InitError2, Service61, locationLayer2, node65, exports_aisdk };
|