@opencode/core 0.0.0-dev-20947 → 0.0.0-dev-20950
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/{form-3jw5ar1f.js → model-resolver-017v6ka8.js} +24 -24
- package/dist/chunks/{form-rw4qcwcj.js → model-resolver-01s1begh.js} +15 -15
- package/dist/chunks/{form-zcrspsvn.js → model-resolver-06x8he3q.js} +4 -4
- package/dist/chunks/{form-zn4sg67n.js → model-resolver-076tdj8j.js} +11 -11
- package/dist/chunks/{form-6e4c5wka.js → model-resolver-09rrpfny.js} +25 -25
- package/dist/chunks/{form-wk5z6jzv.js → model-resolver-0jq9fyba.js} +9 -9
- package/dist/chunks/{form-vppcbm3y.js → model-resolver-0p78r4x4.js} +10 -10
- package/dist/chunks/{form-y2a9r24h.js → model-resolver-0rf3mqqe.js} +15 -15
- package/dist/chunks/{form-kgkjns6k.js → model-resolver-0satj92y.js} +14 -14
- package/dist/chunks/{form-0vbcp93d.js → model-resolver-0vbcp93d.js} +2 -2
- package/dist/chunks/{form-9rdbteg8.js → model-resolver-125fewv7.js} +11 -11
- package/dist/chunks/{form-822y64vb.js → model-resolver-12tpmng7.js} +73 -73
- package/dist/chunks/{form-tzcg4n0g.js → model-resolver-1fsm553b.js} +13 -13
- package/dist/chunks/{form-5yxp05h0.js → model-resolver-1kswe1g3.js} +46 -46
- package/dist/chunks/{form-82t7k0nh.js → model-resolver-1sr5z03x.js} +33 -33
- package/dist/chunks/{form-n6ge0jbz.js → model-resolver-1wp3hb2k.js} +9 -9
- package/dist/chunks/{form-09r737me.js → model-resolver-1z02ee6a.js} +18 -18
- package/dist/chunks/{form-df6fnvr5.js → model-resolver-21jrmc9g.js} +12 -12
- package/dist/chunks/{form-zbtmdah5.js → model-resolver-26tsy11a.js} +11 -11
- package/dist/chunks/{form-jb41p51h.js → model-resolver-276bngqz.js} +10 -10
- package/dist/chunks/{form-ax3tz5jt.js → model-resolver-2erc5g3s.js} +4 -4
- package/dist/chunks/{form-e0gqyvam.js → model-resolver-2qnat7dc.js} +16 -16
- package/dist/chunks/{form-vfa4vt6e.js → model-resolver-2r93mh4x.js} +12 -12
- package/dist/chunks/{form-41qfwe6g.js → model-resolver-2ryng5r3.js} +4 -4
- package/dist/chunks/{form-8v8ce5z1.js → model-resolver-2y74b1pt.js} +30 -30
- package/dist/chunks/{form-2v32gvte.js → model-resolver-2zd7cxc8.js} +14 -14
- package/dist/chunks/{form-7pv7hw7n.js → model-resolver-31knp78d.js} +14 -14
- package/dist/chunks/{form-jpz1sbwc.js → model-resolver-31v9pj2m.js} +11 -11
- package/dist/chunks/{form-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-33sn4450.js → model-resolver-3g3fherm.js} +37 -37
- package/dist/chunks/{form-tz53ddc1.js → model-resolver-3ggd8s46.js} +5 -5
- package/dist/chunks/{form-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-3hwn7j4h.js → model-resolver-3hwn7j4h.js} +2 -2
- package/dist/chunks/{form-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-vxnjn3gy.js → model-resolver-3vswmpk1.js} +33 -33
- package/dist/chunks/{form-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-y29v8fx6.js → model-resolver-4az1a8cs.js} +6 -6
- package/dist/chunks/{form-dnrfz0q2.js → model-resolver-4djhckew.js} +28 -28
- package/dist/chunks/{form-t99511nd.js → model-resolver-4j05sq0m.js} +21 -21
- package/dist/chunks/{form-54ma36ye.js → model-resolver-54ma36ye.js} +1 -1
- package/dist/chunks/{form-bqnw4zcg.js → model-resolver-5926cwpj.js} +8 -8
- package/dist/chunks/{form-8atgx3ya.js → model-resolver-5fqe9rrs.js} +13 -13
- package/dist/chunks/{form-nq2b8p7n.js → model-resolver-5jc797f7.js} +21 -21
- package/dist/chunks/{form-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-n7qacaxh.js → model-resolver-5nns0kdt.js} +20 -20
- package/dist/chunks/{form-1txvh394.js → model-resolver-5x1d34z2.js} +3 -3
- package/dist/chunks/{form-g0mjhmpg.js → model-resolver-5x4mgjyy.js} +33 -33
- package/dist/chunks/{form-5ga5b214.js → model-resolver-5y2nakwc.js} +22 -22
- package/dist/chunks/{form-b1vf1kh0.js → model-resolver-69nevm9g.js} +87 -87
- package/dist/chunks/{form-x0zjna7n.js → model-resolver-6r5rwgtp.js} +13 -13
- package/dist/chunks/{form-6xb47vfp.js → model-resolver-6xb47vfp.js} +1 -1
- package/dist/chunks/{form-75t9bye9.js → model-resolver-7014qyn6.js} +6 -6
- package/dist/chunks/{form-ytkpp1sy.js → model-resolver-72qbjese.js} +14 -14
- package/dist/chunks/{form-27vdz40p.js → model-resolver-73bangna.js} +15 -15
- package/dist/chunks/{form-775gj3j1.js → model-resolver-775gj3j1.js} +2 -2
- package/dist/chunks/{form-f45c2wqa.js → model-resolver-7968cave.js} +33 -33
- package/dist/chunks/{form-8nc6zkts.js → model-resolver-7a3t7few.js} +28 -28
- package/dist/chunks/{form-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-pexjtwtd.js → model-resolver-7e1nrk9x.js} +11 -11
- package/dist/chunks/{form-w2z33w1j.js → model-resolver-7e6b2cwb.js} +32 -32
- package/dist/chunks/{form-30wfj1n4.js → model-resolver-7h0gvqqa.js} +8 -8
- package/dist/chunks/{form-fawedr2k.js → model-resolver-7haz9w5k.js} +3 -3
- package/dist/chunks/{form-6qze8ysb.js → model-resolver-7j0h8tbw.js} +23 -23
- package/dist/chunks/{form-w2n6rccj.js → model-resolver-7kpkhag7.js} +51 -51
- package/dist/chunks/{form-tm98w8z9.js → model-resolver-7xfrtcks.js} +18 -18
- package/dist/chunks/{form-277eer69.js → model-resolver-80scg3y3.js} +4 -4
- package/dist/chunks/{form-ed3133pq.js → model-resolver-81rxcsqc.js} +20 -20
- package/dist/chunks/{form-w1eejvng.js → model-resolver-84txncab.js} +5 -5
- package/dist/chunks/{form-jf06h9wq.js → model-resolver-89j1w47y.js} +27 -27
- package/dist/chunks/{form-y2mqfp0b.js → model-resolver-8c3hmt3w.js} +6 -6
- package/dist/chunks/{form-2zd83npj.js → model-resolver-8e2jakfn.js} +11 -11
- package/dist/chunks/{form-fy85dzp7.js → model-resolver-8hje7a9v.js} +24 -24
- package/dist/chunks/{form-8m6m0r52.js → model-resolver-8m6m0r52.js} +1 -1
- package/dist/chunks/{form-6pc27hjz.js → model-resolver-8sze2n9a.js} +2 -2
- package/dist/chunks/{form-91qna3x0.js → model-resolver-91qna3x0.js} +3 -3
- package/dist/chunks/{form-mqqhst8y.js → model-resolver-97aeaand.js} +4 -4
- package/dist/chunks/{form-bpy5r15a.js → model-resolver-97bpphjt.js} +11 -11
- package/dist/chunks/{form-3eaxan5r.js → model-resolver-9hcy9v3f.js} +5 -5
- package/dist/chunks/{form-zha2r5bt.js → model-resolver-9hfpa9m9.js} +28 -28
- package/dist/chunks/{form-b674v2dg.js → model-resolver-9hwaqfsw.js} +5 -5
- package/dist/chunks/{form-0e5d1q09.js → model-resolver-9mtvkt7f.js} +21 -21
- package/dist/chunks/{form-dfjck66s.js → model-resolver-9y5jvg7a.js} +34 -34
- package/dist/chunks/{form-127b9nq3.js → model-resolver-9y9sk2j9.js} +2 -2
- package/dist/chunks/model-resolver-9zdhvgqs.js +18 -0
- package/dist/chunks/{form-82kf3jg0.js → model-resolver-a634dvb9.js} +13 -13
- package/dist/chunks/{form-gqtdsdt7.js → model-resolver-addxnjmp.js} +4 -4
- package/dist/chunks/{form-kecqjjhm.js → model-resolver-aj3rbcf1.js} +5 -5
- package/dist/chunks/{form-f1qh747r.js → model-resolver-apj3cz87.js} +14 -14
- package/dist/chunks/{form-mtpeagzc.js → model-resolver-axe3mf62.js} +3 -3
- package/dist/chunks/{form-xtqgywq0.js → model-resolver-b0dxm10x.js} +34 -34
- package/dist/chunks/{form-j4mjwbh7.js → model-resolver-b134vsz7.js} +7 -7
- package/dist/chunks/{form-hpfvhvya.js → model-resolver-be7qvw84.js} +8 -8
- package/dist/chunks/{form-pfenne1w.js → model-resolver-bhhmns0g.js} +44 -44
- package/dist/chunks/{form-2j7m7xd2.js → model-resolver-bsagyafn.js} +11 -11
- package/dist/chunks/{form-6k6bnagh.js → model-resolver-bwd9ews5.js} +13 -13
- package/dist/chunks/{form-rj3eygr5.js → model-resolver-c41wscbt.js} +2 -2
- package/dist/chunks/{form-sa8ekw3f.js → model-resolver-c8ax2afj.js} +2 -2
- package/dist/chunks/{form-eg5kq0wk.js → model-resolver-ch7mpmes.js} +11 -11
- package/dist/chunks/{form-0br3sbwn.js → model-resolver-cp937pt4.js} +4 -4
- package/dist/chunks/{form-keswfrch.js → model-resolver-cvkyw9pt.js} +15 -15
- package/dist/chunks/{form-syf57q56.js → model-resolver-d2czbp48.js} +4 -4
- package/dist/chunks/{form-q4gtn4tc.js → model-resolver-d8d1mz9r.js} +24 -24
- package/dist/chunks/{form-rmm45jmv.js → model-resolver-d9wzmzc3.js} +5 -5
- package/dist/chunks/{form-ebvbgbap.js → model-resolver-der77a5r.js} +43 -43
- package/dist/chunks/{form-e21t7egf.js → model-resolver-dmq48mpy.js} +38 -38
- package/dist/chunks/{form-dqxsqydv.js → model-resolver-dqxsqydv.js} +1 -1
- package/dist/chunks/{form-g6yfr6ja.js → model-resolver-dssbfrwz.js} +5 -5
- package/dist/chunks/{form-hy3jsexh.js → model-resolver-dx3sr3as.js} +44 -44
- package/dist/chunks/{form-9tnx4h2s.js → model-resolver-dy66nzqs.js} +3 -3
- package/dist/chunks/model-resolver-e34gd66c.js +26 -0
- package/dist/chunks/{form-4d5txdkp.js → model-resolver-e5xwx9q2.js} +1 -1
- package/dist/chunks/{form-e80seqcp.js → model-resolver-e80seqcp.js} +1 -1
- package/dist/chunks/{form-p688wjw9.js → model-resolver-e9azs9n6.js} +9 -9
- package/dist/chunks/{form-eej6y6fw.js → model-resolver-eej6y6fw.js} +2 -2
- package/dist/chunks/{form-hz6ef5h4.js → model-resolver-ef5bn39a.js} +34 -34
- package/dist/chunks/{form-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-p22nwjv1.js → model-resolver-egwn3b3z.js} +2 -2
- package/dist/chunks/{form-d79x3a1q.js → model-resolver-erdcs917.js} +9 -9
- package/dist/chunks/{form-c1fqxshp.js → model-resolver-es1vcfrp.js} +3 -3
- package/dist/chunks/{form-rhvsmm7d.js → model-resolver-et8wf2kw.js} +21 -21
- package/dist/chunks/{form-n84mec99.js → model-resolver-ev42rs7f.js} +12 -12
- package/dist/chunks/{form-bxsrt1rp.js → model-resolver-eyc9h8gm.js} +4 -4
- package/dist/chunks/{form-nznf04hb.js → model-resolver-f14hekp8.js} +9 -9
- package/dist/chunks/{form-pa1r1w26.js → model-resolver-f1nae5s7.js} +11 -11
- package/dist/chunks/{form-vs030j7e.js → model-resolver-fftm5veb.js} +14 -14
- package/dist/chunks/{form-9av87sgt.js → model-resolver-fhr47e0j.js} +43 -43
- package/dist/chunks/{form-hym2f59v.js → model-resolver-fqn434s7.js} +6 -6
- package/dist/chunks/{form-2sejkfem.js → model-resolver-ft3hqk2c.js} +9 -9
- package/dist/chunks/{form-7j6s122j.js → model-resolver-fvjzj6fm.js} +9 -9
- package/dist/chunks/{form-5xtgfte3.js → model-resolver-g0445xdp.js} +6 -6
- package/dist/chunks/{form-w6k8tkd2.js → model-resolver-g05j57d7.js} +5 -5
- package/dist/chunks/{form-6mqp682y.js → model-resolver-g828bkxh.js} +8 -8
- package/dist/chunks/{form-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-y9k3q9ka.js → model-resolver-ggp1egtm.js} +3 -3
- package/dist/chunks/{form-cnzq3x3k.js → model-resolver-gw3qbjtg.js} +5 -5
- package/dist/chunks/{form-w02h5ydj.js → model-resolver-gwwgnv03.js} +15 -15
- package/dist/chunks/{form-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-31xfzrxg.js → model-resolver-h7s7r6s9.js} +5 -5
- package/dist/chunks/{form-k18re6s4.js → model-resolver-h8v25wh0.js} +21 -21
- package/dist/chunks/{form-0ndg0faa.js → model-resolver-hba5qx00.js} +15 -15
- package/dist/chunks/{form-hgz4x7wa.js → model-resolver-hgz4x7wa.js} +1 -1
- package/dist/chunks/{form-fgznzfpn.js → model-resolver-hjn6f328.js} +32 -32
- package/dist/chunks/{form-e8fts9y6.js → model-resolver-hws0p7qv.js} +18 -18
- package/dist/chunks/{form-cserprn9.js → model-resolver-hyym503s.js} +25 -25
- package/dist/chunks/{form-nc4bet3h.js → model-resolver-hz5abz9m.js} +11 -11
- package/dist/chunks/{form-afe92jp7.js → model-resolver-j9r8495c.js} +1 -1
- package/dist/chunks/{form-mj04efr5.js → model-resolver-jdqskayt.js} +32 -32
- package/dist/chunks/{form-jk540des.js → model-resolver-jk540des.js} +2 -2
- package/dist/chunks/{form-pk7kp0ha.js → model-resolver-jsjp95jt.js} +13 -13
- package/dist/chunks/{form-3k7apka1.js → model-resolver-jyrkv4gc.js} +1 -1
- package/dist/chunks/{form-nydqvqd1.js → model-resolver-k03dsn1k.js} +21 -21
- package/dist/chunks/{form-f2nkc2bd.js → model-resolver-k0pj753z.js} +11 -11
- package/dist/chunks/{form-had4kgfk.js → model-resolver-k18ytf7m.js} +6 -6
- package/dist/chunks/{form-k99j0hdv.js → model-resolver-k1d2vept.js} +22 -22
- package/dist/chunks/{form-sjs8znna.js → model-resolver-k1qskgm1.js} +14 -14
- package/dist/chunks/{form-m6aapqtj.js → model-resolver-k64pj0tg.js} +21 -21
- package/dist/chunks/{form-bg3gckj7.js → model-resolver-kdkn6452.js} +19 -19
- package/dist/chunks/{form-6emmestt.js → model-resolver-kf8jqwvn.js} +38 -38
- package/dist/chunks/{form-fxaymqdw.js → model-resolver-khmqacep.js} +4 -4
- package/dist/chunks/{form-tpbr7x97.js → model-resolver-kjxvkwmy.js} +18 -18
- package/dist/chunks/{form-amy9nr96.js → model-resolver-kk3mpyge.js} +23 -23
- package/dist/chunks/{form-xxmvpg75.js → model-resolver-kkhtdzsm.js} +12 -12
- package/dist/chunks/{form-h46ghbar.js → model-resolver-kwjtxjfb.js} +21 -21
- package/dist/chunks/{form-ny2rxstd.js → model-resolver-m93cgr6s.js} +8 -8
- package/dist/chunks/{form-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-maspj1v3.js → model-resolver-maspj1v3.js} +1 -1
- package/dist/chunks/{form-4gx6x74g.js → model-resolver-mejf7p9j.js} +13 -13
- package/dist/chunks/{form-25h130a1.js → model-resolver-mk389d74.js} +17 -17
- package/dist/chunks/{form-48d837cs.js → model-resolver-n28jv3gc.js} +11 -11
- package/dist/chunks/{form-059731j3.js → model-resolver-n61013np.js} +8 -8
- package/dist/chunks/{form-0w2v831d.js → model-resolver-n6r6gr2k.js} +3 -3
- package/dist/chunks/{form-jv2kaqdm.js → model-resolver-nhd34jsd.js} +13 -13
- package/dist/chunks/{form-em2x5nm4.js → model-resolver-nnfex98a.js} +15 -15
- package/dist/chunks/{form-tq7zt23m.js → model-resolver-nq9f5nkx.js} +5 -5
- package/dist/chunks/{form-3zesr7q7.js → model-resolver-ntwdp302.js} +4 -4
- package/dist/chunks/{form-hbn2k00m.js → model-resolver-ny62zz38.js} +11 -11
- package/dist/chunks/{form-1wzqzz22.js → model-resolver-p4613v5m.js} +5 -5
- package/dist/chunks/{form-nj2kvgja.js → model-resolver-pdtwfjed.js} +4 -4
- package/dist/chunks/{form-9fpyc4y1.js → model-resolver-phvmwwrc.js} +16 -16
- package/dist/chunks/{form-4k2ddg7n.js → model-resolver-pj45xpz4.js} +3 -3
- package/dist/chunks/{form-19ezngz8.js → model-resolver-pjsqfx9m.js} +3 -3
- package/dist/chunks/{form-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{form-f58gpcny.js → model-resolver-pnkbpv6t.js} +9 -9
- package/dist/chunks/{form-0fd51wbp.js → model-resolver-pr6x9sxx.js} +4 -4
- package/dist/chunks/{form-pnkvp2wh.js → model-resolver-psde1en3.js} +4 -4
- package/dist/chunks/model-resolver-px39bg4v.js +513 -0
- package/dist/chunks/{form-q0xm7vwc.js → model-resolver-q0xm7vwc.js} +2 -2
- package/dist/chunks/model-resolver-q2d1k2hk.js +253 -0
- package/dist/chunks/{form-d9jccbc4.js → model-resolver-q2g3ps59.js} +47 -47
- package/dist/chunks/{form-ac21eqq7.js → model-resolver-qeafh5k3.js} +8 -8
- package/dist/chunks/{form-2k8khapm.js → model-resolver-qgn6gcr1.js} +5 -5
- package/dist/chunks/{form-qnc92qwc.js → model-resolver-qnc92qwc.js} +1 -1
- package/dist/chunks/{form-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{form-qy4q8v6w.js → model-resolver-qsry094s.js} +5 -5
- package/dist/chunks/{form-80qt5czk.js → model-resolver-r05rzvq1.js} +50 -50
- package/dist/chunks/{form-d9ph3ygh.js → model-resolver-r24h05zg.js} +28 -28
- package/dist/chunks/{form-g686f6pq.js → model-resolver-r70na3yp.js} +9 -9
- package/dist/chunks/{form-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-02nrjc1r.js → model-resolver-rhjbct0v.js} +6 -6
- package/dist/chunks/{form-a9qkr9g3.js → model-resolver-rkp05d3h.js} +33 -33
- package/dist/chunks/{form-0r60aszv.js → model-resolver-s57pv86b.js} +30 -30
- package/dist/chunks/{form-5hj9z6kr.js → model-resolver-s73414qt.js} +16 -16
- package/dist/chunks/{form-scgrse2b.js → model-resolver-scgrse2b.js} +2 -2
- package/dist/chunks/{form-2eqqy56z.js → model-resolver-sm1cpy88.js} +14 -14
- package/dist/chunks/{form-4mwpykj0.js → model-resolver-sxzvkvgj.js} +6 -6
- package/dist/chunks/{form-syv4x271.js → model-resolver-syv4x271.js} +1 -1
- package/dist/chunks/{form-p6grt35w.js → model-resolver-t5345zfw.js} +4 -4
- package/dist/chunks/{form-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-5y0tywp4.js → model-resolver-tbxprhjc.js} +48 -48
- package/dist/chunks/{form-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
- package/dist/chunks/{form-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{form-rert0e01.js → model-resolver-tkb22qbm.js} +2 -2
- package/dist/chunks/{form-qa3qhgw8.js → model-resolver-tkmwgdpd.js} +7 -7
- package/dist/chunks/{form-tm0kqsz3.js → model-resolver-tm0kqsz3.js} +1 -1
- package/dist/chunks/{form-3y53v1bx.js → model-resolver-tm6yce80.js} +2 -2
- package/dist/chunks/{form-4bj1b5bj.js → model-resolver-tsktfrs2.js} +84 -84
- package/dist/chunks/{form-tyytaxap.js → model-resolver-tyytaxap.js} +1 -1
- package/dist/chunks/{form-v0es1rhs.js → model-resolver-v0es1rhs.js} +2 -2
- package/dist/chunks/{form-v7p4zvkq.js → model-resolver-v7p4zvkq.js} +2 -2
- package/dist/chunks/{form-4rqs6yce.js → model-resolver-v8cmy866.js} +8 -8
- package/dist/chunks/{form-ha8954d1.js → model-resolver-v8hntyfk.js} +29 -29
- package/dist/chunks/{form-kd3nkf6b.js → model-resolver-vb82663b.js} +23 -23
- package/dist/chunks/{form-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{form-96zrc6ax.js → model-resolver-vh39qgwm.js} +7 -7
- package/dist/chunks/{form-fg72yp13.js → model-resolver-vhxz3vg8.js} +19 -19
- package/dist/chunks/{form-yj3x42dc.js → model-resolver-vqv75wwx.js} +11 -11
- package/dist/chunks/{form-j5yap3y4.js → model-resolver-vrcgr47b.js} +4 -4
- package/dist/chunks/{form-q76vn8xq.js → model-resolver-vsx5rp07.js} +33 -33
- package/dist/chunks/{form-7ejdeqms.js → model-resolver-vtt0yr3x.js} +11 -11
- package/dist/chunks/{form-a9731p8k.js → model-resolver-vx7qmf9g.js} +176 -176
- package/dist/chunks/{form-cmmdg65p.js → model-resolver-vxby77fw.js} +8 -8
- package/dist/chunks/{form-fwpheymm.js → model-resolver-vxvsynfj.js} +22 -22
- package/dist/chunks/{form-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-kyfczz2e.js → model-resolver-w0qm4gzb.js} +13 -13
- package/dist/chunks/{form-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-a824cvcf.js → model-resolver-w8t2jk6x.js} +10 -10
- package/dist/chunks/{form-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{form-xye03hfh.js → model-resolver-wh1hjrhc.js} +20 -20
- package/dist/chunks/{form-bjx1sjef.js → model-resolver-wjr9rjd7.js} +6 -6
- package/dist/chunks/{form-3sraz6ss.js → model-resolver-wphhsbqm.js} +45 -45
- package/dist/chunks/{form-rgrnpx6b.js → model-resolver-wrkpgzm9.js} +29 -29
- package/dist/chunks/{form-xxhd6h3y.js → model-resolver-xd4yhhbd.js} +30 -30
- package/dist/chunks/{form-f8d1cjf3.js → model-resolver-xdrp1hb6.js} +14 -14
- package/dist/chunks/{form-drwq78ky.js → model-resolver-xfkkasph.js} +4 -4
- package/dist/chunks/{form-9sn33rqc.js → model-resolver-xjdp5kgq.js} +3 -3
- package/dist/chunks/{form-3qyv7vzy.js → model-resolver-xpf8z4nb.js} +8 -8
- package/dist/chunks/{form-npayzc43.js → model-resolver-xpkszdg2.js} +6 -6
- package/dist/chunks/{form-zr5p0t8y.js → model-resolver-xqsvy1tg.js} +11 -11
- package/dist/chunks/{form-bczx5ry5.js → model-resolver-xybefm6f.js} +1 -1
- package/dist/chunks/{form-axx5sjxa.js → model-resolver-y11gfp3c.js} +22 -22
- package/dist/chunks/{form-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-y71avatq.js → model-resolver-y71avatq.js} +1 -1
- package/dist/chunks/{form-f78dsz6n.js → model-resolver-y87z2683.js} +11 -11
- package/dist/chunks/{form-sas4s4zn.js → model-resolver-y9rz79sf.js} +30 -30
- package/dist/chunks/{form-qdjnfcj8.js → model-resolver-ya3jbp1k.js} +24 -24
- package/dist/chunks/{form-0x2ae93g.js → model-resolver-yahdewcc.js} +32 -32
- package/dist/chunks/{form-a55amyvq.js → model-resolver-yhd2m4kx.js} +32 -32
- package/dist/chunks/{form-yp2x3t23.js → model-resolver-yp2x3t23.js} +1 -1
- package/dist/chunks/{form-stgt6n7x.js → model-resolver-yqev8n43.js} +18 -18
- package/dist/chunks/{form-19j39p6z.js → model-resolver-ytye8eex.js} +28 -28
- package/dist/chunks/{form-w7hte7gg.js → model-resolver-yw18zvsa.js} +7 -7
- package/dist/chunks/{form-xms7d978.js → model-resolver-yxxmeqn1.js} +9 -9
- package/dist/chunks/{form-5ybdevb0.js → model-resolver-yyc693px.js} +26 -26
- package/dist/chunks/{form-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-sh5z954b.js → model-resolver-z2ce4t34.js} +22 -22
- package/dist/chunks/{form-hj4ygqcq.js → model-resolver-zaatn0x7.js} +10 -10
- package/dist/chunks/{form-wvpc58r4.js → model-resolver-ze7t1560.js} +46 -46
- package/dist/chunks/{form-306a0exk.js → model-resolver-zeadje1f.js} +19 -19
- package/dist/chunks/{form-7vnh4v92.js → model-resolver-zhzk0jbj.js} +11 -11
- package/dist/chunks/{form-e16j1n5r.js → model-resolver-zk8b9ssq.js} +15 -15
- package/dist/chunks/{form-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-eb6wq3zy.js → model-resolver-zwq9gsm5.js} +5 -5
- package/dist/chunks/{form-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/chunks/{form-zwrfsjfy.js → model-resolver-zxz20fz9.js} +21 -21
- package/dist/chunks/{form-tmzc3aj8.js → model-resolver-zza4sf78.js} +21 -21
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- 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 +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- 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 +120 -120
- package/dist/config/plugin/mcp.js +127 -127
- 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 +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- 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 +1 -1
- 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 +97 -97
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- 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 +102 -102
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- 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 +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- 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 +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +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 +74 -74
- 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 +350 -350
- 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 +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- 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 +99 -99
- 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 +135 -135
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- 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 +1 -1
- 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 +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- 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 +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +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 +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- 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 +10 -10
- 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/form-pq18g9mh.js +0 -26
- package/dist/chunks/form-q509s3k3.js +0 -18
- package/dist/chunks/form-x32mvc4s.js +0 -513
- package/dist/chunks/form-y14nt2w1.js +0 -253
- /package/dist/chunks/{form-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3t0ybcrp.js → model-resolver-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-m18g726c.js → model-resolver-m18g726c.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-pkyv6v7h.js → model-resolver-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{form-pyv0edze.js → model-resolver-pyv0edze.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wjj7prxr.js → model-resolver-wjj7prxr.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-tm6yce80.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./model-resolver-zxz20fz9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service53,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-6r5rwgtp.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service52
|
|
14
|
+
} from "./model-resolver-26tsy11a.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service71
|
|
17
|
+
} from "./model-resolver-q2g3ps59.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service18,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-0rf3mqqe.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-resolver-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input3,
|
|
34
|
+
Output: () => Output3,
|
|
35
|
+
Plugin: () => Plugin38,
|
|
36
|
+
name: () => name3
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name3 = "edit";
|
|
43
|
+
var Input3 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input2 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output3 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
|
|
|
190
190
|
}
|
|
191
191
|
return low;
|
|
192
192
|
};
|
|
193
|
-
var
|
|
193
|
+
var Plugin38 = {
|
|
194
194
|
id: "opencode.tool.edit",
|
|
195
195
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
196
|
-
const access = yield*
|
|
197
|
-
const fileMutation = yield*
|
|
198
|
-
const environment = yield*
|
|
199
|
-
const formatter = yield*
|
|
196
|
+
const access = yield* Service18;
|
|
197
|
+
const fileMutation = yield* Service53;
|
|
198
|
+
const environment = yield* Service54;
|
|
199
|
+
const formatter = yield* Service52;
|
|
200
200
|
const location = yield* Service81;
|
|
201
|
-
const permission = yield*
|
|
201
|
+
const permission = yield* Service71;
|
|
202
202
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
203
|
-
name:
|
|
203
|
+
name: name3,
|
|
204
204
|
options: { codemode: false, permission: "edit" },
|
|
205
205
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
206
|
-
input:
|
|
207
|
-
output:
|
|
206
|
+
input: Input3,
|
|
207
|
+
output: Output3,
|
|
208
208
|
execute: (input, context) => {
|
|
209
209
|
return Effect.gen(function* () {
|
|
210
210
|
const permissionSource = {
|
|
@@ -276,4 +276,4 @@ var Plugin19 = {
|
|
|
276
276
|
})
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { name3, Input3, Output3, Plugin38, exports_edit };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service62,
|
|
3
|
+
node65
|
|
4
|
+
} from "./model-resolver-w8t2jk6x.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-axe3mf62.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
19
|
+
Service: () => Service57,
|
|
20
20
|
make: () => make18,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node59
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service57 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -84,7 +84,7 @@ function decrementSession(input, sessionID) {
|
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
86
|
var make18 = Effect.gen(function* () {
|
|
87
|
-
const kv = yield*
|
|
87
|
+
const kv = yield* Service62;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -342,7 +342,7 @@ var make18 = Effect.gen(function* () {
|
|
|
342
342
|
next.delete(entry[0]);
|
|
343
343
|
return next;
|
|
344
344
|
})));
|
|
345
|
-
return
|
|
345
|
+
return Service57.of({
|
|
346
346
|
get,
|
|
347
347
|
start,
|
|
348
348
|
wait,
|
|
@@ -354,7 +354,7 @@ var make18 = Effect.gen(function* () {
|
|
|
354
354
|
completeBackground
|
|
355
355
|
});
|
|
356
356
|
});
|
|
357
|
-
var layer = Layer.effect(
|
|
358
|
-
var
|
|
357
|
+
var layer = Layer.effect(Service57, make18);
|
|
358
|
+
var node59 = makeGlobalNode({ service: Service57, layer, deps: [node65] });
|
|
359
359
|
|
|
360
|
-
export {
|
|
360
|
+
export { Service57, make18, node59, exports_job };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-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: () =>
|
|
9
|
+
make: () => make15,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ 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
|
|
32
|
+
function make15(tools) {
|
|
33
33
|
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
35
|
function render3(prompt, tools) {
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make15, render3, exports_system_prompt };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-7e6b2cwb.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-yyc693px.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./model-resolver-ytye8eex.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service42
|
|
6
|
+
} from "./model-resolver-sxzvkvgj.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9zdhvgqs.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service42;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service59), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-8m6m0r52.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID8,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-4djhckew.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID8.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured11,
|
|
11
|
+
layer: () => layer26,
|
|
12
|
+
make: () => make21,
|
|
13
|
+
node: () => node80,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make21()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make21(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make19(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer26 = (input) => Layer.succeed(Metadata2, make21(input));
|
|
32
|
+
var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer26(input), deps: [] });
|
|
33
|
+
var node80 = configured11();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make21, useragent2, layer26, configured11, node80, exports_app };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-xqsvy1tg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./model-resolver-21jrmc9g.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./model-resolver-3vswmpk1.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-7968cave.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service19
|
|
21
|
+
} from "./model-resolver-0p78r4x4.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-resolver-7e6b2cwb.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-resolver-yyc693px.js";
|
|
30
30
|
import {
|
|
31
31
|
ID4,
|
|
32
32
|
Input14,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-resolver-zza4sf78.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
|
|
@@ -108,7 +108,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
108
108
|
}
|
|
109
109
|
function oauth(http) {
|
|
110
110
|
return {
|
|
111
|
-
integrationID:
|
|
111
|
+
integrationID: ID14.make("opencode"),
|
|
112
112
|
method: {
|
|
113
113
|
id: methodID,
|
|
114
114
|
type: "oauth",
|
|
@@ -172,10 +172,10 @@ function oauth(http) {
|
|
|
172
172
|
var OpencodePlugin2 = define({
|
|
173
173
|
id: "opencode.provider.opencode",
|
|
174
174
|
effect: Effect.fn(function* (ctx) {
|
|
175
|
-
const bus = yield*
|
|
175
|
+
const bus = yield* Service84;
|
|
176
176
|
const client = yield* HttpClient.HttpClient;
|
|
177
177
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
178
|
-
const managed = yield*
|
|
178
|
+
const managed = yield* Service19;
|
|
179
179
|
const scope = yield* Scope.Scope;
|
|
180
180
|
const loading = Semaphore.makeUnsafe(1);
|
|
181
181
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -227,7 +227,7 @@ var OpencodePlugin2 = define({
|
|
|
227
227
|
providers.update(providerID, (provider) => {
|
|
228
228
|
if (source && source.provider !== provider)
|
|
229
229
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
230
|
-
provider.integrationID =
|
|
230
|
+
provider.integrationID = ID14.make("opencode");
|
|
231
231
|
if (item.canonical !== undefined)
|
|
232
232
|
provider.canonical = item.canonical;
|
|
233
233
|
if (item.name !== undefined)
|
|
@@ -293,7 +293,7 @@ var OpencodePlugin2 = define({
|
|
|
293
293
|
sourceConnection: snapshot.connection
|
|
294
294
|
});
|
|
295
295
|
}
|
|
296
|
-
const item = providers.get(
|
|
296
|
+
const item = providers.get(ID13.opencode);
|
|
297
297
|
if (!item)
|
|
298
298
|
return;
|
|
299
299
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -305,7 +305,7 @@ var OpencodePlugin2 = define({
|
|
|
305
305
|
});
|
|
306
306
|
});
|
|
307
307
|
yield* ctx.model.transform((models) => {
|
|
308
|
-
const item = models.provider.get(
|
|
308
|
+
const item = models.provider.get(ID13.opencode);
|
|
309
309
|
if (!item)
|
|
310
310
|
return;
|
|
311
311
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -394,10 +394,10 @@ var OpencodePlugin2 = define({
|
|
|
394
394
|
});
|
|
395
395
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
396
396
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
397
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
397
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
398
398
|
});
|
|
399
399
|
yield* guard(snapshot);
|
|
400
|
-
yield* bus.subscribe(
|
|
400
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
401
401
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
402
402
|
})
|
|
403
403
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service76,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node79
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service76 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service76.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node79 = makeLocationNode({
|
|
137
|
+
service: Service76,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service76, node79, exports_tool_output2 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service81
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-tm6yce80.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service54
|
|
12
|
+
} from "./model-resolver-zxz20fz9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service17
|
|
15
|
+
} from "./model-resolver-yqev8n43.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-1z02ee6a.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service71
|
|
24
|
+
} from "./model-resolver-q2g3ps59.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service18
|
|
27
|
+
} from "./model-resolver-0rf3mqqe.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
36
|
+
Input: () => Input5,
|
|
37
|
+
Output: () => Output5,
|
|
38
|
+
Plugin: () => Plugin41,
|
|
39
|
+
name: () => name5,
|
|
40
40
|
toModelContent: () => toModelContent4
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name5 = "glob";
|
|
46
|
+
var Input5 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,7 +55,7 @@ var Input7 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
58
|
+
var Output5 = Schema.Array(Entry2);
|
|
59
59
|
var toModelContent4 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
@@ -63,27 +63,27 @@ var toModelContent4 = (entries, truncated = false) => {
|
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin41 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
69
|
+
const environment = yield* Service54;
|
|
70
|
+
const ripgrep = yield* Service17;
|
|
71
71
|
const location = yield* Service81;
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
72
|
+
const access = yield* Service18;
|
|
73
|
+
const permission = yield* Service71;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name5,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input5,
|
|
79
|
+
output: Output5,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name5,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -125,4 +125,4 @@ var Plugin24 = {
|
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name5, Input5, Output5, toModelContent4, Plugin41, exports_glob };
|