@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,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./form-df6fnvr5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./form-3y53v1bx.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service65,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node68
|
|
13
|
+
} from "./form-0ndg0faa.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./form-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./form-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
|
-
CreateInput: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
CreateInput: () => CreateInput2,
|
|
25
|
+
Event: () => Event3,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID2,
|
|
28
|
+
Info: () => Info2,
|
|
29
|
+
NotFoundError: () => NotFoundError3,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service17,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node19
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event3 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
42
|
+
var ID2 = Pty.ID;
|
|
43
|
+
var Info2 = Pty.Info;
|
|
44
|
+
var CreateInput2 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID2
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service17 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
60
|
-
const bus = yield*
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
59
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
60
|
+
const bus = yield* Service83;
|
|
61
|
+
const location = yield* Service81;
|
|
62
|
+
const shell = yield* Service65;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID2.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service17.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node19 = makeLocationNode({
|
|
273
|
+
service: Service17,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [
|
|
275
|
+
deps: [node87, node85, node68]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID2, Info2, CreateInput2, UpdateInput2, NotFoundError3, ExitedError2, Service17, node19, exports_pty, Event3 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./form-df6fnvr5.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-d9jccbc4.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
@@ -18,10 +18,10 @@ __export(exports_skill5, {
|
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
20
|
Event: () => Event11,
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
21
|
+
ID: () => ID6,
|
|
22
|
+
Info: () => Info10,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service50,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
@@ -39,8 +39,8 @@ var DirectorySource2 = Skill.DirectorySource;
|
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source4 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info10 = Skill.Info;
|
|
43
|
+
var ID6 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service50 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service83;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID6.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID6.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID6.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID6.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service50.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -109,9 +109,9 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
111
|
var node53 = makeLocationNode({
|
|
112
|
-
service:
|
|
112
|
+
service: Service50,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info10, ID6, Name2, available2, toModelOutput3, prepare3, Service50, node53, exports_skill5, Event11 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make14,
|
|
10
|
+
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make14(tools) {
|
|
33
|
+
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render3(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make14, render3, exports_system_prompt };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-0w2v831d.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service43
|
|
6
|
+
} from "./form-4mwpykj0.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-q509s3k3.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-syf57q56.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-ac21eqq7.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./form-a9qkr9g3.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service22
|
|
21
|
+
} from "./form-4bj1b5bj.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./form-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate2 = {};
|
|
28
|
+
__export(exports_generate2, {
|
|
29
|
+
SessionGenerate: () => exports_generate2,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service43;
|
|
36
36
|
const database = yield* Service85;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service22;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate2 };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./form-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service79,
|
|
8
|
+
node82
|
|
9
|
+
} from "./form-zwrfsjfy.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./form-09r737me.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./form-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service8,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node10,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service8 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service79;
|
|
335
|
+
return Service8.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node10 = makeLocationNode({ service: Service8, layer, deps: [node82] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service8, read2, node10, exports_read_filesystem };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service82,
|
|
7
|
-
node86
|
|
8
|
-
} from "./pty-v3p5ska8.js";
|
|
4
|
+
} from "./form-0w2v831d.js";
|
|
9
5
|
import {
|
|
10
6
|
Service83,
|
|
11
7
|
node87
|
|
12
|
-
} from "./
|
|
8
|
+
} from "./form-df6fnvr5.js";
|
|
9
|
+
import {
|
|
10
|
+
Service47,
|
|
11
|
+
node49
|
|
12
|
+
} from "./form-f8d1cjf3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service43,
|
|
15
|
+
node45
|
|
16
|
+
} from "./form-4mwpykj0.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./form-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make16
|
|
22
|
+
} from "./form-yp2x3t23.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service41
|
|
26
|
+
} from "./form-zcrspsvn.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service70,
|
|
29
|
+
node73
|
|
30
|
+
} from "./form-f1qh747r.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./form-1wzqzz22.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./form-nydqvqd1.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./form-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service40,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer19,
|
|
47
|
+
node: () => node43,
|
|
48
48
|
noopLayer: () => noopLayer2,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service40 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const jobs = yield*
|
|
62
|
+
var layer19 = Layer.effect(Service40, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service70;
|
|
64
|
+
const instances = yield* Service43;
|
|
65
|
+
const bus = yield* Service83;
|
|
66
|
+
const jobs = yield* Service47;
|
|
67
67
|
const db = (yield* Service85).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer22 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service41.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make16({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer22 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service40.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer22 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node43 = makeGlobalNode({
|
|
127
|
+
service: Service40,
|
|
128
|
+
layer: layer19,
|
|
129
|
+
deps: [node73, node45, node87, node89, node49]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer2 = Layer.succeed(
|
|
131
|
+
var noopLayer2 = Layer.succeed(Service40, Service40.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service50, Service50.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service40, terminal2, layer19, node43, noopLayer2, exports_execution };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info10,
|
|
6
|
+
ID6,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./form-dnrfz0q2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service55
|
|
11
|
+
} from "./form-pfenne1w.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./form-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill = {};
|
|
18
|
+
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin13,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin13 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info10.make({
|
|
434
|
+
id: ID6.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info10.make({
|
|
441
|
+
id: ID6.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -467,7 +467,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
467
467
|
`);
|
|
468
468
|
});
|
|
469
469
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
470
|
-
const config = yield*
|
|
470
|
+
const config = yield* Service55;
|
|
471
471
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
472
472
|
});
|
|
473
473
|
function terminal() {
|
|
@@ -481,4 +481,4 @@ function shell() {
|
|
|
481
481
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
482
482
|
}
|
|
483
483
|
|
|
484
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
484
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin13, exports_skill };
|