@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,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service41,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node44
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service41 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service41.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node44 = makeLocationNode({
|
|
137
|
+
service: Service41,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service41, node44, exports_tool_output2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-rj3eygr5.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -3,29 +3,29 @@ import {
|
|
|
3
3
|
removed2,
|
|
4
4
|
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-02nrjc1r.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-qmarpbgc.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service29,
|
|
12
|
+
node32
|
|
13
|
+
} from "./pty-xs27w66m.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name13
|
|
17
|
+
} from "./pty-pbpewdms.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions2 = {};
|
|
24
|
+
__export(exports_instructions2, {
|
|
25
|
+
McpInstructions: () => exports_instructions2,
|
|
26
|
+
Service: () => Service21,
|
|
27
|
+
layer: () => layer10,
|
|
28
|
+
node: () => node25
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,11 +61,11 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service21 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer10 = Layer.effect(Service21, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service29;
|
|
68
|
+
return Service21.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
70
|
const source = (value) => make20({
|
|
71
71
|
key: Key4.make("core/mcp-guidance"),
|
|
@@ -86,7 +86,7 @@ var layer12 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
86
86
|
const codemode = owned[0]?.codemode !== false;
|
|
87
87
|
if (codemode && !canExecute)
|
|
88
88
|
return [];
|
|
89
|
-
if (!owned.some((tool) => evaluate2(
|
|
89
|
+
if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
90
90
|
return [];
|
|
91
91
|
return [
|
|
92
92
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -96,6 +96,6 @@ var layer12 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node25 = makeLocationNode({ service: Service21, layer: layer10, deps: [node32] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service21, layer10, node25, exports_instructions2 };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service79
|
|
8
|
+
} from "./pty-eg6prxs1.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service66
|
|
11
|
+
} from "./pty-twkgpt66.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service17
|
|
14
|
+
} from "./pty-66tg3gv6.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service14,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-9jw3ccen.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service74
|
|
22
|
+
} from "./pty-qmarpbgc.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service73,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-nv1390rc.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./pty-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./pty-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin2,
|
|
42
|
+
name: () => name2,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name2 = "patch";
|
|
89
|
+
var Input2 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output2 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent2 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin2 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service66;
|
|
112
|
+
const access = yield* Service73;
|
|
113
|
+
const fileMutation = yield* Service14;
|
|
114
|
+
const formatter = yield* Service17;
|
|
115
|
+
const location = yield* Service79;
|
|
116
|
+
const permission = yield* Service74;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name2,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input2,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin5 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent2(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name2, Input2, Applied2, Output2, toModelContent2, Plugin2, exports_patch };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-02nrjc1r.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-c1fqxshp.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-ntvrhfrd.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/ollama.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
|
|
|
34
34
|
model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
|
|
35
35
|
});
|
|
36
36
|
var shows = new Map;
|
|
37
|
-
var
|
|
37
|
+
var make8 = createLocalProviderPlugin2({
|
|
38
38
|
id: "opencode.provider.ollama",
|
|
39
39
|
providerID: "ollama",
|
|
40
40
|
name: "Ollama",
|
|
@@ -67,6 +67,6 @@ var make6 = createLocalProviderPlugin2({
|
|
|
67
67
|
context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
|
|
68
68
|
})
|
|
69
69
|
});
|
|
70
|
-
var OllamaPlugin2 =
|
|
70
|
+
var OllamaPlugin2 = make8();
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { make8, OllamaPlugin2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./pty-v3p5ska8.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-pvvch4t1.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service79,
|
|
15
|
+
node83
|
|
16
|
+
} from "./pty-eg6prxs1.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-rdw6cm16.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,18 +29,18 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info15,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service62,
|
|
36
36
|
Vcs: () => exports_vcs,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node65
|
|
38
38
|
});
|
|
39
39
|
import path from "path";
|
|
40
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
43
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
43
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info15, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
44
44
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service62 extends Context.Service()("@opencode/Vcs") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
60
60
|
const fs = yield* FSUtil.Service;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const bus = yield*
|
|
61
|
+
const location = yield* Service79;
|
|
62
|
+
const bus = yield* Service82;
|
|
63
63
|
const root = yield* Effect.scope;
|
|
64
64
|
const fork = yield* FiberSet.makeRuntime();
|
|
65
65
|
const vcs = location.vcs;
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
71
71
|
canonical: location.project.canonical,
|
|
72
72
|
...vcs ? { store: vcs.store } : {}
|
|
73
73
|
};
|
|
74
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
74
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info15));
|
|
75
75
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
76
76
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
77
77
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
129
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
130
130
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
131
131
|
}
|
|
132
|
-
return
|
|
132
|
+
return Service62.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}));
|
|
190
|
-
var
|
|
191
|
-
service:
|
|
190
|
+
var node65 = makeLocationNode({
|
|
191
|
+
service: Service62,
|
|
192
192
|
layer,
|
|
193
|
-
deps: [FSUtil.node,
|
|
193
|
+
deps: [FSUtil.node, node83, node86]
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
export { Base2, BranchList2, FileStatus2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info15, Mode2, DiffError2, InitializeError2, Service62, node65, exports_vcs };
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
Service83,
|
|
9
|
-
node87
|
|
10
|
-
} from "./tool-output-m329mjby.js";
|
|
11
|
-
import {
|
|
12
8
|
Service81,
|
|
13
9
|
node85
|
|
14
|
-
} from "./
|
|
10
|
+
} from "./pty-hv99qf5t.js";
|
|
11
|
+
import {
|
|
12
|
+
Service79,
|
|
13
|
+
node83
|
|
14
|
+
} from "./pty-eg6prxs1.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID6,
|
|
27
|
+
Service: () => Service61,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node64,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID6 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service61 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service81;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service79;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID6.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
136
136
|
for (const [file, snapshot] of input.files) {
|
|
137
137
|
const absolute = path.resolve(worktree, file);
|
|
138
138
|
if (!FSUtil.contains(worktree, absolute))
|
|
139
|
-
return yield* new
|
|
139
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
140
140
|
files.set(file, TreeID2.make(snapshot));
|
|
141
141
|
}
|
|
142
142
|
return files;
|
|
143
143
|
});
|
|
144
144
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
145
145
|
if (!enabled())
|
|
146
|
-
return yield* new
|
|
146
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
147
147
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
148
148
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
149
149
|
});
|
|
150
|
-
return
|
|
150
|
+
return Service61.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
151
151
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
152
|
-
var
|
|
153
|
-
service:
|
|
152
|
+
var node64 = makeLocationNode({
|
|
153
|
+
service: Service61,
|
|
154
154
|
layer,
|
|
155
|
-
deps: [FSUtil.node,
|
|
155
|
+
deps: [FSUtil.node, node85, Global.node, node83]
|
|
156
156
|
});
|
|
157
|
-
var
|
|
157
|
+
var noopLayer3 = Layer.succeed(Service61, Service61.of({
|
|
158
158
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
159
159
|
reload: () => Effect.void,
|
|
160
160
|
capture: () => Effect.undefined,
|
|
@@ -163,13 +163,13 @@ var noopLayer2 = Layer.succeed(Service35, Service35.of({
|
|
|
163
163
|
restore: () => Effect.void
|
|
164
164
|
}));
|
|
165
165
|
function failure(operation, cause) {
|
|
166
|
-
if (cause instanceof
|
|
166
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
167
167
|
return cause;
|
|
168
|
-
return new
|
|
168
|
+
return new Error3({
|
|
169
169
|
operation,
|
|
170
170
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
171
171
|
cause
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export {
|
|
175
|
+
export { ID6, Error3, Service61, node64, noopLayer3, exports_snapshot2 };
|