@opencode/core 0.0.0-dev-20537 → 0.0.0-dev-20538
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{location-services-4650c2qw.js → git-01j90eaj.js} +11 -11
- package/dist/chunks/{location-services-kwrp2cke.js → git-01pnphy2.js} +33 -33
- package/dist/chunks/{location-services-qjv6c2tj.js → git-08170sc1.js} +30 -30
- package/dist/chunks/{location-services-f1hzxyh9.js → git-0ef06a4x.js} +4 -4
- package/dist/chunks/{location-services-rmw490pv.js → git-0grad2ye.js} +45 -45
- package/dist/chunks/{location-services-fdmc68hb.js → git-0kas960g.js} +13 -13
- package/dist/chunks/{location-services-0paq2nw3.js → git-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-0vbcp93d.js → git-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-services-bbhhp6a2.js → git-108frcsk.js} +27 -27
- package/dist/chunks/{location-services-g1hwam99.js → git-11rnz3bb.js} +32 -32
- package/dist/chunks/{location-services-9n3ztkcb.js → git-15mcze8b.js} +31 -31
- package/dist/chunks/{location-services-73racqam.js → git-16w0rwvz.js} +10 -10
- package/dist/chunks/{location-services-1dazxqgg.js → git-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-services-84h8c373.js → git-1dvck2a7.js} +2 -2
- package/dist/chunks/{location-services-sn7w05hg.js → git-1j155mbj.js} +8 -8
- package/dist/chunks/{location-services-wbe193vw.js → git-1ty6ajzg.js} +45 -45
- package/dist/chunks/{location-services-qtxphjym.js → git-20gpyykp.js} +20 -20
- package/dist/chunks/{location-services-2739wcbm.js → git-210vnmq1.js} +17 -17
- package/dist/chunks/{location-services-hz101gtb.js → git-210w33g8.js} +3 -3
- package/dist/chunks/{location-services-4148mqyb.js → git-22a0r9hw.js} +22 -22
- package/dist/chunks/{location-services-2a5m3afh.js → git-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-hk3wdbzw.js → git-2ag1df4y.js} +28 -28
- package/dist/chunks/{location-services-jb7rd38k.js → git-2bawy6dk.js} +30 -30
- package/dist/chunks/{location-services-gat4fymv.js → git-2fyaf7dq.js} +11 -11
- package/dist/chunks/{location-services-9q6kef8x.js → git-2qnzzqpz.js} +15 -15
- package/dist/chunks/{location-services-djbmhmfy.js → git-2tmscd36.js} +13 -13
- package/dist/chunks/{location-services-tapqjetq.js → git-2znbyf30.js} +3 -3
- package/dist/chunks/{location-services-k70p9jzb.js → git-3cd9n481.js} +9 -9
- package/dist/chunks/{location-services-wdd0crct.js → git-3ebxps4s.js} +24 -24
- package/dist/chunks/{location-services-3fc6dm20.js → git-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-63zahdqd.js → git-3jr3e4dz.js} +11 -11
- package/dist/chunks/{location-services-qdzbr9p9.js → git-3mmqt9t6.js} +13 -13
- package/dist/chunks/{location-services-445k6pmr.js → git-3pxcpp1y.js} +44 -44
- package/dist/chunks/{location-services-3smtnn6g.js → git-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-2n111pse.js → git-3t71cqd0.js} +25 -25
- package/dist/chunks/{location-services-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-090sd7ra.js → git-3vd7z3ap.js} +13 -13
- package/dist/chunks/{location-services-xgna4nns.js → git-3ww825z4.js} +23 -23
- package/dist/chunks/{location-services-1xzpbkn4.js → git-3zbwexce.js} +11 -11
- package/dist/chunks/{location-services-3zsf4n22.js → git-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-services-gggfs0xk.js → git-4169ywwa.js} +32 -32
- package/dist/chunks/{location-services-548zk78w.js → git-42vq69am.js} +9 -9
- package/dist/chunks/{location-services-7zv2r0w0.js → git-47zznw5q.js} +10 -10
- package/dist/chunks/{location-services-nb9p6b26.js → git-4bm5ja14.js} +4 -4
- package/dist/chunks/{location-services-zw2sat06.js → git-4t19cdft.js} +12 -12
- package/dist/chunks/{location-services-2ccvkpx1.js → git-4ts7tf6z.js} +2 -2
- package/dist/chunks/{location-services-1mfgke8q.js → git-4x93wmvz.js} +34 -34
- package/dist/chunks/{location-services-54ma36ye.js → git-54ma36ye.js} +1 -1
- package/dist/chunks/{location-services-mfqp6xfm.js → git-56gdpj1q.js} +6 -6
- package/dist/chunks/{location-services-5daktx2q.js → git-5daktx2q.js} +1 -1
- package/dist/chunks/{location-services-jtbsf1wt.js → git-5f34ja4g.js} +18 -18
- package/dist/chunks/{location-services-e3qxr5gk.js → git-5qd3pb7m.js} +2 -2
- package/dist/chunks/{location-services-5t3nmthw.js → git-5t3nmthw.js} +2 -2
- package/dist/chunks/git-619r8v3y.js +18 -0
- package/dist/chunks/{location-services-85xxa1xb.js → git-63db42yp.js} +2 -2
- package/dist/chunks/{location-services-669tq793.js → git-669tq793.js} +1 -1
- package/dist/chunks/{location-services-aw6hx41n.js → git-6djkznxj.js} +32 -32
- package/dist/chunks/{location-services-qpeq7qy2.js → git-6epn3xv5.js} +14 -14
- package/dist/chunks/{location-services-7rz9bx15.js → git-6twx9xr3.js} +6 -6
- package/dist/chunks/{location-services-k1qrnqst.js → git-6ysrkrkr.js} +8 -8
- package/dist/chunks/{location-services-f75zav2x.js → git-71az546q.js} +2 -2
- package/dist/chunks/{location-services-8z3f4xzs.js → git-78nqbeyk.js} +26 -26
- package/dist/chunks/{location-services-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-5xpsk6ad.js → git-7bywvmr6.js} +37 -37
- package/dist/chunks/{location-services-q3zyttkr.js → git-7d711qf4.js} +6 -6
- package/dist/chunks/{location-services-k76ra5zq.js → git-7dbvm11f.js} +89 -89
- package/dist/chunks/{location-services-7dqw4kz8.js → git-7dqw4kz8.js} +1 -1
- package/dist/chunks/{location-services-dfdc3x9j.js → git-7pa1ctbt.js} +9 -9
- package/dist/chunks/{location-services-cbh3s6fy.js → git-84dd9hjg.js} +17 -17
- package/dist/chunks/{location-services-84txncab.js → git-84txncab.js} +1 -1
- package/dist/chunks/{location-services-cvcz3nzr.js → git-85p13xjx.js} +9 -9
- package/dist/chunks/{location-services-pn8afmet.js → git-88g8wgjb.js} +17 -17
- package/dist/chunks/{location-services-9dkveqp9.js → git-89ta7775.js} +17 -17
- package/dist/chunks/{location-services-8d7r5vzw.js → git-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-services-nrxsaexs.js → git-8fn11dnv.js} +8 -8
- package/dist/chunks/{location-services-33qwye0g.js → git-8mntwk3z.js} +36 -36
- package/dist/chunks/{location-services-3wmkjx9q.js → git-90drn4jp.js} +37 -37
- package/dist/chunks/{location-services-j5we9a9w.js → git-911p1247.js} +4 -4
- package/dist/chunks/{location-services-pakcngh0.js → git-97w5rk9e.js} +8 -8
- package/dist/chunks/{location-services-h9rm1rrn.js → git-9b00c1fb.js} +5 -5
- package/dist/chunks/{location-services-rb7qyrmw.js → git-9bqe0gpf.js} +16 -16
- package/dist/chunks/{location-services-kb9j3d72.js → git-9e5bzkjp.js} +3 -3
- package/dist/chunks/{location-services-5rph54xz.js → git-9njgvhef.js} +22 -22
- package/dist/chunks/{location-services-c3jx7mjx.js → git-9nz5wsp3.js} +11 -11
- package/dist/chunks/{location-services-5hn5gy8k.js → git-9r05nzm2.js} +14 -14
- package/dist/chunks/{location-services-q59j7fqk.js → git-9sgmbgh8.js} +33 -33
- package/dist/chunks/{location-services-ret0wthz.js → git-9w4wk5c7.js} +17 -17
- package/dist/chunks/{location-services-bn9kxggd.js → git-a4e8tx48.js} +30 -30
- package/dist/chunks/{location-services-4qn8jffq.js → git-a91jd8rx.js} +33 -33
- package/dist/chunks/{location-services-aaet6srn.js → git-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-09jrgjtk.js → git-acx86tm7.js} +48 -48
- package/dist/chunks/{location-services-ajwrk4qv.js → git-ae77pzvn.js} +19 -19
- package/dist/chunks/{location-services-tx18x5rj.js → git-ae9f6qbf.js} +24 -24
- package/dist/chunks/{location-services-7d4xdh6f.js → git-b22ja64b.js} +5 -5
- package/dist/chunks/{location-services-4vpyvh6w.js → git-b44nc6js.js} +18 -18
- package/dist/chunks/{location-services-py3kkmfq.js → git-b4twkq7r.js} +6 -6
- package/dist/chunks/{location-services-yvdf1jk9.js → git-b5hrghh5.js} +4 -4
- package/dist/chunks/{location-services-b6gygkdw.js → git-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-etcjgnrt.js → git-bczdhfev.js} +82 -82
- package/dist/chunks/{location-services-g8gngdw1.js → git-bjm3qyqr.js} +32 -32
- package/dist/chunks/{location-services-jwhjcbyp.js → git-bqy9wzrr.js} +26 -26
- package/dist/chunks/{location-services-p5kwhr81.js → git-brrvqv00.js} +18 -18
- package/dist/chunks/{location-services-5wtwrezn.js → git-cavr175a.js} +21 -21
- package/dist/chunks/{location-services-nz9mxn4c.js → git-cew1wkrw.js} +11 -11
- package/dist/chunks/{location-services-3n8b61ny.js → git-cfgx7myt.js} +46 -46
- package/dist/chunks/{location-services-9hn6k4tm.js → git-cmwkp3r5.js} +8 -8
- package/dist/chunks/{location-services-a4cqkne0.js → git-cqvdfskm.js} +4 -4
- package/dist/chunks/{location-services-pzzj2s60.js → git-cs8c5722.js} +24 -24
- package/dist/chunks/{location-services-hfg95gcz.js → git-cya9m9ka.js} +19 -19
- package/dist/chunks/{location-services-3ndk2zmb.js → git-cygp66gj.js} +14 -14
- package/dist/chunks/{location-services-jhf3jymm.js → git-d1mtykxg.js} +6 -6
- package/dist/chunks/{location-services-n8de19aq.js → git-d3x0g1ge.js} +9 -9
- package/dist/chunks/{location-services-r2m716tb.js → git-d4he2qe1.js} +9 -9
- package/dist/chunks/{location-services-wfk00ms1.js → git-d6htshpr.js} +11 -11
- package/dist/chunks/{location-services-x661k3y3.js → git-db2wf4at.js} +4 -4
- package/dist/chunks/{location-services-pkxr7bz7.js → git-ddqzt9ar.js} +26 -26
- package/dist/chunks/{location-services-880jzpzw.js → git-dgx763c4.js} +15 -15
- package/dist/chunks/{location-services-wpamggjr.js → git-dkcp985t.js} +9 -9
- package/dist/chunks/{location-services-xkntkrq7.js → git-dmqcgk4z.js} +5 -5
- package/dist/chunks/{location-services-5qmahpw7.js → git-dpq9k9e5.js} +11 -11
- package/dist/chunks/{location-services-3akdnqww.js → git-dw9armfg.js} +2 -2
- package/dist/chunks/{location-services-w3nq1sqw.js → git-dzw83ac5.js} +9 -9
- package/dist/chunks/{location-services-pjcdc1eb.js → git-e0vtkr8g.js} +6 -6
- package/dist/chunks/{location-services-ex32rbjv.js → git-e6b9ksp3.js} +10 -10
- package/dist/chunks/{location-services-7j0zjj68.js → git-e6gk6vkp.js} +5 -5
- package/dist/chunks/{location-services-w98vwcdd.js → git-e81kfs0g.js} +53 -53
- package/dist/chunks/{location-services-na1b7yvn.js → git-e8n3k0rs.js} +14 -14
- package/dist/chunks/{location-services-eaezvagx.js → git-e8vwfchq.js} +9 -9
- package/dist/chunks/{location-services-g87wfbfj.js → git-e957davs.js} +10 -10
- package/dist/chunks/{location-services-ef5x83kb.js → git-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-services-hafepx0m.js → git-ep44p4pe.js} +12 -12
- package/dist/chunks/{location-services-etq0c3wd.js → git-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-services-hpcc46c6.js → git-f390vyfh.js} +23 -23
- package/dist/chunks/{location-services-qg1twfqe.js → git-febwp2sd.js} +10 -10
- package/dist/chunks/{location-services-z21wbhwx.js → git-g150e6dx.js} +3 -3
- package/dist/chunks/{location-services-xfkkasph.js → git-g5w8qwbj.js} +4 -4
- package/dist/chunks/{location-services-kfm85q5p.js → git-g6nq8pzr.js} +18 -18
- package/dist/chunks/{location-services-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-tz4n1mmd.js → git-gst7axd9.js} +4 -4
- package/dist/chunks/{location-services-yrf0wz8x.js → git-gttbyh04.js} +25 -25
- package/dist/chunks/{location-services-4xhhjths.js → git-gv66gg0x.js} +8 -8
- package/dist/chunks/{location-services-5dkn69vz.js → git-gw7cjrad.js} +4 -4
- package/dist/chunks/{location-services-tzhe3ffv.js → git-gzq6x9xy.js} +65 -65
- package/dist/chunks/{location-services-3cegwx68.js → git-h2b79v29.js} +2 -2
- package/dist/chunks/{location-services-r287dkar.js → git-h2zqm4z5.js} +9 -9
- package/dist/chunks/{location-services-91d1afre.js → git-h3b3f6s3.js} +8 -8
- package/dist/chunks/{location-services-0k1mtnc0.js → git-h3d536gm.js} +3 -3
- package/dist/chunks/{location-services-wxrsqkpp.js → git-h5b4kcx3.js} +8 -8
- package/dist/chunks/{location-services-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-b3f8fkhc.js → git-hdkng2sj.js} +5 -5
- package/dist/chunks/{location-services-5n5tsk4n.js → git-hfjgv5mq.js} +9 -9
- package/dist/chunks/{location-services-17ckmk6r.js → git-hqbydggd.js} +4 -4
- package/dist/chunks/{location-services-bqgt6scq.js → git-hx87qmaz.js} +35 -35
- package/dist/chunks/{location-services-5jgjtfet.js → git-j2t1dfhz.js} +1 -1
- package/dist/chunks/{location-services-j56e64zr.js → git-j56e64zr.js} +1 -1
- package/dist/chunks/{location-services-1r6k1529.js → git-j7bxsyf2.js} +7 -7
- package/dist/chunks/{location-services-7qwvpcev.js → git-jbah23ew.js} +21 -21
- package/dist/chunks/{location-services-hvwcn4a1.js → git-jgrh7b0f.js} +20 -20
- package/dist/chunks/{location-services-vfnbmqyf.js → git-jq1shjfk.js} +11 -11
- package/dist/chunks/{location-services-6g5dtey9.js → git-jy1wdjtb.js} +6 -6
- package/dist/chunks/{location-services-8d37933j.js → git-jy6g3cvf.js} +25 -25
- package/dist/chunks/{location-services-h83xjv7f.js → git-kjdm35cs.js} +5 -5
- package/dist/chunks/{location-services-bqx0k4e8.js → git-kjmv31m7.js} +24 -24
- package/dist/chunks/{location-services-svb96c7g.js → git-kx004b36.js} +9 -9
- package/dist/chunks/git-m1aepqe8.js +507 -0
- package/dist/chunks/{location-services-m3fdjcah.js → git-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-services-vvtpgvxg.js → git-m4vns8b1.js} +10 -10
- package/dist/chunks/{location-services-e6emc0zd.js → git-m9jxvmh1.js} +11 -11
- package/dist/chunks/{location-services-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-b8qvr9pm.js → git-md9k8f9h.js} +4 -4
- package/dist/chunks/{location-services-129m75gm.js → git-mdj7bahr.js} +11 -11
- package/dist/chunks/{location-services-bf4gbvg4.js → git-n2da8v4r.js} +16 -16
- package/dist/chunks/{location-services-xmf0kd7c.js → git-n5tgpa49.js} +10 -10
- package/dist/chunks/{location-services-zmr78fwr.js → git-n8vdnqrc.js} +5 -5
- package/dist/chunks/{location-services-r3zgfvd7.js → git-nd0efaxq.js} +21 -21
- package/dist/chunks/{location-services-nxm207yx.js → git-nxm207yx.js} +1 -1
- package/dist/chunks/{location-services-k8hpw67k.js → git-nz569jqt.js} +5 -5
- package/dist/chunks/{location-services-db4c6dbt.js → git-p25ycqbr.js} +10 -10
- package/dist/chunks/{location-services-mn1v50y8.js → git-p3hj61df.js} +17 -17
- package/dist/chunks/{location-services-t289dnjq.js → git-p63yn2ba.js} +1 -1
- package/dist/chunks/{location-services-x7wv6h2t.js → git-pdsp1jvw.js} +41 -41
- package/dist/chunks/{location-services-44evqxhd.js → git-pe6r5a00.js} +20 -20
- package/dist/chunks/{location-services-f0y7qn63.js → git-pgt7xm7w.js} +12 -12
- package/dist/chunks/{location-services-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-6z87w78t.js → git-pn72jkdj.js} +30 -30
- package/dist/chunks/{location-services-tx3wpygc.js → git-ptdsxnqe.js} +19 -19
- package/dist/chunks/{location-services-ax9bdc30.js → git-pvxwxdrj.js} +21 -21
- package/dist/chunks/{location-services-0j77ygfz.js → git-q0xm7vwc.js} +6 -6
- package/dist/chunks/{location-services-42cq3m4d.js → git-q1299vf9.js} +32 -32
- package/dist/chunks/git-q9bz2q6x.js +26 -0
- package/dist/chunks/{location-services-ratrq7cm.js → git-qa3qhgw8.js} +4 -4
- package/dist/chunks/{location-services-qnc92qwc.js → git-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-services-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-qxjc9qry.js → git-qxjc9qry.js} +3 -3
- package/dist/chunks/{location-services-rv8748ta.js → git-r4f11j1b.js} +21 -21
- package/dist/chunks/{location-services-mhkvc446.js → git-r5x6zcsm.js} +3 -3
- package/dist/chunks/{location-services-1acjjqhc.js → git-r8xr0va3.js} +4 -4
- package/dist/chunks/{location-services-rdw6cm16.js → git-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-services-raz05mm7.js → git-refgdna9.js} +18 -18
- package/dist/chunks/{location-services-fwsev3sk.js → git-rh1t848z.js} +5 -5
- package/dist/chunks/{location-services-fg9zqne9.js → git-rwhx2wjr.js} +36 -36
- package/dist/chunks/{location-services-8cw6acet.js → git-rwp39ykb.js} +11 -11
- package/dist/chunks/{location-services-q701mbem.js → git-ryy9z3kr.js} +7 -7
- package/dist/chunks/{location-services-4f5nzdp7.js → git-s5x0zaxv.js} +8 -8
- package/dist/chunks/{location-services-g2wmft89.js → git-s6wsy4b1.js} +181 -181
- package/dist/chunks/{location-services-7b4rfsm8.js → git-s9e4qx1q.js} +42 -42
- package/dist/chunks/{location-services-0qf096qr.js → git-seb74ce9.js} +15 -15
- package/dist/chunks/{location-services-gg98c2f6.js → git-sjd902kt.js} +10 -10
- package/dist/chunks/{location-services-zy7rccag.js → git-smw6fj03.js} +34 -34
- package/dist/chunks/{location-services-ejkmb07p.js → git-snc8g6rh.js} +24 -24
- package/dist/chunks/{location-services-hqe8rd4g.js → git-sq9d127s.js} +27 -27
- package/dist/chunks/{location-services-ba07h9gm.js → git-ss358qx3.js} +3 -3
- package/dist/chunks/{location-services-kvy32pjh.js → git-stt0t63v.js} +5 -5
- package/dist/chunks/{location-services-p1xe872z.js → git-sv2t3cbt.js} +10 -10
- package/dist/chunks/{location-services-mbj50dcg.js → git-sy4k6c8e.js} +42 -42
- package/dist/chunks/{location-services-xrhtfqv1.js → git-t01ewf6t.js} +11 -11
- package/dist/chunks/{location-services-b9387nfz.js → git-t3k16jnr.js} +29 -29
- package/dist/chunks/{location-services-11b8m3jd.js → git-t4epz8me.js} +5 -5
- package/dist/chunks/{location-services-mr715wtt.js → git-t5dvqmgx.js} +3 -3
- package/dist/chunks/{location-services-wm4sn3p9.js → git-t81ffg6r.js} +59 -59
- package/dist/chunks/{location-services-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-tcezcvh9.js → git-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-services-tdstcens.js → git-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-t0xtz55a.js → git-tr58f7gx.js} +11 -11
- package/dist/chunks/{location-services-sz2mf85x.js → git-twrrw8k0.js} +12 -12
- package/dist/chunks/{location-services-kb6gw2zp.js → git-tx92n959.js} +4 -4
- package/dist/chunks/{location-services-aq5y8b9e.js → git-tx9w5tca.js} +8 -8
- package/dist/chunks/{location-services-43kqwnna.js → git-txfefrdm.js} +13 -13
- package/dist/chunks/{location-services-asxv3t3t.js → git-txjb7dab.js} +6 -6
- package/dist/chunks/{location-services-470y252s.js → git-v03f7qed.js} +8 -8
- package/dist/chunks/{location-services-fpecnkgp.js → git-v0es1rhs.js} +9 -9
- package/dist/chunks/{location-services-crwbn2y9.js → git-v4m0f3qj.js} +18 -18
- package/dist/chunks/{location-services-5t943gfy.js → git-v5eb4ppj.js} +9 -9
- package/dist/chunks/{location-services-b0r77mt0.js → git-vbcyc6ey.js} +25 -25
- package/dist/chunks/{location-services-j4xy0zyz.js → git-vdeatv7n.js} +3 -3
- package/dist/chunks/{location-services-veqvce7d.js → git-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-r1es5mj9.js → git-vf8se440.js} +13 -13
- package/dist/chunks/{location-services-gctmrbvy.js → git-vjpv4151.js} +15 -15
- package/dist/chunks/{location-services-rhdj7ksw.js → git-vq6rpskq.js} +3 -3
- package/dist/chunks/{location-services-nezfzpbw.js → git-vvqdzh1p.js} +11 -11
- package/dist/chunks/{location-services-vzcthcp8.js → git-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-services-vzs5sf6e.js → git-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-services-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-kdytkkzq.js → git-w61tzg5h.js} +47 -47
- package/dist/chunks/{location-services-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-qzpdgcfa.js → git-wjxjzxnj.js} +15 -15
- package/dist/chunks/{location-services-5n9gernp.js → git-wphct09r.js} +11 -11
- package/dist/chunks/{location-services-rhjbct0v.js → git-wv396vej.js} +8 -8
- package/dist/chunks/{location-services-h5w29vws.js → git-wxyynt4w.js} +1 -1
- package/dist/chunks/{location-services-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-services-cp937pt4.js → git-x3gqap9d.js} +4 -4
- package/dist/chunks/{location-services-4nq7jge7.js → git-x5vrdyjm.js} +30 -30
- package/dist/chunks/{location-services-3nxk1rwh.js → git-x6wfrhet.js} +17 -17
- package/dist/chunks/{location-services-8rvt4ayp.js → git-x7tg71sf.js} +35 -35
- package/dist/chunks/{location-services-wfvhjczk.js → git-x8f5ayf7.js} +5 -5
- package/dist/chunks/{location-services-g506agmk.js → git-xhs1vb56.js} +12 -12
- package/dist/chunks/{location-services-z3y2mqzw.js → git-xpepwwf9.js} +24 -24
- package/dist/chunks/git-xtvh7eda.js +253 -0
- package/dist/chunks/{location-services-2ppsxfje.js → git-xyh59nvn.js} +18 -18
- package/dist/chunks/{location-services-mhv2383a.js → git-xyvjgbjk.js} +5 -5
- package/dist/chunks/{location-services-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-xfcdggm6.js → git-y2ngvk0e.js} +16 -16
- package/dist/chunks/{location-services-2evt5wtt.js → git-y49r18cm.js} +5 -5
- package/dist/chunks/{location-services-x5d957dr.js → git-y7rc46sv.js} +22 -22
- package/dist/chunks/{location-services-4bttz9j9.js → git-yc1swxyv.js} +3 -3
- package/dist/chunks/{location-services-20bttqta.js → git-yedjap2b.js} +4 -4
- package/dist/chunks/{location-services-0dygnakk.js → git-yjx32v1s.js} +4 -4
- package/dist/chunks/{location-services-gyq2yz2w.js → git-yqxy1077.js} +14 -14
- package/dist/chunks/{location-services-yrhqyw5v.js → git-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-services-wr993p73.js → git-yss3t4pw.js} +20 -20
- package/dist/chunks/{location-services-pkavez25.js → git-ytxjpgh7.js} +24 -24
- package/dist/chunks/{location-services-w2570gnf.js → git-yw1cvm16.js} +15 -15
- package/dist/chunks/{location-services-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-mkt1mhy8.js → git-zpymr5yc.js} +18 -18
- package/dist/chunks/{location-services-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-b1wc7e3p.js → git-zs3esqyg.js} +20 -20
- package/dist/chunks/{location-services-zxq2ej10.js → git-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +115 -115
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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 +91 -91
- 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 +355 -355
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +74 -74
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- 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 +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +100 -100
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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 +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/location-services-0w8ae6hm.js +0 -507
- package/dist/chunks/location-services-24ett5en.js +0 -26
- package/dist/chunks/location-services-v1faaxn9.js +0 -18
- package/dist/chunks/location-services-wyhevdkh.js +0 -253
- /package/dist/chunks/{location-services-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → git-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → git-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-34c7v6d4.js → git-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3t0ybcrp.js → git-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3w5fmr99.js → git-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-8wj87zfr.js → git-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hjbc5kem.js → git-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → git-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → git-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → git-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → git-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → git-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z5v4ffb3.js → git-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → git-z9919s4g.js} +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-dpq9k9e5.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-hqbydggd.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID11,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event16,
|
|
11
|
+
Service70
|
|
12
|
+
} from "./git-2bawy6dk.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-db2wf4at.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID10,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-pn72jkdj.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID9,
|
|
22
22
|
mergeOverlay2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./git-q1299vf9.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID8,
|
|
26
26
|
VariantID2,
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info17
|
|
28
|
+
} from "./git-a4e8tx48.js";
|
|
29
29
|
import {
|
|
30
30
|
success2,
|
|
31
31
|
error2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./git-pjvnvgmy.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/chatgpt.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -41,8 +41,8 @@ var issuer = "https://auth.openai.com";
|
|
|
41
41
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
42
42
|
var resource = "https://api.openai.com/v1";
|
|
43
43
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
44
|
-
var providerID =
|
|
45
|
-
var integrationID =
|
|
44
|
+
var providerID = ID9.openai;
|
|
45
|
+
var integrationID = ID10.make("openai");
|
|
46
46
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
47
47
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
48
48
|
var fallbackModels = new Set([
|
|
@@ -172,7 +172,7 @@ var ChatGPTPlugin2 = define({
|
|
|
172
172
|
id: "opencode.provider.chatgpt",
|
|
173
173
|
effect: Effect.fn(function* (ctx) {
|
|
174
174
|
const bus = yield* Service83;
|
|
175
|
-
const credentials = yield*
|
|
175
|
+
const credentials = yield* Service70;
|
|
176
176
|
const loading = Semaphore.makeUnsafe(1);
|
|
177
177
|
let chatgpt;
|
|
178
178
|
let available;
|
|
@@ -194,7 +194,7 @@ var ChatGPTPlugin2 = define({
|
|
|
194
194
|
yield* ctx.integration.transform((editor) => {
|
|
195
195
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
196
196
|
});
|
|
197
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
197
|
+
yield* Effect.forEach(yield* credentials.list(ID10.make("openai")), (entry) => {
|
|
198
198
|
const value = entry.value;
|
|
199
199
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
200
200
|
return Effect.void;
|
|
@@ -259,7 +259,7 @@ var ChatGPTPlugin2 = define({
|
|
|
259
259
|
});
|
|
260
260
|
const refreshModels = Effect.fn("ChatGPTPlugin.refreshModels")(function* () {
|
|
261
261
|
const connection = source;
|
|
262
|
-
const credential = connection?.type === "credential" ? (yield* credentials.get(
|
|
262
|
+
const credential = connection?.type === "credential" ? (yield* credentials.get(ID11.make(connection.id)))?.value : undefined;
|
|
263
263
|
if (credential?.type !== "oauth" || credential.methodID !== methodID || credential.expires <= Date.now() + 60000)
|
|
264
264
|
return;
|
|
265
265
|
const metadata = Option.getOrUndefined(decodeMetadata(credential.metadata));
|
|
@@ -279,7 +279,7 @@ var ChatGPTPlugin2 = define({
|
|
|
279
279
|
}));
|
|
280
280
|
});
|
|
281
281
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload()))).pipe(Effect.andThen(refreshModels().pipe(Effect.forkScoped, Effect.asVoid)));
|
|
282
|
-
yield* bus.subscribe(
|
|
282
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
283
283
|
yield* refreshModels().pipe(Effect.forkScoped);
|
|
284
284
|
yield* Effect.sleep(Duration.minutes(15)).pipe(Effect.andThen(refreshModels), Effect.forever, Effect.forkScoped);
|
|
285
285
|
})
|
|
@@ -338,7 +338,7 @@ function deriveModels2(remote, existing) {
|
|
|
338
338
|
const found = byID.get(model.modelID);
|
|
339
339
|
return found ? [deriveModel(found, model)] : [];
|
|
340
340
|
}),
|
|
341
|
-
...remote.filter((model) => !known.has(
|
|
341
|
+
...remote.filter((model) => !known.has(ID8.make(model.slug))).map((model) => deriveModel(model, Info17.default(ID9.openai, ID8.make(model.slug))))
|
|
342
342
|
];
|
|
343
343
|
}
|
|
344
344
|
function deriveModel(remote, previous) {
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./git-t81ffg6r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID6,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service46
|
|
10
|
+
} from "./git-ae9f6qbf.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill = {};
|
|
17
|
+
__export(exports_skill, {
|
|
18
|
+
Input: () => Input8,
|
|
19
|
+
Output: () => Output5,
|
|
20
|
+
Plugin: () => Plugin8,
|
|
21
|
+
SkillTool: () => exports_skill,
|
|
22
|
+
description: () => description4,
|
|
23
|
+
name: () => name8,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name8 = "skill";
|
|
30
|
+
var Input8 = Schema.Struct({
|
|
31
|
+
id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output5 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description4 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin8 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service46;
|
|
51
|
+
const permission = yield* Service75;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name8,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description4,
|
|
56
|
+
input: Input8,
|
|
57
|
+
output: Output5,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name8,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin39 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name8, Input8, Output5, description4, toModelOutput2, Plugin8, exports_skill };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-yc1swxyv.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-hqbydggd.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./git-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./git-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event16,
|
|
24
|
+
ID: () => ID11,
|
|
25
|
+
Info: () => Info21,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service70,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node74
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID11 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event16 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info21 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID11,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service70 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info21({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service70.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id: input.id ??
|
|
79
|
+
const credential = new Info21({
|
|
80
|
+
id: input.id ?? ID11.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -108,9 +108,9 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
108
108
|
type: credential.value.type,
|
|
109
109
|
active: activated
|
|
110
110
|
});
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
112
112
|
if (activated)
|
|
113
|
-
yield* bus.publish(
|
|
113
|
+
yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
114
114
|
return credential;
|
|
115
115
|
}),
|
|
116
116
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
130
130
|
})), Effect.orDie);
|
|
131
131
|
if (integrationID) {
|
|
132
132
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
133
|
-
yield* bus.publish(
|
|
133
|
+
yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
|
|
134
134
|
}
|
|
135
135
|
}),
|
|
136
136
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -162,7 +162,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
162
162
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
163
163
|
});
|
|
164
164
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
165
|
-
yield* bus.publish(
|
|
165
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
166
166
|
}),
|
|
167
167
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
168
168
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -195,12 +195,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
195
195
|
active: removed.switched,
|
|
196
196
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
197
197
|
});
|
|
198
|
-
yield* bus.publish(
|
|
198
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
199
199
|
if (removed.switched)
|
|
200
|
-
yield* bus.publish(
|
|
200
|
+
yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
201
201
|
})
|
|
202
202
|
});
|
|
203
203
|
}));
|
|
204
|
-
var
|
|
204
|
+
var node74 = makeGlobalNode({ service: Service70, layer, deps: [node88, node87] });
|
|
205
205
|
|
|
206
|
-
export {
|
|
206
|
+
export { ID11, OAuth3, Key3, Value2, Event16, Info21, Service70, node74, exports_credential };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service65
|
|
4
|
+
} from "./git-7bywvmr6.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch2 = {};
|
|
14
|
+
__export(exports_websearch2, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch2,
|
|
16
|
+
Plugin: () => Plugin19
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin19 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service65;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin12 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin19, exports_websearch2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-hqbydggd.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service80,
|
|
12
|
+
node84
|
|
13
|
+
} from "./git-9bqe0gpf.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./git-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service51,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node53
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service51 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service80;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service80, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service51.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node53 = makeLocationNode({ service: Service51, layer, deps: [node87, node84] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service51, node53, exports_rpc, define2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-q1299vf9.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-a4e8tx48.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service65
|
|
11
|
+
} from "./git-7bywvmr6.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
resolve2
|
|
14
|
+
} from "./git-6twx9xr3.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./git-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./git-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/provider.ts
|
|
23
23
|
var exports_provider = {};
|
|
24
24
|
__export(exports_provider, {
|
|
25
25
|
ConfigProviderPlugin: () => exports_provider,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin33
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Money } from "@opencode/schema/money";
|
|
30
30
|
import { Effect } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Plugin33 = define({
|
|
32
32
|
id: "opencode.config.provider",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service65;
|
|
35
35
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
36
36
|
yield* ctx.integration.transform((integrations) => {
|
|
37
37
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -175,7 +175,7 @@ var Plugin4 = define({
|
|
|
175
175
|
if (config.variants === undefined && !source?.base)
|
|
176
176
|
models.update(providerID, id, (model) => {
|
|
177
177
|
model.variants = [
|
|
178
|
-
...
|
|
178
|
+
...resolve2({
|
|
179
179
|
...model,
|
|
180
180
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
181
181
|
})
|
|
@@ -190,4 +190,4 @@ function configuredProviders(entries) {
|
|
|
190
190
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { Plugin33, exports_provider };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-tdstcens.js";
|
|
7
7
|
import {
|
|
8
8
|
contentFilterError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-xyvjgbjk.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/publish-llm-event.ts
|
|
12
12
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service7,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node9
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service7 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service7.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node9 = makeGlobalNode({ service: Service7, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service7, node9, exports_discovery };
|