@humain/humain-code 0.7.0 → 0.8.0

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.
Files changed (650) hide show
  1. package/CHANGELOG.md +139 -0
  2. package/README.md +2 -2
  3. package/dist/bundle/agent-monitor.js +1 -1
  4. package/dist/bundle/chunks/anthropic-messages-UZB5HJE3.js +77 -0
  5. package/dist/bundle/chunks/anthropic.js +25 -24
  6. package/dist/bundle/chunks/azure-openai-responses-J3LCMWPQ.js +15 -0
  7. package/dist/bundle/chunks/bedrock-converse-stream.js +460 -431
  8. package/dist/bundle/chunks/bowser-DXKSTXFQ.js +89 -0
  9. package/dist/bundle/chunks/{chunk-HTA325LJ.js → chunk-2NVGOSBN.js} +1 -1
  10. package/dist/bundle/chunks/{chunk-5B25YXF7.js → chunk-3CGMVKHA.js} +13 -3
  11. package/dist/bundle/chunks/{chunk-SCINMV4X.js → chunk-46C6D7UC.js} +22 -21
  12. package/dist/bundle/chunks/{chunk-RS6PZK35.js → chunk-4EV7CK26.js} +249 -216
  13. package/dist/bundle/chunks/{chunk-T7BXP46S.js → chunk-4SFWYKL5.js} +1848 -1662
  14. package/dist/bundle/chunks/{chunk-TGDPZCSW.js → chunk-4TDNOR36.js} +1 -1
  15. package/dist/bundle/chunks/{chunk-C6VERWRZ.js → chunk-4XF5JX7X.js} +1 -1
  16. package/dist/bundle/chunks/chunk-6HTHDVJC.js +4 -0
  17. package/dist/bundle/chunks/{chunk-2G7YVAVF.js → chunk-7EONJCBE.js} +1 -1
  18. package/dist/bundle/chunks/chunk-7H2WNBX7.js +11 -0
  19. package/dist/bundle/chunks/{chunk-2FYYW6FY.js → chunk-7OZNMWAJ.js} +1 -1
  20. package/dist/bundle/chunks/{chunk-R6YQR7TZ.js → chunk-7WE77IE3.js} +1 -1
  21. package/dist/bundle/chunks/{chunk-Z5YLKK3S.js → chunk-7WETECIB.js} +1 -1
  22. package/dist/bundle/chunks/{chunk-EIC7CQX3.js → chunk-AI7EHDAX.js} +1 -1
  23. package/dist/bundle/chunks/{chunk-KRCX3ZBA.js → chunk-APNPBT7Y.js} +1 -1
  24. package/dist/bundle/chunks/{chunk-4HTVBBJD.js → chunk-ATFZAFMS.js} +2 -2
  25. package/dist/bundle/chunks/{chunk-R5OOX7RW.js → chunk-B47PNNLL.js} +9 -2
  26. package/dist/bundle/chunks/{chunk-AZXVJN6E.js → chunk-C4DHVDYT.js} +1 -1
  27. package/dist/bundle/chunks/{chunk-4PRNKB6V.js → chunk-CET2MXXN.js} +7 -7
  28. package/dist/bundle/chunks/{chunk-66FZJO75.js → chunk-CU6KU7JK.js} +472 -3924
  29. package/dist/bundle/chunks/{chunk-MD7K7RPN.js → chunk-D3KYOSQY.js} +1 -1
  30. package/dist/bundle/chunks/{chunk-I3NDOUHE.js → chunk-DCXHRP6C.js} +1 -1
  31. package/dist/bundle/chunks/{chunk-OB332KMV.js → chunk-DD5UT56Y.js} +46 -32
  32. package/dist/bundle/chunks/{chunk-G4QPSFBF.js → chunk-EMBIUIQ2.js} +216 -223
  33. package/dist/bundle/chunks/{chunk-Q7VXYXY3.js → chunk-ENBDASDN.js} +2 -2
  34. package/dist/bundle/chunks/{chunk-2H3LUS62.js → chunk-FJIISX5W.js} +241 -229
  35. package/dist/bundle/chunks/{chunk-WQOOJP7U.js → chunk-GV5OVRKK.js} +1 -1
  36. package/dist/bundle/chunks/{chunk-KTSJYIYC.js → chunk-HHWVVNGG.js} +1 -1
  37. package/dist/bundle/chunks/{chunk-4JRER4XK.js → chunk-HQMUDHC3.js} +19 -19
  38. package/dist/bundle/chunks/{chunk-WQ7EJQIT.js → chunk-IOLLZXQN.js} +225 -239
  39. package/dist/bundle/chunks/chunk-IXQYPQRQ.js +2079 -0
  40. package/dist/bundle/chunks/{chunk-RU7ADKA7.js → chunk-J4GII2EE.js} +112 -96
  41. package/dist/bundle/chunks/chunk-J5TSAJGC.js +22 -0
  42. package/dist/bundle/chunks/{chunk-QT6ZHDMP.js → chunk-JBSWWCT5.js} +1 -1
  43. package/dist/bundle/chunks/{chunk-P6AXBESH.js → chunk-JV7VHOAY.js} +1119 -1098
  44. package/dist/bundle/chunks/{chunk-PWUDFU5V.js → chunk-JWOPWHVH.js} +4 -4
  45. package/dist/bundle/chunks/{chunk-4V5VL2BO.js → chunk-KLSRGGOH.js} +131 -154
  46. package/dist/bundle/chunks/{chunk-JF7FYXAI.js → chunk-KONLZKPL.js} +7 -6
  47. package/dist/bundle/chunks/{chunk-32QLLD2P.js → chunk-KQXXBQ57.js} +360 -332
  48. package/dist/bundle/chunks/{chunk-UZNIPOGS.js → chunk-L4J7SMJB.js} +1 -1
  49. package/dist/bundle/chunks/chunk-MPRAQ6ZI.js +41 -0
  50. package/dist/bundle/chunks/{chunk-GUHNFZ2Q.js → chunk-NNWNIBLG.js} +20 -19
  51. package/dist/bundle/chunks/{chunk-TWAHPPXN.js → chunk-OVDMYBIT.js} +1307 -1194
  52. package/dist/bundle/chunks/{chunk-WAPZN4KP.js → chunk-P2Y2H7SD.js} +2 -2
  53. package/dist/bundle/chunks/{chunk-PPBDDQHP.js → chunk-PGVDL4KB.js} +7 -6
  54. package/dist/bundle/chunks/{chunk-XHDVDJM7.js → chunk-PVNXN2TC.js} +7 -7
  55. package/dist/bundle/chunks/{chunk-RNBZBCH2.js → chunk-QJB5YI3I.js} +1 -1
  56. package/dist/bundle/chunks/{chunk-I5E7RQ5V.js → chunk-QRYDGY5I.js} +5 -5
  57. package/dist/bundle/chunks/{chunk-4QAXV5T6.js → chunk-R3VDXQW2.js} +9 -9
  58. package/dist/bundle/chunks/chunk-SKCJ25SX.js +24 -0
  59. package/dist/bundle/chunks/chunk-SQ7NTRLJ.js +77 -0
  60. package/dist/bundle/chunks/{chunk-SSRCVJZK.js → chunk-TYN46EVI.js} +5 -5
  61. package/dist/bundle/chunks/{chunk-6E6RHNOU.js → chunk-UXM4WFLH.js} +12 -11
  62. package/dist/bundle/chunks/{chunk-LB4CIS4F.js → chunk-VCMXBP5S.js} +17 -17
  63. package/dist/bundle/chunks/{chunk-N2SNMUD3.js → chunk-VKQNYZUA.js} +1 -1
  64. package/dist/bundle/chunks/{chunk-JYWUOKOI.js → chunk-WBSGWISD.js} +367 -353
  65. package/dist/bundle/chunks/{chunk-3EDMWQ35.js → chunk-WGXMYMPE.js} +17 -15
  66. package/dist/bundle/chunks/chunk-WRYGY5XG.js +24 -0
  67. package/dist/bundle/chunks/{chunk-GRJUKEE3.js → chunk-XVIQYONJ.js} +4 -4
  68. package/dist/bundle/chunks/chunk-YSWDFV2L.js +11 -0
  69. package/dist/bundle/chunks/{chunk-AEWYICBL.js → chunk-Z5UFSRO4.js} +2 -2
  70. package/dist/bundle/chunks/chunk-ZG74NES2.js +2 -0
  71. package/dist/bundle/chunks/chunk-ZTG5OKI7.js +3 -0
  72. package/dist/bundle/chunks/{cli-H4LJNE2V.js → cli-6DJO467D.js} +2 -2
  73. package/dist/bundle/chunks/{cloudflare-workers-ai-system-one-T5R2RVFQ.js → cloudflare-workers-ai-system-one-ETKC6B2S.js} +1 -1
  74. package/dist/bundle/chunks/codemode-worker.js +68 -68
  75. package/dist/bundle/chunks/compat-HS4ARZK3.js +15 -0
  76. package/dist/bundle/chunks/curator-server-TC7RVVN2.js +3600 -0
  77. package/dist/bundle/chunks/dist-35STTNYA.js +37 -0
  78. package/dist/bundle/chunks/{dist-FMWWM4H7.js → dist-5AQPJ2TI.js} +2 -2
  79. package/dist/bundle/chunks/{dist-NHQTBDHT.js → dist-DYB3AR7C.js} +91 -257
  80. package/dist/bundle/chunks/dist-NMEXYUP3.js +11 -0
  81. package/dist/bundle/chunks/dist-cjs-EROMDUKS.js +193 -0
  82. package/dist/bundle/chunks/{easter-egg-3d-BUEOC3NO.js → easter-egg-3d-VVUF3C3X.js} +1 -1
  83. package/dist/bundle/chunks/entry-2GZ3PTWQ.js +2 -0
  84. package/dist/bundle/chunks/{entry-A2CSLKHC.js → entry-SRYLSS5P.js} +3 -3
  85. package/dist/bundle/chunks/{event-streams-7YGFEPBZ.js → event-streams-F67JLS6B.js} +1 -1
  86. package/dist/bundle/chunks/{execute-MY5JSEPV.js → execute-I3WGGPWL.js} +2 -2
  87. package/dist/bundle/chunks/{extract-PTGACPGP.js → extract-QHZTEVJP.js} +68 -65
  88. package/dist/bundle/chunks/{flow-implementer-APJFY4YI.js → flow-implementer-QMN3HKE2.js} +8 -9
  89. package/dist/bundle/chunks/github-copilot.js +55 -45
  90. package/dist/bundle/chunks/google-generative-ai-ZND73WDQ.js +22 -0
  91. package/dist/bundle/chunks/google-vertex-YAH62YRM.js +25 -0
  92. package/dist/bundle/chunks/host-Q565BCXB.js +3 -0
  93. package/dist/bundle/chunks/image-resize-worker.js +3 -3
  94. package/dist/bundle/chunks/{index.bundle-THL4EUSU.js → index.bundle-HONF3PUD.js} +177 -176
  95. package/dist/bundle/chunks/{inprocess-5NP5VJHZ.js → inprocess-453SLFL5.js} +6 -6
  96. package/dist/bundle/chunks/interactive-mode-MVZOJ5OU.js +5 -0
  97. package/dist/bundle/chunks/{llama-cpp-classify-GJAXULWL.js → llama-cpp-classify-Z4GZY4GC.js} +1 -1
  98. package/dist/bundle/chunks/mistral-conversations-7I5JURDP.js +43 -0
  99. package/dist/bundle/chunks/{node-ZFIIS5IM.js → node-IMSYVRPL.js} +53 -30
  100. package/dist/bundle/chunks/{node-UNHECG4X.js → node-MHHE76P4.js} +475 -440
  101. package/dist/bundle/chunks/{openai-codex-responses-S7CMCAOY.js → openai-codex-responses-LTHOMN37.js} +30 -29
  102. package/dist/bundle/chunks/openai-codex.js +9 -8
  103. package/dist/bundle/chunks/{openai-completions-2Z57N7PC.js → openai-completions-W2X635EE.js} +22 -22
  104. package/dist/bundle/chunks/{openai-decisions-JIOJDB4C.js → openai-decisions-TN2GNOYI.js} +1 -1
  105. package/dist/bundle/chunks/{openai-responses-5VBZSTHL.js → openai-responses-DVY4QXOG.js} +4 -5
  106. package/dist/bundle/chunks/{openrouter-images-S6O7DBEJ.js → openrouter-images-SE2JMS44.js} +1 -1
  107. package/dist/bundle/chunks/openrouter.js +9 -8
  108. package/dist/bundle/chunks/pdfjs-FE3L72A6.js +3662 -0
  109. package/dist/bundle/chunks/{pdfjs-decoders-OFXX4HDZ.js → pdfjs-decoders-VCMCTQJ2.js} +1 -1
  110. package/dist/bundle/chunks/pdfjs-jbig2_nowasm_fallback-I4K6AIV4.js +295 -0
  111. package/dist/bundle/chunks/pdfjs-openjpeg-PYQCV6CM.js +590 -0
  112. package/dist/bundle/chunks/pdfjs-openjpeg_nowasm_fallback-G363SGDI.js +775 -0
  113. package/dist/bundle/chunks/{pi-messages-SMLN5J2W.js → pi-messages-WAS6Z5L5.js} +11 -11
  114. package/dist/bundle/chunks/radius.js +8 -7
  115. package/dist/bundle/chunks/{runtime-OYTWXIUM.js → runtime-H7LYNKCZ.js} +1 -1
  116. package/dist/bundle/chunks/session-picker-XNVLSJ22.js +4 -0
  117. package/dist/bundle/chunks/startup-ui-3TCT465D.js +3 -0
  118. package/dist/bundle/chunks/{trace-command-YLDYCL55.js → trace-command-7ORDQ3JS.js} +4 -4
  119. package/dist/bundle/chunks/{typesafe-system-one-7BEL3H5N.js → typesafe-system-one-AAZH6S3I.js} +1 -1
  120. package/dist/bundle/chunks/{undici-C6S56CGI.js → undici-WVNE45GY.js} +1 -1
  121. package/dist/bundle/chunks/virtual-modules-CIVXCEAN.js +28 -0
  122. package/dist/bundle/cli-runtime.js +5 -5
  123. package/dist/bundle/flow/package.json +5 -5
  124. package/dist/bundle/index.js +13 -13
  125. package/dist/bundle/orchestrate/package.json +22 -6
  126. package/dist/bundle/rpc-entry.js +4 -5
  127. package/dist/cli/args.d.ts.map +1 -1
  128. package/dist/cli/args.js +4 -3
  129. package/dist/cli/args.js.map +1 -1
  130. package/dist/cli/config-selector.d.ts.map +1 -1
  131. package/dist/cli/config-selector.js +9 -6
  132. package/dist/cli/config-selector.js.map +1 -1
  133. package/dist/cli/session-picker.d.ts.map +1 -1
  134. package/dist/cli/session-picker.js +9 -6
  135. package/dist/cli/session-picker.js.map +1 -1
  136. package/dist/cli/startup-ui.d.ts.map +1 -1
  137. package/dist/cli/startup-ui.js +8 -4
  138. package/dist/cli/startup-ui.js.map +1 -1
  139. package/dist/cli.js.map +1 -1
  140. package/dist/core/agent-session-runtime.d.ts +11 -0
  141. package/dist/core/agent-session-runtime.d.ts.map +1 -1
  142. package/dist/core/agent-session-runtime.js +19 -0
  143. package/dist/core/agent-session-runtime.js.map +1 -1
  144. package/dist/core/agent-session-services.d.ts +0 -2
  145. package/dist/core/agent-session-services.d.ts.map +1 -1
  146. package/dist/core/agent-session-services.js +0 -2
  147. package/dist/core/agent-session-services.js.map +1 -1
  148. package/dist/core/agent-session.d.ts +31 -39
  149. package/dist/core/agent-session.d.ts.map +1 -1
  150. package/dist/core/agent-session.js +231 -535
  151. package/dist/core/agent-session.js.map +1 -1
  152. package/dist/core/anthropic-subscription-usage.d.ts +4 -2
  153. package/dist/core/anthropic-subscription-usage.d.ts.map +1 -1
  154. package/dist/core/anthropic-subscription-usage.js +32 -16
  155. package/dist/core/anthropic-subscription-usage.js.map +1 -1
  156. package/dist/core/auto-session-namer.js +1 -1
  157. package/dist/core/auto-session-namer.js.map +1 -1
  158. package/dist/core/cache-warmer.d.ts.map +1 -1
  159. package/dist/core/cache-warmer.js +2 -0
  160. package/dist/core/cache-warmer.js.map +1 -1
  161. package/dist/core/exec.d.ts +1 -0
  162. package/dist/core/exec.d.ts.map +1 -1
  163. package/dist/core/exec.js +4 -1
  164. package/dist/core/exec.js.map +1 -1
  165. package/dist/core/export-html/ansi-to-html.d.ts +6 -1
  166. package/dist/core/export-html/ansi-to-html.d.ts.map +1 -1
  167. package/dist/core/export-html/ansi-to-html.js +57 -20
  168. package/dist/core/export-html/ansi-to-html.js.map +1 -1
  169. package/dist/core/export-html/template.js +1 -1
  170. package/dist/core/export-html/tool-renderer.d.ts.map +1 -1
  171. package/dist/core/export-html/tool-renderer.js +2 -3
  172. package/dist/core/export-html/tool-renderer.js.map +1 -1
  173. package/dist/core/extensions/loader.d.ts.map +1 -1
  174. package/dist/core/extensions/loader.js +18 -1
  175. package/dist/core/extensions/loader.js.map +1 -1
  176. package/dist/core/extensions/runner.d.ts.map +1 -1
  177. package/dist/core/extensions/runner.js +5 -0
  178. package/dist/core/extensions/runner.js.map +1 -1
  179. package/dist/core/extensions/types.d.ts +5 -0
  180. package/dist/core/extensions/types.d.ts.map +1 -1
  181. package/dist/core/extensions/types.js.map +1 -1
  182. package/dist/core/flow-implementer.d.ts.map +1 -1
  183. package/dist/core/flow-implementer.js +3 -9
  184. package/dist/core/flow-implementer.js.map +1 -1
  185. package/dist/core/keybindings.d.ts +40 -0
  186. package/dist/core/keybindings.d.ts.map +1 -1
  187. package/dist/core/keybindings.js +5 -0
  188. package/dist/core/keybindings.js.map +1 -1
  189. package/dist/core/model-config.d.ts +13 -0
  190. package/dist/core/model-config.d.ts.map +1 -1
  191. package/dist/core/model-registry.d.ts +3 -0
  192. package/dist/core/model-registry.d.ts.map +1 -1
  193. package/dist/core/model-registry.js +32 -8
  194. package/dist/core/model-registry.js.map +1 -1
  195. package/dist/core/model-resolver.d.ts +0 -1
  196. package/dist/core/model-resolver.d.ts.map +1 -1
  197. package/dist/core/model-resolver.js +3 -10
  198. package/dist/core/model-resolver.js.map +1 -1
  199. package/dist/core/model-runtime.d.ts +18 -7
  200. package/dist/core/model-runtime.d.ts.map +1 -1
  201. package/dist/core/model-runtime.js +41 -8
  202. package/dist/core/model-runtime.js.map +1 -1
  203. package/dist/core/oauth-account-pool.d.ts +5 -0
  204. package/dist/core/oauth-account-pool.d.ts.map +1 -1
  205. package/dist/core/oauth-account-pool.js +34 -3
  206. package/dist/core/oauth-account-pool.js.map +1 -1
  207. package/dist/core/package-manager.d.ts +16 -0
  208. package/dist/core/package-manager.d.ts.map +1 -1
  209. package/dist/core/package-manager.js +46 -3
  210. package/dist/core/package-manager.js.map +1 -1
  211. package/dist/core/pi-ai-schemas.d.ts +1 -0
  212. package/dist/core/pi-ai-schemas.d.ts.map +1 -1
  213. package/dist/core/remote-catalog-provider.d.ts.map +1 -1
  214. package/dist/core/remote-catalog-provider.js +7 -0
  215. package/dist/core/remote-catalog-provider.js.map +1 -1
  216. package/dist/core/resource-loader.d.ts +5 -1
  217. package/dist/core/resource-loader.d.ts.map +1 -1
  218. package/dist/core/resource-loader.js +2 -0
  219. package/dist/core/resource-loader.js.map +1 -1
  220. package/dist/core/run-outcome.d.ts +6 -3
  221. package/dist/core/run-outcome.d.ts.map +1 -1
  222. package/dist/core/run-outcome.js +36 -9
  223. package/dist/core/run-outcome.js.map +1 -1
  224. package/dist/core/run-preflight.d.ts +1 -1
  225. package/dist/core/run-preflight.d.ts.map +1 -1
  226. package/dist/core/run-preflight.js +19 -11
  227. package/dist/core/run-preflight.js.map +1 -1
  228. package/dist/core/sdk.d.ts +0 -6
  229. package/dist/core/sdk.d.ts.map +1 -1
  230. package/dist/core/sdk.js +7 -16
  231. package/dist/core/sdk.js.map +1 -1
  232. package/dist/core/settings-manager.d.ts +0 -5
  233. package/dist/core/settings-manager.d.ts.map +1 -1
  234. package/dist/core/settings-manager.js +0 -9
  235. package/dist/core/settings-manager.js.map +1 -1
  236. package/dist/core/settings-schema.d.ts +0 -4
  237. package/dist/core/settings-schema.d.ts.map +1 -1
  238. package/dist/core/settings-schema.js +0 -1
  239. package/dist/core/settings-schema.js.map +1 -1
  240. package/dist/core/tools/bash-jobs.d.ts.map +1 -1
  241. package/dist/core/tools/bash-jobs.js +2 -9
  242. package/dist/core/tools/bash-jobs.js.map +1 -1
  243. package/dist/core/tools/find.d.ts.map +1 -1
  244. package/dist/core/tools/find.js +28 -16
  245. package/dist/core/tools/find.js.map +1 -1
  246. package/dist/core/tools/output-accumulator.d.ts.map +1 -1
  247. package/dist/core/tools/output-accumulator.js +4 -1
  248. package/dist/core/tools/output-accumulator.js.map +1 -1
  249. package/dist/core/tools/read.d.ts +8 -4
  250. package/dist/core/tools/read.d.ts.map +1 -1
  251. package/dist/core/tools/read.js +10 -15
  252. package/dist/core/tools/read.js.map +1 -1
  253. package/dist/core/tools/renderers/read.d.ts.map +1 -1
  254. package/dist/core/tools/renderers/read.js +6 -2
  255. package/dist/core/tools/renderers/read.js.map +1 -1
  256. package/dist/core/tools/subagent-worktree.d.ts.map +1 -1
  257. package/dist/core/tools/subagent-worktree.js +2 -10
  258. package/dist/core/tools/subagent-worktree.js.map +1 -1
  259. package/dist/core/trace-client/credential-store.d.ts.map +1 -1
  260. package/dist/core/trace-client/credential-store.js +9 -5
  261. package/dist/core/trace-client/credential-store.js.map +1 -1
  262. package/dist/extensions/codemode/execute.js +2 -2
  263. package/dist/extensions/codemode/execute.js.map +1 -1
  264. package/dist/extensions/llama/provider.d.ts +1 -1
  265. package/dist/extensions/llama/provider.d.ts.map +1 -1
  266. package/dist/extensions/llama/provider.js +6 -4
  267. package/dist/extensions/llama/provider.js.map +1 -1
  268. package/dist/extensions/usage/account-reconnect.d.ts +5 -0
  269. package/dist/extensions/usage/account-reconnect.d.ts.map +1 -0
  270. package/dist/extensions/usage/account-reconnect.js +12 -0
  271. package/dist/extensions/usage/account-reconnect.js.map +1 -0
  272. package/dist/extensions/usage/hcode-overview.d.ts +6 -19
  273. package/dist/extensions/usage/hcode-overview.d.ts.map +1 -1
  274. package/dist/extensions/usage/hcode-overview.js +86 -100
  275. package/dist/extensions/usage/hcode-overview.js.map +1 -1
  276. package/dist/extensions/usage/index.d.ts.map +1 -1
  277. package/dist/extensions/usage/index.js +74 -98
  278. package/dist/extensions/usage/index.js.map +1 -1
  279. package/dist/extensions/usage/overview.d.ts +22 -17
  280. package/dist/extensions/usage/overview.d.ts.map +1 -1
  281. package/dist/extensions/usage/overview.js +98 -13
  282. package/dist/extensions/usage/overview.js.map +1 -1
  283. package/dist/extensions/usage/popup.d.ts +9 -14
  284. package/dist/extensions/usage/popup.d.ts.map +1 -1
  285. package/dist/extensions/usage/popup.js +78 -165
  286. package/dist/extensions/usage/popup.js.map +1 -1
  287. package/dist/humain/bedrock-provider/vendor/index.bundle.mjs +4 -1
  288. package/dist/humain/flow-command.js +1 -1
  289. package/dist/humain/flow-command.js.map +1 -1
  290. package/dist/humain/flow-loader.d.ts +9 -4
  291. package/dist/humain/flow-loader.d.ts.map +1 -1
  292. package/dist/humain/flow-loader.js +30 -21
  293. package/dist/humain/flow-loader.js.map +1 -1
  294. package/dist/humain/gateway/client.d.ts +3 -1
  295. package/dist/humain/gateway/client.d.ts.map +1 -1
  296. package/dist/humain/gateway/client.js +10 -5
  297. package/dist/humain/gateway/client.js.map +1 -1
  298. package/dist/humain/gateway/login.d.ts.map +1 -1
  299. package/dist/humain/gateway/login.js +160 -53
  300. package/dist/humain/gateway/login.js.map +1 -1
  301. package/dist/humain/hcode/account-store.d.ts +29 -5
  302. package/dist/humain/hcode/account-store.d.ts.map +1 -1
  303. package/dist/humain/hcode/account-store.js +224 -124
  304. package/dist/humain/hcode/account-store.js.map +1 -1
  305. package/dist/humain/hcode/account.d.ts +6 -0
  306. package/dist/humain/hcode/account.d.ts.map +1 -1
  307. package/dist/humain/hcode/account.js +348 -129
  308. package/dist/humain/hcode/account.js.map +1 -1
  309. package/dist/humain/hcode/catalog-watch.d.ts +21 -0
  310. package/dist/humain/hcode/catalog-watch.d.ts.map +1 -0
  311. package/dist/humain/hcode/catalog-watch.js +46 -0
  312. package/dist/humain/hcode/catalog-watch.js.map +1 -0
  313. package/dist/humain/hcode/contracts.d.ts +16 -1
  314. package/dist/humain/hcode/contracts.d.ts.map +1 -1
  315. package/dist/humain/hcode/contracts.js +122 -128
  316. package/dist/humain/hcode/contracts.js.map +1 -1
  317. package/dist/humain/hcode/environment.d.ts +3 -1
  318. package/dist/humain/hcode/environment.d.ts.map +1 -1
  319. package/dist/humain/hcode/environment.js +12 -2
  320. package/dist/humain/hcode/environment.js.map +1 -1
  321. package/dist/humain/hcode/facade.d.ts +26 -6
  322. package/dist/humain/hcode/facade.d.ts.map +1 -1
  323. package/dist/humain/hcode/facade.js +148 -38
  324. package/dist/humain/hcode/facade.js.map +1 -1
  325. package/dist/humain/hcode/http.d.ts +3 -1
  326. package/dist/humain/hcode/http.d.ts.map +1 -1
  327. package/dist/humain/hcode/http.js +44 -23
  328. package/dist/humain/hcode/http.js.map +1 -1
  329. package/dist/humain/hcode/images.d.ts +67 -0
  330. package/dist/humain/hcode/images.d.ts.map +1 -0
  331. package/dist/humain/hcode/images.js +463 -0
  332. package/dist/humain/hcode/images.js.map +1 -0
  333. package/dist/humain/hcode/login-copy.d.ts +28 -0
  334. package/dist/humain/hcode/login-copy.d.ts.map +1 -0
  335. package/dist/humain/hcode/login-copy.js +74 -0
  336. package/dist/humain/hcode/login-copy.js.map +1 -0
  337. package/dist/humain/hcode/login-failure.d.ts +26 -0
  338. package/dist/humain/hcode/login-failure.d.ts.map +1 -0
  339. package/dist/humain/hcode/login-failure.js +50 -0
  340. package/dist/humain/hcode/login-failure.js.map +1 -0
  341. package/dist/humain/hcode/notices.d.ts +24 -1
  342. package/dist/humain/hcode/notices.d.ts.map +1 -1
  343. package/dist/humain/hcode/notices.js +93 -7
  344. package/dist/humain/hcode/notices.js.map +1 -1
  345. package/dist/humain/hcode/provider.d.ts +7 -3
  346. package/dist/humain/hcode/provider.d.ts.map +1 -1
  347. package/dist/humain/hcode/provider.js +123 -19
  348. package/dist/humain/hcode/provider.js.map +1 -1
  349. package/dist/humain/hcode/selection.d.ts +2 -0
  350. package/dist/humain/hcode/selection.d.ts.map +1 -1
  351. package/dist/humain/hcode/selection.js +8 -1
  352. package/dist/humain/hcode/selection.js.map +1 -1
  353. package/dist/humain/hcode/transport.d.ts +13 -10
  354. package/dist/humain/hcode/transport.d.ts.map +1 -1
  355. package/dist/humain/hcode/transport.js +103 -148
  356. package/dist/humain/hcode/transport.js.map +1 -1
  357. package/dist/humain/hcode/wire.d.ts +3 -0
  358. package/dist/humain/hcode/wire.d.ts.map +1 -1
  359. package/dist/humain/hcode/wire.js +11 -0
  360. package/dist/humain/hcode/wire.js.map +1 -1
  361. package/dist/humain/metadata/contracts.d.ts +1 -0
  362. package/dist/humain/metadata/contracts.d.ts.map +1 -1
  363. package/dist/humain/metadata/contracts.js +2 -1
  364. package/dist/humain/metadata/contracts.js.map +1 -1
  365. package/dist/humain/web-access/vendor/anysearch.d.ts.map +1 -1
  366. package/dist/humain/web-access/vendor/anysearch.js +7 -3
  367. package/dist/humain/web-access/vendor/anysearch.js.map +1 -1
  368. package/dist/humain/web-access/vendor/autom.d.ts +4 -0
  369. package/dist/humain/web-access/vendor/autom.d.ts.map +1 -0
  370. package/dist/humain/web-access/vendor/autom.js +191 -0
  371. package/dist/humain/web-access/vendor/autom.js.map +1 -0
  372. package/dist/humain/web-access/vendor/cloro.d.ts +4 -0
  373. package/dist/humain/web-access/vendor/cloro.d.ts.map +1 -0
  374. package/dist/humain/web-access/vendor/cloro.js +236 -0
  375. package/dist/humain/web-access/vendor/cloro.js.map +1 -0
  376. package/dist/humain/web-access/vendor/curator-page.d.ts.map +1 -1
  377. package/dist/humain/web-access/vendor/curator-page.js +7 -1
  378. package/dist/humain/web-access/vendor/curator-page.js.map +1 -1
  379. package/dist/humain/web-access/vendor/curator-server.d.ts.map +1 -1
  380. package/dist/humain/web-access/vendor/curator-server.js +6 -0
  381. package/dist/humain/web-access/vendor/curator-server.js.map +1 -1
  382. package/dist/humain/web-access/vendor/domain-filter-normalization.d.ts +8 -0
  383. package/dist/humain/web-access/vendor/domain-filter-normalization.d.ts.map +1 -1
  384. package/dist/humain/web-access/vendor/domain-filter-normalization.js +37 -0
  385. package/dist/humain/web-access/vendor/domain-filter-normalization.js.map +1 -1
  386. package/dist/humain/web-access/vendor/duckduckgo-rate-limit.d.ts +28 -8
  387. package/dist/humain/web-access/vendor/duckduckgo-rate-limit.d.ts.map +1 -1
  388. package/dist/humain/web-access/vendor/duckduckgo-rate-limit.js +135 -34
  389. package/dist/humain/web-access/vendor/duckduckgo-rate-limit.js.map +1 -1
  390. package/dist/humain/web-access/vendor/duckduckgo.d.ts +1 -1
  391. package/dist/humain/web-access/vendor/duckduckgo.d.ts.map +1 -1
  392. package/dist/humain/web-access/vendor/duckduckgo.js +10 -3
  393. package/dist/humain/web-access/vendor/duckduckgo.js.map +1 -1
  394. package/dist/humain/web-access/vendor/extract.d.ts.map +1 -1
  395. package/dist/humain/web-access/vendor/extract.js +61 -5
  396. package/dist/humain/web-access/vendor/extract.js.map +1 -1
  397. package/dist/humain/web-access/vendor/gemini-search.d.ts +3 -3
  398. package/dist/humain/web-access/vendor/gemini-search.d.ts.map +1 -1
  399. package/dist/humain/web-access/vendor/gemini-search.js +35 -5
  400. package/dist/humain/web-access/vendor/gemini-search.js.map +1 -1
  401. package/dist/humain/web-access/vendor/index.d.ts.map +1 -1
  402. package/dist/humain/web-access/vendor/index.js +8 -1
  403. package/dist/humain/web-access/vendor/index.js.map +1 -1
  404. package/dist/humain/web-access/vendor/page-query.d.ts +5 -0
  405. package/dist/humain/web-access/vendor/page-query.d.ts.map +1 -1
  406. package/dist/humain/web-access/vendor/page-query.js +12 -2
  407. package/dist/humain/web-access/vendor/page-query.js.map +1 -1
  408. package/dist/humain/web-access/vendor/specstream.d.ts +6 -0
  409. package/dist/humain/web-access/vendor/specstream.d.ts.map +1 -0
  410. package/dist/humain/web-access/vendor/specstream.js +253 -0
  411. package/dist/humain/web-access/vendor/specstream.js.map +1 -0
  412. package/dist/humain/web-access/vendor/tool-activation.d.ts.map +1 -1
  413. package/dist/humain/web-access/vendor/tool-activation.js +21 -5
  414. package/dist/humain/web-access/vendor/tool-activation.js.map +1 -1
  415. package/dist/humain/web-access/vendor/upgrade-notice.d.ts +1 -1
  416. package/dist/humain/web-access/vendor/upgrade-notice.js +1 -1
  417. package/dist/humain/web-access/vendor/upgrade-notice.js.map +1 -1
  418. package/dist/humain/web-access/vendor/utils.d.ts +1 -0
  419. package/dist/humain/web-access/vendor/utils.d.ts.map +1 -1
  420. package/dist/humain/web-access/vendor/utils.js +3 -0
  421. package/dist/humain/web-access/vendor/utils.js.map +1 -1
  422. package/dist/humain/web-access/vendor/video-extract.js +2 -2
  423. package/dist/humain/web-access/vendor/video-extract.js.map +1 -1
  424. package/dist/humain/web-access/vendor/web-tool-core.d.ts +13 -0
  425. package/dist/humain/web-access/vendor/web-tool-core.d.ts.map +1 -1
  426. package/dist/humain/web-access/vendor/web-tool-core.js +16 -5
  427. package/dist/humain/web-access/vendor/web-tool-core.js.map +1 -1
  428. package/dist/humain/web-access/vendor/youtube-extract.js +2 -2
  429. package/dist/humain/web-access/vendor/youtube-extract.js.map +1 -1
  430. package/dist/index.d.ts +0 -2
  431. package/dist/index.d.ts.map +1 -1
  432. package/dist/index.js.map +1 -1
  433. package/dist/main.d.ts.map +1 -1
  434. package/dist/main.js +96 -28
  435. package/dist/main.js.map +1 -1
  436. package/dist/modes/diagnostics-stderr.d.ts +4 -0
  437. package/dist/modes/diagnostics-stderr.d.ts.map +1 -0
  438. package/dist/modes/diagnostics-stderr.js +11 -0
  439. package/dist/modes/diagnostics-stderr.js.map +1 -0
  440. package/dist/modes/interactive/components/assistant-message.d.ts +1 -1
  441. package/dist/modes/interactive/components/assistant-message.d.ts.map +1 -1
  442. package/dist/modes/interactive/components/assistant-message.js.map +1 -1
  443. package/dist/modes/interactive/components/bash-execution.js.map +1 -1
  444. package/dist/modes/interactive/components/config-selector.d.ts.map +1 -1
  445. package/dist/modes/interactive/components/config-selector.js +5 -2
  446. package/dist/modes/interactive/components/config-selector.js.map +1 -1
  447. package/dist/modes/interactive/components/extension-selector.d.ts.map +1 -1
  448. package/dist/modes/interactive/components/extension-selector.js +14 -5
  449. package/dist/modes/interactive/components/extension-selector.js.map +1 -1
  450. package/dist/modes/interactive/components/first-time-setup.d.ts +1 -1
  451. package/dist/modes/interactive/components/first-time-setup.d.ts.map +1 -1
  452. package/dist/modes/interactive/components/first-time-setup.js.map +1 -1
  453. package/dist/modes/interactive/components/keybinding-hints.d.ts +2 -0
  454. package/dist/modes/interactive/components/keybinding-hints.d.ts.map +1 -1
  455. package/dist/modes/interactive/components/keybinding-hints.js +6 -0
  456. package/dist/modes/interactive/components/keybinding-hints.js.map +1 -1
  457. package/dist/modes/interactive/components/model-selector.d.ts +10 -0
  458. package/dist/modes/interactive/components/model-selector.d.ts.map +1 -1
  459. package/dist/modes/interactive/components/model-selector.js +101 -23
  460. package/dist/modes/interactive/components/model-selector.js.map +1 -1
  461. package/dist/modes/interactive/components/oauth-selector.d.ts +5 -0
  462. package/dist/modes/interactive/components/oauth-selector.d.ts.map +1 -1
  463. package/dist/modes/interactive/components/oauth-selector.js +17 -6
  464. package/dist/modes/interactive/components/oauth-selector.js.map +1 -1
  465. package/dist/modes/interactive/components/radius-login-selector.d.ts.map +1 -1
  466. package/dist/modes/interactive/components/radius-login-selector.js +2 -1
  467. package/dist/modes/interactive/components/radius-login-selector.js.map +1 -1
  468. package/dist/modes/interactive/components/scoped-models-selector.d.ts.map +1 -1
  469. package/dist/modes/interactive/components/scoped-models-selector.js +13 -6
  470. package/dist/modes/interactive/components/scoped-models-selector.js.map +1 -1
  471. package/dist/modes/interactive/components/session-selector.d.ts +8 -1
  472. package/dist/modes/interactive/components/session-selector.d.ts.map +1 -1
  473. package/dist/modes/interactive/components/session-selector.js +41 -9
  474. package/dist/modes/interactive/components/session-selector.js.map +1 -1
  475. package/dist/modes/interactive/components/settings-submenu.d.ts +1 -1
  476. package/dist/modes/interactive/components/settings-submenu.d.ts.map +1 -1
  477. package/dist/modes/interactive/components/settings-submenu.js +5 -1
  478. package/dist/modes/interactive/components/settings-submenu.js.map +1 -1
  479. package/dist/modes/interactive/components/status-indicator.d.ts +0 -17
  480. package/dist/modes/interactive/components/status-indicator.d.ts.map +1 -1
  481. package/dist/modes/interactive/components/status-indicator.js +1 -78
  482. package/dist/modes/interactive/components/status-indicator.js.map +1 -1
  483. package/dist/modes/interactive/components/themed-text.d.ts +1 -1
  484. package/dist/modes/interactive/components/themed-text.d.ts.map +1 -1
  485. package/dist/modes/interactive/components/themed-text.js.map +1 -1
  486. package/dist/modes/interactive/components/thinking-selector.d.ts.map +1 -1
  487. package/dist/modes/interactive/components/thinking-selector.js +5 -1
  488. package/dist/modes/interactive/components/thinking-selector.js.map +1 -1
  489. package/dist/modes/interactive/components/tool-execution.d.ts +1 -1
  490. package/dist/modes/interactive/components/tool-execution.d.ts.map +1 -1
  491. package/dist/modes/interactive/components/tool-execution.js +3 -1
  492. package/dist/modes/interactive/components/tool-execution.js.map +1 -1
  493. package/dist/modes/interactive/components/trust-selector.d.ts.map +1 -1
  494. package/dist/modes/interactive/components/trust-selector.js +14 -5
  495. package/dist/modes/interactive/components/trust-selector.js.map +1 -1
  496. package/dist/modes/interactive/components/user-message.d.ts +1 -1
  497. package/dist/modes/interactive/components/user-message.d.ts.map +1 -1
  498. package/dist/modes/interactive/components/user-message.js.map +1 -1
  499. package/dist/modes/interactive/components/visual-truncate.d.ts +2 -2
  500. package/dist/modes/interactive/components/visual-truncate.d.ts.map +1 -1
  501. package/dist/modes/interactive/components/visual-truncate.js.map +1 -1
  502. package/dist/modes/interactive/interactive-mode.d.ts +20 -2
  503. package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
  504. package/dist/modes/interactive/interactive-mode.js +605 -223
  505. package/dist/modes/interactive/interactive-mode.js.map +1 -1
  506. package/dist/modes/interactive/model-catalog-refresh.d.ts +4 -0
  507. package/dist/modes/interactive/model-catalog-refresh.d.ts.map +1 -1
  508. package/dist/modes/interactive/model-catalog-refresh.js +40 -1
  509. package/dist/modes/interactive/model-catalog-refresh.js.map +1 -1
  510. package/dist/modes/interactive/oauth-account-format.d.ts +6 -2
  511. package/dist/modes/interactive/oauth-account-format.d.ts.map +1 -1
  512. package/dist/modes/interactive/oauth-account-format.js +12 -3
  513. package/dist/modes/interactive/oauth-account-format.js.map +1 -1
  514. package/dist/modes/interactive/session-share.js +2 -0
  515. package/dist/modes/interactive/session-share.js.map +1 -1
  516. package/dist/modes/interactive/theme/theme.d.ts.map +1 -1
  517. package/dist/modes/interactive/theme/theme.js +1 -0
  518. package/dist/modes/interactive/theme/theme.js.map +1 -1
  519. package/dist/modes/print-mode.d.ts.map +1 -1
  520. package/dist/modes/print-mode.js +30 -32
  521. package/dist/modes/print-mode.js.map +1 -1
  522. package/dist/modes/rpc/rpc-mode.d.ts.map +1 -1
  523. package/dist/modes/rpc/rpc-mode.js +26 -39
  524. package/dist/modes/rpc/rpc-mode.js.map +1 -1
  525. package/dist/modes/rpc/rpc-types.d.ts +1 -0
  526. package/dist/modes/rpc/rpc-types.d.ts.map +1 -1
  527. package/dist/modes/rpc/rpc-types.js.map +1 -1
  528. package/dist/package-manager-cli.d.ts.map +1 -1
  529. package/dist/package-manager-cli.js +14 -1
  530. package/dist/package-manager-cli.js.map +1 -1
  531. package/dist/utils/abort.d.ts +5 -0
  532. package/dist/utils/abort.d.ts.map +1 -1
  533. package/dist/utils/abort.js +9 -0
  534. package/dist/utils/abort.js.map +1 -1
  535. package/dist/utils/changelog.d.ts.map +1 -1
  536. package/dist/utils/changelog.js +3 -2
  537. package/dist/utils/changelog.js.map +1 -1
  538. package/dist/utils/flush-stdout.d.ts +8 -0
  539. package/dist/utils/flush-stdout.d.ts.map +1 -0
  540. package/dist/utils/flush-stdout.js +23 -0
  541. package/dist/utils/flush-stdout.js.map +1 -0
  542. package/dist/utils/image-process.d.ts +2 -0
  543. package/dist/utils/image-process.d.ts.map +1 -1
  544. package/dist/utils/image-process.js +3 -3
  545. package/dist/utils/image-process.js.map +1 -1
  546. package/dist/utils/image-resize-core.js +2 -2
  547. package/dist/utils/image-resize-core.js.map +1 -1
  548. package/dist/utils/shell.d.ts +2 -0
  549. package/dist/utils/shell.d.ts.map +1 -1
  550. package/dist/utils/shell.js +19 -0
  551. package/dist/utils/shell.js.map +1 -1
  552. package/docs/cli.md +1 -1
  553. package/docs/development.md +0 -13
  554. package/docs/extensions.md +6 -4
  555. package/docs/flow.md +4 -62
  556. package/docs/humain-code-forge-architecture.md +1 -47
  557. package/docs/humain-code-forge-flow-walkthrough.md +1 -1
  558. package/docs/humain-code.md +1 -1
  559. package/docs/keybindings.md +2 -0
  560. package/docs/llama-cpp.md +5 -5
  561. package/docs/models-configuration.md +4 -2
  562. package/docs/nvidia-rtx-llama-cpp.md +5 -5
  563. package/docs/providers.md +14 -9
  564. package/docs/rpc-commands.md +1 -1
  565. package/docs/run-preflight.md +1 -1
  566. package/docs/slash-commands.md +1 -1
  567. package/docs/tui.md +2 -0
  568. package/examples/README.md +0 -3
  569. package/examples/extensions/custom-provider-anthropic/package-lock.json +4 -4
  570. package/examples/extensions/custom-provider-anthropic/package.json +1 -1
  571. package/examples/extensions/gondolin/index.ts +4 -7
  572. package/examples/tsconfig.json +96 -76
  573. package/npm-shrinkwrap.json +285 -764
  574. package/package.json +24 -37
  575. package/schemas/keybindings.schema.json +20 -0
  576. package/schemas/models.schema.json +5 -1
  577. package/schemas/settings.schema.json +0 -13
  578. package/src/humain/web-access/UPSTREAM.md +52 -1
  579. package/src/humain/web-access/upstream.json +5 -5
  580. package/src/humain/web-access/vendor/CHANGELOG.md +29 -0
  581. package/dist/bundle/chunks/adaptive-peer-worker-X2ZNZE3S.js +0 -8
  582. package/dist/bundle/chunks/adaptive-session-host-7KDSQV5I.js +0 -162
  583. package/dist/bundle/chunks/anthropic-messages-TQK3FUV3.js +0 -68
  584. package/dist/bundle/chunks/azure-openai-responses-JY7OSLH2.js +0 -15
  585. package/dist/bundle/chunks/chunk-5L4PBYC7.js +0 -11
  586. package/dist/bundle/chunks/chunk-6PNQYO6A.js +0 -10
  587. package/dist/bundle/chunks/chunk-CRN54O4D.js +0 -24
  588. package/dist/bundle/chunks/chunk-CTU2ECLD.js +0 -7
  589. package/dist/bundle/chunks/chunk-DBL35X7L.js +0 -3
  590. package/dist/bundle/chunks/chunk-GME4AWDG.js +0 -23
  591. package/dist/bundle/chunks/chunk-GTILMMUF.js +0 -12
  592. package/dist/bundle/chunks/chunk-J57HOSWD.js +0 -21
  593. package/dist/bundle/chunks/chunk-KQM7ZGL6.js +0 -11
  594. package/dist/bundle/chunks/chunk-MX4Q4W6H.js +0 -214
  595. package/dist/bundle/chunks/chunk-NXA6NEHE.js +0 -54
  596. package/dist/bundle/chunks/chunk-PJACZCIR.js +0 -2
  597. package/dist/bundle/chunks/chunk-T5A6T24H.js +0 -93
  598. package/dist/bundle/chunks/chunk-WCFHG6NO.js +0 -16
  599. package/dist/bundle/chunks/chunk-ZJUU6WOV.js +0 -2052
  600. package/dist/bundle/chunks/compat-ZK2DIW3P.js +0 -15
  601. package/dist/bundle/chunks/dist-EY7YKQHB.js +0 -11
  602. package/dist/bundle/chunks/dist-J5IUPLMH.js +0 -37
  603. package/dist/bundle/chunks/dist-cjs-2SKN226B.js +0 -184
  604. package/dist/bundle/chunks/entry-AL54ZGYO.js +0 -2
  605. package/dist/bundle/chunks/es5-GYTRHFKS.js +0 -77
  606. package/dist/bundle/chunks/google-generative-ai-UL7YEQ6J.js +0 -21
  607. package/dist/bundle/chunks/google-vertex-OTMSPUYH.js +0 -26
  608. package/dist/bundle/chunks/host-75YAHLDR.js +0 -3
  609. package/dist/bundle/chunks/interactive-mode-IW4PIVAQ.js +0 -5
  610. package/dist/bundle/chunks/mistral-conversations-E72Y6OC3.js +0 -43
  611. package/dist/bundle/chunks/pdfjs-AKD6EBKN.js +0 -3614
  612. package/dist/bundle/chunks/pdfjs-jbig2_nowasm_fallback-FH3KJM4H.js +0 -326
  613. package/dist/bundle/chunks/pdfjs-openjpeg-SKR7C34X.js +0 -671
  614. package/dist/bundle/chunks/pdfjs-openjpeg_nowasm_fallback-VUBL7UEE.js +0 -974
  615. package/dist/bundle/chunks/session-picker-DM6S37IF.js +0 -4
  616. package/dist/bundle/chunks/startup-ui-4GGLWNSU.js +0 -3
  617. package/dist/bundle/chunks/virtual-modules-TI3W24YL.js +0 -28
  618. package/dist/core/internal-process.d.ts +0 -23
  619. package/dist/core/internal-process.d.ts.map +0 -1
  620. package/dist/core/internal-process.js +0 -88
  621. package/dist/core/internal-process.js.map +0 -1
  622. package/dist/humain/adaptive-execution.d.ts +0 -51
  623. package/dist/humain/adaptive-execution.d.ts.map +0 -1
  624. package/dist/humain/adaptive-execution.js +0 -100
  625. package/dist/humain/adaptive-execution.js.map +0 -1
  626. package/dist/humain/adaptive-peer-process.d.ts +0 -44
  627. package/dist/humain/adaptive-peer-process.d.ts.map +0 -1
  628. package/dist/humain/adaptive-peer-process.js +0 -159
  629. package/dist/humain/adaptive-peer-process.js.map +0 -1
  630. package/dist/humain/adaptive-peer-worker.d.ts +0 -3
  631. package/dist/humain/adaptive-peer-worker.d.ts.map +0 -1
  632. package/dist/humain/adaptive-peer-worker.js +0 -122
  633. package/dist/humain/adaptive-peer-worker.js.map +0 -1
  634. package/dist/humain/adaptive-runtime-types.d.ts +0 -621
  635. package/dist/humain/adaptive-runtime-types.d.ts.map +0 -1
  636. package/dist/humain/adaptive-runtime-types.js +0 -3
  637. package/dist/humain/adaptive-runtime-types.js.map +0 -1
  638. package/dist/humain/adaptive-session-host.d.ts +0 -113
  639. package/dist/humain/adaptive-session-host.d.ts.map +0 -1
  640. package/dist/humain/adaptive-session-host.js +0 -1838
  641. package/dist/humain/adaptive-session-host.js.map +0 -1
  642. package/dist/utils/deprecation.d.ts +0 -4
  643. package/dist/utils/deprecation.d.ts.map +0 -1
  644. package/dist/utils/deprecation.js +0 -13
  645. package/dist/utils/deprecation.js.map +0 -1
  646. package/examples/plugins/pi-example-plugin/README.md +0 -38
  647. package/examples/plugins/pi-example-plugin/package.json +0 -10
  648. package/examples/plugins/pi-example-plugin/src/contract.ts +0 -13
  649. package/examples/plugins/pi-example-plugin/src/session.ts +0 -24
  650. package/examples/plugins/pi-example-plugin/src/tui.ts +0 -31
@@ -0,0 +1,11 @@
1
+ import { createRequire as __piCreateRequire } from "node:module"; const require = __piCreateRequire(import.meta.url);
2
+ import{AssistantMessageFrameEncoder,CACHE_WARMING_IDLE_CONTINUATION_PROBABILITY,CACHE_WARMING_MAX_AGE_MS,CACHE_WARMING_MAX_IDLE_AGE_MS,CACHE_WARMING_MINIMUM_EXPECTED_SAVINGS,OAuthRefreshRejectedError,StringEnum,attestProviderRequest,createFauxCore,envApiKeyAuth,evaluateCacheWarming,fauxAssistantMessage,fauxProvider,fauxText,fauxThinking,fauxToolCall,getCacheWarmingDelayMs,getCacheWarmingRequestOptions,getOverflowPatterns,getPromptCacheTtlMs,isCacheWarmingReplayable,isContextOverflow,isRecoverableLength,
3
+ lazyOAuth,normalizeAdmissionUsage,reduceAssistantMessageFrames,validateToolArguments,validateToolCall}from"./chunk-XVIQYONJ.js";import{DEFAULT_MAX_AGENT_RETRY_DELAY_MS,getAssistantRetryDelayMs,isRetryableAssistantError,retryAssistantCall,retryDelayMs}from"./chunk-YSWDFV2L.js";import{getOpenAICodexTokenIdentity}from"./chunk-ZTG5OKI7.js";import{createDelegatedFetch}from"./chunk-IYGHKVUG.js";import{cleanupSessionResources,registerSessionResourceCleanup}from"./chunk-ZG74NES2.js";
4
+ import{StreamingJsonParser,ToolCallArgumentsStream,parseJsonWithRepair,parseStreamingJson,parseStreamingJsonWhileStreaming,parseToolCallArguments,repairJson}from"./chunk-LYZ37DJP.js";import"./chunk-AQ4EXORZ.js";import"./chunk-FACBDLFU.js";import{AI_TELEMETRY_SCHEMA,DEFAULT_NO_PROGRESS_TIMEOUT_MS,InMemoryCredentialStore,InMemoryModelsStore,ModelsError,NoProgressTimeoutError,calculateCost,clampThinkingLevel,collapseSystemMessages,commitLoginCredential,createInitialSystemMessage,createModels,
5
+ createProvider,declarationsEqual,defaultProviderAuthContext,getCurrentSystemMessage,getCurrentSystemPrompt,getCurrentTools,getDeclaredTools,getInitialSystemMessage,getModelType,getSupportedThinkingLevels,getToolStateChanges,hasApi,hasNonAdditiveToolChanges,hasToolRedefinitions,isModelType,lazyApi,lazyStream,modelsAreEqual,normalizeContext,resolveTranscript,resolveTranscriptTools,streamWithProgressTimeout,toToolDeclaration,withoutInitialSystemMessage}from"./chunk-Z5UFSRO4.js";import{AssistantMessageEventStream,
6
+ EventStream,ManagedAssistantMessageQueue,createAssistantMessageEventStream,drainStream}from"./chunk-GY663MNP.js";import{PI_AI_VERSION,PI_ATTRIBUTION,SubmissionAdmissionError,appendAssistantMessageDiagnostic,contentText,createAssistantMessageDiagnostic,extractDiagnosticError,formatThrownValue,formatUserAgent,getAttributionHeaders,getClientProduct,getClientVersion,getIdentityHeaders,getOpenCodeSessionHeaders,getSystemMessageText,mergeClientIdentity,renderSystemMessageUpdate,uuidv7,withClientIdentity}from"./chunk-ATFZAFMS.js";
7
+ import"./chunk-JXWJOIH4.js";export{AI_TELEMETRY_SCHEMA,AssistantMessageEventStream,AssistantMessageFrameEncoder,CACHE_WARMING_IDLE_CONTINUATION_PROBABILITY,CACHE_WARMING_MAX_AGE_MS,CACHE_WARMING_MAX_IDLE_AGE_MS,CACHE_WARMING_MINIMUM_EXPECTED_SAVINGS,DEFAULT_MAX_AGENT_RETRY_DELAY_MS,DEFAULT_NO_PROGRESS_TIMEOUT_MS,EventStream,InMemoryCredentialStore,InMemoryModelsStore,ManagedAssistantMessageQueue,ModelsError,NoProgressTimeoutError,OAuthRefreshRejectedError,PI_AI_VERSION,PI_ATTRIBUTION,StreamingJsonParser,StringEnum,SubmissionAdmissionError,
8
+ ToolCallArgumentsStream,appendAssistantMessageDiagnostic,attestProviderRequest,calculateCost,clampThinkingLevel,cleanupSessionResources,collapseSystemMessages,commitLoginCredential,contentText,createAssistantMessageDiagnostic,createAssistantMessageEventStream,createDelegatedFetch,createFauxCore,createInitialSystemMessage,createModels,createProvider,declarationsEqual,defaultProviderAuthContext,drainStream,envApiKeyAuth,evaluateCacheWarming,extractDiagnosticError,fauxAssistantMessage,fauxProvider,
9
+ fauxText,fauxThinking,fauxToolCall,formatThrownValue,formatUserAgent,getAssistantRetryDelayMs,getAttributionHeaders,getCacheWarmingDelayMs,getCacheWarmingRequestOptions,getClientProduct,getClientVersion,getCurrentSystemMessage,getCurrentSystemPrompt,getCurrentTools,getDeclaredTools,getIdentityHeaders,getInitialSystemMessage,getModelType,getOpenAICodexTokenIdentity,getOpenCodeSessionHeaders,getOverflowPatterns,getPromptCacheTtlMs,getSupportedThinkingLevels,getSystemMessageText,getToolStateChanges,
10
+ hasApi,hasNonAdditiveToolChanges,hasToolRedefinitions,isCacheWarmingReplayable,isContextOverflow,isModelType,isRecoverableLength,isRetryableAssistantError,lazyApi,lazyOAuth,lazyStream,mergeClientIdentity,modelsAreEqual,normalizeAdmissionUsage,normalizeContext,parseJsonWithRepair,parseStreamingJson,parseStreamingJsonWhileStreaming,parseToolCallArguments,reduceAssistantMessageFrames,registerSessionResourceCleanup,renderSystemMessageUpdate,repairJson,resolveTranscript,resolveTranscriptTools,retryAssistantCall,
11
+ retryDelayMs,streamWithProgressTimeout,toToolDeclaration,uuidv7,validateToolArguments,validateToolCall,withClientIdentity,withoutInitialSystemMessage};
@@ -0,0 +1,193 @@
1
+ import { createRequire as __piCreateRequire } from "node:module"; const require = __piCreateRequire(import.meta.url);
2
+ import{client_exports as client_exports2,dist_es_exports,httpAuthSchemes_exports,init_client as init_client2,init_dist_es,init_httpAuthSchemes,init_protocols,init_protocols2,init_retry,protocols_exports,protocols_exports2,require_dist_cjs,require_dist_cjs3 as require_dist_cjs2,retry_exports}from"./chunk-J4GII2EE.js";import{checksum_exports,client_exports,config_exports,endpoints_exports,init_checksum,init_client,init_config,init_endpoints,init_schema,init_serde,schema_exports,serde_exports}from"./chunk-UXM4WFLH.js";
3
+ import{__commonJS,__require,__toCommonJS}from"./chunk-JXWJOIH4.js";var require_compressStream=__commonJS({"node_modules/@smithy/middleware-compression/dist-cjs/compressStream.js"(exports){var{createGzip}=__require("node:zlib");exports.compressStream=async body=>body.pipe(createGzip())}});var require_compressString=__commonJS({"node_modules/@smithy/middleware-compression/dist-cjs/compressString.js"(exports){var{promisify}=__require("node:util"),{gzip}=__require("node:zlib"),{toUint8Array}=(init_serde(),__toCommonJS(serde_exports)),gzipAsync=promisify(gzip);exports.compressString=async body=>{try{let compressedBuffer=await gzipAsync(toUint8Array(body||""));return toUint8Array(compressedBuffer)}catch(err){throw new Error("Failure during compression: "+err.message)}}}});var require_dist_cjs3=__commonJS({"node_modules/@smithy/middleware-compression/dist-cjs/index.js"(exports){var{booleanSelector,SelectorType,numberSelector}=(init_config(),__toCommonJS(config_exports)),{setFeature}=(init_dist_es(),__toCommonJS(dist_es_exports)),{HttpRequest}=(init_protocols(),__toCommonJS(protocols_exports)),{compressStream}=require_compressStream(),{compressString}=require_compressString(),{isArrayBuffer}=(init_serde(),__toCommonJS(serde_exports)),{normalizeProvider}=(init_client(),__toCommonJS(client_exports)),
4
+ NODE_DISABLE_REQUEST_COMPRESSION_ENV_NAME="AWS_DISABLE_REQUEST_COMPRESSION",NODE_DISABLE_REQUEST_COMPRESSION_INI_NAME="disable_request_compression",DEFAULT_DISABLE_REQUEST_COMPRESSION=!1,NODE_DISABLE_REQUEST_COMPRESSION_CONFIG_OPTIONS={environmentVariableSelector:env=>booleanSelector(env,NODE_DISABLE_REQUEST_COMPRESSION_ENV_NAME,SelectorType.ENV),configFileSelector:profile=>booleanSelector(profile,NODE_DISABLE_REQUEST_COMPRESSION_INI_NAME,SelectorType.CONFIG),default:DEFAULT_DISABLE_REQUEST_COMPRESSION},
5
+ NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_ENV_NAME="AWS_REQUEST_MIN_COMPRESSION_SIZE_BYTES",NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_INI_NAME="request_min_compression_size_bytes",DEFAULT_NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES=10240,NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_CONFIG_OPTIONS={environmentVariableSelector:env=>numberSelector(env,NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_ENV_NAME,SelectorType.ENV),configFileSelector:profile=>numberSelector(profile,NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_INI_NAME,
6
+ SelectorType.CONFIG),default:DEFAULT_NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES},CompressionAlgorithm;(function(CompressionAlgorithm2){CompressionAlgorithm2.GZIP="gzip"})(CompressionAlgorithm||(CompressionAlgorithm={}));var CLIENT_SUPPORTED_ALGORITHMS=[CompressionAlgorithm.GZIP],isStreaming=body=>body!==void 0&&typeof body!="string"&&!ArrayBuffer.isView(body)&&!isArrayBuffer(body),compressionMiddleware=(config,middlewareConfig)=>(next,context)=>async args=>{if(!HttpRequest.isInstance(args.request)||
7
+ await config.disableRequestCompression())return next(args);let{request}=args,{body,headers}=request,{encodings,streamRequiresLength}=middlewareConfig,updatedBody=body,updatedHeaders=headers;for(let algorithm of encodings)if(CLIENT_SUPPORTED_ALGORITHMS.includes(algorithm)){let isRequestCompressed=!1;if(isStreaming(body))if(!streamRequiresLength)updatedBody=await compressStream(body),isRequestCompressed=!0;else throw new Error("Compression is not supported for streaming blobs that require a length\
8
+ .");else{let bodyLength=config.bodyLengthChecker(body),requestMinCompressionSizeBytes=await config.requestMinCompressionSizeBytes();bodyLength&&bodyLength>=requestMinCompressionSizeBytes&&(updatedBody=await compressString(body),isRequestCompressed=!0)}if(isRequestCompressed){headers["content-encoding"]?updatedHeaders={...headers,"content-encoding":`${headers["content-encoding"]}, ${algorithm}`}:updatedHeaders={...headers,"content-encoding":algorithm},updatedHeaders["content-encoding"].includes("\
9
+ gzip")&&setFeature(context,"GZIP_REQUEST_COMPRESSION","L");break}}return next({...args,request:{...request,body:updatedBody,headers:updatedHeaders}})},compressionMiddlewareOptions={name:"compressionMiddleware",step:"build",tags:["REQUEST_BODY_COMPRESSION","GZIP"],override:!0,priority:"high"},getCompressionPlugin=(config,middlewareConfig)=>({applyToStack:clientStack=>{clientStack.add(compressionMiddleware(config,middlewareConfig),compressionMiddlewareOptions)}}),resolveCompressionConfig=input=>{let{
10
+ disableRequestCompression,requestMinCompressionSizeBytes:_requestMinCompressionSizeBytes}=input;return Object.assign(input,{disableRequestCompression:normalizeProvider(disableRequestCompression),requestMinCompressionSizeBytes:async()=>{let requestMinCompressionSizeBytes=await normalizeProvider(_requestMinCompressionSizeBytes)();if(requestMinCompressionSizeBytes<0||requestMinCompressionSizeBytes>10485760)throw new RangeError(`The value for requestMinCompressionSizeBytes must be between 0 and 1048\
11
+ 5760 inclusive. The provided value ${requestMinCompressionSizeBytes} is outside this range."`);return requestMinCompressionSizeBytes}})};exports.DEFAULT_DISABLE_REQUEST_COMPRESSION=DEFAULT_DISABLE_REQUEST_COMPRESSION;exports.DEFAULT_NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES=DEFAULT_NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES;exports.NODE_DISABLE_REQUEST_COMPRESSION_CONFIG_OPTIONS=NODE_DISABLE_REQUEST_COMPRESSION_CONFIG_OPTIONS;exports.NODE_DISABLE_REQUEST_COMPRESSION_ENV_NAME=NODE_DISABLE_REQUEST_COMPRESSION_ENV_NAME;
12
+ exports.NODE_DISABLE_REQUEST_COMPRESSION_INI_NAME=NODE_DISABLE_REQUEST_COMPRESSION_INI_NAME;exports.NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_CONFIG_OPTIONS=NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_CONFIG_OPTIONS;exports.NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_ENV_NAME=NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_ENV_NAME;exports.NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_INI_NAME=NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_INI_NAME;exports.compressionMiddleware=compressionMiddleware;exports.compressionMiddlewareOptions=
13
+ compressionMiddlewareOptions;exports.getCompressionPlugin=getCompressionPlugin;exports.resolveCompressionConfig=resolveCompressionConfig}});var require_dist_cjs4=__commonJS({"node_modules/@aws-sdk/client-cloudwatch/dist-cjs/index.js"(exports){var{awsEndpointFunctions,emitWarningIfUnsupportedVersion:emitWarningIfUnsupportedVersion$1,createDefaultUserAgentProvider,getDefaultSocketTimeout,NODE_APP_ID_CONFIG_OPTIONS,getAwsRegionExtensionConfiguration,resolveAwsRegionExtensionConfiguration,resolveUserAgentConfig,resolveHostHeaderConfig,getUserAgentPlugin,getHostHeaderPlugin,getLoggerPlugin,getRecursionDetectionPlugin}=(init_client2(),__toCommonJS(client_exports2)),
14
+ {getHttpAuthSchemeEndpointRuleSetPlugin,DefaultIdentityProviderConfig,getHttpSigningPlugin,createPaginator}=(init_dist_es(),__toCommonJS(dist_es_exports)),{normalizeProvider,getSmithyContext,ServiceException,NoOpLogger,emitWarningIfUnsupportedVersion,loadConfigsForDefaultMode,getDefaultExtensionConfiguration,resolveDefaultRuntimeConfig,Client,makeBuilder,createWaiter,checkExceptions,WaiterState,createAggregatedClient}=(init_client(),__toCommonJS(client_exports)),{Command:$Command}=(init_client(),__toCommonJS(client_exports));
15
+ exports.$Command=$Command;exports.__Client=Client;var{resolveDefaultsModeConfig,loadConfig,NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,NODE_REGION_CONFIG_OPTIONS,NODE_REGION_CONFIG_FILE_OPTIONS,resolveRegionConfig}=(init_config(),__toCommonJS(config_exports)),{BinaryDecisionDiagram,EndpointCache,decideEndpoint,customEndpointFunctions,resolveEndpointConfig,getEndpointPlugin}=(init_endpoints(),__toCommonJS(endpoints_exports)),{parseUrl,getHttpHandlerExtensionConfiguration,
16
+ resolveHttpHandlerRuntimeConfig,getContentLengthPlugin}=(init_protocols(),__toCommonJS(protocols_exports)),{DEFAULT_RETRY_MODE,NODE_RETRY_MODE_CONFIG_OPTIONS,NODE_MAX_ATTEMPT_CONFIG_OPTIONS,resolveRetryConfig,getRetryPlugin}=(init_retry(),__toCommonJS(retry_exports)),{TypeRegistry,getSchemaSerdePlugin}=(init_schema(),__toCommonJS(schema_exports)),{NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_CONFIG_OPTIONS,NODE_DISABLE_REQUEST_COMPRESSION_CONFIG_OPTIONS,resolveCompressionConfig,getCompressionPlugin}=require_dist_cjs3(),
17
+ {resolveAwsSdkSigV4Config,AwsSdkSigV4Signer,NODE_AUTH_SCHEME_PREFERENCE_OPTIONS}=(init_httpAuthSchemes(),__toCommonJS(httpAuthSchemes_exports)),{defaultProvider}=require_dist_cjs2(),{toUtf8,fromUtf8,toBase64,fromBase64,calculateBodyLength}=(init_serde(),__toCommonJS(serde_exports)),{streamCollector,NodeHttpHandler}=require_dist_cjs(),{AwsJson1_0Protocol}=(init_protocols2(),__toCommonJS(protocols_exports2)),{Sha256}=(init_checksum(),__toCommonJS(checksum_exports)),defaultCloudWatchHttpAuthSchemeParametersProvider=async(config,context,input)=>({
18
+ operation:getSmithyContext(context).operation,region:await normalizeProvider(config.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});function createAwsAuthSigv4HttpAuthOption(authParameters){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"monitoring",region:authParameters.region},propertiesExtractor:(config,context)=>({signingProperties:{config,context}})}}var defaultCloudWatchHttpAuthSchemeProvider=authParameters=>{let options=[];switch(authParameters.
19
+ operation){default:options.push(createAwsAuthSigv4HttpAuthOption(authParameters))}return options},resolveHttpAuthSchemeConfig=config=>{let config_0=resolveAwsSdkSigV4Config(config);return Object.assign(config_0,{authSchemePreference:normalizeProvider(config.authSchemePreference??[])})},resolveClientEndpointParameters=options=>Object.assign(options,{useDualstackEndpoint:options.useDualstackEndpoint??!1,useFipsEndpoint:options.useFipsEndpoint??!1,defaultSigningName:"monitoring"}),commonParams={UseFIPS:{
20
+ type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},version="3.1174.0",packageInfo={version},k="ref",a=-1,b=!0,c="isSet",d="PartitionResult",e="booleanEquals",f="getAttr",g={[k]:"Endpoint"},h={[k]:d},i={},j=[{[k]:"Region"}],_data={conditions:[[c,[g]],[c,j],["aws.partition",j,d],[e,[{[k]:"UseFIPS"},b]],[e,[{[k]:"UseDualStack"},b]],["stringEquals",[{
21
+ fn:f,argv:[h,"name"]},"aws-us-gov"]],[e,[{fn:f,argv:[h,"supportsFIPS"]},b]],[e,[{fn:f,argv:[h,"supportsDualStack"]},b]]],results:[[a],[a,"Invalid Configuration: FIPS and custom endpoint are not supported"],[a,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[g,i],["https://monitoring.{Region}.{PartitionResult#dnsSuffix}",i],["https://monitoring.{Region}.{PartitionResult#dualStackDnsSuffix}",i],["https://monitoring-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",i],[a,
22
+ "FIPS and DualStack are enabled, but this partition does not support one or both"],["https://monitoring-fips.{Region}.{PartitionResult#dnsSuffix}",i],[a,"FIPS is enabled but this partition does not support FIPS"],[a,"DualStack is enabled but this partition does not support DualStack"],[a,"Invalid Configuration: Missing Region"]]},root=2,r=1e8,nodes=new Int32Array([-1,1,-1,0,14,3,1,4,r+11,2,5,r+11,3,8,6,4,7,r+4,7,r+5,r+10,4,11,9,5,r+4,10,6,r+8,r+9,5,r+5,12,6,13,r+7,7,r+6,r+7,3,r+1,15,4,r+2,r+3]),
23
+ bdd=BinaryDecisionDiagram.from(nodes,root,_data.conditions,_data.results),cache=new EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),defaultEndpointResolver=(endpointParams,context={})=>cache.get(endpointParams,()=>decideEndpoint(bdd,{endpointParams,logger:context.logger}));customEndpointFunctions.aws=awsEndpointFunctions;var CloudWatchServiceException=class _CloudWatchServiceException extends ServiceException{static shapeId="smithy.ts.sdk.synthetic.com.amazonaws.cl\
24
+ oudwatch#CloudWatchServiceException";constructor(options){super(options),Object.setPrototypeOf(this,_CloudWatchServiceException.prototype)}},ConflictException=class _ConflictException extends CloudWatchServiceException{static shapeId="com.amazonaws.cloudwatch#ConflictException";name="ConflictException";$fault="client";Message;constructor(opts){super({name:"ConflictException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ConflictException.prototype),this.Message=opts.Message}},KmsAccessDeniedException=class _KmsAccessDeniedException extends CloudWatchServiceException{static shapeId="\
25
+ com.amazonaws.cloudwatch#KmsAccessDeniedException";name="KmsAccessDeniedException";$fault="client";Message;constructor(opts){super({name:"KmsAccessDeniedException",$fault:"client",...opts}),Object.setPrototypeOf(this,_KmsAccessDeniedException.prototype),this.Message=opts.Message}},KmsKeyDisabledException=class _KmsKeyDisabledException extends CloudWatchServiceException{static shapeId="com.amazonaws.cloudwatch#KmsKeyDisabledException";name="KmsKeyDisabledException";$fault="client";Message;constructor(opts){
26
+ super({name:"KmsKeyDisabledException",$fault:"client",...opts}),Object.setPrototypeOf(this,_KmsKeyDisabledException.prototype),this.Message=opts.Message}},KmsKeyNotFoundException=class _KmsKeyNotFoundException extends CloudWatchServiceException{static shapeId="com.amazonaws.cloudwatch#KmsKeyNotFoundException";name="KmsKeyNotFoundException";$fault="client";Message;constructor(opts){super({name:"KmsKeyNotFoundException",$fault:"client",...opts}),Object.setPrototypeOf(this,_KmsKeyNotFoundException.
27
+ prototype),this.Message=opts.Message}},ResourceNotFoundException=class _ResourceNotFoundException extends CloudWatchServiceException{static shapeId="com.amazonaws.cloudwatch#ResourceNotFoundException";name="ResourceNotFoundException";$fault="client";ResourceType;ResourceId;Message;constructor(opts){super({name:"ResourceNotFoundException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ResourceNotFoundException.prototype),this.ResourceType=opts.ResourceType,this.ResourceId=opts.ResourceId,this.
28
+ Message=opts.Message}},ConcurrentModificationException=class _ConcurrentModificationException extends CloudWatchServiceException{static shapeId="com.amazonaws.cloudwatch#ConcurrentModificationException";name="ConcurrentModificationException";$fault="client";Message;constructor(opts){super({name:"ConcurrentModificationException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ConcurrentModificationException.prototype),this.Message=opts.Message}},DashboardInvalidInputError=class _DashboardInvalidInputError extends CloudWatchServiceException{static shapeId="\
29
+ com.amazonaws.cloudwatch#DashboardInvalidInputError";name="DashboardInvalidInputError";$fault="client";dashboardValidationMessages;constructor(opts){super({name:"DashboardInvalidInputError",$fault:"client",...opts}),Object.setPrototypeOf(this,_DashboardInvalidInputError.prototype),this.dashboardValidationMessages=opts.dashboardValidationMessages}},DashboardNotFoundError=class _DashboardNotFoundError extends CloudWatchServiceException{static shapeId="com.amazonaws.cloudwatch#DashboardNotFoundErro\
30
+ r";name="DashboardNotFoundError";$fault="client";constructor(opts){super({name:"DashboardNotFoundError",$fault:"client",...opts}),Object.setPrototypeOf(this,_DashboardNotFoundError.prototype)}},ResourceConflict=class _ResourceConflict extends CloudWatchServiceException{static shapeId="com.amazonaws.cloudwatch#ResourceConflict";name="ResourceConflict";$fault="client";constructor(opts){super({name:"ResourceConflict",$fault:"client",...opts}),Object.setPrototypeOf(this,_ResourceConflict.prototype)}},
31
+ ResourceNotFound=class _ResourceNotFound extends CloudWatchServiceException{static shapeId="com.amazonaws.cloudwatch#ResourceNotFound";name="ResourceNotFound";$fault="client";constructor(opts){super({name:"ResourceNotFound",$fault:"client",...opts}),Object.setPrototypeOf(this,_ResourceNotFound.prototype)}},InternalServiceFault=class _InternalServiceFault extends CloudWatchServiceException{static shapeId="com.amazonaws.cloudwatch#InternalServiceFault";name="InternalServiceFault";$fault="server";Message;constructor(opts){
32
+ super({name:"InternalServiceFault",$fault:"server",...opts}),Object.setPrototypeOf(this,_InternalServiceFault.prototype),this.Message=opts.Message}},InvalidParameterCombinationException=class _InvalidParameterCombinationException extends CloudWatchServiceException{static shapeId="com.amazonaws.cloudwatch#InvalidParameterCombinationException";name="InvalidParameterCombinationException";$fault="client";constructor(opts){super({name:"InvalidParameterCombinationException",$fault:"client",...opts}),Object.
33
+ setPrototypeOf(this,_InvalidParameterCombinationException.prototype)}},InvalidParameterValueException=class _InvalidParameterValueException extends CloudWatchServiceException{static shapeId="com.amazonaws.cloudwatch#InvalidParameterValueException";name="InvalidParameterValueException";$fault="client";constructor(opts){super({name:"InvalidParameterValueException",$fault:"client",...opts}),Object.setPrototypeOf(this,_InvalidParameterValueException.prototype)}},MissingRequiredParameterException=class _MissingRequiredParameterException extends CloudWatchServiceException{static shapeId="\
34
+ com.amazonaws.cloudwatch#MissingRequiredParameterException";name="MissingRequiredParameterException";$fault="client";constructor(opts){super({name:"MissingRequiredParameterException",$fault:"client",...opts}),Object.setPrototypeOf(this,_MissingRequiredParameterException.prototype)}},InvalidNextToken=class _InvalidNextToken extends CloudWatchServiceException{static shapeId="com.amazonaws.cloudwatch#InvalidNextToken";name="InvalidNextToken";$fault="client";constructor(opts){super({name:"InvalidNex\
35
+ tToken",$fault:"client",...opts}),Object.setPrototypeOf(this,_InvalidNextToken.prototype)}},LimitExceededException=class _LimitExceededException extends CloudWatchServiceException{static shapeId="com.amazonaws.cloudwatch#LimitExceededException";name="LimitExceededException";$fault="client";Message;constructor(opts){super({name:"LimitExceededException",$fault:"client",...opts}),Object.setPrototypeOf(this,_LimitExceededException.prototype),this.Message=opts.Message}},LimitExceededFault=class _LimitExceededFault extends CloudWatchServiceException{static shapeId="\
36
+ com.amazonaws.cloudwatch#LimitExceededFault";name="LimitExceededFault";$fault="client";constructor(opts){super({name:"LimitExceededFault",$fault:"client",...opts}),Object.setPrototypeOf(this,_LimitExceededFault.prototype)}},InvalidFormatFault=class _InvalidFormatFault extends CloudWatchServiceException{static shapeId="com.amazonaws.cloudwatch#InvalidFormatFault";name="InvalidFormatFault";$fault="client";constructor(opts){super({name:"InvalidFormatFault",$fault:"client",...opts}),Object.setPrototypeOf(
37
+ this,_InvalidFormatFault.prototype)}},ValidationException=class _ValidationException extends CloudWatchServiceException{static shapeId="com.amazonaws.cloudwatch#ValidationException";name="ValidationException";$fault="client";constructor(opts){super({name:"ValidationException",$fault:"client",...opts}),Object.setPrototypeOf(this,_ValidationException.prototype)}},_A="Average",_AA="AlarmActions",_AAV="ApproximateAggregateValue",_AAl="AlarmArn",_AC="ActionConfiguration",_ACA="AlarmContributorAttribu\
38
+ tes",_ACI="AlarmContributorId",_ACUT="AlarmConfigurationUpdatedTimestamp",_ACl="AlarmContributor",_ACla="AlarmContributors",_AD="AnomalyDetector",_ADC="AnomalyDetectorConfiguration",_ADETR="AnomalyDetectorExcludedTimeRanges",_ADI="AnomalyDetectorId",_ADIn="AnomalyDetectorIds",_ADKK="AssociateDatasetKmsKey",_ADKKI="AssociateDatasetKmsKeyInput",_ADKKO="AssociateDatasetKmsKeyOutput",_ADT="AnomalyDetectorTypes",_ADl="AlarmDescription",_ADn="AnomalyDetectors",_AE="ActionsEnabled",_AEg="AggregationExp\
39
+ ression",_AHI="AlarmHistoryItem",_AHIl="AlarmHistoryItems",_AI="AccountId",_ALLC="ActionLogLineCount",_ALLRA="ActionLogLineRoleArn",_AMRA="AlarmMuteRuleArn",_AMRN="AlarmMuteRuleName",_AMRS="AlarmMuteRuleSummary",_AMRSl="AlarmMuteRuleSummaries",_AN="AlarmName",_ANP="AlarmNamePrefix",_ANl="AlarmNames",_AOTL="ApplyOnTransformedLogs",_AP="ActionPrefix",_APQLC="AlarmPromQLCriteria",_AR="AlarmRule",_AS="AdaptationSpeed",_ASB="ActionsSuppressedBy",_ASEP="ActionsSuppressorExtensionPeriod",_ASR="ActionsS\
40
+ uppressedReason",_ASWP="ActionsSuppressorWaitPeriod",_ASc="ActionsSuppressor",_ASd="AdditionalStatistics",_ASg="AggregationStatistic",_AT="AlarmType",_ATP="AlarmTagsPropagation",_ATl="AlarmTypes",_AUC="ApproximateUniqueCount",_AV="AggregateValue",_AVp="ApproximateValue",_Ar="Arn",_At="Attributes",_BF="BatchFailures",_C="Configuration",_CA="ContributorAttributes",_CAo="CompositeAlarm",_CAom="CompositeAlarms",_CAr="CreatedAt",_CD="CreationDate",_CE="ConflictException",_CI="ContributorId",_CME="Con\
41
+ currentModificationException",_CO="ComparisonOperator",_COAN="ChildrenOfAlarmName",_CRMC="CreateResourceMetricsConfiguration",_CRMCI="CreateResourceMetricsConfigurationInput",_CRMCO="CreateResourceMetricsConfigurationOutput",_Co="Contributors",_Cod="Code",_Cou="Counts",_D="Dimensions",_DA="DashboardArn",_DAA="DisableAlarmActions",_DAAI="DisableAlarmActionsInput",_DAC="DescribeAlarmContributors",_DACI="DescribeAlarmContributorsInput",_DACO="DescribeAlarmContributorsOutput",_DAD="DeleteAnomalyDete\
42
+ ctor",_DADI="DeleteAnomalyDetectorInput",_DADIe="DescribeAnomalyDetectorsInput",_DADO="DeleteAnomalyDetectorOutput",_DADOe="DescribeAnomalyDetectorsOutput",_DADe="DescribeAnomalyDetectors",_DAFM="DescribeAlarmsForMetric",_DAFMI="DescribeAlarmsForMetricInput",_DAFMO="DescribeAlarmsForMetricOutput",_DAH="DescribeAlarmHistory",_DAHI="DescribeAlarmHistoryInput",_DAHO="DescribeAlarmHistoryOutput",_DAI="DeleteAlarmsInput",_DAIe="DescribeAlarmsInput",_DAMR="DeleteAlarmMuteRule",_DAMRI="DeleteAlarmMuteR\
43
+ uleInput",_DAO="DescribeAlarmsOutput",_DAe="DeleteAlarms",_DAes="DescribeAlarms",_DB="DashboardBody",_DD="DeleteDashboards",_DDI="DeleteDashboardsInput",_DDKK="DisassociateDatasetKmsKey",_DDKKI="DisassociateDatasetKmsKeyInput",_DDKKO="DisassociateDatasetKmsKeyOutput",_DDO="DeleteDashboardsOutput",_DE="DashboardEntry",_DEa="DashboardEntries",_DF="DimensionFilter",_DFi="DimensionFilters",_DI="DatasetIdentifier",_DIIE="DashboardInvalidInputError",_DIR="DeleteInsightRules",_DIRI="DeleteInsightRulesI\
44
+ nput",_DIRIe="DescribeInsightRulesInput",_DIRIi="DisableInsightRulesInput",_DIRO="DeleteInsightRulesOutput",_DIROe="DescribeInsightRulesOutput",_DIROi="DisableInsightRulesOutput",_DIRe="DescribeInsightRules",_DIRi="DisableInsightRules",_DIa="DatasetId",_DMDQD="DeleteMetricDataQueryDefinition",_DMDQDI="DeleteMetricDataQueryDefinitionInput",_DMDQDO="DeleteMetricDataQueryDefinitionOutput",_DMS="DeleteMetricStream",_DMSI="DeleteMetricStreamInput",_DMSO="DeleteMetricStreamOutput",_DN="DashboardName",
45
+ _DNFE="DashboardNotFoundError",_DNP="DashboardNamePrefix",_DNa="DashboardNames",_DP="DataPath",_DRMC="DeleteResourceMetricsConfiguration",_DRMCI="DeleteResourceMetricsConfigurationInput",_DRMCO="DeleteResourceMetricsConfigurationOutput",_DTA="DatapointsToAlarm",_DVM="DashboardValidationMessage",_DVMa="DashboardValidationMessages",_Da="Datapoint",_Dat="Datapoints",_De="Description",_Def="Definition",_Di="Dimension",_Du="Duration",_E="Enabled",_EAA="EnableAlarmActions",_EAAI="EnableAlarmActionsInp\
46
+ ut",_EC="EvaluationCriteria",_ED="ExpireDate",_EDn="EndDate",_EF="ExcludeFilters",_EI="EvaluationInterval",_EIR="EnableInsightRules",_EIRI="EnableInsightRulesInput",_EIRO="EnableInsightRulesOutput",_ELSCP="EvaluateLowSampleCountPercentile",_EMD="EntityMetricData",_EMDL="EntityMetricDataList",_EP="EvaluationPeriods",_ES="ExtendedStatistics",_ESv="EvaluationState",_ESx="ExtendedStatistic",_ET="EndTime",_ETK="ExcludedTagKeys",_ETO="EndTimeOffset",_ETR="ExcludedTimeRanges",_ETx="ExceptionType",_EW="\
47
+ EvaluationWindow",_En="Entity",_Ent="Entries",_Ex="Expression",_F="Failures",_FA="FirehoseArn",_FC="FailureCode",_FD="FailureDescription",_FR="FailureResource",_GAMR="GetAlarmMuteRule",_GAMRI="GetAlarmMuteRuleInput",_GAMRO="GetAlarmMuteRuleOutput",_GD="GetDashboard",_GDI="GetDashboardInput",_GDIe="GetDatasetInput",_GDO="GetDashboardOutput",_GDOe="GetDatasetOutput",_GDe="GetDataset",_GIRR="GetInsightRuleReport",_GIRRI="GetInsightRuleReportInput",_GIRRO="GetInsightRuleReportOutput",_GMD="GetMetric\
48
+ Data",_GMDI="GetMetricDataInput",_GMDO="GetMetricDataOutput",_GMDQD="GetMetricDataQueryDefinition",_GMDQDI="GetMetricDataQueryDefinitionInput",_GMDQDO="GetMetricDataQueryDefinitionOutput",_GMS="GetMetricStatistics",_GMSI="GetMetricStatisticsInput",_GMSIe="GetMetricStreamInput",_GMSO="GetMetricStatisticsOutput",_GMSOe="GetMetricStreamOutput",_GMSe="GetMetricStream",_GMWI="GetMetricWidgetImage",_GMWII="GetMetricWidgetImageInput",_GMWIO="GetMetricWidgetImageOutput",_GOTE="GetOTelEnrichment",_GOTEI="\
49
+ GetOTelEnrichmentInput",_GOTEO="GetOTelEnrichmentOutput",_GRMC="GetResourceMetricsConfiguration",_GRMCI="GetResourceMetricsConfigurationInput",_GRMCO="GetResourceMetricsConfigurationOutput",_HD="HistoryData",_HIT="HistoryItemType",_HS="HistorySummary",_I="Id",_IDA="InsufficientDataActions",_IF="IncludeFilters",_IFF="InvalidFormatFault",_ILA="IncludeLinkedAccounts",_ILAM="IncludeLinkedAccountsMetrics",_IM="IncludeMetrics",_INT="InvalidNextToken",_IPCE="InvalidParameterCombinationException",_IPVE="\
50
+ InvalidParameterValueException",_IR="InsightRules",_IRC="InsightRuleContributor",_IRCD="InsightRuleContributorDatapoint",_IRCDn="InsightRuleContributorDatapoints",_IRCn="InsightRuleContributors",_IRMD="InsightRuleMetricDatapoint",_IRMDn="InsightRuleMetricDatapoints",_IRn="InsightRule",_ISF="InternalServiceFault",_ITK="IncludedTagKeys",_It="Items",_K="Keys",_KA="KeyAttributes",_KADE="KmsAccessDeniedException",_KKA="KmsKeyArn",_KKDE="KmsKeyDisabledException",_KKNFE="KmsKeyNotFoundException",_KL="K\
51
+ eyLabels",_Ke="Key",_L="Label",_LA="LogAlarms",_LAMR="ListAlarmMuteRules",_LAMRI="ListAlarmMuteRulesInput",_LAMRO="ListAlarmMuteRulesOutput",_LAo="LogAlarm",_LD="ListDashboards",_LDI="ListDashboardsInput",_LDO="ListDashboardsOutput",_LEE="LimitExceededException",_LEF="LimitExceededFault",_LGI="LogGroupIdentifiers",_LM="LastModified",_LMDQD="ListMetricDataQueryDefinitions",_LMDQDI="ListMetricDataQueryDefinitionsInput",_LMDQDO="ListMetricDataQueryDefinitionsOutput",_LMI="ListMetricsInput",_LMIR="L\
52
+ istManagedInsightRules",_LMIRI="ListManagedInsightRulesInput",_LMIRO="ListManagedInsightRulesOutput",_LMO="ListMetricsOutput",_LMS="ListMetricStreams",_LMSI="ListMetricStreamsInput",_LMSO="ListMetricStreamsOutput",_LMi="ListMetrics",_LO="LabelOptions",_LTFR="ListTagsForResource",_LTFRI="ListTagsForResourceInput",_LTFRO="ListTagsForResourceOutput",_LUD="LastUpdateDate",_LUT="LastUpdatedTimestamp",_M="Message",_MA="MetricAlarms",_MAe="MetricAlarm",_MC="MetricCharacteristics",_MCC="MaxContributorCo\
53
+ unt",_MCV="MaxContributorValue",_MD="MetricData",_MDQ="MetricDataQueries",_MDQDS="MetricDataQueryDefinitionSummary",_MDQDSe="MetricDataQueryDefinitionSummaries",_MDQe="MetricDataQuery",_MDR="MetricDataResults",_MDRM="MetricDataResultMessages",_MDRe="MetricDataResult",_MDa="MaxDatapoints",_MDe="MetricDatapoints",_MDes="MessageData",_MDet="MetricDatum",_MES="MetricExpressionString",_MMAD="MetricMathAnomalyDetector",_MN="MetricName",_MNe="MetricNames",_MR="MaxRecords",_MRD="ManagedRuleDescription",
54
+ _MRDa="ManagedRuleDescriptions",_MRPE="MissingRequiredParameterException",_MRS="ManagedRuleState",_MRa="MaxResults",_MRan="ManagedRule",_MRana="ManagedRules",_MS="MetricSelections",_MSE="MetricStreamEntry",_MSEe="MetricStreamEntries",_MSF="MetricStreamFilter",_MSFe="MetricStreamFilters",_MSSC="MetricStreamStatisticsConfiguration",_MSSCe="MetricStreamStatisticsConfigurations",_MSSIM="MetricStreamStatisticsIncludeMetrics",_MSSM="MetricStreamStatisticsMetric",_MSe="MetricStat",_MT="MuteType",_MTe="\
55
+ MetricTimezone",_MTu="MuteTargets",_MW="MetricWidget",_MWI="MetricWidgetImage",_Ma="Maximum",_Me="Metrics",_Mes="Messages",_Met="Metric",_Mi="Minimum",_N="Namespace",_NT="NextToken",_Na="Name",_Nam="Names",_OA="OwningAccount",_OAw="OwningAccounts",_OB="OrderBy",_OF="OutputFormat",_OFS="OutlierFilteringStrength",_OKA="OKActions",_OSEAWUPE="OnlyStartEvaluatingAfterWarmUpPeriodEnds",_OTEMS="OTelEnrichmentMetricSelector",_OTEMSL="OTelEnrichmentMetricSelectorList",_P="Period",_PAD="PutAnomalyDetector",
56
+ _PADI="PutAnomalyDetectorInput",_PADO="PutAnomalyDetectorOutput",_PAMR="PutAlarmMuteRule",_PAMRI="PutAlarmMuteRuleInput",_PCA="PutCompositeAlarm",_PCAI="PutCompositeAlarmInput",_PD="PutDashboard",_PDI="PutDashboardInput",_PDO="PutDashboardOutput",_PF="PartialFailure",_PIR="PutInsightRule",_PIRI="PutInsightRuleInput",_PIRO="PutInsightRuleOutput",_PLA="PutLogAlarm",_PLAI="PutLogAlarmInput",_PMA="PutMetricAlarm",_PMAI="PutMetricAlarmInput",_PMD="PutMetricData",_PMDI="PutMetricDataInput",_PMDQD="Put\
57
+ MetricDataQueryDefinition",_PMDQDI="PutMetricDataQueryDefinitionInput",_PMDQDO="PutMetricDataQueryDefinitionOutput",_PMIR="PutManagedInsightRules",_PMIRI="PutManagedInsightRulesInput",_PMIRO="PutManagedInsightRulesOutput",_PMS="PutMetricStream",_PMSI="PutMetricStreamInput",_PMSO="PutMetricStreamOutput",_POAN="ParentsOfAlarmName",_PP="PendingPeriod",_PQLC="PromQLCriteria",_PS="PeriodicSpikes",_Pa="Path",_Q="Query",_QARN="QueryARN",_QRTA="QueryResultsToAlarm",_QRTE="QueryResultsToEvaluate",_QS="Qu\
58
+ eryString",_R="Rule",_RA="ResourceArn",_RARN="ResourceARN",_RAe="RecentlyActive",_RAo="RoleArn",_RC="ResourceConflict",_RD="ReturnData",_RDu="RuleDefinition",_RI="ResourceId",_RMC="ResourceMetricsConfiguration",_RMS="ResourceMetricSelection",_RMSL="ResourceMetricSelectionList",_RN="RuleNames",_RNF="ResourceNotFound",_RNFE="ResourceNotFoundException",_RNu="RuleName",_RP="RecoveryPeriod",_RS="RuleState",_RT="ResourceType",_Ra="Range",_S="Status",_SAS="SetAlarmState",_SASI="SetAlarmStateInput",_SB="\
59
+ ScanBy",_SC="SampleCount",_SCc="ScheduleConfiguration",_SCt="StatisticsConfigurations",_SCta="StatusCode",_SD="StartDate",_SE="ScheduleExpression",_SEV="StrictEntityValidation",_SMAD="SingleMetricAnomalyDetector",_SMS="StartMetricStreams",_SMSI="StartMetricStreamsInput",_SMSIt="StopMetricStreamsInput",_SMSO="StartMetricStreamsOutput",_SMSOt="StopMetricStreamsOutput",_SMSt="StopMetricStreams",_SOTE="StartOTelEnrichment",_SOTEI="StartOTelEnrichmentInput",_SOTEIt="StopOTelEnrichmentInput",_SOTEO="S\
60
+ tartOTelEnrichmentOutput",_SOTEOt="StopOTelEnrichmentOutput",_SOTEt="StopOTelEnrichment",_SQC="ScheduledQueryConfiguration",_SQRARN="ScheduledQueryRoleARN",_SR="StateReason",_SRD="StateReasonData",_SRt="StorageResolution",_SS="StatisticSet",_ST="StartTime",_STO="StartTimeOffset",_STT="StateTransitionedTimestamp",_SUT="StateUpdatedTimestamp",_SV="StateValue",_SVt="StatisticValues",_SW="SlidingWindow",_Sc="Schema",_Sch="Schedule",_Si="Size",_St="Stat",_Sta="Statistic",_Stat="Statistics",_State="St\
61
+ ate",_Statu="Statuses",_Su="Sum",_T="Timestamp",_TK="TagKeys",_TL="TagList",_TMD="TreatMissingData",_TMI="ThresholdMetricId",_TN="TemplateName",_TR="TagResource",_TRI="TagResourceInput",_TRO="TagResourceOutput",_Ta="Tags",_Tag="Tag",_Th="Threshold",_Ti="Timezone",_Tim="Timestamps",_Ty="Type",_U="Unit",_UA="UpdatedAt",_UC="UniqueContributors",_UOTE="UpdateOTelEnrichment",_UOTEI="UpdateOTelEnrichmentInput",_UOTEO="UpdateOTelEnrichmentOutput",_UR="UntagResource",_URI="UntagResourceInput",_URMC="Upd\
62
+ ateResourceMetricsConfiguration",_URMCI="UpdateResourceMetricsConfigurationInput",_URMCO="UpdateResourceMetricsConfigurationOutput",_URO="UntagResourceOutput",_V="Value",_VE="ValidationException",_Va="Values",_WCW="WallClockWindow",_WUC="WarmUpConfiguration",_WUPDIM="WarmUpPeriodDurationInMinutes",_aQE="awsQueryError",_c="client",_dVM="dashboardValidationMessages",_e="error",_hE="httpError",_m="message",_s="smithy.ts.sdk.synthetic.com.amazonaws.cloudwatch",_se="server",n0="com.amazonaws.cloudwat\
63
+ ch",_s_registry=new TypeRegistry(_s),CloudWatchServiceException$=[-3,_s,"CloudWatchServiceException",0,[],[]];_s_registry.registerError(CloudWatchServiceException$,CloudWatchServiceException);var n0_registry=new TypeRegistry(n0),ConcurrentModificationException$=[-3,n0,_CME,{[_aQE]:["ConcurrentModificationException",429],[_e]:_c,[_hE]:429},[_M],[0]];n0_registry.registerError(ConcurrentModificationException$,ConcurrentModificationException);var ConflictException$=[-3,n0,_CE,{[_e]:_c,[_hE]:409},[_M],
64
+ [0]];n0_registry.registerError(ConflictException$,ConflictException);var DashboardInvalidInputError$=[-3,n0,_DIIE,{[_aQE]:["InvalidParameterInput",400],[_e]:_c,[_hE]:400},[_m,_dVM],[0,()=>DashboardValidationMessages]];n0_registry.registerError(DashboardInvalidInputError$,DashboardInvalidInputError);var DashboardNotFoundError$=[-3,n0,_DNFE,{[_aQE]:["ResourceNotFound",404],[_e]:_c,[_hE]:404},[_m],[0]];n0_registry.registerError(DashboardNotFoundError$,DashboardNotFoundError);var InternalServiceFault$=[
65
+ -3,n0,_ISF,{[_aQE]:["InternalServiceError",500],[_e]:_se,[_hE]:500},[_M],[0]];n0_registry.registerError(InternalServiceFault$,InternalServiceFault);var InvalidFormatFault$=[-3,n0,_IFF,{[_aQE]:["InvalidFormat",400],[_e]:_c,[_hE]:400},[_m],[0]];n0_registry.registerError(InvalidFormatFault$,InvalidFormatFault);var InvalidNextToken$=[-3,n0,_INT,{[_aQE]:["InvalidNextToken",400],[_e]:_c,[_hE]:400},[_m],[0]];n0_registry.registerError(InvalidNextToken$,InvalidNextToken);var InvalidParameterCombinationException$=[
66
+ -3,n0,_IPCE,{[_aQE]:["InvalidParameterCombination",400],[_e]:_c,[_hE]:400},[_m],[0]];n0_registry.registerError(InvalidParameterCombinationException$,InvalidParameterCombinationException);var InvalidParameterValueException$=[-3,n0,_IPVE,{[_aQE]:["InvalidParameterValue",400],[_e]:_c,[_hE]:400},[_m],[0]];n0_registry.registerError(InvalidParameterValueException$,InvalidParameterValueException);var KmsAccessDeniedException$=[-3,n0,_KADE,{[_e]:_c},[_M],[0],1];n0_registry.registerError(KmsAccessDeniedException$,
67
+ KmsAccessDeniedException);var KmsKeyDisabledException$=[-3,n0,_KKDE,{[_e]:_c},[_M],[0],1];n0_registry.registerError(KmsKeyDisabledException$,KmsKeyDisabledException);var KmsKeyNotFoundException$=[-3,n0,_KKNFE,{[_e]:_c},[_M],[0],1];n0_registry.registerError(KmsKeyNotFoundException$,KmsKeyNotFoundException);var LimitExceededException$=[-3,n0,_LEE,{[_aQE]:["LimitExceededException",400],[_e]:_c,[_hE]:400},[_M],[0]];n0_registry.registerError(LimitExceededException$,LimitExceededException);var LimitExceededFault$=[
68
+ -3,n0,_LEF,{[_aQE]:["LimitExceeded",400],[_e]:_c,[_hE]:400},[_m],[0]];n0_registry.registerError(LimitExceededFault$,LimitExceededFault);var MissingRequiredParameterException$=[-3,n0,_MRPE,{[_aQE]:["MissingParameter",400],[_e]:_c,[_hE]:400},[_m],[0]];n0_registry.registerError(MissingRequiredParameterException$,MissingRequiredParameterException);var ResourceConflict$=[-3,n0,_RC,{[_aQE]:["ResourceConflict",409],[_e]:_c,[_hE]:409},[_m],[0]];n0_registry.registerError(ResourceConflict$,ResourceConflict);
69
+ var ResourceNotFound$=[-3,n0,_RNF,{[_aQE]:["ResourceNotFound",404],[_e]:_c,[_hE]:404},[_m],[0]];n0_registry.registerError(ResourceNotFound$,ResourceNotFound);var ResourceNotFoundException$=[-3,n0,_RNFE,{[_aQE]:["ResourceNotFoundException",404],[_e]:_c,[_hE]:404},[_RT,_RI,_M],[0,0,0]];n0_registry.registerError(ResourceNotFoundException$,ResourceNotFoundException);var ValidationException$=[-3,n0,_VE,{[_aQE]:["ValidationError",400],[_e]:_c,[_hE]:400},[_m],[0]];n0_registry.registerError(ValidationException$,
70
+ ValidationException);var errorTypeRegistries=[_s_registry,n0_registry],MetricExpressionString=[0,n0,_MES,8,0],ActionConfiguration$=[3,n0,_AC,0,[_ATP],[()=>AlarmTagsPropagation$]],AlarmContributor$=[3,n0,_ACl,0,[_CI,_CA,_SR,_STT],[0,128,0,4],3],AlarmHistoryItem$=[3,n0,_AHI,0,[_AN,_ACI,_AT,_T,_HIT,_HS,_HD,_ACA],[0,0,0,4,0,0,0,128]],AlarmMuteRuleSummary$=[3,n0,_AMRS,0,[_AMRA,_ED,_S,_MT,_LUT],[0,4,0,0,4]],AlarmPromQLCriteria$=[3,n0,_APQLC,0,[_Q,_PP,_RP],[0,1,1],1],AlarmTagsPropagation$=[3,n0,_ATP,0,
71
+ [_E,_ITK,_ETK],[2,64,64],1],AnomalyDetector$=[3,n0,_AD,0,[_ADI,_N,_MN,_D,_St,_C,_SV,_MC,_SMAD,_MMAD],[0,0,0,()=>Dimensions,0,()=>AnomalyDetectorConfiguration$,0,()=>MetricCharacteristics$,()=>SingleMetricAnomalyDetector$,()=>MetricMathAnomalyDetector$]],AnomalyDetectorConfiguration$=[3,n0,_ADC,0,[_ETR,_MTe,_AS,_OFS],[()=>AnomalyDetectorExcludedTimeRanges,0,0,0]],AssociateDatasetKmsKeyInput$=[3,n0,_ADKKI,0,[_DI,_KKA],[0,0],2],AssociateDatasetKmsKeyOutput$=[3,n0,_ADKKO,0,[],[]],CompositeAlarm$=[3,
72
+ n0,_CAo,0,[_AE,_AA,_AAl,_ACUT,_ADl,_AN,_AR,_IDA,_OKA,_SR,_SRD,_SUT,_SV,_STT,_ASB,_ASR,_ASc,_ASWP,_ASEP,_AC],[2,64,0,4,0,0,0,64,64,0,0,4,0,4,0,0,0,1,1,()=>ActionConfiguration$]],CreateResourceMetricsConfigurationInput$=[3,n0,_CRMCI,0,[_RA,_MS],[0,()=>ResourceMetricSelectionList],1],CreateResourceMetricsConfigurationOutput$=[3,n0,_CRMCO,0,[_RMC],[()=>ResourceMetricsConfiguration$],1],DashboardEntry$=[3,n0,_DE,0,[_DN,_DA,_LM,_Si],[0,0,4,1]],DashboardValidationMessage$=[3,n0,_DVM,0,[_DP,_M],[0,0]],Datapoint$=[
73
+ 3,n0,_Da,0,[_T,_SC,_A,_Su,_Mi,_Ma,_U,_ES],[4,1,1,1,1,1,0,129]],DeleteAlarmMuteRuleInput$=[3,n0,_DAMRI,0,[_AMRN],[0],1],DeleteAlarmsInput$=[3,n0,_DAI,0,[_ANl],[64],1],DeleteAnomalyDetectorInput$=[3,n0,_DADI,0,[_ADI,_N,_MN,_D,_St,_SMAD,_MMAD],[0,0,0,()=>Dimensions,0,()=>SingleMetricAnomalyDetector$,()=>MetricMathAnomalyDetector$]],DeleteAnomalyDetectorOutput$=[3,n0,_DADO,0,[],[]],DeleteDashboardsInput$=[3,n0,_DDI,0,[_DNa],[64],1],DeleteDashboardsOutput$=[3,n0,_DDO,0,[],[]],DeleteInsightRulesInput$=[
74
+ 3,n0,_DIRI,0,[_RN],[64],1],DeleteInsightRulesOutput$=[3,n0,_DIRO,0,[_F],[()=>BatchFailures]],DeleteMetricDataQueryDefinitionInput$=[3,n0,_DMDQDI,0,[_I],[0],1],DeleteMetricDataQueryDefinitionOutput$=[3,n0,_DMDQDO,0,[],[]],DeleteMetricStreamInput$=[3,n0,_DMSI,0,[_Na],[0],1],DeleteMetricStreamOutput$=[3,n0,_DMSO,0,[],[]],DeleteResourceMetricsConfigurationInput$=[3,n0,_DRMCI,0,[_RA],[0],1],DeleteResourceMetricsConfigurationOutput$=[3,n0,_DRMCO,0,[],[]],DescribeAlarmContributorsInput$=[3,n0,_DACI,0,[
75
+ _AN,_NT],[0,0],1],DescribeAlarmContributorsOutput$=[3,n0,_DACO,0,[_ACla,_NT],[()=>AlarmContributors,0],1],DescribeAlarmHistoryInput$=[3,n0,_DAHI,0,[_AN,_ACI,_ATl,_HIT,_SD,_EDn,_MR,_NT,_SB],[0,0,64,0,4,4,1,0,0]],DescribeAlarmHistoryOutput$=[3,n0,_DAHO,0,[_AHIl,_NT],[()=>AlarmHistoryItems,0]],DescribeAlarmsForMetricInput$=[3,n0,_DAFMI,0,[_MN,_N,_Sta,_ESx,_D,_P,_U],[0,0,0,0,()=>Dimensions,1,0],2],DescribeAlarmsForMetricOutput$=[3,n0,_DAFMO,0,[_MA],[()=>MetricAlarms]],DescribeAlarmsInput$=[3,n0,_DAIe,
76
+ 0,[_ANl,_ANP,_ATl,_COAN,_POAN,_SV,_AP,_MR,_NT],[64,0,64,0,0,0,0,1,0]],DescribeAlarmsOutput$=[3,n0,_DAO,0,[_CAom,_MA,_LA,_NT],[()=>CompositeAlarms,()=>MetricAlarms,()=>LogAlarms,0]],DescribeAnomalyDetectorsInput$=[3,n0,_DADIe,0,[_ADIn,_NT,_MRa,_N,_MN,_D,_ADT],[64,0,1,0,0,()=>Dimensions,64]],DescribeAnomalyDetectorsOutput$=[3,n0,_DADOe,0,[_ADn,_NT],[()=>AnomalyDetectors,0]],DescribeInsightRulesInput$=[3,n0,_DIRIe,0,[_NT,_MRa],[0,1]],DescribeInsightRulesOutput$=[3,n0,_DIROe,0,[_NT,_IR],[0,()=>InsightRules]],
77
+ Dimension$=[3,n0,_Di,0,[_Na,_V],[0,0],2],DimensionFilter$=[3,n0,_DF,0,[_Na,_V],[0,0],1],DisableAlarmActionsInput$=[3,n0,_DAAI,0,[_ANl],[64],1],DisableInsightRulesInput$=[3,n0,_DIRIi,0,[_RN],[64],1],DisableInsightRulesOutput$=[3,n0,_DIROi,0,[_F],[()=>BatchFailures]],DisassociateDatasetKmsKeyInput$=[3,n0,_DDKKI,0,[_DI],[0],1],DisassociateDatasetKmsKeyOutput$=[3,n0,_DDKKO,0,[],[]],EnableAlarmActionsInput$=[3,n0,_EAAI,0,[_ANl],[64],1],EnableInsightRulesInput$=[3,n0,_EIRI,0,[_RN],[64],1],EnableInsightRulesOutput$=[
78
+ 3,n0,_EIRO,0,[_F],[()=>BatchFailures]],Entity$=[3,n0,_En,0,[_KA,_At],[128,128]],EntityMetricData$=[3,n0,_EMD,0,[_En,_MD],[()=>Entity$,()=>MetricData]],GetAlarmMuteRuleInput$=[3,n0,_GAMRI,0,[_AMRN],[0],1],GetAlarmMuteRuleOutput$=[3,n0,_GAMRO,0,[_Na,_AMRA,_De,_R,_MTu,_SD,_ED,_S,_LUT,_MT],[0,0,0,()=>Rule$,()=>MuteTargets$,4,4,0,4,0]],GetDashboardInput$=[3,n0,_GDI,0,[_DN],[0],1],GetDashboardOutput$=[3,n0,_GDO,0,[_DA,_DB,_DN],[0,0,0]],GetDatasetInput$=[3,n0,_GDIe,0,[_DI],[0],1],GetDatasetOutput$=[3,n0,
79
+ _GDOe,0,[_DIa,_Ar,_KKA],[0,0,0],2],GetInsightRuleReportInput$=[3,n0,_GIRRI,0,[_RNu,_ST,_ET,_P,_MCC,_Me,_OB],[0,4,4,1,1,64,0],4],GetInsightRuleReportOutput$=[3,n0,_GIRRO,0,[_KL,_ASg,_AV,_AUC,_Co,_MDe],[64,0,1,1,()=>InsightRuleContributors,()=>InsightRuleMetricDatapoints]],GetMetricDataInput$=[3,n0,_GMDI,0,[_MDQ,_ST,_ET,_NT,_SB,_MDa,_LO],[()=>MetricDataQueries,4,4,0,0,1,()=>LabelOptions$],3],GetMetricDataOutput$=[3,n0,_GMDO,0,[_MDR,_NT,_Mes],[()=>MetricDataResults,0,()=>MetricDataResultMessages]],
80
+ GetMetricDataQueryDefinitionInput$=[3,n0,_GMDQDI,0,[_I],[0],1],GetMetricDataQueryDefinitionOutput$=[3,n0,_GMDQDO,0,[_I,_Ar,_Pa,_Ex,_Ty,_CAr,_UA],[0,0,0,[()=>MetricExpressionString,0],0,4,4],7],GetMetricStatisticsInput$=[3,n0,_GMSI,0,[_N,_MN,_ST,_ET,_P,_D,_Stat,_ES,_U],[0,0,4,4,1,()=>Dimensions,64,64,0],5],GetMetricStatisticsOutput$=[3,n0,_GMSO,0,[_L,_Dat],[0,()=>Datapoints]],GetMetricStreamInput$=[3,n0,_GMSIe,0,[_Na],[0],1],GetMetricStreamOutput$=[3,n0,_GMSOe,0,[_Ar,_Na,_IF,_EF,_FA,_RAo,_State,_CD,
81
+ _LUD,_OF,_SCt,_ILAM],[0,0,()=>MetricStreamFilters,()=>MetricStreamFilters,0,0,0,4,4,0,()=>MetricStreamStatisticsConfigurations,2]],GetMetricWidgetImageInput$=[3,n0,_GMWII,0,[_MW,_OF],[0,0],1],GetMetricWidgetImageOutput$=[3,n0,_GMWIO,0,[_MWI],[21]],GetOTelEnrichmentInput$=[3,n0,_GOTEI,0,[],[]],GetOTelEnrichmentOutput$=[3,n0,_GOTEO,0,[_S,_IF,_EF,_CAr,_UA],[0,()=>OTelEnrichmentMetricSelectorList,()=>OTelEnrichmentMetricSelectorList,4,4],1],GetResourceMetricsConfigurationInput$=[3,n0,_GRMCI,0,[_RA],
82
+ [0],1],GetResourceMetricsConfigurationOutput$=[3,n0,_GRMCO,0,[_RMC],[()=>ResourceMetricsConfiguration$],1],InsightRule$=[3,n0,_IRn,0,[_Na,_State,_Sc,_Def,_MRan,_AOTL],[0,0,0,0,2,2],4],InsightRuleContributor$=[3,n0,_IRC,0,[_K,_AAV,_Dat],[64,1,()=>InsightRuleContributorDatapoints],3],InsightRuleContributorDatapoint$=[3,n0,_IRCD,0,[_T,_AVp],[4,1],2],InsightRuleMetricDatapoint$=[3,n0,_IRMD,0,[_T,_UC,_MCV,_SC,_A,_Su,_Mi,_Ma],[4,1,1,1,1,1,1,1],1],LabelOptions$=[3,n0,_LO,0,[_Ti],[0]],ListAlarmMuteRulesInput$=[
83
+ 3,n0,_LAMRI,0,[_AN,_Statu,_MR,_NT],[0,64,1,0]],ListAlarmMuteRulesOutput$=[3,n0,_LAMRO,0,[_AMRSl,_NT],[()=>AlarmMuteRuleSummaries,0]],ListDashboardsInput$=[3,n0,_LDI,0,[_DNP,_NT],[0,0]],ListDashboardsOutput$=[3,n0,_LDO,0,[_DEa,_NT],[()=>DashboardEntries,0]],ListManagedInsightRulesInput$=[3,n0,_LMIRI,0,[_RARN,_NT,_MRa],[0,0,1],1],ListManagedInsightRulesOutput$=[3,n0,_LMIRO,0,[_MRana,_NT],[()=>ManagedRuleDescriptions,0]],ListMetricDataQueryDefinitionsInput$=[3,n0,_LMDQDI,0,[_MRa,_NT],[1,0]],ListMetricDataQueryDefinitionsOutput$=[
84
+ 3,n0,_LMDQDO,0,[_It,_NT],[()=>MetricDataQueryDefinitionSummaries,0],1],ListMetricsInput$=[3,n0,_LMI,0,[_N,_MN,_D,_NT,_RAe,_ILA,_OA],[0,0,()=>DimensionFilters,0,0,2,0]],ListMetricsOutput$=[3,n0,_LMO,0,[_Me,_NT,_OAw],[()=>Metrics,0,64]],ListMetricStreamsInput$=[3,n0,_LMSI,0,[_NT,_MRa],[0,1]],ListMetricStreamsOutput$=[3,n0,_LMSO,0,[_NT,_Ent],[0,()=>MetricStreamEntries]],ListTagsForResourceInput$=[3,n0,_LTFRI,0,[_RARN],[0],1],ListTagsForResourceOutput$=[3,n0,_LTFRO,0,[_Ta],[()=>TagList]],LogAlarm$=[
85
+ 3,n0,_LAo,0,[_AN,_AAl,_ADl,_ACUT,_AE,_OKA,_AA,_IDA,_SV,_SR,_SRD,_SUT,_SQC,_QRTE,_QRTA,_Th,_CO,_TMD,_STT,_ESv,_ALLC,_ALLRA,_WUC,_AC],[0,0,0,4,2,64,64,64,0,0,0,4,()=>ScheduledQueryConfiguration$,1,1,1,0,0,4,0,1,0,()=>WarmUpConfiguration$,()=>ActionConfiguration$]],ManagedRule$=[3,n0,_MRan,0,[_TN,_RARN,_Ta],[0,0,()=>TagList],2],ManagedRuleDescription$=[3,n0,_MRD,0,[_TN,_RARN,_RS],[0,0,()=>ManagedRuleState$]],ManagedRuleState$=[3,n0,_MRS,0,[_RNu,_State],[0,0],2],MessageData$=[3,n0,_MDes,0,[_Cod,_V],
86
+ [0,0]],Metric$=[3,n0,_Met,0,[_N,_MN,_D],[0,0,()=>Dimensions]],MetricAlarm$=[3,n0,_MAe,0,[_AN,_AAl,_ADl,_ACUT,_AE,_OKA,_AA,_IDA,_SV,_SR,_SRD,_SUT,_MN,_N,_Sta,_ESx,_D,_P,_U,_EP,_DTA,_Th,_CO,_TMD,_ELSCP,_Me,_TMI,_ESv,_STT,_EW,_WUC,_EC,_EI,_AC],[0,0,0,4,2,64,64,64,0,0,0,4,0,0,0,0,()=>Dimensions,1,0,1,1,1,0,0,0,()=>MetricDataQueries,0,0,4,()=>EvaluationWindow$,()=>WarmUpConfiguration$,()=>EvaluationCriteria$,1,()=>ActionConfiguration$]],MetricCharacteristics$=[3,n0,_MC,0,[_PS],[2]],MetricDataQuery$=[
87
+ 3,n0,_MDQe,0,[_I,_MSe,_Ex,_L,_RD,_P,_AI],[0,()=>MetricStat$,0,0,2,1,0],1],MetricDataQueryDefinitionSummary$=[3,n0,_MDQDS,0,[_I,_Pa,_Ty,_UA],[0,0,0,4],3],MetricDataResult$=[3,n0,_MDRe,0,[_I,_L,_Tim,_Va,_SCta,_Mes],[0,0,68,65,0,()=>MetricDataResultMessages]],MetricDatum$=[3,n0,_MDet,0,[_MN,_D,_T,_V,_SVt,_Va,_Cou,_U,_SRt],[0,()=>Dimensions,4,1,()=>StatisticSet$,65,65,0,1],1],MetricMathAnomalyDetector$=[3,n0,_MMAD,0,[_MDQ],[()=>MetricDataQueries]],MetricStat$=[3,n0,_MSe,0,[_Met,_P,_St,_U],[()=>Metric$,
88
+ 1,0,0],3],MetricStreamEntry$=[3,n0,_MSE,0,[_Ar,_CD,_LUD,_Na,_FA,_State,_OF],[0,4,4,0,0,0,0]],MetricStreamFilter$=[3,n0,_MSF,0,[_N,_MNe],[0,64]],MetricStreamStatisticsConfiguration$=[3,n0,_MSSC,0,[_IM,_ASd],[()=>MetricStreamStatisticsIncludeMetrics,64],2],MetricStreamStatisticsMetric$=[3,n0,_MSSM,0,[_N,_MN],[0,0],2],MuteTargets$=[3,n0,_MTu,0,[_ANl],[64],1],OTelEnrichmentMetricSelector$=[3,n0,_OTEMS,0,[_N,_MNe],[0,64],1],PartialFailure$=[3,n0,_PF,0,[_FR,_ETx,_FC,_FD],[0,0,0,0]],PutAlarmMuteRuleInput$=[
89
+ 3,n0,_PAMRI,0,[_Na,_R,_De,_MTu,_Ta,_SD,_ED],[0,()=>Rule$,0,()=>MuteTargets$,()=>TagList,4,4],2],PutAnomalyDetectorInput$=[3,n0,_PADI,0,[_N,_MN,_D,_St,_C,_MC,_SMAD,_MMAD],[0,0,()=>Dimensions,0,()=>AnomalyDetectorConfiguration$,()=>MetricCharacteristics$,()=>SingleMetricAnomalyDetector$,()=>MetricMathAnomalyDetector$]],PutAnomalyDetectorOutput$=[3,n0,_PADO,0,[_ADI],[0]],PutCompositeAlarmInput$=[3,n0,_PCAI,0,[_AN,_AR,_AE,_AA,_ADl,_IDA,_OKA,_Ta,_ASc,_ASWP,_ASEP,_AC],[0,0,2,64,0,64,64,()=>TagList,0,1,
90
+ 1,()=>ActionConfiguration$],2],PutDashboardInput$=[3,n0,_PDI,0,[_DN,_DB,_Ta],[0,0,()=>TagList],2],PutDashboardOutput$=[3,n0,_PDO,0,[_DVMa],[()=>DashboardValidationMessages]],PutInsightRuleInput$=[3,n0,_PIRI,0,[_RNu,_RDu,_RS,_Ta,_AOTL],[0,0,0,()=>TagList,2],2],PutInsightRuleOutput$=[3,n0,_PIRO,0,[],[]],PutLogAlarmInput$=[3,n0,_PLAI,0,[_AN,_SQC,_QRTE,_QRTA,_Th,_CO,_ADl,_ALLC,_ALLRA,_AE,_OKA,_AA,_IDA,_TMD,_Ta,_WUC,_AC],[0,()=>ScheduledQueryConfiguration$,1,1,1,0,0,1,0,2,64,64,64,0,()=>TagList,()=>WarmUpConfiguration$,
91
+ ()=>ActionConfiguration$],6],PutManagedInsightRulesInput$=[3,n0,_PMIRI,0,[_MRana],[()=>ManagedRules],1],PutManagedInsightRulesOutput$=[3,n0,_PMIRO,0,[_F],[()=>BatchFailures]],PutMetricAlarmInput$=[3,n0,_PMAI,0,[_AN,_ADl,_AE,_OKA,_AA,_IDA,_MN,_N,_Sta,_ESx,_D,_P,_U,_EP,_DTA,_Th,_CO,_TMD,_ELSCP,_Me,_Ta,_TMI,_EW,_WUC,_EC,_EI,_AC],[0,0,2,64,64,64,0,0,0,0,()=>Dimensions,1,0,1,1,1,0,0,0,()=>MetricDataQueries,()=>TagList,0,()=>EvaluationWindow$,()=>WarmUpConfiguration$,()=>EvaluationCriteria$,1,()=>ActionConfiguration$],
92
+ 1],PutMetricDataInput$=[3,n0,_PMDI,0,[_N,_MD,_EMD,_SEV],[0,()=>MetricData,()=>EntityMetricDataList,2],1],PutMetricDataQueryDefinitionInput$=[3,n0,_PMDQDI,0,[_Pa,_Ex,_Ty,_I,_Ta],[0,[()=>MetricExpressionString,0],0,0,()=>TagList],3],PutMetricDataQueryDefinitionOutput$=[3,n0,_PMDQDO,0,[_I,_Ar,_Pa,_Ex,_Ty,_CAr,_UA],[0,0,0,[()=>MetricExpressionString,0],0,4,4],7],PutMetricStreamInput$=[3,n0,_PMSI,0,[_Na,_FA,_RAo,_OF,_IF,_EF,_Ta,_SCt,_ILAM],[0,0,0,0,()=>MetricStreamFilters,()=>MetricStreamFilters,()=>TagList,
93
+ ()=>MetricStreamStatisticsConfigurations,2],4],PutMetricStreamOutput$=[3,n0,_PMSO,0,[_Ar],[0]],Range$=[3,n0,_Ra,0,[_ST,_ET],[4,4],2],ResourceMetricsConfiguration$=[3,n0,_RMC,0,[_RA,_CAr,_UA,_MS],[0,4,4,()=>ResourceMetricSelectionList],3],ResourceMetricSelection$=[3,n0,_RMS,0,[_IM],[64],1],Rule$=[3,n0,_R,0,[_Sch],[()=>Schedule$],1],Schedule$=[3,n0,_Sch,0,[_Ex,_Du,_Ti],[0,0,0],2],ScheduleConfiguration$=[3,n0,_SCc,0,[_SE,_STO,_ETO],[0,1,1],2],ScheduledQueryConfiguration$=[3,n0,_SQC,0,[_QS,_SQRARN,_SCc,
94
+ _AEg,_LGI,_QARN,_Ta],[0,0,()=>ScheduleConfiguration$,0,64,0,()=>TagList],4],SetAlarmStateInput$=[3,n0,_SASI,0,[_AN,_SV,_SR,_SRD],[0,0,0,0],3],SingleMetricAnomalyDetector$=[3,n0,_SMAD,0,[_AI,_N,_MN,_D,_St],[0,0,0,()=>Dimensions,0]],SlidingWindow$=[3,n0,_SW,0,[],[]],StartMetricStreamsInput$=[3,n0,_SMSI,0,[_Nam],[64],1],StartMetricStreamsOutput$=[3,n0,_SMSO,0,[],[]],StartOTelEnrichmentInput$=[3,n0,_SOTEI,0,[_IF,_EF],[()=>OTelEnrichmentMetricSelectorList,()=>OTelEnrichmentMetricSelectorList]],StartOTelEnrichmentOutput$=[
95
+ 3,n0,_SOTEO,0,[_IF,_EF,_CAr,_UA],[()=>OTelEnrichmentMetricSelectorList,()=>OTelEnrichmentMetricSelectorList,4,4]],StatisticSet$=[3,n0,_SS,0,[_SC,_Su,_Mi,_Ma],[1,1,1,1],4],StopMetricStreamsInput$=[3,n0,_SMSIt,0,[_Nam],[64],1],StopMetricStreamsOutput$=[3,n0,_SMSOt,0,[],[]],StopOTelEnrichmentInput$=[3,n0,_SOTEIt,0,[],[]],StopOTelEnrichmentOutput$=[3,n0,_SOTEOt,0,[],[]],Tag$=[3,n0,_Tag,0,[_Ke,_V],[0,0],2],TagResourceInput$=[3,n0,_TRI,0,[_RARN,_Ta],[0,()=>TagList],2],TagResourceOutput$=[3,n0,_TRO,0,[],
96
+ []],UntagResourceInput$=[3,n0,_URI,0,[_RARN,_TK],[0,64],2],UntagResourceOutput$=[3,n0,_URO,0,[],[]],UpdateOTelEnrichmentInput$=[3,n0,_UOTEI,0,[_IF,_EF],[()=>OTelEnrichmentMetricSelectorList,()=>OTelEnrichmentMetricSelectorList]],UpdateOTelEnrichmentOutput$=[3,n0,_UOTEO,0,[_IF,_EF,_CAr,_UA],[()=>OTelEnrichmentMetricSelectorList,()=>OTelEnrichmentMetricSelectorList,4,4]],UpdateResourceMetricsConfigurationInput$=[3,n0,_URMCI,0,[_RA,_MS],[0,()=>ResourceMetricSelectionList],1],UpdateResourceMetricsConfigurationOutput$=[
97
+ 3,n0,_URMCO,0,[_RMC],[()=>ResourceMetricsConfiguration$],1],WallClockWindow$=[3,n0,_WCW,0,[_Ti],[0]],WarmUpConfiguration$=[3,n0,_WUC,0,[_WUPDIM,_OSEAWUPE],[1,2],1],__Unit="unit",AlarmContributors=[1,n0,_ACla,0,()=>AlarmContributor$],AlarmHistoryItems=[1,n0,_AHIl,0,()=>AlarmHistoryItem$],AlarmMuteRuleSummaries=[1,n0,_AMRSl,0,()=>AlarmMuteRuleSummary$],AnomalyDetectorExcludedTimeRanges=[1,n0,_ADETR,0,()=>Range$],AnomalyDetectors=[1,n0,_ADn,0,()=>AnomalyDetector$],BatchFailures=[1,n0,_BF,0,()=>PartialFailure$],
98
+ CompositeAlarms=[1,n0,_CAom,0,()=>CompositeAlarm$],DashboardEntries=[1,n0,_DEa,0,()=>DashboardEntry$],DashboardValidationMessages=[1,n0,_DVMa,0,()=>DashboardValidationMessage$],Datapoints=[1,n0,_Dat,0,()=>Datapoint$],DimensionFilters=[1,n0,_DFi,0,()=>DimensionFilter$],Dimensions=[1,n0,_D,0,()=>Dimension$],EntityMetricDataList=[1,n0,_EMDL,0,()=>EntityMetricData$],InsightRuleContributorDatapoints=[1,n0,_IRCDn,0,()=>InsightRuleContributorDatapoint$],InsightRuleContributors=[1,n0,_IRCn,0,()=>InsightRuleContributor$],
99
+ InsightRuleMetricDatapoints=[1,n0,_IRMDn,0,()=>InsightRuleMetricDatapoint$],InsightRules=[1,n0,_IR,0,()=>InsightRule$],LogAlarms=[1,n0,_LA,0,()=>LogAlarm$],ManagedRuleDescriptions=[1,n0,_MRDa,0,()=>ManagedRuleDescription$],ManagedRules=[1,n0,_MRana,0,()=>ManagedRule$],MetricAlarms=[1,n0,_MA,0,()=>MetricAlarm$],MetricData=[1,n0,_MD,0,()=>MetricDatum$],MetricDataQueries=[1,n0,_MDQ,0,()=>MetricDataQuery$],MetricDataQueryDefinitionSummaries=[1,n0,_MDQDSe,0,()=>MetricDataQueryDefinitionSummary$],MetricDataResultMessages=[
100
+ 1,n0,_MDRM,0,()=>MessageData$],MetricDataResults=[1,n0,_MDR,0,()=>MetricDataResult$],Metrics=[1,n0,_Me,0,()=>Metric$],MetricStreamEntries=[1,n0,_MSEe,0,()=>MetricStreamEntry$],MetricStreamFilters=[1,n0,_MSFe,0,()=>MetricStreamFilter$],MetricStreamStatisticsConfigurations=[1,n0,_MSSCe,0,()=>MetricStreamStatisticsConfiguration$],MetricStreamStatisticsIncludeMetrics=[1,n0,_MSSIM,0,()=>MetricStreamStatisticsMetric$],OTelEnrichmentMetricSelectorList=[1,n0,_OTEMSL,0,()=>OTelEnrichmentMetricSelector$],
101
+ ResourceMetricSelectionList=[1,n0,_RMSL,0,()=>ResourceMetricSelection$],TagList=[1,n0,_TL,0,()=>Tag$],EvaluationCriteria$=[4,n0,_EC,0,[_PQLC],[()=>AlarmPromQLCriteria$]],EvaluationWindow$=[4,n0,_EW,0,[_WCW,_SW],[()=>WallClockWindow$,()=>SlidingWindow$]],AssociateDatasetKmsKey$=[9,n0,_ADKK,0,()=>AssociateDatasetKmsKeyInput$,()=>AssociateDatasetKmsKeyOutput$],CreateResourceMetricsConfiguration$=[9,n0,_CRMC,0,()=>CreateResourceMetricsConfigurationInput$,()=>CreateResourceMetricsConfigurationOutput$],
102
+ DeleteAlarmMuteRule$=[9,n0,_DAMR,0,()=>DeleteAlarmMuteRuleInput$,()=>__Unit],DeleteAlarms$=[9,n0,_DAe,0,()=>DeleteAlarmsInput$,()=>__Unit],DeleteAnomalyDetector$=[9,n0,_DAD,0,()=>DeleteAnomalyDetectorInput$,()=>DeleteAnomalyDetectorOutput$],DeleteDashboards$=[9,n0,_DD,0,()=>DeleteDashboardsInput$,()=>DeleteDashboardsOutput$],DeleteInsightRules$=[9,n0,_DIR,0,()=>DeleteInsightRulesInput$,()=>DeleteInsightRulesOutput$],DeleteMetricDataQueryDefinition$=[9,n0,_DMDQD,2,()=>DeleteMetricDataQueryDefinitionInput$,
103
+ ()=>DeleteMetricDataQueryDefinitionOutput$],DeleteMetricStream$=[9,n0,_DMS,0,()=>DeleteMetricStreamInput$,()=>DeleteMetricStreamOutput$],DeleteResourceMetricsConfiguration$=[9,n0,_DRMC,0,()=>DeleteResourceMetricsConfigurationInput$,()=>DeleteResourceMetricsConfigurationOutput$],DescribeAlarmContributors$=[9,n0,_DAC,0,()=>DescribeAlarmContributorsInput$,()=>DescribeAlarmContributorsOutput$],DescribeAlarmHistory$=[9,n0,_DAH,0,()=>DescribeAlarmHistoryInput$,()=>DescribeAlarmHistoryOutput$],DescribeAlarms$=[
104
+ 9,n0,_DAes,0,()=>DescribeAlarmsInput$,()=>DescribeAlarmsOutput$],DescribeAlarmsForMetric$=[9,n0,_DAFM,0,()=>DescribeAlarmsForMetricInput$,()=>DescribeAlarmsForMetricOutput$],DescribeAnomalyDetectors$=[9,n0,_DADe,0,()=>DescribeAnomalyDetectorsInput$,()=>DescribeAnomalyDetectorsOutput$],DescribeInsightRules$=[9,n0,_DIRe,0,()=>DescribeInsightRulesInput$,()=>DescribeInsightRulesOutput$],DisableAlarmActions$=[9,n0,_DAA,0,()=>DisableAlarmActionsInput$,()=>__Unit],DisableInsightRules$=[9,n0,_DIRi,0,()=>DisableInsightRulesInput$,
105
+ ()=>DisableInsightRulesOutput$],DisassociateDatasetKmsKey$=[9,n0,_DDKK,2,()=>DisassociateDatasetKmsKeyInput$,()=>DisassociateDatasetKmsKeyOutput$],EnableAlarmActions$=[9,n0,_EAA,0,()=>EnableAlarmActionsInput$,()=>__Unit],EnableInsightRules$=[9,n0,_EIR,0,()=>EnableInsightRulesInput$,()=>EnableInsightRulesOutput$],GetAlarmMuteRule$=[9,n0,_GAMR,0,()=>GetAlarmMuteRuleInput$,()=>GetAlarmMuteRuleOutput$],GetDashboard$=[9,n0,_GD,0,()=>GetDashboardInput$,()=>GetDashboardOutput$],GetDataset$=[9,n0,_GDe,0,
106
+ ()=>GetDatasetInput$,()=>GetDatasetOutput$],GetInsightRuleReport$=[9,n0,_GIRR,0,()=>GetInsightRuleReportInput$,()=>GetInsightRuleReportOutput$],GetMetricData$=[9,n0,_GMD,0,()=>GetMetricDataInput$,()=>GetMetricDataOutput$],GetMetricDataQueryDefinition$=[9,n0,_GMDQD,0,()=>GetMetricDataQueryDefinitionInput$,()=>GetMetricDataQueryDefinitionOutput$],GetMetricStatistics$=[9,n0,_GMS,0,()=>GetMetricStatisticsInput$,()=>GetMetricStatisticsOutput$],GetMetricStream$=[9,n0,_GMSe,0,()=>GetMetricStreamInput$,
107
+ ()=>GetMetricStreamOutput$],GetMetricWidgetImage$=[9,n0,_GMWI,0,()=>GetMetricWidgetImageInput$,()=>GetMetricWidgetImageOutput$],GetOTelEnrichment$=[9,n0,_GOTE,0,()=>GetOTelEnrichmentInput$,()=>GetOTelEnrichmentOutput$],GetResourceMetricsConfiguration$=[9,n0,_GRMC,0,()=>GetResourceMetricsConfigurationInput$,()=>GetResourceMetricsConfigurationOutput$],ListAlarmMuteRules$=[9,n0,_LAMR,0,()=>ListAlarmMuteRulesInput$,()=>ListAlarmMuteRulesOutput$],ListDashboards$=[9,n0,_LD,0,()=>ListDashboardsInput$,()=>ListDashboardsOutput$],
108
+ ListManagedInsightRules$=[9,n0,_LMIR,0,()=>ListManagedInsightRulesInput$,()=>ListManagedInsightRulesOutput$],ListMetricDataQueryDefinitions$=[9,n0,_LMDQD,0,()=>ListMetricDataQueryDefinitionsInput$,()=>ListMetricDataQueryDefinitionsOutput$],ListMetrics$=[9,n0,_LMi,0,()=>ListMetricsInput$,()=>ListMetricsOutput$],ListMetricStreams$=[9,n0,_LMS,0,()=>ListMetricStreamsInput$,()=>ListMetricStreamsOutput$],ListTagsForResource$=[9,n0,_LTFR,0,()=>ListTagsForResourceInput$,()=>ListTagsForResourceOutput$],PutAlarmMuteRule$=[
109
+ 9,n0,_PAMR,0,()=>PutAlarmMuteRuleInput$,()=>__Unit],PutAnomalyDetector$=[9,n0,_PAD,0,()=>PutAnomalyDetectorInput$,()=>PutAnomalyDetectorOutput$],PutCompositeAlarm$=[9,n0,_PCA,0,()=>PutCompositeAlarmInput$,()=>__Unit],PutDashboard$=[9,n0,_PD,0,()=>PutDashboardInput$,()=>PutDashboardOutput$],PutInsightRule$=[9,n0,_PIR,0,()=>PutInsightRuleInput$,()=>PutInsightRuleOutput$],PutLogAlarm$=[9,n0,_PLA,0,()=>PutLogAlarmInput$,()=>__Unit],PutManagedInsightRules$=[9,n0,_PMIR,0,()=>PutManagedInsightRulesInput$,
110
+ ()=>PutManagedInsightRulesOutput$],PutMetricAlarm$=[9,n0,_PMA,0,()=>PutMetricAlarmInput$,()=>__Unit],PutMetricData$=[9,n0,_PMD,0,()=>PutMetricDataInput$,()=>__Unit],PutMetricDataQueryDefinition$=[9,n0,_PMDQD,2,()=>PutMetricDataQueryDefinitionInput$,()=>PutMetricDataQueryDefinitionOutput$],PutMetricStream$=[9,n0,_PMS,0,()=>PutMetricStreamInput$,()=>PutMetricStreamOutput$],SetAlarmState$=[9,n0,_SAS,0,()=>SetAlarmStateInput$,()=>__Unit],StartMetricStreams$=[9,n0,_SMS,0,()=>StartMetricStreamsInput$,
111
+ ()=>StartMetricStreamsOutput$],StartOTelEnrichment$=[9,n0,_SOTE,0,()=>StartOTelEnrichmentInput$,()=>StartOTelEnrichmentOutput$],StopMetricStreams$=[9,n0,_SMSt,0,()=>StopMetricStreamsInput$,()=>StopMetricStreamsOutput$],StopOTelEnrichment$=[9,n0,_SOTEt,0,()=>StopOTelEnrichmentInput$,()=>StopOTelEnrichmentOutput$],TagResource$=[9,n0,_TR,0,()=>TagResourceInput$,()=>TagResourceOutput$],UntagResource$=[9,n0,_UR,0,()=>UntagResourceInput$,()=>UntagResourceOutput$],UpdateOTelEnrichment$=[9,n0,_UOTE,0,()=>UpdateOTelEnrichmentInput$,
112
+ ()=>UpdateOTelEnrichmentOutput$],UpdateResourceMetricsConfiguration$=[9,n0,_URMC,0,()=>UpdateResourceMetricsConfigurationInput$,()=>UpdateResourceMetricsConfigurationOutput$],getRuntimeConfig$1=config=>({apiVersion:"2010-08-01",base64Decoder:config?.base64Decoder??fromBase64,base64Encoder:config?.base64Encoder??toBase64,disableHostPrefix:config?.disableHostPrefix??!1,endpointProvider:config?.endpointProvider??defaultEndpointResolver,extensions:config?.extensions??[],httpAuthSchemeProvider:config?.
113
+ httpAuthSchemeProvider??defaultCloudWatchHttpAuthSchemeProvider,httpAuthSchemes:config?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:ipc=>ipc.getIdentityProvider("aws.auth#sigv4"),signer:new AwsSdkSigV4Signer}],logger:config?.logger??new NoOpLogger,protocol:config?.protocol??AwsJson1_0Protocol,protocolSettings:config?.protocolSettings??{defaultNamespace:"com.amazonaws.cloudwatch",errorTypeRegistries,xmlNamespace:"http://monitoring.amazonaws.com/doc/2010-08-01/",version:"2010-08-\
114
+ 01",serviceTarget:"GraniteServiceVersion20100801",awsQueryCompatible:!0},serviceId:config?.serviceId??"CloudWatch",sha256:config?.sha256??Sha256,urlParser:config?.urlParser??parseUrl,utf8Decoder:config?.utf8Decoder??fromUtf8,utf8Encoder:config?.utf8Encoder??toUtf8}),getRuntimeConfig=config=>{emitWarningIfUnsupportedVersion(process.version);let defaultsMode=resolveDefaultsModeConfig(config),defaultConfigProvider=()=>defaultsMode().then(loadConfigsForDefaultMode),clientSharedValues=getRuntimeConfig$1(
115
+ config);emitWarningIfUnsupportedVersion$1(process.version);let loaderConfig={profile:config?.profile,logger:clientSharedValues.logger};return{...clientSharedValues,...config,runtime:"node",defaultsMode,authSchemePreference:config?.authSchemePreference??loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,loaderConfig),bodyLengthChecker:config?.bodyLengthChecker??calculateBodyLength,credentialDefaultProvider:config?.credentialDefaultProvider??defaultProvider,defaultSocketTimeout:getDefaultSocketTimeout(
116
+ config?.requestHandler,9e5),defaultUserAgentProvider:config?.defaultUserAgentProvider??createDefaultUserAgentProvider({serviceId:clientSharedValues.serviceId,clientVersion:packageInfo.version}),disableRequestCompression:config?.disableRequestCompression??loadConfig(NODE_DISABLE_REQUEST_COMPRESSION_CONFIG_OPTIONS,config),maxAttempts:config?.maxAttempts??loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS,config),region:config?.region??loadConfig(NODE_REGION_CONFIG_OPTIONS,{...NODE_REGION_CONFIG_FILE_OPTIONS,
117
+ ...loaderConfig}),requestHandler:NodeHttpHandler.create(config?.requestHandler??defaultConfigProvider),requestMinCompressionSizeBytes:config?.requestMinCompressionSizeBytes??loadConfig(NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_CONFIG_OPTIONS,config),retryMode:config?.retryMode??loadConfig({...NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await defaultConfigProvider()).retryMode||DEFAULT_RETRY_MODE},config),streamCollector:config?.streamCollector??streamCollector,useDualstackEndpoint:config?.useDualstackEndpoint??
118
+ loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,loaderConfig),useFipsEndpoint:config?.useFipsEndpoint??loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,loaderConfig),userAgentAppId:config?.userAgentAppId??loadConfig(NODE_APP_ID_CONFIG_OPTIONS,loaderConfig)}},getHttpAuthExtensionConfiguration=runtimeConfig=>{let _httpAuthSchemes=runtimeConfig.httpAuthSchemes,_httpAuthSchemeProvider=runtimeConfig.httpAuthSchemeProvider,_credentials=runtimeConfig.credentials;return{setHttpAuthScheme(httpAuthScheme){
119
+ let index=_httpAuthSchemes.findIndex(scheme=>scheme.schemeId===httpAuthScheme.schemeId);index===-1?_httpAuthSchemes.push(httpAuthScheme):_httpAuthSchemes.splice(index,1,httpAuthScheme)},httpAuthSchemes(){return _httpAuthSchemes},setHttpAuthSchemeProvider(httpAuthSchemeProvider){_httpAuthSchemeProvider=httpAuthSchemeProvider},httpAuthSchemeProvider(){return _httpAuthSchemeProvider},setCredentials(credentials){_credentials=credentials},credentials(){return _credentials}}},resolveHttpAuthRuntimeConfig=config=>({
120
+ httpAuthSchemes:config.httpAuthSchemes(),httpAuthSchemeProvider:config.httpAuthSchemeProvider(),credentials:config.credentials()}),resolveRuntimeExtensions=(runtimeConfig,extensions)=>{let extensionConfiguration=Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig),getDefaultExtensionConfiguration(runtimeConfig),getHttpHandlerExtensionConfiguration(runtimeConfig),getHttpAuthExtensionConfiguration(runtimeConfig));return extensions.forEach(extension=>extension.configure(extensionConfiguration)),
121
+ Object.assign(runtimeConfig,resolveAwsRegionExtensionConfiguration(extensionConfiguration),resolveDefaultRuntimeConfig(extensionConfiguration),resolveHttpHandlerRuntimeConfig(extensionConfiguration),resolveHttpAuthRuntimeConfig(extensionConfiguration))},CloudWatchClient=class extends Client{config;constructor(...[configuration]){let _config_0=getRuntimeConfig(configuration||{});super(_config_0),this.initConfig=_config_0;let _config_1=resolveClientEndpointParameters(_config_0),_config_2=resolveUserAgentConfig(
122
+ _config_1),_config_3=resolveRetryConfig(_config_2),_config_4=resolveRegionConfig(_config_3),_config_5=resolveHostHeaderConfig(_config_4),_config_6=resolveEndpointConfig(_config_5),_config_7=resolveHttpAuthSchemeConfig(_config_6),_config_8=resolveCompressionConfig(_config_7),_config_9=resolveRuntimeExtensions(_config_8,configuration?.extensions||[]);this.config=_config_9,this.middlewareStack.use(getSchemaSerdePlugin(this.config)),this.middlewareStack.use(getUserAgentPlugin(this.config)),this.middlewareStack.
123
+ use(getRetryPlugin(this.config)),this.middlewareStack.use(getContentLengthPlugin(this.config)),this.middlewareStack.use(getHostHeaderPlugin(this.config)),this.middlewareStack.use(getLoggerPlugin(this.config)),this.middlewareStack.use(getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:defaultCloudWatchHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async config=>new DefaultIdentityProviderConfig(
124
+ {"aws.auth#sigv4":config.credentials})})),this.middlewareStack.use(getHttpSigningPlugin(this.config))}destroy(){super.destroy()}},command=makeBuilder(commonParams,"GraniteServiceVersion20100801","CloudWatchClient",getEndpointPlugin),_ep0={},_mw0=(Command,cs,config,o)=>[],_mw1=(Command,cs,config,o)=>[getCompressionPlugin(config,{encodings:["gzip"]})],AssociateDatasetKmsKeyCommand=class extends command(_ep0,_mw0,"AssociateDatasetKmsKey",AssociateDatasetKmsKey$){},CreateResourceMetricsConfigurationCommand=class extends command(
125
+ _ep0,_mw0,"CreateResourceMetricsConfiguration",CreateResourceMetricsConfiguration$){},DeleteAlarmMuteRuleCommand=class extends command(_ep0,_mw0,"DeleteAlarmMuteRule",DeleteAlarmMuteRule$){},DeleteAlarmsCommand=class extends command(_ep0,_mw0,"DeleteAlarms",DeleteAlarms$){},DeleteAnomalyDetectorCommand=class extends command(_ep0,_mw0,"DeleteAnomalyDetector",DeleteAnomalyDetector$){},DeleteDashboardsCommand=class extends command(_ep0,_mw0,"DeleteDashboards",DeleteDashboards$){},DeleteInsightRulesCommand=class extends command(
126
+ _ep0,_mw0,"DeleteInsightRules",DeleteInsightRules$){},DeleteMetricDataQueryDefinitionCommand=class extends command(_ep0,_mw0,"DeleteMetricDataQueryDefinition",DeleteMetricDataQueryDefinition$){},DeleteMetricStreamCommand=class extends command(_ep0,_mw0,"DeleteMetricStream",DeleteMetricStream$){},DeleteResourceMetricsConfigurationCommand=class extends command(_ep0,_mw0,"DeleteResourceMetricsConfiguration",DeleteResourceMetricsConfiguration$){},DescribeAlarmContributorsCommand=class extends command(
127
+ _ep0,_mw0,"DescribeAlarmContributors",DescribeAlarmContributors$){},DescribeAlarmHistoryCommand=class extends command(_ep0,_mw0,"DescribeAlarmHistory",DescribeAlarmHistory$){},DescribeAlarmsCommand=class extends command(_ep0,_mw0,"DescribeAlarms",DescribeAlarms$){},DescribeAlarmsForMetricCommand=class extends command(_ep0,_mw0,"DescribeAlarmsForMetric",DescribeAlarmsForMetric$){},DescribeAnomalyDetectorsCommand=class extends command(_ep0,_mw0,"DescribeAnomalyDetectors",DescribeAnomalyDetectors$){},
128
+ DescribeInsightRulesCommand=class extends command(_ep0,_mw0,"DescribeInsightRules",DescribeInsightRules$){},DisableAlarmActionsCommand=class extends command(_ep0,_mw0,"DisableAlarmActions",DisableAlarmActions$){},DisableInsightRulesCommand=class extends command(_ep0,_mw0,"DisableInsightRules",DisableInsightRules$){},DisassociateDatasetKmsKeyCommand=class extends command(_ep0,_mw0,"DisassociateDatasetKmsKey",DisassociateDatasetKmsKey$){},EnableAlarmActionsCommand=class extends command(_ep0,_mw0,"\
129
+ EnableAlarmActions",EnableAlarmActions$){},EnableInsightRulesCommand=class extends command(_ep0,_mw0,"EnableInsightRules",EnableInsightRules$){},GetAlarmMuteRuleCommand=class extends command(_ep0,_mw0,"GetAlarmMuteRule",GetAlarmMuteRule$){},GetDashboardCommand=class extends command(_ep0,_mw0,"GetDashboard",GetDashboard$){},GetDatasetCommand=class extends command(_ep0,_mw0,"GetDataset",GetDataset$){},GetInsightRuleReportCommand=class extends command(_ep0,_mw0,"GetInsightRuleReport",GetInsightRuleReport$){},
130
+ GetMetricDataCommand=class extends command(_ep0,_mw0,"GetMetricData",GetMetricData$){},GetMetricDataQueryDefinitionCommand=class extends command(_ep0,_mw0,"GetMetricDataQueryDefinition",GetMetricDataQueryDefinition$){},GetMetricStatisticsCommand=class extends command(_ep0,_mw0,"GetMetricStatistics",GetMetricStatistics$){},GetMetricStreamCommand=class extends command(_ep0,_mw0,"GetMetricStream",GetMetricStream$){},GetMetricWidgetImageCommand=class extends command(_ep0,_mw0,"GetMetricWidgetImage",
131
+ GetMetricWidgetImage$){},GetOTelEnrichmentCommand=class extends command(_ep0,_mw0,"GetOTelEnrichment",GetOTelEnrichment$){},GetResourceMetricsConfigurationCommand=class extends command(_ep0,_mw0,"GetResourceMetricsConfiguration",GetResourceMetricsConfiguration$){},ListAlarmMuteRulesCommand=class extends command(_ep0,_mw0,"ListAlarmMuteRules",ListAlarmMuteRules$){},ListDashboardsCommand=class extends command(_ep0,_mw0,"ListDashboards",ListDashboards$){},ListManagedInsightRulesCommand=class extends command(
132
+ _ep0,_mw0,"ListManagedInsightRules",ListManagedInsightRules$){},ListMetricDataQueryDefinitionsCommand=class extends command(_ep0,_mw0,"ListMetricDataQueryDefinitions",ListMetricDataQueryDefinitions$){},ListMetricsCommand=class extends command(_ep0,_mw0,"ListMetrics",ListMetrics$){},ListMetricStreamsCommand=class extends command(_ep0,_mw0,"ListMetricStreams",ListMetricStreams$){},ListTagsForResourceCommand=class extends command(_ep0,_mw0,"ListTagsForResource",ListTagsForResource$){},PutAlarmMuteRuleCommand=class extends command(
133
+ _ep0,_mw0,"PutAlarmMuteRule",PutAlarmMuteRule$){},PutAnomalyDetectorCommand=class extends command(_ep0,_mw0,"PutAnomalyDetector",PutAnomalyDetector$){},PutCompositeAlarmCommand=class extends command(_ep0,_mw0,"PutCompositeAlarm",PutCompositeAlarm$){},PutDashboardCommand=class extends command(_ep0,_mw0,"PutDashboard",PutDashboard$){},PutInsightRuleCommand=class extends command(_ep0,_mw0,"PutInsightRule",PutInsightRule$){},PutLogAlarmCommand=class extends command(_ep0,_mw0,"PutLogAlarm",PutLogAlarm$){},
134
+ PutManagedInsightRulesCommand=class extends command(_ep0,_mw0,"PutManagedInsightRules",PutManagedInsightRules$){},PutMetricAlarmCommand=class extends command(_ep0,_mw0,"PutMetricAlarm",PutMetricAlarm$){},PutMetricDataCommand=class extends command(_ep0,_mw1,"PutMetricData",PutMetricData$){},PutMetricDataQueryDefinitionCommand=class extends command(_ep0,_mw0,"PutMetricDataQueryDefinition",PutMetricDataQueryDefinition$){},PutMetricStreamCommand=class extends command(_ep0,_mw0,"PutMetricStream",PutMetricStream$){},
135
+ SetAlarmStateCommand=class extends command(_ep0,_mw0,"SetAlarmState",SetAlarmState$){},StartMetricStreamsCommand=class extends command(_ep0,_mw0,"StartMetricStreams",StartMetricStreams$){},StartOTelEnrichmentCommand=class extends command(_ep0,_mw0,"StartOTelEnrichment",StartOTelEnrichment$){},StopMetricStreamsCommand=class extends command(_ep0,_mw0,"StopMetricStreams",StopMetricStreams$){},StopOTelEnrichmentCommand=class extends command(_ep0,_mw0,"StopOTelEnrichment",StopOTelEnrichment$){},TagResourceCommand=class extends command(
136
+ _ep0,_mw0,"TagResource",TagResource$){},UntagResourceCommand=class extends command(_ep0,_mw0,"UntagResource",UntagResource$){},UpdateOTelEnrichmentCommand=class extends command(_ep0,_mw0,"UpdateOTelEnrichment",UpdateOTelEnrichment$){},UpdateResourceMetricsConfigurationCommand=class extends command(_ep0,_mw0,"UpdateResourceMetricsConfiguration",UpdateResourceMetricsConfiguration$){},paginateDescribeAlarmHistory=createPaginator(CloudWatchClient,DescribeAlarmHistoryCommand,"NextToken","NextToken","\
137
+ MaxRecords"),paginateDescribeAlarms=createPaginator(CloudWatchClient,DescribeAlarmsCommand,"NextToken","NextToken","MaxRecords"),paginateDescribeAnomalyDetectors=createPaginator(CloudWatchClient,DescribeAnomalyDetectorsCommand,"NextToken","NextToken","MaxResults"),paginateDescribeInsightRules=createPaginator(CloudWatchClient,DescribeInsightRulesCommand,"NextToken","NextToken","MaxResults"),paginateGetMetricData=createPaginator(CloudWatchClient,GetMetricDataCommand,"NextToken","NextToken","MaxDat\
138
+ apoints"),paginateListAlarmMuteRules=createPaginator(CloudWatchClient,ListAlarmMuteRulesCommand,"NextToken","NextToken","MaxRecords"),paginateListDashboards=createPaginator(CloudWatchClient,ListDashboardsCommand,"NextToken","NextToken",""),paginateListManagedInsightRules=createPaginator(CloudWatchClient,ListManagedInsightRulesCommand,"NextToken","NextToken","MaxResults"),paginateListMetricDataQueryDefinitions=createPaginator(CloudWatchClient,ListMetricDataQueryDefinitionsCommand,"NextToken","Nex\
139
+ tToken","MaxResults"),paginateListMetrics=createPaginator(CloudWatchClient,ListMetricsCommand,"NextToken","NextToken",""),paginateListMetricStreams=createPaginator(CloudWatchClient,ListMetricStreamsCommand,"NextToken","NextToken","MaxResults"),checkState$3=async(client,input)=>{let reason;try{let result=await client.send(new DescribeAlarmsCommand(input));reason=result;try{if([].concat(...result.MetricAlarms).length>0==!0)return{state:WaiterState.SUCCESS,reason}}catch{}}catch(exception){reason=exception}
140
+ return{state:WaiterState.RETRY,reason}},waitForAlarmExists=async(params,input)=>createWaiter({...{minDelay:5,maxDelay:120},...params},input,checkState$3),waitUntilAlarmExists=async(params,input)=>{let result=await createWaiter({...{minDelay:5,maxDelay:120},...params},input,checkState$3);return checkExceptions(result)},checkState$2=async(client,input)=>{let reason;try{return reason=await client.send(new GetAlarmMuteRuleCommand(input)),{state:WaiterState.SUCCESS,reason}}catch(exception){if(reason=
141
+ exception,exception.name==="ResourceNotFoundException")return{state:WaiterState.RETRY,reason}}return{state:WaiterState.RETRY,reason}},waitForAlarmMuteRuleExists=async(params,input)=>createWaiter({...{minDelay:5,maxDelay:120},...params},input,checkState$2),waitUntilAlarmMuteRuleExists=async(params,input)=>{let result=await createWaiter({...{minDelay:5,maxDelay:120},...params},input,checkState$2);return checkExceptions(result)},checkState$1=async(client,input)=>{let reason;try{let result=await client.
142
+ send(new DescribeAlarmsCommand(input));reason=result;try{if([].concat(...result.CompositeAlarms).length>0==!0)return{state:WaiterState.SUCCESS,reason}}catch{}}catch(exception){reason=exception}return{state:WaiterState.RETRY,reason}},waitForCompositeAlarmExists=async(params,input)=>createWaiter({...{minDelay:5,maxDelay:120},...params},input,checkState$1),waitUntilCompositeAlarmExists=async(params,input)=>{let result=await createWaiter({...{minDelay:5,maxDelay:120},...params},input,checkState$1);return checkExceptions(
143
+ result)},checkState=async(client,input)=>{let reason;try{let result=await client.send(new DescribeAlarmsCommand(input));reason=result;try{if([].concat(...result.LogAlarms).length>0==!0)return{state:WaiterState.SUCCESS,reason}}catch{}}catch(exception){reason=exception}return{state:WaiterState.RETRY,reason}},waitForLogAlarmExists=async(params,input)=>createWaiter({...{minDelay:5,maxDelay:120},...params},input,checkState),waitUntilLogAlarmExists=async(params,input)=>{let result=await createWaiter({
144
+ ...{minDelay:5,maxDelay:120},...params},input,checkState);return checkExceptions(result)},commands={AssociateDatasetKmsKeyCommand,CreateResourceMetricsConfigurationCommand,DeleteAlarmMuteRuleCommand,DeleteAlarmsCommand,DeleteAnomalyDetectorCommand,DeleteDashboardsCommand,DeleteInsightRulesCommand,DeleteMetricDataQueryDefinitionCommand,DeleteMetricStreamCommand,DeleteResourceMetricsConfigurationCommand,DescribeAlarmContributorsCommand,DescribeAlarmHistoryCommand,DescribeAlarmsCommand,DescribeAlarmsForMetricCommand,
145
+ DescribeAnomalyDetectorsCommand,DescribeInsightRulesCommand,DisableAlarmActionsCommand,DisableInsightRulesCommand,DisassociateDatasetKmsKeyCommand,EnableAlarmActionsCommand,EnableInsightRulesCommand,GetAlarmMuteRuleCommand,GetDashboardCommand,GetDatasetCommand,GetInsightRuleReportCommand,GetMetricDataCommand,GetMetricDataQueryDefinitionCommand,GetMetricStatisticsCommand,GetMetricStreamCommand,GetMetricWidgetImageCommand,GetOTelEnrichmentCommand,GetResourceMetricsConfigurationCommand,ListAlarmMuteRulesCommand,
146
+ ListDashboardsCommand,ListManagedInsightRulesCommand,ListMetricDataQueryDefinitionsCommand,ListMetricsCommand,ListMetricStreamsCommand,ListTagsForResourceCommand,PutAlarmMuteRuleCommand,PutAnomalyDetectorCommand,PutCompositeAlarmCommand,PutDashboardCommand,PutInsightRuleCommand,PutLogAlarmCommand,PutManagedInsightRulesCommand,PutMetricAlarmCommand,PutMetricDataCommand,PutMetricDataQueryDefinitionCommand,PutMetricStreamCommand,SetAlarmStateCommand,StartMetricStreamsCommand,StartOTelEnrichmentCommand,
147
+ StopMetricStreamsCommand,StopOTelEnrichmentCommand,TagResourceCommand,UntagResourceCommand,UpdateOTelEnrichmentCommand,UpdateResourceMetricsConfigurationCommand},paginators={paginateDescribeAlarmHistory,paginateDescribeAlarms,paginateDescribeAnomalyDetectors,paginateDescribeInsightRules,paginateGetMetricData,paginateListAlarmMuteRules,paginateListDashboards,paginateListManagedInsightRules,paginateListMetricDataQueryDefinitions,paginateListMetrics,paginateListMetricStreams},waiters={waitUntilAlarmExists,
148
+ waitUntilCompositeAlarmExists,waitUntilLogAlarmExists,waitUntilAlarmMuteRuleExists},CloudWatch=class extends CloudWatchClient{};createAggregatedClient(commands,CloudWatch,{paginators,waiters});var ActionsSuppressedBy={Alarm:"Alarm",ExtensionPeriod:"ExtensionPeriod",WaitPeriod:"WaitPeriod"},AlarmType={CompositeAlarm:"CompositeAlarm",LogAlarm:"LogAlarm",MetricAlarm:"MetricAlarm"},HistoryItemType={Action:"Action",AlarmContributorAction:"AlarmContributorAction",AlarmContributorStateUpdate:"AlarmCont\
149
+ ributorStateUpdate",ConfigurationUpdate:"ConfigurationUpdate",StateUpdate:"StateUpdate"},AlarmMuteRuleStatus={ACTIVE:"ACTIVE",EXPIRED:"EXPIRED",SCHEDULED:"SCHEDULED"},AnomalyDetectorAdaptationSpeed={FAST:"FAST",NORMAL:"NORMAL",SLOW:"SLOW"},AnomalyDetectorOutlierFilteringStrength={MINIMAL:"MINIMAL",MODERATE:"MODERATE",STRICT:"STRICT"},StandardUnit={Bits:"Bits",Bits_Second:"Bits/Second",Bytes:"Bytes",Bytes_Second:"Bytes/Second",Count:"Count",Count_Second:"Count/Second",Gigabits:"Gigabits",Gigabits_Second:"\
150
+ Gigabits/Second",Gigabytes:"Gigabytes",Gigabytes_Second:"Gigabytes/Second",Kilobits:"Kilobits",Kilobits_Second:"Kilobits/Second",Kilobytes:"Kilobytes",Kilobytes_Second:"Kilobytes/Second",Megabits:"Megabits",Megabits_Second:"Megabits/Second",Megabytes:"Megabytes",Megabytes_Second:"Megabytes/Second",Microseconds:"Microseconds",Milliseconds:"Milliseconds",None:"None",Percent:"Percent",Seconds:"Seconds",Terabits:"Terabits",Terabits_Second:"Terabits/Second",Terabytes:"Terabytes",Terabytes_Second:"Ter\
151
+ abytes/Second"},AnomalyDetectorStateValue={PENDING_TRAINING:"PENDING_TRAINING",TRAINED:"TRAINED",TRAINED_INSUFFICIENT_DATA:"TRAINED_INSUFFICIENT_DATA"},AnomalyDetectorType={METRIC_MATH:"METRIC_MATH",SINGLE_METRIC:"SINGLE_METRIC"},ComparisonOperator={GreaterThanOrEqualToThreshold:"GreaterThanOrEqualToThreshold",GreaterThanThreshold:"GreaterThanThreshold",GreaterThanUpperThreshold:"GreaterThanUpperThreshold",LessThanLowerOrGreaterThanUpperThreshold:"LessThanLowerOrGreaterThanUpperThreshold",LessThanLowerThreshold:"\
152
+ LessThanLowerThreshold",LessThanOrEqualToThreshold:"LessThanOrEqualToThreshold",LessThanThreshold:"LessThanThreshold"},StateValue={ALARM:"ALARM",INSUFFICIENT_DATA:"INSUFFICIENT_DATA",OK:"OK"},ScanBy={TIMESTAMP_ASCENDING:"TimestampAscending",TIMESTAMP_DESCENDING:"TimestampDescending"},EvaluationState={EVALUATION_ERROR:"EVALUATION_ERROR",EVALUATION_FAILURE:"EVALUATION_FAILURE",PARTIAL_DATA:"PARTIAL_DATA"},Statistic={Average:"Average",Maximum:"Maximum",Minimum:"Minimum",SampleCount:"SampleCount",Sum:"\
153
+ Sum"},StatusCode={COMPLETE:"Complete",FORBIDDEN:"Forbidden",INTERNAL_ERROR:"InternalError",PARTIAL_DATA:"PartialData"},QueryType={METRIC_MATH:"METRIC_MATH",PROMQL:"PROMQL",SQL:"SQL"},MetricStreamOutputFormat={JSON:"json",OPEN_TELEMETRY_0_7:"opentelemetry0.7",OPEN_TELEMETRY_1_0:"opentelemetry1.0"},OTelEnrichmentStatus={RUNNING:"Running",STOPPED:"Stopped"},RecentlyActive={PT3H:"PT3H"};exports.ActionConfiguration$=ActionConfiguration$;exports.ActionsSuppressedBy=ActionsSuppressedBy;exports.AlarmContributor$=
154
+ AlarmContributor$;exports.AlarmHistoryItem$=AlarmHistoryItem$;exports.AlarmMuteRuleStatus=AlarmMuteRuleStatus;exports.AlarmMuteRuleSummary$=AlarmMuteRuleSummary$;exports.AlarmPromQLCriteria$=AlarmPromQLCriteria$;exports.AlarmTagsPropagation$=AlarmTagsPropagation$;exports.AlarmType=AlarmType;exports.AnomalyDetector$=AnomalyDetector$;exports.AnomalyDetectorAdaptationSpeed=AnomalyDetectorAdaptationSpeed;exports.AnomalyDetectorConfiguration$=AnomalyDetectorConfiguration$;exports.AnomalyDetectorOutlierFilteringStrength=
155
+ AnomalyDetectorOutlierFilteringStrength;exports.AnomalyDetectorStateValue=AnomalyDetectorStateValue;exports.AnomalyDetectorType=AnomalyDetectorType;exports.AssociateDatasetKmsKey$=AssociateDatasetKmsKey$;exports.AssociateDatasetKmsKeyCommand=AssociateDatasetKmsKeyCommand;exports.AssociateDatasetKmsKeyInput$=AssociateDatasetKmsKeyInput$;exports.AssociateDatasetKmsKeyOutput$=AssociateDatasetKmsKeyOutput$;exports.CloudWatch=CloudWatch;exports.CloudWatchClient=CloudWatchClient;exports.CloudWatchServiceException=
156
+ CloudWatchServiceException;exports.CloudWatchServiceException$=CloudWatchServiceException$;exports.ComparisonOperator=ComparisonOperator;exports.CompositeAlarm$=CompositeAlarm$;exports.ConcurrentModificationException=ConcurrentModificationException;exports.ConcurrentModificationException$=ConcurrentModificationException$;exports.ConflictException=ConflictException;exports.ConflictException$=ConflictException$;exports.CreateResourceMetricsConfiguration$=CreateResourceMetricsConfiguration$;exports.
157
+ CreateResourceMetricsConfigurationCommand=CreateResourceMetricsConfigurationCommand;exports.CreateResourceMetricsConfigurationInput$=CreateResourceMetricsConfigurationInput$;exports.CreateResourceMetricsConfigurationOutput$=CreateResourceMetricsConfigurationOutput$;exports.DashboardEntry$=DashboardEntry$;exports.DashboardInvalidInputError=DashboardInvalidInputError;exports.DashboardInvalidInputError$=DashboardInvalidInputError$;exports.DashboardNotFoundError=DashboardNotFoundError;exports.DashboardNotFoundError$=
158
+ DashboardNotFoundError$;exports.DashboardValidationMessage$=DashboardValidationMessage$;exports.Datapoint$=Datapoint$;exports.DeleteAlarmMuteRule$=DeleteAlarmMuteRule$;exports.DeleteAlarmMuteRuleCommand=DeleteAlarmMuteRuleCommand;exports.DeleteAlarmMuteRuleInput$=DeleteAlarmMuteRuleInput$;exports.DeleteAlarms$=DeleteAlarms$;exports.DeleteAlarmsCommand=DeleteAlarmsCommand;exports.DeleteAlarmsInput$=DeleteAlarmsInput$;exports.DeleteAnomalyDetector$=DeleteAnomalyDetector$;exports.DeleteAnomalyDetectorCommand=
159
+ DeleteAnomalyDetectorCommand;exports.DeleteAnomalyDetectorInput$=DeleteAnomalyDetectorInput$;exports.DeleteAnomalyDetectorOutput$=DeleteAnomalyDetectorOutput$;exports.DeleteDashboards$=DeleteDashboards$;exports.DeleteDashboardsCommand=DeleteDashboardsCommand;exports.DeleteDashboardsInput$=DeleteDashboardsInput$;exports.DeleteDashboardsOutput$=DeleteDashboardsOutput$;exports.DeleteInsightRules$=DeleteInsightRules$;exports.DeleteInsightRulesCommand=DeleteInsightRulesCommand;exports.DeleteInsightRulesInput$=
160
+ DeleteInsightRulesInput$;exports.DeleteInsightRulesOutput$=DeleteInsightRulesOutput$;exports.DeleteMetricDataQueryDefinition$=DeleteMetricDataQueryDefinition$;exports.DeleteMetricDataQueryDefinitionCommand=DeleteMetricDataQueryDefinitionCommand;exports.DeleteMetricDataQueryDefinitionInput$=DeleteMetricDataQueryDefinitionInput$;exports.DeleteMetricDataQueryDefinitionOutput$=DeleteMetricDataQueryDefinitionOutput$;exports.DeleteMetricStream$=DeleteMetricStream$;exports.DeleteMetricStreamCommand=DeleteMetricStreamCommand;
161
+ exports.DeleteMetricStreamInput$=DeleteMetricStreamInput$;exports.DeleteMetricStreamOutput$=DeleteMetricStreamOutput$;exports.DeleteResourceMetricsConfiguration$=DeleteResourceMetricsConfiguration$;exports.DeleteResourceMetricsConfigurationCommand=DeleteResourceMetricsConfigurationCommand;exports.DeleteResourceMetricsConfigurationInput$=DeleteResourceMetricsConfigurationInput$;exports.DeleteResourceMetricsConfigurationOutput$=DeleteResourceMetricsConfigurationOutput$;exports.DescribeAlarmContributors$=
162
+ DescribeAlarmContributors$;exports.DescribeAlarmContributorsCommand=DescribeAlarmContributorsCommand;exports.DescribeAlarmContributorsInput$=DescribeAlarmContributorsInput$;exports.DescribeAlarmContributorsOutput$=DescribeAlarmContributorsOutput$;exports.DescribeAlarmHistory$=DescribeAlarmHistory$;exports.DescribeAlarmHistoryCommand=DescribeAlarmHistoryCommand;exports.DescribeAlarmHistoryInput$=DescribeAlarmHistoryInput$;exports.DescribeAlarmHistoryOutput$=DescribeAlarmHistoryOutput$;exports.DescribeAlarms$=
163
+ DescribeAlarms$;exports.DescribeAlarmsCommand=DescribeAlarmsCommand;exports.DescribeAlarmsForMetric$=DescribeAlarmsForMetric$;exports.DescribeAlarmsForMetricCommand=DescribeAlarmsForMetricCommand;exports.DescribeAlarmsForMetricInput$=DescribeAlarmsForMetricInput$;exports.DescribeAlarmsForMetricOutput$=DescribeAlarmsForMetricOutput$;exports.DescribeAlarmsInput$=DescribeAlarmsInput$;exports.DescribeAlarmsOutput$=DescribeAlarmsOutput$;exports.DescribeAnomalyDetectors$=DescribeAnomalyDetectors$;exports.
164
+ DescribeAnomalyDetectorsCommand=DescribeAnomalyDetectorsCommand;exports.DescribeAnomalyDetectorsInput$=DescribeAnomalyDetectorsInput$;exports.DescribeAnomalyDetectorsOutput$=DescribeAnomalyDetectorsOutput$;exports.DescribeInsightRules$=DescribeInsightRules$;exports.DescribeInsightRulesCommand=DescribeInsightRulesCommand;exports.DescribeInsightRulesInput$=DescribeInsightRulesInput$;exports.DescribeInsightRulesOutput$=DescribeInsightRulesOutput$;exports.Dimension$=Dimension$;exports.DimensionFilter$=
165
+ DimensionFilter$;exports.DisableAlarmActions$=DisableAlarmActions$;exports.DisableAlarmActionsCommand=DisableAlarmActionsCommand;exports.DisableAlarmActionsInput$=DisableAlarmActionsInput$;exports.DisableInsightRules$=DisableInsightRules$;exports.DisableInsightRulesCommand=DisableInsightRulesCommand;exports.DisableInsightRulesInput$=DisableInsightRulesInput$;exports.DisableInsightRulesOutput$=DisableInsightRulesOutput$;exports.DisassociateDatasetKmsKey$=DisassociateDatasetKmsKey$;exports.DisassociateDatasetKmsKeyCommand=
166
+ DisassociateDatasetKmsKeyCommand;exports.DisassociateDatasetKmsKeyInput$=DisassociateDatasetKmsKeyInput$;exports.DisassociateDatasetKmsKeyOutput$=DisassociateDatasetKmsKeyOutput$;exports.EnableAlarmActions$=EnableAlarmActions$;exports.EnableAlarmActionsCommand=EnableAlarmActionsCommand;exports.EnableAlarmActionsInput$=EnableAlarmActionsInput$;exports.EnableInsightRules$=EnableInsightRules$;exports.EnableInsightRulesCommand=EnableInsightRulesCommand;exports.EnableInsightRulesInput$=EnableInsightRulesInput$;
167
+ exports.EnableInsightRulesOutput$=EnableInsightRulesOutput$;exports.Entity$=Entity$;exports.EntityMetricData$=EntityMetricData$;exports.EvaluationCriteria$=EvaluationCriteria$;exports.EvaluationState=EvaluationState;exports.EvaluationWindow$=EvaluationWindow$;exports.GetAlarmMuteRule$=GetAlarmMuteRule$;exports.GetAlarmMuteRuleCommand=GetAlarmMuteRuleCommand;exports.GetAlarmMuteRuleInput$=GetAlarmMuteRuleInput$;exports.GetAlarmMuteRuleOutput$=GetAlarmMuteRuleOutput$;exports.GetDashboard$=GetDashboard$;
168
+ exports.GetDashboardCommand=GetDashboardCommand;exports.GetDashboardInput$=GetDashboardInput$;exports.GetDashboardOutput$=GetDashboardOutput$;exports.GetDataset$=GetDataset$;exports.GetDatasetCommand=GetDatasetCommand;exports.GetDatasetInput$=GetDatasetInput$;exports.GetDatasetOutput$=GetDatasetOutput$;exports.GetInsightRuleReport$=GetInsightRuleReport$;exports.GetInsightRuleReportCommand=GetInsightRuleReportCommand;exports.GetInsightRuleReportInput$=GetInsightRuleReportInput$;exports.GetInsightRuleReportOutput$=
169
+ GetInsightRuleReportOutput$;exports.GetMetricData$=GetMetricData$;exports.GetMetricDataCommand=GetMetricDataCommand;exports.GetMetricDataInput$=GetMetricDataInput$;exports.GetMetricDataOutput$=GetMetricDataOutput$;exports.GetMetricDataQueryDefinition$=GetMetricDataQueryDefinition$;exports.GetMetricDataQueryDefinitionCommand=GetMetricDataQueryDefinitionCommand;exports.GetMetricDataQueryDefinitionInput$=GetMetricDataQueryDefinitionInput$;exports.GetMetricDataQueryDefinitionOutput$=GetMetricDataQueryDefinitionOutput$;
170
+ exports.GetMetricStatistics$=GetMetricStatistics$;exports.GetMetricStatisticsCommand=GetMetricStatisticsCommand;exports.GetMetricStatisticsInput$=GetMetricStatisticsInput$;exports.GetMetricStatisticsOutput$=GetMetricStatisticsOutput$;exports.GetMetricStream$=GetMetricStream$;exports.GetMetricStreamCommand=GetMetricStreamCommand;exports.GetMetricStreamInput$=GetMetricStreamInput$;exports.GetMetricStreamOutput$=GetMetricStreamOutput$;exports.GetMetricWidgetImage$=GetMetricWidgetImage$;exports.GetMetricWidgetImageCommand=
171
+ GetMetricWidgetImageCommand;exports.GetMetricWidgetImageInput$=GetMetricWidgetImageInput$;exports.GetMetricWidgetImageOutput$=GetMetricWidgetImageOutput$;exports.GetOTelEnrichment$=GetOTelEnrichment$;exports.GetOTelEnrichmentCommand=GetOTelEnrichmentCommand;exports.GetOTelEnrichmentInput$=GetOTelEnrichmentInput$;exports.GetOTelEnrichmentOutput$=GetOTelEnrichmentOutput$;exports.GetResourceMetricsConfiguration$=GetResourceMetricsConfiguration$;exports.GetResourceMetricsConfigurationCommand=GetResourceMetricsConfigurationCommand;
172
+ exports.GetResourceMetricsConfigurationInput$=GetResourceMetricsConfigurationInput$;exports.GetResourceMetricsConfigurationOutput$=GetResourceMetricsConfigurationOutput$;exports.HistoryItemType=HistoryItemType;exports.InsightRule$=InsightRule$;exports.InsightRuleContributor$=InsightRuleContributor$;exports.InsightRuleContributorDatapoint$=InsightRuleContributorDatapoint$;exports.InsightRuleMetricDatapoint$=InsightRuleMetricDatapoint$;exports.InternalServiceFault=InternalServiceFault;exports.InternalServiceFault$=
173
+ InternalServiceFault$;exports.InvalidFormatFault=InvalidFormatFault;exports.InvalidFormatFault$=InvalidFormatFault$;exports.InvalidNextToken=InvalidNextToken;exports.InvalidNextToken$=InvalidNextToken$;exports.InvalidParameterCombinationException=InvalidParameterCombinationException;exports.InvalidParameterCombinationException$=InvalidParameterCombinationException$;exports.InvalidParameterValueException=InvalidParameterValueException;exports.InvalidParameterValueException$=InvalidParameterValueException$;
174
+ exports.KmsAccessDeniedException=KmsAccessDeniedException;exports.KmsAccessDeniedException$=KmsAccessDeniedException$;exports.KmsKeyDisabledException=KmsKeyDisabledException;exports.KmsKeyDisabledException$=KmsKeyDisabledException$;exports.KmsKeyNotFoundException=KmsKeyNotFoundException;exports.KmsKeyNotFoundException$=KmsKeyNotFoundException$;exports.LabelOptions$=LabelOptions$;exports.LimitExceededException=LimitExceededException;exports.LimitExceededException$=LimitExceededException$;exports.
175
+ LimitExceededFault=LimitExceededFault;exports.LimitExceededFault$=LimitExceededFault$;exports.ListAlarmMuteRules$=ListAlarmMuteRules$;exports.ListAlarmMuteRulesCommand=ListAlarmMuteRulesCommand;exports.ListAlarmMuteRulesInput$=ListAlarmMuteRulesInput$;exports.ListAlarmMuteRulesOutput$=ListAlarmMuteRulesOutput$;exports.ListDashboards$=ListDashboards$;exports.ListDashboardsCommand=ListDashboardsCommand;exports.ListDashboardsInput$=ListDashboardsInput$;exports.ListDashboardsOutput$=ListDashboardsOutput$;
176
+ exports.ListManagedInsightRules$=ListManagedInsightRules$;exports.ListManagedInsightRulesCommand=ListManagedInsightRulesCommand;exports.ListManagedInsightRulesInput$=ListManagedInsightRulesInput$;exports.ListManagedInsightRulesOutput$=ListManagedInsightRulesOutput$;exports.ListMetricDataQueryDefinitions$=ListMetricDataQueryDefinitions$;exports.ListMetricDataQueryDefinitionsCommand=ListMetricDataQueryDefinitionsCommand;exports.ListMetricDataQueryDefinitionsInput$=ListMetricDataQueryDefinitionsInput$;
177
+ exports.ListMetricDataQueryDefinitionsOutput$=ListMetricDataQueryDefinitionsOutput$;exports.ListMetricStreams$=ListMetricStreams$;exports.ListMetricStreamsCommand=ListMetricStreamsCommand;exports.ListMetricStreamsInput$=ListMetricStreamsInput$;exports.ListMetricStreamsOutput$=ListMetricStreamsOutput$;exports.ListMetrics$=ListMetrics$;exports.ListMetricsCommand=ListMetricsCommand;exports.ListMetricsInput$=ListMetricsInput$;exports.ListMetricsOutput$=ListMetricsOutput$;exports.ListTagsForResource$=
178
+ ListTagsForResource$;exports.ListTagsForResourceCommand=ListTagsForResourceCommand;exports.ListTagsForResourceInput$=ListTagsForResourceInput$;exports.ListTagsForResourceOutput$=ListTagsForResourceOutput$;exports.LogAlarm$=LogAlarm$;exports.ManagedRule$=ManagedRule$;exports.ManagedRuleDescription$=ManagedRuleDescription$;exports.ManagedRuleState$=ManagedRuleState$;exports.MessageData$=MessageData$;exports.Metric$=Metric$;exports.MetricAlarm$=MetricAlarm$;exports.MetricCharacteristics$=MetricCharacteristics$;
179
+ exports.MetricDataQuery$=MetricDataQuery$;exports.MetricDataQueryDefinitionSummary$=MetricDataQueryDefinitionSummary$;exports.MetricDataResult$=MetricDataResult$;exports.MetricDatum$=MetricDatum$;exports.MetricMathAnomalyDetector$=MetricMathAnomalyDetector$;exports.MetricStat$=MetricStat$;exports.MetricStreamEntry$=MetricStreamEntry$;exports.MetricStreamFilter$=MetricStreamFilter$;exports.MetricStreamOutputFormat=MetricStreamOutputFormat;exports.MetricStreamStatisticsConfiguration$=MetricStreamStatisticsConfiguration$;
180
+ exports.MetricStreamStatisticsMetric$=MetricStreamStatisticsMetric$;exports.MissingRequiredParameterException=MissingRequiredParameterException;exports.MissingRequiredParameterException$=MissingRequiredParameterException$;exports.MuteTargets$=MuteTargets$;exports.OTelEnrichmentMetricSelector$=OTelEnrichmentMetricSelector$;exports.OTelEnrichmentStatus=OTelEnrichmentStatus;exports.PartialFailure$=PartialFailure$;exports.PutAlarmMuteRule$=PutAlarmMuteRule$;exports.PutAlarmMuteRuleCommand=PutAlarmMuteRuleCommand;
181
+ exports.PutAlarmMuteRuleInput$=PutAlarmMuteRuleInput$;exports.PutAnomalyDetector$=PutAnomalyDetector$;exports.PutAnomalyDetectorCommand=PutAnomalyDetectorCommand;exports.PutAnomalyDetectorInput$=PutAnomalyDetectorInput$;exports.PutAnomalyDetectorOutput$=PutAnomalyDetectorOutput$;exports.PutCompositeAlarm$=PutCompositeAlarm$;exports.PutCompositeAlarmCommand=PutCompositeAlarmCommand;exports.PutCompositeAlarmInput$=PutCompositeAlarmInput$;exports.PutDashboard$=PutDashboard$;exports.PutDashboardCommand=
182
+ PutDashboardCommand;exports.PutDashboardInput$=PutDashboardInput$;exports.PutDashboardOutput$=PutDashboardOutput$;exports.PutInsightRule$=PutInsightRule$;exports.PutInsightRuleCommand=PutInsightRuleCommand;exports.PutInsightRuleInput$=PutInsightRuleInput$;exports.PutInsightRuleOutput$=PutInsightRuleOutput$;exports.PutLogAlarm$=PutLogAlarm$;exports.PutLogAlarmCommand=PutLogAlarmCommand;exports.PutLogAlarmInput$=PutLogAlarmInput$;exports.PutManagedInsightRules$=PutManagedInsightRules$;exports.PutManagedInsightRulesCommand=
183
+ PutManagedInsightRulesCommand;exports.PutManagedInsightRulesInput$=PutManagedInsightRulesInput$;exports.PutManagedInsightRulesOutput$=PutManagedInsightRulesOutput$;exports.PutMetricAlarm$=PutMetricAlarm$;exports.PutMetricAlarmCommand=PutMetricAlarmCommand;exports.PutMetricAlarmInput$=PutMetricAlarmInput$;exports.PutMetricData$=PutMetricData$;exports.PutMetricDataCommand=PutMetricDataCommand;exports.PutMetricDataInput$=PutMetricDataInput$;exports.PutMetricDataQueryDefinition$=PutMetricDataQueryDefinition$;
184
+ exports.PutMetricDataQueryDefinitionCommand=PutMetricDataQueryDefinitionCommand;exports.PutMetricDataQueryDefinitionInput$=PutMetricDataQueryDefinitionInput$;exports.PutMetricDataQueryDefinitionOutput$=PutMetricDataQueryDefinitionOutput$;exports.PutMetricStream$=PutMetricStream$;exports.PutMetricStreamCommand=PutMetricStreamCommand;exports.PutMetricStreamInput$=PutMetricStreamInput$;exports.PutMetricStreamOutput$=PutMetricStreamOutput$;exports.QueryType=QueryType;exports.Range$=Range$;exports.RecentlyActive=
185
+ RecentlyActive;exports.ResourceConflict=ResourceConflict;exports.ResourceConflict$=ResourceConflict$;exports.ResourceMetricSelection$=ResourceMetricSelection$;exports.ResourceMetricsConfiguration$=ResourceMetricsConfiguration$;exports.ResourceNotFound=ResourceNotFound;exports.ResourceNotFound$=ResourceNotFound$;exports.ResourceNotFoundException=ResourceNotFoundException;exports.ResourceNotFoundException$=ResourceNotFoundException$;exports.Rule$=Rule$;exports.ScanBy=ScanBy;exports.Schedule$=Schedule$;
186
+ exports.ScheduleConfiguration$=ScheduleConfiguration$;exports.ScheduledQueryConfiguration$=ScheduledQueryConfiguration$;exports.SetAlarmState$=SetAlarmState$;exports.SetAlarmStateCommand=SetAlarmStateCommand;exports.SetAlarmStateInput$=SetAlarmStateInput$;exports.SingleMetricAnomalyDetector$=SingleMetricAnomalyDetector$;exports.SlidingWindow$=SlidingWindow$;exports.StandardUnit=StandardUnit;exports.StartMetricStreams$=StartMetricStreams$;exports.StartMetricStreamsCommand=StartMetricStreamsCommand;
187
+ exports.StartMetricStreamsInput$=StartMetricStreamsInput$;exports.StartMetricStreamsOutput$=StartMetricStreamsOutput$;exports.StartOTelEnrichment$=StartOTelEnrichment$;exports.StartOTelEnrichmentCommand=StartOTelEnrichmentCommand;exports.StartOTelEnrichmentInput$=StartOTelEnrichmentInput$;exports.StartOTelEnrichmentOutput$=StartOTelEnrichmentOutput$;exports.StateValue=StateValue;exports.Statistic=Statistic;exports.StatisticSet$=StatisticSet$;exports.StatusCode=StatusCode;exports.StopMetricStreams$=
188
+ StopMetricStreams$;exports.StopMetricStreamsCommand=StopMetricStreamsCommand;exports.StopMetricStreamsInput$=StopMetricStreamsInput$;exports.StopMetricStreamsOutput$=StopMetricStreamsOutput$;exports.StopOTelEnrichment$=StopOTelEnrichment$;exports.StopOTelEnrichmentCommand=StopOTelEnrichmentCommand;exports.StopOTelEnrichmentInput$=StopOTelEnrichmentInput$;exports.StopOTelEnrichmentOutput$=StopOTelEnrichmentOutput$;exports.Tag$=Tag$;exports.TagResource$=TagResource$;exports.TagResourceCommand=TagResourceCommand;
189
+ exports.TagResourceInput$=TagResourceInput$;exports.TagResourceOutput$=TagResourceOutput$;exports.UntagResource$=UntagResource$;exports.UntagResourceCommand=UntagResourceCommand;exports.UntagResourceInput$=UntagResourceInput$;exports.UntagResourceOutput$=UntagResourceOutput$;exports.UpdateOTelEnrichment$=UpdateOTelEnrichment$;exports.UpdateOTelEnrichmentCommand=UpdateOTelEnrichmentCommand;exports.UpdateOTelEnrichmentInput$=UpdateOTelEnrichmentInput$;exports.UpdateOTelEnrichmentOutput$=UpdateOTelEnrichmentOutput$;
190
+ exports.UpdateResourceMetricsConfiguration$=UpdateResourceMetricsConfiguration$;exports.UpdateResourceMetricsConfigurationCommand=UpdateResourceMetricsConfigurationCommand;exports.UpdateResourceMetricsConfigurationInput$=UpdateResourceMetricsConfigurationInput$;exports.UpdateResourceMetricsConfigurationOutput$=UpdateResourceMetricsConfigurationOutput$;exports.ValidationException=ValidationException;exports.ValidationException$=ValidationException$;exports.WallClockWindow$=WallClockWindow$;exports.
191
+ WarmUpConfiguration$=WarmUpConfiguration$;exports.errorTypeRegistries=errorTypeRegistries;exports.paginateDescribeAlarmHistory=paginateDescribeAlarmHistory;exports.paginateDescribeAlarms=paginateDescribeAlarms;exports.paginateDescribeAnomalyDetectors=paginateDescribeAnomalyDetectors;exports.paginateDescribeInsightRules=paginateDescribeInsightRules;exports.paginateGetMetricData=paginateGetMetricData;exports.paginateListAlarmMuteRules=paginateListAlarmMuteRules;exports.paginateListDashboards=paginateListDashboards;
192
+ exports.paginateListManagedInsightRules=paginateListManagedInsightRules;exports.paginateListMetricDataQueryDefinitions=paginateListMetricDataQueryDefinitions;exports.paginateListMetricStreams=paginateListMetricStreams;exports.paginateListMetrics=paginateListMetrics;exports.waitForAlarmExists=waitForAlarmExists;exports.waitForAlarmMuteRuleExists=waitForAlarmMuteRuleExists;exports.waitForCompositeAlarmExists=waitForCompositeAlarmExists;exports.waitForLogAlarmExists=waitForLogAlarmExists;exports.waitUntilAlarmExists=
193
+ waitUntilAlarmExists;exports.waitUntilAlarmMuteRuleExists=waitUntilAlarmMuteRuleExists;exports.waitUntilCompositeAlarmExists=waitUntilCompositeAlarmExists;exports.waitUntilLogAlarmExists=waitUntilLogAlarmExists}});export default require_dist_cjs4();
@@ -1,5 +1,5 @@
1
1
  import { createRequire as __piCreateRequire } from "node:module"; const require = __piCreateRequire(import.meta.url);
2
- import{ARMIN_HEIGHT,ARMIN_WIDTH,isArminPixel}from"./chunk-KRCX3ZBA.js";import{formatKeyText,theme}from"./chunk-JF7FYXAI.js";import"./chunk-XQRYOCHA.js";import{backgroundAnsi,colorToRgb,foregroundAnsi,getKeybindings,indexedColor,rgbColor,visibleWidth}from"./chunk-JYWUOKOI.js";import"./chunk-DNGJMRJW.js";import"./chunk-VFLVWPLZ.js";import"./chunk-JXWJOIH4.js";var DEPTH=.7,FLY_START=.1,FLY_DURATION=1.3,START_SCALE=.1;function createModel(columns,rows,pixel,options){let blocks=[];for(let row=0;row<rows;row++)for(let column=0;column<columns;column++){let color=pixel(column,row);color&&blocks.push({home:[column,row,0],color})}return{columns,rows,blocks,cameraDistance:options.cameraDistance,radius:Math.hypot(columns/2,rows/2,1+DEPTH/2),widthShare:options.widthShare,puzzleMoves:random=>options.puzzleMoves(random,blocks.length),origin:options.origin}}var CORAL=[
2
+ import{ARMIN_HEIGHT,ARMIN_WIDTH,isArminPixel}from"./chunk-APNPBT7Y.js";import{formatKeyText,theme}from"./chunk-KONLZKPL.js";import"./chunk-XQRYOCHA.js";import{backgroundAnsi,colorToRgb,foregroundAnsi,getKeybindings,indexedColor,rgbColor,visibleWidth}from"./chunk-WBSGWISD.js";import"./chunk-DNGJMRJW.js";import"./chunk-VFLVWPLZ.js";import"./chunk-JXWJOIH4.js";var DEPTH=.7,FLY_START=.1,FLY_DURATION=1.3,START_SCALE=.1;function createModel(columns,rows,pixel,options){let blocks=[];for(let row=0;row<rows;row++)for(let column=0;column<columns;column++){let color=pixel(column,row);color&&blocks.push({home:[column,row,0],color})}return{columns,rows,blocks,cameraDistance:options.cameraDistance,radius:Math.hypot(columns/2,rows/2,1+DEPTH/2),widthShare:options.widthShare,puzzleMoves:random=>options.puzzleMoves(random,blocks.length),origin:options.origin}}var CORAL=[
3
3
  228,138,122],BLUE=[79,142,179],YELLOW=[234,182,93],PI_LOGO_PIXELS=["ccc.","b.c.","bb.y","b..y"],PI_LOGO_COLORS={c:CORAL,b:BLUE,y:YELLOW};function piLogoModel(origin){return createModel(4,4,(column,row)=>PI_LOGO_COLORS[PI_LOGO_PIXELS[row][column]],{cameraDistance:10,widthShare:.35,puzzleMoves:random=>random<.4?2:1,origin})}function arminModel(color){return createModel(ARMIN_WIDTH,ARMIN_HEIGHT,(column,row)=>isArminPixel(column,row)?color:void 0,{cameraDistance:80,widthShare:.45,puzzleMoves:(random,blockCount)=>Math.
4
4
  round(blockCount*(.03+random*.04)),origin:void 0})}var PUZZLE_START=FLY_START+FLY_DURATION+3,PUZZLE_STEP=.3,PUZZLE_STEPS=12,PUZZLE_RETURN=1,PUZZLE_HOLD=.6,PUZZLE_CYCLE=PUZZLE_STEP*PUZZLE_STEPS+PUZZLE_RETURN+PUZZLE_HOLD,PUZZLE_MOVES=[[1,0,0],[-1,0,0],[0,1,0],[0,-1,0],[1,0,0],[-1,0,0],[0,1,0],[0,-1,0],[0,0,1],[0,0,-1]];function shuffleSteps(model,cycle){let{columns,rows}=model,positions=model.blocks.map(block=>block.home),steps=[positions],lastMoved=new Set,random=cycle*7919+1,next=()=>hash(random++),
5
5
  key=([x,y,z])=>((z+1)*rows+y)*columns+x;for(let step=0;step<PUZZLE_STEPS;step++){let occupied=new Set(positions.map(key)),nextPositions=[...positions],moved=new Set,moveCount=model.puzzleMoves(next());for(let move=0;move<moveCount;move++){let candidates=[];for(let block=0;block<positions.length;block++){if(moved.has(block))continue;let[x,y,z]=positions[block];for(let[dx,dy,dz]of PUZZLE_MOVES){let target=[x+dx,y+dy,z+dz];target[0]<0||target[0]>=columns||target[1]<0||target[1]>=rows||target[2]<-1||
@@ -0,0 +1,2 @@
1
+ import { createRequire as __piCreateRequire } from "node:module"; const require = __piCreateRequire(import.meta.url);
2
+ import{runAgentMonitorCommand}from"./chunk-7WE77IE3.js";import"./chunk-4TDNOR36.js";import"./chunk-2NVGOSBN.js";import"./chunk-PVNXN2TC.js";import"./chunk-7OZNMWAJ.js";import"./chunk-VCMXBP5S.js";import"./chunk-VEGJT52D.js";import"./chunk-6HTHDVJC.js";import"./chunk-B47PNNLL.js";import"./chunk-VFLVWPLZ.js";import"./chunk-JXWJOIH4.js";export{runAgentMonitorCommand};
@@ -1,8 +1,8 @@
1
1
  import { createRequire as __piCreateRequire } from "node:module"; const require = __piCreateRequire(import.meta.url);
2
- import{isProcessAlive,probeLiveBroker}from"./chunk-KTSJYIYC.js";import{ARTIFACT_NAMESPACE_PREFIX,ARTIFACT_QUOTA_BYTES,ARTIFACT_RETENTION_MS,COORD_INTEGRATION_FEATURE,COORD_RECORDS_FEATURE,EXACT_SEND_FEATURE,EXTENSION_BUS_FEATURE,HANDOFF_KEY_PREFIX,ID_IN_USE_DETAIL,INTEGRATION_NAMESPACE,MAX_ARTIFACTS,MAX_ARTIFACT_BYTES,MAX_ATTEMPTS,MAX_BRANCH_NAME_CHARS,MAX_CHECKOUT_ROOT_CHARS,MAX_CONFLICT_FILES,MAX_CONFLICT_FILE_CHARS,MAX_EVIDENCE_CHARS,MAX_HANDOFFS,MAX_MESSAGE_ID_CHARS,MAX_RECORDS,MAX_RECORD_ARTIFACT_REFS,
2
+ import{isProcessAlive,probeLiveBroker}from"./chunk-HHWVVNGG.js";import{ARTIFACT_NAMESPACE_PREFIX,ARTIFACT_QUOTA_BYTES,ARTIFACT_RETENTION_MS,COORD_INTEGRATION_FEATURE,COORD_RECORDS_FEATURE,EXACT_SEND_FEATURE,EXTENSION_BUS_FEATURE,HANDOFF_KEY_PREFIX,ID_IN_USE_DETAIL,INTEGRATION_NAMESPACE,MAX_ARTIFACTS,MAX_ARTIFACT_BYTES,MAX_ATTEMPTS,MAX_BRANCH_NAME_CHARS,MAX_CHECKOUT_ROOT_CHARS,MAX_CONFLICT_FILES,MAX_CONFLICT_FILE_CHARS,MAX_EVIDENCE_CHARS,MAX_HANDOFFS,MAX_MESSAGE_ID_CHARS,MAX_RECORDS,MAX_RECORD_ARTIFACT_REFS,
3
3
  MAX_RECORD_VALUE_BYTES,MAX_RECORD_VALUE_DEPTH,MAX_REQUEST_ID_CHARS,MAX_SESSION_FIELD_CHARS,MAX_WRITERS,POLICY_NAMESPACE,RECORD_NAMESPACE_PREFIX,RECORD_TOMBSTONE_RETENTION_MS,RESOLUTION_KEY_PREFIX,SESSION_HELD_ERROR_CODE,STAGED_FILE_PATTERN,STALE_STAGED_FILE_MS,WORST_CASE_REQUEST_ID,canonicalMessageReceipt,isArtifactName,isBoundedString,isGitObjectId,isHandoffId,isMessage,isMessageReceipt,isOwnershipMode,isRecordKey,isRecordState,isRequestId,isReservedNamespace,isReservedRecordKey,isSessionId,isSessionInfo,
4
- isSessionRegistration,isSha256Hex,isTouchedPaths,isValidBranchName,isValidMessageId,matchesPeer,messageDeliveryFingerprint,peerHandle,resolveExactTargets,resolveHandleTargets,resolvePrefixTargets,validateHandoffInput,validateJsonSafe}from"./chunk-UEW6TUSP.js";import"./chunk-CRN54O4D.js";import{COORDINATION_ROLE,COORDINATION_ROLE_ENV,MAX_RUNTIME_TEXT_FILE_BYTES,createFileExclusive,fsyncDirectory,readBoundedTextFile,readJsonFile,readTextFile,writeJsonAtomic,writeTextAtomic}from"./chunk-6PNQYO6A.js";
5
- import{COORDINATION_FILE_MODE,COORDINATION_PROTOCOL_NAME,COORDINATION_PROTOCOL_VERSION,MAX_MESSAGE_TEXT_BYTES,createMessageReader,ensureCoordinationRuntimeDir,ensureRuntimeDir,framePayloadBytes,getCoordinationRuntimePaths,resolveCoordinationRuntimePaths,restrictRuntimeFile,writeMessage}from"./chunk-R5OOX7RW.js";import{getAgentDir}from"./chunk-VFLVWPLZ.js";import"./chunk-JXWJOIH4.js";import{createHash as createHash3,randomUUID}from"node:crypto";import{lstatSync as lstatSync3,readdirSync as readdirSync3,unlinkSync as unlinkSync3}from"node:fs";import net from"node:net";import{dirname,join as join3}from"node:path";import{createHash,randomBytes}from"node:crypto";import{closeSync,constants,fchmodSync,fstatSync,fsyncSync,linkSync,lstatSync,openSync,readdirSync,readSync,renameSync,unlinkSync,writeSync}from"node:fs";import{join}from"node:path";var COPY_CHUNK_BYTES=64*1024,BLOB_TEMP_PATTERN=/^[a-f0-9]{32}\.tmp$/;function fail(code,message){return{ok:!1,code,message}}function removeFile(path){try{return unlinkSync(path),!0}catch{return!1}}function errnoName(error){return typeof error=="object"&&error!==null&&"code"in error&&typeof error.code=="string"?error.code:"error"}function listNames(dir){try{return readdirSync(dir)}catch{return[]}}function isOlderThan(path,now,ageMs){try{return now-lstatSync(path).mtimeMs>ageMs}catch{return!1}}function isArtifactEntry(value){
4
+ isSessionRegistration,isSha256Hex,isTouchedPaths,isValidBranchName,isValidMessageId,matchesPeer,messageDeliveryFingerprint,peerHandle,resolveExactTargets,resolveHandleTargets,resolvePrefixTargets,validateHandoffInput,validateJsonSafe}from"./chunk-UEW6TUSP.js";import"./chunk-SKCJ25SX.js";import{COORDINATION_ROLE,COORDINATION_ROLE_ENV}from"./chunk-6HTHDVJC.js";import{COORDINATION_FILE_MODE,COORDINATION_PROTOCOL_NAME,COORDINATION_PROTOCOL_VERSION,MAX_MESSAGE_TEXT_BYTES,MAX_RUNTIME_TEXT_FILE_BYTES,
5
+ createFileExclusive,createMessageReader,ensureCoordinationRuntimeDir,ensureRuntimeDir,framePayloadBytes,fsyncDirectory,getCoordinationRuntimePaths,readBoundedTextFile,readJsonFile,readTextFile,resolveCoordinationRuntimePaths,restrictRuntimeFile,writeJsonAtomic,writeMessage,writeTextAtomic}from"./chunk-B47PNNLL.js";import{getAgentDir}from"./chunk-VFLVWPLZ.js";import"./chunk-JXWJOIH4.js";import{createHash as createHash3,randomUUID}from"node:crypto";import{lstatSync as lstatSync3,readdirSync as readdirSync3,unlinkSync as unlinkSync3}from"node:fs";import net from"node:net";import{dirname,join as join3}from"node:path";import{createHash,randomBytes}from"node:crypto";import{closeSync,constants,fchmodSync,fstatSync,fsyncSync,linkSync,lstatSync,openSync,readdirSync,readSync,renameSync,unlinkSync,writeSync}from"node:fs";import{join}from"node:path";var COPY_CHUNK_BYTES=64*1024,BLOB_TEMP_PATTERN=/^[a-f0-9]{32}\.tmp$/;function fail(code,message){return{ok:!1,code,message}}function removeFile(path){try{return unlinkSync(path),!0}catch{return!1}}function errnoName(error){return typeof error=="object"&&error!==null&&"code"in error&&typeof error.code=="string"?error.code:"error"}function listNames(dir){try{return readdirSync(dir)}catch{return[]}}function isOlderThan(path,now,ageMs){try{return now-lstatSync(path).mtimeMs>ageMs}catch{return!1}}function isArtifactEntry(value){
6
6
  if(typeof value!="object"||value===null)return!1;let entry=value;return isArtifactName(entry.name)&&isSha256Hex(entry.sha256)&&typeof entry.size=="number"&&Number.isSafeInteger(entry.size)&&entry.size>=0&&typeof entry.publisher=="string"&&typeof entry.publishedAt=="number"&&Number.isFinite(entry.publishedAt)&&(entry.recordKey===void 0||isRecordKey(entry.recordKey))}var ArtifactStore=class{states;artifactsDir;blobsDir;incomingDir;limits;constructor(states,artifactsDir,limits={}){this.states=states,
7
7
  this.artifactsDir=artifactsDir,this.blobsDir=join(artifactsDir,"blobs"),this.incomingDir=join(artifactsDir,"incoming"),this.limits={maxArtifactBytes:MAX_ARTIFACT_BYTES,quotaBytes:ARTIFACT_QUOTA_BYTES,maxArtifacts:MAX_ARTIFACTS,...limits}}ensureDirs(){ensureRuntimeDir(this.artifactsDir),ensureRuntimeDir(this.blobsDir),ensureRuntimeDir(this.incomingDir)}blobPath(sha256){return join(this.blobsDir,sha256)}knownSha256(){return new Set(this.list().map(entry=>entry.sha256))}get(name){if(!isArtifactName(
8
8
  name))return;let payload=this.states.loadState(ARTIFACT_NAMESPACE_PREFIX+name)?.payload;return isArtifactEntry(payload)&&payload.name===name?payload:void 0}list(){let entries=[];for(let state of this.states.listStates(ARTIFACT_NAMESPACE_PREFIX)){let payload=state.payload;isArtifactEntry(payload)&&ARTIFACT_NAMESPACE_PREFIX+payload.name===state.namespace&&entries.push(payload)}return entries.sort((left,right)=>left.name<right.name?-1:left.name>right.name?1:0)}listBounded(maxFrameBytes=1048576){let entries=this.
@@ -1,2 +1,2 @@
1
1
  import { createRequire as __piCreateRequire } from "node:module"; const require = __piCreateRequire(import.meta.url);
2
- import{EventStreamCodec,EventStreamMarshaller,EventStreamMarshaller2,EventStreamSerde,HeaderMarshaller,Int64,MessageDecoderStream,MessageEncoderStream,SmithyMessageDecoderStream,SmithyMessageEncoderStream,eventStreamSerdeProvider,eventStreamSerdeProvider2,getChunkedStream,getMessageUnmarshaller,getUnmarshalledStream,init_event_streams,iterableToReadableStream,readableStreamToIterable,resolveEventStreamSerdeConfig}from"./chunk-C6VERWRZ.js";import"./chunk-6E6RHNOU.js";import"./chunk-JXWJOIH4.js";init_event_streams();export{EventStreamCodec,EventStreamMarshaller2 as EventStreamMarshaller,EventStreamSerde,HeaderMarshaller,Int64,MessageDecoderStream,MessageEncoderStream,SmithyMessageDecoderStream,SmithyMessageEncoderStream,EventStreamMarshaller as UniversalEventStreamMarshaller,eventStreamSerdeProvider2 as eventStreamSerdeProvider,getChunkedStream,getMessageUnmarshaller,getUnmarshalledStream,iterableToReadableStream,readableStreamToIterable,resolveEventStreamSerdeConfig,eventStreamSerdeProvider as universalEventStreamSerdeProvider};
2
+ import{EventStreamCodec,EventStreamMarshaller,EventStreamMarshaller2,EventStreamSerde,HeaderMarshaller,Int64,MessageDecoderStream,MessageEncoderStream,SmithyMessageDecoderStream,SmithyMessageEncoderStream,eventStreamSerdeProvider,eventStreamSerdeProvider2,getChunkedStream,getMessageUnmarshaller,getUnmarshalledStream,init_event_streams,iterableToReadableStream,readableStreamToIterable,resolveEventStreamSerdeConfig}from"./chunk-4XF5JX7X.js";import"./chunk-UXM4WFLH.js";import"./chunk-JXWJOIH4.js";init_event_streams();export{EventStreamCodec,EventStreamMarshaller2 as EventStreamMarshaller,EventStreamSerde,HeaderMarshaller,Int64,MessageDecoderStream,MessageEncoderStream,SmithyMessageDecoderStream,SmithyMessageEncoderStream,EventStreamMarshaller as UniversalEventStreamMarshaller,eventStreamSerdeProvider2 as eventStreamSerdeProvider,getChunkedStream,getMessageUnmarshaller,getUnmarshalledStream,iterableToReadableStream,readableStreamToIterable,resolveEventStreamSerdeConfig,eventStreamSerdeProvider as universalEventStreamSerdeProvider};
@@ -1,6 +1,6 @@
1
1
  import { createRequire as __piCreateRequire } from "node:module"; const require = __piCreateRequire(import.meta.url);
2
- import{Bm25Ranker,DEFAULT_TOOL_SEARCH_LIMIT,createToolSearchDocument}from"./chunk-MD7K7RPN.js";import{CODEMODE_DOCS_PATH,CODEMODE_STORE_ENTRY_TYPE,getCodemodeCallableTools,parseCodemodeSource,renderToolSample,toCodemodeDeclaration,toCodemodeIdentifier}from"./chunk-WAPZN4KP.js";import{combineUsage}from"./chunk-GTILMMUF.js";import{writeOutputFile}from"./chunk-5B25YXF7.js";import{formatSize,sliceHead,sliceTail}from"./chunk-3HVHETMU.js";import"./chunk-WQOOJP7U.js";
3
- import"./chunk-JF7FYXAI.js";import"./chunk-XQRYOCHA.js";import"./chunk-JYWUOKOI.js";import"./chunk-DNGJMRJW.js";import"./chunk-CRN54O4D.js";import"./chunk-5L4PBYC7.js";import"./chunk-VEGJT52D.js";import{getCodemodeWorkerSpecifier,getQuickJSWasmPath}from"./chunk-VFLVWPLZ.js";import"./chunk-JXWJOIH4.js";function isWorkerToHostMessage(value){if(typeof value!="object"||value===null)return!1;let type=value.type;return type==="call"||type==="output"||type==="done"||type==="crash"||type==="started"||type==="idle"}var DEFAULT_TIMEOUT_MS=3e5,IDENTIFIER=/^[A-Za-z_$][A-Za-z0-9_$]*$/,RESERVED_GLOBALS=new Set(["tools","ALL_TOOLS","console","text","image","exit","globalThis","store","load"]);function errorMessage(error){return error instanceof Error?error.message:String(error)}function serializeStore(store){let serialized=Object.create(null);for(let[key,value]of Object.entries(store??{})){let json=JSON.stringify(value);json!==void 0&&(serialized[key]=json)}return serialized}var BridgeError=class extends Error{};
2
+ import{Bm25Ranker,DEFAULT_TOOL_SEARCH_LIMIT,createToolSearchDocument}from"./chunk-D3KYOSQY.js";import{CODEMODE_DOCS_PATH,CODEMODE_STORE_ENTRY_TYPE,getCodemodeCallableTools,parseCodemodeSource,renderToolSample,toCodemodeDeclaration,toCodemodeIdentifier}from"./chunk-P2Y2H7SD.js";import{combineUsage,writeOutputFile}from"./chunk-3CGMVKHA.js";import{formatSize,sliceHead,sliceTail}from"./chunk-3HVHETMU.js";import"./chunk-GV5OVRKK.js";import"./chunk-KONLZKPL.js";import"./chunk-XQRYOCHA.js";
3
+ import"./chunk-WBSGWISD.js";import"./chunk-DNGJMRJW.js";import"./chunk-SKCJ25SX.js";import"./chunk-YSWDFV2L.js";import"./chunk-VEGJT52D.js";import{getCodemodeWorkerSpecifier,getQuickJSWasmPath}from"./chunk-VFLVWPLZ.js";import"./chunk-JXWJOIH4.js";function isWorkerToHostMessage(value){if(typeof value!="object"||value===null)return!1;let type=value.type;return type==="call"||type==="output"||type==="done"||type==="crash"||type==="started"||type==="idle"}var DEFAULT_TIMEOUT_MS=3e5,IDENTIFIER=/^[A-Za-z_$][A-Za-z0-9_$]*$/,RESERVED_GLOBALS=new Set(["tools","ALL_TOOLS","console","text","image","exit","globalThis","store","load"]);function errorMessage(error){return error instanceof Error?error.message:String(error)}function serializeStore(store){let serialized=Object.create(null);for(let[key,value]of Object.entries(store??{})){let json=JSON.stringify(value);json!==void 0&&(serialized[key]=json)}return serialized}var BridgeError=class extends Error{};
4
4
  function parseBridgeJson(json,what){try{return JSON.parse(json)}catch{throw new BridgeError(`${what} is not valid JSON`)}}function parseStoreWrites(json){let entries=parseBridgeJson(json,"store writes");if(!Array.isArray(entries))throw new BridgeError("store writes are not an array");let writes={set:Object.create(null),delete:[]};for(let entry of entries){if(!Array.isArray(entry)||typeof entry[0]!="string"||(entry.length===2?typeof entry[1]!="string":entry.length!==1))throw new BridgeError("stor\
5
5
  e writes contain a malformed entry");let[key,value]=entry;value===void 0?writes.delete.push(key):writes.set[key]=parseBridgeJson(value,`store value for ${JSON.stringify(key)}`)}return writes}function parseScriptError(json){let parsed=parseBridgeJson(json,"script error");if(typeof parsed!="object"||parsed===null)throw new BridgeError("script error is not an object");let{name,message,stack}=parsed;if(typeof message!="string"||name!==void 0&&typeof name!="string"||stack!==void 0&&typeof stack!="str\
6
6
  ing")throw new BridgeError("script error is malformed");return{kind:"script",name,message,stack}}function checkGlobals(globals){let names=new Set,namespaces=new Set;for(let global of globals){let parts=global.name.split(".");if(parts.length>2||!parts.every(part=>IDENTIFIER.test(part))||RESERVED_GLOBALS.has(parts[0]))throw new Error(`Invalid global name "${global.name}"`);if(names.has(global.name))throw new Error(`Global "${global.name}" is already registered`);parts.length===2&&namespaces.add(parts[0]),