@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,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID15,
|
|
3
|
+
Service78
|
|
4
|
+
} from "./pty-pbtzveat.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service58
|
|
8
|
+
} from "./pty-fjvmb1q4.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service35
|
|
12
|
+
} from "./pty-g3nth5ah.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-143qq2q9.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service83
|
|
18
|
+
} from "./pty-as986mw6.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service74
|
|
22
|
+
} from "./pty-qmarpbgc.js";
|
|
23
23
|
import {
|
|
24
24
|
Service18
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./pty-e43591r5.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./pty-6xb47vfp.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service10
|
|
31
|
+
} from "./pty-0rt46w6s.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./pty-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input12,
|
|
40
|
+
Output: () => Output8,
|
|
41
|
+
Plugin: () => Plugin14,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description5,
|
|
44
|
+
name: () => name12
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name12 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input12 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input10 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output8 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description5 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description4 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin14 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
92
|
const sessions = yield* Service18;
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
93
|
+
const jobs = yield* Service83;
|
|
94
|
+
const agents = yield* Service78;
|
|
95
|
+
const config = yield* Service35;
|
|
96
|
+
const permission = yield* Service74;
|
|
97
|
+
const models = yield* Service58;
|
|
98
|
+
const subagents = yield* Service10;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin12 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name12,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description5,
|
|
121
|
+
input: Input12,
|
|
122
|
+
output: Output8,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin12 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name12,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin12 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID15.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name12 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name12];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name12, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name12, Input12, Output8, description5, Plugin14, exports_subagent };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service36
|
|
3
|
+
} from "./pty-2s7dtdje.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./pty-eg6prxs1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service35
|
|
12
|
+
} from "./pty-g3nth5ah.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source4
|
|
17
|
+
} from "./pty-e0tnwjbb.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service13
|
|
20
|
+
} from "./pty-g686f6pq.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-m7psy4vk.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
29
|
var exports_skill3 = {};
|
|
30
30
|
__export(exports_skill3, {
|
|
31
31
|
ConfigSkillPlugin: () => exports_skill3,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin45
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin45 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service35;
|
|
43
|
+
const discovery = yield* Service13;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service79;
|
|
47
|
+
const watcher = yield* Service36;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin40 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source4.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -112,7 +112,7 @@ var Plugin40 = define({
|
|
|
112
112
|
};
|
|
113
113
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
114
114
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
115
|
-
source:
|
|
115
|
+
source: Source4.key(source),
|
|
116
116
|
cause
|
|
117
117
|
}).pipe(Effect.as([]))));
|
|
118
118
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -141,7 +141,7 @@ var Plugin40 = define({
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
yield* Effect.logDebug("skill source loaded", {
|
|
144
|
-
source:
|
|
144
|
+
source: Source4.key(source),
|
|
145
145
|
type: source.type,
|
|
146
146
|
directories,
|
|
147
147
|
skills: skills.map((skill) => skill.id)
|
|
@@ -160,7 +160,7 @@ var Plugin40 = define({
|
|
|
160
160
|
if (file) {
|
|
161
161
|
yield* Effect.logInfo("skills rescanned", {
|
|
162
162
|
file,
|
|
163
|
-
sources: current.map(
|
|
163
|
+
sources: current.map(Source4.key),
|
|
164
164
|
skills: loaded.skills.map((skill) => skill.id)
|
|
165
165
|
});
|
|
166
166
|
}
|
|
@@ -176,4 +176,4 @@ var Plugin40 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin45, exports_skill3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./pty-eg6prxs1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service73
|
|
9
|
+
} from "./pty-nv1390rc.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service6
|
|
12
|
+
} from "./pty-k8mv4n69.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-hgz4x7wa.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service7
|
|
27
|
+
} from "./pty-ckazfp8g.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input10,
|
|
36
|
+
Plugin: () => Plugin11,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name10,
|
|
39
|
+
toModelContent: () => toModelContent6
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name10 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input10 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin11 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service7;
|
|
62
|
+
const access = yield* Service73;
|
|
63
|
+
const sessionInstructions = yield* Service6;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service79;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name10,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input10,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -113,7 +113,7 @@ var Plugin4 = {
|
|
|
113
113
|
return { output: result.content, path: result.path };
|
|
114
114
|
}).pipe(Effect.map((result) => ({
|
|
115
115
|
output: result.output,
|
|
116
|
-
content:
|
|
116
|
+
content: toModelContent6(result.path, input.offset, result.output),
|
|
117
117
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
118
118
|
})), Effect.mapError((error) => {
|
|
119
119
|
if (error instanceof ToolFailure)
|
|
@@ -146,7 +146,7 @@ ${suggestions.join(`
|
|
|
146
146
|
});
|
|
147
147
|
})
|
|
148
148
|
};
|
|
149
|
-
var
|
|
149
|
+
var toModelContent6 = (path, offset, output) => {
|
|
150
150
|
if (output.type === "file" && output.encoding === "base64")
|
|
151
151
|
return [
|
|
152
152
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -182,4 +182,4 @@ var toModelContent2 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name10, Input10, Plugin11, toModelContent6, exports_read };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service77,
|
|
10
|
+
node: () => node81
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service77 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service77.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node81 = makeLocationNode({ service: Service77, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service77, node81, exports_hooks };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-hrk0n9pc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./pty-v3p5ska8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service54
|
|
9
|
+
} from "./pty-d0k1g5nx.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError10,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-rv8bg9zk.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service75
|
|
29
|
+
} from "./pty-er13sehk.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service52
|
|
34
|
+
} from "./pty-a40nck69.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service50
|
|
37
|
+
} from "./pty-rnmfkyhk.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./pty-97k7h61m.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./pty-cnvmc6fb.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./pty-3haw7r2g.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./pty-pghk10f8.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./pty-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
@@ -63,18 +63,18 @@ import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
|
-
const bus = yield*
|
|
66
|
+
const bus = yield* Service82;
|
|
67
67
|
const database = yield* Service85;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service75;
|
|
69
|
+
const instances = yield* Service54;
|
|
70
|
+
const execution = yield* Service50;
|
|
71
|
+
const admission = yield* Service52;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError10({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service54, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service54, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service54, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service54, instances), Effect.provideService(Service85, database), Effect.provideService(Service82, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service54, instances), Effect.provideService(Service82, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID5
|
|
3
|
+
} from "./pty-fjvmb1q4.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID5.make("gpt-5-chat-latest"), ID5.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|