@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,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./pty-v3p5ska8.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service79,
|
|
12
|
+
node83
|
|
13
|
+
} from "./pty-eg6prxs1.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service34,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node37
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service34 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const location = yield*
|
|
42
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service82;
|
|
44
|
+
const location = yield* Service79;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service79, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service34.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node37 = makeLocationNode({ service: Service34, layer, deps: [node86, node83] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service34, node37, exports_rpc, define2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-qmarpbgc.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin21
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin21 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin21, exports_plan };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-eg6prxs1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service57,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node60,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service57 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service57, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node60 = LayerNode.unbound(Service57, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service57;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service57, node60, reload2, canonical3, exports_location_service_map };
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-tazgh4e4.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-ef5x83kb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service79
|
|
14
|
+
} from "./pty-eg6prxs1.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-chqfxdm3.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin20,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin20 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service79;
|
|
40
40
|
if (location.vcs && location.vcs.type !== "git")
|
|
41
41
|
return;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
553
553
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
554
554
|
});
|
|
555
555
|
|
|
556
|
-
export {
|
|
556
|
+
export { Plugin20, exports_git };
|
|
@@ -1,82 +1,82 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-hrk0n9pc.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./pty-v3p5ska8.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID15,
|
|
14
|
+
Service78,
|
|
15
|
+
node82
|
|
16
|
+
} from "./pty-pbtzveat.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-775gj3j1.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service58,
|
|
22
|
+
node61
|
|
23
|
+
} from "./pty-fjvmb1q4.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./pty-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
provenance2,
|
|
32
32
|
compatible2,
|
|
33
33
|
isCheckpoint2,
|
|
34
34
|
encode2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./pty-f29mbr7f.js";
|
|
36
36
|
import {
|
|
37
37
|
load5
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./pty-gq0accs8.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./pty-q5e7cmwt.js";
|
|
42
42
|
import {
|
|
43
43
|
baseTranscript2,
|
|
44
44
|
unsupportedParts2,
|
|
45
45
|
boundImages2,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
46
|
+
Service27,
|
|
47
|
+
node30
|
|
48
|
+
} from "./pty-s100x8e8.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} from "./
|
|
50
|
+
Service53,
|
|
51
|
+
node56
|
|
52
|
+
} from "./pty-j6vpt3ek.js";
|
|
53
53
|
import {
|
|
54
54
|
isRetryable2,
|
|
55
55
|
policy2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./pty-scgrse2b.js";
|
|
57
57
|
import {
|
|
58
58
|
toSessionError2,
|
|
59
59
|
contentFilterError2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./pty-8er28y98.js";
|
|
61
61
|
import {
|
|
62
62
|
calculateCost2,
|
|
63
63
|
record2,
|
|
64
64
|
add2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./pty-tdstcens.js";
|
|
66
66
|
import {
|
|
67
67
|
__export
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./pty-9rqn6x4v.js";
|
|
69
69
|
|
|
70
70
|
// src/session/compaction.ts
|
|
71
71
|
var exports_compaction2 = {};
|
|
72
72
|
__export(exports_compaction2, {
|
|
73
|
-
Service: () =>
|
|
73
|
+
Service: () => Service9,
|
|
74
74
|
SessionCompaction: () => exports_compaction2,
|
|
75
75
|
buildPrompt: () => buildPrompt2,
|
|
76
76
|
estimateContext: () => estimateContext2,
|
|
77
77
|
estimatePrompt: () => estimatePrompt2,
|
|
78
|
-
layer: () =>
|
|
79
|
-
node: () =>
|
|
78
|
+
layer: () => layer6,
|
|
79
|
+
node: () => node11,
|
|
80
80
|
recentUserMessages: () => recentUserMessages2
|
|
81
81
|
});
|
|
82
82
|
import {
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
} from "@opencode/ai";
|
|
93
93
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
94
94
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
95
|
-
class
|
|
95
|
+
class Service9 extends Context.Service()("@opencode/SessionCompaction") {
|
|
96
96
|
}
|
|
97
97
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
98
98
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -171,14 +171,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
171
171
|
};
|
|
172
172
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
173
173
|
var LEGACY_HEADING = "## Additional Context";
|
|
174
|
-
var
|
|
175
|
-
const agents = yield*
|
|
176
|
-
const bus = yield*
|
|
174
|
+
var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
175
|
+
const agents = yield* Service78;
|
|
176
|
+
const bus = yield* Service82;
|
|
177
177
|
const llm = yield* LLMClient.Service;
|
|
178
|
-
const catalog = yield*
|
|
179
|
-
const models = yield*
|
|
178
|
+
const catalog = yield* Service58;
|
|
179
|
+
const models = yield* Service53;
|
|
180
180
|
const db = (yield* Service85).db;
|
|
181
|
-
const requests = yield*
|
|
181
|
+
const requests = yield* Service27;
|
|
182
182
|
const state = create3({
|
|
183
183
|
name: "session-compaction",
|
|
184
184
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -196,7 +196,7 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
196
196
|
if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
|
|
197
197
|
return { status: "skipped" };
|
|
198
198
|
const native = context.model.compaction?.type === "native";
|
|
199
|
-
const agent = native ? undefined : yield* agents.get(
|
|
199
|
+
const agent = native ? undefined : yield* agents.get(ID15.make("compaction"));
|
|
200
200
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
201
201
|
return;
|
|
202
202
|
})))) ?? context.model;
|
|
@@ -472,16 +472,16 @@ ${text}`;
|
|
|
472
472
|
}, { metadata: outcome.metadata });
|
|
473
473
|
return { status: "completed" };
|
|
474
474
|
});
|
|
475
|
-
return
|
|
475
|
+
return Service9.of({
|
|
476
476
|
transform: state.transform,
|
|
477
477
|
reload: state.reload,
|
|
478
478
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
479
479
|
});
|
|
480
480
|
}));
|
|
481
|
-
var
|
|
482
|
-
service:
|
|
483
|
-
layer:
|
|
484
|
-
deps: [
|
|
481
|
+
var node11 = makeLocationNode({
|
|
482
|
+
service: Service9,
|
|
483
|
+
layer: layer6,
|
|
484
|
+
deps: [node82, node86, node89, llmClient2, node61, node30, node56]
|
|
485
485
|
});
|
|
486
486
|
var previousCompaction = (messages) => {
|
|
487
487
|
const [first] = messages;
|
|
@@ -686,4 +686,4 @@ var estimateMedia = (mime) => {
|
|
|
686
686
|
return 0;
|
|
687
687
|
};
|
|
688
688
|
|
|
689
|
-
export {
|
|
689
|
+
export { Service9, buildPrompt2, layer6, node11, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorktreeError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-hv99qf5t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./pty-qmarpbgc.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service73
|
|
9
|
+
} from "./pty-nv1390rc.js";
|
|
10
10
|
import {
|
|
11
11
|
DirectoryUnavailableError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-0vbcp93d.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Info9,
|
|
15
15
|
List2,
|
|
16
16
|
InvalidDirectoryError2,
|
|
17
17
|
StrategyUnavailableError2,
|
|
18
18
|
OperationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-v0zj6wv7.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./pty-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/tool/plugin/opencode.ts
|
|
25
25
|
var exports_opencode = {};
|
|
@@ -27,7 +27,7 @@ __export(exports_opencode, {
|
|
|
27
27
|
ModelsInput: () => ModelsInput2,
|
|
28
28
|
MoveInput: () => MoveInput2,
|
|
29
29
|
OpenCodeTools: () => exports_opencode,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin3,
|
|
31
31
|
RenameInput: () => RenameInput2,
|
|
32
32
|
WorktreeCreateInput: () => WorktreeCreateInput2,
|
|
33
33
|
WorktreeRemoveInput: () => WorktreeRemoveInput2
|
|
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
|
|
|
97
97
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
98
98
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Plugin3 = {
|
|
101
101
|
id: "opencode.tools",
|
|
102
102
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
103
|
-
const access = yield*
|
|
104
|
-
const permission = yield*
|
|
103
|
+
const access = yield* Service73;
|
|
104
|
+
const permission = yield* Service74;
|
|
105
105
|
const hook = (event) => Effect.sync(() => {
|
|
106
106
|
event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
|
|
107
107
|
});
|
|
@@ -153,7 +153,7 @@ var Plugin9 = {
|
|
|
153
153
|
name: "worktree_create",
|
|
154
154
|
description: "Create a named worktree. Returns its directory.",
|
|
155
155
|
input: WorktreeCreateInput2,
|
|
156
|
-
output:
|
|
156
|
+
output: Info9,
|
|
157
157
|
options: { namespace: "opencode", codemode: true, pinned: true },
|
|
158
158
|
execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
|
|
159
159
|
});
|
|
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
|
|
|
250
250
|
return `Unable to remove worktree ${directory}.`;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2,
|
|
253
|
+
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin3, exports_opencode };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-db2wf4at.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./pty-v3p5ska8.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event17
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-6yc87gb3.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID10,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-tr1gvy62.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID7,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service63
|
|
20
|
+
} from "./pty-zc28nfrp.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID5
|
|
23
|
+
} from "./pty-fjvmb1q4.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./pty-0qxqhjz5.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-4q9fsd81.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID15
|
|
33
|
+
} from "./pty-pbtzveat.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./pty-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID10.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,8 +163,8 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
167
|
-
const bus = yield*
|
|
166
|
+
const providers = yield* Service63;
|
|
167
|
+
const bus = yield* Service82;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
170
170
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -180,7 +180,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID7.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
185
|
try: () => load3(url, {
|
|
186
186
|
...provider?.headers,
|
|
@@ -202,7 +202,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID7.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
@@ -230,17 +230,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
230
230
|
}
|
|
231
231
|
});
|
|
232
232
|
yield* ctx.model.transform((models) => {
|
|
233
|
-
if (models.get(
|
|
234
|
-
models.update(
|
|
233
|
+
if (models.get(ID7.githubCopilot, ID5.make("gpt-5-chat-latest"))) {
|
|
234
|
+
models.update(ID7.githubCopilot, ID5.make("gpt-5-chat-latest"), (model) => {
|
|
235
235
|
model.enabled = false;
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
239
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
240
|
-
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
240
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
241
241
|
yield* refresh().pipe(Effect.forkScoped);
|
|
242
242
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
243
|
-
if (evt.model.providerID !==
|
|
243
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
244
244
|
return;
|
|
245
245
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
246
246
|
return;
|
|
@@ -249,7 +249,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
249
249
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
250
250
|
}));
|
|
251
251
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
252
|
-
if (evt.model.providerID !==
|
|
252
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
253
253
|
return;
|
|
254
254
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
255
255
|
return;
|
|
@@ -259,13 +259,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
259
259
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
260
260
|
if (interaction !== "conversation-agent")
|
|
261
261
|
evt.headers["x-initiator"] = "agent";
|
|
262
|
-
}), { providerID:
|
|
262
|
+
}), { providerID: ID7.githubCopilot });
|
|
263
263
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
264
|
-
if (evt.model.providerID !==
|
|
264
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
265
265
|
return;
|
|
266
266
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
267
267
|
return;
|
|
268
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
268
|
+
const agent = yield* ctx.agent.get({ agentID: ID15.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
271
|
if (agent?.data.model)
|
|
@@ -276,9 +276,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
276
276
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
277
277
|
return;
|
|
278
278
|
}));
|
|
279
|
-
}), { providerID:
|
|
279
|
+
}), { providerID: ID7.githubCopilot });
|
|
280
280
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
281
|
-
if (evt.model.providerID !==
|
|
281
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
282
282
|
return;
|
|
283
283
|
const token = evt.request.headers.get("x-api-key");
|
|
284
284
|
if (!token)
|
|
@@ -286,9 +286,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
286
286
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
287
287
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
288
288
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
289
|
-
}), { providerID:
|
|
289
|
+
}), { providerID: ID7.githubCopilot });
|
|
290
290
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
292
292
|
return;
|
|
293
293
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
294
294
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|