@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,38 +1,38 @@
|
|
|
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
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service9,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer6,
|
|
17
|
+
node: () => node11
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service9 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service81;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service9.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node11 = makeGlobalNode({ service: Service9, layer: layer6, deps: [node85] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service9, layer6, node11, exports_sdk };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service67,
|
|
6
|
+
node71
|
|
7
|
+
} from "./file-retention-d66rg99j.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate2 = {};
|
|
14
14
|
__export(exports_generate2, {
|
|
15
15
|
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service46,
|
|
18
|
+
UnavailableError: () => UnavailableError2,
|
|
19
|
+
layer: () => layer17,
|
|
20
|
+
node: () => node51
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
27
27
|
}) {
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
31
31
|
message: Schema.String,
|
|
32
32
|
service: Schema.optional(Schema.String)
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service46 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer17 = Layer.effect(Service46, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service67;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -47,28 +47,28 @@ var layer23 = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
47
47
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
48
48
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
49
49
|
], (error) => {
|
|
50
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
50
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
|
|
51
51
|
return Effect.fail(mapped);
|
|
52
52
|
}));
|
|
53
53
|
if (!resolved)
|
|
54
54
|
return yield* new ModelSelectionError2({
|
|
55
55
|
message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
|
|
56
56
|
});
|
|
57
|
-
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new
|
|
57
|
+
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
|
|
58
58
|
message: error.message,
|
|
59
59
|
service: resolved.ref.providerID
|
|
60
60
|
})));
|
|
61
61
|
return response.text;
|
|
62
62
|
});
|
|
63
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
63
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service46.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
70
|
-
layer:
|
|
71
|
-
deps: [
|
|
68
|
+
var node51 = makeLocationNode({
|
|
69
|
+
service: Service46,
|
|
70
|
+
layer: layer17,
|
|
71
|
+
deps: [node71, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError2, Service46, layer17, node51, exports_generate2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-7w99qc9d.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -19,7 +19,7 @@ __export(exports_error2, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError9,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
24
|
SessionErrors: () => exports_error2,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError9 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./file-retention-xgmqxxb1.js";
|
|
5
5
|
import {
|
|
6
6
|
Service78,
|
|
7
7
|
node82
|
|
8
|
-
} from "./
|
|
9
|
-
import {
|
|
10
|
-
Service81,
|
|
11
|
-
node85
|
|
12
|
-
} from "./persistent-pty-8h8zbh46.js";
|
|
8
|
+
} from "./file-retention-mt8kbkqe.js";
|
|
13
9
|
import {
|
|
14
|
-
Ref4,
|
|
15
10
|
Service80,
|
|
16
11
|
node84
|
|
17
|
-
} from "./
|
|
12
|
+
} from "./file-retention-c4fmhh0h.js";
|
|
13
|
+
import {
|
|
14
|
+
Ref4,
|
|
15
|
+
Service79,
|
|
16
|
+
node83
|
|
17
|
+
} from "./file-retention-crg2e90r.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-retention-qeadq54g.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service69,
|
|
26
|
+
node73
|
|
27
|
+
} from "./file-retention-sqkw1tam.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service36,
|
|
30
|
+
node40
|
|
31
|
+
} from "./file-retention-c8xagm8x.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service13,
|
|
41
|
+
node: () => node15
|
|
42
42
|
});
|
|
43
43
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service13 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
51
|
-
const bus = yield*
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
50
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
51
|
+
const bus = yield* Service81;
|
|
52
|
+
const location = yield* Service79;
|
|
53
|
+
const permission = yield* Service69;
|
|
54
54
|
const forms = yield* Service78;
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
55
|
+
const rpc = yield* Service36;
|
|
56
|
+
const project = yield* Service80;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
75
75
|
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
76
76
|
});
|
|
77
77
|
}).pipe(Effect.uninterruptible));
|
|
78
|
-
return
|
|
78
|
+
return Service13.of({
|
|
79
79
|
isClosed: () => closed,
|
|
80
80
|
shutdown
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
84
|
-
service:
|
|
83
|
+
var node15 = makeLocationNode({
|
|
84
|
+
service: Service13,
|
|
85
85
|
layer,
|
|
86
|
-
deps: [
|
|
86
|
+
deps: [node85, node83, node73, node84, node82, node40]
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service13, node15, exports_location_lifecycle };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-5tsjnb8p.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-d2rrq94d.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./file-retention-crg2e90r.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service56
|
|
7
|
+
} from "./file-retention-khvqtdky.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service21
|
|
10
|
+
} from "./file-retention-svmcaxnz.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
make10
|
|
13
|
+
} from "./file-retention-73tb2d7t.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/formatter.ts
|
|
22
22
|
var exports_formatter = {};
|
|
23
23
|
__export(exports_formatter, {
|
|
24
24
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin12
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,14 +30,14 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { Npm } from "@opencode/util/npm";
|
|
31
31
|
import { AppProcess } from "@opencode/util/process";
|
|
32
32
|
import { Effect } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin12 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
|
-
const config = yield*
|
|
37
|
-
const formatter = yield*
|
|
36
|
+
const config = yield* Service56;
|
|
37
|
+
const formatter = yield* Service21;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
|
-
const location = yield*
|
|
40
|
+
const location = yield* Service79;
|
|
41
41
|
const npm = yield* Npm.Service;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
43
43
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -45,7 +45,7 @@ var Plugin14 = define({
|
|
|
45
45
|
const configured = latest2(loaded.entries, "formatter");
|
|
46
46
|
if (!configured)
|
|
47
47
|
return;
|
|
48
|
-
const builtIns =
|
|
48
|
+
const builtIns = make10({
|
|
49
49
|
directory: location.directory,
|
|
50
50
|
worktree: location.project.directory,
|
|
51
51
|
fs,
|
|
@@ -74,4 +74,4 @@ var Plugin14 = define({
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { Plugin12, exports_formatter };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./file-retention-xgmqxxb1.js";
|
|
5
5
|
import {
|
|
6
6
|
Event19,
|
|
7
7
|
Service77,
|
|
8
8
|
node81
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-65396x6s.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service57,
|
|
12
|
+
node62
|
|
13
|
+
} from "./file-retention-5qzhcqq0.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service79,
|
|
19
|
+
node83
|
|
20
|
+
} from "./file-retention-crg2e90r.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-retention-bv8m9t85.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-retention-2wwy9jkx.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-retention-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service58,
|
|
36
|
+
Event13,
|
|
37
|
+
node63
|
|
38
|
+
} from "./file-retention-8rpqbtbt.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
47
|
Options: () => Options8,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service56,
|
|
49
49
|
Test: () => Test2,
|
|
50
50
|
configured: () => configured10,
|
|
51
51
|
latest: () => latest2,
|
|
52
52
|
layer: () => layer20,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node61,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -71,7 +71,7 @@ var Options8 = Schema.Struct({
|
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service56 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service56, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var layer20 = (options) => Layer.effect(
|
|
94
|
+
var layer20 = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
98
|
-
const bus = yield*
|
|
96
|
+
const location = yield* Service79;
|
|
97
|
+
const watcher = yield* Service57;
|
|
98
|
+
const bus = yield* Service81;
|
|
99
99
|
const credentials = yield* Service77;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service58;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -222,7 +222,7 @@ var layer20 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
224
|
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
-
yield* bus.subscribe(
|
|
225
|
+
yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -250,7 +250,7 @@ var layer20 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service56.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -264,11 +264,11 @@ var layer20 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
264
264
|
}));
|
|
265
265
|
function configured10(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
267
|
+
service: Service56,
|
|
268
268
|
layer: layer20(options),
|
|
269
|
-
deps: [
|
|
269
|
+
deps: [node62, node85, FSUtil.node, Global.node, node83, node81, node63]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node61 = configured10();
|
|
273
273
|
|
|
274
|
-
export { latest2, Options8,
|
|
274
|
+
export { latest2, Options8, Service56, Test2, testLayer2, layer20, configured10, node61, exports_config };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-drwq78ky.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin3,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
node86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-vy4zg7qh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service79,
|
|
9
|
+
node83
|
|
10
|
+
} from "./file-retention-crg2e90r.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
make17
|
|
16
|
+
} from "./file-retention-rjgxhawe.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service52,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node57
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service52 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service79;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const git = yield*
|
|
39
|
+
const git = yield* make17;
|
|
40
40
|
const state = create3({
|
|
41
41
|
name: "worktree",
|
|
42
42
|
initial: () => ({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service52.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node57 = makeLocationNode({
|
|
61
|
+
service: Service52,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node83, Global.node, node86, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service52, node57, exports_strategies };
|