@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
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-tazgh4e4.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-ef5x83kb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service80
|
|
14
|
+
} from "./git-b4pb0qj1.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./git-hh35cv3q.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./git-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin33,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin33 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service80;
|
|
40
40
|
if (location.vcs && location.vcs.type !== "git")
|
|
41
41
|
return;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
553
553
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
554
554
|
});
|
|
555
555
|
|
|
556
|
-
export {
|
|
556
|
+
export { Plugin33, exports_git };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-2bv980vf.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./git-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-rj3eygr5.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-1n4q1qt6.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
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID7
|
|
17
|
+
} from "./git-j6ne1s41.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID6,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./git-w0xh3rjx.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./git-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID7.make("digitalocean");
|
|
31
|
+
var integrationID = ID8.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID6.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-1n4q1qt6.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-j840x00t.js";
|
|
7
7
|
import {
|
|
8
8
|
ID10,
|
|
9
9
|
Event17,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service70
|
|
11
|
+
} from "./git-efybvz04.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./git-zw2hpfmh.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID8,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./git-78er6hm2.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./git-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID7,
|
|
24
|
+
Service66
|
|
25
|
+
} from "./git-j6ne1s41.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID6
|
|
28
|
+
} from "./git-w0xh3rjx.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./git-mz5a208t.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make5(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID7.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
75
|
const bus = yield* Service83;
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
76
|
+
const credentials = yield* Service70;
|
|
77
|
+
const providers = yield* Service66;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -100,11 +100,11 @@ function make6(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID7.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID7.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make6(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID7.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,7 +142,7 @@ function make6(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID7.azure);
|
|
146
146
|
const stored = connection?.type === "credential" ? yield* credentials.get(ID10.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
@@ -182,7 +182,7 @@ function make6(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID7.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make6(endpoints = {
|
|
|
204
204
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID7.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID7.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make6(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID7.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID7.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make6(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID7.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make6(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID7.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -263,20 +263,20 @@ function make6(endpoints = {
|
|
|
263
263
|
}
|
|
264
264
|
if (!loaded.deployments)
|
|
265
265
|
return;
|
|
266
|
-
const catalog = models.list(
|
|
266
|
+
const catalog = models.list(ID7.azure);
|
|
267
267
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
268
268
|
for (const model of catalog) {
|
|
269
269
|
if (!deployed.has(model.id))
|
|
270
|
-
models.remove(
|
|
270
|
+
models.remove(ID7.azure, model.id);
|
|
271
271
|
}
|
|
272
272
|
for (const [id, model] of deployed) {
|
|
273
|
-
models.update(
|
|
273
|
+
models.update(ID7.azure, id, (draft) => Object.assign(draft, model));
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
|
-
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
276
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
277
277
|
yield* refresh().pipe(Effect.forkScoped);
|
|
278
278
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
279
|
-
const connection = yield* ctx.integration.connection.active(
|
|
279
|
+
const connection = yield* ctx.integration.connection.active(ID7.azure);
|
|
280
280
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
281
281
|
return;
|
|
282
282
|
})) : undefined;
|
|
@@ -288,7 +288,7 @@ function make6(endpoints = {
|
|
|
288
288
|
return `Bearer ${current.access}`;
|
|
289
289
|
});
|
|
290
290
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID7.azure)
|
|
292
292
|
return;
|
|
293
293
|
const authorization = yield* bearer(evt.request.url);
|
|
294
294
|
if (!authorization)
|
|
@@ -297,9 +297,9 @@ function make6(endpoints = {
|
|
|
297
297
|
evt.request.headers.delete("x-api-key");
|
|
298
298
|
evt.request.headers.set("authorization", authorization);
|
|
299
299
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
300
|
-
}), { providerID:
|
|
300
|
+
}), { providerID: ID7.azure });
|
|
301
301
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
302
|
-
if (evt.model.providerID !==
|
|
302
|
+
if (evt.model.providerID !== ID7.azure)
|
|
303
303
|
return;
|
|
304
304
|
const authorization = yield* bearer(evt.url);
|
|
305
305
|
if (!authorization)
|
|
@@ -308,11 +308,11 @@ function make6(endpoints = {
|
|
|
308
308
|
delete evt.headers["x-api-key"];
|
|
309
309
|
evt.headers.authorization = authorization;
|
|
310
310
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
311
|
-
}), { providerID:
|
|
311
|
+
}), { providerID: ID7.azure });
|
|
312
312
|
})
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
|
-
var AzurePlugin2 =
|
|
315
|
+
var AzurePlugin2 = make5();
|
|
316
316
|
function resolveResourceName(settings, fallback) {
|
|
317
317
|
const configured = settings?.resourceName;
|
|
318
318
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
|
|
|
342
342
|
const model = catalogModel(models, deployment);
|
|
343
343
|
if (!model)
|
|
344
344
|
return [];
|
|
345
|
-
const id =
|
|
345
|
+
const id = ID6.make(deployment.name.toLowerCase());
|
|
346
346
|
const info = {
|
|
347
347
|
...structuredClone(model),
|
|
348
348
|
id,
|
|
349
|
-
modelID:
|
|
349
|
+
modelID: ID6.make(deployment.name),
|
|
350
350
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
351
351
|
};
|
|
352
352
|
return [[id, info]];
|
|
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
368
368
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
export {
|
|
371
|
+
export { make5, AzurePlugin2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-48kw51zw.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node86
|
|
4
|
+
} from "./git-j840x00t.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node83
|
|
8
|
+
} from "./git-b4pb0qj1.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID14,
|
|
11
|
+
Service76,
|
|
12
|
+
node79
|
|
13
|
+
} from "./git-q6avzzpv.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError10
|
|
16
|
+
} from "./git-twwzjqdf.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service74,
|
|
19
|
+
node77
|
|
20
|
+
} from "./git-b5mayez8.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./git-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service75,
|
|
26
|
+
node78
|
|
27
|
+
} from "./git-skg7yay7.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service77,
|
|
30
|
+
node80
|
|
31
|
+
} from "./git-ze75yzft.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./git-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,29 +42,29 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
45
|
+
Event: () => Event19,
|
|
46
|
+
ID: () => ID12,
|
|
47
|
+
NotFoundError: () => NotFoundError9,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
|
-
Reply: () =>
|
|
49
|
+
Reply: () => Reply3,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request3,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service73,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node76
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event19 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID12 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -75,19 +75,19 @@ var RequestFields = {
|
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
77
|
var Request3 = Permission.Request;
|
|
78
|
-
var
|
|
78
|
+
var Reply3 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID12.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID14.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID12,
|
|
86
|
+
reply: Reply3,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID12,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID12
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service73 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service83;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
132
|
+
const location = yield* Service80;
|
|
133
|
+
const agents = yield* Service76;
|
|
134
|
+
const sessions = yield* Service74;
|
|
135
|
+
const saved = yield* Service75;
|
|
136
|
+
const hooks = yield* Service77;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError10({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID12.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID12.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError9({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service73.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node76 = makeLocationNode({
|
|
303
|
+
service: Service73,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [
|
|
305
|
+
deps: [node86, node83, node79, node77, node78, node80]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID12, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service73, node76, exports_permission2, Rule3, Ruleset2, Event19 };
|