@opencode/core 0.0.0-dev-19843 → 0.0.0-dev-19845
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 +80 -80
- 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/{model-resolver-06dxphr1.js → tool-output-06dxphr1.js} +1 -1
- package/dist/chunks/{model-resolver-1eqqj5b6.js → tool-output-0ctfqbfs.js} +22 -22
- package/dist/chunks/{model-resolver-x9159bxd.js → tool-output-0ebpwq5w.js} +50 -50
- package/dist/chunks/{model-resolver-xgsfyewx.js → tool-output-0j4e08ab.js} +4 -4
- package/dist/chunks/{model-resolver-7dqw4kz8.js → tool-output-0jwsre1p.js} +5 -5
- package/dist/chunks/{model-resolver-0paq2nw3.js → tool-output-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0q0f95c6.js → tool-output-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-fvh6y88j.js → tool-output-0t92tgkg.js} +16 -16
- package/dist/chunks/{model-resolver-2r8ft4tw.js → tool-output-0tzgc68b.js} +5 -5
- package/dist/chunks/{model-resolver-vyqn3nqs.js → tool-output-10jtetaj.js} +4 -4
- package/dist/chunks/{model-resolver-hz39a88h.js → tool-output-11abf4nd.js} +21 -21
- package/dist/chunks/{model-resolver-z491n86c.js → tool-output-16crv7a5.js} +3 -3
- package/dist/chunks/{model-resolver-2evyaa68.js → tool-output-179189h4.js} +4 -4
- package/dist/chunks/{model-resolver-rq9sfwah.js → tool-output-18pxec54.js} +20 -20
- package/dist/chunks/{model-resolver-1acjjqhc.js → tool-output-1acjjqhc.js} +1 -1
- package/dist/chunks/{model-resolver-eq1pz5kg.js → tool-output-1bbkgx8g.js} +3 -3
- package/dist/chunks/{model-resolver-1dazxqgg.js → tool-output-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-6fmyjk66.js → tool-output-1j263eaf.js} +21 -21
- package/dist/chunks/{model-resolver-43ahs7k8.js → tool-output-1mft72er.js} +3 -3
- package/dist/chunks/{model-resolver-pnnqzn53.js → tool-output-1qkp9pgm.js} +8 -8
- package/dist/chunks/{model-resolver-21r38tys.js → tool-output-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-2402vzrj.js → tool-output-2402vzrj.js} +1 -1
- package/dist/chunks/{model-resolver-mddgbemq.js → tool-output-298hvbsz.js} +26 -26
- package/dist/chunks/{model-resolver-7hjq573z.js → tool-output-299vedwh.js} +15 -15
- package/dist/chunks/{model-resolver-y8r1zn9y.js → tool-output-29svvmb9.js} +3 -3
- package/dist/chunks/{model-resolver-2a5m3afh.js → tool-output-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-133zv6hb.js → tool-output-2ecqap47.js} +1 -1
- package/dist/chunks/{model-resolver-enwhvmwb.js → tool-output-2egw2h4q.js} +2 -2
- package/dist/chunks/{model-resolver-5bvvre9n.js → tool-output-2p4a0wrd.js} +6 -6
- package/dist/chunks/{model-resolver-5qsdg0y7.js → tool-output-2pmgnsye.js} +24 -24
- package/dist/chunks/{model-resolver-rayjs69j.js → tool-output-2tzcf3n6.js} +17 -17
- package/dist/chunks/{model-resolver-3syvqavp.js → tool-output-2xx6zsf3.js} +9 -9
- package/dist/chunks/{model-resolver-qqrtcnkc.js → tool-output-2xz9fsyh.js} +24 -24
- package/dist/chunks/{model-resolver-1ygqh575.js → tool-output-33w4ejhs.js} +6 -6
- package/dist/chunks/{model-resolver-b7rmz7dj.js → tool-output-38ps540c.js} +18 -18
- package/dist/chunks/{model-resolver-wk759sqm.js → tool-output-3bq6e3kw.js} +33 -33
- package/dist/chunks/{model-resolver-3w0fmcng.js → tool-output-3cfzdc8e.js} +5 -5
- package/dist/chunks/{model-resolver-xs8wfhd6.js → tool-output-3erfa1xx.js} +14 -14
- package/dist/chunks/{model-resolver-3fc6dm20.js → tool-output-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-k7822xv0.js → tool-output-3fnpgzn5.js} +22 -22
- package/dist/chunks/{model-resolver-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-3smtnn6g.js → tool-output-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → tool-output-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-cf1x67r7.js → tool-output-42wmm055.js} +3 -3
- package/dist/chunks/{model-resolver-s2ebsh4k.js → tool-output-4asjw5xf.js} +18 -18
- package/dist/chunks/{model-resolver-1qr453ff.js → tool-output-4b894mw3.js} +78 -78
- package/dist/chunks/tool-output-4k6bgpa7.js +26 -0
- package/dist/chunks/{model-resolver-atw7h3x9.js → tool-output-4n7sxd34.js} +8 -8
- package/dist/chunks/{model-resolver-5bdbc12f.js → tool-output-4ns3h2re.js} +6 -6
- package/dist/chunks/{model-resolver-9ag5djza.js → tool-output-4v5efhad.js} +5 -5
- package/dist/chunks/{model-resolver-3xxdkst7.js → tool-output-4yepsfvz.js} +11 -11
- package/dist/chunks/{model-resolver-e66w66e0.js → tool-output-50q487e9.js} +20 -20
- package/dist/chunks/{model-resolver-2fgn2we9.js → tool-output-57ez7d0k.js} +9 -9
- package/dist/chunks/{model-resolver-5c4hm403.js → tool-output-5c4hm403.js} +3 -3
- package/dist/chunks/{model-resolver-1fgfndcs.js → tool-output-5chtqh4v.js} +12 -12
- package/dist/chunks/{model-resolver-5daktx2q.js → tool-output-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-442kn1aa.js → tool-output-5dndv3ms.js} +22 -22
- package/dist/chunks/{model-resolver-3gjeg5xr.js → tool-output-5hn2rzbs.js} +11 -11
- package/dist/chunks/{model-resolver-k1c74kvt.js → tool-output-5m4v41fc.js} +29 -29
- package/dist/chunks/{model-resolver-v0y6s5p7.js → tool-output-5mtjp6jd.js} +44 -44
- package/dist/chunks/{model-resolver-5t3nmthw.js → tool-output-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-gg802qrt.js → tool-output-5vvygm16.js} +11 -11
- package/dist/chunks/{model-resolver-hz1mhzfh.js → tool-output-5wm1xxad.js} +6 -6
- package/dist/chunks/{model-resolver-x5860ntt.js → tool-output-60z3ws0z.js} +43 -43
- package/dist/chunks/{model-resolver-669tq793.js → tool-output-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-n810d9f4.js → tool-output-6e2rzpgk.js} +11 -11
- package/dist/chunks/{model-resolver-302aywek.js → tool-output-6m4cmbhe.js} +22 -22
- package/dist/chunks/{model-resolver-cf2zwr71.js → tool-output-6mh3cfgg.js} +22 -22
- package/dist/chunks/{model-resolver-6msgmcgs.js → tool-output-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-nn97278r.js → tool-output-6mv24n1m.js} +15 -15
- package/dist/chunks/{model-resolver-6frsr8qs.js → tool-output-6pcm4e8x.js} +17 -17
- package/dist/chunks/{model-resolver-gchrb8vs.js → tool-output-6wdfmdvs.js} +5 -5
- package/dist/chunks/{model-resolver-8tcwmm4z.js → tool-output-6xsfpsaq.js} +10 -10
- package/dist/chunks/{model-resolver-0m0tvs7x.js → tool-output-6xwcf1a8.js} +4 -4
- package/dist/chunks/{model-resolver-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-vw3e9fxe.js → tool-output-7ephwp7v.js} +8 -8
- package/dist/chunks/{model-resolver-9rjxcf4s.js → tool-output-7gk96wx5.js} +9 -9
- package/dist/chunks/{model-resolver-r8v8adjt.js → tool-output-7yysym46.js} +24 -24
- package/dist/chunks/{model-resolver-h5cj5dem.js → tool-output-842ne6kv.js} +25 -25
- package/dist/chunks/{model-resolver-agym5kke.js → tool-output-86gpt4jk.js} +47 -47
- package/dist/chunks/{model-resolver-8d7r5vzw.js → tool-output-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-efgaas88.js → tool-output-8t4ymjd2.js} +32 -32
- package/dist/chunks/{model-resolver-w48fcq56.js → tool-output-8vmbwak9.js} +17 -17
- package/dist/chunks/{model-resolver-f3r6a36m.js → tool-output-8vzzn56d.js} +23 -23
- package/dist/chunks/{model-resolver-v27m40rm.js → tool-output-948vpjdp.js} +30 -30
- package/dist/chunks/{model-resolver-e5xpd6yj.js → tool-output-97fmyryk.js} +6 -6
- package/dist/chunks/{model-resolver-k31ypr3h.js → tool-output-9fzck1jq.js} +6 -6
- package/dist/chunks/{model-resolver-xcd0eash.js → tool-output-9gea571p.js} +6 -6
- package/dist/chunks/{model-resolver-b09hzw3k.js → tool-output-9kmbd9mt.js} +2 -2
- package/dist/chunks/{model-resolver-smp5hqs3.js → tool-output-9m1t8hdw.js} +8 -8
- package/dist/chunks/{model-resolver-cavhxt7x.js → tool-output-9qr22qer.js} +25 -25
- package/dist/chunks/{model-resolver-70y17xeh.js → tool-output-9w4ppqge.js} +5 -5
- package/dist/chunks/{model-resolver-3fxkvrnp.js → tool-output-9zjzvbv6.js} +13 -13
- package/dist/chunks/{model-resolver-pecb0brz.js → tool-output-a1a50ys5.js} +5 -5
- package/dist/chunks/{model-resolver-aaet6srn.js → tool-output-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-vjf65k2b.js → tool-output-agq0v9q9.js} +11 -11
- package/dist/chunks/{model-resolver-7j2qha59.js → tool-output-ahd542yp.js} +8 -8
- package/dist/chunks/{model-resolver-hw5aqd1g.js → tool-output-anj18jyj.js} +7 -7
- package/dist/chunks/{model-resolver-n93j4s2c.js → tool-output-aze75by4.js} +17 -17
- package/dist/chunks/{model-resolver-yndsq8dt.js → tool-output-b1pekgz3.js} +38 -38
- package/dist/chunks/{model-resolver-qxfgkbem.js → tool-output-b23vczq1.js} +8 -8
- package/dist/chunks/{model-resolver-ppte1p09.js → tool-output-b5e2qkdg.js} +23 -23
- package/dist/chunks/{model-resolver-b6gygkdw.js → tool-output-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-fjccm0sw.js → tool-output-bc3fwvwz.js} +22 -22
- package/dist/chunks/{model-resolver-13q063b0.js → tool-output-bep0w5gt.js} +13 -13
- package/dist/chunks/{model-resolver-z4fy0qdv.js → tool-output-bg7bk5jn.js} +17 -17
- package/dist/chunks/{model-resolver-xnyqt6gv.js → tool-output-bsqpmkwg.js} +9 -9
- package/dist/chunks/{model-resolver-636gmhwa.js → tool-output-bxcf9bp1.js} +40 -40
- package/dist/chunks/{model-resolver-t85xqwrf.js → tool-output-byrgtvq8.js} +8 -8
- package/dist/chunks/{model-resolver-bz85s9hh.js → tool-output-bz85s9hh.js} +1 -1
- package/dist/chunks/{model-resolver-4rbr99e5.js → tool-output-c1xp69en.js} +4 -4
- package/dist/chunks/{model-resolver-pqbcvpxd.js → tool-output-c3nej1j1.js} +13 -13
- package/dist/chunks/{model-resolver-scgm85f3.js → tool-output-c488s98d.js} +12 -12
- package/dist/chunks/{model-resolver-50mzsvk4.js → tool-output-cavr175a.js} +4 -4
- package/dist/chunks/{model-resolver-q29b2gah.js → tool-output-cf9fh20f.js} +1 -1
- package/dist/chunks/{model-resolver-rk9t7fxt.js → tool-output-cp0d9x4t.js} +8 -8
- package/dist/chunks/{model-resolver-8e6v1gzw.js → tool-output-cpm7w1h6.js} +26 -26
- package/dist/chunks/{model-resolver-n9w42s1q.js → tool-output-cr1t41be.js} +11 -11
- package/dist/chunks/{model-resolver-xe6cmgbq.js → tool-output-cvgayg76.js} +6 -6
- package/dist/chunks/{model-resolver-ef861y8h.js → tool-output-cxt9nj17.js} +19 -19
- package/dist/chunks/{model-resolver-xkmv5agz.js → tool-output-d92p8dbg.js} +17 -17
- package/dist/chunks/{model-resolver-yw50seq0.js → tool-output-ddc2dhww.js} +21 -21
- package/dist/chunks/{model-resolver-dj2t23y0.js → tool-output-dj2t23y0.js} +2 -2
- package/dist/chunks/{model-resolver-qqeeq2t9.js → tool-output-drwq78ky.js} +7 -7
- package/dist/chunks/{model-resolver-8gxqpgph.js → tool-output-e2hjzebn.js} +4 -4
- package/dist/chunks/{model-resolver-jw14ppbh.js → tool-output-eb500h05.js} +18 -18
- package/dist/chunks/{model-resolver-ef5x83kb.js → tool-output-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-nf80skmj.js → tool-output-egjcgzyn.js} +16 -16
- package/dist/chunks/{model-resolver-rzd1prf9.js → tool-output-emwaxmsr.js} +27 -27
- package/dist/chunks/{model-resolver-erw5rpbs.js → tool-output-erw5rpbs.js} +2 -2
- package/dist/chunks/{model-resolver-etq0c3wd.js → tool-output-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-srv6jbph.js → tool-output-evr5wpk5.js} +4 -4
- package/dist/chunks/{model-resolver-16xb7hp4.js → tool-output-f6qn8qx5.js} +26 -26
- package/dist/chunks/{model-resolver-1t9c4b87.js → tool-output-f7camdp9.js} +24 -24
- package/dist/chunks/{model-resolver-x4zwv76m.js → tool-output-fd5ygrzr.js} +4 -4
- package/dist/chunks/{model-resolver-b7vycytf.js → tool-output-fjw2kq1t.js} +16 -16
- package/dist/chunks/{model-resolver-zqx8wcya.js → tool-output-fkjmw100.js} +8 -8
- package/dist/chunks/{model-resolver-0q9638wm.js → tool-output-fkkzbwec.js} +27 -27
- package/dist/chunks/{model-resolver-fxbjtjnd.js → tool-output-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-9hn6k4tm.js → tool-output-g0445xdp.js} +8 -8
- package/dist/chunks/{model-resolver-05bpx1t2.js → tool-output-g0nvv8aa.js} +16 -16
- package/dist/chunks/{model-resolver-1g7epwpd.js → tool-output-g8d3gcyj.js} +4 -4
- package/dist/chunks/{model-resolver-nbzsj80d.js → tool-output-g8jasmdt.js} +8 -8
- package/dist/chunks/{model-resolver-x87aptrd.js → tool-output-gb6nf032.js} +12 -12
- package/dist/chunks/{model-resolver-gd4qta3r.js → tool-output-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-wkn3809p.js → tool-output-gee9nz04.js} +10 -10
- package/dist/chunks/{model-resolver-cyhsea0k.js → tool-output-gft05b0a.js} +8 -8
- package/dist/chunks/{model-resolver-xpax8x5w.js → tool-output-gny4z5fd.js} +7 -7
- package/dist/chunks/{model-resolver-30846h32.js → tool-output-gs3s1a1g.js} +8 -8
- package/dist/chunks/{model-resolver-gv6a8nnw.js → tool-output-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-4dgbcxzg.js → tool-output-h6r3nrb9.js} +4 -4
- package/dist/chunks/{model-resolver-h6vf3j39.js → tool-output-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-hdnk95c8.js → tool-output-hdnk95c8.js} +2 -2
- package/dist/chunks/{model-resolver-rjy92yfz.js → tool-output-hr1py8cc.js} +13 -13
- package/dist/chunks/{model-resolver-5h6w6v98.js → tool-output-hyzbt47e.js} +23 -23
- package/dist/chunks/{model-resolver-330b90y3.js → tool-output-j3tjvm70.js} +25 -25
- package/dist/chunks/{model-resolver-j56e64zr.js → tool-output-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-qc51xf0a.js → tool-output-j7djrdz3.js} +26 -26
- package/dist/chunks/{model-resolver-0v8afgdk.js → tool-output-jw552sfg.js} +17 -17
- package/dist/chunks/{model-resolver-5hssebmz.js → tool-output-jx2qd1c8.js} +11 -11
- package/dist/chunks/{model-resolver-1mqp8f91.js → tool-output-jy9nrdqr.js} +21 -21
- package/dist/chunks/{model-resolver-nzks3jc8.js → tool-output-k3c624dm.js} +3 -3
- package/dist/chunks/{model-resolver-npba7pfw.js → tool-output-ka4rcrkh.js} +20 -20
- package/dist/chunks/{model-resolver-qxpavsr8.js → tool-output-kf5kp5mk.js} +64 -64
- package/dist/chunks/{model-resolver-vvjdmnc6.js → tool-output-kfap4x0b.js} +16 -16
- package/dist/chunks/{model-resolver-m0jqrx5p.js → tool-output-m0jqrx5p.js} +2 -2
- package/dist/chunks/{model-resolver-m3fdjcah.js → tool-output-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-resolver-bg3244xz.js → tool-output-m4eepma1.js} +15 -15
- package/dist/chunks/{model-resolver-fgq6rdwq.js → tool-output-m8y9hb2k.js} +5 -5
- package/dist/chunks/{model-resolver-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-y6f0p4jw.js → tool-output-mf9m2v67.js} +2 -2
- package/dist/chunks/{model-resolver-e1q5pbg3.js → tool-output-mkk5r95x.js} +24 -24
- package/dist/chunks/{model-resolver-6m8f443c.js → tool-output-mnzjajcq.js} +7 -7
- package/dist/chunks/{model-resolver-xvw3exqc.js → tool-output-mwzkew1k.js} +13 -13
- package/dist/chunks/{model-resolver-zejyxjry.js → tool-output-n1v3qg02.js} +35 -35
- package/dist/chunks/{model-resolver-qye67he0.js → tool-output-n4nqgmdm.js} +12 -12
- package/dist/chunks/{model-resolver-vbfgae2j.js → tool-output-nb9p6b26.js} +4 -4
- package/dist/chunks/{model-resolver-5hxd3nfe.js → tool-output-nf925zhj.js} +5 -5
- package/dist/chunks/{model-resolver-c4wqv7k3.js → tool-output-nkw3ejtv.js} +33 -33
- package/dist/chunks/{model-resolver-xs1r8498.js → tool-output-nw6wgtsp.js} +13 -13
- package/dist/chunks/{model-resolver-dcqzdpn7.js → tool-output-nxfrxvv0.js} +11 -11
- package/dist/chunks/{model-resolver-p28j5sbe.js → tool-output-p28j5sbe.js} +2 -2
- package/dist/chunks/{model-resolver-d4j0zdza.js → tool-output-p5qm3gp3.js} +14 -14
- package/dist/chunks/{model-resolver-49r2655e.js → tool-output-pdhr04yd.js} +8 -8
- package/dist/chunks/{model-resolver-cah21tc8.js → tool-output-pfbcw4k6.js} +10 -10
- package/dist/chunks/tool-output-phz3h32g.js +18 -0
- package/dist/chunks/{model-resolver-pjvnvgmy.js → tool-output-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-b9kdhzyq.js → tool-output-pke2h1dx.js} +13 -13
- package/dist/chunks/{model-resolver-pknna89w.js → tool-output-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-p7nftz6b.js → tool-output-pphk0kja.js} +31 -31
- package/dist/chunks/{model-resolver-pfzrvarp.js → tool-output-ppkep8fy.js} +4 -4
- package/dist/chunks/tool-output-prse655p.js +492 -0
- package/dist/chunks/{model-resolver-ye6dhg8n.js → tool-output-pwng45mh.js} +28 -28
- package/dist/chunks/{model-resolver-c44r8hhs.js → tool-output-pwqr4ghy.js} +17 -17
- package/dist/chunks/{model-resolver-pyejz7ph.js → tool-output-py4qxy13.js} +15 -15
- package/dist/chunks/{model-resolver-z0f6wna2.js → tool-output-pyg2tpx1.js} +11 -11
- package/dist/chunks/{model-resolver-rztfdspk.js → tool-output-q4ebtpf0.js} +17 -17
- package/dist/chunks/{model-resolver-nbxdrwjw.js → tool-output-qdf9s1rc.js} +47 -47
- package/dist/chunks/{model-resolver-115tzmsk.js → tool-output-qect7kdv.js} +6 -6
- package/dist/chunks/{model-resolver-krawv8h4.js → tool-output-qgm3x6bw.js} +18 -18
- package/dist/chunks/{model-resolver-afjpdfdw.js → tool-output-qgx2d5sc.js} +9 -9
- package/dist/chunks/{model-resolver-qsdy395h.js → tool-output-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-cwa6csj7.js → tool-output-r2m716tb.js} +9 -9
- package/dist/chunks/{model-resolver-rdw6cm16.js → tool-output-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-qdbakdjh.js → tool-output-reg6q42h.js} +5 -5
- package/dist/chunks/{model-resolver-qg0jgkcp.js → tool-output-rhafb4aa.js} +9 -9
- package/dist/chunks/{model-resolver-rhjbct0v.js → tool-output-rhjbct0v.js} +1 -1
- package/dist/chunks/{model-resolver-0wqmnehs.js → tool-output-rjqrwyyz.js} +11 -11
- package/dist/chunks/{model-resolver-hyf7bjak.js → tool-output-rjtsaaxh.js} +21 -21
- package/dist/chunks/{model-resolver-sqnsaxnr.js → tool-output-rmm3qdq2.js} +23 -23
- package/dist/chunks/{model-resolver-qn9jv2jm.js → tool-output-rqs2hjm2.js} +26 -26
- package/dist/chunks/{model-resolver-21mj3dgx.js → tool-output-rsvjr92d.js} +37 -37
- package/dist/chunks/{model-resolver-wqedn24d.js → tool-output-s1ekbybe.js} +9 -9
- package/dist/chunks/{model-resolver-phqer4q0.js → tool-output-s9jmwvjg.js} +32 -32
- package/dist/chunks/{model-resolver-821by267.js → tool-output-sd4bk822.js} +7 -7
- package/dist/chunks/{model-resolver-kwxm6asy.js → tool-output-snfvj9kv.js} +4 -4
- package/dist/chunks/{model-resolver-d9bx1agn.js → tool-output-sr17v8dg.js} +4 -4
- package/dist/chunks/tool-output-srgmx9yy.js +252 -0
- package/dist/chunks/{model-resolver-e9197vrp.js → tool-output-svgxwh3h.js} +36 -36
- package/dist/chunks/{model-resolver-a0858690.js → tool-output-szr3gftz.js} +11 -11
- package/dist/chunks/{model-resolver-47hapfj2.js → tool-output-t0dvfr7r.js} +18 -18
- package/dist/chunks/{model-resolver-8p8fqdjb.js → tool-output-t852h53b.js} +6 -6
- package/dist/chunks/{model-resolver-pga14111.js → tool-output-ta9z4cry.js} +9 -9
- package/dist/chunks/{model-resolver-tazgh4e4.js → tool-output-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tcezcvh9.js → tool-output-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-985n0a3v.js → tool-output-td2xyjdn.js} +8 -8
- package/dist/chunks/{model-resolver-tdstcens.js → tool-output-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-dmsqs59m.js → tool-output-thmxwjwq.js} +5 -5
- package/dist/chunks/{model-resolver-3q1d0z61.js → tool-output-tnyz8ww6.js} +6 -6
- package/dist/chunks/{model-resolver-5ge5ntkv.js → tool-output-tq5zwqfy.js} +2 -2
- package/dist/chunks/{model-resolver-f0x0s4x5.js → tool-output-tsdakzmx.js} +3 -3
- package/dist/chunks/{model-resolver-0xghfzx7.js → tool-output-ttmhcw5g.js} +11 -11
- package/dist/chunks/{model-resolver-tvtrv512.js → tool-output-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-3w4ewrwk.js → tool-output-ty2n0sby.js} +9 -9
- package/dist/chunks/{model-resolver-8gw7hntm.js → tool-output-v4yjtdtk.js} +13 -13
- package/dist/chunks/{model-resolver-btxmggav.js → tool-output-v86zhtje.js} +44 -44
- package/dist/chunks/{model-resolver-veqvce7d.js → tool-output-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-ve4pfa0n.js → tool-output-vncycja5.js} +4 -4
- package/dist/chunks/{model-resolver-vstc3933.js → tool-output-vwh2k8vs.js} +16 -16
- package/dist/chunks/{model-resolver-vzcthcp8.js → tool-output-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-6eqynsgf.js → tool-output-w4qjf6jj.js} +30 -30
- package/dist/chunks/{model-resolver-4d6kgwwt.js → tool-output-w6n7nat8.js} +5 -5
- package/dist/chunks/{model-resolver-2h84f8r1.js → tool-output-w9w5w4b9.js} +1 -1
- package/dist/chunks/{model-resolver-fab8hzt3.js → tool-output-wcge806m.js} +4 -4
- package/dist/chunks/{model-resolver-wd87259q.js → tool-output-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-w52zt19p.js → tool-output-wjcd3aje.js} +43 -43
- package/dist/chunks/{model-resolver-0x7w7yjj.js → tool-output-wr8b92bk.js} +80 -80
- package/dist/chunks/{model-resolver-2bkr1xer.js → tool-output-wvtz0szs.js} +54 -54
- package/dist/chunks/{model-resolver-ss4xmamw.js → tool-output-wxd4brq3.js} +10 -10
- package/dist/chunks/{model-resolver-x1ezjp6w.js → tool-output-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-11dqjexa.js → tool-output-x2aynqqh.js} +9 -9
- package/dist/chunks/{model-resolver-zccdra3h.js → tool-output-x5jg6qqq.js} +6 -6
- package/dist/chunks/{model-resolver-r841few8.js → tool-output-xb57afqb.js} +9 -9
- package/dist/chunks/{model-resolver-rejt6bp0.js → tool-output-xbwfk08e.js} +32 -32
- package/dist/chunks/{model-resolver-ahhj99d2.js → tool-output-xdj4rk2r.js} +11 -11
- package/dist/chunks/{model-resolver-r0tjgr50.js → tool-output-xdssxgw6.js} +19 -19
- package/dist/chunks/{model-resolver-pz7a6r4w.js → tool-output-xsymymvd.js} +5 -5
- package/dist/chunks/{model-resolver-1g07qj94.js → tool-output-xwjax07d.js} +35 -35
- package/dist/chunks/{model-resolver-y1fvbwt7.js → tool-output-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-vxkc1n72.js → tool-output-y5km9ccv.js} +32 -32
- package/dist/chunks/{model-resolver-dpkg50ah.js → tool-output-y71avatq.js} +4 -4
- package/dist/chunks/{model-resolver-r33ff4dw.js → tool-output-y8nmaz64.js} +4 -4
- package/dist/chunks/{model-resolver-r04fb0ma.js → tool-output-yase533t.js} +19 -19
- package/dist/chunks/{model-resolver-av47bmrc.js → tool-output-ycmv3hzt.js} +22 -22
- package/dist/chunks/{model-resolver-ssv7vh4d.js → tool-output-ye64be0r.js} +10 -10
- package/dist/chunks/{model-resolver-yjptyezs.js → tool-output-yjptyezs.js} +2 -2
- package/dist/chunks/{model-resolver-yrhqyw5v.js → tool-output-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-9bzvwb7r.js → tool-output-yrx1cgkb.js} +10 -10
- package/dist/chunks/{model-resolver-yrznvahk.js → tool-output-yrznvahk.js} +2 -2
- package/dist/chunks/{model-resolver-c48cwedc.js → tool-output-ys9tvfdj.js} +5 -5
- package/dist/chunks/{model-resolver-tmvpfzkm.js → tool-output-z0126vss.js} +5 -5
- package/dist/chunks/{model-resolver-z0bkrqjs.js → tool-output-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-cgm9r2q3.js → tool-output-z1jtrpe4.js} +20 -20
- package/dist/chunks/{model-resolver-fnq9tzhn.js → tool-output-z4mzhy3k.js} +30 -30
- package/dist/chunks/{model-resolver-60as4dx3.js → tool-output-z5vyvvwh.js} +20 -20
- package/dist/chunks/{model-resolver-z63w68vq.js → tool-output-z63w68vq.js} +2 -2
- package/dist/chunks/{model-resolver-nc9v3jx5.js → tool-output-z6b8ny61.js} +167 -167
- package/dist/chunks/{model-resolver-1n6eeek5.js → tool-output-zc3g4y8x.js} +13 -13
- package/dist/chunks/{model-resolver-zeh9ct20.js → tool-output-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-zr2ceqn5.js → tool-output-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-zxq2ej10.js → tool-output-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 +82 -82
- 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 +138 -138
- 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 +124 -124
- 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 +123 -123
- 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 +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +100 -100
- 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 +98 -98
- 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 +78 -78
- 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 +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +123 -123
- 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 +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +95 -95
- package/dist/models-dev.js +106 -106
- 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 +85 -85
- 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 +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- 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 +121 -121
- 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 +69 -69
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- 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 +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +149 -149
- 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 +150 -150
- 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 +76 -76
- 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 +114 -114
- package/dist/session/model-transport.js +5 -5
- 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 +1 -1
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- 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 +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +169 -169
- 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 +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- 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 +122 -122
- 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 +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +117 -117
- 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 +12 -12
- 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 +3 -3
- 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 +2 -2
- 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 +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +84 -84
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/model-resolver-epegjq71.js +0 -252
- package/dist/chunks/model-resolver-ht5y0zrb.js +0 -18
- package/dist/chunks/model-resolver-tjen3va7.js +0 -492
- package/dist/chunks/model-resolver-yzmdswv1.js +0 -26
- /package/dist/chunks/{model-resolver-0mesazry.js → tool-output-0mesazry.js} +0 -0
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → tool-output-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → tool-output-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → tool-output-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → tool-output-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → tool-output-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-5qd3pb7m.js → tool-output-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → tool-output-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → tool-output-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → tool-output-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → tool-output-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → tool-output-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → tool-output-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → tool-output-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → tool-output-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → tool-output-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → tool-output-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → tool-output-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → tool-output-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → tool-output-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → tool-output-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → tool-output-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-1mft72er.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-hdnk95c8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
16
|
+
ID: () => ID8,
|
|
17
17
|
Info: () => Info21,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service62,
|
|
21
|
+
node: () => node65
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
28
|
+
var ID8 = PermissionSaved.ID;
|
|
29
29
|
var Info21 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service62 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service83).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID8.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service62.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node65 = makeGlobalNode({ service: Service62, layer, deps: [node87] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID8, Info21, ListInput4, AddInput2, Service62, node65, exports_saved };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-0j4e08ab.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service66,
|
|
7
|
+
node69
|
|
8
|
+
} from "./tool-output-yrx1cgkb.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
20
|
+
Event: () => Event10,
|
|
21
|
+
ID: () => ID5,
|
|
22
22
|
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service42,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node45
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event10 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID5 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID5, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID5
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID5,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service42 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service82;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service66;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service42.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node45 = makeLocationNode({
|
|
188
|
+
service: Service42,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node86,
|
|
190
|
+
deps: [node86, node69]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID5, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service42, node45, exports_websearch3, Event10 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service64
|
|
4
|
+
} from "./tool-output-1j263eaf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service78
|
|
7
|
+
} from "./tool-output-p5qm3gp3.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service39
|
|
10
|
+
} from "./tool-output-wjcd3aje.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service51,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-xdssxgw6.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service21
|
|
17
|
+
} from "./tool-output-wr8b92bk.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make9
|
|
20
|
+
} from "./tool-output-nxfrxvv0.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-output-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command2 = {};
|
|
30
30
|
__export(exports_command2, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin43
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin43 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service39;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin39 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service78;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service51;
|
|
60
|
+
const sessions = yield* Service21;
|
|
61
|
+
const agents = yield* Service64;
|
|
62
|
+
const subagents = yield* make9;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin39 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID10.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin43, exports_command2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-1mft72er.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node77
|
|
12
|
+
} from "./tool-output-4ns3h2re.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID12,
|
|
25
|
+
Info: () => Info26,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service73,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured11,
|
|
30
|
+
node: () => node76
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID12 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info26 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID12,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info20 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID12 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID12,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service73 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured11 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service73,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node87,
|
|
64
|
+
deps: [node87, node77]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service83).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info26({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service73.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID12.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node76 = configured11();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID12, Info26, NotFound3, CreateConflict2, Service73, configured11, node76, exports_workspace };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID10
|
|
3
|
+
} from "./tool-output-1j263eaf.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info12
|
|
9
|
+
} from "./tool-output-g8jasmdt.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-fd5ygrzr.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service39
|
|
16
|
+
} from "./tool-output-wjcd3aje.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-output-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent2 = {};
|
|
26
26
|
__export(exports_agent2, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin38
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info12);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin38 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service39;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin47 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID10.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID10.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin38, exports_agent2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-6e2rzpgk.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service77
|
|
7
|
+
} from "./tool-output-pwng45mh.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-842ne6kv.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-w4qjf6jj.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID13.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID14.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service77;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node48
|
|
5
|
+
} from "./tool-output-6e2rzpgk.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-06dxphr1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service69,
|
|
12
|
+
node72
|
|
13
|
+
} from "./tool-output-gs3s1a1g.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-output-0ebpwq5w.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-output-gny4z5fd.js";
|
|
20
20
|
import {
|
|
21
21
|
Error3
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./tool-output-bc3fwvwz.js";
|
|
23
23
|
import {
|
|
24
24
|
Service32,
|
|
25
25
|
node35
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-output-cvgayg76.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
make14
|
|
29
|
+
} from "./tool-output-drwq78ky.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./tool-output-bz85s9hh.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
@@ -41,7 +41,7 @@ __export(exports_model_request, {
|
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
44
|
+
layer: () => layer13,
|
|
45
45
|
node: () => node34,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
|
|
|
66
66
|
return {
|
|
67
67
|
providerMetadataKey,
|
|
68
68
|
system: [
|
|
69
|
-
input.agent.system ? input.agent.system :
|
|
69
|
+
input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
|
|
70
70
|
input.initial
|
|
71
71
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
72
72
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -152,8 +152,8 @@ var boundImages2 = (messages) => {
|
|
|
152
152
|
|
|
153
153
|
class Service31 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
154
154
|
}
|
|
155
|
-
var
|
|
156
|
-
const hooks = yield*
|
|
155
|
+
var layer13 = Layer.effect(Service31, Effect.gen(function* () {
|
|
156
|
+
const hooks = yield* Service69;
|
|
157
157
|
const transport = yield* Service32;
|
|
158
158
|
const app = yield* Metadata2;
|
|
159
159
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
@@ -261,8 +261,8 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
261
261
|
}));
|
|
262
262
|
var node34 = makeLocationNode({
|
|
263
263
|
service: Service31,
|
|
264
|
-
layer:
|
|
265
|
-
deps: [
|
|
264
|
+
layer: layer13,
|
|
265
|
+
deps: [node72, node35, node48]
|
|
266
266
|
});
|
|
267
267
|
|
|
268
|
-
export { baseTranscript2, unsupportedParts2, boundImages2, Service31,
|
|
268
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service31, layer13, node34, exports_model_request };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|