@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,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service52,
|
|
6
|
+
node54
|
|
7
|
+
} from "./git-e6snzbr7.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate = {};
|
|
14
14
|
__export(exports_generate, {
|
|
15
15
|
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service23,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer12,
|
|
20
|
+
node: () => node26
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -34,11 +34,11 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service23 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer12 = Layer.effect(Service23, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service52;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -68,12 +68,12 @@ var layer11 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
68
68
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service23.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node26 = makeLocationNode({
|
|
74
|
+
service: Service23,
|
|
75
|
+
layer: layer12,
|
|
76
|
+
deps: [node54, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2, UnavailableError2,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError2, Service23, layer12, node26, exports_generate };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node86
|
|
4
|
+
} from "./git-j840x00t.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service40,
|
|
7
|
+
node43
|
|
8
|
+
} from "./git-9vx4ezry.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service73,
|
|
11
|
+
node76
|
|
12
|
+
} from "./git-rrszzvxe.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service53,
|
|
15
|
+
node55
|
|
16
|
+
} from "./git-jp8kazyb.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service39,
|
|
26
|
+
layer: () => layer17,
|
|
27
|
+
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node42
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service39 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer17 = Layer.effect(Service39, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service40;
|
|
42
|
+
const tools = yield* Service53;
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service73;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer13 = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name14(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer13 = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service39.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node42 = makeLocationNode({
|
|
124
|
+
service: Service39,
|
|
125
|
+
layer: layer17,
|
|
126
|
+
deps: [node55, node43, node86, node76]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name14, Service39, layer17, node42, exports_mcp3 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-3gt2qbz4.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
removed2,
|
|
8
8
|
make20,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-02nrjc1r.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-c1fqxshp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./git-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info6,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service37,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node40,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info6 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,7 +56,7 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service37 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make20({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service85;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service37.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node40 = makeLocationNode({ service: Service37, layer, deps: [node89] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service37, node40, exports_instruction_entry };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-8m6m0r52.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID11,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-6tzebk0j.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID11.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-5p3dx02w.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
12
|
-
WebSearchMcp: () =>
|
|
9
|
+
var exports_mcp2 = {};
|
|
10
|
+
__export(exports_mcp2, {
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
|
+
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES3 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-b4pb0qj1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service50,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node52,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service50 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service50, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node52 = LayerNode.unbound(Service50, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service50;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service50, node52, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./git-b4pb0qj1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service62
|
|
9
|
+
} from "./git-y3b7wprm.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service22
|
|
12
|
+
} from "./git-3ck1y37x.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./git-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin15
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin15 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service62;
|
|
34
|
+
const location = yield* Service80;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service22;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin34 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin15, exports_worktree };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./git-j6ne1s41.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-mz5a208t.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { isArrayNonEmpty } from "effect/Array";
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Form } from "@opencode/schema/form";
|
|
13
|
-
var providerID =
|
|
13
|
+
var providerID = ID7.make("cloudflare-ai-gateway");
|
|
14
14
|
var accountIdField = Form.StringField.make({
|
|
15
15
|
type: "string",
|
|
16
16
|
key: "accountId",
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./git-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service80
|
|
8
|
+
} from "./git-b4pb0qj1.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-n1ttjt0m.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service16
|
|
14
|
+
} from "./git-v2qjv84n.js";
|
|
15
15
|
import {
|
|
16
16
|
Service78,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-w53aabxs.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service73
|
|
22
|
+
} from "./git-rrszzvxe.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service29,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./git-h12cqrs8.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./git-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./git-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input7,
|
|
39
|
+
Output: () => Output5,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin7,
|
|
42
|
+
name: () => name7,
|
|
43
|
+
toModelContent: () => toModelContent4
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name7 = "patch";
|
|
89
|
+
var Input7 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output5 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent4 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin7 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
111
|
const environment = yield* Service79;
|
|
112
|
-
const access = yield*
|
|
112
|
+
const access = yield* Service29;
|
|
113
113
|
const fileMutation = yield* Service78;
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
114
|
+
const formatter = yield* Service16;
|
|
115
|
+
const location = yield* Service80;
|
|
116
|
+
const permission = yield* Service73;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name7,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input7,
|
|
122
|
+
output: Output5,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin20 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent4(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name7, Input7, Applied2, Output5, toModelContent4, Plugin7, exports_patch };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./git-j6ne1s41.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID7.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID7.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|