@opencode/core 0.0.0-dev-20039 → 0.0.0-dev-20041
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 +5 -5
- package/dist/bus.js +73 -73
- package/dist/chunks/{persistent-pty-k7jk5gbc.js → file-retention-03k3acwf.js} +3 -3
- package/dist/chunks/{persistent-pty-k11tdke4.js → file-retention-0664arss.js} +32 -32
- package/dist/chunks/{persistent-pty-exft5dyr.js → file-retention-0bv1bvwy.js} +13 -13
- package/dist/chunks/{persistent-pty-t4mbtemh.js → file-retention-0f9afca0.js} +5 -5
- package/dist/chunks/{persistent-pty-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-8ttcxa5h.js → file-retention-0w7zs8bt.js} +17 -17
- package/dist/chunks/{persistent-pty-2qmn5bfe.js → file-retention-0y8sfxad.js} +6 -6
- package/dist/chunks/{persistent-pty-7rjejn76.js → file-retention-0zkr977k.js} +17 -17
- package/dist/chunks/{persistent-pty-sgmsychm.js → file-retention-14wy2v1y.js} +8 -8
- package/dist/chunks/{persistent-pty-qjgk3hk8.js → file-retention-1ayg86nt.js} +18 -18
- package/dist/chunks/{persistent-pty-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-rczq51rp.js → file-retention-1q3whged.js} +8 -8
- package/dist/chunks/{persistent-pty-qr8yt3hn.js → file-retention-1v3ghhgs.js} +4 -4
- package/dist/chunks/{persistent-pty-4bm5ja14.js → file-retention-1y283654.js} +4 -4
- package/dist/chunks/{persistent-pty-gv8cj7t2.js → file-retention-20zxcxps.js} +8 -8
- package/dist/chunks/{persistent-pty-21r38tys.js → file-retention-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-fker3sdp.js → file-retention-22z5w8qs.js} +14 -14
- package/dist/chunks/{persistent-pty-2402vzrj.js → file-retention-2402vzrj.js} +1 -1
- package/dist/chunks/{persistent-pty-v8jkds5f.js → file-retention-26qmxnyk.js} +71 -71
- package/dist/chunks/{persistent-pty-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-7sz88z04.js → file-retention-2m5gpsjc.js} +16 -16
- package/dist/chunks/{persistent-pty-q3qrmh0v.js → file-retention-2vsnwkke.js} +3 -3
- package/dist/chunks/{persistent-pty-rs345c40.js → file-retention-2wwy9jkx.js} +5 -5
- package/dist/chunks/{persistent-pty-r5ae9j8d.js → file-retention-2z5xr0mg.js} +9 -9
- package/dist/chunks/{persistent-pty-x8etfcjj.js → file-retention-32k8n31x.js} +12 -12
- package/dist/chunks/{persistent-pty-40xjt1qy.js → file-retention-3376ssn9.js} +83 -83
- package/dist/chunks/{persistent-pty-xxc173qm.js → file-retention-33qd89zh.js} +28 -28
- package/dist/chunks/{persistent-pty-v2thg54p.js → file-retention-379cs1ec.js} +6 -6
- package/dist/chunks/{persistent-pty-9naypetk.js → file-retention-3bjec645.js} +43 -43
- package/dist/chunks/{persistent-pty-avm76bfr.js → file-retention-3dbq0asv.js} +9 -9
- package/dist/chunks/{persistent-pty-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-1xpex35t.js → file-retention-3jpka5e8.js} +4 -4
- package/dist/chunks/{persistent-pty-f73djwtn.js → file-retention-3jzbwf7q.js} +28 -28
- package/dist/chunks/{persistent-pty-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-302vxrt0.js → file-retention-3tqvv29e.js} +3 -3
- package/dist/chunks/{persistent-pty-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-swsp7ypn.js → file-retention-3xtf7kjc.js} +13 -13
- package/dist/chunks/{persistent-pty-8kjkx24x.js → file-retention-3xvqt3tk.js} +28 -28
- package/dist/chunks/{persistent-pty-3zsf4n22.js → file-retention-3zsf4n22.js} +1 -1
- package/dist/chunks/{persistent-pty-xw4y9se0.js → file-retention-4024s05h.js} +11 -11
- package/dist/chunks/{persistent-pty-ajzsbz6h.js → file-retention-41wzkj33.js} +9 -9
- package/dist/chunks/{persistent-pty-jc6epbw5.js → file-retention-49x2wa8a.js} +15 -15
- package/dist/chunks/{persistent-pty-nevrz7qv.js → file-retention-4etebsex.js} +58 -58
- package/dist/chunks/{persistent-pty-3d7gjx2p.js → file-retention-4hfmy0rs.js} +24 -24
- package/dist/chunks/{persistent-pty-757kp7m4.js → file-retention-4pbsmvv3.js} +132 -132
- package/dist/chunks/{persistent-pty-nf5zeerk.js → file-retention-4qgnjzgs.js} +9 -9
- package/dist/chunks/{persistent-pty-nj40d921.js → file-retention-4tnhmcyh.js} +31 -31
- package/dist/chunks/{persistent-pty-s5met55r.js → file-retention-4w5f3qm5.js} +8 -8
- package/dist/chunks/{persistent-pty-y6440ej8.js → file-retention-540sh223.js} +48 -48
- package/dist/chunks/{persistent-pty-56gdpj1q.js → file-retention-56gdpj1q.js} +2 -2
- package/dist/chunks/{persistent-pty-d9s573fh.js → file-retention-57ez7d0k.js} +2 -2
- package/dist/chunks/{persistent-pty-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-5ekn9679.js → file-retention-5ekn9679.js} +1 -1
- package/dist/chunks/{persistent-pty-y16p1w2y.js → file-retention-5fkt7nnq.js} +9 -9
- package/dist/chunks/{persistent-pty-9syv1v4t.js → file-retention-5hvmyetr.js} +25 -25
- package/dist/chunks/{persistent-pty-9bmaysqm.js → file-retention-5qzhcqq0.js} +16 -16
- package/dist/chunks/{persistent-pty-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-qxw86d5h.js → file-retention-5t76re1k.js} +2 -2
- package/dist/chunks/{persistent-pty-hv7wtjqq.js → file-retention-5tsjnb8p.js} +7 -7
- package/dist/chunks/{persistent-pty-8vp3gjhy.js → file-retention-5vgsf7vz.js} +31 -31
- package/dist/chunks/{persistent-pty-b0vhkd8y.js → file-retention-5xpznt2d.js} +4 -4
- package/dist/chunks/{persistent-pty-1za7na14.js → file-retention-6517vpn3.js} +11 -11
- package/dist/chunks/{persistent-pty-mqr4rx34.js → file-retention-65396x6s.js} +9 -9
- package/dist/chunks/{persistent-pty-669tq793.js → file-retention-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-q7t2zg9s.js → file-retention-66bbhz8t.js} +12 -12
- package/dist/chunks/{persistent-pty-31jp5918.js → file-retention-68xfyy0m.js} +13 -13
- package/dist/chunks/{persistent-pty-sa41km02.js → file-retention-6ab1dfve.js} +18 -18
- package/dist/chunks/{persistent-pty-fx5d5dst.js → file-retention-6e1xm13d.js} +3 -3
- package/dist/chunks/{persistent-pty-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-gzyn60n2.js → file-retention-6pjdvyme.js} +11 -11
- package/dist/chunks/{persistent-pty-mvfsc1pv.js → file-retention-73tb2d7t.js} +3 -3
- package/dist/chunks/{persistent-pty-yde6vznn.js → file-retention-775tmf4k.js} +4 -4
- package/dist/chunks/{persistent-pty-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-7dqw4kz8.js → file-retention-7dqw4kz8.js} +1 -1
- package/dist/chunks/{persistent-pty-kwkpr234.js → file-retention-7ee7cgcp.js} +23 -23
- package/dist/chunks/{persistent-pty-h0np5xxv.js → file-retention-7fw3nddj.js} +9 -9
- package/dist/chunks/{persistent-pty-f3pajhn5.js → file-retention-7jcskesy.js} +26 -26
- package/dist/chunks/{persistent-pty-qvfh85cq.js → file-retention-7qbzk5hm.js} +14 -14
- package/dist/chunks/{persistent-pty-csdaj16z.js → file-retention-7w99qc9d.js} +3 -3
- package/dist/chunks/{persistent-pty-kdvbsvbn.js → file-retention-7zxdsfz3.js} +29 -29
- package/dist/chunks/{persistent-pty-v8vgje16.js → file-retention-818pfwc9.js} +3 -3
- package/dist/chunks/{persistent-pty-h3z0pqmp.js → file-retention-865ms8yh.js} +38 -38
- package/dist/chunks/{persistent-pty-4bdz3rrf.js → file-retention-8caw9eqq.js} +9 -9
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-1d4pa8k8.js → file-retention-8rpqbtbt.js} +20 -20
- package/dist/chunks/{persistent-pty-nne8jnth.js → file-retention-8t9xkh8k.js} +7 -7
- package/dist/chunks/{persistent-pty-nbbm23k4.js → file-retention-8v9yv9bq.js} +35 -35
- package/dist/chunks/{persistent-pty-erg9a3bf.js → file-retention-8xk7ktgq.js} +3 -3
- package/dist/chunks/{persistent-pty-gfvb90ym.js → file-retention-94ek1h2f.js} +2 -2
- package/dist/chunks/{persistent-pty-ragc7st3.js → file-retention-9ajszpws.js} +11 -11
- package/dist/chunks/{persistent-pty-6netbxjb.js → file-retention-9c38mvzz.js} +11 -11
- package/dist/chunks/{persistent-pty-d3v66745.js → file-retention-9fp0xjb7.js} +10 -10
- package/dist/chunks/{persistent-pty-4ssabby3.js → file-retention-9h7wvxm5.js} +5 -5
- package/dist/chunks/{persistent-pty-gckqvg4d.js → file-retention-9n30v2t0.js} +12 -12
- package/dist/chunks/{persistent-pty-97k8mqqv.js → file-retention-9sxnqw9k.js} +27 -27
- package/dist/chunks/{persistent-pty-c3836xxs.js → file-retention-9z3eexy9.js} +40 -40
- package/dist/chunks/{persistent-pty-5hvymspb.js → file-retention-a09z2ym9.js} +1 -1
- package/dist/chunks/{persistent-pty-epz0536n.js → file-retention-a3aaahat.js} +13 -13
- package/dist/chunks/{persistent-pty-w64kqnqf.js → file-retention-a9a955e9.js} +15 -15
- package/dist/chunks/{persistent-pty-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-chfqtgk8.js → file-retention-ae1qpy6d.js} +4 -4
- package/dist/chunks/{persistent-pty-152c24g9.js → file-retention-akcjkw95.js} +9 -9
- package/dist/chunks/{persistent-pty-4y303w9z.js → file-retention-avd8ev9v.js} +4 -4
- package/dist/chunks/{persistent-pty-qy83mrsx.js → file-retention-avf7bgaf.js} +41 -41
- package/dist/chunks/{persistent-pty-3eye3e08.js → file-retention-aw030d2s.js} +10 -10
- package/dist/chunks/{persistent-pty-b0dgvpy7.js → file-retention-b0dgvpy7.js} +2 -2
- package/dist/chunks/{persistent-pty-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-1g3wfhvf.js → file-retention-bafk1heq.js} +3 -3
- package/dist/chunks/{persistent-pty-wkpqecqd.js → file-retention-bv8m9t85.js} +21 -21
- package/dist/chunks/{persistent-pty-8h8zbh46.js → file-retention-c4fmhh0h.js} +20 -20
- package/dist/chunks/{persistent-pty-jva4mgym.js → file-retention-c5gn303e.js} +4 -4
- package/dist/chunks/{persistent-pty-fddeqz3x.js → file-retention-c896jrwc.js} +12 -12
- package/dist/chunks/{persistent-pty-5wcec76y.js → file-retention-c8xagm8x.js} +18 -18
- package/dist/chunks/{persistent-pty-fpgew61y.js → file-retention-c9jyf434.js} +13 -13
- package/dist/chunks/{persistent-pty-gfstbejf.js → file-retention-caepx5ad.js} +9 -9
- package/dist/chunks/{persistent-pty-54tcyq79.js → file-retention-ckecvw8r.js} +2 -2
- package/dist/chunks/{persistent-pty-ny0wv14t.js → file-retention-cm6x1q2e.js} +1 -1
- package/dist/chunks/{persistent-pty-8v6pyhej.js → file-retention-cmwkp3r5.js} +8 -8
- package/dist/chunks/{persistent-pty-tx323b0h.js → file-retention-crg2e90r.js} +14 -14
- package/dist/chunks/{persistent-pty-x8e1q2wf.js → file-retention-d2rrq94d.js} +1 -1
- package/dist/chunks/{persistent-pty-641h1r3m.js → file-retention-d66rg99j.js} +17 -17
- package/dist/chunks/{persistent-pty-rdecwvm0.js → file-retention-dg2cj1yd.js} +4 -4
- package/dist/chunks/{persistent-pty-xfkkasph.js → file-retention-drwq78ky.js} +4 -4
- package/dist/chunks/{persistent-pty-pg9p756q.js → file-retention-ds5m9dev.js} +13 -13
- package/dist/chunks/{persistent-pty-5x17qhbs.js → file-retention-e8nz2nx7.js} +7 -7
- package/dist/chunks/{persistent-pty-gj7rap3q.js → file-retention-eez4ae6w.js} +26 -26
- package/dist/chunks/{persistent-pty-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-23k7adzm.js → file-retention-eh9pyrvh.js} +11 -11
- package/dist/chunks/{persistent-pty-ve2hxe32.js → file-retention-ekx7ze3j.js} +9 -9
- package/dist/chunks/{persistent-pty-erw5rpbs.js → file-retention-erw5rpbs.js} +2 -2
- package/dist/chunks/{persistent-pty-hz84tk5e.js → file-retention-et0rkxxj.js} +8 -8
- package/dist/chunks/{persistent-pty-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-7en68zcv.js → file-retention-f1qkhhqk.js} +3 -3
- package/dist/chunks/{persistent-pty-09r2qp1t.js → file-retention-f7r00ng2.js} +29 -29
- package/dist/chunks/{persistent-pty-93fybsct.js → file-retention-feb5mkp6.js} +15 -15
- package/dist/chunks/{persistent-pty-zxc6d5jg.js → file-retention-fevyjzxn.js} +24 -24
- package/dist/chunks/{persistent-pty-93wh6as2.js → file-retention-fmvrqh2q.js} +30 -30
- package/dist/chunks/{persistent-pty-n18pptkj.js → file-retention-g022mkhv.js} +9 -9
- package/dist/chunks/{persistent-pty-g190xswt.js → file-retention-g190xswt.js} +1 -1
- package/dist/chunks/{persistent-pty-1nfy4m2r.js → file-retention-g4dcbn2w.js} +9 -9
- package/dist/chunks/{persistent-pty-h67gkhys.js → file-retention-g4q7we8z.js} +9 -9
- package/dist/chunks/{persistent-pty-0rdt631y.js → file-retention-g5ae0avw.js} +25 -25
- package/dist/chunks/{persistent-pty-2mq1h16s.js → file-retention-g6q9qykm.js} +9 -9
- package/dist/chunks/{persistent-pty-5a8mqqmd.js → file-retention-g74g176x.js} +89 -89
- package/dist/chunks/{persistent-pty-2c3gf4hg.js → file-retention-g88pctsh.js} +15 -15
- package/dist/chunks/{persistent-pty-4bp47sa2.js → file-retention-g97k7hqe.js} +6 -6
- package/dist/chunks/{persistent-pty-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-qvb3nf84.js → file-retention-gn2hfjap.js} +4 -4
- package/dist/chunks/{persistent-pty-yyb7tjpc.js → file-retention-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-0z8vjex2.js → file-retention-gzbkpp9m.js} +5 -5
- package/dist/chunks/{persistent-pty-qynyj9jq.js → file-retention-h3jew788.js} +7 -7
- package/dist/chunks/{persistent-pty-h6r3nrb9.js → file-retention-h6r3nrb9.js} +1 -1
- package/dist/chunks/{persistent-pty-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-6qfwct6s.js → file-retention-h74hxk69.js} +10 -10
- package/dist/chunks/{persistent-pty-178h7bcz.js → file-retention-ha9jdhyk.js} +8 -8
- package/dist/chunks/{persistent-pty-2gc9tj0a.js → file-retention-hjg7zh7c.js} +30 -30
- package/dist/chunks/{persistent-pty-ph2thkmn.js → file-retention-hka1ns4r.js} +12 -12
- package/dist/chunks/{persistent-pty-tmx59f2z.js → file-retention-hzp3bmsz.js} +13 -13
- package/dist/chunks/{persistent-pty-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-sqt5xxjz.js → file-retention-j90ng04k.js} +23 -23
- package/dist/chunks/{persistent-pty-34rkz0x9.js → file-retention-jfqtm2ew.js} +7 -7
- package/dist/chunks/{persistent-pty-3zwwaknr.js → file-retention-jnp949yc.js} +4 -4
- package/dist/chunks/{persistent-pty-kpdf6701.js → file-retention-jwyf9651.js} +8 -8
- package/dist/chunks/{persistent-pty-1s9w9x7p.js → file-retention-k30r2j3z.js} +3 -3
- package/dist/chunks/{persistent-pty-k3c624dm.js → file-retention-k3c624dm.js} +3 -3
- package/dist/chunks/{persistent-pty-9t3ensh9.js → file-retention-k3x2wr2k.js} +13 -13
- package/dist/chunks/{persistent-pty-7tgakezr.js → file-retention-k53npxr2.js} +1 -1
- package/dist/chunks/{persistent-pty-vd1ke7dk.js → file-retention-k7nxnay7.js} +22 -22
- package/dist/chunks/{persistent-pty-r0cp9c3a.js → file-retention-k9avtbwf.js} +6 -6
- package/dist/chunks/{persistent-pty-rsdvdc68.js → file-retention-kb60wjr3.js} +33 -33
- package/dist/chunks/{persistent-pty-kkf5t9v2.js → file-retention-kdwpteqf.js} +3 -3
- package/dist/chunks/{persistent-pty-haq7tc4w.js → file-retention-khj5rq36.js} +17 -17
- package/dist/chunks/{persistent-pty-hb9mtrsd.js → file-retention-khvqtdky.js} +35 -35
- package/dist/chunks/{persistent-pty-k9kj6xed.js → file-retention-knb7evpn.js} +6 -6
- package/dist/chunks/{persistent-pty-mpc99crn.js → file-retention-ksx3x1ny.js} +20 -20
- package/dist/chunks/{persistent-pty-ep9py3fj.js → file-retention-kxqbxb34.js} +8 -8
- package/dist/chunks/{persistent-pty-vvetkfbd.js → file-retention-m26hz9p9.js} +26 -26
- package/dist/chunks/{persistent-pty-m3fdjcah.js → file-retention-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-66v7kmb1.js → file-retention-mryfz2cp.js} +15 -15
- package/dist/chunks/{persistent-pty-r70v011a.js → file-retention-ms1chagy.js} +18 -18
- package/dist/chunks/{persistent-pty-8dzh1cd7.js → file-retention-ms71xcq7.js} +34 -34
- package/dist/chunks/{persistent-pty-fpym893h.js → file-retention-mt8kbkqe.js} +6 -6
- package/dist/chunks/{persistent-pty-vww9cphx.js → file-retention-n5kbdkqy.js} +15 -15
- package/dist/chunks/{persistent-pty-761rsftx.js → file-retention-n6ht9sbt.js} +19 -19
- package/dist/chunks/{persistent-pty-k3vs3y4h.js → file-retention-n8hmmtzx.js} +11 -11
- package/dist/chunks/{persistent-pty-nq1pkwqs.js → file-retention-nbnr4nbs.js} +27 -27
- package/dist/chunks/{persistent-pty-k1qrnqst.js → file-retention-nj1j17x6.js} +8 -8
- package/dist/chunks/{persistent-pty-tyqkzprt.js → file-retention-nng2ktcm.js} +2 -2
- package/dist/chunks/{persistent-pty-0evkspfq.js → file-retention-nq7qbqzc.js} +9 -9
- package/dist/chunks/{persistent-pty-kej12pt8.js → file-retention-ntf9h0sg.js} +17 -17
- package/dist/chunks/{persistent-pty-s1njw3xh.js → file-retention-p1wcy1sd.js} +16 -16
- package/dist/chunks/{persistent-pty-p6m6n2kf.js → file-retention-p2p01y4a.js} +35 -35
- package/dist/chunks/{persistent-pty-9w4ppqge.js → file-retention-p3p972wa.js} +5 -5
- package/dist/chunks/{persistent-pty-zs8c84j9.js → file-retention-p5m3p7d0.js} +29 -29
- package/dist/chunks/{persistent-pty-485sy19s.js → file-retention-p7r5mfnx.js} +27 -27
- package/dist/chunks/{persistent-pty-zkrvy30v.js → file-retention-petwabaa.js} +33 -33
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-hq8zt1th.js → file-retention-prmgem5b.js} +6 -6
- package/dist/chunks/{persistent-pty-te34bjm9.js → file-retention-prw4r7p3.js} +10 -10
- package/dist/chunks/{persistent-pty-h8y73a77.js → file-retention-pw47d8q8.js} +1 -1
- package/dist/chunks/{persistent-pty-vc5d3pth.js → file-retention-q66jrkrp.js} +4 -4
- package/dist/chunks/{persistent-pty-9vvedye8.js → file-retention-q87stdvj.js} +10 -10
- package/dist/chunks/{persistent-pty-d7xkg5ac.js → file-retention-qeadq54g.js} +9 -9
- package/dist/chunks/{persistent-pty-k5cpcgxv.js → file-retention-qhbjehys.js} +18 -18
- package/dist/chunks/{persistent-pty-jvv91we3.js → file-retention-qm98202t.js} +20 -20
- package/dist/chunks/{persistent-pty-t3swkhbg.js → file-retention-qn4ba14w.js} +5 -5
- package/dist/chunks/{persistent-pty-e9p00fqr.js → file-retention-qry02hsx.js} +8 -8
- package/dist/chunks/{persistent-pty-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-g1mth37h.js → file-retention-qv5nhp8w.js} +2 -2
- package/dist/chunks/{persistent-pty-a2dnpcep.js → file-retention-qvhhy2sw.js} +24 -24
- package/dist/chunks/{persistent-pty-p1y2rvb9.js → file-retention-r2rczy8f.js} +24 -24
- package/dist/chunks/{persistent-pty-1acjjqhc.js → file-retention-r8xr0va3.js} +4 -4
- package/dist/chunks/file-retention-rap9a73h.js +18 -0
- package/dist/chunks/{persistent-pty-rdw6cm16.js → file-retention-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-3fbhsscp.js → file-retention-rfetvjjn.js} +2 -2
- package/dist/chunks/{persistent-pty-wnys78fq.js → file-retention-rjgxhawe.js} +6 -6
- package/dist/chunks/{persistent-pty-wfdd4dw9.js → file-retention-rsvh1r19.js} +3 -3
- package/dist/chunks/{persistent-pty-as71pn4z.js → file-retention-rsz70btv.js} +7 -7
- package/dist/chunks/{persistent-pty-a507s7rw.js → file-retention-rvk9xysn.js} +10 -10
- package/dist/chunks/{persistent-pty-zav06jzw.js → file-retention-rwm5vee1.js} +4 -4
- package/dist/chunks/{persistent-pty-5nqt8hga.js → file-retention-rye6va4d.js} +17 -17
- package/dist/chunks/{persistent-pty-ps64rfj0.js → file-retention-rza38swf.js} +1 -1
- package/dist/chunks/{persistent-pty-sqgn58gm.js → file-retention-s2sgpvg3.js} +30 -30
- package/dist/chunks/{persistent-pty-s8d7rejh.js → file-retention-s8d7rejh.js} +1 -1
- package/dist/chunks/{persistent-pty-kmpsdvkf.js → file-retention-sq7rfx6k.js} +8 -8
- package/dist/chunks/{persistent-pty-tdph6ben.js → file-retention-sqkw1tam.js} +47 -47
- package/dist/chunks/{persistent-pty-p0b4ytnr.js → file-retention-ss0awb04.js} +4 -4
- package/dist/chunks/{persistent-pty-1ywjfj99.js → file-retention-svmcaxnz.js} +18 -18
- package/dist/chunks/{persistent-pty-j2r8stxx.js → file-retention-t3hb2ca5.js} +27 -27
- package/dist/chunks/{persistent-pty-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → file-retention-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-evbwcqsm.js → file-retention-tjt0qs6c.js} +27 -27
- package/dist/chunks/{persistent-pty-gqchpbtd.js → file-retention-tn0aqsam.js} +5 -5
- package/dist/chunks/{persistent-pty-77r8rc3a.js → file-retention-trqbdvny.js} +1 -1
- package/dist/chunks/{persistent-pty-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-kxf5mmhn.js → file-retention-v718bg0p.js} +9 -9
- package/dist/chunks/{persistent-pty-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-ng6c26h7.js → file-retention-vghw8xx0.js} +8 -8
- package/dist/chunks/{persistent-pty-mnvesx1a.js → file-retention-vkcyb6cw.js} +24 -24
- package/dist/chunks/{persistent-pty-vncycja5.js → file-retention-vncycja5.js} +1 -1
- package/dist/chunks/{persistent-pty-5bjmhyyh.js → file-retention-vqfhhw58.js} +11 -11
- package/dist/chunks/{persistent-pty-vtxr0yy2.js → file-retention-vtxr0yy2.js} +2 -2
- package/dist/chunks/{persistent-pty-khxsha55.js → file-retention-vtyxdczd.js} +7 -7
- package/dist/chunks/{persistent-pty-4prhbtb1.js → file-retention-vwzd1dr8.js} +9 -9
- package/dist/chunks/{persistent-pty-tgcnk5sw.js → file-retention-vy4zg7qh.js} +5 -5
- package/dist/chunks/{persistent-pty-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/file-retention-w5jkjmtp.js +252 -0
- package/dist/chunks/{persistent-pty-dj7qp1vz.js → file-retention-w6abkha8.js} +24 -24
- package/dist/chunks/{persistent-pty-psazpmmj.js → file-retention-wd3x2cqz.js} +2 -2
- package/dist/chunks/{persistent-pty-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-dqkpw5fd.js → file-retention-wjvnz8yh.js} +15 -15
- package/dist/chunks/{persistent-pty-m8qv6hfv.js → file-retention-wjxxvj74.js} +15 -15
- package/dist/chunks/{persistent-pty-c7tt9wkp.js → file-retention-wt2bt8rh.js} +4 -4
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-95ct4mzm.js → file-retention-x90ppevt.js} +12 -12
- package/dist/chunks/{persistent-pty-yn1bvpb4.js → file-retention-xd50rb0f.js} +31 -31
- package/dist/chunks/{persistent-pty-f71as8r2.js → file-retention-xgmqxxb1.js} +12 -12
- package/dist/chunks/{persistent-pty-x5w4k6wc.js → file-retention-xmv4zd28.js} +12 -12
- package/dist/chunks/{persistent-pty-9xxvhx1n.js → file-retention-xnc27n98.js} +23 -23
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-ee954pm5.js → file-retention-y1wbvcwc.js} +2 -2
- package/dist/chunks/{persistent-pty-eb46v86n.js → file-retention-y5xxxn1t.js} +28 -28
- package/dist/chunks/{persistent-pty-y71avatq.js → file-retention-y71avatq.js} +1 -1
- package/dist/chunks/{persistent-pty-ddnkdez9.js → file-retention-ybxrcnqf.js} +292 -292
- package/dist/chunks/{persistent-pty-b50cy11c.js → file-retention-yg97ajga.js} +1 -1
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-yrznvahk.js → file-retention-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-0ryd0fps.js → file-retention-yt3hy1g9.js} +5 -5
- package/dist/chunks/{persistent-pty-bjtzbw4r.js → file-retention-z07pqspn.js} +3 -3
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-vay5kkzq.js → file-retention-z1m0hqzv.js} +4 -4
- package/dist/chunks/{persistent-pty-z63w68vq.js → file-retention-z63w68vq.js} +2 -2
- package/dist/chunks/{persistent-pty-91mzt8hr.js → file-retention-za96cmcy.js} +8 -8
- package/dist/chunks/{persistent-pty-6ffyb2hm.js → file-retention-zdgtn3pv.js} +12 -12
- package/dist/chunks/{persistent-pty-rq775frq.js → file-retention-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-zhc2jp5c.js → file-retention-zvcs6vph.js} +10 -10
- package/dist/chunks/{persistent-pty-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
- 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 +82 -82
- 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 +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- 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 +123 -123
- 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 +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- 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 +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +73 -73
- package/dist/database/database.js +66 -66
- 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 +76 -76
- 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 +90 -90
- 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 +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +102 -102
- package/dist/form.js +70 -70
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/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 +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +76 -76
- 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-mutation.js +104 -104
- 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 +100 -100
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +90 -90
- package/dist/models-dev.js +95 -95
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +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 +88 -88
- 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/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- 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 +94 -94
- package/dist/plugin/provider/opencode.js +94 -94
- 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 +160 -160
- 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 +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +2 -2
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +89 -89
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +3 -3
- 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 +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +7 -7
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- 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 +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- 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 +9 -9
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- 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 +123 -123
- 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 +122 -122
- 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 +123 -123
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +14 -14
- 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 +3 -3
- 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 +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +1 -1
- 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 +1 -1
- 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 +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- 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/persistent-pty-39c607zz.js +0 -252
- package/dist/chunks/persistent-pty-619r8v3y.js +0 -18
- /package/dist/chunks/{persistent-pty-0mesazry.js → file-retention-0mesazry.js} +0 -0
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-34c7v6d4.js → file-retention-34c7v6d4.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5qd3pb7m.js → file-retention-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → file-retention-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-4hfmy0rs.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-sqkw1tam.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
14
|
var exports_agent2 = {};
|
|
15
15
|
__export(exports_agent2, {
|
|
16
16
|
AgentPlugin: () => exports_agent2,
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin48
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin48 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin40 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID11.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID11.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin40 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID11.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID11.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID11.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin40 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin48, exports_agent2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./file-retention-xgmqxxb1.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-22z5w8qs.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError7,
|
|
20
|
+
Options: () => Options5,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service47,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
|
+
configured: () => configured7,
|
|
25
|
+
layer: () => layer18,
|
|
26
|
+
node: () => node52
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options5 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError7 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service47 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service47, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service81;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
56
56
|
const runFork = Effect.runForkWith(context);
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service56, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError7({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service56, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service56, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service47.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service56, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
262
|
-
deps: [
|
|
258
|
+
var layer18 = makeLayer();
|
|
259
|
+
var configured7 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service47,
|
|
261
|
+
layer: options === undefined ? layer18 : makeLayer(options),
|
|
262
|
+
deps: [node85, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node52 = configured7();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options5, UnavailableError3, NotFoundError7, Service47, layer18, configured7, node52, exports_persistent_pty, Handoff2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-k30r2j3z.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service81,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node85,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service81 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
81
|
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
83
|
+
service: Service81,
|
|
84
84
|
deps: [node88],
|
|
85
|
-
layer: Layer.effect(
|
|
85
|
+
layer: Layer.effect(Service81, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service81.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node85 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service81, configured12, node85, exports_bus };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-k30r2j3z.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-ckecvw8r.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
16
|
ID: () => ID9,
|
|
17
|
-
Info: () =>
|
|
17
|
+
Info: () => Info23,
|
|
18
18
|
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service71,
|
|
21
|
+
node: () => node75
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -26,7 +26,7 @@ import { Project } from "@opencode/schema/project";
|
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
28
|
var ID9 = PermissionSaved.ID;
|
|
29
|
-
var
|
|
29
|
+
var Info23 = PermissionSaved.Info;
|
|
30
30
|
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service71 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service71.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node75 = makeGlobalNode({ service: Service71, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export { ID9,
|
|
73
|
+
export { ID9, Info23, ListInput5, AddInput2, Service71, node75, exports_saved };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service81,
|
|
4
|
+
node85
|
|
5
|
+
} from "./file-retention-xgmqxxb1.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
10
|
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-s8d7rejh.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
@@ -26,11 +26,11 @@ __export(exports_instruction_discovery, {
|
|
|
26
26
|
Event: () => Event9,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options6,
|
|
30
|
+
Service: () => Service50,
|
|
31
|
+
configured: () => configured8,
|
|
32
|
+
layer: () => layer19,
|
|
33
|
+
node: () => node55
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -45,15 +45,15 @@ var key = Key3.make("core/instructions");
|
|
|
45
45
|
var Event9 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options6 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service50 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer19 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service81;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -90,7 +90,7 @@ var layer16 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service50.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer16 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured8(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
111
|
-
deps: [
|
|
109
|
+
service: Service50,
|
|
110
|
+
layer: layer19(options),
|
|
111
|
+
deps: [node85]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node55 = configured8();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2, Event9,
|
|
145
|
+
export { File2, Event9, Options6, Service50, layer19, configured8, node55, exports_instruction_discovery };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-qry02hsx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service81,
|
|
6
|
+
node85
|
|
7
|
+
} from "./file-retention-xgmqxxb1.js";
|
|
8
8
|
import {
|
|
9
9
|
Event19,
|
|
10
10
|
Service77,
|
|
11
11
|
node81
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-65396x6s.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service79,
|
|
15
|
+
node83
|
|
16
|
+
} from "./file-retention-crg2e90r.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service43,
|
|
19
|
+
node47
|
|
20
|
+
} from "./file-retention-fevyjzxn.js";
|
|
21
21
|
import {
|
|
22
22
|
ID16,
|
|
23
23
|
Service78,
|
|
24
24
|
node82
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-retention-mt8kbkqe.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-retention-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
31
|
ID14,
|
|
32
32
|
MethodID2,
|
|
33
33
|
Service76,
|
|
34
34
|
node80
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./file-retention-4qgnjzgs.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service34,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
56
|
configured: () => configured4,
|
|
57
57
|
layer: () => layer14,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node37
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -93,7 +93,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service34 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
98
|
var Options4 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -101,10 +101,10 @@ var Options4 = Schema.Struct({
|
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var layer14 = (options) => Layer.effect(
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
107
|
-
const bus = yield*
|
|
104
|
+
var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service79;
|
|
106
|
+
const environment = yield* Service43;
|
|
107
|
+
const bus = yield* Service81;
|
|
108
108
|
const forms = yield* Service78;
|
|
109
109
|
const integration = yield* Service76;
|
|
110
110
|
const credentials = yield* Service77;
|
|
@@ -240,7 +240,7 @@ var layer14 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
240
240
|
entry.scope = scope;
|
|
241
241
|
const authProvider = yield* connectProvider(entry);
|
|
242
242
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
243
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
243
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service43, environment), Scope.provide(scope));
|
|
244
244
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
245
245
|
if (Exit.isSuccess(result)) {
|
|
246
246
|
entry.client = result.value.connection;
|
|
@@ -391,7 +391,7 @@ var layer14 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
391
391
|
}),
|
|
392
392
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
393
393
|
});
|
|
394
|
-
return
|
|
394
|
+
return Service34.of({
|
|
395
395
|
transform: state.transform,
|
|
396
396
|
reload: state.reload,
|
|
397
397
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -512,12 +512,12 @@ var layer14 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
512
512
|
}));
|
|
513
513
|
function configured4(options) {
|
|
514
514
|
return makeLocationNode({
|
|
515
|
-
service:
|
|
515
|
+
service: Service34,
|
|
516
516
|
layer: layer14(options),
|
|
517
|
-
deps: [
|
|
517
|
+
deps: [node83, node47, node85, node82, node80, node81]
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
var
|
|
520
|
+
var node37 = configured4();
|
|
521
521
|
function toElicitationField(key, property, required) {
|
|
522
522
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
523
523
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
|
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2,
|
|
571
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service34, Options4, layer14, configured4, node37, exports_mcp4 };
|