@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,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_permission, {
|
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info5,
|
|
12
12
|
Object: () => Object2,
|
|
13
13
|
Rule: () => Rule2
|
|
14
14
|
});
|
|
@@ -21,11 +21,11 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
22
|
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info5 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2, Rule2,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule2, Info5, exports_permission };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info23,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info23 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info23, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-hrk0n9pc.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
removed2,
|
|
8
8
|
make20,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-02nrjc1r.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-c1fqxshp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service23,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node27,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service23 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make20({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service85;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service23.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node27 = makeLocationNode({ service: Service23, layer, deps: [node89] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info3, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info3, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service23, node27, exports_instruction_entry };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-6yc87gb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID10,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-tr1gvy62.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID10.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./pty-hv99qf5t.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-0vbcp93d.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make15
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make15 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service81;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make18 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make15, exports_git2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-4q9fsd81.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
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID7,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-zc28nfrp.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-54ma36ye.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./pty-q9y31vqn.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/openai.ts
|
|
32
32
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -50,7 +50,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
50
50
|
}));
|
|
51
51
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
52
52
|
var browser = (app) => ({
|
|
53
|
-
integrationID:
|
|
53
|
+
integrationID: ID10.make("openai"),
|
|
54
54
|
method: {
|
|
55
55
|
id: browserMethodID,
|
|
56
56
|
type: "oauth",
|
|
@@ -123,7 +123,7 @@ function addressInUse(error) {
|
|
|
123
123
|
return "code" in error && error.code === "EADDRINUSE";
|
|
124
124
|
}
|
|
125
125
|
var headless = (app) => ({
|
|
126
|
-
integrationID:
|
|
126
|
+
integrationID: ID10.make("openai"),
|
|
127
127
|
method: {
|
|
128
128
|
id: headlessMethodID,
|
|
129
129
|
type: "oauth",
|
|
@@ -168,7 +168,7 @@ var headless = (app) => ({
|
|
|
168
168
|
var OpenAIPlugin3 = define({
|
|
169
169
|
id: "opencode.provider.openai",
|
|
170
170
|
effect: Effect.fn(function* (ctx) {
|
|
171
|
-
const bus = yield*
|
|
171
|
+
const bus = yield* Service82;
|
|
172
172
|
const loading = Semaphore.makeUnsafe(1);
|
|
173
173
|
let chatgpt;
|
|
174
174
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -183,9 +183,9 @@ var OpenAIPlugin3 = define({
|
|
|
183
183
|
editor.method.update(headless(ctx.app));
|
|
184
184
|
});
|
|
185
185
|
yield* load();
|
|
186
|
-
const configured = yield* configuredSettings2(
|
|
186
|
+
const configured = yield* configuredSettings2(ID7.openai);
|
|
187
187
|
yield* ctx.provider.transform((providers) => {
|
|
188
|
-
const item = providers.get(
|
|
188
|
+
const item = providers.get(ID7.openai);
|
|
189
189
|
if (!item)
|
|
190
190
|
return;
|
|
191
191
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -205,7 +205,7 @@ var OpenAIPlugin3 = define({
|
|
|
205
205
|
});
|
|
206
206
|
});
|
|
207
207
|
yield* ctx.model.transform((models) => {
|
|
208
|
-
for (const model of models.list(
|
|
208
|
+
for (const model of models.list(ID7.openai)) {
|
|
209
209
|
models.update(model.providerID, model.id, (draft) => {
|
|
210
210
|
if (!chatgpt)
|
|
211
211
|
return;
|
|
@@ -236,14 +236,14 @@ var OpenAIPlugin3 = define({
|
|
|
236
236
|
}));
|
|
237
237
|
evt.headers.originator = "opencode";
|
|
238
238
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID7.openai });
|
|
240
240
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
241
241
|
delete evt.options.maxTokens;
|
|
242
242
|
});
|
|
243
243
|
for (const name of ["context", "compaction"])
|
|
244
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
244
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID7.openai });
|
|
245
245
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
246
|
-
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
246
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
249
|
function headers(contentType, app) {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service35
|
|
3
|
+
} from "./pty-g3nth5ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service40
|
|
6
|
+
} from "./pty-xsgk3b13.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin36
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin36 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service35;
|
|
26
|
+
const image = yield* Service40;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin38 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin36, exports_image };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./pty-v3p5ska8.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./pty-eg6prxs1.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID7,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
Service63,
|
|
20
|
+
node66,
|
|
21
21
|
Event14
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./pty-zc28nfrp.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./pty-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,18 +30,18 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event12,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID5,
|
|
36
|
+
Info: () => Info14,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service58,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node61,
|
|
45
45
|
parse: () => parse5,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
@@ -49,8 +49,8 @@ import { Model } from "@opencode/schema/model";
|
|
|
49
49
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
|
-
import { Event as
|
|
53
|
-
var
|
|
52
|
+
import { Event as Event12 } from "@opencode/schema/model";
|
|
53
|
+
var ID5 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -66,14 +66,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
66
66
|
};
|
|
67
67
|
var Cost2 = Model.Cost;
|
|
68
68
|
var Ref2 = Model.Ref;
|
|
69
|
-
var
|
|
69
|
+
var Info14 = Model.Info;
|
|
70
70
|
|
|
71
|
-
class
|
|
71
|
+
class Service58 extends Context.Service()("@opencode/Model") {
|
|
72
72
|
}
|
|
73
|
-
var layer = Layer.effect(
|
|
74
|
-
const providers = yield*
|
|
75
|
-
const bus = yield*
|
|
76
|
-
const location = yield*
|
|
73
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
74
|
+
const providers = yield* Service63;
|
|
75
|
+
const bus = yield* Service82;
|
|
76
|
+
const location = yield* Service79;
|
|
77
77
|
let input;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "model",
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
118
118
|
const models = writable(providerID);
|
|
119
119
|
if (!models)
|
|
120
120
|
return;
|
|
121
|
-
const model = draft(providerID, modelID) ??
|
|
121
|
+
const model = draft(providerID, modelID) ?? Info14.default(providerID, modelID);
|
|
122
122
|
update(model);
|
|
123
123
|
model.id = modelID;
|
|
124
124
|
model.providerID = providerID;
|
|
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
209
209
|
});
|
|
210
210
|
});
|
|
211
211
|
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
212
|
-
return
|
|
212
|
+
return Service58.of({
|
|
213
213
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
214
214
|
reload,
|
|
215
215
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
228
228
|
})
|
|
229
229
|
});
|
|
230
230
|
}));
|
|
231
|
-
var
|
|
231
|
+
var node61 = makeLocationNode({ service: Service58, layer, deps: [node66, node86, node83] });
|
|
232
232
|
function supportsText2(model) {
|
|
233
233
|
return (model.capabilities.input.length === 0 || model.capabilities.input.some((item) => item.startsWith("text"))) && (model.capabilities.output.length === 0 || model.capabilities.output.some((item) => item.startsWith("text")));
|
|
234
234
|
}
|
|
@@ -242,9 +242,9 @@ function compatibility2(input) {
|
|
|
242
242
|
function parse5(input) {
|
|
243
243
|
const index = input.indexOf("/");
|
|
244
244
|
return {
|
|
245
|
-
providerID:
|
|
246
|
-
modelID:
|
|
245
|
+
providerID: ID7.make(index === -1 ? input : input.slice(0, index)),
|
|
246
|
+
modelID: ID5.make(index === -1 ? "" : input.slice(index + 1))
|
|
247
247
|
};
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
-
export {
|
|
250
|
+
export { ID5, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info14, Service58, node61, supportsText2, compatibility2, parse5, exports_model2, Event12 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service35
|
|
4
|
+
} from "./pty-g3nth5ah.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service41
|
|
7
|
+
} from "./pty-bh2h312c.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin32
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin32 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service35;
|
|
27
|
+
const output = yield* Service41;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin44 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin32, exports_tool_output };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Service66,
|
|
8
8
|
node69
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-twkgpt66.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-maspj1v3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,7 +20,7 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service65,
|
|
24
24
|
node: () => node68
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service65 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service66;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service65.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var node68 = makeLocationNode({ service:
|
|
178
|
+
var node68 = makeLocationNode({ service: Service65, layer, deps: [node69, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error4, InvalidPatternError2,
|
|
180
|
+
export { Error4, InvalidPatternError2, Service65, node68, exports_ripgrep };
|