@opencode/core 0.0.0-dev-19824 → 0.0.0-dev-19825
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 +70 -70
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{variant-k16ghk50.js → model-resolver-020nhycz.js} +5 -5
- package/dist/chunks/{variant-02nrjc1r.js → model-resolver-02nrjc1r.js} +1 -1
- package/dist/chunks/{variant-e6hd9jay.js → model-resolver-0ft9cg2j.js} +4 -4
- package/dist/chunks/{variant-ppezy4na.js → model-resolver-0mj02m0m.js} +11 -11
- package/dist/chunks/{variant-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{variant-nmzzzee9.js → model-resolver-0pvezn32.js} +3 -3
- package/dist/chunks/{variant-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
- package/dist/chunks/{variant-9pgrmpwd.js → model-resolver-0vtgharz.js} +17 -17
- package/dist/chunks/{variant-zyc8eh8e.js → model-resolver-0xv915x5.js} +3 -3
- package/dist/chunks/{variant-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{variant-yep1rxaf.js → model-resolver-1hav7hz4.js} +32 -32
- package/dist/chunks/{variant-01vks33x.js → model-resolver-1whgvkhb.js} +25 -25
- package/dist/chunks/{variant-wfs508dn.js → model-resolver-1xydzxfg.js} +3 -3
- package/dist/chunks/model-resolver-1zvmacfw.js +492 -0
- package/dist/chunks/{variant-7rvnq0b8.js → model-resolver-20abag2s.js} +10 -10
- package/dist/chunks/{variant-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{variant-mgjjxbpm.js → model-resolver-25bty98p.js} +5 -5
- package/dist/chunks/{variant-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{variant-1jp1tdmc.js → model-resolver-2brc3x9h.js} +11 -11
- package/dist/chunks/{variant-4znq6v3w.js → model-resolver-2db12876.js} +8 -8
- package/dist/chunks/{variant-0e1yr8gf.js → model-resolver-2g8vnf3k.js} +24 -24
- package/dist/chunks/{variant-vaqp5c1f.js → model-resolver-2gskzpsx.js} +9 -9
- package/dist/chunks/{variant-49t4bw2f.js → model-resolver-2sv6c61x.js} +11 -11
- package/dist/chunks/{variant-nhp7k55c.js → model-resolver-302vsmhn.js} +33 -33
- package/dist/chunks/{variant-mkc0g45p.js → model-resolver-30wd4m73.js} +13 -13
- package/dist/chunks/{variant-p2jf4nmx.js → model-resolver-388eqbaa.js} +32 -32
- package/dist/chunks/{variant-be67pzrd.js → model-resolver-3axdyzka.js} +12 -12
- package/dist/chunks/{variant-zg4fhqvk.js → model-resolver-3f2adkq6.js} +15 -15
- package/dist/chunks/{variant-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{variant-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-h9xag4rw.js → model-resolver-3m5m9qrs.js} +13 -13
- package/dist/chunks/{variant-818pfwc9.js → model-resolver-3pbjq009.js} +8 -8
- package/dist/chunks/{variant-7s3agvsz.js → model-resolver-3rd3t3my.js} +14 -14
- package/dist/chunks/{variant-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{variant-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{variant-t9x8rfw8.js → model-resolver-45anmqk8.js} +12 -12
- package/dist/chunks/{variant-nejkx4kn.js → model-resolver-4a8jsfjg.js} +24 -24
- package/dist/chunks/{variant-sm965ndy.js → model-resolver-52fpbh6z.js} +8 -8
- package/dist/chunks/{variant-drwq78ky.js → model-resolver-57b9ws8p.js} +5 -5
- package/dist/chunks/{variant-1c43qsr2.js → model-resolver-599cv9mn.js} +20 -20
- package/dist/chunks/{variant-k5pje4am.js → model-resolver-5d7aan1t.js} +28 -28
- package/dist/chunks/{variant-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{variant-4rpjqd73.js → model-resolver-5gb78qtd.js} +19 -19
- package/dist/chunks/{variant-3x80nh0t.js → model-resolver-5gjvpwac.js} +4 -4
- package/dist/chunks/{variant-syxd02q9.js → model-resolver-5kkq0gjf.js} +13 -13
- package/dist/chunks/{variant-6wqj8apg.js → model-resolver-5qbvy54r.js} +6 -6
- package/dist/chunks/{variant-d47yf70a.js → model-resolver-5qt1pv7d.js} +9 -9
- package/dist/chunks/{variant-1rh4yqvv.js → model-resolver-5rnnm2b5.js} +9 -9
- package/dist/chunks/{variant-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{variant-5xtgfte3.js → model-resolver-5xtgfte3.js} +1 -1
- package/dist/chunks/{variant-mc6qvgp2.js → model-resolver-61fj4v2j.js} +18 -18
- package/dist/chunks/{variant-gyn2rxq2.js → model-resolver-61m3qh6y.js} +33 -33
- package/dist/chunks/{variant-a5gskt6c.js → model-resolver-645hz6vd.js} +13 -13
- package/dist/chunks/{variant-svjqs73s.js → model-resolver-662vgtgv.js} +5 -5
- package/dist/chunks/{variant-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{variant-5heqpdcj.js → model-resolver-67wvcnxv.js} +22 -22
- package/dist/chunks/{variant-zbg2c216.js → model-resolver-69ck6qnd.js} +11 -11
- package/dist/chunks/{variant-2402vzrj.js → model-resolver-6h73sxmp.js} +5 -5
- package/dist/chunks/{variant-34rkz0x9.js → model-resolver-6hh8tjw2.js} +7 -7
- package/dist/chunks/model-resolver-6kdq0pjd.js +4 -0
- package/dist/chunks/{variant-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/{variant-spqcpneg.js → model-resolver-6nxs6bmb.js} +6 -6
- package/dist/chunks/{variant-enyt10qg.js → model-resolver-6vybgjkk.js} +38 -38
- package/dist/chunks/{variant-xxtjwt1f.js → model-resolver-6yjhzckp.js} +9 -9
- package/dist/chunks/{variant-mn27gk35.js → model-resolver-70c6s51t.js} +8 -8
- package/dist/chunks/{variant-qkgfpw9r.js → model-resolver-714t0x07.js} +16 -16
- package/dist/chunks/{variant-e0qms0gr.js → model-resolver-7ahjg70a.js} +12 -12
- package/dist/chunks/{variant-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-2k8khapm.js → model-resolver-7dqw4kz8.js} +5 -5
- package/dist/chunks/{variant-6bqyejp5.js → model-resolver-7macgssb.js} +11 -11
- package/dist/chunks/{variant-nscznvay.js → model-resolver-84zt2byv.js} +9 -9
- package/dist/chunks/{variant-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{variant-xyshxsph.js → model-resolver-8gb3p5gx.js} +17 -17
- package/dist/chunks/{variant-8p4f9s12.js → model-resolver-8p4f9s12.js} +2 -2
- package/dist/chunks/{variant-9jgqz78v.js → model-resolver-8r2zwmfy.js} +4 -4
- package/dist/chunks/{variant-skh4jwq9.js → model-resolver-93d5c3p8.js} +3 -3
- package/dist/chunks/{variant-es4kqjb3.js → model-resolver-94vh82pz.js} +27 -27
- package/dist/chunks/{variant-7ymyehve.js → model-resolver-99rt69fd.js} +3 -3
- package/dist/chunks/{variant-zq6stcrg.js → model-resolver-9eq5kwq7.js} +8 -8
- package/dist/chunks/{variant-shrpy2d8.js → model-resolver-9gea571p.js} +6 -6
- package/dist/chunks/{variant-hdv2372r.js → model-resolver-9j3dqq3x.js} +11 -11
- package/dist/chunks/{variant-a1bz86dw.js → model-resolver-a1bz86dw.js} +3 -3
- package/dist/chunks/{variant-2xd641c6.js → model-resolver-a2j8gyzs.js} +13 -13
- package/dist/chunks/{variant-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{variant-80scg3y3.js → model-resolver-afrtgck4.js} +4 -4
- package/dist/chunks/{variant-16f8z16b.js → model-resolver-afx6jjxh.js} +26 -26
- package/dist/chunks/{variant-ynk6d6vz.js → model-resolver-afzhdx1e.js} +24 -24
- package/dist/chunks/{variant-dc6tzc5b.js → model-resolver-ajmg8w9c.js} +9 -9
- package/dist/chunks/{variant-5ax8768v.js → model-resolver-aqczg285.js} +40 -40
- package/dist/chunks/{variant-mrpf0s6m.js → model-resolver-ar4d9jpk.js} +54 -54
- package/dist/chunks/{variant-jbas8wg3.js → model-resolver-ass6jfzc.js} +20 -20
- package/dist/chunks/{variant-8ywwvf0t.js → model-resolver-at58p27x.js} +24 -24
- package/dist/chunks/{variant-gt3g9qfj.js → model-resolver-azbfhwfn.js} +10 -10
- package/dist/chunks/{variant-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{variant-ecqcnbwp.js → model-resolver-b7359s7r.js} +25 -25
- package/dist/chunks/{variant-mxkppnpc.js → model-resolver-bae6x12q.js} +23 -23
- package/dist/chunks/{variant-9am4gqzb.js → model-resolver-bdrygk5x.js} +15 -15
- package/dist/chunks/{variant-rd9tmpf4.js → model-resolver-bgv3s5qc.js} +37 -37
- package/dist/chunks/{variant-fyctn3rt.js → model-resolver-c2fpeh16.js} +9 -9
- package/dist/chunks/{variant-w7rdgnme.js → model-resolver-c4v1e0kz.js} +21 -21
- package/dist/chunks/{variant-qjkp0ajm.js → model-resolver-c78c395z.js} +20 -20
- package/dist/chunks/{variant-cfpkc3c9.js → model-resolver-cfpkc3c9.js} +2 -2
- package/dist/chunks/{variant-ztq7ncxt.js → model-resolver-cn090jyv.js} +15 -15
- package/dist/chunks/{variant-4r1byab9.js → model-resolver-cp0393ap.js} +11 -11
- package/dist/chunks/{variant-nzyhnfxz.js → model-resolver-cpj0znwe.js} +4 -4
- package/dist/chunks/{variant-skrnqp3s.js → model-resolver-d0yqsex8.js} +23 -23
- package/dist/chunks/{variant-9z0pj5xn.js → model-resolver-d61582ny.js} +44 -44
- package/dist/chunks/{variant-dgmte57d.js → model-resolver-d8byxyk8.js} +11 -11
- package/dist/chunks/{variant-rw8hg23m.js → model-resolver-d8ewt5hf.js} +12 -12
- package/dist/chunks/{variant-pbr0sv84.js → model-resolver-d8q14kxf.js} +9 -9
- package/dist/chunks/{variant-57h76tt0.js → model-resolver-da534a5t.js} +32 -32
- package/dist/chunks/{variant-n47hyx40.js → model-resolver-deajav4h.js} +5 -5
- package/dist/chunks/{variant-fmw9g2g8.js → model-resolver-dg4f34fa.js} +43 -43
- package/dist/chunks/{variant-cwa6csj7.js → model-resolver-djszqvmq.js} +9 -9
- package/dist/chunks/{variant-vbwzfp4q.js → model-resolver-dqtg3793.js} +15 -15
- package/dist/chunks/{variant-shjpqyhe.js → model-resolver-dvgz3dt4.js} +19 -19
- package/dist/chunks/{variant-9vwccmx4.js → model-resolver-e0zpv5qc.js} +27 -27
- package/dist/chunks/{variant-rsz70btv.js → model-resolver-e1hrzsan.js} +12 -12
- package/dist/chunks/{variant-rpg9c19m.js → model-resolver-e2hjzebn.js} +4 -4
- package/dist/chunks/{variant-qw4a9453.js → model-resolver-e80cp3zm.js} +35 -35
- package/dist/chunks/{variant-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{variant-dxedze6s.js → model-resolver-epads6cz.js} +17 -17
- package/dist/chunks/{variant-a2mv5gbr.js → model-resolver-eqfyccyr.js} +18 -18
- package/dist/chunks/{variant-erw5rpbs.js → model-resolver-erw5rpbs.js} +2 -2
- package/dist/chunks/{variant-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{variant-g190xswt.js → model-resolver-f3ngv102.js} +4 -4
- package/dist/chunks/{variant-g72thvg4.js → model-resolver-f4e894nd.js} +13 -13
- package/dist/chunks/{variant-f828m53h.js → model-resolver-f828m53h.js} +2 -2
- package/dist/chunks/{variant-e0vs1mzd.js → model-resolver-fbmcmy2w.js} +4 -4
- package/dist/chunks/{variant-61er8rqz.js → model-resolver-fn7gfzjh.js} +11 -11
- package/dist/chunks/{variant-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
- package/dist/chunks/{variant-fxqygnfa.js → model-resolver-fxqygnfa.js} +4 -4
- package/dist/chunks/{variant-ws2e64dn.js → model-resolver-fytsnjje.js} +1 -1
- package/dist/chunks/{variant-dyjdaad3.js → model-resolver-g4tydmkk.js} +11 -11
- package/dist/chunks/{variant-5vwk78cz.js → model-resolver-g5epyhxx.js} +16 -16
- package/dist/chunks/{variant-b7v4cx43.js → model-resolver-gcavn3wx.js} +5 -5
- package/dist/chunks/{variant-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{variant-vd2f7v7q.js → model-resolver-gfdjmmb6.js} +16 -16
- package/dist/chunks/{variant-b0qd10xy.js → model-resolver-gqkxh60r.js} +19 -19
- package/dist/chunks/{variant-j6na985x.js → model-resolver-gtc37187.js} +43 -43
- package/dist/chunks/{variant-zpeypfhm.js → model-resolver-gtybr0rh.js} +26 -26
- package/dist/chunks/{variant-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
- package/dist/chunks/{variant-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{variant-y56ehv6b.js → model-resolver-h71w788e.js} +9 -9
- package/dist/chunks/{variant-jh28hxeq.js → model-resolver-had4kgfk.js} +8 -8
- package/dist/chunks/{variant-be05fv2r.js → model-resolver-hhq4mbvj.js} +13 -13
- package/dist/chunks/{variant-v2f6dcv3.js → model-resolver-hkagk5ex.js} +2 -2
- package/dist/chunks/{variant-qn4ba14w.js → model-resolver-hnr5yq9h.js} +5 -5
- package/dist/chunks/{variant-s0vhasp4.js → model-resolver-hr6wd4xv.js} +30 -30
- package/dist/chunks/{variant-x1vgmzea.js → model-resolver-hxtxrrh5.js} +82 -82
- package/dist/chunks/{variant-bhezncwp.js → model-resolver-hynyds1q.js} +4 -4
- package/dist/chunks/{variant-9p53xqtp.js → model-resolver-hzjt009y.js} +8 -8
- package/dist/chunks/{variant-j35apsye.js → model-resolver-hzz7dkwv.js} +9 -9
- package/dist/chunks/{variant-actcqt2d.js → model-resolver-j0aemhh7.js} +47 -47
- package/dist/chunks/{variant-6c0t2kqd.js → model-resolver-j1bvcdkg.js} +6 -6
- package/dist/chunks/{variant-bff9p5qa.js → model-resolver-j4206d7h.js} +6 -6
- package/dist/chunks/{variant-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{variant-awaee7qt.js → model-resolver-j8zzr2am.js} +4 -4
- package/dist/chunks/{variant-vvxzq7xj.js → model-resolver-jdfvscg1.js} +7 -7
- package/dist/chunks/{variant-tqmdgn9s.js → model-resolver-jp646bv9.js} +4 -4
- package/dist/chunks/model-resolver-jqh9b0xq.js +18 -0
- package/dist/chunks/{variant-248b5nak.js → model-resolver-jye6n1dv.js} +22 -22
- package/dist/chunks/{variant-k3c624dm.js → model-resolver-k3c624dm.js} +3 -3
- package/dist/chunks/{variant-19b2eas9.js → model-resolver-k4839s1d.js} +17 -17
- package/dist/chunks/{variant-6rh0k5sx.js → model-resolver-k5kzksx8.js} +16 -16
- package/dist/chunks/{variant-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
- package/dist/chunks/{variant-nemkzx8e.js → model-resolver-m6dz94as.js} +43 -43
- package/dist/chunks/{variant-xjtb2jnx.js → model-resolver-m9r6vjpz.js} +4 -4
- package/dist/chunks/{variant-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-mfqp6xfm.js → model-resolver-mfqp6xfm.js} +2 -2
- package/dist/chunks/{variant-gfjefykw.js → model-resolver-mk35kvz7.js} +15 -15
- package/dist/chunks/{variant-mc2pt6fx.js → model-resolver-mktnxe3b.js} +38 -38
- package/dist/chunks/{variant-r5x6zcsm.js → model-resolver-mvfsc1pv.js} +3 -3
- package/dist/chunks/{variant-phn1vqr0.js → model-resolver-mwt452g0.js} +4 -4
- package/dist/chunks/{variant-7vh7np3y.js → model-resolver-mxf3pqwm.js} +6 -6
- package/dist/chunks/{variant-tx9w5tca.js → model-resolver-n0tq777j.js} +8 -8
- package/dist/chunks/{variant-ed3hs6y1.js → model-resolver-n272ptga.js} +6 -6
- package/dist/chunks/{variant-0p7hypfr.js → model-resolver-n8nareh9.js} +29 -29
- package/dist/chunks/{variant-9vs0xtad.js → model-resolver-ndmv45hp.js} +2 -2
- package/dist/chunks/{variant-ctqcwx6w.js → model-resolver-nhgg4y17.js} +15 -15
- package/dist/chunks/{variant-p28j5sbe.js → model-resolver-p28j5sbe.js} +2 -2
- package/dist/chunks/{variant-p7nsp59h.js → model-resolver-p7nsp59h.js} +1 -1
- package/dist/chunks/{variant-1hc11dc4.js → model-resolver-paegk39x.js} +4 -4
- package/dist/chunks/{variant-bn7rnd9f.js → model-resolver-pdv94s4z.js} +5 -5
- package/dist/chunks/{variant-m9rrsbxp.js → model-resolver-peyz0p0p.js} +10 -10
- package/dist/chunks/{variant-ry67yat8.js → model-resolver-phx6da97.js} +11 -11
- package/dist/chunks/{variant-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{variant-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{variant-4zxqczn4.js → model-resolver-pngaa6th.js} +5 -5
- package/dist/chunks/{variant-5sxy960f.js → model-resolver-pp5arfp9.js} +33 -33
- package/dist/chunks/{variant-e8sb7jec.js → model-resolver-prxamd8a.js} +10 -10
- package/dist/chunks/{variant-05te5r5d.js → model-resolver-psz8a7r0.js} +6 -6
- package/dist/chunks/{variant-0ejw9b49.js → model-resolver-pt292bv7.js} +15 -15
- package/dist/chunks/{variant-bppyyj2v.js → model-resolver-q4s6dcxk.js} +42 -42
- package/dist/chunks/{variant-kf50wy9q.js → model-resolver-q6nw98mh.js} +18 -18
- package/dist/chunks/{variant-2q14h232.js → model-resolver-qayd3wzs.js} +8 -8
- package/dist/chunks/model-resolver-qb6tpq85.js +252 -0
- package/dist/chunks/{variant-y2ae7hkp.js → model-resolver-qewhjxtc.js} +10 -10
- package/dist/chunks/{variant-45bkrsy9.js → model-resolver-qq8y32fb.js} +5 -5
- package/dist/chunks/{variant-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{variant-150yg2gd.js → model-resolver-qvreyy9g.js} +5 -5
- package/dist/chunks/{variant-ewv1g2sm.js → model-resolver-qwbyjwn2.js} +24 -24
- package/dist/chunks/{variant-3ha39emb.js → model-resolver-r8fpbd5t.js} +29 -29
- package/dist/chunks/{variant-1acjjqhc.js → model-resolver-r8xr0va3.js} +4 -4
- package/dist/chunks/{variant-x57ttj0w.js → model-resolver-rctnpmcd.js} +30 -30
- package/dist/chunks/{variant-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{variant-k3e8ne48.js → model-resolver-rfgcsz1j.js} +30 -30
- package/dist/chunks/{variant-vxgxjse3.js → model-resolver-s172k70m.js} +22 -22
- package/dist/chunks/{variant-55885aw2.js → model-resolver-s3hdfs1j.js} +15 -15
- package/dist/chunks/{variant-ps86rfva.js → model-resolver-s3zk8xvh.js} +87 -87
- package/dist/chunks/{variant-pecb0brz.js → model-resolver-s8zy8myc.js} +5 -5
- package/dist/chunks/{variant-xy1c65ay.js → model-resolver-sdaja34n.js} +32 -32
- package/dist/chunks/{variant-3zw4hbeh.js → model-resolver-se2qvfz1.js} +3 -3
- package/dist/chunks/{variant-ntp4wasn.js → model-resolver-spq00ka2.js} +11 -11
- package/dist/chunks/{variant-6qk4ttjb.js → model-resolver-sw7ectjd.js} +11 -11
- package/dist/chunks/{variant-na5de2cq.js → model-resolver-swg14gxk.js} +3 -3
- package/dist/chunks/{variant-tz2bjj40.js → model-resolver-t0fxg8b9.js} +5 -5
- package/dist/chunks/{variant-mxa5vjk2.js → model-resolver-t0vv8359.js} +168 -168
- package/dist/chunks/{variant-v1q568e6.js → model-resolver-t9tmexac.js} +20 -20
- package/dist/chunks/{variant-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{variant-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
- package/dist/chunks/{variant-2jz473v5.js → model-resolver-tcg29b4q.js} +1 -1
- package/dist/chunks/{variant-rda27rv4.js → model-resolver-td0y98rs.js} +41 -41
- package/dist/chunks/{variant-gmks98jd.js → model-resolver-tders91x.js} +12 -12
- package/dist/chunks/{variant-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{variant-gkqze24a.js → model-resolver-tm5ahrk2.js} +5 -5
- package/dist/chunks/{variant-2sn2n8my.js → model-resolver-tsyf12nv.js} +1 -1
- package/dist/chunks/{variant-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{variant-g7kkk6th.js → model-resolver-tzrwg04y.js} +7 -7
- package/dist/chunks/{variant-zy32w698.js → model-resolver-v1h3kxjj.js} +16 -16
- package/dist/chunks/{variant-c89x1wvt.js → model-resolver-va2p3qdk.js} +22 -22
- package/dist/chunks/{variant-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{variant-p6d8qggk.js → model-resolver-vggvkcjb.js} +8 -8
- package/dist/chunks/{variant-pmr4s4kc.js → model-resolver-vncycja5.js} +4 -4
- package/dist/chunks/{variant-jqnpsya4.js → model-resolver-vr2vg3zy.js} +4 -4
- package/dist/chunks/{variant-6tfqh345.js → model-resolver-vss6mrqc.js} +32 -32
- package/dist/chunks/{variant-w418y777.js → model-resolver-vstb6x8b.js} +13 -13
- package/dist/chunks/{variant-3vf9kxrv.js → model-resolver-vz2xtr04.js} +5 -5
- package/dist/chunks/{variant-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{variant-ept6nwjm.js → model-resolver-vzv9kxzp.js} +10 -10
- package/dist/chunks/{variant-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/model-resolver-w53v25xj.js +26 -0
- package/dist/chunks/{variant-zzkngxht.js → model-resolver-wc548a52.js} +11 -11
- package/dist/chunks/{variant-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{variant-8ddaa20y.js → model-resolver-whd5ad1s.js} +19 -19
- package/dist/chunks/{variant-p1esdbs0.js → model-resolver-wngr9w9n.js} +15 -15
- package/dist/chunks/{variant-f64b4e2b.js → model-resolver-wrgxtjh4.js} +15 -15
- package/dist/chunks/{variant-6178vqjw.js → model-resolver-wrmrmykr.js} +6 -6
- package/dist/chunks/{variant-w9mmbxy7.js → model-resolver-wv3gb8g4.js} +24 -24
- package/dist/chunks/{variant-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{variant-hrctb8qc.js → model-resolver-x2abejx6.js} +5 -5
- package/dist/chunks/{variant-9z7phx5z.js → model-resolver-x2fva0gh.js} +13 -13
- package/dist/chunks/{variant-b2aetxcc.js → model-resolver-x9ajzjwe.js} +21 -21
- package/dist/chunks/{variant-84fbrg39.js → model-resolver-xd87acyy.js} +23 -23
- package/dist/chunks/{variant-fkjmw100.js → model-resolver-xfdrc2qg.js} +8 -8
- package/dist/chunks/{variant-1ksx1n19.js → model-resolver-xgrb3kvx.js} +26 -26
- package/dist/chunks/{variant-7sd2f9r3.js → model-resolver-xgvz8aqb.js} +9 -9
- package/dist/chunks/{variant-cz7hb8nc.js → model-resolver-xk5qfe87.js} +17 -17
- package/dist/chunks/{variant-ccx8w1mb.js → model-resolver-xv7845dj.js} +15 -15
- package/dist/chunks/{variant-dky5496k.js → model-resolver-xxzhzqzk.js} +2 -2
- package/dist/chunks/{variant-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{variant-zwcphd4s.js → model-resolver-y4cxnkp6.js} +24 -24
- package/dist/chunks/{variant-dpkg50ah.js → model-resolver-y71avatq.js} +4 -4
- package/dist/chunks/{variant-7tbzje54.js → model-resolver-y85jehk6.js} +20 -20
- package/dist/chunks/{variant-8dy8n873.js → model-resolver-ydd32yv2.js} +16 -16
- package/dist/chunks/{variant-7jxaecna.js → model-resolver-ye0sgdwz.js} +7 -7
- package/dist/chunks/{variant-cb43d9sh.js → model-resolver-yr8whrpt.js} +9 -9
- package/dist/chunks/{variant-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{variant-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
- package/dist/chunks/{variant-3vgvden2.js → model-resolver-yxht4gzb.js} +8 -8
- package/dist/chunks/{variant-ehrq6y4r.js → model-resolver-yy7y4tn3.js} +7 -7
- package/dist/chunks/{variant-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{variant-71wx4n8j.js → model-resolver-z1j8fwgr.js} +11 -11
- package/dist/chunks/{variant-9xnmpb9w.js → model-resolver-z36d3h7g.js} +10 -10
- package/dist/chunks/{variant-x8t1j5yt.js → model-resolver-z5p64esd.js} +14 -14
- package/dist/chunks/{variant-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
- package/dist/chunks/{variant-8azdsswj.js → model-resolver-zcdrxs46.js} +4 -4
- package/dist/chunks/{variant-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
- package/dist/chunks/{variant-7rashwxq.js → model-resolver-zgenf5ev.js} +32 -32
- package/dist/chunks/{variant-19khz4p6.js → model-resolver-zhxq7wpj.js} +15 -15
- package/dist/chunks/{variant-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{variant-sd457nqd.js → model-resolver-zxbqrrvg.js} +60 -60
- package/dist/chunks/{variant-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +78 -78
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +97 -97
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +90 -90
- 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/id/id.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 +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +101 -101
- package/dist/models-dev.js +98 -98
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +79 -79
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +71 -71
- 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 +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- 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 +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +77 -77
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/variant-0mesazry.js +0 -4
- package/dist/chunks/variant-91mft8vy.js +0 -26
- package/dist/chunks/variant-9zdhvgqs.js +0 -18
- package/dist/chunks/variant-mq7hv93r.js +0 -252
- package/dist/chunks/variant-zj3z6d73.js +0 -492
- /package/dist/chunks/{variant-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./model-resolver-rfgcsz1j.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-5qbvy54r.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID7.make("cloudflare-ai-gateway");
|
|
16
16
|
var CloudflareAIGatewayPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin29,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin29 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin29, exports_tool_input_repair };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-k3c624dm.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service50,
|
|
17
|
+
node53
|
|
18
|
+
} from "./model-resolver-5rnnm2b5.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service76,
|
|
21
|
+
node79
|
|
22
|
+
} from "./model-resolver-n0tq777j.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-resolver-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error4,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service49,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node52
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service49 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service76;
|
|
58
|
+
const image = yield* Service50;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service49.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node52 = makeLocationNode({
|
|
277
|
+
service: Service49,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node79, node53]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service49, node52, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID18,
|
|
3
3
|
Service81
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-99rt69fd.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service67
|
|
8
|
+
} from "./model-resolver-vss6mrqc.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service53
|
|
12
|
+
} from "./model-resolver-m6dz94as.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-ndmv45hp.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service60
|
|
18
|
+
} from "./model-resolver-pt292bv7.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service73
|
|
22
|
+
} from "./model-resolver-aqczg285.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service29
|
|
25
|
+
} from "./model-resolver-s3zk8xvh.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-resolver-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
30
|
make10
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-resolver-hzjt009y.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
39
|
Input: () => Input5,
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
40
|
+
Output: () => Output4,
|
|
41
|
+
Plugin: () => Plugin41,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
43
|
+
description: () => description2,
|
|
44
44
|
name: () => name5
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -72,12 +72,12 @@ var Input5 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output4 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description2 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,15 +86,15 @@ var description3 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin41 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
92
|
+
const sessions = yield* Service29;
|
|
93
|
+
const jobs = yield* Service60;
|
|
94
94
|
const agents = yield* Service81;
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
95
|
+
const config = yield* Service53;
|
|
96
|
+
const permission = yield* Service73;
|
|
97
|
+
const models = yield* Service67;
|
|
98
98
|
const subagents = yield* make10;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
@@ -117,9 +117,9 @@ var Plugin40 = {
|
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
118
|
name: name5,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
120
|
+
description: description2,
|
|
121
121
|
input: Input5,
|
|
122
|
-
output:
|
|
122
|
+
output: Output4,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -241,4 +241,4 @@ ${output.output}
|
|
|
241
241
|
})
|
|
242
242
|
};
|
|
243
243
|
|
|
244
|
-
export { name5, Input5,
|
|
244
|
+
export { name5, Input5, Output4, description2, Plugin41, exports_subagent };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make18
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make18 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make17 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make18, exports_run_coordinator };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-jp646bv9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node82
|
|
8
|
+
} from "./model-resolver-tders91x.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service77,
|
|
11
|
+
node80
|
|
12
|
+
} from "./model-resolver-714t0x07.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-jqh9b0xq.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service54,
|
|
18
|
+
node58
|
|
19
|
+
} from "./model-resolver-67wvcnxv.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node22
|
|
22
|
+
} from "./model-resolver-c78c395z.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service10,
|
|
25
|
+
node12
|
|
26
|
+
} from "./model-resolver-djszqvmq.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher2 = {};
|
|
33
33
|
__export(exports_location_watcher2, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher2,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service9,
|
|
36
|
+
node: () => node11
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service9 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
45
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service77;
|
|
47
|
+
const watcher = yield* Service54;
|
|
48
48
|
const bus = yield* Service82;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service79;
|
|
51
|
+
const policy = yield* Service10;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service9.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node11 = makeLocationNode({
|
|
106
|
+
service: Service9,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node58, FSUtil.node, node80, node82, node86, node22, node12]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service9, node11, exports_location_watcher2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-jp646bv9.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
ID8,
|
|
11
|
+
Service69,
|
|
12
|
+
node72,
|
|
13
|
+
Event15
|
|
14
|
+
} from "./model-resolver-1whgvkhb.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-cpj0znwe.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service77,
|
|
20
|
+
node80
|
|
21
|
+
} from "./model-resolver-714t0x07.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
40
|
+
Event: () => Event14,
|
|
41
|
+
ID: () => ID7,
|
|
42
|
+
Info: () => Info21,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
45
|
Request: () => Request2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service68,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -52,7 +52,7 @@ __export(exports_provider3, {
|
|
|
52
52
|
mergeHeaders: () => mergeHeaders2,
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
nativeSettings: () => nativeSettings2,
|
|
55
|
-
node: () =>
|
|
55
|
+
node: () => node71,
|
|
56
56
|
packageName: () => packageName2
|
|
57
57
|
});
|
|
58
58
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -63,8 +63,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
63
63
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
64
64
|
import { Credential } from "@opencode/schema/credential";
|
|
65
65
|
import { freeze } from "immer";
|
|
66
|
-
import { Event as
|
|
67
|
-
var
|
|
66
|
+
import { Event as Event14 } from "@opencode/schema/provider";
|
|
67
|
+
var ID7 = Provider.ID;
|
|
68
68
|
var AISDK_PREFIX2 = "aisdk:";
|
|
69
69
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
70
70
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -205,9 +205,9 @@ var Request2 = Provider.Request;
|
|
|
205
205
|
var Compaction3 = Provider.Compaction;
|
|
206
206
|
var Transport2 = Provider.Transport;
|
|
207
207
|
var Settings2 = Provider.Settings;
|
|
208
|
-
var
|
|
208
|
+
var Info21 = Provider.Info;
|
|
209
209
|
|
|
210
|
-
class
|
|
210
|
+
class Service68 extends Context.Service()("@opencode/Provider") {
|
|
211
211
|
}
|
|
212
212
|
var definitions = new WeakMap;
|
|
213
213
|
function index(providerID, models) {
|
|
@@ -220,10 +220,10 @@ function index(providerID, models) {
|
|
|
220
220
|
definitions.set(models, indexes);
|
|
221
221
|
return result;
|
|
222
222
|
}
|
|
223
|
-
var layer = Layer.effect(
|
|
223
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
224
224
|
const bus = yield* Service82;
|
|
225
|
-
const integrations = yield*
|
|
226
|
-
const location = yield*
|
|
225
|
+
const integrations = yield* Service69;
|
|
226
|
+
const location = yield* Service77;
|
|
227
227
|
const state = create3({
|
|
228
228
|
name: "provider",
|
|
229
229
|
initial: () => new Map,
|
|
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
234
234
|
const current = records.get(id);
|
|
235
235
|
if (current)
|
|
236
236
|
return current;
|
|
237
|
-
const added = { provider:
|
|
237
|
+
const added = { provider: Info21.empty(id), models: new Map };
|
|
238
238
|
records.set(id, added);
|
|
239
239
|
maps.add(added.models);
|
|
240
240
|
return added;
|
|
@@ -315,7 +315,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
315
315
|
const available = Array.from(records.values()).filter((record) => {
|
|
316
316
|
if (record.provider.activation === "disabled")
|
|
317
317
|
return false;
|
|
318
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
318
|
+
const integration = byID.get(record.provider.integrationID ?? ID8.make(record.provider.id));
|
|
319
319
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
320
320
|
return false;
|
|
321
321
|
if (record.provider.activation === "enabled")
|
|
@@ -341,8 +341,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
341
341
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
342
342
|
});
|
|
343
343
|
});
|
|
344
|
-
yield* bus.subscribe([
|
|
345
|
-
return
|
|
344
|
+
yield* bus.subscribe([Event15.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
345
|
+
return Service68.of({
|
|
346
346
|
transform: state.transform,
|
|
347
347
|
reload: state.reload,
|
|
348
348
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -351,7 +351,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
351
351
|
snapshot
|
|
352
352
|
});
|
|
353
353
|
}));
|
|
354
|
-
var
|
|
354
|
+
var node71 = makeLocationNode({ service: Service68, layer, deps: [node86, node72, node80] });
|
|
355
355
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
356
356
|
const module = yield* Effect.tryPromise({
|
|
357
357
|
try: () => {
|
|
@@ -611,4 +611,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
611
611
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
612
612
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
613
613
|
|
|
614
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
614
|
+
export { rewrite2, native2, exports_aisdk_native, ID7, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info21, Service68, node71, exports_provider3, Event14 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./model-resolver-aqczg285.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID11,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service72
|
|
10
|
+
} from "./model-resolver-va2p3qdk.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
16
|
var exports_skill3 = {};
|
|
17
17
|
__export(exports_skill3, {
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
18
|
+
Input: () => Input8,
|
|
19
|
+
Output: () => Output6,
|
|
20
|
+
Plugin: () => Plugin44,
|
|
21
21
|
SkillTool: () => exports_skill3,
|
|
22
22
|
description: () => description4,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name8,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name8 = "skill";
|
|
30
|
+
var Input8 = Schema.Struct({
|
|
31
|
+
id: ID11.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output6 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
@@ -43,25 +43,25 @@ var description4 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin44 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service72;
|
|
51
|
+
const permission = yield* Service73;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name8,
|
|
54
54
|
options: { codemode: false },
|
|
55
55
|
description: description4,
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
56
|
+
input: Input8,
|
|
57
|
+
output: Output6,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name8,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin45 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name8, Input8, Output6, description4, toModelOutput2, Plugin44, exports_skill3 };
|