@opencode/core 0.0.0-dev-20250 → 0.0.0-dev-20256
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{tool-b8mzk2bb.js → aisdk-02y2a9xg.js} +2 -2
- package/dist/chunks/{tool-34er3540.js → aisdk-045msxws.js} +29 -29
- package/dist/chunks/{tool-zh4jp52e.js → aisdk-046kce9e.js} +22 -22
- package/dist/chunks/{tool-6hjx5zpb.js → aisdk-0996nyz8.js} +5 -5
- package/dist/chunks/{tool-v7z2bvyd.js → aisdk-0br3sbwn.js} +4 -4
- package/dist/chunks/{tool-482tjr68.js → aisdk-0byhtdew.js} +3 -3
- package/dist/chunks/{tool-sx3y5fj3.js → aisdk-0cv45488.js} +23 -23
- package/dist/chunks/{tool-yhrvzzm5.js → aisdk-0m4243s0.js} +9 -9
- package/dist/chunks/{tool-bfz40jc4.js → aisdk-0mvrhkyt.js} +25 -25
- package/dist/chunks/{tool-0paq2nw3.js → aisdk-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-4gy81ws5.js → aisdk-0pavs2p4.js} +23 -23
- package/dist/chunks/{tool-2r0dzprv.js → aisdk-0qze0aqz.js} +7 -7
- package/dist/chunks/{tool-sm965ndy.js → aisdk-0tzy42a9.js} +8 -8
- package/dist/chunks/{tool-rvnp213s.js → aisdk-0w33wecb.js} +13 -13
- package/dist/chunks/{tool-qt4m2w6j.js → aisdk-182dr9rt.js} +14 -14
- package/dist/chunks/{tool-1dazxqgg.js → aisdk-1dazxqgg.js} +2 -2
- package/dist/chunks/{tool-hrrvjwek.js → aisdk-1fmq3znq.js} +25 -25
- package/dist/chunks/{tool-67kma7bn.js → aisdk-1r5wma42.js} +10 -10
- package/dist/chunks/{tool-yde4rd9n.js → aisdk-1vmmb2v8.js} +47 -47
- package/dist/chunks/{tool-vgc515rw.js → aisdk-1w9ezc4a.js} +11 -11
- package/dist/chunks/{tool-1ygqh575.js → aisdk-1ygqh575.js} +2 -2
- package/dist/chunks/{tool-21r38tys.js → aisdk-21r38tys.js} +1 -1
- package/dist/chunks/{tool-k2pkt5dm.js → aisdk-270qpgxf.js} +5 -5
- package/dist/chunks/{tool-2a5m3afh.js → aisdk-2a5m3afh.js} +1 -1
- package/dist/chunks/{tool-fcv60zmd.js → aisdk-2dxzzdm9.js} +18 -18
- package/dist/chunks/{tool-c0pp0gx6.js → aisdk-2gzj9kj5.js} +9 -9
- package/dist/chunks/{tool-j59psk5p.js → aisdk-2nq500x2.js} +10 -10
- package/dist/chunks/{tool-nrfagrkx.js → aisdk-2qdztw1g.js} +3 -3
- package/dist/chunks/{tool-ymxbe15q.js → aisdk-349f6n3h.js} +9 -9
- package/dist/chunks/{tool-1rtbc53y.js → aisdk-394617td.js} +1 -1
- package/dist/chunks/{tool-3fc6dm20.js → aisdk-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-3hepkmqq.js → aisdk-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-j15mfg1p.js → aisdk-3k6sfp50.js} +6 -6
- package/dist/chunks/{tool-z6zc42bw.js → aisdk-3m4atzyv.js} +53 -53
- package/dist/chunks/{tool-3smtnn6g.js → aisdk-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-228xbxgc.js → aisdk-3sye6dmk.js} +13 -13
- package/dist/chunks/{tool-3tvqynh2.js → aisdk-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-jeknfs5c.js → aisdk-3w0fmcng.js} +5 -5
- package/dist/chunks/{tool-3zsf4n22.js → aisdk-3zsf4n22.js} +1 -1
- package/dist/chunks/{tool-7kn0n9pm.js → aisdk-499m5pkh.js} +5 -5
- package/dist/chunks/{tool-z35gvgt2.js → aisdk-49dt11pw.js} +26 -26
- package/dist/chunks/{tool-hq93snkq.js → aisdk-49svar8j.js} +26 -26
- package/dist/chunks/{tool-r3tsythc.js → aisdk-4her2v12.js} +11 -11
- package/dist/chunks/{tool-xb3vdrw4.js → aisdk-4j3f3fxy.js} +9 -9
- package/dist/chunks/{tool-f29mbr7f.js → aisdk-4j4tgtq5.js} +4 -4
- package/dist/chunks/{tool-mxw2n1pp.js → aisdk-4qabh746.js} +25 -25
- package/dist/chunks/{tool-f8rqg7d1.js → aisdk-4qwdvbmq.js} +3 -3
- package/dist/chunks/{tool-zfn0z4x2.js → aisdk-4wexvyjy.js} +13 -13
- package/dist/chunks/{tool-ymc24fzh.js → aisdk-4z54v0t9.js} +16 -16
- package/dist/chunks/{tool-0t6cxkbd.js → aisdk-52zk98qq.js} +32 -32
- package/dist/chunks/{tool-t0v30r21.js → aisdk-55g7bsvt.js} +32 -32
- package/dist/chunks/{tool-yw2sxgfv.js → aisdk-55g93apm.js} +6 -6
- package/dist/chunks/{tool-vkt5fbj2.js → aisdk-56m60q16.js} +8 -8
- package/dist/chunks/{tool-d9s573fh.js → aisdk-57ez7d0k.js} +2 -2
- package/dist/chunks/{tool-xsdq6bqp.js → aisdk-57y3gjg2.js} +8 -8
- package/dist/chunks/{tool-dnn8jac4.js → aisdk-5a8h8ctf.js} +35 -35
- package/dist/chunks/{tool-5daktx2q.js → aisdk-5daktx2q.js} +1 -1
- package/dist/chunks/{tool-tscedkbb.js → aisdk-5smv69nk.js} +22 -22
- package/dist/chunks/{tool-5t3nmthw.js → aisdk-5t3nmthw.js} +2 -2
- package/dist/chunks/{tool-h7yw06f0.js → aisdk-5v50a7xx.js} +4 -4
- package/dist/chunks/{tool-esdbr59h.js → aisdk-5wm7c1zs.js} +8 -8
- package/dist/chunks/{tool-2756h3zt.js → aisdk-63153s7y.js} +20 -20
- package/dist/chunks/{tool-5g3whhj5.js → aisdk-663rft7j.js} +11 -11
- package/dist/chunks/{tool-669tq793.js → aisdk-669tq793.js} +1 -1
- package/dist/chunks/{tool-4qn8cb3g.js → aisdk-676mk4pm.js} +37 -37
- package/dist/chunks/{tool-x9k16b3s.js → aisdk-68nwcgwh.js} +35 -35
- package/dist/chunks/{tool-mbsehe5v.js → aisdk-6bmgfwc8.js} +16 -16
- package/dist/chunks/{tool-gvf9bzs6.js → aisdk-6dpq57k2.js} +33 -33
- package/dist/chunks/{tool-t8fp8shj.js → aisdk-6fwq4dqz.js} +8 -8
- package/dist/chunks/{tool-qm0v3jhh.js → aisdk-6hh8tjw2.js} +7 -7
- package/dist/chunks/{tool-6msgmcgs.js → aisdk-6msgmcgs.js} +1 -1
- package/dist/chunks/{tool-8sze2n9a.js → aisdk-6pc27hjz.js} +2 -2
- package/dist/chunks/{tool-73tb2d7t.js → aisdk-73tb2d7t.js} +1 -1
- package/dist/chunks/{tool-st6ezctj.js → aisdk-76z31epj.js} +24 -24
- package/dist/chunks/{tool-7bmhse3q.js → aisdk-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-w9eep941.js → aisdk-7ccy6710.js} +12 -12
- package/dist/chunks/{tool-9x77fmbz.js → aisdk-7cdat2nm.js} +4 -4
- package/dist/chunks/{tool-6s622yr1.js → aisdk-7cjd7khd.js} +12 -12
- package/dist/chunks/{tool-0tdgw0ar.js → aisdk-7f83tr8w.js} +12 -12
- package/dist/chunks/{tool-f07bsgse.js → aisdk-7kcvsn3b.js} +18 -18
- package/dist/chunks/{tool-n26b57vp.js → aisdk-7nd1169e.js} +15 -15
- package/dist/chunks/{tool-b9skyj6x.js → aisdk-7v9mzd9j.js} +43 -43
- package/dist/chunks/{tool-crmtq7c0.js → aisdk-7yxfz471.js} +20 -20
- package/dist/chunks/{tool-ss7b6637.js → aisdk-800mfp3c.js} +14 -14
- package/dist/chunks/{tool-tcezcvh9.js → aisdk-89znhe33.js} +4 -4
- package/dist/chunks/{tool-8d7r5vzw.js → aisdk-8d7r5vzw.js} +1 -1
- package/dist/chunks/{tool-v9azycg2.js → aisdk-8fm8ppq3.js} +150 -150
- package/dist/chunks/{tool-sp6nzby6.js → aisdk-8fqgctrg.js} +17 -17
- package/dist/chunks/{tool-rrkxh1xc.js → aisdk-8qh6anns.js} +8 -8
- package/dist/chunks/{tool-y42b8cv2.js → aisdk-8s0e1fjd.js} +50 -50
- package/dist/chunks/{tool-3zf7ee43.js → aisdk-8svjx7h2.js} +3 -3
- package/dist/chunks/{tool-fz3j06zq.js → aisdk-8xgx7xvf.js} +10 -10
- package/dist/chunks/{tool-tf5z8ds5.js → aisdk-8xvfz31x.js} +89 -89
- package/dist/chunks/{tool-gfvb90ym.js → aisdk-94ek1h2f.js} +2 -2
- package/dist/chunks/{tool-jr28mrxh.js → aisdk-99mr7wdx.js} +24 -24
- package/dist/chunks/{tool-jdvtaw2e.js → aisdk-9fe766st.js} +20 -20
- package/dist/chunks/{tool-ff0svapt.js → aisdk-9kmbd9mt.js} +2 -2
- package/dist/chunks/{tool-s8r7tdep.js → aisdk-a3x8dc07.js} +17 -17
- package/dist/chunks/{tool-n8j3kf0h.js → aisdk-a8ze81rj.js} +6 -6
- package/dist/chunks/{tool-aaet6srn.js → aisdk-aaet6srn.js} +2 -2
- package/dist/chunks/aisdk-ad2cdf3a.js +252 -0
- package/dist/chunks/{tool-mbevs47a.js → aisdk-ae5xckma.js} +8 -8
- package/dist/chunks/{tool-44g9bvrf.js → aisdk-ajq3aykw.js} +21 -21
- package/dist/chunks/{tool-x0jb1jdp.js → aisdk-akhznfh4.js} +60 -60
- package/dist/chunks/{tool-nb8f0xyk.js → aisdk-as4rg0ma.js} +37 -37
- package/dist/chunks/{tool-7s6gk46a.js → aisdk-axa5krkd.js} +4 -4
- package/dist/chunks/{tool-zppcctbg.js → aisdk-az7dzcjk.js} +20 -20
- package/dist/chunks/{tool-d5e4twxw.js → aisdk-b4h37xk4.js} +13 -13
- package/dist/chunks/{tool-b6gygkdw.js → aisdk-b6gygkdw.js} +2 -2
- package/dist/chunks/{tool-339g4gdd.js → aisdk-bencpdpj.js} +28 -28
- package/dist/chunks/{tool-fy2gbg5p.js → aisdk-bfq87az1.js} +28 -28
- package/dist/chunks/{tool-g18xrwnx.js → aisdk-bk8zh60f.js} +15 -15
- package/dist/chunks/{tool-zab19jja.js → aisdk-bkxyw0dr.js} +9 -9
- package/dist/chunks/{tool-zq0me3ea.js → aisdk-bs9yp185.js} +8 -8
- package/dist/chunks/{tool-czkrkmgx.js → aisdk-btvey9wz.js} +19 -19
- package/dist/chunks/{tool-at1kfnmk.js → aisdk-c27esgm9.js} +8 -8
- package/dist/chunks/{tool-kvny42nn.js → aisdk-c61j08ve.js} +26 -26
- package/dist/chunks/{tool-8qmd1pgy.js → aisdk-ccrnt3wf.js} +32 -32
- package/dist/chunks/{tool-54tcyq79.js → aisdk-ckecvw8r.js} +2 -2
- package/dist/chunks/{tool-9hn6k4tm.js → aisdk-cmwkp3r5.js} +8 -8
- package/dist/chunks/{tool-0rban3yw.js → aisdk-crdp3k4d.js} +13 -13
- package/dist/chunks/{tool-azhaj76f.js → aisdk-ctcghnt9.js} +8 -8
- package/dist/chunks/{tool-2sejkfem.js → aisdk-cwa6csj7.js} +9 -9
- package/dist/chunks/{tool-bdnxdzhr.js → aisdk-cyp1whvh.js} +20 -20
- package/dist/chunks/{tool-evbd4bna.js → aisdk-czdg5ncj.js} +4 -4
- package/dist/chunks/{tool-mx9vqzsb.js → aisdk-d1mtykxg.js} +6 -6
- package/dist/chunks/{tool-xh1mjdjn.js → aisdk-d9bxpwh9.js} +11 -11
- package/dist/chunks/{tool-38wrebp5.js → aisdk-daex0s89.js} +39 -39
- package/dist/chunks/{tool-bt1rrqjq.js → aisdk-db5a8hv2.js} +9 -9
- package/dist/chunks/{tool-kne8f3cn.js → aisdk-ddt2bs9e.js} +4 -4
- package/dist/chunks/{tool-2f56s268.js → aisdk-dfdarkbv.js} +26 -26
- package/dist/chunks/{tool-cf1mja65.js → aisdk-dgnk288q.js} +18 -18
- package/dist/chunks/{tool-qk7cxx71.js → aisdk-dm7jexpd.js} +1 -1
- package/dist/chunks/{tool-tgcnk5sw.js → aisdk-dq0v80fr.js} +5 -5
- package/dist/chunks/{tool-xfkkasph.js → aisdk-drwq78ky.js} +4 -4
- package/dist/chunks/{tool-nz49d44e.js → aisdk-dsynjm4b.js} +7 -7
- package/dist/chunks/{tool-qrvqqxe1.js → aisdk-e4vfrr4m.js} +6 -6
- package/dist/chunks/{tool-ph842b28.js → aisdk-eahhehpg.js} +4 -4
- package/dist/chunks/{tool-ecfe7b91.js → aisdk-ecfe7b91.js} +2 -2
- package/dist/chunks/{tool-ef5x83kb.js → aisdk-ef5x83kb.js} +1 -1
- package/dist/chunks/{tool-qgn6gcr1.js → aisdk-esafk7q3.js} +5 -5
- package/dist/chunks/{tool-etq0c3wd.js → aisdk-etq0c3wd.js} +1 -1
- package/dist/chunks/{tool-8grz10yw.js → aisdk-exx9rc7s.js} +15 -15
- package/dist/chunks/{tool-gzgv62vm.js → aisdk-f05xsng2.js} +22 -22
- package/dist/chunks/{tool-3m8mva6z.js → aisdk-f1mb3w2p.js} +20 -20
- package/dist/chunks/{tool-hvcfnpzs.js → aisdk-fc1g3vk8.js} +15 -15
- package/dist/chunks/{tool-5q9n4mzc.js → aisdk-fcd91b3z.js} +14 -14
- package/dist/chunks/{tool-5t1f4rw7.js → aisdk-fhnmn8wf.js} +48 -48
- package/dist/chunks/{tool-ab800qgh.js → aisdk-fy36m1d4.js} +29 -29
- package/dist/chunks/{tool-x0a0yekz.js → aisdk-g0a0731h.js} +31 -31
- package/dist/chunks/{tool-a8bn8zg0.js → aisdk-g190xswt.js} +4 -4
- package/dist/chunks/{tool-s61zg2sx.js → aisdk-g808avxm.js} +32 -32
- package/dist/chunks/{tool-rkg3eda0.js → aisdk-gcb0pgp4.js} +6 -6
- package/dist/chunks/{tool-gd4qta3r.js → aisdk-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-nap39a15.js → aisdk-gpk600j1.js} +11 -11
- package/dist/chunks/{tool-yyb7tjpc.js → aisdk-gv6a8nnw.js} +2 -2
- package/dist/chunks/{tool-h6r3nrb9.js → aisdk-h6r3nrb9.js} +1 -1
- package/dist/chunks/{tool-h6vf3j39.js → aisdk-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-rk1r2hx8.js → aisdk-hd8vw2pw.js} +1 -1
- package/dist/chunks/{tool-tw1518mg.js → aisdk-hksdfjn2.js} +32 -32
- package/dist/chunks/{tool-089t50vm.js → aisdk-hn0pq7g1.js} +23 -23
- package/dist/chunks/{tool-k7j7s7sa.js → aisdk-hr8by5jr.js} +4 -4
- package/dist/chunks/{tool-hmwat8vc.js → aisdk-hv5re2jg.js} +8 -8
- package/dist/chunks/{tool-24ajxhwn.js → aisdk-hvmyt62c.js} +16 -16
- package/dist/chunks/{tool-jtcj11mm.js → aisdk-hz3pjvd6.js} +6 -6
- package/dist/chunks/{tool-j45tg8np.js → aisdk-hz8vg8zp.js} +33 -33
- package/dist/chunks/{tool-m096yd83.js → aisdk-j4r9v230.js} +8 -8
- package/dist/chunks/{tool-j56e64zr.js → aisdk-j56e64zr.js} +1 -1
- package/dist/chunks/{tool-sx1n432n.js → aisdk-j83byb14.js} +4 -4
- package/dist/chunks/{tool-hm0ghfbf.js → aisdk-jbm4dns3.js} +17 -17
- package/dist/chunks/{tool-mdyteabe.js → aisdk-jqf6twm8.js} +11 -11
- package/dist/chunks/{tool-en84zv0j.js → aisdk-jskknkd1.js} +10 -10
- package/dist/chunks/{tool-nzks3jc8.js → aisdk-k3c624dm.js} +3 -3
- package/dist/chunks/{tool-wr45tetb.js → aisdk-kkzkpgbp.js} +15 -15
- package/dist/chunks/{tool-bgyet4nh.js → aisdk-kqat4kfa.js} +26 -26
- package/dist/chunks/{tool-mpyxb9wp.js → aisdk-kvcyjew8.js} +13 -13
- package/dist/chunks/{tool-na49kjq7.js → aisdk-m2td0v2g.js} +13 -13
- package/dist/chunks/{tool-m3fdjcah.js → aisdk-m3fdjcah.js} +1 -1
- package/dist/chunks/{tool-m9w0rfyh.js → aisdk-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-5595mwca.js → aisdk-ma7v7n5g.js} +76 -76
- package/dist/chunks/{tool-6jz68697.js → aisdk-majyh6z0.js} +24 -24
- package/dist/chunks/{tool-6bsje7ws.js → aisdk-mf9m2v67.js} +3 -3
- package/dist/chunks/{tool-gxf934mz.js → aisdk-mfxxky5h.js} +14 -14
- package/dist/chunks/{tool-nz4rjcy7.js → aisdk-ms69wjh7.js} +1 -1
- package/dist/chunks/{tool-b0vhkd8y.js → aisdk-mvksx64m.js} +4 -4
- package/dist/chunks/{tool-wegenthg.js → aisdk-my9p806h.js} +10 -10
- package/dist/chunks/{tool-3kzfkvq2.js → aisdk-n33bf5vn.js} +11 -11
- package/dist/chunks/{tool-9wey92tn.js → aisdk-n3se9ktf.js} +20 -20
- package/dist/chunks/{tool-572k1pdw.js → aisdk-n8dq3ec0.js} +41 -41
- package/dist/chunks/{tool-tped05vh.js → aisdk-n9pha4qt.js} +10 -10
- package/dist/chunks/{tool-bf7nh1j5.js → aisdk-ncnrdk5t.js} +35 -35
- package/dist/chunks/{tool-s0k7kba5.js → aisdk-nfcr1yw4.js} +8 -8
- package/dist/chunks/aisdk-nmamyr0m.js +26 -0
- package/dist/chunks/{tool-snak5hvk.js → aisdk-ns0x2tka.js} +3 -3
- package/dist/chunks/{tool-2844q2j5.js → aisdk-p1751c20.js} +3 -3
- package/dist/chunks/{tool-z2zvggat.js → aisdk-p44d8wdy.js} +5 -5
- package/dist/chunks/{tool-qan9v5dp.js → aisdk-pak9h2dr.js} +12 -12
- package/dist/chunks/{tool-mc0emygj.js → aisdk-pjj09n0e.js} +23 -23
- package/dist/chunks/{tool-pjvnvgmy.js → aisdk-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-pknna89w.js → aisdk-pknna89w.js} +1 -1
- package/dist/chunks/{tool-sx8pbsn3.js → aisdk-pna5398n.js} +1 -1
- package/dist/chunks/{tool-bz49ytrm.js → aisdk-ppv1xyee.js} +29 -29
- package/dist/chunks/{tool-d86bmrwq.js → aisdk-ptb645zh.js} +15 -15
- package/dist/chunks/{tool-mybpd4me.js → aisdk-pyyn0bp8.js} +8 -8
- package/dist/chunks/{tool-ya67rv83.js → aisdk-q4nr5ctg.js} +11 -11
- package/dist/chunks/{tool-95n4m8dv.js → aisdk-qd6w2snt.js} +40 -40
- package/dist/chunks/{tool-92dd2pjn.js → aisdk-qfap2v99.js} +13 -13
- package/dist/chunks/{tool-f7j90zp2.js → aisdk-qg0jgkcp.js} +9 -9
- package/dist/chunks/{tool-v6wpha0s.js → aisdk-qjkv87ee.js} +10 -10
- package/dist/chunks/{tool-7fzckgvn.js → aisdk-qnp9kb3g.js} +12 -12
- package/dist/chunks/{tool-qsdy395h.js → aisdk-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-mbwany8q.js → aisdk-r3s520w4.js} +8 -8
- package/dist/chunks/{tool-hk614gwz.js → aisdk-r6htjnjy.js} +42 -42
- package/dist/chunks/{tool-j2mr6y77.js → aisdk-r6r0fhk9.js} +13 -13
- package/dist/chunks/{tool-66ae9dn1.js → aisdk-r8p2vqew.js} +9 -9
- package/dist/chunks/{tool-3refetkt.js → aisdk-rb3azzxf.js} +3 -3
- package/dist/chunks/{tool-gf60dj4k.js → aisdk-rbrsya93.js} +39 -39
- package/dist/chunks/{tool-rdw6cm16.js → aisdk-rdw6cm16.js} +1 -1
- package/dist/chunks/{tool-s8d7rejh.js → aisdk-rhjbct0v.js} +4 -4
- package/dist/chunks/{tool-pj0sbgvb.js → aisdk-s3mttwrw.js} +14 -14
- package/dist/chunks/{tool-853r27ye.js → aisdk-szzp65n1.js} +22 -22
- package/dist/chunks/{tool-awfma6nb.js → aisdk-t6msp11s.js} +6 -6
- package/dist/chunks/{tool-tazgh4e4.js → aisdk-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-m64xvjj1.js → aisdk-tdpndm1c.js} +5 -5
- package/dist/chunks/{tool-tdstcens.js → aisdk-tdstcens.js} +1 -1
- package/dist/chunks/{tool-c2zqmqqh.js → aisdk-tnw8k1e5.js} +11 -11
- package/dist/chunks/{tool-tvtrv512.js → aisdk-tvtrv512.js} +1 -1
- package/dist/chunks/{tool-4vxt5jt3.js → aisdk-tw4w1vk3.js} +23 -23
- package/dist/chunks/{tool-6ysrkrkr.js → aisdk-txc1zf78.js} +8 -8
- package/dist/chunks/{tool-dejqpjjg.js → aisdk-tydak3jd.js} +17 -17
- package/dist/chunks/{tool-zqvbpqdr.js → aisdk-v4s5p1py.js} +11 -11
- package/dist/chunks/{tool-z6x8kbkg.js → aisdk-v4vtjwr4.js} +11 -11
- package/dist/chunks/{tool-veqvce7d.js → aisdk-veqvce7d.js} +1 -1
- package/dist/chunks/aisdk-vnkjks7b.js +18 -0
- package/dist/chunks/{tool-s6667w8r.js → aisdk-vsnq8yew.js} +33 -33
- package/dist/chunks/{tool-vzcthcp8.js → aisdk-vzcthcp8.js} +1 -1
- package/dist/chunks/{tool-vzs5sf6e.js → aisdk-vzs5sf6e.js} +1 -1
- package/dist/chunks/{tool-84txncab.js → aisdk-w1eejvng.js} +5 -5
- package/dist/chunks/{tool-w3wsvvr9.js → aisdk-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-bhnv13g4.js → aisdk-w7g7j2er.js} +1 -1
- package/dist/chunks/{tool-156zbn1d.js → aisdk-w9ah4h24.js} +9 -9
- package/dist/chunks/{tool-psazpmmj.js → aisdk-wd3x2cqz.js} +2 -2
- package/dist/chunks/{tool-wd87259q.js → aisdk-wd87259q.js} +1 -1
- package/dist/chunks/{tool-a12ny575.js → aisdk-we7wvggr.js} +37 -37
- package/dist/chunks/{tool-q87t05d4.js → aisdk-wgd50f01.js} +25 -25
- package/dist/chunks/{tool-c8hdf53d.js → aisdk-wjvtgdma.js} +26 -26
- package/dist/chunks/{tool-q7pmkv96.js → aisdk-wm58vmky.js} +22 -22
- package/dist/chunks/{tool-7ef2cf21.js → aisdk-x0sz19sa.js} +32 -32
- package/dist/chunks/{tool-x1ezjp6w.js → aisdk-x1ezjp6w.js} +1 -1
- package/dist/chunks/{tool-hbyhqfhs.js → aisdk-x2rw7g36.js} +5 -5
- package/dist/chunks/{tool-rpayzx76.js → aisdk-x88ttkg4.js} +11 -11
- package/dist/chunks/{tool-k514m870.js → aisdk-xaewbne5.js} +15 -15
- package/dist/chunks/{tool-xkntkrq7.js → aisdk-xkntkrq7.js} +2 -2
- package/dist/chunks/{tool-pbbypdpt.js → aisdk-xpc0fge1.js} +3 -3
- package/dist/chunks/{tool-tw8msnma.js → aisdk-xpgqa4c9.js} +31 -31
- package/dist/chunks/{tool-cdd241tg.js → aisdk-xtk3nah1.js} +25 -25
- package/dist/chunks/{tool-xvp1j2dc.js → aisdk-xvp1j2dc.js} +2 -2
- package/dist/chunks/{tool-y1fvbwt7.js → aisdk-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-y71avatq.js → aisdk-y71avatq.js} +1 -1
- package/dist/chunks/{tool-wnys78fq.js → aisdk-ybaxr0a6.js} +6 -6
- package/dist/chunks/{tool-0z09521w.js → aisdk-yfbzmvpx.js} +2 -2
- package/dist/chunks/{tool-hegd5844.js → aisdk-yfedktg3.js} +98 -98
- package/dist/chunks/{tool-8bqa7fc6.js → aisdk-yfj4tzgq.js} +8 -8
- package/dist/chunks/{tool-v5hpcsb0.js → aisdk-yjptyezs.js} +5 -5
- package/dist/chunks/{tool-yp2x3t23.js → aisdk-yp2x3t23.js} +1 -1
- package/dist/chunks/{tool-w0nekgnm.js → aisdk-yr1wc87s.js} +16 -16
- package/dist/chunks/{tool-yrhqyw5v.js → aisdk-yrhqyw5v.js} +1 -1
- package/dist/chunks/{tool-yrznvahk.js → aisdk-yrznvahk.js} +2 -2
- package/dist/chunks/{tool-7q5pky5y.js → aisdk-ys8gg27d.js} +4 -4
- package/dist/chunks/{tool-8dc69bj5.js → aisdk-ytsgtawk.js} +318 -318
- package/dist/chunks/{tool-5r4dt47c.js → aisdk-yvam1hap.js} +10 -10
- package/dist/chunks/{tool-bjtzbw4r.js → aisdk-z07pqspn.js} +3 -3
- package/dist/chunks/{tool-z0bkrqjs.js → aisdk-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-g4cac8ef.js → aisdk-z312547k.js} +28 -28
- package/dist/chunks/{tool-z63w68vq.js → aisdk-z63w68vq.js} +2 -2
- package/dist/chunks/{tool-gyb99kyw.js → aisdk-z73vq4bz.js} +19 -19
- package/dist/chunks/{tool-ne3p3r7w.js → aisdk-zagye02c.js} +47 -47
- package/dist/chunks/{tool-rq775frq.js → aisdk-zeh9ct20.js} +2 -2
- package/dist/chunks/{tool-t6f3tx9e.js → aisdk-zfbzdcys.js} +22 -22
- package/dist/chunks/{tool-2kw3wt25.js → aisdk-zgf4bnax.js} +10 -10
- package/dist/chunks/{tool-zr2ceqn5.js → aisdk-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-8096wrwr.js → aisdk-zvyw4fnc.js} +32 -32
- package/dist/chunks/{tool-zxq2ej10.js → aisdk-zxq2ej10.js} +1 -1
- package/dist/chunks/{tool-c1741tf2.js → aisdk-zyn999ja.js} +3 -3
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +121 -121
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +123 -123
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- 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 +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +82 -82
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- 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 +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- 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 +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- 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 +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/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 +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/tool-ht5y0zrb.js +0 -18
- package/dist/chunks/tool-kvsn2a38.js +0 -252
- package/dist/chunks/tool-nd24615b.js +0 -26
- /package/dist/chunks/{tool-0qkdqm5v.js → aisdk-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → aisdk-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → aisdk-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → aisdk-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → aisdk-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → aisdk-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → aisdk-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → aisdk-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → aisdk-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-34c7v6d4.js → aisdk-34c7v6d4.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → aisdk-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → aisdk-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → aisdk-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3w5fmr99.js → aisdk-3w5fmr99.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → aisdk-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → aisdk-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → aisdk-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → aisdk-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → aisdk-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → aisdk-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → aisdk-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-5qd3pb7m.js → aisdk-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → aisdk-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → aisdk-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → aisdk-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → aisdk-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → aisdk-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → aisdk-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-8wj87zfr.js → aisdk-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-922hggd3.js → aisdk-922hggd3.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → aisdk-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → aisdk-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → aisdk-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → aisdk-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → aisdk-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → aisdk-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → aisdk-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → aisdk-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → aisdk-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → aisdk-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → aisdk-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → aisdk-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → aisdk-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → aisdk-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → aisdk-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → aisdk-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → aisdk-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → aisdk-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → aisdk-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → aisdk-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → aisdk-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → aisdk-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → aisdk-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → aisdk-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → aisdk-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → aisdk-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fxgpk5d8.js → aisdk-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → aisdk-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → aisdk-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → aisdk-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → aisdk-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hjbc5kem.js → aisdk-hjbc5kem.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → aisdk-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → aisdk-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → aisdk-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → aisdk-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → aisdk-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → aisdk-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → aisdk-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → aisdk-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → aisdk-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → aisdk-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → aisdk-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → aisdk-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → aisdk-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → aisdk-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → aisdk-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → aisdk-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → aisdk-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → aisdk-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → aisdk-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → aisdk-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → aisdk-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-sk3qaz4a.js → aisdk-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → aisdk-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → aisdk-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → aisdk-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → aisdk-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → aisdk-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → aisdk-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → aisdk-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → aisdk-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8cydn3q.js → aisdk-y8cydn3q.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → aisdk-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → aisdk-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → aisdk-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → aisdk-z9919s4g.js} +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service22,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service22 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service22.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service22, awaitActivation2, exports_service };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node83
|
|
4
|
+
} from "./aisdk-4z54v0t9.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service77,
|
|
11
|
+
node81
|
|
12
|
+
} from "./aisdk-s3mttwrw.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
15
|
ID13,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service71,
|
|
20
|
+
node75,
|
|
21
|
+
Event16
|
|
22
|
+
} from "./aisdk-dfdarkbv.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,25 +30,25 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event15,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID12,
|
|
36
|
+
Info: () => Info26,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service68,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
44
|
-
parse: () =>
|
|
43
|
+
node: () => node72,
|
|
44
|
+
parse: () => parse4
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
47
47
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
|
-
import { Event as
|
|
51
|
-
var
|
|
50
|
+
import { Event as Event15 } from "@opencode/schema/model";
|
|
51
|
+
var ID12 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
54
54
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -56,14 +56,14 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info26 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service68 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const location = yield*
|
|
63
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service71;
|
|
65
|
+
const bus = yield* Service79;
|
|
66
|
+
const location = yield* Service77;
|
|
67
67
|
let input;
|
|
68
68
|
const state = create3({
|
|
69
69
|
name: "model",
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info26.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
197
197
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
|
-
yield* bus.subscribe(
|
|
201
|
-
return
|
|
200
|
+
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
+
return Service68.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node72 = makeLocationNode({ service: Service68, layer, deps: [node75, node83, node81] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -225,12 +225,12 @@ function compatibility2(input) {
|
|
|
225
225
|
return;
|
|
226
226
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function parse4(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
231
|
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
232
|
-
modelID:
|
|
232
|
+
modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export {
|
|
236
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service68, node72, compatibility2, parse4, exports_model2, Event15 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/repository.ts
|
|
6
6
|
var exports_repository = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_repository, {
|
|
|
13
13
|
cachePath: () => cachePath2,
|
|
14
14
|
isFile: () => isFile2,
|
|
15
15
|
isRemote: () => isRemote2,
|
|
16
|
-
parse: () =>
|
|
16
|
+
parse: () => parse5,
|
|
17
17
|
parseRemote: () => parseRemote2,
|
|
18
18
|
same: () => same2,
|
|
19
19
|
validateBranch: () => validateBranch3
|
|
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
|
|
|
39
39
|
message: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function parse5(input) {
|
|
43
43
|
const cleaned = normalizeInput(input);
|
|
44
44
|
if (!cleaned)
|
|
45
45
|
return;
|
|
@@ -72,7 +72,7 @@ function parse4(input) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function parseRemote2(input) {
|
|
75
|
-
const reference =
|
|
75
|
+
const reference = parse5(input);
|
|
76
76
|
if (!reference) {
|
|
77
77
|
throw new InvalidReferenceError2({
|
|
78
78
|
repository: input,
|
|
@@ -172,4 +172,4 @@ function buildFile(input) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3,
|
|
175
|
+
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse5, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-1w9ezc4a.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin2,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin2 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin5 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint2, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin5 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint2, Plugin2, exports_tinyfish };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service84
|
|
3
|
-
} from "./tool-mdyteabe.js";
|
|
4
1
|
import {
|
|
5
2
|
Service83
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./aisdk-jqf6twm8.js";
|
|
4
|
+
import {
|
|
5
|
+
Service79
|
|
6
|
+
} from "./aisdk-4z54v0t9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service39
|
|
9
|
+
} from "./aisdk-d1mtykxg.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError8,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./aisdk-gcb0pgp4.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./aisdk-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service60
|
|
29
|
+
} from "./aisdk-bk8zh60f.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service37
|
|
34
|
+
} from "./aisdk-kqat4kfa.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service35
|
|
37
|
+
} from "./aisdk-rbrsya93.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./aisdk-hvmyt62c.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./aisdk-4qabh746.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./aisdk-349f6n3h.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./aisdk-db5a8hv2.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make12
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
66
|
-
const bus = yield*
|
|
67
|
-
const database = yield*
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
65
|
+
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
|
+
const bus = yield* Service79;
|
|
67
|
+
const database = yield* Service83;
|
|
68
|
+
const store = yield* Service60;
|
|
69
|
+
const instances = yield* Service39;
|
|
70
|
+
const execution = yield* Service35;
|
|
71
|
+
const admission = yield* Service37;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError8({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service39, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service39, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service39, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service39, instances), Effect.provideService(Service83, database), Effect.provideService(Service79, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service39, instances), Effect.provideService(Service79, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -329,4 +329,4 @@ ${error.message}`,
|
|
|
329
329
|
return { forSession };
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export {
|
|
332
|
+
export { make12, exports_session2 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service84,
|
|
3
|
-
node88
|
|
4
|
-
} from "./tool-mdyteabe.js";
|
|
5
1
|
import {
|
|
6
2
|
Service83,
|
|
7
3
|
node87
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./aisdk-jqf6twm8.js";
|
|
5
|
+
import {
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./aisdk-4z54v0t9.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
23
|
Event: () => Event19,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID16,
|
|
25
|
+
Info: () => Info31,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service74,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node78
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID16 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
41
|
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info31 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID16,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service74 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
54
|
-
const db = (yield*
|
|
55
|
-
const bus = yield*
|
|
53
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
54
|
+
const db = (yield* Service83).db;
|
|
55
|
+
const bus = yield* Service79;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info31({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service74.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info31({
|
|
80
|
+
id: ID16.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -193,6 +193,6 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node78 = makeGlobalNode({ service: Service74, layer, deps: [node87, node83] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID16, OAuth3, Key4, Value2, Event19, Info31, Service74, node78, exports_credential };
|