@opencode/core 0.0.0-dev-19405 → 0.0.0-dev-19407
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{reference-knhghh0v.js → aisdk-native-00mtajge.js} +28 -28
- package/dist/chunks/{reference-37b2kds0.js → aisdk-native-02g4pwgw.js} +43 -43
- package/dist/chunks/{reference-csf2jhsg.js → aisdk-native-06dxphr1.js} +4 -4
- package/dist/chunks/{reference-j5v2xxap.js → aisdk-native-08q1ktmp.js} +11 -11
- package/dist/chunks/{reference-yjb32c3k.js → aisdk-native-0nysqbcr.js} +14 -14
- package/dist/chunks/{reference-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
- package/dist/chunks/{reference-0q0f95c6.js → aisdk-native-0q0f95c6.js} +1 -1
- package/dist/chunks/{reference-t8mcaem5.js → aisdk-native-0whvpg02.js} +1 -1
- package/dist/chunks/{reference-5rswhkvm.js → aisdk-native-10gpd7r8.js} +20 -20
- package/dist/chunks/{reference-d6fzg897.js → aisdk-native-116x79rh.js} +16 -16
- package/dist/chunks/{reference-1dazxqgg.js → aisdk-native-1dazxqgg.js} +2 -2
- package/dist/chunks/{reference-1eyaby9q.js → aisdk-native-1eyaby9q.js} +2 -2
- package/dist/chunks/{reference-sgfkh1bp.js → aisdk-native-1g0yzmeq.js} +4 -4
- package/dist/chunks/{reference-gvqge573.js → aisdk-native-1jr44p4h.js} +7 -7
- package/dist/chunks/{reference-m4wh40kd.js → aisdk-native-1nfxsm05.js} +2 -2
- package/dist/chunks/{reference-j0w83stm.js → aisdk-native-1pzqjg4a.js} +6 -6
- package/dist/chunks/{reference-kgyjz9fy.js → aisdk-native-1xj7vtnj.js} +21 -21
- package/dist/chunks/{reference-4vptvh4s.js → aisdk-native-20cv9kdh.js} +35 -35
- package/dist/chunks/{reference-4j04egcw.js → aisdk-native-20pevkd1.js} +48 -48
- package/dist/chunks/{reference-21r38tys.js → aisdk-native-21r38tys.js} +1 -1
- package/dist/chunks/{reference-h8zt85z5.js → aisdk-native-23n4s23p.js} +10 -10
- package/dist/chunks/{reference-k6szry07.js → aisdk-native-29n69d6q.js} +17 -17
- package/dist/chunks/{reference-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
- package/dist/chunks/{reference-2k8khapm.js → aisdk-native-2k8khapm.js} +1 -1
- package/dist/chunks/{reference-6wsb51zt.js → aisdk-native-2kf6gv7j.js} +18 -18
- package/dist/chunks/{reference-6gzrz82e.js → aisdk-native-2kr876v7.js} +16 -16
- package/dist/chunks/{reference-wfbvyrr3.js → aisdk-native-313f5m3e.js} +28 -28
- package/dist/chunks/{reference-3fc6dm20.js → aisdk-native-3fc6dm20.js} +1 -1
- package/dist/chunks/{reference-3qcr26pr.js → aisdk-native-3fg8j22w.js} +4 -4
- package/dist/chunks/{reference-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-7my7c7z0.js → aisdk-native-3kfgymbc.js} +11 -11
- package/dist/chunks/{reference-aw218f2w.js → aisdk-native-3nerv44p.js} +16 -16
- package/dist/chunks/{reference-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
- package/dist/chunks/{reference-xakp9rv9.js → aisdk-native-3t48patr.js} +16 -16
- package/dist/chunks/{reference-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
- package/dist/chunks/{reference-kr2c45mn.js → aisdk-native-3xwvnqd2.js} +15 -15
- package/dist/chunks/{reference-6k7a189h.js → aisdk-native-3zte356n.js} +36 -36
- package/dist/chunks/{reference-x0x84apk.js → aisdk-native-463g05rp.js} +18 -18
- package/dist/chunks/{reference-e82z9tr0.js → aisdk-native-47gsdddb.js} +4 -4
- package/dist/chunks/{reference-y0n2m4xg.js → aisdk-native-49hrpkdk.js} +4 -4
- package/dist/chunks/{reference-xxhb4jr7.js → aisdk-native-4frkg54w.js} +9 -9
- package/dist/chunks/{reference-hkjf8z9r.js → aisdk-native-4ns3h2re.js} +6 -6
- package/dist/chunks/{reference-zh4avhke.js → aisdk-native-4zpv8xb5.js} +26 -26
- package/dist/chunks/{reference-xdk9p2qn.js → aisdk-native-50mzsvk4.js} +21 -21
- package/dist/chunks/{reference-ewnjgq7q.js → aisdk-native-50pta90c.js} +5 -5
- package/dist/chunks/{reference-2x1tygz9.js → aisdk-native-50xndcxf.js} +6 -6
- package/dist/chunks/{reference-56gdpj1q.js → aisdk-native-56gdpj1q.js} +2 -2
- package/dist/chunks/{reference-rvnq7e84.js → aisdk-native-584zshvf.js} +11 -11
- package/dist/chunks/{reference-1efffvwy.js → aisdk-native-5actk7ev.js} +24 -24
- package/dist/chunks/{reference-vvhxhpdd.js → aisdk-native-5cqd19vv.js} +23 -23
- package/dist/chunks/{reference-5daktx2q.js → aisdk-native-5daktx2q.js} +1 -1
- package/dist/chunks/{reference-3eqkaq2z.js → aisdk-native-5jbz9ktf.js} +25 -25
- package/dist/chunks/{reference-gv45jpg5.js → aisdk-native-5mwt9p44.js} +4 -4
- package/dist/chunks/{reference-9eh6sf6d.js → aisdk-native-5nrew705.js} +5 -5
- package/dist/chunks/{reference-dxt7hne3.js → aisdk-native-5py4nq14.js} +11 -11
- package/dist/chunks/{reference-7qfmb4s4.js → aisdk-native-5s6kd9sj.js} +42 -42
- package/dist/chunks/{reference-5t3nmthw.js → aisdk-native-5t3nmthw.js} +2 -2
- package/dist/chunks/{reference-q342wcsq.js → aisdk-native-5tctejee.js} +3 -3
- package/dist/chunks/{reference-4bap03mh.js → aisdk-native-60qhhz9x.js} +40 -40
- package/dist/chunks/{reference-610kgvj3.js → aisdk-native-63t8b2hs.js} +8 -8
- package/dist/chunks/{reference-gjdkj7gs.js → aisdk-native-657r8j16.js} +23 -23
- package/dist/chunks/{reference-669tq793.js → aisdk-native-669tq793.js} +1 -1
- package/dist/chunks/{reference-w44x3hm1.js → aisdk-native-677dhqd5.js} +11 -11
- package/dist/chunks/aisdk-native-6dq1yz7w.js +462 -0
- package/dist/chunks/{reference-w0n7a3yn.js → aisdk-native-6fgx7x61.js} +13 -13
- package/dist/chunks/{reference-2402vzrj.js → aisdk-native-6h73sxmp.js} +5 -5
- package/dist/chunks/{reference-6msgmcgs.js → aisdk-native-6msgmcgs.js} +1 -1
- package/dist/chunks/{reference-redrjz5k.js → aisdk-native-6yypz1yx.js} +11 -11
- package/dist/chunks/{reference-71q4at8m.js → aisdk-native-71q4at8m.js} +1 -1
- package/dist/chunks/{reference-hhczrqr1.js → aisdk-native-72wrqvbm.js} +4 -4
- package/dist/chunks/{reference-r5x6zcsm.js → aisdk-native-73tb2d7t.js} +3 -3
- package/dist/chunks/{reference-jhetwysa.js → aisdk-native-76vwfwj3.js} +3 -3
- package/dist/chunks/{reference-vyy6cxw9.js → aisdk-native-78r6kf72.js} +4 -4
- package/dist/chunks/{reference-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-0dwg38z7.js → aisdk-native-7etwt42r.js} +20 -20
- package/dist/chunks/{reference-bkaavq67.js → aisdk-native-7f889xnx.js} +10 -10
- package/dist/chunks/{reference-qjp4a40e.js → aisdk-native-7gg2ep0z.js} +11 -11
- package/dist/chunks/{reference-w94h77jp.js → aisdk-native-7pj8y3d8.js} +15 -15
- package/dist/chunks/{reference-j6bm1nn6.js → aisdk-native-82gkzdqk.js} +16 -16
- package/dist/chunks/{reference-5jgk54rp.js → aisdk-native-867k250n.js} +52 -52
- package/dist/chunks/{reference-v4hps1eq.js → aisdk-native-87yn0pnr.js} +21 -21
- package/dist/chunks/{reference-6y0x6mhe.js → aisdk-native-8858ev1x.js} +36 -36
- package/dist/chunks/{reference-vxdjbxqe.js → aisdk-native-89zcxryv.js} +5 -5
- package/dist/chunks/{reference-8d7r5vzw.js → aisdk-native-8d7r5vzw.js} +1 -1
- package/dist/chunks/{reference-jzxr77q3.js → aisdk-native-8jew5j2b.js} +26 -26
- package/dist/chunks/{reference-8p4f9s12.js → aisdk-native-8p4f9s12.js} +2 -2
- package/dist/chunks/{reference-mfwv2709.js → aisdk-native-8p8gabwn.js} +17 -17
- package/dist/chunks/{reference-069ez2pk.js → aisdk-native-8r024ed4.js} +22 -22
- package/dist/chunks/{reference-spphehv3.js → aisdk-native-8wnkkgmr.js} +24 -24
- package/dist/chunks/{reference-nbwvt5pv.js → aisdk-native-93hjhw2c.js} +10 -10
- package/dist/chunks/{reference-gt0cxfk7.js → aisdk-native-94k3yr3h.js} +1 -1
- package/dist/chunks/{reference-38j1eg2k.js → aisdk-native-97h65wpw.js} +9 -9
- package/dist/chunks/{reference-7mydebfb.js → aisdk-native-9c78b8fz.js} +11 -11
- package/dist/chunks/aisdk-native-9n1mjwqv.js +247 -0
- package/dist/chunks/{reference-z146wf5t.js → aisdk-native-9z0qme4c.js} +31 -31
- package/dist/chunks/{reference-a1bz86dw.js → aisdk-native-a1bz86dw.js} +3 -3
- package/dist/chunks/{reference-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
- package/dist/chunks/{reference-yvmq8qxx.js → aisdk-native-aam2ysh5.js} +14 -14
- package/dist/chunks/{reference-1bmfk1j7.js → aisdk-native-ab5dvbpq.js} +9 -9
- package/dist/chunks/{reference-yp7f5kew.js → aisdk-native-ac2f33ya.js} +11 -11
- package/dist/chunks/{reference-189pdvy9.js → aisdk-native-ajspsemm.js} +13 -13
- package/dist/chunks/{reference-83x6p9kd.js → aisdk-native-atmqa6qy.js} +1 -1
- package/dist/chunks/{reference-pcfbqvzv.js → aisdk-native-aytnzb2v.js} +12 -12
- package/dist/chunks/{reference-zky2ysba.js → aisdk-native-b21zyp4f.js} +35 -35
- package/dist/chunks/{reference-9dpegb11.js → aisdk-native-b65hda7g.js} +18 -18
- package/dist/chunks/{reference-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
- package/dist/chunks/{reference-jahnfg6b.js → aisdk-native-b7ak73bn.js} +25 -25
- package/dist/chunks/{reference-510m7gjw.js → aisdk-native-bgxcxs0p.js} +5 -5
- package/dist/chunks/{reference-8q01rjya.js → aisdk-native-bgxgjwv1.js} +20 -20
- package/dist/chunks/{reference-3kmcaztr.js → aisdk-native-bpbqk74e.js} +11 -11
- package/dist/chunks/{reference-4nvekdmf.js → aisdk-native-bw0vgseb.js} +6 -6
- package/dist/chunks/{reference-4fse7aks.js → aisdk-native-byns55ev.js} +20 -20
- package/dist/chunks/{reference-hx12r247.js → aisdk-native-c3frc79c.js} +37 -37
- package/dist/chunks/{reference-xbjve9g7.js → aisdk-native-c3kfdzc9.js} +10 -10
- package/dist/chunks/{reference-qas58w1m.js → aisdk-native-c4e0jh2b.js} +11 -11
- package/dist/chunks/{reference-ja4wy4ee.js → aisdk-native-c769d21z.js} +7 -7
- package/dist/chunks/{reference-gkmh43rj.js → aisdk-native-c951tkze.js} +7 -7
- package/dist/chunks/{reference-tkhm1f4n.js → aisdk-native-cab3cz9c.js} +46 -46
- package/dist/chunks/{reference-wtjt4ngy.js → aisdk-native-ccz22zy4.js} +41 -41
- package/dist/chunks/{reference-rtphz2v8.js → aisdk-native-cfftbm2z.js} +9 -9
- package/dist/chunks/{reference-cfpkc3c9.js → aisdk-native-cfpkc3c9.js} +2 -2
- package/dist/chunks/{reference-asmz7wyz.js → aisdk-native-cxv3b682.js} +8 -8
- package/dist/chunks/{reference-ratrq7cm.js → aisdk-native-d216944b.js} +7 -7
- package/dist/chunks/{reference-7gvwkz6m.js → aisdk-native-d2aac7k2.js} +5 -5
- package/dist/chunks/{reference-3jp54z3r.js → aisdk-native-d50f2zf5.js} +1 -1
- package/dist/chunks/{reference-7e2yy7bx.js → aisdk-native-d8nc1xcx.js} +4 -4
- package/dist/chunks/{reference-3g767a7k.js → aisdk-native-da92bshf.js} +15 -15
- package/dist/chunks/{reference-1wxb385z.js → aisdk-native-daj5g45q.js} +1 -1
- package/dist/chunks/{reference-sgpd7ym3.js → aisdk-native-dcyka471.js} +10 -10
- package/dist/chunks/{reference-n3wdcy6w.js → aisdk-native-ddx3tg71.js} +8 -8
- package/dist/chunks/{reference-5kptn8c0.js → aisdk-native-de6ej25a.js} +9 -9
- package/dist/chunks/{reference-bq8xzrzg.js → aisdk-native-dmzn8rnj.js} +15 -15
- package/dist/chunks/{reference-j1tww2gp.js → aisdk-native-dqeettna.js} +6 -6
- package/dist/chunks/{reference-wmbw81qg.js → aisdk-native-ehs15ag7.js} +81 -81
- package/dist/chunks/{reference-8pqq62t9.js → aisdk-native-endnnqxs.js} +25 -25
- package/dist/chunks/{reference-as4zy6vm.js → aisdk-native-eqv7r0bw.js} +6 -6
- package/dist/chunks/{reference-gsx0ryk4.js → aisdk-native-es1gkq3r.js} +9 -9
- package/dist/chunks/{reference-xhmq8qgk.js → aisdk-native-esj243wz.js} +9 -9
- package/dist/chunks/{reference-etq0c3wd.js → aisdk-native-etq0c3wd.js} +1 -1
- package/dist/chunks/{reference-hj92pwq6.js → aisdk-native-etq9z835.js} +2 -2
- package/dist/chunks/{reference-4s15yhyb.js → aisdk-native-f6ak1e64.js} +9 -9
- package/dist/chunks/{reference-f828m53h.js → aisdk-native-f828m53h.js} +2 -2
- package/dist/chunks/{reference-g6zhr88b.js → aisdk-native-ffrpxqex.js} +6 -6
- package/dist/chunks/{reference-a1p8sqe6.js → aisdk-native-fpdc70kx.js} +34 -34
- package/dist/chunks/{reference-ftm00p2b.js → aisdk-native-frq4anby.js} +1 -1
- package/dist/chunks/{reference-fxbjtjnd.js → aisdk-native-fxbjtjnd.js} +1 -1
- package/dist/chunks/{reference-adaj7ksj.js → aisdk-native-g2p0pajx.js} +7 -7
- package/dist/chunks/{reference-e46ah9gc.js → aisdk-native-g2rv2fyh.js} +12 -12
- package/dist/chunks/{reference-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
- package/dist/chunks/{reference-w3x9v1nk.js → aisdk-native-gdezgtpw.js} +8 -8
- package/dist/chunks/{reference-pfq1v9kt.js → aisdk-native-ge42nent.js} +24 -24
- package/dist/chunks/{reference-e7kd7gj5.js → aisdk-native-ggwj6z60.js} +3 -3
- package/dist/chunks/{reference-65ttwmv3.js → aisdk-native-gnt7qkvy.js} +19 -19
- package/dist/chunks/{reference-x7kn3ctb.js → aisdk-native-grb0zppa.js} +9 -9
- package/dist/chunks/{reference-th5km1p3.js → aisdk-native-gv6a8nnw.js} +5 -5
- package/dist/chunks/{reference-21bd5msc.js → aisdk-native-gyfvm20m.js} +6 -6
- package/dist/chunks/{reference-h03wrkyp.js → aisdk-native-h03wrkyp.js} +2 -2
- package/dist/chunks/{reference-4mkcvr19.js → aisdk-native-h0tbwxsz.js} +5 -5
- package/dist/chunks/{reference-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
- package/dist/chunks/{reference-9d1kp679.js → aisdk-native-h8y4akn6.js} +42 -42
- package/dist/chunks/{reference-j16zphk7.js → aisdk-native-hb5dnmpe.js} +30 -30
- package/dist/chunks/{reference-2k5ec76m.js → aisdk-native-hjvszae2.js} +46 -46
- package/dist/chunks/{reference-48ghgnyj.js → aisdk-native-hq4r64gz.js} +9 -9
- package/dist/chunks/{reference-w671fmtf.js → aisdk-native-j095904d.js} +47 -47
- package/dist/chunks/{reference-52zvc43d.js → aisdk-native-j4ahw5j0.js} +38 -38
- package/dist/chunks/{reference-j56e64zr.js → aisdk-native-j56e64zr.js} +1 -1
- package/dist/chunks/{reference-3j8sdtpz.js → aisdk-native-j83byb14.js} +4 -4
- package/dist/chunks/{reference-fj264fv9.js → aisdk-native-j8b596ce.js} +84 -84
- package/dist/chunks/{reference-nns6kj95.js → aisdk-native-jdhy1xny.js} +10 -10
- package/dist/chunks/{reference-e7g2pv1c.js → aisdk-native-jqfmg5zm.js} +13 -13
- package/dist/chunks/{reference-v7j335k4.js → aisdk-native-jzqf53p3.js} +30 -30
- package/dist/chunks/{reference-hn57h045.js → aisdk-native-k76fn4kw.js} +4 -4
- package/dist/chunks/{reference-mgw48z1b.js → aisdk-native-k9p70ear.js} +26 -26
- package/dist/chunks/{reference-8rpas02w.js → aisdk-native-kajrhwky.js} +22 -22
- package/dist/chunks/{reference-c7ecgrk6.js → aisdk-native-kcm1t3vd.js} +6 -6
- package/dist/chunks/{reference-kg06axw8.js → aisdk-native-kg06axw8.js} +1 -1
- package/dist/chunks/{reference-y0mcqq9w.js → aisdk-native-kx90taxp.js} +32 -32
- package/dist/chunks/{reference-v61v6jk6.js → aisdk-native-m0sg0veg.js} +17 -17
- package/dist/chunks/{reference-4grg7b1w.js → aisdk-native-m43qax21.js} +4 -4
- package/dist/chunks/{reference-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-rszxffrt.js → aisdk-native-metxp2ga.js} +171 -171
- package/dist/chunks/{reference-mkcjrzeh.js → aisdk-native-mkcjrzeh.js} +1 -1
- package/dist/chunks/{reference-kjz5gbca.js → aisdk-native-mkh51v61.js} +10 -10
- package/dist/chunks/{reference-0pr2t355.js → aisdk-native-mmpdb07a.js} +15 -15
- package/dist/chunks/{reference-z6nz13dk.js → aisdk-native-mmrtcvbs.js} +6 -6
- package/dist/chunks/{reference-xb3xm0py.js → aisdk-native-mtpwq99m.js} +16 -16
- package/dist/chunks/{reference-vqz1dqct.js → aisdk-native-n7nwk65p.js} +29 -29
- package/dist/chunks/{reference-g8xxs4tx.js → aisdk-native-nbzsj80d.js} +8 -8
- package/dist/chunks/{reference-j5208yae.js → aisdk-native-ndqtf2h8.js} +5 -5
- package/dist/chunks/{reference-4zrw1ey2.js → aisdk-native-nezeczvb.js} +2 -2
- package/dist/chunks/{reference-m9qjv7qq.js → aisdk-native-ngc3dwd3.js} +28 -28
- package/dist/chunks/{reference-ezmrpqv5.js → aisdk-native-nj0hhf0a.js} +21 -21
- package/dist/chunks/{reference-7mnn3rdt.js → aisdk-native-nsjg38bg.js} +3 -3
- package/dist/chunks/{reference-8q0rcqtv.js → aisdk-native-p32vx5nj.js} +17 -17
- package/dist/chunks/{reference-j935v87r.js → aisdk-native-paphc93g.js} +2 -2
- package/dist/chunks/{reference-13j5h6zk.js → aisdk-native-pfpegnfr.js} +13 -13
- package/dist/chunks/{reference-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
- package/dist/chunks/{reference-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{reference-fhjrrdjb.js → aisdk-native-ppxgv5fj.js} +22 -22
- package/dist/chunks/{reference-8jmaqybk.js → aisdk-native-pxt4kznk.js} +3 -3
- package/dist/chunks/{reference-ej085sj0.js → aisdk-native-q34fswvm.js} +4 -4
- package/dist/chunks/{reference-x3xe09d9.js → aisdk-native-q8vptsx5.js} +3 -3
- package/dist/chunks/aisdk-native-qapv375x.js +4 -0
- package/dist/chunks/{reference-vq6pkt6q.js → aisdk-native-qaqc0431.js} +8 -8
- package/dist/chunks/{reference-q9b7wkyy.js → aisdk-native-qfd4z8q7.js} +12 -12
- package/dist/chunks/{reference-1jjc8ex5.js → aisdk-native-qgta0bfy.js} +6 -6
- package/dist/chunks/{reference-e1nwe2td.js → aisdk-native-qmvtm768.js} +11 -11
- package/dist/chunks/{reference-29sw5btw.js → aisdk-native-qqt2c52w.js} +41 -41
- package/dist/chunks/{reference-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
- package/dist/chunks/{reference-hp02hwp4.js → aisdk-native-qyc88ndr.js} +13 -13
- package/dist/chunks/{reference-92yzrxcq.js → aisdk-native-r2xang35.js} +17 -17
- package/dist/chunks/{reference-yfxdtzm1.js → aisdk-native-r55am9hz.js} +22 -22
- package/dist/chunks/{reference-qs0ddh18.js → aisdk-native-r73eywwh.js} +30 -30
- package/dist/chunks/{reference-f2n192rq.js → aisdk-native-r8xr0va3.js} +4 -4
- package/dist/chunks/aisdk-native-rap9a73h.js +18 -0
- package/dist/chunks/{reference-5t7ms9mx.js → aisdk-native-rdmq4fky.js} +16 -16
- package/dist/chunks/{reference-gbt6w4kb.js → aisdk-native-rhjbct0v.js} +8 -8
- package/dist/chunks/{reference-qajrngy3.js → aisdk-native-rhpprnfp.js} +22 -22
- package/dist/chunks/{reference-f1my3kj4.js → aisdk-native-rm6nrfa8.js} +24 -24
- package/dist/chunks/{reference-ap8njz3k.js → aisdk-native-rmqfze55.js} +11 -11
- package/dist/chunks/{reference-qcvy1hs9.js → aisdk-native-rpbnx6sk.js} +9 -9
- package/dist/chunks/{reference-7yqjxrmz.js → aisdk-native-rph3zd4r.js} +6 -6
- package/dist/chunks/{reference-verxd6cc.js → aisdk-native-rv9dg3rs.js} +7 -7
- package/dist/chunks/{reference-sfddxscf.js → aisdk-native-s81n4662.js} +33 -33
- package/dist/chunks/{reference-aykdxbsk.js → aisdk-native-shh4xgvr.js} +11 -11
- package/dist/chunks/{reference-3c1tgrea.js → aisdk-native-shrpy2d8.js} +6 -6
- package/dist/chunks/{reference-1f0ahqzp.js → aisdk-native-shrrwpmm.js} +16 -16
- package/dist/chunks/{reference-0akhmw49.js → aisdk-native-t5e051d6.js} +5 -5
- package/dist/chunks/{reference-yx9d5yhn.js → aisdk-native-t5q8n7gx.js} +18 -18
- package/dist/chunks/{reference-efq5tq4f.js → aisdk-native-tasakq3c.js} +20 -20
- package/dist/chunks/{reference-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
- package/dist/chunks/{reference-tcezcvh9.js → aisdk-native-tcezcvh9.js} +1 -1
- package/dist/chunks/{reference-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
- package/dist/chunks/{reference-k1endqwm.js → aisdk-native-th7e35kw.js} +12 -12
- package/dist/chunks/{reference-fmxx1bts.js → aisdk-native-tmkmtmy2.js} +24 -24
- package/dist/chunks/{reference-2f0bjgcj.js → aisdk-native-tn0aqsam.js} +5 -5
- package/dist/chunks/{reference-7b2pfzf8.js → aisdk-native-tp41d6ea.js} +19 -19
- package/dist/chunks/{reference-tvtrv512.js → aisdk-native-tvtrv512.js} +1 -1
- package/dist/chunks/{reference-6dg7rqxz.js → aisdk-native-txpenqw4.js} +17 -17
- package/dist/chunks/{reference-qfhza6js.js → aisdk-native-v8g0avwf.js} +11 -11
- package/dist/chunks/{reference-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
- package/dist/chunks/{reference-234ap6ss.js → aisdk-native-vh3bzc0p.js} +15 -15
- package/dist/chunks/{reference-5nsrms9d.js → aisdk-native-vpzsjchp.js} +1 -1
- package/dist/chunks/{reference-0n9gyfew.js → aisdk-native-vws9a07p.js} +4 -4
- package/dist/chunks/{reference-vzcthcp8.js → aisdk-native-vzcthcp8.js} +1 -1
- package/dist/chunks/{reference-hbhmt5dn.js → aisdk-native-w0fjdera.js} +5 -5
- package/dist/chunks/{reference-zjnwhdhy.js → aisdk-native-w3v6txvh.js} +32 -32
- package/dist/chunks/{reference-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-z1f4gy9p.js → aisdk-native-wa9n8nyq.js} +6 -6
- package/dist/chunks/{reference-675rgbk8.js → aisdk-native-wccdv81r.js} +41 -41
- package/dist/chunks/{reference-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{reference-vh99d6cz.js → aisdk-native-whxvmsde.js} +11 -11
- package/dist/chunks/{reference-y19r4g5g.js → aisdk-native-wkdbj8v0.js} +10 -10
- package/dist/chunks/{reference-en74w496.js → aisdk-native-wkz1g29p.js} +5 -5
- package/dist/chunks/{reference-smq0r06k.js → aisdk-native-wmxcz8ym.js} +63 -63
- package/dist/chunks/{reference-j5vg7gm1.js → aisdk-native-wsq1h1b3.js} +29 -29
- package/dist/chunks/{reference-zvg6wpm3.js → aisdk-native-wtsb234j.js} +33 -33
- package/dist/chunks/{reference-zzd7tndm.js → aisdk-native-ww06yvfh.js} +2 -2
- package/dist/chunks/{reference-a291bara.js → aisdk-native-wx9t8an0.js} +8 -8
- package/dist/chunks/{reference-x1ezjp6w.js → aisdk-native-x1ezjp6w.js} +1 -1
- package/dist/chunks/{reference-x43y2vfs.js → aisdk-native-x43y2vfs.js} +2 -2
- package/dist/chunks/{reference-qjwymapa.js → aisdk-native-xca3qqsm.js} +25 -25
- package/dist/chunks/{reference-zsy896rw.js → aisdk-native-xcptvh4t.js} +10 -10
- package/dist/chunks/{reference-y98pmm57.js → aisdk-native-xkyj2kk0.js} +15 -15
- package/dist/chunks/{reference-sjqcgh4k.js → aisdk-native-xvs6y39b.js} +8 -8
- package/dist/chunks/{reference-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
- package/dist/chunks/{reference-qnyc9adz.js → aisdk-native-y6rwf8rz.js} +27 -27
- package/dist/chunks/{reference-y71avatq.js → aisdk-native-y71avatq.js} +1 -1
- package/dist/chunks/{reference-fd0t6sve.js → aisdk-native-yarrm8g9.js} +30 -30
- package/dist/chunks/{reference-zxwpk2nb.js → aisdk-native-yhx6yaab.js} +1 -1
- package/dist/chunks/{reference-jtefztwj.js → aisdk-native-yke9jmby.js} +4 -4
- package/dist/chunks/{reference-yrhqyw5v.js → aisdk-native-yrhqyw5v.js} +1 -1
- package/dist/chunks/{reference-s4enseaf.js → aisdk-native-yrznvahk.js} +2 -2
- package/dist/chunks/{reference-gf18h3v3.js → aisdk-native-yxsndrzp.js} +12 -12
- package/dist/chunks/{reference-3j6hn5pg.js → aisdk-native-yyekmh7z.js} +24 -24
- package/dist/chunks/{reference-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
- package/dist/chunks/{reference-29x78va6.js → aisdk-native-z63w68vq.js} +6 -6
- package/dist/chunks/{reference-cvaa60g2.js → aisdk-native-zdkvr0ec.js} +14 -14
- package/dist/chunks/{reference-zeh9ct20.js → aisdk-native-zeh9ct20.js} +2 -2
- package/dist/chunks/{reference-r4avt07e.js → aisdk-native-zj4vxcmy.js} +27 -27
- package/dist/chunks/{reference-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
- package/dist/chunks/{reference-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +68 -68
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +89 -89
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- 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 +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +73 -73
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +84 -84
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/reference-0mesazry.js +0 -4
- package/dist/chunks/reference-9zdhvgqs.js +0 -18
- package/dist/chunks/reference-m71yds50.js +0 -247
- package/dist/chunks/reference-y4xp3h88.js +0 -462
- /package/dist/chunks/{reference-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3w5fmr99.js → aisdk-native-3w5fmr99.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-922hggd3.js → aisdk-native-922hggd3.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hjbc5kem.js → aisdk-native-hjbc5kem.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-hrnqkpcd.js → aisdk-native-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-sk3qaz4a.js → aisdk-native-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-twg0f83k.js → aisdk-native-twg0f83k.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/git.ts
|
|
13
13
|
var exports_git3 = {};
|
|
@@ -15,11 +15,11 @@ __export(exports_git3, {
|
|
|
15
15
|
Git: () => exports_git3,
|
|
16
16
|
OperationError: () => OperationError3,
|
|
17
17
|
Repository: () => Repository2,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service71,
|
|
19
19
|
TreeID: () => TreeID2,
|
|
20
20
|
Worktree: () => Worktree2,
|
|
21
21
|
WorktreeError: () => WorktreeError2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node75
|
|
23
23
|
});
|
|
24
24
|
import path from "path";
|
|
25
25
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -85,9 +85,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
class
|
|
88
|
+
class Service71 extends Context.Service()("@opencode/Git") {
|
|
89
89
|
}
|
|
90
|
-
var layer = Layer.effect(
|
|
90
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
91
91
|
const fs = yield* FSUtil.Service;
|
|
92
92
|
const proc = yield* AppProcess.Service;
|
|
93
93
|
const locks = makeUnsafe2();
|
|
@@ -409,7 +409,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
409
409
|
kind: index === 0 ? "main" : "linked"
|
|
410
410
|
}));
|
|
411
411
|
});
|
|
412
|
-
return
|
|
412
|
+
return Service71.of({
|
|
413
413
|
repo: { discover, clone, create },
|
|
414
414
|
remote: { get: remote },
|
|
415
415
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -425,7 +425,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
425
425
|
}
|
|
426
426
|
});
|
|
427
427
|
}));
|
|
428
|
-
var
|
|
428
|
+
var node75 = makeGlobalNode({ service: Service71, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
429
429
|
function run(cwd, proc, args) {
|
|
430
430
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
431
431
|
}
|
|
@@ -450,4 +450,4 @@ function resolvePath(cwd, value) {
|
|
|
450
450
|
return path.resolve(cwd, normalized);
|
|
451
451
|
}
|
|
452
452
|
|
|
453
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
453
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service71, node75, exports_git3 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./aisdk-native-116x79rh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service41
|
|
9
|
+
} from "./aisdk-native-02g4pwgw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service15
|
|
12
|
+
} from "./aisdk-native-h8y4akn6.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin16
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin16 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service41;
|
|
34
|
+
const location = yield* Service64;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service15;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin13 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin16, exports_worktree };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-r55am9hz.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -57,7 +57,7 @@ function parse2(directory, filepath, content) {
|
|
|
57
57
|
return {
|
|
58
58
|
_tag: "Parsed",
|
|
59
59
|
skill: {
|
|
60
|
-
id:
|
|
60
|
+
id: ID4.make(id),
|
|
61
61
|
name: Name2.make(frontmatter.name ?? id),
|
|
62
62
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
63
63
|
...slash === undefined ? {} : { slash },
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-ggwj6z60.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-q34fswvm.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service54
|
|
9
|
+
} from "./aisdk-native-shrpy2d8.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-922hggd3.js";
|
|
13
13
|
import {
|
|
14
14
|
ID5,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service37
|
|
16
|
+
} from "./aisdk-native-wsq1h1b3.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./aisdk-native-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./aisdk-native-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./aisdk-native-c769d21z.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./aisdk-native-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,11 +42,11 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service54;
|
|
46
46
|
const database = yield* Service80;
|
|
47
47
|
const bus = yield* Service79;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
49
|
+
const snapshot = yield* Service37;
|
|
50
50
|
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
@@ -74,10 +74,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service54;
|
|
78
78
|
const bus = yield* Service79;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service37;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
83
|
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-q34fswvm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service34,
|
|
7
|
+
node38
|
|
8
|
+
} from "./aisdk-native-5s6kd9sj.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service55,
|
|
11
|
+
node59
|
|
12
|
+
} from "./aisdk-native-20pevkd1.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service66,
|
|
15
|
+
node70
|
|
16
|
+
} from "./aisdk-native-1xj7vtnj.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service26,
|
|
26
|
+
layer: () => layer12,
|
|
27
|
+
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node31
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service26 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer12 = Layer.effect(Service26, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service34;
|
|
42
|
+
const tools = yield* Service66;
|
|
43
43
|
const bus = yield* Service79;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service55;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -62,7 +62,7 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
62
62
|
output: tool.outputSchema ?? {},
|
|
63
63
|
execute: (input, context) => Effect.gen(function* () {
|
|
64
64
|
yield* permission.assert({
|
|
65
|
-
action:
|
|
65
|
+
action: name13(tool.server, tool.name),
|
|
66
66
|
resources: ["*"],
|
|
67
67
|
save: ["*"],
|
|
68
68
|
metadata: {},
|
|
@@ -99,7 +99,7 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
99
99
|
output: result.structured ?? (text === "" ? null : text),
|
|
100
100
|
...content.length === 0 ? {} : { content }
|
|
101
101
|
};
|
|
102
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
102
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
|
|
103
103
|
});
|
|
104
104
|
}
|
|
105
105
|
});
|
|
@@ -112,12 +112,12 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
112
112
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
113
113
|
const updates = yield* PubSub.subscribe(changes);
|
|
114
114
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
115
|
-
return
|
|
115
|
+
return Service26.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
116
116
|
}));
|
|
117
|
-
var
|
|
118
|
-
service:
|
|
119
|
-
layer:
|
|
120
|
-
deps: [
|
|
117
|
+
var node31 = makeLocationNode({
|
|
118
|
+
service: Service26,
|
|
119
|
+
layer: layer12,
|
|
120
|
+
deps: [node70, node38, node84, node59]
|
|
121
121
|
});
|
|
122
122
|
|
|
123
|
-
export { namespace2,
|
|
123
|
+
export { namespace2, name13, Service26, layer12, node31, exports_mcp3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info14
|
|
6
|
+
} from "./aisdk-native-50mzsvk4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info13
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info14)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info13 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info13, exports_agent3 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
6
|
var exports_formatter3 = {};
|
|
7
7
|
__export(exports_formatter3, {
|
|
8
8
|
ConfigFormatterV1: () => exports_formatter3,
|
|
9
|
-
Entry: () =>
|
|
9
|
+
Entry: () => Entry4,
|
|
10
10
|
Info: () => Info16
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
13
|
+
var Entry4 = Schema.Struct({
|
|
14
14
|
disabled: Schema.optional(Schema.Boolean),
|
|
15
15
|
command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var Info16 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String,
|
|
19
|
+
var Info16 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Entry4, Info16, exports_formatter3 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-kcm1t3vd.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/aisdk-native.ts
|
|
10
10
|
var exports_aisdk_native = {};
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./aisdk-native-20pevkd1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID4,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service35
|
|
10
|
+
} from "./aisdk-native-r55am9hz.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill = {};
|
|
17
|
+
__export(exports_skill, {
|
|
18
|
+
Input: () => Input5,
|
|
19
|
+
Output: () => Output4,
|
|
20
|
+
Plugin: () => Plugin5,
|
|
21
|
+
SkillTool: () => exports_skill,
|
|
22
|
+
description: () => description3,
|
|
23
|
+
name: () => name5,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name5 = "skill";
|
|
30
|
+
var Input5 = Schema.Struct({
|
|
31
|
+
id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output4 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description3 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description4 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin5 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service35;
|
|
51
|
+
const permission = yield* Service55;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name5,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description3,
|
|
56
|
+
input: Input5,
|
|
57
|
+
output: Output4,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name5,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin26 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name5, Input5, Output4, description3, toModelOutput2, Plugin5, exports_skill };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service64,
|
|
7
|
+
node68
|
|
8
|
+
} from "./aisdk-native-116x79rh.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service20,
|
|
11
|
+
node24
|
|
12
|
+
} from "./aisdk-native-r73eywwh.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
@@ -21,7 +21,7 @@ __export(exports_filesystem, {
|
|
|
21
21
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
22
22
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
23
23
|
Entry: () => Entry2,
|
|
24
|
-
Event: () =>
|
|
24
|
+
Event: () => Event6,
|
|
25
25
|
FileSystem: () => exports_filesystem,
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
@@ -29,9 +29,9 @@ __export(exports_filesystem, {
|
|
|
29
29
|
ListInput: () => ListInput2,
|
|
30
30
|
Match: () => Match2,
|
|
31
31
|
ReadInput: () => ReadInput2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service19,
|
|
33
33
|
Submatch: () => Submatch2,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node23
|
|
35
35
|
});
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
37
37
|
import path from "path";
|
|
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
72
72
|
limit: Schema.optionalKey(PositiveInt2)
|
|
73
73
|
}) {
|
|
74
74
|
}
|
|
75
|
-
var
|
|
75
|
+
var Event6 = FileSystem.Event;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service19 extends Context.Service()("@opencode/FileSystem") {
|
|
78
78
|
}
|
|
79
|
-
var baseLayer = Layer.effect(
|
|
79
|
+
var baseLayer = Layer.effect(Service19, Effect.gen(function* () {
|
|
80
80
|
const fs = yield* FSUtil.Service;
|
|
81
|
-
const location = yield*
|
|
82
|
-
const search = yield*
|
|
81
|
+
const location = yield* Service64;
|
|
82
|
+
const search = yield* Service20;
|
|
83
83
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
84
84
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
85
85
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
90
90
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
91
91
|
return { absolute, real, directory: location.directory };
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service19.of({
|
|
94
94
|
find: search.find,
|
|
95
95
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
96
96
|
const target = yield* resolve(input.path);
|
|
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
124
|
}));
|
|
125
|
-
var
|
|
126
|
-
service:
|
|
125
|
+
var node23 = makeLocationNode({
|
|
126
|
+
service: Service19,
|
|
127
127
|
layer: baseLayer,
|
|
128
|
-
deps: [FSUtil.node,
|
|
128
|
+
deps: [FSUtil.node, node68, node24]
|
|
129
129
|
});
|
|
130
130
|
|
|
131
|
-
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2,
|
|
131
|
+
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event6, Service19, node23, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-c951tkze.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-frq4anby.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|