@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,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-1n4q1qt6.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-ywt8jp22.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin35,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin35 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin8 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint2, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin8 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin35, exports_firecrawl };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-qnc92qwc.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-rj3eygr5.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node59
|
|
5
|
+
} from "./git-1n4q1qt6.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-4j4tgtq5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service77,
|
|
12
|
+
node80
|
|
13
|
+
} from "./git-ze75yzft.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./git-rrszzvxe.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-frkqgfsy.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error4
|
|
22
|
+
} from "./git-jp8kazyb.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
get4
|
|
25
|
+
} from "./git-r94pvvab.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service36,
|
|
28
|
+
node38
|
|
29
|
+
} from "./git-bzbkpqhk.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
31
|
+
make15
|
|
32
|
+
} from "./git-xfkkasph.js";
|
|
33
33
|
import {
|
|
34
34
|
toLLMMessages2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./git-xt4njr3s.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./git-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/model-request.ts
|
|
41
41
|
var exports_model_request = {};
|
|
42
42
|
__export(exports_model_request, {
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service34,
|
|
44
44
|
SessionModelRequest: () => exports_model_request,
|
|
45
45
|
baseTranscript: () => baseTranscript2,
|
|
46
46
|
boundImages: () => boundImages2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer14,
|
|
48
|
+
node: () => node37,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
51
51
|
import {
|
|
@@ -82,7 +82,7 @@ var baseTranscript2 = (input) => {
|
|
|
82
82
|
return {
|
|
83
83
|
providerMetadataKey,
|
|
84
84
|
system: [
|
|
85
|
-
input.agent.system ? input.agent.system :
|
|
85
|
+
input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
|
|
86
86
|
input.initial
|
|
87
87
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
88
88
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -155,11 +155,11 @@ var boundImages2 = (messages) => {
|
|
|
155
155
|
});
|
|
156
156
|
};
|
|
157
157
|
|
|
158
|
-
class
|
|
158
|
+
class Service34 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
159
159
|
}
|
|
160
|
-
var
|
|
161
|
-
const hooks = yield*
|
|
162
|
-
const transport = yield*
|
|
160
|
+
var layer14 = Layer.effect(Service34, Effect.gen(function* () {
|
|
161
|
+
const hooks = yield* Service77;
|
|
162
|
+
const transport = yield* Service36;
|
|
163
163
|
const app = yield* Metadata2;
|
|
164
164
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
165
165
|
const session = input.session;
|
|
@@ -167,7 +167,7 @@ var layer15 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
167
167
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
168
168
|
const tools = input.tools ?? {
|
|
169
169
|
definitions: [],
|
|
170
|
-
execute: () => new
|
|
170
|
+
execute: () => new Error4({ message: "Tools are not available for this request" })
|
|
171
171
|
};
|
|
172
172
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
173
173
|
const shaped = yield* shape({
|
|
@@ -185,7 +185,7 @@ var layer15 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
185
185
|
const entries = Object.entries(shaped.options);
|
|
186
186
|
const generation = Object.fromEntries(entries.filter(([k]) => GENERATION_KEYS.has(k)));
|
|
187
187
|
const providerOptions = Object.fromEntries(entries.filter(([k]) => !GENERATION_KEYS.has(k)));
|
|
188
|
-
const affinity =
|
|
188
|
+
const affinity = get4(session);
|
|
189
189
|
const base = LLM.request({
|
|
190
190
|
model: model.model,
|
|
191
191
|
http: {
|
|
@@ -264,17 +264,17 @@ var layer15 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
264
264
|
};
|
|
265
265
|
});
|
|
266
266
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
267
|
-
return
|
|
267
|
+
return Service34.of({
|
|
268
268
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
269
269
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
270
270
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
271
271
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
272
272
|
});
|
|
273
273
|
}));
|
|
274
|
-
var
|
|
275
|
-
service:
|
|
276
|
-
layer:
|
|
277
|
-
deps: [
|
|
274
|
+
var node37 = makeLocationNode({
|
|
275
|
+
service: Service34,
|
|
276
|
+
layer: layer14,
|
|
277
|
+
deps: [node80, node38, node59]
|
|
278
278
|
});
|
|
279
279
|
|
|
280
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
280
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service34, layer14, node37, exports_model_request };
|
|
@@ -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
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-rert0e01.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID13,
|
|
17
|
+
Info: () => Info23,
|
|
18
18
|
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service75,
|
|
21
|
+
node: () => node78
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID13 = PermissionSaved.ID;
|
|
29
|
+
var Info23 = PermissionSaved.Info;
|
|
30
30
|
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service75 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service85).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID13.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service75.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node78 = makeGlobalNode({ service: Service75, layer, deps: [node89] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID13, Info23, ListInput5, AddInput2, Service75, node78, exports_saved };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-3gt2qbz4.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service83,
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
node86
|
|
9
|
+
} from "./git-j840x00t.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-775gj3j1.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./git-vcjvn6yt.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service74,
|
|
21
|
+
node77
|
|
22
|
+
} from "./git-b5mayez8.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service32,
|
|
25
|
+
node35
|
|
26
|
+
} from "./git-4gkcbsf6.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./git-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./git-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service8,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer6,
|
|
42
|
+
node: () => node10
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service8 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
61
|
+
var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service83;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service32;
|
|
65
|
+
const store = yield* Service74;
|
|
66
66
|
const db = (yield* Service85).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service8.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [
|
|
150
|
+
var node10 = makeLocationNode({
|
|
151
|
+
service: Service8,
|
|
152
|
+
layer: layer6,
|
|
153
|
+
deps: [node86, llmClient2, node35, node77, node89]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service8, isUntitled2, layer6, node10, exports_title };
|
|
@@ -1,37 +1,37 @@
|
|
|
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
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service70
|
|
11
|
+
} from "./git-efybvz04.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID8,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-78er6hm2.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID7,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-j6ne1s41.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID6,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info15
|
|
24
|
+
} from "./git-w0xh3rjx.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./git-pjvnvgmy.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
get4
|
|
31
|
+
} from "./git-r94pvvab.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./git-mz5a208t.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID7.openai;
|
|
47
|
+
var integrationID = ID8.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -180,7 +180,7 @@ var ChatGPTPlugin2 = define({
|
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
182
|
const bus = yield* Service83;
|
|
183
|
-
const credentials = yield*
|
|
183
|
+
const credentials = yield* Service70;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
|
|
|
195
195
|
yield* ctx.integration.transform((editor) => {
|
|
196
196
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
197
197
|
});
|
|
198
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
198
|
+
yield* Effect.forEach(yield* credentials.list(ID8.make("openai")), (entry) => {
|
|
199
199
|
const value = entry.value;
|
|
200
200
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
201
201
|
return Effect.void;
|
|
@@ -224,7 +224,7 @@ var ChatGPTPlugin2 = define({
|
|
|
224
224
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
225
225
|
return;
|
|
226
226
|
}));
|
|
227
|
-
evt.headers["session-id"] = session ?
|
|
227
|
+
evt.headers["session-id"] = session ? get4(session) : evt.sessionID;
|
|
228
228
|
evt.headers["thread-id"] = evt.sessionID;
|
|
229
229
|
evt.headers["x-client-request-id"] = evt.sessionID;
|
|
230
230
|
}), { providerID });
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(
|
|
328
|
+
...remote.filter((model) => !known.has(ID6.make(model.slug))).map((model) => deriveModel(model, Info15.default(ID7.openai, ID6.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service45,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service45 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service45, exports_runner };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-j840x00t.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-zw2hpfmh.js";
|
|
7
7
|
import {
|
|
8
8
|
Event17
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-efybvz04.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID8
|
|
12
|
+
} from "./git-78er6hm2.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID7,
|
|
15
|
+
Service66
|
|
16
|
+
} from "./git-j6ne1s41.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load3,
|
|
19
|
+
derive3
|
|
20
|
+
} from "./git-ghcndwhm.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID7.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service66;
|
|
30
30
|
const bus = yield* Service83;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load3(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
70
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service48,
|
|
10
|
+
node: () => node50
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service48 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node50 = LayerNode.unbound(Service48, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service48, node50, exports_service2 };
|