@opencode/core 0.0.0-dev-20939 → 0.0.0-dev-20943
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 +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{git-g13we8r8.js → tool-output-00dxre1a.js} +8 -8
- package/dist/chunks/{git-8r2bq2ar.js → tool-output-0204vqs4.js} +33 -33
- package/dist/chunks/{git-s8d7rejh.js → tool-output-02nrjc1r.js} +8 -8
- package/dist/chunks/{git-xr3wm3aj.js → tool-output-05zd7sc3.js} +28 -28
- package/dist/chunks/{git-3cg2psxn.js → tool-output-0ejae0m6.js} +52 -52
- package/dist/chunks/{git-0vbcp93d.js → tool-output-0vbcp93d.js} +2 -2
- package/dist/chunks/{git-1td8skvp.js → tool-output-0wvs75nx.js} +7 -7
- package/dist/chunks/{git-2qv9fqxy.js → tool-output-119akswp.js} +32 -32
- package/dist/chunks/{git-z9ghjs4w.js → tool-output-17mk8qnd.js} +22 -22
- package/dist/chunks/{git-ywt8jp22.js → tool-output-1ffvrpkg.js} +6 -6
- package/dist/chunks/{git-s1bm98nk.js → tool-output-1rr7fpqy.js} +25 -25
- package/dist/chunks/{git-rzz9hp52.js → tool-output-25afq108.js} +13 -13
- package/dist/chunks/{git-cmhjyy59.js → tool-output-2ahfgdn3.js} +32 -32
- package/dist/chunks/{git-bcxx5p68.js → tool-output-2e7aahbj.js} +20 -20
- package/dist/chunks/tool-output-2gx2f7fc.js +26 -0
- package/dist/chunks/{git-w6xqj5ye.js → tool-output-2kh9tqqq.js} +11 -11
- package/dist/chunks/{git-y7pbf1v9.js → tool-output-2p2wxv3d.js} +53 -53
- package/dist/chunks/{git-69h1251q.js → tool-output-3d4ymmg4.js} +14 -14
- package/dist/chunks/{git-bnqxsmme.js → tool-output-3ddjfxe1.js} +31 -31
- package/dist/chunks/{git-axe3mf62.js → tool-output-3dedrcqz.js} +3 -3
- package/dist/chunks/{git-3fc6dm20.js → tool-output-3fc6dm20.js} +1 -1
- package/dist/chunks/{git-p2pg1fr3.js → tool-output-3fjw76mx.js} +5 -5
- package/dist/chunks/{git-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-3hwn7j4h.js → tool-output-3hwn7j4h.js} +2 -2
- package/dist/chunks/{git-81rrwt6s.js → tool-output-3ppptnan.js} +6 -6
- package/dist/chunks/{git-h1pe96v9.js → tool-output-3r0rabs1.js} +3 -3
- package/dist/chunks/{git-3smtnn6g.js → tool-output-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-3tvqynh2.js → tool-output-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-3zsf4n22.js → tool-output-3zsf4n22.js} +1 -1
- package/dist/chunks/{git-hkffa77z.js → tool-output-41qfwe6g.js} +4 -4
- package/dist/chunks/{git-j2kcbdjm.js → tool-output-4b2qerh0.js} +23 -23
- package/dist/chunks/{git-d7cx6qx1.js → tool-output-4c989kgx.js} +16 -16
- package/dist/chunks/{git-jwzvq44h.js → tool-output-4d2802v0.js} +46 -46
- package/dist/chunks/{git-1j1m8xhz.js → tool-output-4fnxzqcp.js} +10 -10
- package/dist/chunks/{git-dys7k0s0.js → tool-output-4gsnryhp.js} +8 -8
- package/dist/chunks/{git-1tvmx6s4.js → tool-output-4hgwgdcv.js} +11 -11
- package/dist/chunks/{git-h8a4hjp3.js → tool-output-4pdbcv8x.js} +12 -12
- package/dist/chunks/{git-pr63qfdr.js → tool-output-4q8tbxy1.js} +28 -28
- package/dist/chunks/{git-4ts7tf6z.js → tool-output-4ts7tf6z.js} +2 -2
- package/dist/chunks/{git-80z0vyq9.js → tool-output-4xdpab2z.js} +9 -9
- package/dist/chunks/{git-165d1fya.js → tool-output-52nrj5ge.js} +14 -14
- package/dist/chunks/{git-yezhdxfc.js → tool-output-54m6jddc.js} +18 -18
- package/dist/chunks/{git-54ma36ye.js → tool-output-54ma36ye.js} +1 -1
- package/dist/chunks/{git-fg6kkv1m.js → tool-output-554rwr2z.js} +5 -5
- package/dist/chunks/{git-ryr25ayn.js → tool-output-563fgq8p.js} +7 -7
- package/dist/chunks/{git-9zcr2twm.js → tool-output-57c6v5dm.js} +18 -18
- package/dist/chunks/{git-h9frzcgs.js → tool-output-57t9cxe0.js} +32 -32
- package/dist/chunks/{git-w1zqs4jb.js → tool-output-59ef30vn.js} +10 -10
- package/dist/chunks/{git-q0vrb78f.js → tool-output-5aghxdak.js} +91 -91
- package/dist/chunks/{git-wh6zw745.js → tool-output-5fykfdj7.js} +5 -5
- package/dist/chunks/{git-5m9w47nd.js → tool-output-5m9w47nd.js} +1 -1
- package/dist/chunks/{git-yfvkm6bx.js → tool-output-5v4pd1cr.js} +23 -23
- package/dist/chunks/{git-h20caygx.js → tool-output-5xf5wkjt.js} +20 -20
- package/dist/chunks/{git-96jpmm3z.js → tool-output-5ycnm33v.js} +17 -17
- package/dist/chunks/{git-5jbc8eez.js → tool-output-5ysx909f.js} +16 -16
- package/dist/chunks/{git-2k8khapm.js → tool-output-607tc6va.js} +5 -5
- package/dist/chunks/{git-761z3p5y.js → tool-output-67w8vrf4.js} +49 -49
- package/dist/chunks/{git-80z0k9cx.js → tool-output-68efqvy7.js} +76 -76
- package/dist/chunks/{git-h8a83dy1.js → tool-output-6m2m7te3.js} +13 -13
- package/dist/chunks/{git-y5rf7nzv.js → tool-output-6rm5yzkt.js} +4 -4
- package/dist/chunks/{git-qf9g6tp9.js → tool-output-6wg7wrda.js} +6 -6
- package/dist/chunks/{git-6xb47vfp.js → tool-output-6xb47vfp.js} +1 -1
- package/dist/chunks/{git-075nkgpd.js → tool-output-6xcvt31d.js} +1 -1
- package/dist/chunks/{git-ak7ax3z9.js → tool-output-76ewr1ah.js} +16 -16
- package/dist/chunks/{git-775gj3j1.js → tool-output-775gj3j1.js} +2 -2
- package/dist/chunks/{git-pyv0v4s5.js → tool-output-77w941kd.js} +19 -19
- package/dist/chunks/{git-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-x600ksks.js → tool-output-7mtmktta.js} +36 -36
- package/dist/chunks/{git-84txncab.js → tool-output-84txncab.js} +1 -1
- package/dist/chunks/{git-bers8stt.js → tool-output-877fdf28.js} +22 -22
- package/dist/chunks/{git-tcezcvh9.js → tool-output-89znhe33.js} +4 -4
- package/dist/chunks/{git-rjf26sxe.js → tool-output-8ax0qz68.js} +2 -2
- package/dist/chunks/{git-k7ddzhbf.js → tool-output-8frgrze6.js} +11 -11
- package/dist/chunks/{git-vb9yearc.js → tool-output-8gk45p6y.js} +13 -13
- package/dist/chunks/{git-7h8edsks.js → tool-output-8j82dm5c.js} +11 -11
- package/dist/chunks/{git-8m6m0r52.js → tool-output-8m6m0r52.js} +1 -1
- package/dist/chunks/{git-wmk645f9.js → tool-output-8mp5r96f.js} +20 -20
- package/dist/chunks/{git-efx5cmrn.js → tool-output-8tv33qg7.js} +20 -20
- package/dist/chunks/{git-pv7hcpcn.js → tool-output-8wphts8g.js} +21 -21
- package/dist/chunks/{git-t421qc3a.js → tool-output-918r773q.js} +11 -11
- package/dist/chunks/{git-tq6n6agc.js → tool-output-943atts0.js} +20 -20
- package/dist/chunks/{git-kbnm34t4.js → tool-output-98f1wk8d.js} +35 -35
- package/dist/chunks/{git-ksfnj370.js → tool-output-9c3k356f.js} +14 -14
- package/dist/chunks/{git-mehg9rzj.js → tool-output-9q4sck0j.js} +7 -7
- package/dist/chunks/{git-xpp7fb32.js → tool-output-a2egaj40.js} +4 -4
- package/dist/chunks/{git-pbk47nx7.js → tool-output-a80xb9fr.js} +9 -9
- package/dist/chunks/{git-29jks5j7.js → tool-output-a8s62dcx.js} +27 -27
- package/dist/chunks/{git-kaxd0war.js → tool-output-ac6ztetz.js} +43 -43
- package/dist/chunks/{git-kapsa539.js → tool-output-ae2m54n2.js} +5 -5
- package/dist/chunks/{git-c638hs8h.js → tool-output-anhgrra9.js} +16 -16
- package/dist/chunks/{git-dhk5s52y.js → tool-output-apvw4k01.js} +20 -20
- package/dist/chunks/{git-edb9dz0c.js → tool-output-asb7p7rh.js} +28 -28
- package/dist/chunks/{git-wecqtg5s.js → tool-output-b3f8fkhc.js} +5 -5
- package/dist/chunks/{git-kxd3cfvk.js → tool-output-b42ck17h.js} +9 -9
- package/dist/chunks/{git-0q1hsqvw.js → tool-output-b7a6fqyn.js} +4 -4
- package/dist/chunks/{git-3fpjpzsr.js → tool-output-bb32hvzg.js} +15 -15
- package/dist/chunks/{git-1hza2rvx.js → tool-output-beb99wjf.js} +32 -32
- package/dist/chunks/{git-wjecba8h.js → tool-output-bq8c0svd.js} +42 -42
- package/dist/chunks/{git-gj71zhbs.js → tool-output-bx0gyb4h.js} +5 -5
- package/dist/chunks/{git-95zsg92x.js → tool-output-bxmc744n.js} +47 -47
- package/dist/chunks/{git-szdqb5nc.js → tool-output-c0hyb41y.js} +28 -28
- package/dist/chunks/{git-c1fqxshp.js → tool-output-c1fqxshp.js} +3 -3
- package/dist/chunks/{git-f22s54jx.js → tool-output-c74t4w0p.js} +23 -23
- package/dist/chunks/{git-vebrqm55.js → tool-output-cadhab6b.js} +13 -13
- package/dist/chunks/{git-vvv0rwj3.js → tool-output-cbeygsqv.js} +26 -26
- package/dist/chunks/{git-11zgttwm.js → tool-output-cbvw4p1t.js} +37 -37
- package/dist/chunks/{git-xtf28bgw.js → tool-output-cd4mg95y.js} +4 -4
- package/dist/chunks/{git-g8m4xrzc.js → tool-output-cf820tsx.js} +5 -5
- package/dist/chunks/{git-hr8c8k7c.js → tool-output-cjpy8qeq.js} +11 -11
- package/dist/chunks/{git-efbq1jb2.js → tool-output-cm9ehfy8.js} +46 -46
- package/dist/chunks/{git-g6q9qykm.js → tool-output-cpneeje0.js} +9 -9
- package/dist/chunks/{git-psw4htx6.js → tool-output-csy970gy.js} +8 -8
- package/dist/chunks/{git-k5nha8kw.js → tool-output-d1rjn9aw.js} +9 -9
- package/dist/chunks/{git-h28rstwk.js → tool-output-d292v2k7.js} +21 -21
- package/dist/chunks/{git-sa6rr81y.js → tool-output-db4aj923.js} +4 -4
- package/dist/chunks/{git-dpkg50ah.js → tool-output-dpkg50ah.js} +1 -1
- package/dist/chunks/{git-dqxsqydv.js → tool-output-dqxsqydv.js} +1 -1
- package/dist/chunks/{git-p0jk60sv.js → tool-output-dwf40nc9.js} +14 -14
- package/dist/chunks/{git-m3x828c4.js → tool-output-ecn0xnz1.js} +28 -28
- package/dist/chunks/{git-j75q4c40.js → tool-output-ecq2dzwy.js} +20 -20
- package/dist/chunks/{git-eej6y6fw.js → tool-output-eej6y6fw.js} +2 -2
- package/dist/chunks/{git-ef5x83kb.js → tool-output-ef5x83kb.js} +1 -1
- package/dist/chunks/{git-xmne4req.js → tool-output-ek20t778.js} +1 -1
- package/dist/chunks/{git-c18g5y7w.js → tool-output-erm0afbe.js} +8 -8
- package/dist/chunks/tool-output-et8jrt2h.js +253 -0
- package/dist/chunks/{git-vxwk2ajy.js → tool-output-ew24t5d6.js} +13 -13
- package/dist/chunks/{git-j9w5mp8z.js → tool-output-ez4ptx8x.js} +13 -13
- package/dist/chunks/{git-73n1w9t3.js → tool-output-f2en4vmb.js} +6 -6
- package/dist/chunks/{git-1acjjqhc.js → tool-output-f2n192rq.js} +4 -4
- package/dist/chunks/{git-9trfghjf.js → tool-output-f2tkxsqr.js} +9 -9
- package/dist/chunks/{git-cdpaedqb.js → tool-output-fbndn9th.js} +11 -11
- package/dist/chunks/{git-g9e9byyv.js → tool-output-fve99hjf.js} +35 -35
- package/dist/chunks/{git-vda10d09.js → tool-output-fxs03bm5.js} +21 -21
- package/dist/chunks/{git-br0tr5aq.js → tool-output-g0445xdp.js} +8 -8
- package/dist/chunks/{git-arbdmgrp.js → tool-output-g38vz540.js} +20 -20
- package/dist/chunks/{git-8zfnch0c.js → tool-output-g4q6q9h9.js} +23 -23
- package/dist/chunks/{git-q0b0hh2r.js → tool-output-g81stes7.js} +10 -10
- package/dist/chunks/{git-q32ypgm9.js → tool-output-gcteyjxa.js} +5 -5
- package/dist/chunks/{git-gd4qta3r.js → tool-output-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-z7k4nphe.js → tool-output-gkfjc7hm.js} +15 -15
- package/dist/chunks/{git-j55c2ran.js → tool-output-gp3qvfkw.js} +24 -24
- package/dist/chunks/{git-y1tesnfj.js → tool-output-gv3vk4bk.js} +19 -19
- package/dist/chunks/{git-7j2qha59.js → tool-output-h04cqsq0.js} +8 -8
- package/dist/chunks/{git-axe73g9p.js → tool-output-h40kgggg.js} +12 -12
- package/dist/chunks/{git-3h8spv5y.js → tool-output-h5103y2k.js} +19 -19
- package/dist/chunks/{git-h6vf3j39.js → tool-output-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-h7s7r6s9.js → tool-output-h7s7r6s9.js} +2 -2
- package/dist/chunks/{git-58jjd9d1.js → tool-output-hgnta6w7.js} +4 -4
- package/dist/chunks/{git-hgz4x7wa.js → tool-output-hgz4x7wa.js} +1 -1
- package/dist/chunks/{git-pjsqfx9m.js → tool-output-hk97hcrv.js} +6 -6
- package/dist/chunks/{git-06x8he3q.js → tool-output-hn57h045.js} +4 -4
- package/dist/chunks/{git-j3ghnye6.js → tool-output-hn950zma.js} +55 -55
- package/dist/chunks/{git-hreyw1w3.js → tool-output-hpf66yep.js} +22 -22
- package/dist/chunks/{git-bt5z5mg6.js → tool-output-hw07avbc.js} +35 -35
- package/dist/chunks/{git-waskdk5r.js → tool-output-hxn3tndz.js} +4 -4
- package/dist/chunks/{git-v3f6tep4.js → tool-output-hyxt4cba.js} +13 -13
- package/dist/chunks/{git-kc29hd37.js → tool-output-hzyevw5f.js} +36 -36
- package/dist/chunks/{git-91qna3x0.js → tool-output-j09zfasm.js} +3 -3
- package/dist/chunks/{git-1qje12gz.js → tool-output-jrdgg79c.js} +17 -17
- package/dist/chunks/{git-frg70w4n.js → tool-output-jseyaf51.js} +9 -9
- package/dist/chunks/{git-xf087mjr.js → tool-output-jtaa96vj.js} +4 -4
- package/dist/chunks/{git-rkprpv83.js → tool-output-jws6fkes.js} +8 -8
- package/dist/chunks/{git-y5yzv5w6.js → tool-output-jxvxn623.js} +9 -9
- package/dist/chunks/{git-bqwdytsq.js → tool-output-k35pfham.js} +4 -4
- package/dist/chunks/{git-w145ecfk.js → tool-output-k8p3nc22.js} +8 -8
- package/dist/chunks/{git-6vvzqxt2.js → tool-output-ka08w3pn.js} +17 -17
- package/dist/chunks/{git-dwa7a1cr.js → tool-output-kf99r65c.js} +8 -8
- package/dist/chunks/{git-khmqacep.js → tool-output-khmqacep.js} +1 -1
- package/dist/chunks/{git-z9bzdmtb.js → tool-output-kj6mt91f.js} +9 -9
- package/dist/chunks/{git-j8mw5a6v.js → tool-output-kkk7412z.js} +11 -11
- package/dist/chunks/{git-qt89bd98.js → tool-output-kkw4bhb9.js} +26 -26
- package/dist/chunks/{git-3p4pejnf.js → tool-output-kv4qctb0.js} +11 -11
- package/dist/chunks/{git-v16rkfqv.js → tool-output-kx6fepg0.js} +5 -5
- package/dist/chunks/{git-3ewed21c.js → tool-output-m0r31qfn.js} +4 -4
- package/dist/chunks/{git-rg9nzjr7.js → tool-output-m329mjby.js} +12 -12
- package/dist/chunks/{git-bby7bsqw.js → tool-output-m3dfw8qb.js} +11 -11
- package/dist/chunks/{git-gydz0bx3.js → tool-output-m6xh3j2p.js} +10 -10
- package/dist/chunks/{git-dgvb1z1q.js → tool-output-m74betby.js} +27 -27
- package/dist/chunks/{git-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-jab53n7w.js → tool-output-maa37nma.js} +34 -34
- package/dist/chunks/{git-maspj1v3.js → tool-output-maspj1v3.js} +1 -1
- package/dist/chunks/{git-fsz3hz9d.js → tool-output-mhvhsgtx.js} +13 -13
- package/dist/chunks/tool-output-mjkkdfxr.js +513 -0
- package/dist/chunks/{git-fbwke2hc.js → tool-output-mjxg90r2.js} +23 -23
- package/dist/chunks/{git-mjq5xy40.js → tool-output-mqq89mf6.js} +14 -14
- package/dist/chunks/{git-bmnx3vh3.js → tool-output-mvs6w73g.js} +33 -33
- package/dist/chunks/{git-gmqng1rf.js → tool-output-mwhjgd15.js} +23 -23
- package/dist/chunks/{git-3y377wv9.js → tool-output-mxvxcxwy.js} +4 -4
- package/dist/chunks/{git-j0eskw9p.js → tool-output-myfm3c8h.js} +18 -18
- package/dist/chunks/{git-j472fhbm.js → tool-output-myx4tth3.js} +24 -24
- package/dist/chunks/{git-cxwfba6f.js → tool-output-nfsj419k.js} +40 -40
- package/dist/chunks/{git-7cgjfawm.js → tool-output-ngxf2ks2.js} +28 -28
- package/dist/chunks/{git-ed1g29hy.js → tool-output-nma959mg.js} +3 -3
- package/dist/chunks/{git-bz9yzs8h.js → tool-output-nqc3ch54.js} +50 -50
- package/dist/chunks/{git-c35597j6.js → tool-output-nxe4pcap.js} +4 -4
- package/dist/chunks/tool-output-pf31ssb9.js +18 -0
- package/dist/chunks/{git-pjvnvgmy.js → tool-output-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-pknna89w.js → tool-output-pknna89w.js} +1 -1
- package/dist/chunks/{git-0av4r532.js → tool-output-ppa827x4.js} +11 -11
- package/dist/chunks/{git-k3nfbcdg.js → tool-output-pze1vj4z.js} +22 -22
- package/dist/chunks/{git-tnzefp3j.js → tool-output-q05pfw7g.js} +15 -15
- package/dist/chunks/{git-q0xm7vwc.js → tool-output-q0xm7vwc.js} +2 -2
- package/dist/chunks/{git-ewb5h2c6.js → tool-output-qc5kj2cr.js} +93 -93
- package/dist/chunks/{git-qnc92qwc.js → tool-output-qnc92qwc.js} +1 -1
- package/dist/chunks/{git-drwq78ky.js → tool-output-qqeeq2t9.js} +7 -7
- package/dist/chunks/{git-xtc9qv2t.js → tool-output-qsa4xv91.js} +13 -13
- package/dist/chunks/{git-qsdy395h.js → tool-output-qsdy395h.js} +1 -1
- package/dist/chunks/{git-9afaqh3p.js → tool-output-qzqxx777.js} +31 -31
- package/dist/chunks/{git-ex8b67ah.js → tool-output-r48qdv0g.js} +17 -17
- package/dist/chunks/{git-bjp0btdm.js → tool-output-r5s88spv.js} +33 -33
- package/dist/chunks/{git-zf5ps2ed.js → tool-output-r9dnkpnd.js} +17 -17
- package/dist/chunks/{git-fqcgpcra.js → tool-output-r9w3djhf.js} +9 -9
- package/dist/chunks/{git-thk2ay3y.js → tool-output-raxc239v.js} +24 -24
- package/dist/chunks/{git-ms45vgw0.js → tool-output-rcqgy8yb.js} +57 -57
- package/dist/chunks/{git-rdw6cm16.js → tool-output-rdw6cm16.js} +1 -1
- package/dist/chunks/{git-rert0e01.js → tool-output-rert0e01.js} +2 -2
- package/dist/chunks/{git-rj3eygr5.js → tool-output-rj3eygr5.js} +2 -2
- package/dist/chunks/{git-k4p037t3.js → tool-output-rk4bgvcd.js} +43 -43
- package/dist/chunks/{git-kb82g09e.js → tool-output-rmkgh5j0.js} +17 -17
- package/dist/chunks/{git-3fwdjd60.js → tool-output-rpvdw60t.js} +11 -11
- package/dist/chunks/{git-fmbz1wxm.js → tool-output-rqbtz1wv.js} +11 -11
- package/dist/chunks/{git-54chc4h8.js → tool-output-rsam15ks.js} +3 -3
- package/dist/chunks/{git-6yraa27n.js → tool-output-s17kkna2.js} +45 -45
- package/dist/chunks/{git-gy0xtkp2.js → tool-output-s3xcsrnf.js} +27 -27
- package/dist/chunks/{git-hmrcenxj.js → tool-output-s8gzr231.js} +34 -34
- package/dist/chunks/{git-sa8ekw3f.js → tool-output-sa8ekw3f.js} +2 -2
- package/dist/chunks/{git-j3gz98s6.js → tool-output-sej97cnp.js} +24 -24
- package/dist/chunks/{git-9fjg6tv9.js → tool-output-skwc3006.js} +14 -14
- package/dist/chunks/{git-vjyd6n7m.js → tool-output-smmgvfsm.js} +3 -3
- package/dist/chunks/{git-ry6831an.js → tool-output-sqmzwr9m.js} +9 -9
- package/dist/chunks/{git-grfjhrb8.js → tool-output-srhzrem9.js} +4 -4
- package/dist/chunks/{git-syv4x271.js → tool-output-syv4x271.js} +1 -1
- package/dist/chunks/{git-07eenmp6.js → tool-output-t05d5ygf.js} +193 -193
- package/dist/chunks/{git-kbj2dgab.js → tool-output-t71v2ka4.js} +5 -5
- package/dist/chunks/{git-tazgh4e4.js → tool-output-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-baxzc3fa.js → tool-output-tcmp5t59.js} +15 -15
- package/dist/chunks/{git-tdstcens.js → tool-output-tdstcens.js} +1 -1
- package/dist/chunks/{git-24nn29qr.js → tool-output-tf272swt.js} +34 -34
- package/dist/chunks/{git-ncwr4whv.js → tool-output-thmgqswn.js} +5 -5
- package/dist/chunks/{git-tg4anztr.js → tool-output-tjth7tw5.js} +4 -4
- package/dist/chunks/{git-tm0kqsz3.js → tool-output-tm0kqsz3.js} +1 -1
- package/dist/chunks/{git-zayn3byh.js → tool-output-tsn6bzsd.js} +11 -11
- package/dist/chunks/{git-gmj88g4w.js → tool-output-tv2b7nhw.js} +25 -25
- package/dist/chunks/{git-tyytaxap.js → tool-output-tyytaxap.js} +1 -1
- package/dist/chunks/{git-4434d9q2.js → tool-output-v0es1rhs.js} +9 -9
- package/dist/chunks/{git-v5n2ap6w.js → tool-output-v5j674cp.js} +3 -3
- package/dist/chunks/{git-7hkt1hj5.js → tool-output-v5ttjgxy.js} +6 -6
- package/dist/chunks/{git-mpxknqm7.js → tool-output-v7bqhanv.js} +35 -35
- package/dist/chunks/{git-v7p4zvkq.js → tool-output-v7p4zvkq.js} +2 -2
- package/dist/chunks/{git-veqvce7d.js → tool-output-veqvce7d.js} +1 -1
- package/dist/chunks/{git-478114he.js → tool-output-vheenbr9.js} +24 -24
- package/dist/chunks/{git-3wr6p2es.js → tool-output-vsdesysw.js} +22 -22
- package/dist/chunks/{git-8jg5bn4a.js → tool-output-vzep6f7z.js} +11 -11
- package/dist/chunks/{git-vzs5sf6e.js → tool-output-vzs5sf6e.js} +1 -1
- package/dist/chunks/{git-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-z3ejs4zs.js → tool-output-wa4rda39.js} +11 -11
- package/dist/chunks/{git-wd87259q.js → tool-output-wd87259q.js} +1 -1
- package/dist/chunks/{git-7hqf34h2.js → tool-output-wdtphjj7.js} +13 -13
- package/dist/chunks/{git-nhw59dgy.js → tool-output-weh8rc6v.js} +1 -1
- package/dist/chunks/{git-3g5c663j.js → tool-output-wpb27bwd.js} +8 -8
- package/dist/chunks/{git-azwgv1j7.js → tool-output-wy7ff6f9.js} +3 -3
- package/dist/chunks/{git-6wtm9zvr.js → tool-output-xpeshqab.js} +6 -6
- package/dist/chunks/{git-9y9sk2j9.js → tool-output-xs089yjg.js} +2 -2
- package/dist/chunks/{git-y1fvbwt7.js → tool-output-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-166kng33.js → tool-output-y2yt4szk.js} +8 -8
- package/dist/chunks/{git-b89rk9wg.js → tool-output-y60ndsz4.js} +35 -35
- package/dist/chunks/{git-yvr3rpg1.js → tool-output-yh7y4rva.js} +45 -45
- package/dist/chunks/{git-c45054e9.js → tool-output-yrgng78h.js} +50 -50
- package/dist/chunks/{git-yy8h1s6k.js → tool-output-ytws2q7b.js} +20 -20
- package/dist/chunks/{git-z0bkrqjs.js → tool-output-z0bkrqjs.js} +1 -1
- package/dist/chunks/{git-yyavswax.js → tool-output-z85mww56.js} +22 -22
- package/dist/chunks/{git-5wybadbe.js → tool-output-z8je1s7q.js} +5 -5
- package/dist/chunks/{git-j5p46aw0.js → tool-output-zd9462e6.js} +18 -18
- package/dist/chunks/{git-0618fyjb.js → tool-output-zftebyga.js} +25 -25
- package/dist/chunks/{git-zr2ceqn5.js → tool-output-zr2ceqn5.js} +1 -1
- package/dist/chunks/{git-6k2q6847.js → tool-output-ztxz3tey.js} +29 -29
- package/dist/chunks/{git-zxq2ej10.js → tool-output-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- 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 +86 -86
- 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 +118 -118
- 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 +120 -120
- 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 +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- 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 +87 -87
- package/dist/database/database.js +72 -72
- 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/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 +81 -81
- 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 +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- 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 +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +216 -216
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +85 -85
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- 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 +91 -91
- 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 +127 -127
- 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 +100 -100
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- 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 +92 -92
- 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 +4 -4
- 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 +127 -127
- package/dist/plugin/provider/openai.js +120 -120
- 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 +78 -78
- 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 +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 +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- 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 +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- 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 +219 -219
- package/dist/session/execution.js +129 -129
- 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 +86 -86
- 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 +3 -3
- 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 +4 -4
- 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 +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +9 -9
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- 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 +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 +126 -126
- 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 +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +124 -124
- 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 +16 -16
- 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 +5 -5
- package/dist/v1/config/command.js +5 -5
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- 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/git-cje60p1m.js +0 -253
- package/dist/chunks/git-jqh9b0xq.js +0 -18
- package/dist/chunks/git-p8qbpzd5.js +0 -513
- package/dist/chunks/git-rc85qdb5.js +0 -26
- /package/dist/chunks/{git-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → tool-output-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → tool-output-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2bv980vf.js → tool-output-2bv980vf.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → tool-output-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3t0ybcrp.js → tool-output-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → tool-output-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-5qd3pb7m.js → tool-output-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → tool-output-6prwharc.js} +0 -0
- /package/dist/chunks/{git-6q2bdcd1.js → tool-output-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → tool-output-822emrt2.js} +0 -0
- /package/dist/chunks/{git-84wd9syh.js → tool-output-84wd9syh.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-8wj87zfr.js → tool-output-8wj87zfr.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → tool-output-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → tool-output-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → tool-output-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → tool-output-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hcxmzztb.js → tool-output-hcxmzztb.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → tool-output-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jze0r7bz.js → tool-output-jze0r7bz.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-m18g726c.js → tool-output-m18g726c.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-pkyv6v7h.js → tool-output-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{git-pyv0edze.js → tool-output-pyv0edze.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-ve7vex1e.js → tool-output-ve7vex1e.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wjj7prxr.js → tool-output-wjj7prxr.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → tool-output-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-ym463w8f.js → tool-output-ym463w8f.js} +0 -0
- /package/dist/chunks/{git-z5v4ffb3.js → tool-output-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./tool-output-5ysx909f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event17,
|
|
7
|
+
Service73,
|
|
8
|
+
node76
|
|
9
|
+
} from "./tool-output-v7bqhanv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service34,
|
|
12
|
+
node37
|
|
13
|
+
} from "./tool-output-17mk8qnd.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-output-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service81,
|
|
19
|
+
node85
|
|
20
|
+
} from "./tool-output-jrdgg79c.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-output-4ts7tf6z.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-output-zd9462e6.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names3,
|
|
29
29
|
stripPreferenceMetadata2,
|
|
30
30
|
discover3
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./tool-output-g81stes7.js";
|
|
32
32
|
import {
|
|
33
33
|
plan2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./tool-output-dqxsqydv.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
36
|
+
Service78,
|
|
37
|
+
Event20,
|
|
38
|
+
node81
|
|
39
|
+
} from "./tool-output-c74t4w0p.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/config.ts
|
|
45
45
|
var exports_config = {};
|
|
46
46
|
__export(exports_config, {
|
|
47
47
|
Config: () => exports_config,
|
|
48
|
-
Options: () =>
|
|
49
|
-
Service: () =>
|
|
48
|
+
Options: () => Options3,
|
|
49
|
+
Service: () => Service33,
|
|
50
50
|
Test: () => Test2,
|
|
51
|
-
configured: () =>
|
|
51
|
+
configured: () => configured3,
|
|
52
52
|
latest: () => latest2,
|
|
53
|
-
layer: () =>
|
|
54
|
-
node: () =>
|
|
53
|
+
layer: () => layer15,
|
|
54
|
+
node: () => node36,
|
|
55
55
|
testLayer: () => testLayer2
|
|
56
56
|
});
|
|
57
57
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -67,7 +67,7 @@ import { ChildProcess } from "effect/process";
|
|
|
67
67
|
function latest2(entries, key) {
|
|
68
68
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
69
69
|
}
|
|
70
|
-
var
|
|
70
|
+
var Options3 = Schema.Struct({
|
|
71
71
|
project: Schema.optional(Schema.Boolean),
|
|
72
72
|
global: Schema.optional(Schema.Boolean),
|
|
73
73
|
system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
|
|
@@ -75,7 +75,7 @@ var Options6 = Schema.Struct({
|
|
|
75
75
|
content: Schema.optional(Schema.String)
|
|
76
76
|
});
|
|
77
77
|
|
|
78
|
-
class
|
|
78
|
+
class Service33 extends Context.Service()("@opencode/Config") {
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -93,16 +93,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
93
93
|
setEntries: (next) => Ref.set(entries, next),
|
|
94
94
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
95
95
|
});
|
|
96
|
-
return Context.empty().pipe(Context.add(
|
|
96
|
+
return Context.empty().pipe(Context.add(Service33, service), Context.add(Test2, service));
|
|
97
97
|
}));
|
|
98
|
-
var
|
|
98
|
+
var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
|
-
const location = yield*
|
|
101
|
-
const watcher = yield*
|
|
102
|
-
const bus = yield*
|
|
103
|
-
const credentials = yield*
|
|
100
|
+
const location = yield* Service81;
|
|
101
|
+
const watcher = yield* Service34;
|
|
102
|
+
const bus = yield* Service84;
|
|
103
|
+
const credentials = yield* Service73;
|
|
104
104
|
const globalService = yield* Global.Service;
|
|
105
|
-
const wellknown = yield*
|
|
105
|
+
const wellknown = yield* Service78;
|
|
106
106
|
const processes = yield* AppProcess.Service;
|
|
107
107
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
108
108
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
@@ -185,7 +185,7 @@ var layer21 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
185
185
|
});
|
|
186
186
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
187
187
|
return [
|
|
188
|
-
...yield* Effect.forEach(
|
|
188
|
+
...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
189
189
|
new Directory({ type: "directory", path: directory })
|
|
190
190
|
];
|
|
191
191
|
});
|
|
@@ -253,8 +253,8 @@ var layer21 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
253
253
|
}, (effect) => reloadLock.withPermit(effect));
|
|
254
254
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
255
255
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
256
|
-
yield* bus.subscribe(
|
|
257
|
-
yield* bus.subscribe(
|
|
256
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
257
|
+
yield* bus.subscribe(Event20.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
258
258
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
259
259
|
if (!wellknown.snapshot().length)
|
|
260
260
|
return Effect.void;
|
|
@@ -267,7 +267,7 @@ var layer21 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
267
267
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
268
268
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
269
269
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
270
|
-
const candidates =
|
|
270
|
+
const candidates = names3.map((name) => path.join(directory, name));
|
|
271
271
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
272
272
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
273
273
|
`;
|
|
@@ -282,7 +282,7 @@ var layer21 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
282
282
|
`);
|
|
283
283
|
yield* requestReload;
|
|
284
284
|
}, (effect) => updateLock.withPermit(effect));
|
|
285
|
-
return
|
|
285
|
+
return Service33.of({
|
|
286
286
|
entries: Effect.fnUntraced(function* () {
|
|
287
287
|
return configs;
|
|
288
288
|
}),
|
|
@@ -294,22 +294,22 @@ var layer21 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
294
294
|
update
|
|
295
295
|
});
|
|
296
296
|
}));
|
|
297
|
-
function
|
|
297
|
+
function configured3(options) {
|
|
298
298
|
return makeLocationNode({
|
|
299
|
-
service:
|
|
300
|
-
layer:
|
|
299
|
+
service: Service33,
|
|
300
|
+
layer: layer15(options),
|
|
301
301
|
deps: [
|
|
302
|
-
|
|
303
|
-
|
|
302
|
+
node37,
|
|
303
|
+
node88,
|
|
304
304
|
FSUtil.node,
|
|
305
305
|
Global.node,
|
|
306
|
-
node81,
|
|
307
306
|
node85,
|
|
308
|
-
|
|
307
|
+
node76,
|
|
308
|
+
node81,
|
|
309
309
|
AppProcess.node
|
|
310
310
|
]
|
|
311
311
|
});
|
|
312
312
|
}
|
|
313
|
-
var
|
|
313
|
+
var node36 = configured3();
|
|
314
314
|
|
|
315
|
-
export { latest2,
|
|
315
|
+
export { latest2, Options3, Service33, Test2, testLayer2, layer15, configured3, node36, exports_config };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service33
|
|
4
|
+
} from "./tool-output-0ejae0m6.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin21,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin21 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service33;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin43 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin21, exports_warming };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./tool-output-raxc239v.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service15,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-ez4ptx8x.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service63
|
|
11
|
+
} from "./tool-output-tcmp5t59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service49
|
|
14
|
+
} from "./tool-output-hn950zma.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service14
|
|
17
|
+
} from "./tool-output-54m6jddc.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-output-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input12,
|
|
29
|
+
Output: () => Output8,
|
|
30
|
+
Plugin: () => Plugin14,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name12,
|
|
33
|
+
toModelContent: () => toModelContent6
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name12 = "write";
|
|
39
|
+
var Input12 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output8 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin14 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service14;
|
|
56
|
+
const fileMutation = yield* Service15;
|
|
57
|
+
const environment = yield* Service67;
|
|
58
|
+
const formatter = yield* Service63;
|
|
59
|
+
const permission = yield* Service49;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name12,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input12,
|
|
69
|
+
output: Output8,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name12, Input12, Output8, toModelContent6, Plugin14, exports_write };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event3,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options4,
|
|
17
|
+
Service: () => Service34,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured4,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer16,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node37,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event3 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options4 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service34 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer16 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service34.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer22 = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service34.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer16().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service34).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service34, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured4(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service34, layer: layer16(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node37 = configured4();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event3, hasNativeBinding2, Native3, Options4, Service34, Test3, layer16, testLayer3, nativeLayer2, nativeNode2, configured4, node37, exports_watcher };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
9
|
+
var exports_mcp = {};
|
|
10
|
+
__export(exports_mcp, {
|
|
11
11
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
|
-
WebSearchMcp: () =>
|
|
12
|
+
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export { MAX_RESPONSE_BYTES3, parseResponse2, call2,
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service34,
|
|
3
|
+
node37
|
|
4
|
+
} from "./tool-output-17mk8qnd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./tool-output-jrdgg79c.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service33,
|
|
11
|
+
node36
|
|
12
|
+
} from "./tool-output-0ejae0m6.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-output-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service7,
|
|
26
26
|
empty: () => empty2,
|
|
27
27
|
layer: () => layer5,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node8
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service7 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var layer5 = Layer.effect(
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer5 = Layer.effect(Service7, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service33;
|
|
40
|
+
const watcher = yield* Service34;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service81;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service7.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
73
|
+
var node8 = makeLocationNode({
|
|
74
|
+
service: Service7,
|
|
75
75
|
layer: layer5,
|
|
76
|
-
deps: [
|
|
76
|
+
deps: [node36, FSUtil.node, node37, node85]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service7,
|
|
80
|
+
layer: Layer.succeed(Service7, Service7.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service7, layer5, node8, empty2, exports_source };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service47,
|
|
3
|
+
node49
|
|
4
|
+
} from "./tool-output-rk4bgvcd.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-3dedrcqz.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service39,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node41,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service39 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service47;
|
|
59
|
+
return Service39.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node41 = makeLocationNode({ service: Service39, layer, deps: [node49] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service39, resolved2, node41, exports_model };
|