@opencode/core 0.0.0-dev-19679 → 0.0.0-dev-19682
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{formatter-zsjkwtsn.js → persistent-pty-0457sjwy.js} +11 -11
- package/dist/chunks/{formatter-1qs9yxn9.js → persistent-pty-0d1bsqa1.js} +15 -15
- package/dist/chunks/{formatter-ddj0ymwc.js → persistent-pty-0f9afca0.js} +5 -5
- package/dist/chunks/{formatter-9tpme7yj.js → persistent-pty-0m8ssbne.js} +10 -10
- package/dist/chunks/persistent-pty-0mesazry.js +4 -0
- package/dist/chunks/{formatter-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{formatter-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{formatter-1xp9teg7.js → persistent-pty-0tvcf6qn.js} +21 -21
- package/dist/chunks/{formatter-9hwxgnfb.js → persistent-pty-0xp5hpj0.js} +42 -42
- package/dist/chunks/{formatter-txdz6xps.js → persistent-pty-0zbmh4se.js} +30 -30
- package/dist/chunks/{formatter-971wwt9m.js → persistent-pty-17es1da5.js} +14 -14
- package/dist/chunks/{formatter-by9thqa4.js → persistent-pty-18sxed07.js} +40 -40
- package/dist/chunks/{formatter-j047qggn.js → persistent-pty-1atzs1aw.js} +10 -10
- package/dist/chunks/{formatter-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{formatter-6t5jxagc.js → persistent-pty-1drb93k1.js} +32 -32
- package/dist/chunks/{formatter-2q231by8.js → persistent-pty-1fdf6jkm.js} +4 -4
- package/dist/chunks/{formatter-1dbrqace.js → persistent-pty-1ftd87y6.js} +14 -14
- package/dist/chunks/{formatter-ep6xqv6h.js → persistent-pty-1vp2wv45.js} +26 -26
- package/dist/chunks/{formatter-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{formatter-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
- package/dist/chunks/{formatter-grqs2tes.js → persistent-pty-26bg82qa.js} +11 -11
- package/dist/chunks/{formatter-06dxphr1.js → persistent-pty-26k5bknw.js} +4 -4
- package/dist/chunks/{formatter-zcy30wa5.js → persistent-pty-29ekt46m.js} +21 -21
- package/dist/chunks/{formatter-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{formatter-y0rszavt.js → persistent-pty-2ca164mb.js} +6 -6
- package/dist/chunks/{formatter-g1sxm558.js → persistent-pty-2eegacq4.js} +8 -8
- package/dist/chunks/{formatter-qgn6gcr1.js → persistent-pty-2k8khapm.js} +5 -5
- package/dist/chunks/{formatter-rbf7yj9j.js → persistent-pty-2zmnbmev.js} +14 -14
- package/dist/chunks/{formatter-d216944b.js → persistent-pty-34rkz0x9.js} +4 -4
- package/dist/chunks/{formatter-w1jtwn81.js → persistent-pty-3a3m4psf.js} +13 -13
- package/dist/chunks/{formatter-nvzpyqmz.js → persistent-pty-3chrvcfn.js} +11 -11
- package/dist/chunks/{formatter-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{formatter-2wjkk1n7.js → persistent-pty-3gmdw0js.js} +10 -10
- package/dist/chunks/{formatter-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{formatter-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{formatter-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{formatter-6kcgkr6d.js → persistent-pty-3zc93ghn.js} +19 -19
- package/dist/chunks/{formatter-bc5edygd.js → persistent-pty-44h5tttr.js} +4 -4
- package/dist/chunks/{formatter-k9kj6xed.js → persistent-pty-44ke2mar.js} +6 -6
- package/dist/chunks/{formatter-c3yw71c8.js → persistent-pty-47bndgm5.js} +39 -39
- package/dist/chunks/{formatter-t71v2ka4.js → persistent-pty-4drgpw32.js} +5 -5
- package/dist/chunks/{formatter-ma8xfq73.js → persistent-pty-4fpwq1r9.js} +3 -3
- package/dist/chunks/{formatter-tmcync46.js → persistent-pty-4kzetxh1.js} +14 -14
- package/dist/chunks/{formatter-swb3rex7.js → persistent-pty-4n4k0cnh.js} +4 -4
- package/dist/chunks/{formatter-k64qd7k1.js → persistent-pty-4ttbd9rb.js} +19 -19
- package/dist/chunks/{formatter-ggx4p1yv.js → persistent-pty-4vf6h4mv.js} +8 -8
- package/dist/chunks/{formatter-t58pgdm3.js → persistent-pty-4xmqhafq.js} +19 -19
- package/dist/chunks/{formatter-48tpvksp.js → persistent-pty-53g11zbg.js} +1 -1
- package/dist/chunks/{formatter-mfqp6xfm.js → persistent-pty-56gdpj1q.js} +6 -6
- package/dist/chunks/{formatter-d9s573fh.js → persistent-pty-57ez7d0k.js} +2 -2
- package/dist/chunks/{formatter-epe270ka.js → persistent-pty-5by067t8.js} +4 -4
- package/dist/chunks/{formatter-jexxy024.js → persistent-pty-5cmxdwv8.js} +3 -3
- package/dist/chunks/{formatter-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{formatter-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{formatter-hn961kdb.js → persistent-pty-5tpy2fbk.js} +12 -12
- package/dist/chunks/{formatter-388hykv8.js → persistent-pty-5vb3py7h.js} +4 -4
- package/dist/chunks/{formatter-xzwtfmxp.js → persistent-pty-5zf9zmc3.js} +7 -7
- package/dist/chunks/{formatter-rby1t0fa.js → persistent-pty-65e72azk.js} +3 -3
- package/dist/chunks/{formatter-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{formatter-2s9cgapc.js → persistent-pty-677phc5j.js} +18 -18
- package/dist/chunks/{formatter-g9es1mvw.js → persistent-pty-68tr05pn.js} +33 -33
- package/dist/chunks/{formatter-dx71f7x8.js → persistent-pty-6f4jyr9n.js} +1 -1
- package/dist/chunks/{formatter-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{formatter-7q799ka0.js → persistent-pty-6ng8rhkc.js} +12 -12
- package/dist/chunks/{formatter-46eaec1k.js → persistent-pty-709mss9f.js} +18 -18
- package/dist/chunks/{formatter-rtvjmksn.js → persistent-pty-771mw8n5.js} +79 -79
- package/dist/chunks/{formatter-n1c2f0d1.js → persistent-pty-77z07hfr.js} +5 -5
- package/dist/chunks/{formatter-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{formatter-jq7wke7q.js → persistent-pty-7e0b5fpv.js} +13 -13
- package/dist/chunks/{formatter-w3x9v1nk.js → persistent-pty-7j2qha59.js} +8 -8
- package/dist/chunks/{formatter-y211r34z.js → persistent-pty-7pjh2c00.js} +24 -24
- package/dist/chunks/{formatter-mzn8y9kv.js → persistent-pty-7rqzqf2y.js} +3 -3
- package/dist/chunks/{formatter-myfcz0dp.js → persistent-pty-7xnpcceb.js} +30 -30
- package/dist/chunks/{formatter-qybgqjrq.js → persistent-pty-83d2wykz.js} +22 -22
- package/dist/chunks/{formatter-kmq5vwh3.js → persistent-pty-8cnzmmsd.js} +23 -23
- package/dist/chunks/{formatter-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{formatter-dppk487s.js → persistent-pty-8gyk9vq5.js} +4 -4
- package/dist/chunks/{formatter-knyxj63x.js → persistent-pty-8kf7y4ht.js} +3 -3
- package/dist/chunks/{formatter-dj2t23y0.js → persistent-pty-8p4f9s12.js} +2 -2
- package/dist/chunks/{formatter-mx0xbf1r.js → persistent-pty-8rx2gh2n.js} +81 -81
- package/dist/chunks/{formatter-ah3dvs9v.js → persistent-pty-8xfqr98k.js} +14 -14
- package/dist/chunks/{formatter-1dhhxh6a.js → persistent-pty-90rrdtsa.js} +10 -10
- package/dist/chunks/{formatter-jxb34sm7.js → persistent-pty-98s8e1rw.js} +8 -8
- package/dist/chunks/{formatter-91f2smre.js → persistent-pty-99jk88nh.js} +42 -42
- package/dist/chunks/{formatter-5e66gv88.js → persistent-pty-9cyc6z1w.js} +10 -10
- package/dist/chunks/{formatter-d0w96wb4.js → persistent-pty-9g2dhd49.js} +12 -12
- package/dist/chunks/{formatter-8afez20c.js → persistent-pty-9jvshbgc.js} +20 -20
- package/dist/chunks/{formatter-n57ktpxf.js → persistent-pty-9r4twygd.js} +29 -29
- package/dist/chunks/{formatter-5c4hm403.js → persistent-pty-a1bz86dw.js} +3 -3
- package/dist/chunks/{formatter-c06p2a9p.js → persistent-pty-a50z0fpr.js} +17 -17
- package/dist/chunks/{formatter-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{formatter-02y3xw2c.js → persistent-pty-afm11xz0.js} +3 -3
- package/dist/chunks/{formatter-e3gxvnwd.js → persistent-pty-akan8yn4.js} +11 -11
- package/dist/chunks/{formatter-vxm0nypn.js → persistent-pty-an66st8b.js} +25 -25
- package/dist/chunks/{formatter-jh28hxeq.js → persistent-pty-ax36eyar.js} +8 -8
- package/dist/chunks/{formatter-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{formatter-bz85s9hh.js → persistent-pty-b97cbvw3.js} +1 -1
- package/dist/chunks/{formatter-10fvk495.js → persistent-pty-bbctgmqj.js} +3 -3
- package/dist/chunks/{formatter-gdhk03s2.js → persistent-pty-bf44fs7q.js} +13 -13
- package/dist/chunks/{formatter-89smrnyf.js → persistent-pty-bha4atvq.js} +4 -4
- package/dist/chunks/{formatter-4j981g0a.js → persistent-pty-bjff6841.js} +20 -20
- package/dist/chunks/{formatter-g82k96ka.js → persistent-pty-bmqzgjgb.js} +25 -25
- package/dist/chunks/{formatter-23sxaqwc.js → persistent-pty-bscb95cy.js} +6 -6
- package/dist/chunks/{formatter-1109kv5r.js → persistent-pty-bw0vgseb.js} +8 -8
- package/dist/chunks/{formatter-xbr6rbgj.js → persistent-pty-bzhwnh4p.js} +26 -26
- package/dist/chunks/persistent-pty-c1q333ww.js +26 -0
- package/dist/chunks/{formatter-zj09a0ew.js → persistent-pty-c5gn303e.js} +4 -4
- package/dist/chunks/{formatter-5sj81wm5.js → persistent-pty-c78bbtc9.js} +5 -5
- package/dist/chunks/{formatter-ha1jzck9.js → persistent-pty-cacw0tx2.js} +11 -11
- package/dist/chunks/{formatter-m0jqrx5p.js → persistent-pty-cfpkc3c9.js} +2 -2
- package/dist/chunks/{formatter-v4y50nk3.js → persistent-pty-ck5kwbgm.js} +11 -11
- package/dist/chunks/{formatter-rph3zd4r.js → persistent-pty-cpy6gm2a.js} +6 -6
- package/dist/chunks/{formatter-fh02q7y7.js → persistent-pty-cw2220fx.js} +31 -31
- package/dist/chunks/{formatter-y59evk2k.js → persistent-pty-cwk6dc0f.js} +17 -17
- package/dist/chunks/{formatter-gffqj91w.js → persistent-pty-d43tgzm4.js} +9 -9
- package/dist/chunks/{formatter-z0y29jwt.js → persistent-pty-d48be562.js} +5 -5
- package/dist/chunks/{formatter-42wacjv5.js → persistent-pty-dase69n4.js} +26 -26
- package/dist/chunks/{formatter-cstgxdmc.js → persistent-pty-ddcn1th9.js} +21 -21
- package/dist/chunks/{formatter-dpkg50ah.js → persistent-pty-dpkg50ah.js} +1 -1
- package/dist/chunks/{formatter-dt2dr06x.js → persistent-pty-e2ky9s5t.js} +51 -51
- package/dist/chunks/{formatter-t64as4t3.js → persistent-pty-e2wwkkr3.js} +28 -28
- package/dist/chunks/{formatter-71cb39j6.js → persistent-pty-e3ej8st1.js} +17 -17
- package/dist/chunks/{formatter-z1h03t2t.js → persistent-pty-e4zvn0y8.js} +9 -9
- package/dist/chunks/{formatter-rwq4n5b8.js → persistent-pty-e550c21h.js} +9 -9
- package/dist/chunks/{formatter-nap6yjmm.js → persistent-pty-e5gwvkqs.js} +7 -7
- package/dist/chunks/{formatter-by1yxwyh.js → persistent-pty-e7z9zthm.js} +11 -11
- package/dist/chunks/{formatter-s8d7rejh.js → persistent-pty-eaj1djv9.js} +6 -6
- package/dist/chunks/{formatter-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{formatter-3by05310.js → persistent-pty-egja3w3k.js} +11 -11
- package/dist/chunks/{formatter-e4myhat6.js → persistent-pty-ehjgfrb8.js} +32 -32
- package/dist/chunks/{formatter-q5asdkn4.js → persistent-pty-embw8kgh.js} +4 -4
- package/dist/chunks/{formatter-2ekhvkds.js → persistent-pty-ep6z9mt6.js} +8 -8
- package/dist/chunks/{formatter-fnxj8cpf.js → persistent-pty-erk99hyj.js} +42 -42
- package/dist/chunks/{formatter-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{formatter-yac9wp7m.js → persistent-pty-f2njkax9.js} +9 -9
- package/dist/chunks/{formatter-4y21hyzt.js → persistent-pty-f3a1m4jg.js} +8 -8
- package/dist/chunks/{formatter-6w0wg9jg.js → persistent-pty-f6f6yxds.js} +3 -3
- package/dist/chunks/{formatter-hdnk95c8.js → persistent-pty-f828m53h.js} +2 -2
- package/dist/chunks/{formatter-v76by4bg.js → persistent-pty-fds3vh5r.js} +6 -6
- package/dist/chunks/{formatter-x1xvj5zf.js → persistent-pty-fp9xmcy3.js} +8 -8
- package/dist/chunks/{formatter-azkvshmx.js → persistent-pty-fpfkm27p.js} +13 -13
- package/dist/chunks/{formatter-6x0kyrqv.js → persistent-pty-fr1268wp.js} +22 -22
- package/dist/chunks/{formatter-2ehxpneg.js → persistent-pty-fvy1mc4q.js} +12 -12
- package/dist/chunks/{formatter-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{formatter-b4h2tax8.js → persistent-pty-fxbmv06w.js} +10 -10
- package/dist/chunks/{formatter-t9q5kvj9.js → persistent-pty-fype0rw8.js} +14 -14
- package/dist/chunks/{formatter-2v8ddz2e.js → persistent-pty-fzvmjdr3.js} +13 -13
- package/dist/chunks/{formatter-0keqgn7s.js → persistent-pty-g5g08czv.js} +13 -13
- package/dist/chunks/{formatter-5rty2w29.js → persistent-pty-gamcf2tt.js} +29 -29
- package/dist/chunks/{formatter-src3dmgd.js → persistent-pty-gb7dj5em.js} +28 -28
- package/dist/chunks/{formatter-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{formatter-4dtgeqyn.js → persistent-pty-gddc0fts.js} +54 -54
- package/dist/chunks/{formatter-df85982r.js → persistent-pty-gg4a0jgp.js} +25 -25
- package/dist/chunks/{formatter-fj6s2ck6.js → persistent-pty-ghdbx2at.js} +13 -13
- package/dist/chunks/{formatter-yyb7tjpc.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{formatter-8b0a6wbp.js → persistent-pty-gxq6akdt.js} +4 -4
- package/dist/chunks/{formatter-28gebyhq.js → persistent-pty-gypqxzd7.js} +9 -9
- package/dist/chunks/{formatter-h03wrkyp.js → persistent-pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{formatter-qmt2fwsc.js → persistent-pty-h0b9xjk8.js} +5 -5
- package/dist/chunks/{formatter-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{formatter-7trhxpej.js → persistent-pty-hesrcs9n.js} +17 -17
- package/dist/chunks/{formatter-22jekang.js → persistent-pty-hgehe5qr.js} +11 -11
- package/dist/chunks/{formatter-aa5rtnrq.js → persistent-pty-hpbxecpz.js} +32 -32
- package/dist/chunks/{formatter-spqgqf9x.js → persistent-pty-hsv3rq22.js} +4 -4
- package/dist/chunks/{formatter-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{formatter-9hva4mkp.js → persistent-pty-jak50wjt.js} +23 -23
- package/dist/chunks/{formatter-fcj0t6bh.js → persistent-pty-jbz8x4nc.js} +33 -33
- package/dist/chunks/{formatter-n7etp4gz.js → persistent-pty-jsed32gb.js} +16 -16
- package/dist/chunks/{formatter-ntv95gx3.js → persistent-pty-jt0mfgqw.js} +47 -47
- package/dist/chunks/{formatter-t3swkhbg.js → persistent-pty-jv01nqvq.js} +5 -5
- package/dist/chunks/{formatter-jppvw2tx.js → persistent-pty-k3gnzxs0.js} +5 -5
- package/dist/chunks/{formatter-jq4q8xt0.js → persistent-pty-ke2aez33.js} +32 -32
- package/dist/chunks/{formatter-2bp2agkf.js → persistent-pty-kedanpwc.js} +22 -22
- package/dist/chunks/{formatter-vs7hrzt9.js → persistent-pty-kg4jxx0b.js} +11 -11
- package/dist/chunks/{formatter-7wz8p787.js → persistent-pty-kh2xt8yc.js} +23 -23
- package/dist/chunks/{formatter-kxxzm7f4.js → persistent-pty-kj36yjv0.js} +9 -9
- package/dist/chunks/{formatter-37gmwthz.js → persistent-pty-kszyjgag.js} +28 -28
- package/dist/chunks/{formatter-n57v3773.js → persistent-pty-ky788973.js} +11 -11
- package/dist/chunks/{formatter-6j251myq.js → persistent-pty-m07kesbd.js} +38 -38
- package/dist/chunks/{formatter-ep9bxrrg.js → persistent-pty-m31hrvtp.js} +14 -14
- package/dist/chunks/{formatter-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{formatter-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{formatter-f3ngv102.js → persistent-pty-magykp64.js} +4 -4
- package/dist/chunks/{formatter-mff9swar.js → persistent-pty-mnmpf8vs.js} +8 -8
- package/dist/chunks/{formatter-s6z6n115.js → persistent-pty-mz25dwn3.js} +29 -29
- package/dist/chunks/{formatter-dks2a8hp.js → persistent-pty-mzhzy1pb.js} +11 -11
- package/dist/chunks/{formatter-2jbrsabm.js → persistent-pty-n4x3txqd.js} +12 -12
- package/dist/chunks/{formatter-75qmyhmw.js → persistent-pty-n6twqwrr.js} +3 -3
- package/dist/chunks/persistent-pty-n95b3jav.js +18 -0
- package/dist/chunks/{formatter-cb8q5ez7.js → persistent-pty-npsagvvz.js} +8 -8
- package/dist/chunks/{formatter-mvn2r3z4.js → persistent-pty-nq7qbqzc.js} +9 -9
- package/dist/chunks/{formatter-r51a36wh.js → persistent-pty-nrp0dgk2.js} +21 -21
- package/dist/chunks/{formatter-ksfgtg35.js → persistent-pty-p1zb2z5r.js} +2 -2
- package/dist/chunks/{formatter-mdr6zn1s.js → persistent-pty-p91ayak9.js} +7 -7
- package/dist/chunks/persistent-pty-pcawhjwq.js +478 -0
- package/dist/chunks/{formatter-y8bg2ghp.js → persistent-pty-pea6h7py.js} +11 -11
- package/dist/chunks/{formatter-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{formatter-yqqzveaj.js → persistent-pty-pk54j106.js} +35 -35
- package/dist/chunks/{formatter-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{formatter-qhvr2jea.js → persistent-pty-pt4q81m1.js} +4 -4
- package/dist/chunks/{formatter-7p0g7677.js → persistent-pty-q8dvbymb.js} +23 -23
- package/dist/chunks/{formatter-fqjmww7h.js → persistent-pty-qa0ka09q.js} +2 -2
- package/dist/chunks/{formatter-cwa6csj7.js → persistent-pty-qmqgtz8f.js} +9 -9
- package/dist/chunks/{formatter-0hqwafz3.js → persistent-pty-qq0enmay.js} +20 -20
- package/dist/chunks/{formatter-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{formatter-1bbkgx8g.js → persistent-pty-r5x6zcsm.js} +3 -3
- package/dist/chunks/{formatter-nzh65d8p.js → persistent-pty-r7pgccbm.js} +28 -28
- package/dist/chunks/{formatter-vncycja5.js → persistent-pty-r98e92ep.js} +4 -4
- package/dist/chunks/{formatter-7cw71xqv.js → persistent-pty-rdt39d18.js} +29 -29
- package/dist/chunks/{formatter-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{formatter-wwr3bxnb.js → persistent-pty-rf0ac1nd.js} +24 -24
- package/dist/chunks/{formatter-zpczsn54.js → persistent-pty-rgfqswwp.js} +5 -5
- package/dist/chunks/{formatter-qj75ppkt.js → persistent-pty-rhzgsha5.js} +24 -24
- package/dist/chunks/{formatter-7pxwp1dg.js → persistent-pty-rvayqjwn.js} +19 -19
- package/dist/chunks/{formatter-qfwtn752.js → persistent-pty-ry3rwstb.js} +9 -9
- package/dist/chunks/{formatter-qfrpe6h6.js → persistent-pty-rya04ard.js} +33 -33
- package/dist/chunks/{formatter-25n9xza4.js → persistent-pty-s7cyq3j7.js} +8 -8
- package/dist/chunks/{formatter-ykdp11k0.js → persistent-pty-sbrnn11p.js} +4 -4
- package/dist/chunks/{formatter-shf17fbc.js → persistent-pty-scr9tq7r.js} +8 -8
- package/dist/chunks/{formatter-ahhxn4qe.js → persistent-pty-sf2e06tm.js} +170 -170
- package/dist/chunks/{formatter-43qxnbwp.js → persistent-pty-sxwb65hc.js} +38 -30
- package/dist/chunks/{formatter-04s09f7r.js → persistent-pty-t2tcessw.js} +23 -23
- package/dist/chunks/{formatter-6b3h3gt4.js → persistent-pty-t68jr2fk.js} +15 -15
- package/dist/chunks/{formatter-jj4jbhde.js → persistent-pty-t8tppdbr.js} +17 -17
- package/dist/chunks/{formatter-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{formatter-edbfpfck.js → persistent-pty-tcay1cqt.js} +6 -6
- package/dist/chunks/{formatter-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{formatter-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{formatter-5hytmrsx.js → persistent-pty-tebckzj7.js} +9 -9
- package/dist/chunks/{formatter-j709rff9.js → persistent-pty-tmdzsscp.js} +16 -16
- package/dist/chunks/{formatter-p8yn6kww.js → persistent-pty-tp9yp7n5.js} +43 -43
- package/dist/chunks/{formatter-g0445xdp.js → persistent-pty-tpw6cwsb.js} +8 -8
- package/dist/chunks/{formatter-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{formatter-re6cm9q5.js → persistent-pty-tvysf4y4.js} +5 -5
- package/dist/chunks/{formatter-ts5zcp8n.js → persistent-pty-v606rqvb.js} +24 -24
- package/dist/chunks/{formatter-2y39epze.js → persistent-pty-v8x5s6qt.js} +42 -42
- package/dist/chunks/{formatter-44ck3ba6.js → persistent-pty-vbx9nkth.js} +11 -11
- package/dist/chunks/{formatter-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{formatter-kzcnx9w5.js → persistent-pty-vhg8gbw9.js} +13 -13
- package/dist/chunks/{formatter-a3r4dcrj.js → persistent-pty-vmgq4x8b.js} +2 -2
- package/dist/chunks/{formatter-ybhbtxjg.js → persistent-pty-vmwh049b.js} +6 -6
- package/dist/chunks/{formatter-6d6b60sb.js → persistent-pty-vpscksex.js} +32 -32
- package/dist/chunks/{formatter-jnhwxhat.js → persistent-pty-vpy6tv1g.js} +15 -15
- package/dist/chunks/{formatter-e3nv3mr8.js → persistent-pty-vsrt67qk.js} +5 -5
- package/dist/chunks/{formatter-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{formatter-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{formatter-0nbseank.js → persistent-pty-w6sjcj00.js} +39 -39
- package/dist/chunks/{formatter-dk9xar0x.js → persistent-pty-w6tpnshf.js} +6 -6
- package/dist/chunks/{formatter-w3e0d9m6.js → persistent-pty-w8hnngn5.js} +12 -12
- package/dist/chunks/{formatter-fty4b77f.js → persistent-pty-wbyzgfj3.js} +19 -19
- package/dist/chunks/{formatter-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{formatter-4jtqadht.js → persistent-pty-wgcwk5gf.js} +15 -15
- package/dist/chunks/{formatter-56hxrh5a.js → persistent-pty-wn348gvk.js} +33 -33
- package/dist/chunks/persistent-pty-wyxhhks7.js +247 -0
- package/dist/chunks/{formatter-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{formatter-hmjxenbv.js → persistent-pty-x2bhsfx5.js} +69 -69
- package/dist/chunks/{formatter-9an9dexz.js → persistent-pty-x8d4tdmm.js} +45 -45
- package/dist/chunks/{formatter-9ym8bn3r.js → persistent-pty-xbry3q9d.js} +15 -15
- package/dist/chunks/{formatter-f0hsp6qy.js → persistent-pty-xeqcm4dq.js} +5 -5
- package/dist/chunks/{formatter-xfkkasph.js → persistent-pty-xfkkasph.js} +1 -1
- package/dist/chunks/{formatter-g3vrdx9d.js → persistent-pty-xk76jmgb.js} +3 -3
- package/dist/chunks/{formatter-hma0brmp.js → persistent-pty-xrzs32wx.js} +33 -33
- package/dist/chunks/{formatter-pvrwh8gf.js → persistent-pty-xxg060p8.js} +11 -11
- package/dist/chunks/{formatter-01ydztrv.js → persistent-pty-xy1te82j.js} +3 -3
- package/dist/chunks/{formatter-33m53xa8.js → persistent-pty-xz5jgbdk.js} +7 -7
- package/dist/chunks/{formatter-f2gznfg6.js → persistent-pty-y02q0mz5.js} +20 -20
- package/dist/chunks/{formatter-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{formatter-gcaxjv0p.js → persistent-pty-y3g69tt1.js} +22 -22
- package/dist/chunks/{formatter-r9w3djhf.js → persistent-pty-y56ehv6b.js} +9 -9
- package/dist/chunks/{formatter-rhraev7y.js → persistent-pty-yp2x3t23.js} +4 -4
- package/dist/chunks/{formatter-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{formatter-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/{formatter-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{formatter-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
- package/dist/chunks/{formatter-vwjphj0g.js → persistent-pty-z8rhdvzk.js} +12 -12
- package/dist/chunks/{formatter-rq775frq.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{formatter-6cdjkj9y.js → persistent-pty-zqew8r2r.js} +15 -15
- package/dist/chunks/{formatter-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{formatter-smtr1fa8.js → persistent-pty-zwyvjxyb.js} +5 -5
- package/dist/chunks/{formatter-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +78 -78
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +99 -99
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +98 -98
- 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 +98 -98
- 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 +356 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +81 -78
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +77 -77
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +4 -4
- 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 +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +100 -100
- 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 +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +74 -74
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +11 -11
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +103 -103
- package/dist/snapshot.js +90 -90
- 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 +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +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 +3 -3
- 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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/formatter-3fd9tgbe.js +0 -26
- package/dist/chunks/formatter-4v7qdvcn.js +0 -18
- package/dist/chunks/formatter-6kdq0pjd.js +0 -4
- package/dist/chunks/formatter-jtgn3q85.js +0 -247
- package/dist/chunks/formatter-vyff70sc.js +0 -478
- /package/dist/chunks/{formatter-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{formatter-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{formatter-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{formatter-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{formatter-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{formatter-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{formatter-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{formatter-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{formatter-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{formatter-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{formatter-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{formatter-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{formatter-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{formatter-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{formatter-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{formatter-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{formatter-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{formatter-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{formatter-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{formatter-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{formatter-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{formatter-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{formatter-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{formatter-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{formatter-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{formatter-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{formatter-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{formatter-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{formatter-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{formatter-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{formatter-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{formatter-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{formatter-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{formatter-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{formatter-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{formatter-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{formatter-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{formatter-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{formatter-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{formatter-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{formatter-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{formatter-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{formatter-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{formatter-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{formatter-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{formatter-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{formatter-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{formatter-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{formatter-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{formatter-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{formatter-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{formatter-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{formatter-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{formatter-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{formatter-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{formatter-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{formatter-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{formatter-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{formatter-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{formatter-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{formatter-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{formatter-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{formatter-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{formatter-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{formatter-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{formatter-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{formatter-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{formatter-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{formatter-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{formatter-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{formatter-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{formatter-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{formatter-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{formatter-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{formatter-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{formatter-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{formatter-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{formatter-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{formatter-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{formatter-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{formatter-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{formatter-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{formatter-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{formatter-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{formatter-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{formatter-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{formatter-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{formatter-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{formatter-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{formatter-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{formatter-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{formatter-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{formatter-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{formatter-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{formatter-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{formatter-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-5cmxdwv8.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-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: () => NotFoundError10,
|
|
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 NotFoundError10 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 { NotFoundError10, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-44h5tttr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./persistent-pty-n4x3txqd.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./persistent-pty-xrzs32wx.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID10,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-hpbxecpz.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID9,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service68
|
|
20
|
+
} from "./persistent-pty-ke2aez33.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID8
|
|
23
|
+
} from "./persistent-pty-0zbmh4se.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./persistent-pty-kedanpwc.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-hgehe5qr.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID10.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,8 +157,8 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
161
|
-
const bus = yield*
|
|
160
|
+
const providers = yield* Service68;
|
|
161
|
+
const bus = yield* Service81;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
164
164
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -173,9 +173,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID9.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
|
-
try: () =>
|
|
178
|
+
try: () => load2(url, {
|
|
179
179
|
...provider?.headers,
|
|
180
180
|
Authorization: `Bearer ${credential.refresh}`,
|
|
181
181
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -194,13 +194,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID9.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
201
201
|
evt.add({
|
|
202
202
|
info: item.provider,
|
|
203
|
-
models: Array.from(
|
|
203
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
204
204
|
sourceConnection: loaded.connection
|
|
205
205
|
});
|
|
206
206
|
return;
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID9.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID9.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-17es1da5.js";
|
|
7
7
|
import {
|
|
8
8
|
Service78,
|
|
9
9
|
node82
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-p1zb2z5r.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service73,
|
|
13
|
+
node77
|
|
14
|
+
} from "./persistent-pty-gddc0fts.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service23,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node26,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service23 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
60
|
const location = yield* Service78;
|
|
61
|
-
const permission = yield*
|
|
61
|
+
const permission = yield* Service73;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service23.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node26 = makeLocationNode({ service: Service23, layer, deps: [FSUtil.node, node82, node77] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service23, resolvePath2, node26, exports_file_access };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./persistent-pty-ke2aez33.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID9.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID9.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/delete.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node84
|
|
7
|
+
} from "./persistent-pty-6ng8rhkc.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-gebd4c9n.js";
|
|
11
11
|
import {
|
|
12
12
|
Service82,
|
|
13
13
|
node86
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-8kf7y4ht.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service81,
|
|
17
|
+
node85
|
|
18
|
+
} from "./persistent-pty-n4x3txqd.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-8p4f9s12.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-cfpkc3c9.js";
|
|
25
25
|
import {
|
|
26
26
|
ID17,
|
|
27
27
|
NotFoundError11
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./persistent-pty-17es1da5.js";
|
|
29
29
|
import {
|
|
30
30
|
Ref4
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./persistent-pty-p1zb2z5r.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service64,
|
|
34
|
+
node68
|
|
35
|
+
} from "./persistent-pty-fp9xmcy3.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./persistent-pty-gv6a8nnw.js";
|
|
40
40
|
import {
|
|
41
41
|
make12
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./persistent-pty-zwyvjxyb.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service25
|
|
45
|
+
} from "./persistent-pty-tmdzsscp.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
52
52
|
__export(exports_worktree2, {
|
|
53
|
-
CreateInput: () =>
|
|
53
|
+
CreateInput: () => CreateInput3,
|
|
54
54
|
DestinationExistsError: () => DestinationExistsError2,
|
|
55
55
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
56
|
-
Event: () =>
|
|
57
|
-
Info: () =>
|
|
56
|
+
Event: () => Event6,
|
|
57
|
+
Info: () => Info5,
|
|
58
58
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
59
59
|
List: () => List2,
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service24,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node27
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -77,9 +77,9 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
77
77
|
import { ChildProcess } from "effect/unstable/process";
|
|
78
78
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
79
79
|
var StrategyID2 = Worktree.StrategyID;
|
|
80
|
-
var
|
|
80
|
+
var CreateInput3 = Worktree.CreateInput;
|
|
81
81
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
82
|
-
var
|
|
82
|
+
var Info5 = Worktree.Info;
|
|
83
83
|
var List2 = Worktree.List;
|
|
84
84
|
var ListEntry3 = Worktree.ListEntry;
|
|
85
85
|
|
|
@@ -94,17 +94,17 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
94
94
|
|
|
95
95
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Event6 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service24 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
103
|
const database = yield* Service82;
|
|
104
104
|
const db = database.db;
|
|
105
|
-
const bus = yield*
|
|
105
|
+
const bus = yield* Service81;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
|
-
const locations = yield*
|
|
107
|
+
const locations = yield* Service64;
|
|
108
108
|
const gitStrategy = yield* make12;
|
|
109
109
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
110
110
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
121
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service25).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
127
|
-
yield* bus.publish(
|
|
127
|
+
yield* bus.publish(Event6.Updated, { projectID });
|
|
128
128
|
});
|
|
129
129
|
const ops = {
|
|
130
130
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service24.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node27 = Node.makeGlobalNode({
|
|
265
|
+
service: Service24,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node,
|
|
267
|
+
deps: [FSUtil.node, node84, node85, node86, AppProcess.node, node68]
|
|
268
268
|
});
|
|
269
269
|
function operationError(strategy, operation, error) {
|
|
270
270
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2,
|
|
277
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service24, node27, exports_worktree2, OperationError2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-4n4k0cnh.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make7,
|
|
17
17
|
policy: () => policy2,
|
|
18
18
|
transient: () => transient2
|
|
19
19
|
});
|
|
@@ -96,7 +96,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
|
|
|
96
96
|
return true;
|
|
97
97
|
})
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var make7 = (bus, sessionID) => Effect.gen(function* () {
|
|
100
100
|
const decide = yield* policy2(sessionID);
|
|
101
101
|
const wait = (input) => Effect.gen(function* () {
|
|
102
102
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -113,4 +113,4 @@ var make9 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
113
113
|
return { decide, wait };
|
|
114
114
|
});
|
|
115
115
|
|
|
116
|
-
export { isRetryable2, policy2, transient2,
|
|
116
|
+
export { isRetryable2, policy2, transient2, make7, exports_retry };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./persistent-pty-n4x3txqd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service55,
|
|
6
|
+
Event12
|
|
7
|
+
} from "./persistent-pty-nrp0dgk2.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin46,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin46 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service81;
|
|
24
|
+
const wellknown = yield* Service55;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin7 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin46, exports_plugin };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./persistent-pty-n4x3txqd.js";
|
|
5
5
|
import {
|
|
6
6
|
Service78,
|
|
7
7
|
node82
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-p1zb2z5r.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service75,
|
|
14
|
+
node79
|
|
15
|
+
} from "./persistent-pty-4kzetxh1.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service10,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node12
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,12 +32,12 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service10 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service81;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
40
|
+
const store = yield* Service75;
|
|
41
41
|
const location = yield* Service78;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service10.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node12 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node85, FSUtil.node, node82, node79]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service10, node12, exports_instructions };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|