@opencode/core 0.0.0-dev-20947 → 0.0.0-dev-20948
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{form-82kf3jg0.js → git-01eenfpa.js} +15 -15
- package/dist/chunks/{form-02nrjc1r.js → git-02nrjc1r.js} +1 -1
- package/dist/chunks/{form-tq7zt23m.js → git-04jwapqe.js} +5 -5
- package/dist/chunks/{form-tmzc3aj8.js → git-09v7d9nf.js} +21 -21
- package/dist/chunks/{form-nq2b8p7n.js → git-0hvtwp3s.js} +17 -17
- package/dist/chunks/{form-axx5sjxa.js → git-0p6m29n3.js} +21 -21
- package/dist/chunks/{form-0vbcp93d.js → git-0vbcp93d.js} +2 -2
- package/dist/chunks/{form-ny2rxstd.js → git-10ny1wjp.js} +8 -8
- package/dist/chunks/{form-keswfrch.js → git-142mvydr.js} +16 -16
- package/dist/chunks/{form-zr5p0t8y.js → git-1n4q1qt6.js} +8 -8
- package/dist/chunks/{form-g6yfr6ja.js → git-1pxz8ven.js} +5 -5
- package/dist/chunks/{form-306a0exk.js → git-1vjyb0v5.js} +18 -18
- package/dist/chunks/{form-6mqp682y.js → git-1xqxdv1f.js} +8 -8
- package/dist/chunks/{form-3eaxan5r.js → git-2nykj5zt.js} +5 -5
- package/dist/chunks/{form-2eqqy56z.js → git-2vrdh7d5.js} +14 -14
- package/dist/chunks/{form-xxhd6h3y.js → git-2xveab5k.js} +28 -28
- package/dist/chunks/{form-31xfzrxg.js → git-31xfzrxg.js} +2 -2
- package/dist/chunks/{form-tm98w8z9.js → git-3ck1y37x.js} +21 -21
- package/dist/chunks/{form-d79x3a1q.js → git-3dyta72r.js} +12 -12
- package/dist/chunks/{form-3fc6dm20.js → git-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-2zd83npj.js → git-3fv9tas6.js} +11 -11
- package/dist/chunks/{form-0w2v831d.js → git-3gt2qbz4.js} +3 -3
- package/dist/chunks/{form-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-dfjck66s.js → git-3hhbryxg.js} +19 -19
- package/dist/chunks/{form-3hwn7j4h.js → git-3hwn7j4h.js} +2 -2
- package/dist/chunks/{form-h46ghbar.js → git-3mfe6nk2.js} +21 -21
- package/dist/chunks/{form-3smtnn6g.js → git-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-wvpc58r4.js → git-3v34x0nx.js} +41 -41
- package/dist/chunks/{form-w7hte7gg.js → git-3wvs8749.js} +9 -9
- package/dist/chunks/{form-3zsf4n22.js → git-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-822y64vb.js → git-45a6yaqd.js} +67 -67
- package/dist/chunks/{form-fwpheymm.js → git-479tyfef.js} +20 -20
- package/dist/chunks/{form-mtpeagzc.js → git-48kw51zw.js} +3 -3
- package/dist/chunks/{form-7j6s122j.js → git-4gbfhf8t.js} +7 -7
- package/dist/chunks/{form-4bj1b5bj.js → git-4gkcbsf6.js} +88 -88
- package/dist/chunks/{form-syf57q56.js → git-4j4tgtq5.js} +4 -4
- package/dist/chunks/{form-9tnx4h2s.js → git-4nyw54n1.js} +5 -5
- package/dist/chunks/{form-tzcg4n0g.js → git-4pznzvvb.js} +13 -13
- package/dist/chunks/{form-1wzqzz22.js → git-515nex7v.js} +5 -5
- package/dist/chunks/{form-jpz1sbwc.js → git-5a633k63.js} +11 -11
- package/dist/chunks/{form-5m9w47nd.js → git-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-vfa4vt6e.js → git-5mvg709s.js} +12 -12
- package/dist/chunks/{form-j4mjwbh7.js → git-5p3dx02w.js} +7 -7
- package/dist/chunks/{form-a824cvcf.js → git-5v5s25bq.js} +10 -10
- package/dist/chunks/{form-6e4c5wka.js → git-600a0prn.js} +26 -26
- package/dist/chunks/git-619r8v3y.js +18 -0
- package/dist/chunks/{form-hbn2k00m.js → git-64np693v.js} +11 -11
- package/dist/chunks/{form-ed3133pq.js → git-6525tgc4.js} +18 -18
- package/dist/chunks/{form-v0es1rhs.js → git-6g7e4dd5.js} +7 -7
- package/dist/chunks/{form-dnrfz0q2.js → git-6tzebk0j.js} +26 -26
- package/dist/chunks/{form-6xb47vfp.js → git-6xb47vfp.js} +1 -1
- package/dist/chunks/{form-775gj3j1.js → git-775gj3j1.js} +2 -2
- package/dist/chunks/{form-f45c2wqa.js → git-78er6hm2.js} +27 -27
- package/dist/chunks/{form-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-hpfvhvya.js → git-7dbmnfn4.js} +8 -8
- package/dist/chunks/{form-2k8khapm.js → git-7dqw4kz8.js} +5 -5
- package/dist/chunks/{form-tz53ddc1.js → git-7epp4vs3.js} +5 -5
- package/dist/chunks/{form-f78dsz6n.js → git-7hhqs9ev.js} +11 -11
- package/dist/chunks/{form-g0mjhmpg.js → git-7yjsdw3n.js} +26 -26
- package/dist/chunks/{form-e21t7egf.js → git-84k1wv33.js} +34 -34
- package/dist/chunks/{form-8atgx3ya.js → git-8h8303va.js} +13 -13
- package/dist/chunks/{form-8m6m0r52.js → git-8m6m0r52.js} +1 -1
- package/dist/chunks/{form-xxmvpg75.js → git-8n04q4wy.js} +23 -23
- package/dist/chunks/{form-e0gqyvam.js → git-8rz8ve1a.js} +12 -12
- package/dist/chunks/{form-19j39p6z.js → git-8s0h3786.js} +23 -23
- package/dist/chunks/{form-6pc27hjz.js → git-8sze2n9a.js} +2 -2
- package/dist/chunks/{form-yj3x42dc.js → git-93f4czyq.js} +9 -9
- package/dist/chunks/{form-5xtgfte3.js → git-9hn6k4tm.js} +8 -8
- package/dist/chunks/{form-b674v2dg.js → git-9hwaqfsw.js} +5 -5
- package/dist/chunks/{form-82t7k0nh.js → git-9jsjce8g.js} +37 -37
- package/dist/chunks/{form-ebvbgbap.js → git-9kza9pnb.js} +33 -33
- package/dist/chunks/{form-5ga5b214.js → git-9qnraezg.js} +22 -22
- package/dist/chunks/{form-5y0tywp4.js → git-9vx4ezry.js} +46 -46
- package/dist/chunks/{form-fg72yp13.js → git-a3tzcvfn.js} +15 -15
- package/dist/chunks/{form-a55amyvq.js → git-a797vkbp.js} +22 -22
- package/dist/chunks/{form-7pv7hw7n.js → git-aaz2ppa0.js} +16 -16
- package/dist/chunks/{form-hj4ygqcq.js → git-az1da0xs.js} +10 -10
- package/dist/chunks/{form-6k6bnagh.js → git-azc6s5tn.js} +13 -13
- package/dist/chunks/{form-n84mec99.js → git-b2sh5862.js} +10 -10
- package/dist/chunks/{form-3y53v1bx.js → git-b4pb0qj1.js} +16 -16
- package/dist/chunks/{form-f1qh747r.js → git-b5mayez8.js} +12 -12
- package/dist/chunks/{form-277eer69.js → git-bacyadyn.js} +4 -4
- package/dist/chunks/{form-2v32gvte.js → git-bbafnyd0.js} +14 -14
- package/dist/chunks/{form-p688wjw9.js → git-bbmabm9f.js} +9 -9
- package/dist/chunks/{form-w2n6rccj.js → git-btn9ak2p.js} +56 -56
- package/dist/chunks/{form-4gx6x74g.js → git-bwp9jw94.js} +15 -15
- package/dist/chunks/{form-sh5z954b.js → git-bxesqzry.js} +17 -17
- package/dist/chunks/{form-e16j1n5r.js → git-bz5sg4q4.js} +12 -12
- package/dist/chunks/{form-eg5kq0wk.js → git-bzbkpqhk.js} +11 -11
- package/dist/chunks/{form-0e5d1q09.js → git-c07qxs3a.js} +18 -18
- package/dist/chunks/{form-c1fqxshp.js → git-c1fqxshp.js} +3 -3
- package/dist/chunks/{form-a9731p8k.js → git-c89c07k3.js} +181 -181
- package/dist/chunks/{form-41qfwe6g.js → git-c9wbyant.js} +4 -4
- package/dist/chunks/{form-nc4bet3h.js → git-cj3e383x.js} +8 -8
- package/dist/chunks/{form-8v8ce5z1.js → git-cp9q7vf4.js} +34 -34
- package/dist/chunks/{form-2sejkfem.js → git-cwa6csj7.js} +9 -9
- package/dist/chunks/{form-bg3gckj7.js → git-d6bawxmv.js} +20 -20
- package/dist/chunks/{form-9av87sgt.js → git-dn734jx6.js} +45 -45
- package/dist/chunks/{form-y9k3q9ka.js → git-dpdj1ayc.js} +6 -6
- package/dist/chunks/{form-y71avatq.js → git-dpkg50ah.js} +4 -4
- package/dist/chunks/{form-dqxsqydv.js → git-dqxsqydv.js} +1 -1
- package/dist/chunks/{form-3sraz6ss.js → git-drzpnrep.js} +44 -44
- package/dist/chunks/{form-b1vf1kh0.js → git-dvdnw3cp.js} +90 -90
- package/dist/chunks/{form-pexjtwtd.js → git-dxvcp820.js} +19 -19
- package/dist/chunks/{form-059731j3.js → git-dys7k0s0.js} +5 -5
- package/dist/chunks/{form-n7qacaxh.js → git-e1yb93hp.js} +20 -20
- package/dist/chunks/{form-6emmestt.js → git-e6snzbr7.js} +43 -43
- package/dist/chunks/{form-e80seqcp.js → git-e80seqcp.js} +1 -1
- package/dist/chunks/{form-q4gtn4tc.js → git-eecv355n.js} +28 -28
- package/dist/chunks/{form-eej6y6fw.js → git-eej6y6fw.js} +2 -2
- package/dist/chunks/{form-ef5x83kb.js → git-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-vxnjn3gy.js → git-efybvz04.js} +13 -13
- package/dist/chunks/{form-d9ph3ygh.js → git-ept267pb.js} +28 -28
- package/dist/chunks/{form-7vnh4v92.js → git-eqrd195g.js} +11 -11
- package/dist/chunks/{form-bpy5r15a.js → git-es6qv9qs.js} +13 -13
- package/dist/chunks/{form-0br3sbwn.js → git-espax8zg.js} +4 -4
- package/dist/chunks/{form-xms7d978.js → git-ew4cvqfm.js} +9 -9
- package/dist/chunks/{form-5hj9z6kr.js → git-f43tv5dk.js} +18 -18
- package/dist/chunks/{form-ax3tz5jt.js → git-f5gqx7z5.js} +2 -2
- package/dist/chunks/{form-j5yap3y4.js → git-fap5gkce.js} +4 -4
- package/dist/chunks/{form-zn4sg67n.js → git-frkqgfsy.js} +14 -14
- package/dist/chunks/{form-stgt6n7x.js → git-fvra4tzc.js} +15 -15
- package/dist/chunks/{form-vppcbm3y.js → git-fww2ha2b.js} +10 -10
- package/dist/chunks/{form-y14nt2w1.js → git-g506rfke.js} +152 -152
- package/dist/chunks/{form-g686f6pq.js → git-g686f6pq.js} +2 -2
- package/dist/chunks/{form-3jw5ar1f.js → git-ga2wxmhq.js} +27 -27
- package/dist/chunks/{form-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-7ejdeqms.js → git-ggk4p413.js} +6 -6
- package/dist/chunks/{form-cnzq3x3k.js → git-ghcndwhm.js} +23 -23
- package/dist/chunks/{form-8nc6zkts.js → git-gmmxkbmv.js} +28 -28
- package/dist/chunks/{form-y2mqfp0b.js → git-gnnz5nnv.js} +22 -22
- package/dist/chunks/{form-09r737me.js → git-gy3ewsg1.js} +30 -30
- package/dist/chunks/{form-y2a9r24h.js → git-h12cqrs8.js} +18 -18
- package/dist/chunks/{form-w6k8tkd2.js → git-h2ps0vhb.js} +5 -5
- package/dist/chunks/{form-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-33sn4450.js → git-hafwy6wt.js} +35 -35
- package/dist/chunks/{form-hgz4x7wa.js → git-hgz4x7wa.js} +1 -1
- package/dist/chunks/{form-m6aapqtj.js → git-hh35cv3q.js} +22 -22
- package/dist/chunks/{form-91qna3x0.js → git-j09zfasm.js} +3 -3
- package/dist/chunks/{form-w2z33w1j.js → git-j6ne1s41.js} +31 -31
- package/dist/chunks/{form-df6fnvr5.js → git-j840x00t.js} +9 -9
- package/dist/chunks/{form-jv2kaqdm.js → git-j9vfexns.js} +13 -13
- package/dist/chunks/{form-jb41p51h.js → git-jbbhbnm9.js} +12 -12
- package/dist/chunks/{form-jk540des.js → git-jk540des.js} +2 -2
- package/dist/chunks/{form-qdjnfcj8.js → git-jp8kazyb.js} +24 -24
- package/dist/chunks/{form-kgkjns6k.js → git-kar1yzx3.js} +14 -14
- package/dist/chunks/{form-fxaymqdw.js → git-khmqacep.js} +4 -4
- package/dist/chunks/{form-jf06h9wq.js → git-kpe031v2.js} +24 -24
- package/dist/chunks/{form-9sn33rqc.js → git-ky1kqrqq.js} +3 -3
- package/dist/chunks/{form-nydqvqd1.js → git-m4eh47d0.js} +18 -18
- package/dist/chunks/{form-1txvh394.js → git-m87300ey.js} +3 -3
- package/dist/chunks/{form-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-maspj1v3.js → git-maspj1v3.js} +1 -1
- package/dist/chunks/{form-q76vn8xq.js → git-mdrf9c6b.js} +34 -34
- package/dist/chunks/{form-rhvsmm7d.js → git-mvftxahx.js} +20 -20
- package/dist/chunks/{form-75t9bye9.js → git-mz5a208t.js} +6 -6
- package/dist/chunks/{form-zwrfsjfy.js → git-n1ttjt0m.js} +13 -13
- package/dist/chunks/{form-4k2ddg7n.js → git-n6z2stbm.js} +3 -3
- package/dist/chunks/{form-48d837cs.js → git-n93jbp0k.js} +11 -11
- package/dist/chunks/{form-k99j0hdv.js → git-ngrent29.js} +22 -22
- package/dist/chunks/{form-pnkvp2wh.js → git-nmcvttpa.js} +4 -4
- package/dist/chunks/{form-ha8954d1.js → git-nn3cvats.js} +25 -25
- package/dist/chunks/{form-9fpyc4y1.js → git-np7435h2.js} +16 -16
- package/dist/chunks/{form-tpbr7x97.js → git-npa0ynms.js} +15 -15
- package/dist/chunks/{form-eb6wq3zy.js → git-nvtnmch9.js} +5 -5
- package/dist/chunks/{form-fawedr2k.js → git-p42rbx7w.js} +5 -5
- package/dist/chunks/{form-kd3nkf6b.js → git-pb9dx0b6.js} +21 -21
- package/dist/chunks/{form-bxsrt1rp.js → git-pep7hara.js} +1 -1
- package/dist/chunks/{form-rmm45jmv.js → git-pfq1ksym.js} +5 -5
- package/dist/chunks/{form-0fd51wbp.js → git-ph8hns1v.js} +4 -4
- package/dist/chunks/{form-pk7kp0ha.js → git-phtdqv75.js} +13 -13
- package/dist/chunks/{form-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{form-t99511nd.js → git-pqmybdq4.js} +26 -26
- package/dist/chunks/{form-3zesr7q7.js → git-prjwzds1.js} +4 -4
- package/dist/chunks/{form-4d5txdkp.js → git-pv0qkrbb.js} +1 -1
- package/dist/chunks/{form-q0xm7vwc.js → git-q0xm7vwc.js} +2 -2
- package/dist/chunks/{form-fy85dzp7.js → git-q6avzzpv.js} +22 -22
- package/dist/chunks/{form-80qt5czk.js → git-q6rjgs81.js} +50 -50
- package/dist/chunks/{form-0r60aszv.js → git-q9y8w0zk.js} +30 -30
- package/dist/chunks/{form-0x2ae93g.js → git-qbttvzdy.js} +34 -34
- package/dist/chunks/git-qdnsp6kg.js +26 -0
- package/dist/chunks/{form-kecqjjhm.js → git-qjx1ax0j.js} +5 -5
- package/dist/chunks/{form-qnc92qwc.js → git-qnc92qwc.js} +1 -1
- package/dist/chunks/{form-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{form-bqnw4zcg.js → git-qytsfeh6.js} +8 -8
- package/dist/chunks/{form-54ma36ye.js → git-r94pvvab.js} +4 -4
- package/dist/chunks/{form-wk5z6jzv.js → git-r9w3djhf.js} +9 -9
- package/dist/chunks/{form-30wfj1n4.js → git-raz7r69d.js} +10 -10
- package/dist/chunks/{form-y29v8fx6.js → git-rc1szs54.js} +6 -6
- package/dist/chunks/{form-rdw6cm16.js → git-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-rert0e01.js → git-rert0e01.js} +2 -2
- package/dist/chunks/{form-rj3eygr5.js → git-rj3eygr5.js} +2 -2
- package/dist/chunks/{form-rw4qcwcj.js → git-rjdbxett.js} +13 -13
- package/dist/chunks/{form-hy3jsexh.js → git-rke3dw8p.js} +42 -42
- package/dist/chunks/{form-127b9nq3.js → git-rqa1jxse.js} +2 -2
- package/dist/chunks/{form-d9jccbc4.js → git-rrszzvxe.js} +54 -54
- package/dist/chunks/{form-x32mvc4s.js → git-rsy9ddve.js} +330 -330
- package/dist/chunks/{form-nznf04hb.js → git-s6a0m454.js} +9 -9
- package/dist/chunks/{form-sa8ekw3f.js → git-sa8ekw3f.js} +2 -2
- package/dist/chunks/{form-scgrse2b.js → git-scgrse2b.js} +2 -2
- package/dist/chunks/{form-a9qkr9g3.js → git-se2hztq6.js} +35 -35
- package/dist/chunks/{form-25h130a1.js → git-skg7yay7.js} +15 -15
- package/dist/chunks/{form-rgrnpx6b.js → git-snaedj36.js} +27 -27
- package/dist/chunks/{form-k18re6s4.js → git-sreec1n3.js} +21 -21
- package/dist/chunks/{form-syv4x271.js → git-syv4x271.js} +1 -1
- package/dist/chunks/{form-3k7apka1.js → git-t1d5g21r.js} +1 -1
- package/dist/chunks/{form-zcrspsvn.js → git-t7n9q6bq.js} +4 -4
- package/dist/chunks/{form-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-w02h5ydj.js → git-tbwjy4jx.js} +16 -16
- package/dist/chunks/{form-4mwpykj0.js → git-tcay1cqt.js} +6 -6
- package/dist/chunks/{form-tcezcvh9.js → git-tcezcvh9.js} +1 -1
- package/dist/chunks/{form-tdstcens.js → git-tdstcens.js} +1 -1
- package/dist/chunks/{form-5yxp05h0.js → git-tgyfqjhv.js} +45 -45
- package/dist/chunks/{form-27vdz40p.js → git-thz8mtkz.js} +15 -15
- package/dist/chunks/{form-tm0kqsz3.js → git-tm0kqsz3.js} +1 -1
- package/dist/chunks/{form-fgznzfpn.js → git-trr6sjah.js} +32 -32
- package/dist/chunks/{form-19ezngz8.js → git-twwzjqdf.js} +6 -6
- package/dist/chunks/{form-3qyv7vzy.js → git-tywzg4e5.js} +8 -8
- package/dist/chunks/{form-tyytaxap.js → git-tyytaxap.js} +1 -1
- package/dist/chunks/{form-zha2r5bt.js → git-tz8jdh8q.js} +24 -24
- package/dist/chunks/{form-hym2f59v.js → git-v0p1yc4r.js} +9 -9
- package/dist/chunks/{form-zbtmdah5.js → git-v2qjv84n.js} +15 -15
- package/dist/chunks/{form-e8fts9y6.js → git-v4h4tcaj.js} +18 -18
- package/dist/chunks/{form-qa3qhgw8.js → git-v5dkyp31.js} +4 -4
- package/dist/chunks/{form-v7p4zvkq.js → git-v7p4zvkq.js} +2 -2
- package/dist/chunks/{form-0ndg0faa.js → git-vc4tj14c.js} +19 -19
- package/dist/chunks/{form-ac21eqq7.js → git-vcjvn6yt.js} +8 -8
- package/dist/chunks/{form-veqvce7d.js → git-veqvce7d.js} +1 -1
- package/dist/chunks/{form-xye03hfh.js → git-vpsek98y.js} +14 -14
- package/dist/chunks/{form-2j7m7xd2.js → git-vq1kmzy0.js} +8 -8
- package/dist/chunks/{form-f2nkc2bd.js → git-vxssbp9k.js} +10 -10
- package/dist/chunks/{form-vzs5sf6e.js → git-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-5ybdevb0.js → git-w0xh3rjx.js} +31 -31
- package/dist/chunks/{form-w1eejvng.js → git-w1eejvng.js} +1 -1
- package/dist/chunks/{form-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-x0zjna7n.js → git-w53aabxs.js} +3 -3
- package/dist/chunks/{form-4rqs6yce.js → git-w919w76e.js} +8 -8
- package/dist/chunks/{form-mqqhst8y.js → git-waskdk5r.js} +4 -4
- package/dist/chunks/{form-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{form-had4kgfk.js → git-wgahhr0x.js} +4 -4
- package/dist/chunks/{form-sjs8znna.js → git-xbrfyfsb.js} +39 -39
- package/dist/chunks/{form-f58gpcny.js → git-xdx7acry.js} +9 -9
- package/dist/chunks/{form-drwq78ky.js → git-xfkkasph.js} +4 -4
- package/dist/chunks/{form-xtqgywq0.js → git-xn3jjke7.js} +36 -36
- package/dist/chunks/{form-96zrc6ax.js → git-xstpf91t.js} +7 -7
- package/dist/chunks/{form-bczx5ry5.js → git-xt4njr3s.js} +1 -1
- package/dist/chunks/{form-p6grt35w.js → git-xv09z32e.js} +4 -4
- package/dist/chunks/{form-9rdbteg8.js → git-y19c8s10.js} +11 -11
- package/dist/chunks/{form-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-pfenne1w.js → git-y3b7wprm.js} +45 -45
- package/dist/chunks/{form-f8d1cjf3.js → git-y3nxpthn.js} +14 -14
- package/dist/chunks/{form-sas4s4zn.js → git-y7y09twx.js} +33 -33
- package/dist/chunks/{form-ytkpp1sy.js → git-ydxn63dc.js} +11 -11
- package/dist/chunks/{form-vs030j7e.js → git-ydykb0bb.js} +14 -14
- package/dist/chunks/{form-pa1r1w26.js → git-ygt24qhf.js} +11 -11
- package/dist/chunks/{form-cserprn9.js → git-yhsvpzag.js} +17 -17
- package/dist/chunks/{form-mj04efr5.js → git-yhw8c8y5.js} +30 -30
- package/dist/chunks/{form-em2x5nm4.js → git-yjzpsqha.js} +13 -13
- package/dist/chunks/{form-npayzc43.js → git-yn2jyqqj.js} +6 -6
- package/dist/chunks/{form-yp2x3t23.js → git-yp2x3t23.js} +1 -1
- package/dist/chunks/{form-p22nwjv1.js → git-ytjkwh0b.js} +2 -2
- package/dist/chunks/{form-bjx1sjef.js → git-ywt8jp22.js} +9 -9
- package/dist/chunks/{form-n6ge0jbz.js → git-yy2qn57n.js} +9 -9
- package/dist/chunks/{form-kyfczz2e.js → git-z00brpdj.js} +15 -15
- package/dist/chunks/{form-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-nj2kvgja.js → git-z1fqagv4.js} +4 -4
- package/dist/chunks/{form-hz6ef5h4.js → git-z7b3fry8.js} +32 -32
- package/dist/chunks/{form-qy4q8v6w.js → git-z86bsf9w.js} +5 -5
- package/dist/chunks/{form-6qze8ysb.js → git-zcxtw1zj.js} +20 -20
- package/dist/chunks/{form-cmmdg65p.js → git-ze75yzft.js} +8 -8
- package/dist/chunks/{form-afe92jp7.js → git-zkxb83dh.js} +3 -3
- package/dist/chunks/{form-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-gqtdsdt7.js → git-zw2hpfmh.js} +4 -4
- package/dist/chunks/{form-amy9nr96.js → git-zxk4qck4.js} +16 -16
- package/dist/chunks/{form-zxq2ej10.js → git-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +68 -68
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +91 -91
- 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 +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +92 -92
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- 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 +101 -101
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- 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 +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- 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 +6 -6
- 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 +220 -220
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- 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 +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +107 -107
- 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 +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- 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 +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/form-pq18g9mh.js +0 -26
- package/dist/chunks/form-q509s3k3.js +0 -18
- /package/dist/chunks/{form-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → git-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → git-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → git-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3t0ybcrp.js → git-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-5qd3pb7m.js → git-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → git-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → git-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → git-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hcxmzztb.js → git-hcxmzztb.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → git-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jze0r7bz.js → git-jze0r7bz.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-m18g726c.js → git-m18g726c.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-pkyv6v7h.js → git-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{form-pyv0edze.js → git-pyv0edze.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → git-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → git-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wjj7prxr.js → git-wjj7prxr.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → git-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → git-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → git-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → git-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-zw2hpfmh.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-j840x00t.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event17
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-efybvz04.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./git-78er6hm2.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID7,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service66
|
|
20
|
+
} from "./git-j6ne1s41.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID6
|
|
23
|
+
} from "./git-w0xh3rjx.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./git-gnnz5nnv.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./git-1n4q1qt6.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID14
|
|
33
|
+
} from "./git-q6avzzpv.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
get4
|
|
36
|
+
} from "./git-r94pvvab.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID8.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,7 +163,7 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
166
|
+
const providers = yield* Service66;
|
|
167
167
|
const bus = yield* Service83;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
@@ -180,9 +180,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID7.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
|
-
try: () =>
|
|
185
|
+
try: () => load2(url, {
|
|
186
186
|
...provider?.headers,
|
|
187
187
|
Authorization: `Bearer ${credential.refresh}`,
|
|
188
188
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -202,13 +202,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID7.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
209
209
|
evt.add({
|
|
210
210
|
info: item.provider,
|
|
211
|
-
models: Array.from(
|
|
211
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
212
212
|
sourceConnection: loaded.connection
|
|
213
213
|
});
|
|
214
214
|
return;
|
|
@@ -230,17 +230,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
230
230
|
}
|
|
231
231
|
});
|
|
232
232
|
yield* ctx.model.transform((models) => {
|
|
233
|
-
if (models.get(
|
|
234
|
-
models.update(
|
|
233
|
+
if (models.get(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
|
|
234
|
+
models.update(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
|
|
235
235
|
model.enabled = false;
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
239
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
240
|
-
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
240
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
241
241
|
yield* refresh().pipe(Effect.forkScoped);
|
|
242
242
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
243
|
-
if (evt.model.providerID !==
|
|
243
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
244
244
|
return;
|
|
245
245
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
246
246
|
return;
|
|
@@ -249,23 +249,23 @@ var GithubCopilotPlugin2 = define({
|
|
|
249
249
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
250
250
|
}));
|
|
251
251
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
252
|
-
if (evt.model.providerID !==
|
|
252
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
253
253
|
return;
|
|
254
254
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
255
255
|
return;
|
|
256
256
|
}));
|
|
257
257
|
const interaction = interactionType2(evt.kind, session?.parentID !== undefined);
|
|
258
258
|
evt.headers["X-Interaction-Type"] = interaction;
|
|
259
|
-
evt.headers["X-Interaction-Id"] = session ?
|
|
259
|
+
evt.headers["X-Interaction-Id"] = session ? get4(session) : evt.sessionID;
|
|
260
260
|
if (interaction !== "conversation-agent")
|
|
261
261
|
evt.headers["x-initiator"] = "agent";
|
|
262
|
-
}), { providerID:
|
|
262
|
+
}), { providerID: ID7.githubCopilot });
|
|
263
263
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
264
|
-
if (evt.model.providerID !==
|
|
264
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
265
265
|
return;
|
|
266
266
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
267
267
|
return;
|
|
268
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
268
|
+
const agent = yield* ctx.agent.get({ agentID: ID14.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
271
|
if (agent?.data.model)
|
|
@@ -276,9 +276,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
276
276
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
277
277
|
return;
|
|
278
278
|
}));
|
|
279
|
-
}), { providerID:
|
|
279
|
+
}), { providerID: ID7.githubCopilot });
|
|
280
280
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
281
|
-
if (evt.model.providerID !==
|
|
281
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
282
282
|
return;
|
|
283
283
|
const token = evt.request.headers.get("x-api-key");
|
|
284
284
|
if (!token)
|
|
@@ -286,9 +286,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
286
286
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
287
287
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
288
288
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
289
|
-
}), { providerID:
|
|
289
|
+
}), { providerID: ID7.githubCopilot });
|
|
290
290
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
292
292
|
return;
|
|
293
293
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
294
294
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-3gt2qbz4.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node86
|
|
8
|
+
} from "./git-j840x00t.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID14,
|
|
14
|
+
Service76,
|
|
15
|
+
node79
|
|
16
|
+
} from "./git-q6avzzpv.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-775gj3j1.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service65,
|
|
22
|
+
node68
|
|
23
|
+
} from "./git-w0xh3rjx.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./git-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./git-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
provenance2,
|
|
32
32
|
compatible2,
|
|
33
33
|
isCheckpoint2,
|
|
34
34
|
encode2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./git-4j4tgtq5.js";
|
|
36
36
|
import {
|
|
37
37
|
load5
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./git-vcjvn6yt.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./git-xt4njr3s.js";
|
|
42
42
|
import {
|
|
43
43
|
baseTranscript2,
|
|
44
44
|
unsupportedParts2,
|
|
45
45
|
boundImages2,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
46
|
+
Service34,
|
|
47
|
+
node37
|
|
48
|
+
} from "./git-se2hztq6.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} from "./
|
|
50
|
+
Service46,
|
|
51
|
+
node48
|
|
52
|
+
} from "./git-phtdqv75.js";
|
|
53
53
|
import {
|
|
54
54
|
isRetryable2,
|
|
55
55
|
policy2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./git-scgrse2b.js";
|
|
57
57
|
import {
|
|
58
58
|
toSessionError2,
|
|
59
59
|
contentFilterError2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./git-515nex7v.js";
|
|
61
61
|
import {
|
|
62
62
|
calculateCost2,
|
|
63
63
|
record2,
|
|
64
64
|
add2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./git-tdstcens.js";
|
|
66
66
|
import {
|
|
67
67
|
__export
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./git-9rqn6x4v.js";
|
|
69
69
|
|
|
70
70
|
// src/session/compaction.ts
|
|
71
71
|
var exports_compaction2 = {};
|
|
@@ -172,13 +172,13 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
172
172
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
173
173
|
var LEGACY_HEADING = "## Additional Context";
|
|
174
174
|
var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
175
|
-
const agents = yield*
|
|
175
|
+
const agents = yield* Service76;
|
|
176
176
|
const bus = yield* Service83;
|
|
177
177
|
const llm = yield* LLMClient.Service;
|
|
178
|
-
const catalog = yield*
|
|
179
|
-
const models = yield*
|
|
178
|
+
const catalog = yield* Service65;
|
|
179
|
+
const models = yield* Service46;
|
|
180
180
|
const db = (yield* Service85).db;
|
|
181
|
-
const requests = yield*
|
|
181
|
+
const requests = yield* Service34;
|
|
182
182
|
const state = create3({
|
|
183
183
|
name: "session-compaction",
|
|
184
184
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -196,7 +196,7 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
196
196
|
if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
|
|
197
197
|
return { status: "skipped" };
|
|
198
198
|
const native = context.model.compaction?.type === "native";
|
|
199
|
-
const agent = native ? undefined : yield* agents.get(
|
|
199
|
+
const agent = native ? undefined : yield* agents.get(ID14.make("compaction"));
|
|
200
200
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
201
201
|
return;
|
|
202
202
|
})))) ?? context.model;
|
|
@@ -481,7 +481,7 @@ ${text}`;
|
|
|
481
481
|
var node12 = makeLocationNode({
|
|
482
482
|
service: Service10,
|
|
483
483
|
layer: layer7,
|
|
484
|
-
deps: [
|
|
484
|
+
deps: [node79, node86, node89, llmClient2, node68, node37, node48]
|
|
485
485
|
});
|
|
486
486
|
var previousCompaction = (messages) => {
|
|
487
487
|
const [first] = messages;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event11,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options10,
|
|
17
|
+
Service: () => Service63,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured10,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer26,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node66,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event11 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options10 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service63 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer26 = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service63.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer25 = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service63.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer26().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service63).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service63, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured10(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service63, layer: layer26(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node66 = configured10();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event11, hasNativeBinding2, Native3, Options10, Service63, Test3, layer26, testLayer3, nativeLayer2, nativeNode2, configured10, node66, exports_watcher };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node86
|
|
7
|
+
} from "./git-j840x00t.js";
|
|
8
8
|
import {
|
|
9
9
|
Event17,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service70,
|
|
11
|
+
node73
|
|
12
|
+
} from "./git-efybvz04.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service80,
|
|
15
|
+
node83
|
|
16
|
+
} from "./git-b4pb0qj1.js";
|
|
17
17
|
import {
|
|
18
18
|
Service79,
|
|
19
19
|
node82
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./git-n1ttjt0m.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID9,
|
|
23
|
+
Service68,
|
|
24
|
+
node71
|
|
25
|
+
} from "./git-pqmybdq4.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./git-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID8,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service67,
|
|
34
|
+
node70
|
|
35
|
+
} from "./git-78er6hm2.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./git-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError5,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service40,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured5,
|
|
56
|
+
layer: () => layer18,
|
|
57
|
+
node: () => node43
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service40 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options5 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
110
110
|
name: Schema.String,
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
114
|
+
var layer18 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service80;
|
|
116
116
|
const environment = yield* Service79;
|
|
117
117
|
const bus = yield* Service83;
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
118
|
+
const forms = yield* Service68;
|
|
119
|
+
const integration = yield* Service67;
|
|
120
|
+
const credentials = yield* Service70;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID8.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service70, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -154,19 +154,19 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
154
154
|
const name = ServerName2.make(server);
|
|
155
155
|
const entry = entries.get(name);
|
|
156
156
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
157
|
+
return yield* new NotFoundError5({ server: name });
|
|
158
158
|
return { name, entry };
|
|
159
159
|
});
|
|
160
160
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service70, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID9.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -420,7 +420,7 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service40.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
|
|
|
530
530
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function configured5(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
535
|
+
service: Service40,
|
|
536
|
+
layer: layer18(options),
|
|
537
|
+
deps: [node83, node82, node86, node71, node70, node73]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node43 = configured5();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service40, Options5, layer18, configured5, node43, exports_mcp4 };
|