@opencode/core 0.0.0-dev-20035 → 0.0.0-dev-20039
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{instruction-discovery-bfcwx7ng.js → persistent-pty-09r2qp1t.js} +32 -32
- package/dist/chunks/{instruction-discovery-kfphszmj.js → persistent-pty-0evkspfq.js} +9 -9
- package/dist/chunks/persistent-pty-0mesazry.js +4 -0
- package/dist/chunks/{instruction-discovery-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{instruction-discovery-p4thxdrt.js → persistent-pty-0rdt631y.js} +16 -16
- package/dist/chunks/{instruction-discovery-0ryd0fps.js → persistent-pty-0ryd0fps.js} +2 -2
- package/dist/chunks/{instruction-discovery-nca7p386.js → persistent-pty-0z8vjex2.js} +7 -7
- package/dist/chunks/{instruction-discovery-pn4n9n96.js → persistent-pty-152c24g9.js} +15 -15
- package/dist/chunks/{instruction-discovery-5x6h8zsv.js → persistent-pty-178h7bcz.js} +10 -10
- package/dist/chunks/{instruction-discovery-yp2x3t23.js → persistent-pty-1acjjqhc.js} +4 -4
- package/dist/chunks/{instruction-discovery-1phdpwc2.js → persistent-pty-1d4pa8k8.js} +18 -18
- package/dist/chunks/{instruction-discovery-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{instruction-discovery-9jd99yzh.js → persistent-pty-1g3wfhvf.js} +12 -12
- package/dist/chunks/{instruction-discovery-zt1q6574.js → persistent-pty-1nfy4m2r.js} +11 -11
- package/dist/chunks/{instruction-discovery-cm7ckfx7.js → persistent-pty-1s9w9x7p.js} +11 -11
- package/dist/chunks/{instruction-discovery-css18bw4.js → persistent-pty-1xpex35t.js} +4 -4
- package/dist/chunks/{instruction-discovery-rnrng9qw.js → persistent-pty-1ywjfj99.js} +14 -14
- package/dist/chunks/{instruction-discovery-hq4dtc3h.js → persistent-pty-1za7na14.js} +11 -11
- package/dist/chunks/{instruction-discovery-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{instruction-discovery-7a840x3v.js → persistent-pty-23k7adzm.js} +11 -11
- package/dist/chunks/{instruction-discovery-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
- package/dist/chunks/{instruction-discovery-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{instruction-discovery-1prdjary.js → persistent-pty-2c3gf4hg.js} +19 -19
- package/dist/chunks/{instruction-discovery-gscd24zq.js → persistent-pty-2gc9tj0a.js} +29 -29
- package/dist/chunks/{instruction-discovery-rey5gbxv.js → persistent-pty-2mq1h16s.js} +9 -9
- package/dist/chunks/{instruction-discovery-nn3r97b9.js → persistent-pty-2qmn5bfe.js} +4 -4
- package/dist/chunks/{instruction-discovery-1n98hr1n.js → persistent-pty-302vxrt0.js} +3 -3
- package/dist/chunks/{instruction-discovery-npyy71b9.js → persistent-pty-31jp5918.js} +16 -16
- package/dist/chunks/{instruction-discovery-ratrq7cm.js → persistent-pty-34rkz0x9.js} +7 -7
- package/dist/chunks/persistent-pty-39c607zz.js +252 -0
- package/dist/chunks/{instruction-discovery-e6rhpkh1.js → persistent-pty-3d7gjx2p.js} +24 -24
- package/dist/chunks/{instruction-discovery-cbd96z7n.js → persistent-pty-3eye3e08.js} +25 -25
- package/dist/chunks/{instruction-discovery-90jp2e9k.js → persistent-pty-3fbhsscp.js} +5 -5
- package/dist/chunks/{instruction-discovery-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{instruction-discovery-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{instruction-discovery-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{instruction-discovery-d649rh1w.js → persistent-pty-3zwwaknr.js} +4 -4
- package/dist/chunks/{instruction-discovery-h0yn1h2z.js → persistent-pty-40xjt1qy.js} +87 -87
- package/dist/chunks/{instruction-discovery-4svnyw4f.js → persistent-pty-485sy19s.js} +31 -31
- package/dist/chunks/{instruction-discovery-j6qe1feh.js → persistent-pty-4bdz3rrf.js} +9 -9
- package/dist/chunks/{instruction-discovery-4bm5ja14.js → persistent-pty-4bm5ja14.js} +1 -1
- package/dist/chunks/{instruction-discovery-5amwhyk8.js → persistent-pty-4bp47sa2.js} +6 -6
- package/dist/chunks/{instruction-discovery-715tkws1.js → persistent-pty-4prhbtb1.js} +19 -19
- package/dist/chunks/{instruction-discovery-aye1rqq8.js → persistent-pty-4ssabby3.js} +5 -5
- package/dist/chunks/{instruction-discovery-0m0tvs7x.js → persistent-pty-4y303w9z.js} +4 -4
- package/dist/chunks/{instruction-discovery-54tcyq79.js → persistent-pty-54tcyq79.js} +2 -2
- package/dist/chunks/{instruction-discovery-56gdpj1q.js → persistent-pty-56gdpj1q.js} +2 -2
- package/dist/chunks/{instruction-discovery-x9r5n1mh.js → persistent-pty-5a8mqqmd.js} +93 -93
- package/dist/chunks/{instruction-discovery-pc2w18tz.js → persistent-pty-5bjmhyyh.js} +11 -11
- package/dist/chunks/{instruction-discovery-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{instruction-discovery-5ekn9679.js → persistent-pty-5ekn9679.js} +1 -1
- package/dist/chunks/{instruction-discovery-4s2t67gb.js → persistent-pty-5hvymspb.js} +3 -3
- package/dist/chunks/{instruction-discovery-7vrq869m.js → persistent-pty-5nqt8hga.js} +20 -20
- package/dist/chunks/{instruction-discovery-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{instruction-discovery-1vvr2ajh.js → persistent-pty-5wcec76y.js} +14 -14
- package/dist/chunks/{instruction-discovery-v2ja366f.js → persistent-pty-5x17qhbs.js} +13 -13
- package/dist/chunks/persistent-pty-619r8v3y.js +18 -0
- package/dist/chunks/{instruction-discovery-m3apdt2a.js → persistent-pty-641h1r3m.js} +44 -44
- package/dist/chunks/{instruction-discovery-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{instruction-discovery-e4934fpk.js → persistent-pty-66v7kmb1.js} +9 -9
- package/dist/chunks/{instruction-discovery-zm8zfhe0.js → persistent-pty-6ffyb2hm.js} +30 -30
- package/dist/chunks/{instruction-discovery-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{instruction-discovery-efbtb4e8.js → persistent-pty-6netbxjb.js} +11 -11
- package/dist/chunks/{instruction-discovery-8s77jh8q.js → persistent-pty-6qfwct6s.js} +7 -7
- package/dist/chunks/{instruction-discovery-zv885epr.js → persistent-pty-757kp7m4.js} +161 -161
- package/dist/chunks/{instruction-discovery-578btx0z.js → persistent-pty-761rsftx.js} +24 -24
- package/dist/chunks/{instruction-discovery-h2hm217k.js → persistent-pty-77r8rc3a.js} +3 -3
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-7dqw4kz8.js → persistent-pty-7dqw4kz8.js} +1 -1
- package/dist/chunks/{instruction-discovery-d4ytm8cd.js → persistent-pty-7en68zcv.js} +6 -6
- package/dist/chunks/{instruction-discovery-j5wt0xg5.js → persistent-pty-7rjejn76.js} +20 -20
- package/dist/chunks/{instruction-discovery-2qrdqbn9.js → persistent-pty-7sz88z04.js} +18 -18
- package/dist/chunks/{instruction-discovery-sqy4ahhk.js → persistent-pty-7tgakezr.js} +1 -1
- package/dist/chunks/{instruction-discovery-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instruction-discovery-pekgbny1.js → persistent-pty-8dzh1cd7.js} +44 -44
- package/dist/chunks/{instruction-discovery-3mcjejv0.js → persistent-pty-8h8zbh46.js} +15 -15
- package/dist/chunks/{instruction-discovery-32mptbtk.js → persistent-pty-8kjkx24x.js} +18 -18
- package/dist/chunks/{instruction-discovery-ft6ep068.js → persistent-pty-8ttcxa5h.js} +17 -17
- package/dist/chunks/{instruction-discovery-3hfr6h8q.js → persistent-pty-8v6pyhej.js} +8 -8
- package/dist/chunks/{instruction-discovery-39zjwp2f.js → persistent-pty-8vp3gjhy.js} +34 -34
- package/dist/chunks/{instruction-discovery-5773vcrt.js → persistent-pty-91mzt8hr.js} +10 -10
- package/dist/chunks/{instruction-discovery-e0egw4bf.js → persistent-pty-93fybsct.js} +37 -37
- package/dist/chunks/{instruction-discovery-g2pkmnsy.js → persistent-pty-93wh6as2.js} +30 -30
- package/dist/chunks/{instruction-discovery-mbjzy413.js → persistent-pty-95ct4mzm.js} +12 -12
- package/dist/chunks/{instruction-discovery-jk5nd1ev.js → persistent-pty-97k8mqqv.js} +43 -43
- package/dist/chunks/{instruction-discovery-en7c0xf8.js → persistent-pty-9bmaysqm.js} +18 -18
- package/dist/chunks/{instruction-discovery-eqnpzj6x.js → persistent-pty-9naypetk.js} +47 -47
- package/dist/chunks/{instruction-discovery-zcprnezk.js → persistent-pty-9syv1v4t.js} +23 -23
- package/dist/chunks/{instruction-discovery-wps88n7s.js → persistent-pty-9t3ensh9.js} +13 -13
- package/dist/chunks/{instruction-discovery-9kdxktf7.js → persistent-pty-9vvedye8.js} +28 -28
- package/dist/chunks/{instruction-discovery-wr7ps67x.js → persistent-pty-9w4ppqge.js} +5 -5
- package/dist/chunks/{instruction-discovery-djkbap09.js → persistent-pty-9xxvhx1n.js} +28 -28
- package/dist/chunks/{instruction-discovery-8x5fbbq2.js → persistent-pty-a2dnpcep.js} +22 -22
- package/dist/chunks/{instruction-discovery-byfdp7sc.js → persistent-pty-a507s7rw.js} +19 -19
- package/dist/chunks/{instruction-discovery-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{instruction-discovery-659sfxq9.js → persistent-pty-ajzsbz6h.js} +11 -11
- package/dist/chunks/{instruction-discovery-11s59a84.js → persistent-pty-as71pn4z.js} +12 -12
- package/dist/chunks/{instruction-discovery-1e5e9c2h.js → persistent-pty-avm76bfr.js} +9 -9
- package/dist/chunks/{instruction-discovery-z4ztj7g0.js → persistent-pty-b0dgvpy7.js} +9 -9
- package/dist/chunks/{instruction-discovery-1ed2t66p.js → persistent-pty-b0vhkd8y.js} +4 -4
- package/dist/chunks/{instruction-discovery-s7pfqayf.js → persistent-pty-b50cy11c.js} +5 -5
- package/dist/chunks/{instruction-discovery-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{instruction-discovery-bjtzbw4r.js → persistent-pty-bjtzbw4r.js} +3 -3
- package/dist/chunks/{instruction-discovery-88z66f6b.js → persistent-pty-c3836xxs.js} +43 -43
- package/dist/chunks/{instruction-discovery-20fk9aev.js → persistent-pty-c7tt9wkp.js} +4 -4
- package/dist/chunks/{instruction-discovery-kjhp2gs9.js → persistent-pty-chfqtgk8.js} +4 -4
- package/dist/chunks/{instruction-discovery-q3t37ft6.js → persistent-pty-csdaj16z.js} +3 -3
- package/dist/chunks/{instruction-discovery-gkbk41jf.js → persistent-pty-d3v66745.js} +8 -8
- package/dist/chunks/{instruction-discovery-kbez90jx.js → persistent-pty-d7xkg5ac.js} +9 -9
- package/dist/chunks/{instruction-discovery-57ez7d0k.js → persistent-pty-d9s573fh.js} +2 -2
- package/dist/chunks/persistent-pty-ddnkdez9.js +503 -0
- package/dist/chunks/{instruction-discovery-htvkgf1n.js → persistent-pty-dj7qp1vz.js} +22 -22
- package/dist/chunks/{instruction-discovery-mtjrch8b.js → persistent-pty-dqkpw5fd.js} +24 -24
- package/dist/chunks/{instruction-discovery-j6bx7044.js → persistent-pty-e9p00fqr.js} +11 -11
- package/dist/chunks/{instruction-discovery-ee381eds.js → persistent-pty-eb46v86n.js} +36 -36
- package/dist/chunks/{instruction-discovery-v2dx9ytq.js → persistent-pty-ee954pm5.js} +8 -8
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-kad7k73d.js → persistent-pty-ep9py3fj.js} +8 -8
- package/dist/chunks/{instruction-discovery-t9ap0fta.js → persistent-pty-epz0536n.js} +13 -13
- package/dist/chunks/{instruction-discovery-5t7an2a8.js → persistent-pty-erg9a3bf.js} +11 -11
- package/dist/chunks/{instruction-discovery-erw5rpbs.js → persistent-pty-erw5rpbs.js} +2 -2
- package/dist/chunks/{instruction-discovery-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{instruction-discovery-dbc2k69g.js → persistent-pty-evbwcqsm.js} +32 -32
- package/dist/chunks/{instruction-discovery-4d4s568v.js → persistent-pty-exft5dyr.js} +13 -13
- package/dist/chunks/{instruction-discovery-q5797vwk.js → persistent-pty-f3pajhn5.js} +29 -29
- package/dist/chunks/{instruction-discovery-qsaqc0wr.js → persistent-pty-f71as8r2.js} +16 -16
- package/dist/chunks/{instruction-discovery-45h6h3dt.js → persistent-pty-f73djwtn.js} +30 -30
- package/dist/chunks/persistent-pty-fddeqz3x.js +26 -0
- package/dist/chunks/{instruction-discovery-j148vjdr.js → persistent-pty-fker3sdp.js} +19 -19
- package/dist/chunks/{instruction-discovery-22ebvdeb.js → persistent-pty-fpgew61y.js} +32 -32
- package/dist/chunks/{instruction-discovery-55eajq8q.js → persistent-pty-fpym893h.js} +6 -6
- package/dist/chunks/{instruction-discovery-r53cm70s.js → persistent-pty-fx5d5dst.js} +5 -5
- package/dist/chunks/{instruction-discovery-qj8eh1ht.js → persistent-pty-g190xswt.js} +4 -4
- package/dist/chunks/{instruction-discovery-t9ca33zz.js → persistent-pty-g1mth37h.js} +4 -4
- package/dist/chunks/{instruction-discovery-4pymtaw6.js → persistent-pty-gckqvg4d.js} +12 -12
- package/dist/chunks/{instruction-discovery-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{instruction-discovery-m3af1xqw.js → persistent-pty-gfstbejf.js} +9 -9
- package/dist/chunks/{instruction-discovery-gfvb90ym.js → persistent-pty-gfvb90ym.js} +2 -2
- package/dist/chunks/{instruction-discovery-1saq4hr5.js → persistent-pty-gj7rap3q.js} +29 -29
- package/dist/chunks/{instruction-discovery-evbgk2k8.js → persistent-pty-gqchpbtd.js} +5 -5
- package/dist/chunks/{instruction-discovery-vgsrdn5q.js → persistent-pty-gv8cj7t2.js} +8 -8
- package/dist/chunks/{instruction-discovery-pamen60e.js → persistent-pty-gzyn60n2.js} +11 -11
- package/dist/chunks/{instruction-discovery-gmx50r0d.js → persistent-pty-h0np5xxv.js} +9 -9
- package/dist/chunks/{instruction-discovery-nsqqzzth.js → persistent-pty-h3z0pqmp.js} +39 -39
- package/dist/chunks/{instruction-discovery-91pn7y7z.js → persistent-pty-h67gkhys.js} +7 -7
- package/dist/chunks/{instruction-discovery-44h5tttr.js → persistent-pty-h6r3nrb9.js} +4 -4
- package/dist/chunks/{instruction-discovery-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{instruction-discovery-m88pfp32.js → persistent-pty-h8y73a77.js} +3 -3
- package/dist/chunks/{instruction-discovery-4qa2vbsh.js → persistent-pty-haq7tc4w.js} +15 -15
- package/dist/chunks/{instruction-discovery-2wt5435z.js → persistent-pty-hb9mtrsd.js} +39 -39
- package/dist/chunks/{instruction-discovery-mx9vqzsb.js → persistent-pty-hq8zt1th.js} +6 -6
- package/dist/chunks/{instruction-discovery-zzy8bv2k.js → persistent-pty-hv7wtjqq.js} +7 -7
- package/dist/chunks/{instruction-discovery-rtathh62.js → persistent-pty-hz84tk5e.js} +8 -8
- package/dist/chunks/{instruction-discovery-15kgmdgj.js → persistent-pty-j2r8stxx.js} +18 -18
- package/dist/chunks/{instruction-discovery-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{instruction-discovery-tb574xta.js → persistent-pty-jc6epbw5.js} +17 -17
- package/dist/chunks/{instruction-discovery-bjn91642.js → persistent-pty-jva4mgym.js} +4 -4
- package/dist/chunks/{instruction-discovery-mt2z56f5.js → persistent-pty-jvv91we3.js} +25 -25
- package/dist/chunks/{instruction-discovery-atnq9fe8.js → persistent-pty-k11tdke4.js} +30 -30
- package/dist/chunks/{instruction-discovery-eneefzjq.js → persistent-pty-k1qrnqst.js} +8 -8
- package/dist/chunks/{instruction-discovery-nzks3jc8.js → persistent-pty-k3c624dm.js} +3 -3
- package/dist/chunks/{instruction-discovery-ap3b078m.js → persistent-pty-k3vs3y4h.js} +11 -11
- package/dist/chunks/{instruction-discovery-wta2bqzn.js → persistent-pty-k5cpcgxv.js} +18 -18
- package/dist/chunks/{instruction-discovery-7w57ebwc.js → persistent-pty-k7jk5gbc.js} +5 -5
- package/dist/chunks/{instruction-discovery-44ke2mar.js → persistent-pty-k9kj6xed.js} +6 -6
- package/dist/chunks/{instruction-discovery-qemwa272.js → persistent-pty-kdvbsvbn.js} +29 -29
- package/dist/chunks/{instruction-discovery-0wexbj72.js → persistent-pty-kej12pt8.js} +12 -12
- package/dist/chunks/{instruction-discovery-d3p4xgmg.js → persistent-pty-khxsha55.js} +9 -9
- package/dist/chunks/{instruction-discovery-gtwzfepv.js → persistent-pty-kkf5t9v2.js} +6 -6
- package/dist/chunks/{instruction-discovery-v1eq4e05.js → persistent-pty-kmpsdvkf.js} +5 -5
- package/dist/chunks/{instruction-discovery-vzdazkqw.js → persistent-pty-kpdf6701.js} +15 -15
- package/dist/chunks/{instruction-discovery-wmz1520h.js → persistent-pty-kwkpr234.js} +20 -20
- package/dist/chunks/{instruction-discovery-7cbq4mgj.js → persistent-pty-kxf5mmhn.js} +17 -17
- package/dist/chunks/{instruction-discovery-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{instruction-discovery-xkfpn5tc.js → persistent-pty-m8qv6hfv.js} +13 -13
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-mnxhb66b.js → persistent-pty-mnvesx1a.js} +17 -17
- package/dist/chunks/{instruction-discovery-sx1fh020.js → persistent-pty-mpc99crn.js} +16 -16
- package/dist/chunks/{instruction-discovery-enqpmdm5.js → persistent-pty-mqr4rx34.js} +35 -35
- package/dist/chunks/{instruction-discovery-1bbkgx8g.js → persistent-pty-mvfsc1pv.js} +3 -3
- package/dist/chunks/{instruction-discovery-4s9mtqqy.js → persistent-pty-n18pptkj.js} +11 -11
- package/dist/chunks/{instruction-discovery-dsevvrv2.js → persistent-pty-nbbm23k4.js} +37 -37
- package/dist/chunks/{instruction-discovery-q8f2bmng.js → persistent-pty-nevrz7qv.js} +56 -56
- package/dist/chunks/{instruction-discovery-gm52bzsg.js → persistent-pty-nf5zeerk.js} +32 -32
- package/dist/chunks/{instruction-discovery-rt03rqyf.js → persistent-pty-ng6c26h7.js} +8 -8
- package/dist/chunks/{instruction-discovery-xks77b5m.js → persistent-pty-nj40d921.js} +44 -44
- package/dist/chunks/{instruction-discovery-b3grbp31.js → persistent-pty-nne8jnth.js} +7 -7
- package/dist/chunks/{instruction-discovery-y9ac25rv.js → persistent-pty-nq1pkwqs.js} +23 -23
- package/dist/chunks/{instruction-discovery-n1bt1yd9.js → persistent-pty-ny0wv14t.js} +5 -5
- package/dist/chunks/{instruction-discovery-0gaj4617.js → persistent-pty-p0b4ytnr.js} +4 -4
- package/dist/chunks/{instruction-discovery-th62b91t.js → persistent-pty-p1y2rvb9.js} +18 -18
- package/dist/chunks/{instruction-discovery-tww8z1vj.js → persistent-pty-p6m6n2kf.js} +33 -33
- package/dist/chunks/{instruction-discovery-rw1kqm1d.js → persistent-pty-pg9p756q.js} +9 -9
- package/dist/chunks/{instruction-discovery-6jq1twvs.js → persistent-pty-ph2thkmn.js} +17 -17
- package/dist/chunks/{instruction-discovery-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instruction-discovery-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-gkz88561.js → persistent-pty-ps64rfj0.js} +1 -1
- package/dist/chunks/{instruction-discovery-psazpmmj.js → persistent-pty-psazpmmj.js} +2 -2
- package/dist/chunks/{instruction-discovery-1s7z0cjk.js → persistent-pty-q3qrmh0v.js} +5 -5
- package/dist/chunks/{instruction-discovery-7ppk1bd5.js → persistent-pty-q7t2zg9s.js} +18 -18
- package/dist/chunks/{instruction-discovery-zrahedb4.js → persistent-pty-qjgk3hk8.js} +15 -15
- package/dist/chunks/{instruction-discovery-bf0dbsxh.js → persistent-pty-qr8yt3hn.js} +6 -6
- package/dist/chunks/{instruction-discovery-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{instruction-discovery-y72zmemf.js → persistent-pty-qvb3nf84.js} +8 -8
- package/dist/chunks/{instruction-discovery-xga2m62q.js → persistent-pty-qvfh85cq.js} +13 -13
- package/dist/chunks/{instruction-discovery-fwy2bgzc.js → persistent-pty-qxw86d5h.js} +2 -2
- package/dist/chunks/{instruction-discovery-sdmve495.js → persistent-pty-qy83mrsx.js} +43 -43
- package/dist/chunks/{instruction-discovery-97zbn10c.js → persistent-pty-qynyj9jq.js} +7 -7
- package/dist/chunks/{instruction-discovery-gmjjhz4f.js → persistent-pty-r0cp9c3a.js} +6 -6
- package/dist/chunks/{instruction-discovery-e2v056qs.js → persistent-pty-r5ae9j8d.js} +9 -9
- package/dist/chunks/{instruction-discovery-xt0vajcx.js → persistent-pty-r70v011a.js} +20 -20
- package/dist/chunks/{instruction-discovery-vbh3tngh.js → persistent-pty-ragc7st3.js} +8 -8
- package/dist/chunks/{instruction-discovery-45f95y49.js → persistent-pty-rczq51rp.js} +8 -8
- package/dist/chunks/{instruction-discovery-k9d40v1y.js → persistent-pty-rdecwvm0.js} +4 -4
- package/dist/chunks/{instruction-discovery-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{instruction-discovery-zeh9ct20.js → persistent-pty-rq775frq.js} +2 -2
- package/dist/chunks/{instruction-discovery-3433kd31.js → persistent-pty-rs345c40.js} +3 -3
- package/dist/chunks/{instruction-discovery-cb50g36s.js → persistent-pty-rsdvdc68.js} +27 -27
- package/dist/chunks/{instruction-discovery-m2w22vaf.js → persistent-pty-s1njw3xh.js} +16 -16
- package/dist/chunks/{instruction-discovery-2eegacq4.js → persistent-pty-s5met55r.js} +8 -8
- package/dist/chunks/{instruction-discovery-eaj1djv9.js → persistent-pty-s8d7rejh.js} +6 -6
- package/dist/chunks/{instruction-discovery-krerckhf.js → persistent-pty-sa41km02.js} +20 -20
- package/dist/chunks/{instruction-discovery-pnra210x.js → persistent-pty-sgmsychm.js} +10 -10
- package/dist/chunks/{instruction-discovery-xp1f9m85.js → persistent-pty-sqgn58gm.js} +28 -28
- package/dist/chunks/{instruction-discovery-ze7b11e9.js → persistent-pty-sqt5xxjz.js} +25 -25
- package/dist/chunks/{instruction-discovery-jnn0bp1d.js → persistent-pty-swsp7ypn.js} +11 -11
- package/dist/chunks/{instruction-discovery-0r7yqxbf.js → persistent-pty-t3swkhbg.js} +5 -5
- package/dist/chunks/{instruction-discovery-af04s6ss.js → persistent-pty-t4mbtemh.js} +5 -5
- package/dist/chunks/{instruction-discovery-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{instruction-discovery-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{instruction-discovery-5j0v07dd.js → persistent-pty-tdph6ben.js} +54 -54
- package/dist/chunks/{instruction-discovery-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{instruction-discovery-sgrqhgmf.js → persistent-pty-te34bjm9.js} +8 -8
- package/dist/chunks/{instruction-discovery-965ggptx.js → persistent-pty-tgcnk5sw.js} +12 -12
- package/dist/chunks/{instruction-discovery-ztjsgstj.js → persistent-pty-tmx59f2z.js} +13 -13
- package/dist/chunks/{instruction-discovery-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{instruction-discovery-dkddc65t.js → persistent-pty-tx323b0h.js} +2 -2
- package/dist/chunks/{instruction-discovery-jca4demv.js → persistent-pty-tyqkzprt.js} +2 -2
- package/dist/chunks/{instruction-discovery-hn5tkwz5.js → persistent-pty-v2thg54p.js} +6 -6
- package/dist/chunks/{instruction-discovery-cgnjcbvc.js → persistent-pty-v8jkds5f.js} +74 -74
- package/dist/chunks/{instruction-discovery-akrnn5pm.js → persistent-pty-v8vgje16.js} +8 -8
- package/dist/chunks/{instruction-discovery-c6yaza7c.js → persistent-pty-vay5kkzq.js} +11 -11
- package/dist/chunks/{instruction-discovery-c039twec.js → persistent-pty-vc5d3pth.js} +8 -8
- package/dist/chunks/{instruction-discovery-jdm1k41p.js → persistent-pty-vd1ke7dk.js} +20 -20
- package/dist/chunks/{instruction-discovery-c4hpbxsz.js → persistent-pty-ve2hxe32.js} +11 -11
- package/dist/chunks/{instruction-discovery-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-dfe8djrf.js → persistent-pty-vncycja5.js} +4 -4
- package/dist/chunks/{instruction-discovery-9cyfspf3.js → persistent-pty-vtxr0yy2.js} +5 -5
- package/dist/chunks/{instruction-discovery-nhyq2g63.js → persistent-pty-vvetkfbd.js} +14 -14
- package/dist/chunks/{instruction-discovery-1rawk49q.js → persistent-pty-vww9cphx.js} +13 -13
- package/dist/chunks/{instruction-discovery-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-fpzdzkj0.js → persistent-pty-w64kqnqf.js} +19 -19
- package/dist/chunks/{instruction-discovery-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-hncjez84.js → persistent-pty-wfdd4dw9.js} +5 -5
- package/dist/chunks/{instruction-discovery-evfjsp4y.js → persistent-pty-wkpqecqd.js} +24 -24
- package/dist/chunks/{instruction-discovery-p6dvmy6m.js → persistent-pty-wnys78fq.js} +5 -5
- package/dist/chunks/{instruction-discovery-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instruction-discovery-x4rn42j9.js → persistent-pty-x5w4k6wc.js} +20 -20
- package/dist/chunks/{instruction-discovery-xmx6g731.js → persistent-pty-x8e1q2wf.js} +1 -1
- package/dist/chunks/{instruction-discovery-n484hve9.js → persistent-pty-x8etfcjj.js} +12 -12
- package/dist/chunks/{instruction-discovery-xfkkasph.js → persistent-pty-xfkkasph.js} +1 -1
- package/dist/chunks/{instruction-discovery-282nqtez.js → persistent-pty-xw4y9se0.js} +8 -8
- package/dist/chunks/{instruction-discovery-5zj68cj2.js → persistent-pty-xxc173qm.js} +28 -28
- package/dist/chunks/{instruction-discovery-e0r7vjdq.js → persistent-pty-y16p1w2y.js} +9 -9
- package/dist/chunks/{instruction-discovery-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instruction-discovery-pkfpcs6v.js → persistent-pty-y6440ej8.js} +48 -48
- package/dist/chunks/{instruction-discovery-dpkg50ah.js → persistent-pty-y71avatq.js} +4 -4
- package/dist/chunks/{instruction-discovery-eqrkd5z0.js → persistent-pty-yde6vznn.js} +4 -4
- package/dist/chunks/{instruction-discovery-q7qx1k0z.js → persistent-pty-yn1bvpb4.js} +26 -26
- package/dist/chunks/{instruction-discovery-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instruction-discovery-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/{instruction-discovery-gv6a8nnw.js → persistent-pty-yyb7tjpc.js} +2 -2
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
- package/dist/chunks/{instruction-discovery-jvf3yq6v.js → persistent-pty-zav06jzw.js} +4 -4
- package/dist/chunks/{instruction-discovery-svqww8e9.js → persistent-pty-zhc2jp5c.js} +12 -12
- package/dist/chunks/{instruction-discovery-qz4n3r55.js → persistent-pty-zkrvy30v.js} +33 -33
- package/dist/chunks/{instruction-discovery-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instruction-discovery-mpmef94f.js → persistent-pty-zs8c84j9.js} +30 -30
- package/dist/chunks/{instruction-discovery-g00n1506.js → persistent-pty-zxc6d5jg.js} +21 -21
- package/dist/chunks/{instruction-discovery-zxq2ej10.js → persistent-pty-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 +158 -158
- 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 +121 -121
- package/dist/config/plugin/source.js +126 -126
- 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 +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- 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 +93 -93
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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 +11 -11
- package/dist/filesystem.js +98 -98
- 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 +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +69 -69
- 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 +81 -81
- 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 +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +1 -1
- 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 +5 -5
- 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 +351 -351
- package/dist/plugin/tool-input-repair.js +2 -2
- package/dist/plugin/update.js +6 -6
- 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 +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- 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 +93 -93
- 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 +150 -150
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +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 +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +156 -156
- 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 +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/types/v1/config/migrate.d.ts +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- 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 +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- 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 +8 -8
- 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/instruction-discovery-7bqhzdpr.js +0 -252
- package/dist/chunks/instruction-discovery-82dwf0d7.js +0 -26
- package/dist/chunks/instruction-discovery-9sh4wc5j.js +0 -18
- package/dist/chunks/instruction-discovery-qapv375x.js +0 -4
- package/dist/chunks/instruction-discovery-rnvvvhba.js +0 -503
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-34c7v6d4.js → persistent-pty-34c7v6d4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make17
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make17 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make16 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make17, exports_run_coordinator };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service83,
|
|
4
|
+
node87
|
|
5
|
+
} from "./persistent-pty-f71as8r2.js";
|
|
6
6
|
import {
|
|
7
7
|
Service70,
|
|
8
8
|
node74
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-6qfwct6s.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event11,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service60,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node64,
|
|
26
26
|
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service60 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event11 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
80
|
const kv = yield* Service70;
|
|
81
|
-
const bus = yield*
|
|
81
|
+
const bus = yield* Service83;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
84
84
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event11.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service60.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event11.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event11.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node64 = makeGlobalNode({ service: Service60, layer, deps: [httpClient, node74, node87] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service60, Event11, inspect2, resolve4, node64, exports_wellknown };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-fpgew61y.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID12,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info26,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-6ffyb2hm.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive2(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID12.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info26.make({
|
|
98
|
+
...Info26.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID12.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service37,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer13,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node40
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service37 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service34, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service37.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node40 = makeGlobalNode({ service: Service37, layer: layer13, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service37, makeLayer2, layer13, node40, exports_model_transport };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-kkf5t9v2.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-302vxrt0.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
13
13
|
__export(exports_database, {
|
|
14
14
|
Database: () => exports_database,
|
|
15
15
|
Options: () => Options11,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service84,
|
|
17
17
|
configured: () => configured13,
|
|
18
18
|
configuredClient: () => configuredClient2,
|
|
19
19
|
layer: () => layer26,
|
|
20
20
|
layerFromClient: () => layerFromClient2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node88
|
|
22
22
|
});
|
|
23
23
|
import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
|
|
24
24
|
import { Context, Effect, Layer, Schema, Semaphore } from "effect";
|
|
@@ -30,9 +30,9 @@ var Options11 = Schema.Struct({
|
|
|
30
30
|
path: Schema.optional(Schema.String)
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class Service84 extends Context.Service()("@opencode/storage/Database") {
|
|
34
34
|
}
|
|
35
|
-
var databaseLayer = (lock) => Layer.effect(
|
|
35
|
+
var databaseLayer = (lock) => Layer.effect(Service84, Effect.gen(function* () {
|
|
36
36
|
const db = yield* makeDatabase;
|
|
37
37
|
if (supportsTuningPragmas) {
|
|
38
38
|
yield* db.run("PRAGMA journal_mode = WAL");
|
|
@@ -68,15 +68,15 @@ function layer26(options = { path: ":memory:" }) {
|
|
|
68
68
|
}
|
|
69
69
|
var layerFromClient2 = databaseLayer(Semaphore.make(1));
|
|
70
70
|
function configured13(options) {
|
|
71
|
-
return makeGlobalNode({ service:
|
|
71
|
+
return makeGlobalNode({ service: Service84, layer: layer26(options), deps: [Global.node] });
|
|
72
72
|
}
|
|
73
73
|
function configuredClient2(client) {
|
|
74
74
|
return makeGlobalNode({
|
|
75
|
-
service:
|
|
75
|
+
service: Service84,
|
|
76
76
|
layer: layerFromClient2.pipe(Layer.provide(client)),
|
|
77
77
|
deps: [Global.node]
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
-
var
|
|
80
|
+
var node88 = configured13({ path: ":memory:" });
|
|
81
81
|
|
|
82
|
-
export { Options11,
|
|
82
|
+
export { Options11, Service84, layer26, layerFromClient2, configured13, configuredClient2, node88, exports_database };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-fker3sdp.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-tx323b0h.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Formatter: () =>
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
13
|
+
var exports_formatter3 = {};
|
|
14
|
+
__export(exports_formatter3, {
|
|
15
|
+
Formatter: () => exports_formatter3,
|
|
16
|
+
Service: () => Service79,
|
|
17
|
+
node: () => node83
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service79 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
27
27
|
const location = yield* Service80;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service79.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node83 = makeLocationNode({
|
|
91
|
+
service: Service79,
|
|
92
92
|
layer,
|
|
93
93
|
deps: [node84, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service79, node83, exports_formatter3 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service58
|
|
4
|
+
} from "./persistent-pty-hb9mtrsd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service57
|
|
7
|
+
} from "./persistent-pty-fker3sdp.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell = {};
|
|
17
17
|
__export(exports_shell, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin7
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin7 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service58;
|
|
27
|
+
const shell = yield* Service57;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin8 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin7, exports_shell };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./persistent-pty-kej12pt8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service26
|
|
6
|
+
} from "./persistent-pty-5a8mqqmd.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make5
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make5 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service26;
|
|
24
|
+
const jobs = yield* Service52;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make9 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make5, exports_subagent_job };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./persistent-pty-f71as8r2.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event19
|
|
7
|
+
} from "./persistent-pty-mqr4rx34.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-nf5zeerk.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-h6r3nrb9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service13
|
|
17
|
+
} from "./persistent-pty-k1qrnqst.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID13,
|
|
20
20
|
mergeOverlay2,
|
|
21
21
|
mergeHeaders2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./persistent-pty-fpgew61y.js";
|
|
23
23
|
import {
|
|
24
24
|
ID4,
|
|
25
25
|
Input13,
|
|
26
26
|
Response2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./persistent-pty-j2r8stxx.js";
|
|
28
28
|
|
|
29
29
|
// src/plugin/provider/opencode.ts
|
|
30
30
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -64,7 +64,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
64
64
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
65
65
|
function oauth(http) {
|
|
66
66
|
return {
|
|
67
|
-
integrationID:
|
|
67
|
+
integrationID: ID14.make("opencode"),
|
|
68
68
|
method: {
|
|
69
69
|
id: methodID,
|
|
70
70
|
type: "oauth",
|
|
@@ -118,9 +118,9 @@ function oauth(http) {
|
|
|
118
118
|
var OpencodePlugin2 = define({
|
|
119
119
|
id: "opencode.provider.opencode",
|
|
120
120
|
effect: Effect.fn(function* (ctx) {
|
|
121
|
-
const bus = yield*
|
|
121
|
+
const bus = yield* Service83;
|
|
122
122
|
const http = yield* HttpClient.HttpClient;
|
|
123
|
-
const managed = yield*
|
|
123
|
+
const managed = yield* Service13;
|
|
124
124
|
const loading = Semaphore.makeUnsafe(1);
|
|
125
125
|
let snapshot = { config: undefined, connection: undefined, organization: undefined };
|
|
126
126
|
const load = Effect.fn("OpencodePlugin.load")(function* () {
|
|
@@ -153,7 +153,7 @@ var OpencodePlugin2 = define({
|
|
|
153
153
|
providers.update(providerID, (provider) => {
|
|
154
154
|
if (source && source.provider !== provider)
|
|
155
155
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
156
|
-
provider.integrationID =
|
|
156
|
+
provider.integrationID = ID14.make("opencode");
|
|
157
157
|
if (item.canonical !== undefined)
|
|
158
158
|
provider.canonical = item.canonical;
|
|
159
159
|
if (item.name !== undefined)
|
|
@@ -223,7 +223,7 @@ var OpencodePlugin2 = define({
|
|
|
223
223
|
sourceConnection: snapshot.connection
|
|
224
224
|
});
|
|
225
225
|
}
|
|
226
|
-
const item = providers.get(
|
|
226
|
+
const item = providers.get(ID13.opencode);
|
|
227
227
|
if (!item)
|
|
228
228
|
return;
|
|
229
229
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -235,7 +235,7 @@ var OpencodePlugin2 = define({
|
|
|
235
235
|
});
|
|
236
236
|
});
|
|
237
237
|
yield* ctx.model.transform((models) => {
|
|
238
|
-
const item = models.provider.get(
|
|
238
|
+
const item = models.provider.get(ID13.opencode);
|
|
239
239
|
if (!item)
|
|
240
240
|
return;
|
|
241
241
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -291,7 +291,7 @@ var OpencodePlugin2 = define({
|
|
|
291
291
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
292
292
|
});
|
|
293
293
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
294
|
-
yield* bus.subscribe(
|
|
294
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
295
295
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
296
296
|
})
|
|
297
297
|
});
|