@opencode/core 0.0.0-dev-20943 → 0.0.0-dev-20945
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/{tool-output-v5j674cp.js → pty-00p3fx9n.js} +6 -6
- package/dist/chunks/{tool-output-skwc3006.js → pty-01qhqbw5.js} +11 -11
- package/dist/chunks/{tool-output-02nrjc1r.js → pty-02nrjc1r.js} +1 -1
- package/dist/chunks/{tool-output-fxs03bm5.js → pty-0k77gycm.js} +21 -21
- package/dist/chunks/{tool-output-8gk45p6y.js → pty-0kq1vnt2.js} +17 -17
- package/dist/chunks/{tool-output-05zd7sc3.js → pty-0n2m89ce.js} +23 -23
- package/dist/chunks/{tool-output-vsdesysw.js → pty-0qxqhjz5.js} +11 -11
- package/dist/chunks/{tool-output-h5103y2k.js → pty-0rt46w6s.js} +16 -16
- package/dist/chunks/{tool-output-0vbcp93d.js → pty-0vbcp93d.js} +2 -2
- package/dist/chunks/{tool-output-2ahfgdn3.js → pty-0w2b2cca.js} +32 -32
- package/dist/chunks/{tool-output-b7a6fqyn.js → pty-0zqnk5z9.js} +4 -4
- package/dist/chunks/{tool-output-c0hyb41y.js → pty-11vynswf.js} +25 -25
- package/dist/chunks/{tool-output-3dedrcqz.js → pty-143qq2q9.js} +3 -3
- package/dist/chunks/{tool-output-3ddjfxe1.js → pty-1739nk5s.js} +22 -22
- package/dist/chunks/{tool-output-mhvhsgtx.js → pty-193x24z7.js} +13 -13
- package/dist/chunks/{tool-output-f2n192rq.js → pty-1acjjqhc.js} +4 -4
- package/dist/chunks/{tool-output-apvw4k01.js → pty-1d5t9qnr.js} +12 -12
- package/dist/chunks/{tool-output-1ffvrpkg.js → pty-1ffvrpkg.js} +2 -2
- package/dist/chunks/{tool-output-yh7y4rva.js → pty-20anygfn.js} +43 -43
- package/dist/chunks/{tool-output-z85mww56.js → pty-288v2fpa.js} +24 -24
- package/dist/chunks/{tool-output-s3xcsrnf.js → pty-2edf9g1m.js} +27 -27
- package/dist/chunks/{tool-output-y2yt4szk.js → pty-2eegacq4.js} +8 -8
- package/dist/chunks/{tool-output-s8gzr231.js → pty-2kjzqttw.js} +32 -32
- package/dist/chunks/{tool-output-rsam15ks.js → pty-2p13j2kb.js} +3 -3
- package/dist/chunks/{tool-output-17mk8qnd.js → pty-2s7dtdje.js} +16 -16
- package/dist/chunks/{tool-output-cpneeje0.js → pty-2sejkfem.js} +9 -9
- package/dist/chunks/{tool-output-bx0gyb4h.js → pty-2xdh0w28.js} +5 -5
- package/dist/chunks/{tool-output-5v4pd1cr.js → pty-31ywfv50.js} +12 -12
- package/dist/chunks/{tool-output-3d4ymmg4.js → pty-3d4ymmg4.js} +3 -3
- package/dist/chunks/{tool-output-4q8tbxy1.js → pty-3e4qw7kp.js} +26 -26
- package/dist/chunks/{tool-output-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-output-jxvxn623.js → pty-3haw7r2g.js} +9 -9
- package/dist/chunks/{tool-output-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-output-3hwn7j4h.js → pty-3hwn7j4h.js} +2 -2
- package/dist/chunks/{tool-output-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-output-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-output-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
- package/dist/chunks/pty-4pjsscn6.js +26 -0
- package/dist/chunks/{tool-output-tsn6bzsd.js → pty-4q9fsd81.js} +11 -11
- package/dist/chunks/{tool-output-4ts7tf6z.js → pty-4ts7tf6z.js} +2 -2
- package/dist/chunks/{tool-output-54ma36ye.js → pty-54ma36ye.js} +1 -1
- package/dist/chunks/{tool-output-gv3vk4bk.js → pty-5av885h1.js} +13 -13
- package/dist/chunks/{tool-output-y60ndsz4.js → pty-5ddwb480.js} +30 -30
- package/dist/chunks/{tool-output-3r0rabs1.js → pty-5f9nf4hj.js} +5 -5
- package/dist/chunks/{tool-output-5fykfdj7.js → pty-5fykfdj7.js} +2 -2
- package/dist/chunks/{tool-output-5aghxdak.js → pty-5k2zrbw7.js} +76 -76
- package/dist/chunks/{tool-output-5m9w47nd.js → pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{tool-output-vzep6f7z.js → pty-5tad3bay.js} +8 -8
- package/dist/chunks/{tool-output-607tc6va.js → pty-607tc6va.js} +1 -1
- package/dist/chunks/{tool-output-1rr7fpqy.js → pty-66b6z3ve.js} +27 -27
- package/dist/chunks/{tool-output-tcmp5t59.js → pty-66tg3gv6.js} +15 -15
- package/dist/chunks/{tool-output-h04cqsq0.js → pty-69j91c1q.js} +8 -8
- package/dist/chunks/{tool-output-hyxt4cba.js → pty-6dcba37k.js} +10 -10
- package/dist/chunks/{tool-output-68efqvy7.js → pty-6de4zjg3.js} +65 -65
- package/dist/chunks/{tool-output-4gsnryhp.js → pty-6f908b02.js} +8 -8
- package/dist/chunks/{tool-output-v0es1rhs.js → pty-6g7e4dd5.js} +7 -7
- package/dist/chunks/{tool-output-918r773q.js → pty-6ghz6dva.js} +11 -11
- package/dist/chunks/{tool-output-9c3k356f.js → pty-6hcssy04.js} +11 -11
- package/dist/chunks/{tool-output-nqc3ch54.js → pty-6kgmdsq6.js} +48 -48
- package/dist/chunks/{tool-output-6wg7wrda.js → pty-6wg7wrda.js} +1 -1
- package/dist/chunks/{tool-output-a2egaj40.js → pty-6wndw9rh.js} +4 -4
- package/dist/chunks/{tool-output-6xb47vfp.js → pty-6xb47vfp.js} +1 -1
- package/dist/chunks/{tool-output-v7bqhanv.js → pty-6yc87gb3.js} +23 -23
- package/dist/chunks/{tool-output-775gj3j1.js → pty-775gj3j1.js} +2 -2
- package/dist/chunks/{tool-output-5ycnm33v.js → pty-7afg5kn9.js} +17 -17
- package/dist/chunks/{tool-output-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-output-gkfjc7hm.js → pty-7ehaxsq5.js} +15 -15
- package/dist/chunks/{tool-output-9q4sck0j.js → pty-7f5fnqp2.js} +7 -7
- package/dist/chunks/{tool-output-g81stes7.js → pty-7hyaj12q.js} +5 -5
- package/dist/chunks/{tool-output-h40kgggg.js → pty-7k8jpxr1.js} +12 -12
- package/dist/chunks/{tool-output-mjkkdfxr.js → pty-7wbens8j.js} +324 -324
- package/dist/chunks/{tool-output-rcqgy8yb.js → pty-7ygng7x2.js} +50 -50
- package/dist/chunks/{tool-output-84txncab.js → pty-84txncab.js} +1 -1
- package/dist/chunks/{tool-output-89znhe33.js → pty-89znhe33.js} +1 -1
- package/dist/chunks/{tool-output-pze1vj4z.js → pty-8a5t9khg.js} +17 -17
- package/dist/chunks/{tool-output-z8je1s7q.js → pty-8er28y98.js} +5 -5
- package/dist/chunks/{tool-output-s17kkna2.js → pty-8f1a6wvh.js} +43 -43
- package/dist/chunks/{tool-output-8m6m0r52.js → pty-8m6m0r52.js} +1 -1
- package/dist/chunks/{tool-output-cbeygsqv.js → pty-8prte6g2.js} +22 -22
- package/dist/chunks/{tool-output-fve99hjf.js → pty-8rkrdynz.js} +35 -35
- package/dist/chunks/{tool-output-beb99wjf.js → pty-8sahcayy.js} +27 -27
- package/dist/chunks/{tool-output-76ewr1ah.js → pty-97k7h61m.js} +16 -16
- package/dist/chunks/{tool-output-erm0afbe.js → pty-9c80ajet.js} +8 -8
- package/dist/chunks/{tool-output-ecq2dzwy.js → pty-9gfzbh6g.js} +20 -20
- package/dist/chunks/{tool-output-ez4ptx8x.js → pty-9jw3ccen.js} +12 -12
- package/dist/chunks/{tool-output-xs089yjg.js → pty-9pa8tak9.js} +2 -2
- package/dist/chunks/{tool-output-t71v2ka4.js → pty-9pkkzrmj.js} +5 -5
- package/dist/chunks/{tool-output-dwf40nc9.js → pty-9sz7nexa.js} +10 -10
- package/dist/chunks/{tool-output-2e7aahbj.js → pty-9wcwrqqm.js} +10 -10
- package/dist/chunks/{tool-output-5xf5wkjt.js → pty-a0t77qzm.js} +18 -18
- package/dist/chunks/{tool-output-77w941kd.js → pty-a3d5jsrq.js} +17 -17
- package/dist/chunks/{tool-output-4b2qerh0.js → pty-a40nck69.js} +23 -23
- package/dist/chunks/{tool-output-m0r31qfn.js → pty-a89e0tac.js} +4 -4
- package/dist/chunks/{tool-output-cbvw4p1t.js → pty-an1qcxgb.js} +26 -26
- package/dist/chunks/{tool-output-anhgrra9.js → pty-as986mw6.js} +16 -16
- package/dist/chunks/{tool-output-wa4rda39.js → pty-b26f43jx.js} +11 -11
- package/dist/chunks/{tool-output-4pdbcv8x.js → pty-b2fv2zwp.js} +20 -20
- package/dist/chunks/{tool-output-r9w3djhf.js → pty-b4s8ej7r.js} +5 -5
- package/dist/chunks/{tool-output-fbndn9th.js → pty-bh2h312c.js} +11 -11
- package/dist/chunks/{tool-output-c1fqxshp.js → pty-c1fqxshp.js} +3 -3
- package/dist/chunks/{tool-output-8wphts8g.js → pty-c394f5a2.js} +21 -21
- package/dist/chunks/{tool-output-7mtmktta.js → pty-c9nxy5qv.js} +36 -36
- package/dist/chunks/{tool-output-41qfwe6g.js → pty-c9wbyant.js} +4 -4
- package/dist/chunks/{tool-output-srhzrem9.js → pty-cbqfkr4p.js} +4 -4
- package/dist/chunks/{tool-output-sej97cnp.js → pty-chqfxdm3.js} +24 -24
- package/dist/chunks/{tool-output-mvs6w73g.js → pty-ck6m1vrp.js} +32 -32
- package/dist/chunks/{tool-output-ka08w3pn.js → pty-ckazfp8g.js} +14 -14
- package/dist/chunks/{tool-output-g0445xdp.js → pty-cmwkp3r5.js} +4 -4
- package/dist/chunks/{tool-output-tv2b7nhw.js → pty-cnvmc6fb.js} +23 -23
- package/dist/chunks/{tool-output-kkk7412z.js → pty-ct8t11n6.js} +11 -11
- package/dist/chunks/{tool-output-6m2m7te3.js → pty-cvrr7bf2.js} +11 -11
- package/dist/chunks/{tool-output-3fjw76mx.js → pty-cw9t8fyw.js} +5 -5
- package/dist/chunks/{tool-output-3ppptnan.js → pty-d0k1g5nx.js} +6 -6
- package/dist/chunks/{tool-output-zftebyga.js → pty-d2x469ty.js} +24 -24
- package/dist/chunks/{tool-output-g38vz540.js → pty-d9b5n5ge.js} +19 -19
- package/dist/chunks/{tool-output-mxvxcxwy.js → pty-db2wf4at.js} +4 -4
- package/dist/chunks/{tool-output-8mp5r96f.js → pty-de66sqtn.js} +17 -17
- package/dist/chunks/{tool-output-dqxsqydv.js → pty-dqxsqydv.js} +1 -1
- package/dist/chunks/{tool-output-ngxf2ks2.js → pty-e0tnwjbb.js} +22 -22
- package/dist/chunks/{tool-output-qc5kj2cr.js → pty-e43591r5.js} +77 -77
- package/dist/chunks/{tool-output-nma959mg.js → pty-e80seqcp.js} +3 -3
- package/dist/chunks/{tool-output-r9dnkpnd.js → pty-ee8q9djg.js} +14 -14
- package/dist/chunks/{tool-output-eej6y6fw.js → pty-eej6y6fw.js} +2 -2
- package/dist/chunks/{tool-output-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{tool-output-jrdgg79c.js → pty-eg6prxs1.js} +16 -16
- package/dist/chunks/{tool-output-zd9462e6.js → pty-ehtaw9d1.js} +16 -16
- package/dist/chunks/{tool-output-r48qdv0g.js → pty-er13sehk.js} +12 -12
- package/dist/chunks/{tool-output-weh8rc6v.js → pty-ethdrrhc.js} +1 -1
- package/dist/chunks/{tool-output-hxn3tndz.js → pty-ez8f2bbm.js} +4 -4
- package/dist/chunks/{tool-output-nxe4pcap.js → pty-f29mbr7f.js} +4 -4
- package/dist/chunks/{tool-output-943atts0.js → pty-f3n2bv5m.js} +11 -11
- package/dist/chunks/{tool-output-thmgqswn.js → pty-f9s7s5p7.js} +5 -5
- package/dist/chunks/{tool-output-wpb27bwd.js → pty-fd3j7r5c.js} +8 -8
- package/dist/chunks/{tool-output-mwhjgd15.js → pty-fgcmqe3m.js} +20 -20
- package/dist/chunks/{tool-output-kv4qctb0.js → pty-fjdawx2k.js} +11 -11
- package/dist/chunks/{tool-output-ztxz3tey.js → pty-fjvmb1q4.js} +31 -31
- package/dist/chunks/{tool-output-m3dfw8qb.js → pty-ftdn8ckz.js} +11 -11
- package/dist/chunks/{tool-output-57c6v5dm.js → pty-fyyz0s13.js} +12 -12
- package/dist/chunks/{tool-output-hw07avbc.js → pty-fzvpg9cx.js} +25 -25
- package/dist/chunks/{tool-output-0ejae0m6.js → pty-g3nth5ah.js} +44 -44
- package/dist/chunks/{tool-output-smmgvfsm.js → pty-g3w5es5w.js} +3 -3
- package/dist/chunks/{tool-output-kkw4bhb9.js → pty-g4akawe6.js} +23 -23
- package/dist/chunks/{tool-output-4xdpab2z.js → pty-g686f6pq.js} +9 -9
- package/dist/chunks/{tool-output-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-output-8frgrze6.js → pty-gj0f7hmv.js} +11 -11
- package/dist/chunks/{tool-output-k8p3nc22.js → pty-gq0accs8.js} +8 -8
- package/dist/chunks/{tool-output-wy7ff6f9.js → pty-gx0wdj2t.js} +3 -3
- package/dist/chunks/{tool-output-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-output-h7s7r6s9.js → pty-h7s7r6s9.js} +2 -2
- package/dist/chunks/{tool-output-00dxre1a.js → pty-h8gnvgy0.js} +8 -8
- package/dist/chunks/{tool-output-myfm3c8h.js → pty-h9d3160z.js} +12 -12
- package/dist/chunks/{tool-output-4fnxzqcp.js → pty-hfbyhya8.js} +9 -9
- package/dist/chunks/{tool-output-hgz4x7wa.js → pty-hgz4x7wa.js} +1 -1
- package/dist/chunks/{tool-output-ecn0xnz1.js → pty-hpw3665f.js} +23 -23
- package/dist/chunks/{tool-output-ppa827x4.js → pty-hrk0n9pc.js} +3 -3
- package/dist/chunks/{tool-output-m329mjby.js → pty-hv99qf5t.js} +12 -12
- package/dist/chunks/{tool-output-rqbtz1wv.js → pty-hxs8kxrd.js} +11 -11
- package/dist/chunks/{tool-output-j09zfasm.js → pty-j09zfasm.js} +3 -3
- package/dist/chunks/{tool-output-59ef30vn.js → pty-j353xgqb.js} +10 -10
- package/dist/chunks/{tool-output-jtaa96vj.js → pty-j41t0h0z.js} +4 -4
- package/dist/chunks/{tool-output-25afq108.js → pty-j6vpt3ek.js} +13 -13
- package/dist/chunks/{tool-output-rmkgh5j0.js → pty-jfxy3w4j.js} +15 -15
- package/dist/chunks/{tool-output-db4aj923.js → pty-jpz15csq.js} +1 -1
- package/dist/chunks/{tool-output-d292v2k7.js → pty-jrx2a02v.js} +24 -24
- package/dist/chunks/{tool-output-dpkg50ah.js → pty-jwcy2c2z.js} +4 -4
- package/dist/chunks/{tool-output-jws6fkes.js → pty-jws6fkes.js} +2 -2
- package/dist/chunks/{tool-output-8j82dm5c.js → pty-k35ztsfm.js} +9 -9
- package/dist/chunks/{tool-output-hn57h045.js → pty-k76fn4kw.js} +4 -4
- package/dist/chunks/{tool-output-hpf66yep.js → pty-k8mv4n69.js} +22 -22
- package/dist/chunks/{tool-output-khmqacep.js → pty-khmqacep.js} +1 -1
- package/dist/chunks/{tool-output-52nrj5ge.js → pty-kjt3e84p.js} +14 -14
- package/dist/chunks/{tool-output-myx4tth3.js → pty-kkwvactk.js} +16 -16
- package/dist/chunks/{tool-output-554rwr2z.js → pty-knsam22r.js} +5 -5
- package/dist/chunks/{tool-output-m74betby.js → pty-m09gnrb9.js} +26 -26
- package/dist/chunks/{tool-output-f2en4vmb.js → pty-m7psy4vk.js} +4 -4
- package/dist/chunks/{tool-output-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-output-maspj1v3.js → pty-maspj1v3.js} +1 -1
- package/dist/chunks/{tool-output-a8s62dcx.js → pty-mjpkqx7p.js} +29 -29
- package/dist/chunks/{tool-output-rk4bgvcd.js → pty-mrcdbg0n.js} +44 -44
- package/dist/chunks/{tool-output-kx6fepg0.js → pty-mybzhh9a.js} +5 -5
- package/dist/chunks/{tool-output-csy970gy.js → pty-n5xgnb69.js} +8 -8
- package/dist/chunks/{tool-output-maa37nma.js → pty-nm0q0e1t.js} +32 -32
- package/dist/chunks/{tool-output-mqq89mf6.js → pty-ntvrhfrd.js} +14 -14
- package/dist/chunks/{tool-output-54m6jddc.js → pty-nv1390rc.js} +18 -18
- package/dist/chunks/{tool-output-c74t4w0p.js → pty-p49yswtn.js} +22 -22
- package/dist/chunks/{tool-output-asb7p7rh.js → pty-pbpewdms.js} +32 -32
- package/dist/chunks/{tool-output-gp3qvfkw.js → pty-pbtzveat.js} +24 -24
- package/dist/chunks/{tool-output-pf31ssb9.js → pty-pf31ssb9.js} +1 -1
- package/dist/chunks/{tool-output-d1rjn9aw.js → pty-pghk10f8.js} +9 -9
- package/dist/chunks/{tool-output-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-output-wdtphjj7.js → pty-pk8j2qrs.js} +13 -13
- package/dist/chunks/{tool-output-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{tool-output-cm9ehfy8.js → pty-pn730q52.js} +37 -37
- package/dist/chunks/{tool-output-vheenbr9.js → pty-pnw81b68.js} +23 -23
- package/dist/chunks/{tool-output-q05pfw7g.js → pty-ppntd1nv.js} +15 -15
- package/dist/chunks/{tool-output-67w8vrf4.js → pty-pvvch4t1.js} +41 -41
- package/dist/chunks/{tool-output-kj6mt91f.js → pty-pvwettvr.js} +9 -9
- package/dist/chunks/{tool-output-cf820tsx.js → pty-px41as06.js} +5 -5
- package/dist/chunks/{tool-output-q0xm7vwc.js → pty-q0xm7vwc.js} +2 -2
- package/dist/chunks/{tool-output-ew24t5d6.js → pty-q4ajs4bb.js} +10 -10
- package/dist/chunks/{tool-output-yrgng78h.js → pty-q4fg9b7s.js} +50 -50
- package/dist/chunks/{tool-output-6xcvt31d.js → pty-q5e7cmwt.js} +1 -1
- package/dist/chunks/{tool-output-tjth7tw5.js → pty-q9y31vqn.js} +6 -6
- package/dist/chunks/{tool-output-8ax0qz68.js → pty-qbt3t408.js} +2 -2
- package/dist/chunks/{tool-output-t05d5ygf.js → pty-qdvdxf2k.js} +190 -190
- package/dist/chunks/{tool-output-4d2802v0.js → pty-qe7a2st6.js} +41 -41
- package/dist/chunks/{tool-output-gcteyjxa.js → pty-qf76qvkk.js} +5 -5
- package/dist/chunks/{tool-output-cadhab6b.js → pty-qfy0nnm5.js} +13 -13
- package/dist/chunks/{tool-output-4c989kgx.js → pty-qj20gv4f.js} +13 -13
- package/dist/chunks/{tool-output-563fgq8p.js → pty-qm0v3jhh.js} +4 -4
- package/dist/chunks/{tool-output-hn950zma.js → pty-qmarpbgc.js} +58 -58
- package/dist/chunks/{tool-output-qnc92qwc.js → pty-qnc92qwc.js} +1 -1
- package/dist/chunks/{tool-output-qqeeq2t9.js → pty-qqeeq2t9.js} +1 -1
- package/dist/chunks/{tool-output-ek20t778.js → pty-qqjzd42y.js} +1 -1
- package/dist/chunks/{tool-output-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-output-nfsj419k.js → pty-qtcy7vt8.js} +36 -36
- package/dist/chunks/{tool-output-rpvdw60t.js → pty-qxsas7jk.js} +11 -11
- package/dist/chunks/{tool-output-4hgwgdcv.js → pty-r8w6ttfv.js} +11 -11
- package/dist/chunks/{tool-output-2kh9tqqq.js → pty-rd7h3zr1.js} +11 -11
- package/dist/chunks/{tool-output-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{tool-output-rert0e01.js → pty-rert0e01.js} +2 -2
- package/dist/chunks/{tool-output-rj3eygr5.js → pty-rj3eygr5.js} +2 -2
- package/dist/chunks/{tool-output-bq8c0svd.js → pty-rnmfkyhk.js} +40 -40
- package/dist/chunks/{tool-output-6rm5yzkt.js → pty-rpf1qvc3.js} +4 -4
- package/dist/chunks/{tool-output-hk97hcrv.js → pty-rv8bg9zk.js} +6 -6
- package/dist/chunks/{tool-output-0wvs75nx.js → pty-s0meg1b8.js} +7 -7
- package/dist/chunks/{tool-output-0204vqs4.js → pty-s100x8e8.js} +31 -31
- package/dist/chunks/{tool-output-8tv33qg7.js → pty-s3sf2gr6.js} +20 -20
- package/dist/chunks/{tool-output-sa8ekw3f.js → pty-sa8ekw3f.js} +2 -2
- package/dist/chunks/{tool-output-b3f8fkhc.js → pty-scgrse2b.js} +5 -5
- package/dist/chunks/{tool-output-tf272swt.js → pty-sq7nze2g.js} +32 -32
- package/dist/chunks/{tool-output-syv4x271.js → pty-syv4x271.js} +1 -1
- package/dist/chunks/pty-t0m65wbp.js +253 -0
- package/dist/chunks/{tool-output-qsa4xv91.js → pty-t1gb04pn.js} +13 -13
- package/dist/chunks/{tool-output-a80xb9fr.js → pty-t9ddj6j8.js} +9 -9
- package/dist/chunks/{tool-output-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-output-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{tool-output-r5s88spv.js → pty-tg0kwg8q.js} +23 -23
- package/dist/chunks/{tool-output-tm0kqsz3.js → pty-tm0kqsz3.js} +1 -1
- package/dist/chunks/{tool-output-98f1wk8d.js → pty-tr1gvy62.js} +27 -27
- package/dist/chunks/{tool-output-raxc239v.js → pty-twkgpt66.js} +20 -20
- package/dist/chunks/{tool-output-tyytaxap.js → pty-tyytaxap.js} +1 -1
- package/dist/chunks/{tool-output-ac6ztetz.js → pty-v0zj6wv7.js} +37 -37
- package/dist/chunks/{tool-output-5ysx909f.js → pty-v3p5ska8.js} +12 -12
- package/dist/chunks/{tool-output-v7p4zvkq.js → pty-v7p4zvkq.js} +2 -2
- package/dist/chunks/{tool-output-cd4mg95y.js → pty-vdn09hgv.js} +4 -4
- package/dist/chunks/{tool-output-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-output-kf99r65c.js → pty-vqbmn0xt.js} +8 -8
- package/dist/chunks/{tool-output-hgnta6w7.js → pty-vvsvq11f.js} +4 -4
- package/dist/chunks/{tool-output-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{tool-output-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-output-v5ttjgxy.js → pty-w48hzcn4.js} +6 -6
- package/dist/chunks/{tool-output-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{tool-output-877fdf28.js → pty-wtgcjadp.js} +22 -22
- package/dist/chunks/{tool-output-f2tkxsqr.js → pty-x97dcv64.js} +9 -9
- package/dist/chunks/{tool-output-ytws2q7b.js → pty-xq7qjm04.js} +17 -17
- package/dist/chunks/{tool-output-k35pfham.js → pty-xqyega4a.js} +4 -4
- package/dist/chunks/{tool-output-2p2wxv3d.js → pty-xs27w66m.js} +42 -42
- package/dist/chunks/{tool-output-sqmzwr9m.js → pty-xsgk3b13.js} +9 -9
- package/dist/chunks/{tool-output-57t9cxe0.js → pty-xwszpszr.js} +27 -27
- package/dist/chunks/{tool-output-g4q6q9h9.js → pty-xy1yywfj.js} +18 -18
- package/dist/chunks/{tool-output-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-output-ae2m54n2.js → pty-y54pxzdy.js} +5 -5
- package/dist/chunks/{tool-output-cjpy8qeq.js → pty-y8jzcpjv.js} +9 -9
- package/dist/chunks/{tool-output-m6xh3j2p.js → pty-ydeefbjq.js} +10 -10
- package/dist/chunks/{tool-output-bxmc744n.js → pty-yfpbz0yb.js} +45 -45
- package/dist/chunks/{tool-output-bb32hvzg.js → pty-yma1e4ev.js} +15 -15
- package/dist/chunks/{tool-output-hzyevw5f.js → pty-ympt5fcf.js} +33 -33
- package/dist/chunks/{tool-output-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-output-xpeshqab.js → pty-z41z05dk.js} +6 -6
- package/dist/chunks/{tool-output-mjxg90r2.js → pty-z4y32ccy.js} +21 -21
- package/dist/chunks/{tool-output-qzqxx777.js → pty-zc28nfrp.js} +32 -32
- package/dist/chunks/{tool-output-119akswp.js → pty-zghx9vvp.js} +32 -32
- package/dist/chunks/{tool-output-b42ck17h.js → pty-zpe6edxa.js} +6 -6
- package/dist/chunks/{tool-output-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-output-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{tool-output-jseyaf51.js → pty-zxv48ndd.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- 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 +92 -92
- 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 +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +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 +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- 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 +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +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 +136 -136
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +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 +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +105 -105
- 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 +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- 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 +3 -3
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- 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 +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 +125 -125
- 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 +1 -1
- package/dist/plugin/skill.js +134 -134
- 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 +4 -4
- 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 +2 -2
- 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 +214 -214
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- 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 +153 -153
- 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 +129 -129
- 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 +127 -127
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- 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 +207 -207
- 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 +109 -109
- package/dist/skill.js +112 -112
- 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 +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 +122 -122
- package/dist/tool/plugin/grep.js +120 -120
- 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 +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- 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 +3 -3
- 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 +1 -1
- 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 +1 -1
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/tool-output-2gx2f7fc.js +0 -26
- package/dist/chunks/tool-output-et8jrt2h.js +0 -253
- /package/dist/chunks/{tool-output-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-output-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-output-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-output-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-output-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-output-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-output-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-output-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-output-2bv980vf.js → pty-2bv980vf.js} +0 -0
- /package/dist/chunks/{tool-output-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-output-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-output-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-output-3t0ybcrp.js → pty-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{tool-output-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-output-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-output-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-output-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-output-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-output-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-output-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-output-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-output-5qd3pb7m.js → pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{tool-output-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-output-6q2bdcd1.js → pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{tool-output-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-output-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-output-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-output-84wd9syh.js → pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{tool-output-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-output-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-output-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-output-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-output-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-output-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-output-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-output-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-output-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-output-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-output-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-output-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-output-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-output-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-output-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-output-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-output-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-output-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-output-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-output-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-output-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-output-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-output-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-output-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-output-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-output-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-output-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-output-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-output-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-output-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-output-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-output-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-output-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-output-hcxmzztb.js → pty-hcxmzztb.js} +0 -0
- /package/dist/chunks/{tool-output-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-output-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-output-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-output-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-output-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-output-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-output-jze0r7bz.js → pty-jze0r7bz.js} +0 -0
- /package/dist/chunks/{tool-output-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-output-m18g726c.js → pty-m18g726c.js} +0 -0
- /package/dist/chunks/{tool-output-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-output-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-output-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-output-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-output-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-output-pkyv6v7h.js → pty-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{tool-output-pyv0edze.js → pty-pyv0edze.js} +0 -0
- /package/dist/chunks/{tool-output-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-output-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-output-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-output-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-output-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-output-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-output-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-output-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-output-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-output-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-output-ve7vex1e.js → pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{tool-output-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-output-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-output-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-output-wjj7prxr.js → pty-wjj7prxr.js} +0 -0
- /package/dist/chunks/{tool-output-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-output-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-output-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-output-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-output-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-output-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-output-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-output-z5v4ffb3.js → pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-output-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
+
Service82,
|
|
4
|
+
node86
|
|
5
|
+
} from "./pty-v3p5ska8.js";
|
|
6
|
+
import {
|
|
3
7
|
Service84,
|
|
4
8
|
node88
|
|
5
|
-
} from "./
|
|
6
|
-
import {
|
|
7
|
-
Service79,
|
|
8
|
-
node82
|
|
9
|
-
} from "./tool-output-ew24t5d6.js";
|
|
9
|
+
} from "./pty-q4ajs4bb.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event4,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service37,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node40,
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service37 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event4 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var requestTimeout = "15 seconds";
|
|
@@ -57,7 +57,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
57
57
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
58
58
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.timeout(requestTimeout), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
61
61
|
const manifest = yield* inspect2(input.origin);
|
|
62
62
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
63
63
|
});
|
|
@@ -79,10 +79,10 @@ var Sources = Schema.Array(Schema.String);
|
|
|
79
79
|
var manifestKey = (origin) => `wellknown:manifest:${origin}`;
|
|
80
80
|
var configKey = (origin) => `wellknown:config:${origin}`;
|
|
81
81
|
var Configs = Schema.Array(Config2);
|
|
82
|
-
var layer = Layer.effect(
|
|
82
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
83
83
|
const http = yield* HttpClient.HttpClient;
|
|
84
|
-
const kv = yield*
|
|
85
|
-
const bus = yield*
|
|
84
|
+
const kv = yield* Service84;
|
|
85
|
+
const bus = yield* Service82;
|
|
86
86
|
const cache = yield* Ref.make(new Map);
|
|
87
87
|
const lock = Semaphore.makeUnsafe(1);
|
|
88
88
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
113
113
|
if (!changed)
|
|
114
114
|
return false;
|
|
115
115
|
yield* Ref.set(cache, next);
|
|
116
|
-
yield* bus.publish(
|
|
116
|
+
yield* bus.publish(Event4.Updated, {}, { global: true });
|
|
117
117
|
return true;
|
|
118
118
|
}, (effect) => lock.withPermit(effect));
|
|
119
|
-
return
|
|
119
|
+
return Service37.of({
|
|
120
120
|
entries: load,
|
|
121
121
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
122
122
|
refresh,
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
129
129
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
130
130
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
131
131
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
132
|
-
yield* bus.publish(
|
|
132
|
+
yield* bus.publish(Event4.Updated, {}, { global: true });
|
|
133
133
|
return entry;
|
|
134
134
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
135
135
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
144
144
|
next.delete(origin);
|
|
145
145
|
return next;
|
|
146
146
|
});
|
|
147
|
-
yield* bus.publish(
|
|
147
|
+
yield* bus.publish(Event4.Updated, {}, { global: true });
|
|
148
148
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
149
149
|
resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
|
|
150
150
|
const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
|
|
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
157
157
|
})
|
|
158
158
|
});
|
|
159
159
|
}));
|
|
160
|
-
var
|
|
160
|
+
var node40 = makeGlobalNode({ service: Service37, layer, deps: [httpClient, node88, node86] });
|
|
161
161
|
|
|
162
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
162
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service37, Event4, inspect2, resolve2, node40, exports_wellknown };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./pty-v3p5ska8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service29,
|
|
7
|
+
node32
|
|
8
|
+
} from "./pty-xs27w66m.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service74,
|
|
11
|
+
node78
|
|
12
|
+
} from "./pty-qmarpbgc.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service39,
|
|
15
|
+
node42
|
|
16
|
+
} from "./pty-d2x469ty.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service25,
|
|
26
|
+
layer: () => layer11,
|
|
27
|
+
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node29
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service25 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer11 = Layer.effect(Service25, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service29;
|
|
42
|
+
const tools = yield* Service39;
|
|
43
|
+
const bus = yield* Service82;
|
|
44
|
+
const permission = yield* Service74;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer13 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name13(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer13 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service25.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node29 = makeLocationNode({
|
|
124
|
+
service: Service25,
|
|
125
|
+
layer: layer11,
|
|
126
|
+
deps: [node42, node32, node86, node78]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name13, Service25, layer11, node29, exports_mcp3 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./pty-v3p5ska8.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event20,
|
|
18
|
+
ID: () => ID15,
|
|
19
|
+
Info: () => Info25,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service78,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node82
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Array, Context, Effect, Layer } from "effect";
|
|
27
27
|
import { Agent } from "@opencode/schema/agent";
|
|
28
|
-
import { Event as
|
|
29
|
-
var
|
|
28
|
+
import { Event as Event20 } from "@opencode/schema/agent";
|
|
29
|
+
var ID15 = Agent.ID;
|
|
30
30
|
var Name3 = Agent.Name;
|
|
31
|
-
var defaultID2 =
|
|
31
|
+
var defaultID2 = ID15.make("build");
|
|
32
32
|
var Color2 = Agent.Color;
|
|
33
|
-
var
|
|
33
|
+
var Info25 = Agent.Info;
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service78 extends Context.Service()("@opencode/Agent") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service82;
|
|
39
39
|
const state = create3({
|
|
40
40
|
name: "agent",
|
|
41
41
|
initial: () => ({ agents: new Map }),
|
|
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
46
46
|
editor.default = id;
|
|
47
47
|
},
|
|
48
48
|
update: (id, fn) => {
|
|
49
|
-
const current = editor.agents.get(id) ??
|
|
49
|
+
const current = editor.agents.get(id) ?? Info25.default(id);
|
|
50
50
|
if (!editor.agents.has(id))
|
|
51
51
|
editor.agents.set(id, current);
|
|
52
52
|
fn(current);
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
64
64
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
65
65
|
if (configured)
|
|
66
66
|
return configured;
|
|
67
|
-
const build = selectable(data.agents.get(
|
|
67
|
+
const build = selectable(data.agents.get(ID15.make("build")));
|
|
68
68
|
if (build)
|
|
69
69
|
return build;
|
|
70
70
|
for (const agent of data.agents.values()) {
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
73
73
|
return fallback;
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
|
-
return
|
|
76
|
+
return Service78.of({
|
|
77
77
|
transform: state.transform,
|
|
78
78
|
reload: state.reload,
|
|
79
79
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -81,12 +81,12 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
81
81
|
}),
|
|
82
82
|
resolve: Effect.fnUntraced(function* (id) {
|
|
83
83
|
if (id !== undefined)
|
|
84
|
-
return state.get().agents.get(
|
|
84
|
+
return state.get().agents.get(ID15.make(id));
|
|
85
85
|
return selectedDefault();
|
|
86
86
|
}),
|
|
87
87
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
88
88
|
if (id !== undefined) {
|
|
89
|
-
const selected =
|
|
89
|
+
const selected = ID15.make(id);
|
|
90
90
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
91
91
|
}
|
|
92
92
|
const info = selectedDefault();
|
|
@@ -101,6 +101,6 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
var
|
|
104
|
+
var node82 = makeLocationNode({ service: Service78, layer, deps: [node86] });
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { ID15, Name3, defaultID2, Color2, Info25, Service78, node82, exports_agent4, Event20 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./pty-d0k1g5nx.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-pf31ssb9.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-rv8bg9zk.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service49
|
|
12
|
+
} from "./pty-e0tnwjbb.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service54;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service49), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batch2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service35
|
|
6
|
+
} from "./pty-g3nth5ah.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service15,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-hfbyhya8.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/policy.ts
|
|
23
23
|
var exports_policy = {};
|
|
24
24
|
__export(exports_policy, {
|
|
25
25
|
ConfigPolicyPlugin: () => exports_policy,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin41
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Effect, Stream } from "effect";
|
|
30
|
-
var
|
|
30
|
+
var Plugin41 = define({
|
|
31
31
|
id: "opencode.config.policy",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const managed = yield*
|
|
33
|
+
const config = yield* Service35;
|
|
34
|
+
const managed = yield* Service15;
|
|
35
35
|
const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
|
|
36
36
|
const loaded = yield* observe2(config, ctx.event, reload);
|
|
37
37
|
yield* managed.changes().pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -69,4 +69,4 @@ var Plugin45 = define({
|
|
|
69
69
|
})
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Plugin41, exports_policy };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./pty-v3p5ska8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node39
|
|
7
|
+
} from "./pty-2s7dtdje.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service12,
|
|
10
|
+
node14
|
|
11
|
+
} from "./pty-66b6z3ve.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service15
|
|
14
|
+
} from "./pty-hfbyhya8.js";
|
|
15
15
|
import {
|
|
16
16
|
Service26
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-pf31ssb9.js";
|
|
18
18
|
import {
|
|
19
19
|
node20,
|
|
20
20
|
ID2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./pty-9wcwrqqm.js";
|
|
22
22
|
import {
|
|
23
23
|
Service5,
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
node7
|
|
25
|
+
} from "./pty-cmwkp3r5.js";
|
|
26
26
|
import {
|
|
27
27
|
requirements2,
|
|
28
28
|
guarded2,
|
|
29
29
|
list2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-7wbens8j.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
32
|
+
make4,
|
|
33
33
|
LoadError2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./pty-kjt3e84p.js";
|
|
35
35
|
import {
|
|
36
36
|
Updated2,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service8,
|
|
38
|
+
node10
|
|
39
|
+
} from "./pty-qfy0nnm5.js";
|
|
40
40
|
import {
|
|
41
41
|
Service4,
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
42
|
+
node6
|
|
43
|
+
} from "./pty-b4s8ej7r.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./pty-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/plugin/supervisor.ts
|
|
49
49
|
var exports_supervisor = {};
|
|
50
50
|
__export(exports_supervisor, {
|
|
51
51
|
PluginSupervisor: () => exports_supervisor,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer4,
|
|
53
|
+
node: () => node5
|
|
54
54
|
});
|
|
55
55
|
import { Event } from "@opencode/schema/config";
|
|
56
56
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -136,14 +136,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
136
136
|
pending: [...pending]
|
|
137
137
|
};
|
|
138
138
|
});
|
|
139
|
-
var
|
|
140
|
-
const managed = yield*
|
|
139
|
+
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
140
|
+
const managed = yield* Service15;
|
|
141
141
|
const registry = yield* Service26;
|
|
142
|
-
const sdk = yield*
|
|
142
|
+
const sdk = yield* Service8;
|
|
143
143
|
const instance = yield* Service5;
|
|
144
|
-
const sources = yield*
|
|
145
|
-
const modules = yield*
|
|
146
|
-
const bus = yield*
|
|
144
|
+
const sources = yield* Service12;
|
|
145
|
+
const modules = yield* make4();
|
|
146
|
+
const bus = yield* Service82;
|
|
147
147
|
const updates = yield* Service4;
|
|
148
148
|
const internal = yield* list2();
|
|
149
149
|
let release = yield* registry.hold();
|
|
@@ -221,13 +221,13 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
221
221
|
}));
|
|
222
222
|
var nodeDeps = [
|
|
223
223
|
node20,
|
|
224
|
+
node10,
|
|
224
225
|
node7,
|
|
226
|
+
node14,
|
|
225
227
|
node6,
|
|
226
|
-
|
|
227
|
-
node5,
|
|
228
|
-
node88,
|
|
228
|
+
node86,
|
|
229
229
|
Npm.node,
|
|
230
|
-
|
|
230
|
+
node39,
|
|
231
231
|
requirements2
|
|
232
232
|
];
|
|
233
233
|
function pluginSource(target) {
|
|
@@ -235,6 +235,6 @@ function pluginSource(target) {
|
|
|
235
235
|
return { type: "local", path: target };
|
|
236
236
|
return { type: "package", target };
|
|
237
237
|
}
|
|
238
|
-
var
|
|
238
|
+
var node5 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
|
|
239
239
|
|
|
240
|
-
export {
|
|
240
|
+
export { layer4, node5, exports_supervisor };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service83,
|
|
7
|
-
node87
|
|
8
|
-
} from "./tool-output-m329mjby.js";
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./pty-v3p5ska8.js";
|
|
9
5
|
import {
|
|
10
6
|
Service81,
|
|
11
7
|
node85
|
|
12
|
-
} from "./
|
|
8
|
+
} from "./pty-hv99qf5t.js";
|
|
9
|
+
import {
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./pty-eg6prxs1.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-pf31ssb9.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service36,
|
|
18
|
+
node39
|
|
19
|
+
} from "./pty-2s7dtdje.js";
|
|
20
20
|
import {
|
|
21
21
|
node20
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./pty-9wcwrqqm.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service11,
|
|
25
|
+
node13
|
|
26
|
+
} from "./pty-2sejkfem.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./pty-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
@@ -43,12 +43,12 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
43
43
|
class Service2 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
45
|
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
46
|
+
const location = yield* Service79;
|
|
47
|
+
const watcher = yield* Service36;
|
|
48
|
+
const bus = yield* Service82;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service81;
|
|
51
|
+
const policy = yield* Service11;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
105
105
|
var node2 = makeLocationNode({
|
|
106
106
|
service: Service2,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node39, FSUtil.node, node83, node85, node86, node20, node13]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
111
|
export { Service2, node2, exports_location_watcher };
|