@opencode/core 0.0.0-dev-20945 → 0.0.0-dev-20947
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/{pty-02nrjc1r.js → form-02nrjc1r.js} +1 -1
- package/dist/chunks/{pty-6f908b02.js → form-059731j3.js} +8 -8
- package/dist/chunks/{pty-sq7nze2g.js → form-09r737me.js} +34 -34
- package/dist/chunks/{pty-rpf1qvc3.js → form-0br3sbwn.js} +4 -4
- package/dist/chunks/{pty-9wcwrqqm.js → form-0e5d1q09.js} +20 -20
- package/dist/chunks/{pty-vvsvq11f.js → form-0fd51wbp.js} +4 -4
- package/dist/chunks/{pty-0kq1vnt2.js → form-0ndg0faa.js} +13 -13
- package/dist/chunks/{pty-fzvpg9cx.js → form-0r60aszv.js} +32 -32
- package/dist/chunks/{pty-0vbcp93d.js → form-0vbcp93d.js} +2 -2
- package/dist/chunks/{pty-hrk0n9pc.js → form-0w2v831d.js} +3 -3
- package/dist/chunks/{pty-pnw81b68.js → form-0x2ae93g.js} +28 -28
- package/dist/chunks/{pty-9pa8tak9.js → form-127b9nq3.js} +2 -2
- package/dist/chunks/{pty-rv8bg9zk.js → form-19ezngz8.js} +6 -6
- package/dist/chunks/{pty-8prte6g2.js → form-19j39p6z.js} +28 -28
- package/dist/chunks/{pty-gx0wdj2t.js → form-1txvh394.js} +3 -3
- package/dist/chunks/{pty-8er28y98.js → form-1wzqzz22.js} +5 -5
- package/dist/chunks/{pty-xq7qjm04.js → form-25h130a1.js} +15 -15
- package/dist/chunks/{pty-a89e0tac.js → form-277eer69.js} +4 -4
- package/dist/chunks/{pty-yma1e4ev.js → form-27vdz40p.js} +15 -15
- package/dist/chunks/{pty-qj20gv4f.js → form-2eqqy56z.js} +11 -11
- package/dist/chunks/{pty-5tad3bay.js → form-2j7m7xd2.js} +8 -8
- package/dist/chunks/{pty-607tc6va.js → form-2k8khapm.js} +5 -5
- package/dist/chunks/{pty-2sejkfem.js → form-2sejkfem.js} +2 -2
- package/dist/chunks/{pty-6hcssy04.js → form-2v32gvte.js} +11 -11
- package/dist/chunks/{pty-hxs8kxrd.js → form-2zd83npj.js} +11 -11
- package/dist/chunks/{pty-s3sf2gr6.js → form-306a0exk.js} +20 -20
- package/dist/chunks/{pty-ydeefbjq.js → form-30wfj1n4.js} +10 -10
- package/dist/chunks/{pty-h7s7r6s9.js → form-31xfzrxg.js} +5 -5
- package/dist/chunks/{pty-v0zj6wv7.js → form-33sn4450.js} +39 -39
- package/dist/chunks/{pty-cw9t8fyw.js → form-3eaxan5r.js} +5 -5
- package/dist/chunks/{pty-3fc6dm20.js → form-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-3hepkmqq.js → form-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-3hwn7j4h.js → form-3hwn7j4h.js} +2 -2
- package/dist/chunks/{pty-66b6z3ve.js → form-3jw5ar1f.js} +19 -19
- package/dist/chunks/{pty-qqjzd42y.js → form-3k7apka1.js} +1 -1
- package/dist/chunks/{pty-9c80ajet.js → form-3qyv7vzy.js} +8 -8
- package/dist/chunks/{pty-3smtnn6g.js → form-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-pn730q52.js → form-3sraz6ss.js} +39 -39
- package/dist/chunks/{pty-3tvqynh2.js → form-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-eg6prxs1.js → form-3y53v1bx.js} +16 -16
- package/dist/chunks/{pty-vdn09hgv.js → form-3zesr7q7.js} +4 -4
- package/dist/chunks/{pty-3zsf4n22.js → form-3zsf4n22.js} +1 -1
- package/dist/chunks/{pty-c9wbyant.js → form-41qfwe6g.js} +4 -4
- package/dist/chunks/{pty-fjdawx2k.js → form-48d837cs.js} +11 -11
- package/dist/chunks/{pty-5k2zrbw7.js → form-4bj1b5bj.js} +85 -85
- package/dist/chunks/{pty-ethdrrhc.js → form-4d5txdkp.js} +1 -1
- package/dist/chunks/{pty-7afg5kn9.js → form-4gx6x74g.js} +15 -15
- package/dist/chunks/{pty-g3w5es5w.js → form-4k2ddg7n.js} +3 -3
- package/dist/chunks/{pty-d0k1g5nx.js → form-4mwpykj0.js} +6 -6
- package/dist/chunks/{pty-n5xgnb69.js → form-4rqs6yce.js} +8 -8
- package/dist/chunks/{pty-54ma36ye.js → form-54ma36ye.js} +1 -1
- package/dist/chunks/{pty-2s7dtdje.js → form-5ga5b214.js} +22 -22
- package/dist/chunks/{pty-2edf9g1m.js → form-5hj9z6kr.js} +24 -24
- package/dist/chunks/{pty-5m9w47nd.js → form-5m9w47nd.js} +1 -1
- package/dist/chunks/{pty-cmwkp3r5.js → form-5xtgfte3.js} +8 -8
- package/dist/chunks/{pty-xs27w66m.js → form-5y0tywp4.js} +44 -44
- package/dist/chunks/{pty-fjvmb1q4.js → form-5ybdevb0.js} +35 -35
- package/dist/chunks/{pty-6kgmdsq6.js → form-5yxp05h0.js} +51 -51
- package/dist/chunks/{pty-8sahcayy.js → form-6e4c5wka.js} +32 -32
- package/dist/chunks/{pty-mrcdbg0n.js → form-6emmestt.js} +45 -45
- package/dist/chunks/{pty-cvrr7bf2.js → form-6k6bnagh.js} +13 -13
- package/dist/chunks/{pty-h8gnvgy0.js → form-6mqp682y.js} +8 -8
- package/dist/chunks/{pty-jws6fkes.js → form-6pc27hjz.js} +4 -4
- package/dist/chunks/{pty-9gfzbh6g.js → form-6qze8ysb.js} +23 -23
- package/dist/chunks/{pty-6xb47vfp.js → form-6xb47vfp.js} +1 -1
- package/dist/chunks/{pty-q9y31vqn.js → form-75t9bye9.js} +6 -6
- package/dist/chunks/{pty-775gj3j1.js → form-775gj3j1.js} +2 -2
- package/dist/chunks/{pty-7bmhse3q.js → form-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-3d4ymmg4.js → form-7ejdeqms.js} +16 -16
- package/dist/chunks/{pty-zxv48ndd.js → form-7j6s122j.js} +9 -9
- package/dist/chunks/{pty-xy1yywfj.js → form-7pv7hw7n.js} +18 -18
- package/dist/chunks/{pty-qxsas7jk.js → form-7vnh4v92.js} +11 -11
- package/dist/chunks/{pty-q4fg9b7s.js → form-80qt5czk.js} +50 -50
- package/dist/chunks/{pty-6de4zjg3.js → form-822y64vb.js} +69 -69
- package/dist/chunks/{pty-7ehaxsq5.js → form-82kf3jg0.js} +15 -15
- package/dist/chunks/{pty-ympt5fcf.js → form-82t7k0nh.js} +33 -33
- package/dist/chunks/{pty-6dcba37k.js → form-8atgx3ya.js} +8 -8
- package/dist/chunks/{pty-8m6m0r52.js → form-8m6m0r52.js} +1 -1
- package/dist/chunks/{pty-1739nk5s.js → form-8nc6zkts.js} +28 -28
- package/dist/chunks/{pty-an1qcxgb.js → form-8v8ce5z1.js} +36 -36
- package/dist/chunks/{pty-j09zfasm.js → form-91qna3x0.js} +3 -3
- package/dist/chunks/{pty-s0meg1b8.js → form-96zrc6ax.js} +7 -7
- package/dist/chunks/{pty-20anygfn.js → form-9av87sgt.js} +45 -45
- package/dist/chunks/{pty-97k7h61m.js → form-9fpyc4y1.js} +16 -16
- package/dist/chunks/{pty-r8w6ttfv.js → form-9rdbteg8.js} +11 -11
- package/dist/chunks/{pty-w48hzcn4.js → form-9sn33rqc.js} +6 -6
- package/dist/chunks/{pty-5f9nf4hj.js → form-9tnx4h2s.js} +3 -3
- package/dist/chunks/{pty-zghx9vvp.js → form-a55amyvq.js} +29 -29
- package/dist/chunks/{pty-q4ajs4bb.js → form-a824cvcf.js} +10 -10
- package/dist/chunks/{pty-qdvdxf2k.js → form-a9731p8k.js} +181 -181
- package/dist/chunks/{pty-s100x8e8.js → form-a9qkr9g3.js} +31 -31
- package/dist/chunks/{pty-gq0accs8.js → form-ac21eqq7.js} +8 -8
- package/dist/chunks/{pty-2p13j2kb.js → form-afe92jp7.js} +3 -3
- package/dist/chunks/{pty-cnvmc6fb.js → form-amy9nr96.js} +23 -23
- package/dist/chunks/{pty-6wndw9rh.js → form-ax3tz5jt.js} +4 -4
- package/dist/chunks/{pty-g4akawe6.js → form-axx5sjxa.js} +23 -23
- package/dist/chunks/{pty-e43591r5.js → form-b1vf1kh0.js} +91 -91
- package/dist/chunks/{pty-2xdh0w28.js → form-b674v2dg.js} +5 -5
- package/dist/chunks/{pty-q5e7cmwt.js → form-bczx5ry5.js} +1 -1
- package/dist/chunks/{pty-k8mv4n69.js → form-bg3gckj7.js} +22 -22
- package/dist/chunks/{pty-1ffvrpkg.js → form-bjx1sjef.js} +6 -6
- package/dist/chunks/{pty-t1gb04pn.js → form-bpy5r15a.js} +13 -13
- package/dist/chunks/{pty-vqbmn0xt.js → form-bqnw4zcg.js} +8 -8
- package/dist/chunks/{pty-cbqfkr4p.js → form-bxsrt1rp.js} +4 -4
- package/dist/chunks/{pty-c1fqxshp.js → form-c1fqxshp.js} +3 -3
- package/dist/chunks/{pty-2eegacq4.js → form-cmmdg65p.js} +8 -8
- package/dist/chunks/{pty-31ywfv50.js → form-cnzq3x3k.js} +12 -12
- package/dist/chunks/{pty-8a5t9khg.js → form-cserprn9.js} +20 -20
- package/dist/chunks/{pty-pghk10f8.js → form-d79x3a1q.js} +9 -9
- package/dist/chunks/{pty-qmarpbgc.js → form-d9jccbc4.js} +56 -56
- package/dist/chunks/{pty-hpw3665f.js → form-d9ph3ygh.js} +28 -28
- package/dist/chunks/{pty-v3p5ska8.js → form-df6fnvr5.js} +12 -12
- package/dist/chunks/{pty-8rkrdynz.js → form-dfjck66s.js} +37 -37
- package/dist/chunks/{pty-e0tnwjbb.js → form-dnrfz0q2.js} +22 -22
- package/dist/chunks/{pty-dqxsqydv.js → form-dqxsqydv.js} +1 -1
- package/dist/chunks/{pty-qqeeq2t9.js → form-drwq78ky.js} +7 -7
- package/dist/chunks/{pty-9sz7nexa.js → form-e0gqyvam.js} +16 -16
- package/dist/chunks/{pty-ckazfp8g.js → form-e16j1n5r.js} +17 -17
- package/dist/chunks/{pty-rnmfkyhk.js → form-e21t7egf.js} +38 -38
- package/dist/chunks/{pty-e80seqcp.js → form-e80seqcp.js} +1 -1
- package/dist/chunks/{pty-h9d3160z.js → form-e8fts9y6.js} +18 -18
- package/dist/chunks/{pty-mybzhh9a.js → form-eb6wq3zy.js} +5 -5
- package/dist/chunks/{pty-yfpbz0yb.js → form-ebvbgbap.js} +45 -45
- package/dist/chunks/{pty-de66sqtn.js → form-ed3133pq.js} +17 -17
- package/dist/chunks/{pty-eej6y6fw.js → form-eej6y6fw.js} +2 -2
- package/dist/chunks/{pty-ef5x83kb.js → form-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-gj0f7hmv.js → form-eg5kq0wk.js} +11 -11
- package/dist/chunks/{pty-f3n2bv5m.js → form-em2x5nm4.js} +13 -13
- package/dist/chunks/{pty-er13sehk.js → form-f1qh747r.js} +12 -12
- package/dist/chunks/{pty-qfy0nnm5.js → form-f2nkc2bd.js} +12 -12
- package/dist/chunks/{pty-tr1gvy62.js → form-f45c2wqa.js} +27 -27
- package/dist/chunks/{pty-xsgk3b13.js → form-f58gpcny.js} +9 -9
- package/dist/chunks/{pty-bh2h312c.js → form-f78dsz6n.js} +11 -11
- package/dist/chunks/{pty-as986mw6.js → form-f8d1cjf3.js} +16 -16
- package/dist/chunks/{pty-7hyaj12q.js → form-fawedr2k.js} +10 -10
- package/dist/chunks/{pty-a3d5jsrq.js → form-fg72yp13.js} +17 -17
- package/dist/chunks/{pty-nm0q0e1t.js → form-fgznzfpn.js} +32 -32
- package/dist/chunks/{pty-wtgcjadp.js → form-fwpheymm.js} +17 -17
- package/dist/chunks/{pty-khmqacep.js → form-fxaymqdw.js} +4 -4
- package/dist/chunks/{pty-pbtzveat.js → form-fy85dzp7.js} +24 -24
- package/dist/chunks/{pty-tg0kwg8q.js → form-g0mjhmpg.js} +18 -18
- package/dist/chunks/{pty-g686f6pq.js → form-g686f6pq.js} +2 -2
- package/dist/chunks/{pty-5fykfdj7.js → form-g6yfr6ja.js} +5 -5
- package/dist/chunks/{pty-gd4qta3r.js → form-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-db2wf4at.js → form-gqtdsdt7.js} +4 -4
- package/dist/chunks/{pty-p49yswtn.js → form-h46ghbar.js} +23 -23
- package/dist/chunks/{pty-h6vf3j39.js → form-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-mjpkqx7p.js → form-ha8954d1.js} +29 -29
- package/dist/chunks/{pty-6wg7wrda.js → form-had4kgfk.js} +6 -6
- package/dist/chunks/{pty-b26f43jx.js → form-hbn2k00m.js} +11 -11
- package/dist/chunks/{pty-hgz4x7wa.js → form-hgz4x7wa.js} +1 -1
- package/dist/chunks/{pty-j353xgqb.js → form-hj4ygqcq.js} +8 -8
- package/dist/chunks/{pty-69j91c1q.js → form-hpfvhvya.js} +8 -8
- package/dist/chunks/{pty-8f1a6wvh.js → form-hy3jsexh.js} +46 -46
- package/dist/chunks/{pty-pvwettvr.js → form-hym2f59v.js} +9 -9
- package/dist/chunks/{pty-c9nxy5qv.js → form-hz6ef5h4.js} +33 -33
- package/dist/chunks/{pty-7f5fnqp2.js → form-j4mjwbh7.js} +7 -7
- package/dist/chunks/{pty-0zqnk5z9.js → form-j5yap3y4.js} +4 -4
- package/dist/chunks/{pty-ntvrhfrd.js → form-jb41p51h.js} +14 -14
- package/dist/chunks/{pty-jrx2a02v.js → form-jf06h9wq.js} +26 -26
- package/dist/chunks/{pty-4ts7tf6z.js → form-jk540des.js} +10 -12
- package/dist/chunks/{pty-ftdn8ckz.js → form-jpz1sbwc.js} +11 -11
- package/dist/chunks/{pty-pk8j2qrs.js → form-jv2kaqdm.js} +13 -13
- package/dist/chunks/{pty-z4y32ccy.js → form-k18re6s4.js} +21 -21
- package/dist/chunks/{pty-ck6m1vrp.js → form-k99j0hdv.js} +23 -23
- package/dist/chunks/{pty-c394f5a2.js → form-kd3nkf6b.js} +16 -16
- package/dist/chunks/{pty-qf76qvkk.js → form-kecqjjhm.js} +5 -5
- package/dist/chunks/{pty-1d5t9qnr.js → form-keswfrch.js} +13 -13
- package/dist/chunks/{pty-kjt3e84p.js → form-kgkjns6k.js} +11 -11
- package/dist/chunks/{pty-ppntd1nv.js → form-kyfczz2e.js} +12 -12
- package/dist/chunks/{pty-chqfxdm3.js → form-m6aapqtj.js} +24 -24
- package/dist/chunks/{pty-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-maspj1v3.js → form-maspj1v3.js} +1 -1
- package/dist/chunks/{pty-pbpewdms.js → form-mj04efr5.js} +25 -25
- package/dist/chunks/{pty-ez8f2bbm.js → form-mqqhst8y.js} +4 -4
- package/dist/chunks/{pty-143qq2q9.js → form-mtpeagzc.js} +3 -3
- package/dist/chunks/{pty-y8jzcpjv.js → form-n6ge0jbz.js} +9 -9
- package/dist/chunks/{pty-288v2fpa.js → form-n7qacaxh.js} +17 -17
- package/dist/chunks/{pty-7k8jpxr1.js → form-n84mec99.js} +12 -12
- package/dist/chunks/{pty-ct8t11n6.js → form-nc4bet3h.js} +11 -11
- package/dist/chunks/{pty-j41t0h0z.js → form-nj2kvgja.js} +4 -4
- package/dist/chunks/{pty-m7psy4vk.js → form-npayzc43.js} +6 -6
- package/dist/chunks/{pty-d9b5n5ge.js → form-nq2b8p7n.js} +21 -21
- package/dist/chunks/{pty-fd3j7r5c.js → form-ny2rxstd.js} +5 -5
- package/dist/chunks/{pty-a40nck69.js → form-nydqvqd1.js} +23 -23
- package/dist/chunks/{pty-x97dcv64.js → form-nznf04hb.js} +9 -9
- package/dist/chunks/{pty-qbt3t408.js → form-p22nwjv1.js} +2 -2
- package/dist/chunks/{pty-3haw7r2g.js → form-p688wjw9.js} +9 -9
- package/dist/chunks/{pty-xqyega4a.js → form-p6grt35w.js} +4 -4
- package/dist/chunks/{pty-193x24z7.js → form-pa1r1w26.js} +13 -13
- package/dist/chunks/{pty-0rt46w6s.js → form-pexjtwtd.js} +19 -19
- package/dist/chunks/{pty-g3nth5ah.js → form-pfenne1w.js} +51 -51
- package/dist/chunks/{pty-pjvnvgmy.js → form-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-j6vpt3ek.js → form-pk7kp0ha.js} +13 -13
- package/dist/chunks/{pty-pknna89w.js → form-pknna89w.js} +1 -1
- package/dist/chunks/{pty-jpz15csq.js → form-pnkvp2wh.js} +4 -4
- package/dist/chunks/form-pq18g9mh.js +26 -0
- package/dist/chunks/{pty-q0xm7vwc.js → form-q0xm7vwc.js} +2 -2
- package/dist/chunks/{pty-0n2m89ce.js → form-q4gtn4tc.js} +25 -25
- package/dist/chunks/form-q509s3k3.js +18 -0
- package/dist/chunks/{pty-2kjzqttw.js → form-q76vn8xq.js} +32 -32
- package/dist/chunks/{pty-qm0v3jhh.js → form-qa3qhgw8.js} +7 -7
- package/dist/chunks/{pty-d2x469ty.js → form-qdjnfcj8.js} +24 -24
- package/dist/chunks/{pty-qnc92qwc.js → form-qnc92qwc.js} +1 -1
- package/dist/chunks/{pty-qsdy395h.js → form-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-px41as06.js → form-qy4q8v6w.js} +5 -5
- package/dist/chunks/{pty-rdw6cm16.js → form-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-rert0e01.js → form-rert0e01.js} +2 -2
- package/dist/chunks/{pty-xwszpszr.js → form-rgrnpx6b.js} +27 -27
- package/dist/chunks/{pty-fgcmqe3m.js → form-rhvsmm7d.js} +20 -20
- package/dist/chunks/{pty-rj3eygr5.js → form-rj3eygr5.js} +2 -2
- package/dist/chunks/{pty-9pkkzrmj.js → form-rmm45jmv.js} +5 -5
- package/dist/chunks/{pty-jfxy3w4j.js → form-rw4qcwcj.js} +15 -15
- package/dist/chunks/{pty-sa8ekw3f.js → form-sa8ekw3f.js} +2 -2
- package/dist/chunks/{pty-5ddwb480.js → form-sas4s4zn.js} +32 -32
- package/dist/chunks/{pty-scgrse2b.js → form-scgrse2b.js} +2 -2
- package/dist/chunks/{pty-kkwvactk.js → form-sh5z954b.js} +14 -14
- package/dist/chunks/{pty-pvvch4t1.js → form-sjs8znna.js} +41 -41
- package/dist/chunks/{pty-fyyz0s13.js → form-stgt6n7x.js} +14 -14
- package/dist/chunks/{pty-f29mbr7f.js → form-syf57q56.js} +4 -4
- package/dist/chunks/{pty-syv4x271.js → form-syv4x271.js} +1 -1
- package/dist/chunks/{pty-m09gnrb9.js → form-t99511nd.js} +28 -28
- package/dist/chunks/{pty-tazgh4e4.js → form-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-89znhe33.js → form-tcezcvh9.js} +4 -4
- package/dist/chunks/{pty-tdstcens.js → form-tdstcens.js} +1 -1
- package/dist/chunks/{pty-tm0kqsz3.js → form-tm0kqsz3.js} +1 -1
- package/dist/chunks/{pty-0k77gycm.js → form-tm98w8z9.js} +19 -19
- package/dist/chunks/{pty-11vynswf.js → form-tmzc3aj8.js} +26 -26
- package/dist/chunks/{pty-ehtaw9d1.js → form-tpbr7x97.js} +18 -18
- package/dist/chunks/{pty-f9s7s5p7.js → form-tq7zt23m.js} +5 -5
- package/dist/chunks/{pty-tyytaxap.js → form-tyytaxap.js} +1 -1
- package/dist/chunks/{pty-knsam22r.js → form-tz53ddc1.js} +5 -5
- package/dist/chunks/{pty-5av885h1.js → form-tzcg4n0g.js} +13 -13
- package/dist/chunks/{pty-6g7e4dd5.js → form-v0es1rhs.js} +7 -7
- package/dist/chunks/{pty-v7p4zvkq.js → form-v7p4zvkq.js} +2 -2
- package/dist/chunks/{pty-veqvce7d.js → form-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-hv99qf5t.js → form-vfa4vt6e.js} +12 -12
- package/dist/chunks/{pty-hfbyhya8.js → form-vppcbm3y.js} +10 -10
- package/dist/chunks/{pty-rd7h3zr1.js → form-vs030j7e.js} +9 -9
- package/dist/chunks/{pty-6yc87gb3.js → form-vxnjn3gy.js} +23 -23
- package/dist/chunks/{pty-vzs5sf6e.js → form-vzs5sf6e.js} +1 -1
- package/dist/chunks/{pty-ee8q9djg.js → form-w02h5ydj.js} +14 -14
- package/dist/chunks/{pty-84txncab.js → form-w1eejvng.js} +5 -5
- package/dist/chunks/{pty-7ygng7x2.js → form-w2n6rccj.js} +58 -58
- package/dist/chunks/{pty-zc28nfrp.js → form-w2z33w1j.js} +31 -31
- package/dist/chunks/{pty-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-y54pxzdy.js → form-w6k8tkd2.js} +5 -5
- package/dist/chunks/{pty-t9ddj6j8.js → form-w7hte7gg.js} +9 -9
- package/dist/chunks/{pty-wd87259q.js → form-wd87259q.js} +1 -1
- package/dist/chunks/{pty-b4s8ej7r.js → form-wk5z6jzv.js} +9 -9
- package/dist/chunks/{pty-qe7a2st6.js → form-wvpc58r4.js} +43 -43
- package/dist/chunks/{pty-9jw3ccen.js → form-x0zjna7n.js} +13 -13
- package/dist/chunks/{pty-7wbens8j.js → form-x32mvc4s.js} +320 -320
- package/dist/chunks/{pty-zpe6edxa.js → form-xms7d978.js} +9 -9
- package/dist/chunks/{pty-qtcy7vt8.js → form-xtqgywq0.js} +40 -40
- package/dist/chunks/{pty-0w2b2cca.js → form-xxhd6h3y.js} +32 -32
- package/dist/chunks/{pty-b2fv2zwp.js → form-xxmvpg75.js} +23 -23
- package/dist/chunks/{pty-a0t77qzm.js → form-xye03hfh.js} +18 -18
- package/dist/chunks/form-y14nt2w1.js +253 -0
- package/dist/chunks/{pty-y1fvbwt7.js → form-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-z41z05dk.js → form-y29v8fx6.js} +6 -6
- package/dist/chunks/{pty-nv1390rc.js → form-y2a9r24h.js} +18 -18
- package/dist/chunks/{pty-0qxqhjz5.js → form-y2mqfp0b.js} +11 -11
- package/dist/chunks/{pty-jwcy2c2z.js → form-y71avatq.js} +4 -4
- package/dist/chunks/{pty-00p3fx9n.js → form-y9k3q9ka.js} +3 -3
- package/dist/chunks/{pty-6ghz6dva.js → form-yj3x42dc.js} +11 -11
- package/dist/chunks/{pty-1acjjqhc.js → form-yp2x3t23.js} +4 -4
- package/dist/chunks/{pty-01qhqbw5.js → form-ytkpp1sy.js} +11 -11
- package/dist/chunks/{pty-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-66tg3gv6.js → form-zbtmdah5.js} +15 -15
- package/dist/chunks/{pty-k76fn4kw.js → form-zcrspsvn.js} +4 -4
- package/dist/chunks/{pty-3e4qw7kp.js → form-zha2r5bt.js} +23 -23
- package/dist/chunks/{pty-k35ztsfm.js → form-zn4sg67n.js} +7 -7
- package/dist/chunks/{pty-zr2ceqn5.js → form-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-4q9fsd81.js → form-zr5p0t8y.js} +11 -11
- package/dist/chunks/{pty-twkgpt66.js → form-zwrfsjfy.js} +24 -24
- package/dist/chunks/{pty-zxq2ej10.js → form-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +86 -86
- 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 +117 -117
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- 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 +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +85 -85
- 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 +109 -109
- 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 +8 -8
- 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 +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- 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 +5 -5
- 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 +117 -117
- 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 +118 -118
- 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 +127 -127
- 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 +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- 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 +101 -101
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- 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 +155 -155
- 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 +218 -218
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +156 -156
- 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 +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- 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 +131 -131
- 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 +2 -2
- package/dist/session/runner/step.js +125 -125
- 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 +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +9 -9
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +91 -91
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- 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/types/config/variable.d.ts +0 -1
- 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 +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- 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 +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/pty-4pjsscn6.js +0 -26
- package/dist/chunks/pty-pf31ssb9.js +0 -18
- package/dist/chunks/pty-t0m65wbp.js +0 -253
- /package/dist/chunks/{pty-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → form-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → form-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → form-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → form-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → form-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → form-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → form-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2bv980vf.js → form-2bv980vf.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → form-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → form-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3t0ybcrp.js → form-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → form-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → form-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → form-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → form-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → form-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → form-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → form-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-5qd3pb7m.js → form-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → form-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-6q2bdcd1.js → form-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → form-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → form-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → form-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-84wd9syh.js → form-84wd9syh.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → form-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → form-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-8wj87zfr.js → form-8wj87zfr.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → form-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → form-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → form-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → form-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → form-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → form-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → form-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → form-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → form-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → form-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → form-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → form-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → form-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → form-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → form-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → form-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → form-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → form-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → form-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → form-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → form-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → form-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → form-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hcxmzztb.js → form-hcxmzztb.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → form-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → form-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → form-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jze0r7bz.js → form-jze0r7bz.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-m18g726c.js → form-m18g726c.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → form-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → form-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → form-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → form-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → form-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-pkyv6v7h.js → form-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{pty-pyv0edze.js → form-pyv0edze.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → form-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → form-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → form-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → form-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → form-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → form-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → form-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → form-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-ve7vex1e.js → form-ve7vex1e.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → form-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → form-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wjj7prxr.js → form-wjj7prxr.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → form-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → form-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → form-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → form-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → form-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → form-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z5v4ffb3.js → form-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → form-z9919s4g.js} +0 -0
|
@@ -1,108 +1,108 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-0w2v831d.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./form-df6fnvr5.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./form-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./form-19ezngz8.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./form-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./form-c1fqxshp.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./form-41qfwe6g.js";
|
|
24
24
|
import {
|
|
25
25
|
provenance2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./form-syf57q56.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeMessageRow2,
|
|
29
29
|
preview2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./form-ac21eqq7.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service70,
|
|
33
|
+
node73
|
|
34
|
+
} from "./form-f1qh747r.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
Service66,
|
|
37
|
+
node69
|
|
38
|
+
} from "./form-8v8ce5z1.js";
|
|
39
39
|
import {
|
|
40
40
|
llmClient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./form-775gj3j1.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service31,
|
|
44
|
+
node34
|
|
45
|
+
} from "./form-eg5kq0wk.js";
|
|
46
46
|
import {
|
|
47
47
|
baseTranscript2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./form-a9qkr9g3.js";
|
|
49
49
|
import {
|
|
50
50
|
make9
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./form-scgrse2b.js";
|
|
52
52
|
import {
|
|
53
53
|
toSessionError2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./form-1wzqzz22.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
Service10,
|
|
57
|
+
node12,
|
|
58
58
|
estimatePrompt2
|
|
59
|
-
} from "./
|
|
59
|
+
} from "./form-ebvbgbap.js";
|
|
60
60
|
import {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
61
|
+
Service22,
|
|
62
|
+
node26
|
|
63
|
+
} from "./form-4bj1b5bj.js";
|
|
64
64
|
import {
|
|
65
65
|
serialized2,
|
|
66
66
|
nextPromotable2,
|
|
67
67
|
promote2
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./form-nydqvqd1.js";
|
|
69
69
|
import {
|
|
70
|
-
|
|
70
|
+
Service2,
|
|
71
71
|
isUntitled2,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
72
|
+
node3
|
|
73
|
+
} from "./form-rgrnpx6b.js";
|
|
74
74
|
import {
|
|
75
75
|
DrainResult2,
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
76
|
+
Service41
|
|
77
|
+
} from "./form-zcrspsvn.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
} from "./
|
|
79
|
+
node52
|
|
80
|
+
} from "./form-k99j0hdv.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
} from "./
|
|
82
|
+
node61
|
|
83
|
+
} from "./form-f78dsz6n.js";
|
|
84
84
|
import {
|
|
85
85
|
Outcome2,
|
|
86
86
|
make3
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./form-fwpheymm.js";
|
|
88
88
|
import {
|
|
89
|
-
|
|
90
|
-
} from "./
|
|
89
|
+
Service25
|
|
90
|
+
} from "./form-q509s3k3.js";
|
|
91
91
|
import {
|
|
92
92
|
node20
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./form-0e5d1q09.js";
|
|
94
94
|
import {
|
|
95
95
|
MAX_STEPS_PROMPT2
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./form-y44na4kk.js";
|
|
97
97
|
import {
|
|
98
98
|
__export
|
|
99
|
-
} from "./
|
|
99
|
+
} from "./form-9rqn6x4v.js";
|
|
100
100
|
|
|
101
101
|
// src/session/runner/llm.ts
|
|
102
102
|
var exports_llm = {};
|
|
103
103
|
__export(exports_llm, {
|
|
104
104
|
SessionRunnerLLM: () => exports_llm,
|
|
105
|
-
node: () =>
|
|
105
|
+
node: () => node2
|
|
106
106
|
});
|
|
107
107
|
import { Message } from "@opencode/ai";
|
|
108
108
|
import { and, desc, eq, inArray, sql } from "drizzle-orm";
|
|
@@ -110,16 +110,16 @@ import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
|
110
110
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
111
111
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
112
112
|
var CONTINUE_AFTER_OUTPUT_LIMIT = "Your last response hit the output token limit (stop reason: length). Do not apologize, recap, or repeat yourself. Break the remaining work into smaller pieces.";
|
|
113
|
-
var layer = Layer.effect(
|
|
114
|
-
const bus = yield*
|
|
115
|
-
const lifecycle = yield*
|
|
116
|
-
const store = yield*
|
|
117
|
-
const context = yield*
|
|
118
|
-
const modelTransport = yield*
|
|
113
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
114
|
+
const bus = yield* Service83;
|
|
115
|
+
const lifecycle = yield* Service66;
|
|
116
|
+
const store = yield* Service70;
|
|
117
|
+
const context = yield* Service22;
|
|
118
|
+
const modelTransport = yield* Service31;
|
|
119
119
|
const db = (yield* Service85).db;
|
|
120
|
-
const compaction = yield*
|
|
121
|
-
const plugins = yield*
|
|
122
|
-
const title = yield*
|
|
120
|
+
const compaction = yield* Service10;
|
|
121
|
+
const plugins = yield* Service25;
|
|
122
|
+
const title = yield* Service2;
|
|
123
123
|
const steps = yield* make3;
|
|
124
124
|
const titles = yield* FiberMap.make();
|
|
125
125
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
@@ -373,25 +373,25 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
375
|
});
|
|
376
|
-
return
|
|
376
|
+
return Service41.of({ drain });
|
|
377
377
|
}));
|
|
378
|
-
var
|
|
379
|
-
service:
|
|
378
|
+
var node2 = makeLocationNode({
|
|
379
|
+
service: Service41,
|
|
380
380
|
layer,
|
|
381
381
|
deps: [
|
|
382
|
-
|
|
383
|
-
|
|
382
|
+
node87,
|
|
383
|
+
node69,
|
|
384
384
|
llmClient2,
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
385
|
+
node26,
|
|
386
|
+
node34,
|
|
387
|
+
node73,
|
|
388
|
+
node12,
|
|
389
389
|
node20,
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
390
|
+
node3,
|
|
391
|
+
node52,
|
|
392
|
+
node61,
|
|
393
393
|
node89
|
|
394
394
|
]
|
|
395
395
|
});
|
|
396
396
|
|
|
397
|
-
export {
|
|
397
|
+
export { node2, exports_llm };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./form-5ga5b214.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-02nrjc1r.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-z5v4ffb3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service33
|
|
13
|
+
} from "./form-zha2r5bt.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service81
|
|
16
|
+
} from "./form-3y53v1bx.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./form-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin32
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,17 +30,17 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { sameDirectory } from "@opencode/util/path";
|
|
31
31
|
import { dirname, join } from "path";
|
|
32
32
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin32 = define({
|
|
34
34
|
id: "opencode.config.instruction",
|
|
35
35
|
effect: Effect.fn(function* () {
|
|
36
|
-
const discovery = yield*
|
|
36
|
+
const discovery = yield* Service33;
|
|
37
37
|
if (!discovery.project && !discovery.global)
|
|
38
38
|
return;
|
|
39
39
|
yield* Effect.gen(function* () {
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
|
-
const location = yield*
|
|
43
|
-
const watcher = yield*
|
|
42
|
+
const location = yield* Service81;
|
|
43
|
+
const watcher = yield* Service56;
|
|
44
44
|
const changes = yield* PubSub.sliding(1);
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -115,4 +115,4 @@ function ancestorDirectories(start, stop) {
|
|
|
115
115
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { Plugin32, exports_instruction };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-gqtdsdt7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./form-df6fnvr5.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event17
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-vxnjn3gy.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./form-f45c2wqa.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID8,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service61
|
|
20
|
+
} from "./form-w2z33w1j.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID7
|
|
23
|
+
} from "./form-5ybdevb0.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./form-y2mqfp0b.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./form-zr5p0t8y.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID13
|
|
33
|
+
} from "./form-fy85dzp7.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./form-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID9.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,8 +163,8 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
167
|
-
const bus = yield*
|
|
166
|
+
const providers = yield* Service61;
|
|
167
|
+
const bus = yield* Service83;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
170
170
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -180,7 +180,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID8.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
185
|
try: () => load3(url, {
|
|
186
186
|
...provider?.headers,
|
|
@@ -202,7 +202,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID8.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
@@ -230,17 +230,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
230
230
|
}
|
|
231
231
|
});
|
|
232
232
|
yield* ctx.model.transform((models) => {
|
|
233
|
-
if (models.get(
|
|
234
|
-
models.update(
|
|
233
|
+
if (models.get(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"))) {
|
|
234
|
+
models.update(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"), (model) => {
|
|
235
235
|
model.enabled = false;
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
239
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
240
|
-
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
240
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
241
241
|
yield* refresh().pipe(Effect.forkScoped);
|
|
242
242
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
243
|
-
if (evt.model.providerID !==
|
|
243
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
244
244
|
return;
|
|
245
245
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
246
246
|
return;
|
|
@@ -249,7 +249,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
249
249
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
250
250
|
}));
|
|
251
251
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
252
|
-
if (evt.model.providerID !==
|
|
252
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
253
253
|
return;
|
|
254
254
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
255
255
|
return;
|
|
@@ -259,13 +259,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
259
259
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
260
260
|
if (interaction !== "conversation-agent")
|
|
261
261
|
evt.headers["x-initiator"] = "agent";
|
|
262
|
-
}), { providerID:
|
|
262
|
+
}), { providerID: ID8.githubCopilot });
|
|
263
263
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
264
|
-
if (evt.model.providerID !==
|
|
264
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
265
265
|
return;
|
|
266
266
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
267
267
|
return;
|
|
268
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
268
|
+
const agent = yield* ctx.agent.get({ agentID: ID13.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
271
|
if (agent?.data.model)
|
|
@@ -276,9 +276,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
276
276
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
277
277
|
return;
|
|
278
278
|
}));
|
|
279
|
-
}), { providerID:
|
|
279
|
+
}), { providerID: ID8.githubCopilot });
|
|
280
280
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
281
|
-
if (evt.model.providerID !==
|
|
281
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
282
282
|
return;
|
|
283
283
|
const token = evt.request.headers.get("x-api-key");
|
|
284
284
|
if (!token)
|
|
@@ -286,9 +286,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
286
286
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
287
287
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
288
288
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
289
|
-
}), { providerID:
|
|
289
|
+
}), { providerID: ID8.githubCopilot });
|
|
290
290
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
292
292
|
return;
|
|
293
293
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
294
294
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./form-pfenne1w.js";
|
|
4
4
|
import {
|
|
5
5
|
Service29
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-5y0tywp4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp2 = {};
|
|
13
13
|
__export(exports_mcp2, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin36,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin36 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service55;
|
|
28
28
|
const mcp = yield* Service29;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin36, register2, exports_mcp2 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-eej6y6fw.js";
|
|
7
7
|
import {
|
|
8
8
|
Service85,
|
|
9
9
|
node89
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-0w2v831d.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-y71avatq.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node84
|
|
18
|
+
} from "./form-had4kgfk.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./form-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./form-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID16,
|
|
31
|
+
Info: () => Info26,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service80,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured11,
|
|
36
|
+
node: () => node83
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID16 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info26 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID16,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info18 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID16,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service80 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured11 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service80,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node89,
|
|
70
|
+
deps: [node89, node84]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service80, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service85).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info26({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service80.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID16.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node83 = configured11();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID16, Info26, NotFound2, CreateConflict2, Service80, configured11, node83, exports_workspace };
|