@opencode/core 0.0.0-dev-20942 → 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 +7 -7
- package/dist/bus.js +71 -71
- package/dist/chunks/{file-retention-2hb1hzkz.js → tool-output-00dxre1a.js} +8 -8
- package/dist/chunks/{file-retention-nq94dzyn.js → tool-output-0204vqs4.js} +31 -31
- package/dist/chunks/{file-retention-rhjbct0v.js → tool-output-02nrjc1r.js} +6 -6
- package/dist/chunks/{file-retention-r89cnx03.js → tool-output-05zd7sc3.js} +23 -23
- package/dist/chunks/{file-retention-5cewxaxe.js → tool-output-0ejae0m6.js} +48 -48
- package/dist/chunks/{file-retention-0vbcp93d.js → tool-output-0vbcp93d.js} +2 -2
- package/dist/chunks/{file-retention-hn388zxv.js → tool-output-0wvs75nx.js} +7 -7
- package/dist/chunks/{file-retention-j6vf2ekd.js → tool-output-119akswp.js} +32 -32
- package/dist/chunks/{file-retention-92fgxspj.js → tool-output-17mk8qnd.js} +22 -22
- package/dist/chunks/{file-retention-bjx1sjef.js → tool-output-1ffvrpkg.js} +6 -6
- package/dist/chunks/{file-retention-5jgv69fp.js → tool-output-1rr7fpqy.js} +27 -27
- package/dist/chunks/{file-retention-dvgz8sw6.js → tool-output-25afq108.js} +13 -13
- package/dist/chunks/{file-retention-srqxjqm4.js → tool-output-2ahfgdn3.js} +32 -32
- package/dist/chunks/{file-retention-zxs2600w.js → tool-output-2e7aahbj.js} +16 -16
- package/dist/chunks/tool-output-2gx2f7fc.js +26 -0
- package/dist/chunks/{file-retention-25v44x7c.js → tool-output-2kh9tqqq.js} +11 -11
- package/dist/chunks/{file-retention-s43z9shx.js → tool-output-2p2wxv3d.js} +45 -45
- package/dist/chunks/{file-retention-0mm9aq32.js → tool-output-3d4ymmg4.js} +9 -9
- package/dist/chunks/{file-retention-cez8prm9.js → tool-output-3ddjfxe1.js} +26 -26
- package/dist/chunks/{file-retention-hzrfc1p4.js → tool-output-3dedrcqz.js} +3 -3
- package/dist/chunks/{file-retention-3fc6dm20.js → tool-output-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-retention-41s9fba0.js → tool-output-3fjw76mx.js} +5 -5
- package/dist/chunks/{file-retention-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-3hwn7j4h.js → tool-output-3hwn7j4h.js} +2 -2
- package/dist/chunks/{file-retention-eqkxs06z.js → tool-output-3ppptnan.js} +6 -6
- package/dist/chunks/{file-retention-p9ap5cqx.js → tool-output-3r0rabs1.js} +3 -3
- package/dist/chunks/{file-retention-3smtnn6g.js → tool-output-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-3tvqynh2.js → tool-output-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-3zsf4n22.js → tool-output-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-retention-kqx1b4hy.js → tool-output-41qfwe6g.js} +4 -4
- package/dist/chunks/{file-retention-xfdm5xcv.js → tool-output-4b2qerh0.js} +20 -20
- package/dist/chunks/{file-retention-t130c1zw.js → tool-output-4c989kgx.js} +11 -11
- package/dist/chunks/{file-retention-se9xw6gp.js → tool-output-4d2802v0.js} +43 -43
- package/dist/chunks/{file-retention-hfbyhya8.js → tool-output-4fnxzqcp.js} +9 -9
- package/dist/chunks/{file-retention-n61013np.js → tool-output-4gsnryhp.js} +8 -8
- package/dist/chunks/{file-retention-5eswzrp4.js → tool-output-4hgwgdcv.js} +11 -11
- package/dist/chunks/{file-retention-pq3rt767.js → tool-output-4pdbcv8x.js} +23 -23
- package/dist/chunks/{file-retention-ste2g9xd.js → tool-output-4q8tbxy1.js} +24 -24
- package/dist/chunks/{file-retention-4ts7tf6z.js → tool-output-4ts7tf6z.js} +2 -2
- package/dist/chunks/{file-retention-g686f6pq.js → tool-output-4xdpab2z.js} +9 -9
- package/dist/chunks/{file-retention-ec7x0vjc.js → tool-output-52nrj5ge.js} +11 -11
- package/dist/chunks/{file-retention-r7jsjf7n.js → tool-output-54m6jddc.js} +18 -18
- package/dist/chunks/{file-retention-54ma36ye.js → tool-output-54ma36ye.js} +1 -1
- package/dist/chunks/{file-retention-r69hmf80.js → tool-output-554rwr2z.js} +5 -5
- package/dist/chunks/{file-retention-7sbkp4xb.js → tool-output-563fgq8p.js} +7 -7
- package/dist/chunks/{file-retention-7zcan07s.js → tool-output-57c6v5dm.js} +18 -18
- package/dist/chunks/{file-retention-p0ys1q4f.js → tool-output-57t9cxe0.js} +26 -26
- package/dist/chunks/{file-retention-435seeeq.js → tool-output-59ef30vn.js} +10 -10
- package/dist/chunks/{file-retention-te81bscz.js → tool-output-5aghxdak.js} +86 -86
- package/dist/chunks/{file-retention-5fykfdj7.js → tool-output-5fykfdj7.js} +2 -2
- package/dist/chunks/{file-retention-5m9w47nd.js → tool-output-5m9w47nd.js} +1 -1
- package/dist/chunks/{file-retention-0q9t857t.js → tool-output-5v4pd1cr.js} +20 -20
- package/dist/chunks/{file-retention-jdgbktbp.js → tool-output-5xf5wkjt.js} +18 -18
- package/dist/chunks/{file-retention-m4gecbe4.js → tool-output-5ycnm33v.js} +17 -17
- package/dist/chunks/{file-retention-6eavwtyb.js → tool-output-5ysx909f.js} +4 -4
- package/dist/chunks/{file-retention-2k8khapm.js → tool-output-607tc6va.js} +5 -5
- package/dist/chunks/{file-retention-xwe4by6a.js → tool-output-67w8vrf4.js} +43 -43
- package/dist/chunks/{file-retention-qwtabkpy.js → tool-output-68efqvy7.js} +70 -70
- package/dist/chunks/{file-retention-16dn4b4s.js → tool-output-6m2m7te3.js} +11 -11
- package/dist/chunks/{file-retention-h9pnpq88.js → tool-output-6rm5yzkt.js} +4 -4
- package/dist/chunks/{file-retention-aq9v1yk8.js → tool-output-6wg7wrda.js} +8 -8
- package/dist/chunks/{file-retention-6xb47vfp.js → tool-output-6xb47vfp.js} +1 -1
- package/dist/chunks/{file-retention-3g8j9he4.js → tool-output-6xcvt31d.js} +1 -1
- package/dist/chunks/{file-retention-4as9fy9y.js → tool-output-76ewr1ah.js} +16 -16
- package/dist/chunks/{file-retention-775gj3j1.js → tool-output-775gj3j1.js} +2 -2
- package/dist/chunks/{file-retention-40pk6sm4.js → tool-output-77w941kd.js} +17 -17
- package/dist/chunks/{file-retention-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-p65ms1vq.js → tool-output-7mtmktta.js} +30 -30
- package/dist/chunks/{file-retention-84txncab.js → tool-output-84txncab.js} +1 -1
- package/dist/chunks/{file-retention-0r268gnr.js → tool-output-877fdf28.js} +20 -20
- package/dist/chunks/{file-retention-tcezcvh9.js → tool-output-89znhe33.js} +4 -4
- package/dist/chunks/{file-retention-31rj2qjy.js → tool-output-8ax0qz68.js} +2 -2
- package/dist/chunks/{file-retention-75b647qr.js → tool-output-8frgrze6.js} +11 -11
- package/dist/chunks/{file-retention-gce79w0q.js → tool-output-8gk45p6y.js} +17 -17
- package/dist/chunks/{file-retention-18fd3ek7.js → tool-output-8j82dm5c.js} +11 -11
- package/dist/chunks/{file-retention-8m6m0r52.js → tool-output-8m6m0r52.js} +1 -1
- package/dist/chunks/{file-retention-v44g6hkp.js → tool-output-8mp5r96f.js} +17 -17
- package/dist/chunks/{file-retention-7cx4vzts.js → tool-output-8tv33qg7.js} +19 -19
- package/dist/chunks/{file-retention-kmdwr4me.js → tool-output-8wphts8g.js} +23 -23
- package/dist/chunks/{file-retention-cmhbsh7h.js → tool-output-918r773q.js} +11 -11
- package/dist/chunks/{file-retention-4rxxd1r4.js → tool-output-943atts0.js} +13 -13
- package/dist/chunks/{file-retention-ym491c0h.js → tool-output-98f1wk8d.js} +27 -27
- package/dist/chunks/{file-retention-x93z75qz.js → tool-output-9c3k356f.js} +11 -11
- package/dist/chunks/{file-retention-39hwbmyw.js → tool-output-9q4sck0j.js} +7 -7
- package/dist/chunks/{file-retention-8ga4z34x.js → tool-output-a2egaj40.js} +4 -4
- package/dist/chunks/{file-retention-vgx3m274.js → tool-output-a80xb9fr.js} +9 -9
- package/dist/chunks/{file-retention-wetwxakw.js → tool-output-a8s62dcx.js} +24 -24
- package/dist/chunks/{file-retention-f15m0rqx.js → tool-output-ac6ztetz.js} +32 -32
- package/dist/chunks/{file-retention-g7nsaq0x.js → tool-output-ae2m54n2.js} +5 -5
- package/dist/chunks/{file-retention-x9gghrjv.js → tool-output-anhgrra9.js} +16 -16
- package/dist/chunks/{file-retention-prsa3t1d.js → tool-output-apvw4k01.js} +18 -18
- package/dist/chunks/{file-retention-fpmaxxag.js → tool-output-asb7p7rh.js} +29 -29
- package/dist/chunks/{file-retention-scgrse2b.js → tool-output-b3f8fkhc.js} +5 -5
- package/dist/chunks/{file-retention-669k5jt6.js → tool-output-b42ck17h.js} +6 -6
- package/dist/chunks/{file-retention-fyn8kjq9.js → tool-output-b7a6fqyn.js} +4 -4
- package/dist/chunks/{file-retention-3871rra9.js → tool-output-bb32hvzg.js} +15 -15
- package/dist/chunks/{file-retention-hdh09p32.js → tool-output-beb99wjf.js} +32 -32
- package/dist/chunks/{file-retention-2rgzsac1.js → tool-output-bq8c0svd.js} +36 -36
- package/dist/chunks/{file-retention-9hwaqfsw.js → tool-output-bx0gyb4h.js} +5 -5
- package/dist/chunks/{file-retention-qcwpqs5z.js → tool-output-bxmc744n.js} +42 -42
- package/dist/chunks/{file-retention-5mt7hsf0.js → tool-output-c0hyb41y.js} +23 -23
- package/dist/chunks/{file-retention-c1fqxshp.js → tool-output-c1fqxshp.js} +3 -3
- package/dist/chunks/{file-retention-1a73za0v.js → tool-output-c74t4w0p.js} +20 -20
- package/dist/chunks/{file-retention-sym5gnkg.js → tool-output-cadhab6b.js} +9 -9
- package/dist/chunks/{file-retention-d36v90fm.js → tool-output-cbeygsqv.js} +24 -24
- package/dist/chunks/{file-retention-6haxr8ea.js → tool-output-cbvw4p1t.js} +33 -33
- package/dist/chunks/{file-retention-xvan7b2r.js → tool-output-cd4mg95y.js} +4 -4
- package/dist/chunks/{file-retention-15skk8qm.js → tool-output-cf820tsx.js} +5 -5
- package/dist/chunks/{file-retention-d8x9ac8g.js → tool-output-cjpy8qeq.js} +5 -5
- package/dist/chunks/{file-retention-05tpr10a.js → tool-output-cm9ehfy8.js} +38 -38
- package/dist/chunks/{file-retention-qmqgtz8f.js → tool-output-cpneeje0.js} +9 -9
- package/dist/chunks/{file-retention-wnk72qpq.js → tool-output-csy970gy.js} +8 -8
- package/dist/chunks/{file-retention-b7nwgrxc.js → tool-output-d1rjn9aw.js} +9 -9
- package/dist/chunks/{file-retention-q6eg0k98.js → tool-output-d292v2k7.js} +26 -26
- package/dist/chunks/{file-retention-fr99x9ny.js → tool-output-db4aj923.js} +4 -4
- package/dist/chunks/{file-retention-dpkg50ah.js → tool-output-dpkg50ah.js} +1 -1
- package/dist/chunks/{file-retention-dqxsqydv.js → tool-output-dqxsqydv.js} +1 -1
- package/dist/chunks/{file-retention-hkyn7844.js → tool-output-dwf40nc9.js} +12 -12
- package/dist/chunks/{file-retention-wcgb8dbp.js → tool-output-ecn0xnz1.js} +22 -22
- package/dist/chunks/{file-retention-9bh8zfva.js → tool-output-ecq2dzwy.js} +20 -20
- package/dist/chunks/{file-retention-eej6y6fw.js → tool-output-eej6y6fw.js} +2 -2
- package/dist/chunks/{file-retention-ef5x83kb.js → tool-output-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-retention-jz0k2p3h.js → tool-output-ek20t778.js} +1 -1
- package/dist/chunks/{file-retention-nphzgfkn.js → tool-output-erm0afbe.js} +8 -8
- package/dist/chunks/tool-output-et8jrt2h.js +253 -0
- package/dist/chunks/{file-retention-cskx99g3.js → tool-output-ew24t5d6.js} +10 -10
- package/dist/chunks/{file-retention-5dva4nqc.js → tool-output-ez4ptx8x.js} +13 -13
- package/dist/chunks/{file-retention-ex8zzqeq.js → tool-output-f2en4vmb.js} +6 -6
- package/dist/chunks/{file-retention-1acjjqhc.js → tool-output-f2n192rq.js} +4 -4
- package/dist/chunks/{file-retention-40x333fm.js → tool-output-f2tkxsqr.js} +6 -6
- package/dist/chunks/{file-retention-77f241gp.js → tool-output-fbndn9th.js} +11 -11
- package/dist/chunks/{file-retention-zy3senqm.js → tool-output-fve99hjf.js} +25 -25
- package/dist/chunks/{file-retention-mdarrdwd.js → tool-output-fxs03bm5.js} +21 -21
- package/dist/chunks/{file-retention-p37cw4rj.js → tool-output-g0445xdp.js} +8 -8
- package/dist/chunks/{file-retention-frww510k.js → tool-output-g38vz540.js} +16 -16
- package/dist/chunks/{file-retention-qf3sw13q.js → tool-output-g4q6q9h9.js} +15 -15
- package/dist/chunks/{file-retention-et2ajke8.js → tool-output-g81stes7.js} +10 -10
- package/dist/chunks/{file-retention-yd4bzqjj.js → tool-output-gcteyjxa.js} +5 -5
- package/dist/chunks/{file-retention-gd4qta3r.js → tool-output-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-ncj7h78a.js → tool-output-gkfjc7hm.js} +12 -12
- package/dist/chunks/{file-retention-eyhqsmd4.js → tool-output-gp3qvfkw.js} +21 -21
- package/dist/chunks/{file-retention-v3zpe7p0.js → tool-output-gv3vk4bk.js} +16 -16
- package/dist/chunks/{file-retention-7j2qha59.js → tool-output-h04cqsq0.js} +8 -8
- package/dist/chunks/{file-retention-5e311j32.js → tool-output-h40kgggg.js} +10 -10
- package/dist/chunks/{file-retention-pqndxp19.js → tool-output-h5103y2k.js} +11 -11
- package/dist/chunks/{file-retention-h6vf3j39.js → tool-output-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-h7s7r6s9.js → tool-output-h7s7r6s9.js} +2 -2
- package/dist/chunks/{file-retention-j90fxacf.js → tool-output-hgnta6w7.js} +4 -4
- package/dist/chunks/{file-retention-hgz4x7wa.js → tool-output-hgz4x7wa.js} +1 -1
- package/dist/chunks/{file-retention-0ybbsf06.js → tool-output-hk97hcrv.js} +6 -6
- package/dist/chunks/{file-retention-q5asdkn4.js → tool-output-hn57h045.js} +4 -4
- package/dist/chunks/{file-retention-e7amzs41.js → tool-output-hn950zma.js} +50 -50
- package/dist/chunks/{file-retention-a8rhqsqt.js → tool-output-hpf66yep.js} +19 -19
- package/dist/chunks/{file-retention-4r69bb8y.js → tool-output-hw07avbc.js} +35 -35
- package/dist/chunks/{file-retention-97aeaand.js → tool-output-hxn3tndz.js} +4 -4
- package/dist/chunks/{file-retention-v7jgca5q.js → tool-output-hyxt4cba.js} +10 -10
- package/dist/chunks/{file-retention-qyny12st.js → tool-output-hzyevw5f.js} +36 -36
- package/dist/chunks/{file-retention-j09zfasm.js → tool-output-j09zfasm.js} +3 -3
- package/dist/chunks/{file-retention-ajf5mpmj.js → tool-output-jrdgg79c.js} +16 -16
- package/dist/chunks/{file-retention-b6zthw97.js → tool-output-jseyaf51.js} +7 -7
- package/dist/chunks/{file-retention-ee1d3bc0.js → tool-output-jtaa96vj.js} +4 -4
- package/dist/chunks/{file-retention-jws6fkes.js → tool-output-jws6fkes.js} +2 -2
- package/dist/chunks/{file-retention-n287d4xt.js → tool-output-jxvxn623.js} +9 -9
- package/dist/chunks/{file-retention-0sds4y2c.js → tool-output-k35pfham.js} +4 -4
- package/dist/chunks/{file-retention-2dyz0se9.js → tool-output-k8p3nc22.js} +8 -8
- package/dist/chunks/{file-retention-8zb64j11.js → tool-output-ka08w3pn.js} +15 -15
- package/dist/chunks/{file-retention-j1cs4cyb.js → tool-output-kf99r65c.js} +8 -8
- package/dist/chunks/{file-retention-khmqacep.js → tool-output-khmqacep.js} +1 -1
- package/dist/chunks/{file-retention-edmybrtw.js → tool-output-kj6mt91f.js} +9 -9
- package/dist/chunks/{file-retention-4jhykbxs.js → tool-output-kkk7412z.js} +11 -11
- package/dist/chunks/{file-retention-q24annen.js → tool-output-kkw4bhb9.js} +22 -22
- package/dist/chunks/{file-retention-4ys16hhx.js → tool-output-kv4qctb0.js} +11 -11
- package/dist/chunks/{file-retention-7vkfvfth.js → tool-output-kx6fepg0.js} +5 -5
- package/dist/chunks/{file-retention-d858xzj7.js → tool-output-m0r31qfn.js} +4 -4
- package/dist/chunks/{file-retention-gyqy5ynx.js → tool-output-m329mjby.js} +12 -12
- package/dist/chunks/{file-retention-1g9xdg8x.js → tool-output-m3dfw8qb.js} +11 -11
- package/dist/chunks/{file-retention-446yyhqh.js → tool-output-m6xh3j2p.js} +10 -10
- package/dist/chunks/{file-retention-rwjc2fa2.js → tool-output-m74betby.js} +19 -19
- package/dist/chunks/{file-retention-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-yzweyr9r.js → tool-output-maa37nma.js} +32 -32
- package/dist/chunks/{file-retention-maspj1v3.js → tool-output-maspj1v3.js} +1 -1
- package/dist/chunks/{file-retention-zp5az1r9.js → tool-output-mhvhsgtx.js} +13 -13
- package/dist/chunks/tool-output-mjkkdfxr.js +513 -0
- package/dist/chunks/{file-retention-n59p6y9a.js → tool-output-mjxg90r2.js} +20 -20
- package/dist/chunks/{file-retention-t7xt8fdv.js → tool-output-mqq89mf6.js} +14 -14
- package/dist/chunks/{file-retention-ynb9zb2f.js → tool-output-mvs6w73g.js} +32 -32
- package/dist/chunks/{file-retention-yh7v3mca.js → tool-output-mwhjgd15.js} +19 -19
- package/dist/chunks/{file-retention-mxvxcxwy.js → tool-output-mxvxcxwy.js} +1 -1
- package/dist/chunks/{file-retention-0kfbqg2w.js → tool-output-myfm3c8h.js} +18 -18
- package/dist/chunks/{file-retention-mw4d6y5r.js → tool-output-myx4tth3.js} +19 -19
- package/dist/chunks/{file-retention-gcp2mfh0.js → tool-output-nfsj419k.js} +37 -37
- package/dist/chunks/{file-retention-yekfqxw6.js → tool-output-ngxf2ks2.js} +24 -24
- package/dist/chunks/{file-retention-e80seqcp.js → tool-output-nma959mg.js} +3 -3
- package/dist/chunks/{file-retention-3wqa21f4.js → tool-output-nqc3ch54.js} +47 -47
- package/dist/chunks/{file-retention-n1n192bv.js → tool-output-nxe4pcap.js} +4 -4
- package/dist/chunks/tool-output-pf31ssb9.js +18 -0
- package/dist/chunks/{file-retention-pjvnvgmy.js → tool-output-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-pknna89w.js → tool-output-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-0sqg52g8.js → tool-output-ppa827x4.js} +3 -3
- package/dist/chunks/{file-retention-wg8xnydk.js → tool-output-pze1vj4z.js} +17 -17
- package/dist/chunks/{file-retention-14pza5e5.js → tool-output-q05pfw7g.js} +15 -15
- package/dist/chunks/{file-retention-q0xm7vwc.js → tool-output-q0xm7vwc.js} +2 -2
- package/dist/chunks/{file-retention-6qjg7hna.js → tool-output-qc5kj2cr.js} +87 -87
- package/dist/chunks/{file-retention-qnc92qwc.js → tool-output-qnc92qwc.js} +1 -1
- package/dist/chunks/{file-retention-qqeeq2t9.js → tool-output-qqeeq2t9.js} +1 -1
- package/dist/chunks/{file-retention-6fkh8xy1.js → tool-output-qsa4xv91.js} +13 -13
- package/dist/chunks/{file-retention-qsdy395h.js → tool-output-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-k1e0smkv.js → tool-output-qzqxx777.js} +27 -27
- package/dist/chunks/{file-retention-40vewkxf.js → tool-output-r48qdv0g.js} +14 -14
- package/dist/chunks/{file-retention-v0ysa0d7.js → tool-output-r5s88spv.js} +24 -24
- package/dist/chunks/{file-retention-v8astjmg.js → tool-output-r9dnkpnd.js} +17 -17
- package/dist/chunks/{file-retention-prq7hedt.js → tool-output-r9w3djhf.js} +9 -9
- package/dist/chunks/{file-retention-1zh1deve.js → tool-output-raxc239v.js} +24 -24
- package/dist/chunks/{file-retention-q45354m6.js → tool-output-rcqgy8yb.js} +52 -52
- package/dist/chunks/{file-retention-rdw6cm16.js → tool-output-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-retention-rert0e01.js → tool-output-rert0e01.js} +2 -2
- package/dist/chunks/{file-retention-rj3eygr5.js → tool-output-rj3eygr5.js} +2 -2
- package/dist/chunks/{file-retention-j19a5jgs.js → tool-output-rk4bgvcd.js} +45 -45
- package/dist/chunks/{file-retention-e7db086s.js → tool-output-rmkgh5j0.js} +15 -15
- package/dist/chunks/{file-retention-8wdak1ws.js → tool-output-rpvdw60t.js} +11 -11
- package/dist/chunks/{file-retention-ty59shy6.js → tool-output-rqbtz1wv.js} +8 -8
- package/dist/chunks/{file-retention-vyzme5k3.js → tool-output-rsam15ks.js} +3 -3
- package/dist/chunks/{file-retention-4azv87ky.js → tool-output-s17kkna2.js} +45 -45
- package/dist/chunks/{file-retention-k6skys1a.js → tool-output-s3xcsrnf.js} +27 -27
- package/dist/chunks/{file-retention-sdvx1mbw.js → tool-output-s8gzr231.js} +30 -30
- package/dist/chunks/{file-retention-sa8ekw3f.js → tool-output-sa8ekw3f.js} +2 -2
- package/dist/chunks/{file-retention-gm7t6352.js → tool-output-sej97cnp.js} +21 -21
- package/dist/chunks/{file-retention-5rgrjwfp.js → tool-output-skwc3006.js} +11 -11
- package/dist/chunks/{file-retention-vf43qnnt.js → tool-output-smmgvfsm.js} +3 -3
- package/dist/chunks/{file-retention-2q8c0gm7.js → tool-output-sqmzwr9m.js} +9 -9
- package/dist/chunks/{file-retention-t9ms93eq.js → tool-output-srhzrem9.js} +1 -1
- package/dist/chunks/{file-retention-syv4x271.js → tool-output-syv4x271.js} +1 -1
- package/dist/chunks/{file-retention-v4x2qbf5.js → tool-output-t05d5ygf.js} +188 -188
- package/dist/chunks/{file-retention-1nwxscpy.js → tool-output-t71v2ka4.js} +5 -5
- package/dist/chunks/{file-retention-tazgh4e4.js → tool-output-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-a1ncabta.js → tool-output-tcmp5t59.js} +15 -15
- package/dist/chunks/{file-retention-tdstcens.js → tool-output-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-nm94rf1q.js → tool-output-tf272swt.js} +32 -32
- package/dist/chunks/{file-retention-h3tdde96.js → tool-output-thmgqswn.js} +5 -5
- package/dist/chunks/{file-retention-n79qwtgz.js → tool-output-tjth7tw5.js} +6 -6
- package/dist/chunks/{file-retention-tm0kqsz3.js → tool-output-tm0kqsz3.js} +1 -1
- package/dist/chunks/{file-retention-7s6e2gqc.js → tool-output-tsn6bzsd.js} +8 -8
- package/dist/chunks/{file-retention-723bwzaz.js → tool-output-tv2b7nhw.js} +20 -20
- package/dist/chunks/{file-retention-tyytaxap.js → tool-output-tyytaxap.js} +1 -1
- package/dist/chunks/{file-retention-fpecnkgp.js → tool-output-v0es1rhs.js} +9 -9
- package/dist/chunks/{file-retention-tpkar9pb.js → tool-output-v5j674cp.js} +3 -3
- package/dist/chunks/{file-retention-vt6xeprm.js → tool-output-v5ttjgxy.js} +6 -6
- package/dist/chunks/{file-retention-x12kyyz4.js → tool-output-v7bqhanv.js} +26 -26
- package/dist/chunks/{file-retention-v7p4zvkq.js → tool-output-v7p4zvkq.js} +2 -2
- package/dist/chunks/{file-retention-veqvce7d.js → tool-output-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-1eevk08k.js → tool-output-vheenbr9.js} +30 -30
- package/dist/chunks/{file-retention-jd45p87c.js → tool-output-vsdesysw.js} +20 -20
- package/dist/chunks/{file-retention-x4k30q0e.js → tool-output-vzep6f7z.js} +8 -8
- package/dist/chunks/{file-retention-vzs5sf6e.js → tool-output-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-retention-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-j4aw79wa.js → tool-output-wa4rda39.js} +11 -11
- package/dist/chunks/{file-retention-wd87259q.js → tool-output-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-wt7qt3d1.js → tool-output-wdtphjj7.js} +13 -13
- package/dist/chunks/{file-retention-btx3r6p2.js → tool-output-weh8rc6v.js} +1 -1
- package/dist/chunks/{file-retention-73vmrfwz.js → tool-output-wpb27bwd.js} +8 -8
- package/dist/chunks/{file-retention-vky1pj73.js → tool-output-wy7ff6f9.js} +3 -3
- package/dist/chunks/{file-retention-gtndzxs8.js → tool-output-xpeshqab.js} +6 -6
- package/dist/chunks/{file-retention-vjjaysxc.js → tool-output-xs089yjg.js} +2 -2
- package/dist/chunks/{file-retention-y1fvbwt7.js → tool-output-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-4a0nv7mx.js → tool-output-y2yt4szk.js} +8 -8
- package/dist/chunks/{file-retention-vh8vpv80.js → tool-output-y60ndsz4.js} +22 -22
- package/dist/chunks/{file-retention-qzn251n6.js → tool-output-yh7y4rva.js} +40 -40
- package/dist/chunks/{file-retention-tbs2b1r3.js → tool-output-yrgng78h.js} +50 -50
- package/dist/chunks/{file-retention-e19s4p51.js → tool-output-ytws2q7b.js} +17 -17
- package/dist/chunks/{file-retention-z0bkrqjs.js → tool-output-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-w8dgvwfp.js → tool-output-z85mww56.js} +19 -19
- package/dist/chunks/{file-retention-0z785y98.js → tool-output-z8je1s7q.js} +5 -5
- package/dist/chunks/{file-retention-z2zw7h45.js → tool-output-zd9462e6.js} +16 -16
- package/dist/chunks/{file-retention-5yv5nces.js → tool-output-zftebyga.js} +24 -24
- package/dist/chunks/{file-retention-zr2ceqn5.js → tool-output-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-fxjt2768.js → tool-output-ztxz3tey.js} +27 -27
- package/dist/chunks/{file-retention-zxq2ej10.js → tool-output-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- 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 +118 -118
- package/dist/config/plugin/command.js +207 -207
- 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 +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +97 -97
- 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 +72 -72
- 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 +220 -220
- 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 +106 -106
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +356 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +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 +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- 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 +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- 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 +216 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- 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 +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +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 +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- 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 +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- 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 +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 +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +2 -2
- 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 +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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/file-retention-gyfpmg79.js +0 -513
- package/dist/chunks/file-retention-mj3g6zxa.js +0 -26
- package/dist/chunks/file-retention-naf4pan3.js +0 -253
- package/dist/chunks/file-retention-vnkjks7b.js +0 -18
- /package/dist/chunks/{file-retention-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → tool-output-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → tool-output-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2bv980vf.js → tool-output-2bv980vf.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → tool-output-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3t0ybcrp.js → tool-output-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → tool-output-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-5qd3pb7m.js → tool-output-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → tool-output-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-6q2bdcd1.js → tool-output-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → tool-output-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-84wd9syh.js → tool-output-84wd9syh.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → tool-output-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → tool-output-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → tool-output-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → tool-output-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → tool-output-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hcxmzztb.js → tool-output-hcxmzztb.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → tool-output-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jze0r7bz.js → tool-output-jze0r7bz.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-m18g726c.js → tool-output-m18g726c.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-pkyv6v7h.js → tool-output-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{file-retention-pyv0edze.js → tool-output-pyv0edze.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-ve7vex1e.js → tool-output-ve7vex1e.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wjj7prxr.js → tool-output-wjj7prxr.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → tool-output-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → tool-output-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z5v4ffb3.js → tool-output-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-tsn6bzsd.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-5ysx909f.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event17,
|
|
10
|
+
Service73
|
|
11
|
+
} from "./tool-output-v7bqhanv.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-98f1wk8d.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID12,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-output-qzqxx777.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID11,
|
|
22
22
|
VariantID2,
|
|
23
23
|
Info19
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-output-ztxz3tey.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./tool-output-pjvnvgmy.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./tool-output-54ma36ye.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./tool-output-tjth7tw5.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID12.openai;
|
|
47
|
+
var integrationID = ID13.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -180,7 +180,7 @@ var ChatGPTPlugin2 = define({
|
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
182
|
const bus = yield* Service84;
|
|
183
|
-
const credentials = yield*
|
|
183
|
+
const credentials = yield* Service73;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
|
|
|
195
195
|
yield* ctx.integration.transform((editor) => {
|
|
196
196
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
197
197
|
});
|
|
198
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
198
|
+
yield* Effect.forEach(yield* credentials.list(ID13.make("openai")), (entry) => {
|
|
199
199
|
const value = entry.value;
|
|
200
200
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
201
201
|
return Effect.void;
|
|
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
|
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
271
|
-
yield* bus.subscribe(
|
|
271
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
272
272
|
})
|
|
273
273
|
});
|
|
274
274
|
function headers(app) {
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(
|
|
328
|
+
...remote.filter((model) => !known.has(ID11.make(model.slug))).map((model) => deriveModel(model, Info19.default(ID12.openai, ID11.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./tool-output-jrdgg79c.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID11,
|
|
6
6
|
Family2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-ztxz3tey.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service33
|
|
10
|
+
} from "./tool-output-0ejae0m6.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service67
|
|
13
|
+
} from "./tool-output-raxc239v.js";
|
|
14
14
|
import {
|
|
15
15
|
spawner2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-output-khmqacep.js";
|
|
17
17
|
import {
|
|
18
18
|
foldSettings2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-output-tjth7tw5.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/provider/local.ts
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
|
|
|
32
32
|
id: input.id,
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
35
|
-
const config = yield*
|
|
36
|
-
const environment = yield* Effect.serviceOption(
|
|
37
|
-
const location = yield* Effect.serviceOption(
|
|
35
|
+
const config = yield* Service33;
|
|
36
|
+
const environment = yield* Effect.serviceOption(Service67);
|
|
37
|
+
const location = yield* Effect.serviceOption(Service81);
|
|
38
38
|
const defaultOrigin = origin ?? (shellParserWasm.bash === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
|
|
39
39
|
const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
|
|
40
40
|
const loaded = { models: [], hash: "[]" };
|
|
@@ -63,7 +63,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
63
63
|
for (const item of loaded.models) {
|
|
64
64
|
const spec = input.model(item);
|
|
65
65
|
providers.models.update(input.providerID, spec.id, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID11.make(spec.id);
|
|
67
67
|
model.name = spec.name || spec.id;
|
|
68
68
|
model.family = spec.family ? Family2.make(spec.family) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service83,
|
|
9
|
+
node87
|
|
10
|
+
} from "./tool-output-m329mjby.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service81,
|
|
13
|
+
node85
|
|
14
|
+
} from "./tool-output-jrdgg79c.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-output-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error2,
|
|
26
|
+
ID: () => ID3,
|
|
27
|
+
Service: () => Service35,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node38,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID3 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service35 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service83;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service81;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID3.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
136
136
|
for (const [file, snapshot] of input.files) {
|
|
137
137
|
const absolute = path.resolve(worktree, file);
|
|
138
138
|
if (!FSUtil.contains(worktree, absolute))
|
|
139
|
-
return yield* new
|
|
139
|
+
return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
140
140
|
files.set(file, TreeID2.make(snapshot));
|
|
141
141
|
}
|
|
142
142
|
return files;
|
|
143
143
|
});
|
|
144
144
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
145
145
|
if (!enabled())
|
|
146
|
-
return yield* new
|
|
146
|
+
return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
|
|
147
147
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
148
148
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
149
149
|
});
|
|
150
|
-
return
|
|
150
|
+
return Service35.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
151
151
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
152
|
-
var
|
|
153
|
-
service:
|
|
152
|
+
var node38 = makeLocationNode({
|
|
153
|
+
service: Service35,
|
|
154
154
|
layer,
|
|
155
|
-
deps: [FSUtil.node,
|
|
155
|
+
deps: [FSUtil.node, node87, Global.node, node85]
|
|
156
156
|
});
|
|
157
|
-
var noopLayer2 = Layer.succeed(
|
|
157
|
+
var noopLayer2 = Layer.succeed(Service35, Service35.of({
|
|
158
158
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
159
159
|
reload: () => Effect.void,
|
|
160
160
|
capture: () => Effect.undefined,
|
|
@@ -163,13 +163,13 @@ var noopLayer2 = Layer.succeed(Service52, Service52.of({
|
|
|
163
163
|
restore: () => Effect.void
|
|
164
164
|
}));
|
|
165
165
|
function failure(operation, cause) {
|
|
166
|
-
if (cause instanceof
|
|
166
|
+
if (cause instanceof Error2 && cause.operation === operation)
|
|
167
167
|
return cause;
|
|
168
|
-
return new
|
|
168
|
+
return new Error2({
|
|
169
169
|
operation,
|
|
170
170
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
171
171
|
cause
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export {
|
|
175
|
+
export { ID3, Error2, Service35, node38, noopLayer2, exports_snapshot2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-tsn6bzsd.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-5ysx909f.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./tool-output-v7bqhanv.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-98f1wk8d.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-output-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID12,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-output-qzqxx777.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-output-54ma36ye.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./tool-output-tjth7tw5.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/openai.ts
|
|
32
32
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -50,7 +50,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
50
50
|
}));
|
|
51
51
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
52
52
|
var browser = (app) => ({
|
|
53
|
-
integrationID:
|
|
53
|
+
integrationID: ID13.make("openai"),
|
|
54
54
|
method: {
|
|
55
55
|
id: browserMethodID,
|
|
56
56
|
type: "oauth",
|
|
@@ -123,7 +123,7 @@ function addressInUse(error) {
|
|
|
123
123
|
return "code" in error && error.code === "EADDRINUSE";
|
|
124
124
|
}
|
|
125
125
|
var headless = (app) => ({
|
|
126
|
-
integrationID:
|
|
126
|
+
integrationID: ID13.make("openai"),
|
|
127
127
|
method: {
|
|
128
128
|
id: headlessMethodID,
|
|
129
129
|
type: "oauth",
|
|
@@ -183,9 +183,9 @@ var OpenAIPlugin3 = define({
|
|
|
183
183
|
editor.method.update(headless(ctx.app));
|
|
184
184
|
});
|
|
185
185
|
yield* load();
|
|
186
|
-
const configured = yield* configuredSettings2(
|
|
186
|
+
const configured = yield* configuredSettings2(ID12.openai);
|
|
187
187
|
yield* ctx.provider.transform((providers) => {
|
|
188
|
-
const item = providers.get(
|
|
188
|
+
const item = providers.get(ID12.openai);
|
|
189
189
|
if (!item)
|
|
190
190
|
return;
|
|
191
191
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -205,7 +205,7 @@ var OpenAIPlugin3 = define({
|
|
|
205
205
|
});
|
|
206
206
|
});
|
|
207
207
|
yield* ctx.model.transform((models) => {
|
|
208
|
-
for (const model of models.list(
|
|
208
|
+
for (const model of models.list(ID12.openai)) {
|
|
209
209
|
models.update(model.providerID, model.id, (draft) => {
|
|
210
210
|
if (!chatgpt)
|
|
211
211
|
return;
|
|
@@ -236,14 +236,14 @@ var OpenAIPlugin3 = define({
|
|
|
236
236
|
}));
|
|
237
237
|
evt.headers.originator = "opencode";
|
|
238
238
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID12.openai });
|
|
240
240
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
241
241
|
delete evt.options.maxTokens;
|
|
242
242
|
});
|
|
243
243
|
for (const name of ["context", "compaction"])
|
|
244
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
244
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID12.openai });
|
|
245
245
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
246
|
-
yield* bus.subscribe(
|
|
246
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
249
|
function headers(contentType, app) {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info11,
|
|
6
|
+
ID4,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-ngxf2ks2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service33
|
|
11
|
+
} from "./tool-output-0ejae0m6.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill2 = {};
|
|
18
|
+
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin28,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin28 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info11.make({
|
|
434
|
+
id: ID4.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info11.make({
|
|
441
|
+
id: ID4.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -467,7 +467,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
467
467
|
`);
|
|
468
468
|
});
|
|
469
469
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
470
|
-
const config = yield*
|
|
470
|
+
const config = yield* Service33;
|
|
471
471
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
472
472
|
});
|
|
473
473
|
function terminal() {
|
|
@@ -481,4 +481,4 @@ function shell() {
|
|
|
481
481
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
482
482
|
}
|
|
483
483
|
|
|
484
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
484
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin28, exports_skill2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
4
|
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-02nrjc1r.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Name2,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
available2,
|
|
11
|
+
Service43,
|
|
12
|
+
node45
|
|
13
|
+
} from "./tool-output-ngxf2ks2.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
19
|
var exports_instructions3 = {};
|
|
20
20
|
__export(exports_instructions3, {
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service23,
|
|
22
22
|
SkillInstructions: () => exports_instructions3,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node26
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID4,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,15 +60,15 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service23 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service43;
|
|
67
|
+
return Service23.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
|
-
const available =
|
|
69
|
+
const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
70
|
return make20({
|
|
71
|
-
key:
|
|
71
|
+
key: Key4.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
74
74
|
render: {
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node26 = makeLocationNode({ service: Service23, layer, deps: [node45] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service23, node26, exports_instructions3 };
|