@agimon-ai/po-web-components 0.0.0-alpha.13 → 0.0.0-alpha.130

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 (1333) hide show
  1. package/LICENSE +191 -1
  2. package/dist/index.cjs +1 -1
  3. package/dist/index.d.mts +14 -3
  4. package/dist/index.mjs +1 -1
  5. package/dist/markdownMediaSlot.cjs +1 -0
  6. package/dist/markdownMediaSlot.d.mts +2 -0
  7. package/dist/markdownMediaSlot.mjs +1 -0
  8. package/dist/mcpAppHost.cjs +1 -0
  9. package/dist/mcpAppHost.d.mts +4 -0
  10. package/dist/mcpAppHost.mjs +1 -0
  11. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/client.d.mts +15 -0
  12. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts +3 -0
  13. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/core/api.d.mts +1 -0
  14. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/core/middleware.d.mts +4 -0
  15. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/core/pagination.d.mts +4 -0
  16. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/core/resource.d.mts +1 -0
  17. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/core/streaming.d.mts +1 -0
  18. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/core/uploads.d.mts +1 -0
  19. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/index.d.mts +7 -0
  20. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/internal/parse.d.mts +3 -0
  21. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts +3 -0
  22. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/internal/types.d.mts +1 -0
  23. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/internal/uploads.d.mts +2 -0
  24. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/internal/utils/log.d.mts +2 -0
  25. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.mts +4 -0
  26. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.mts +4 -0
  27. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/lib/beta-parser.d.mts +2 -0
  28. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/lib/environments/poller.d.mts +3 -0
  29. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/lib/environments/worker.d.mts +4 -0
  30. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/lib/middleware.d.mts +4 -0
  31. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/lib/parser.d.mts +2 -0
  32. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.d.mts +2 -0
  33. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.d.mts +5 -0
  34. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.d.mts +4 -0
  35. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.d.mts +1 -0
  36. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.d.mts +7 -0
  37. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/agents/index.d.mts +2 -0
  38. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.d.mts +5 -0
  39. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.mts +17 -0
  40. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/deployment-runs.d.mts +6 -0
  41. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/deployments.d.mts +9 -0
  42. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/dreams.d.mts +5 -0
  43. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.d.mts +6 -0
  44. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/environments/index.d.mts +2 -0
  45. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.d.mts +7 -0
  46. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/files.d.mts +6 -0
  47. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/index.d.mts +17 -0
  48. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/index.d.mts +3 -0
  49. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.d.mts +5 -0
  50. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.d.mts +7 -0
  51. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.d.mts +6 -0
  52. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.mts +7 -0
  53. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.mts +2 -0
  54. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.mts +12 -0
  55. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/models.d.mts +5 -0
  56. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/organization/api-keys.d.mts +4 -0
  57. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/organization/compliance-settings.d.mts +3 -0
  58. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/organization/external-keys.d.mts +4 -0
  59. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/federation.d.mts +3 -0
  60. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/index.d.mts +3 -0
  61. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/issuers.d.mts +5 -0
  62. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/rules/index.d.mts +2 -0
  63. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/rules/rules.d.mts +6 -0
  64. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/organization/federation/rules/workspaces.d.mts +6 -0
  65. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/organization/index.d.mts +10 -0
  66. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/organization/invites.d.mts +5 -0
  67. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/organization/organization.d.mts +12 -0
  68. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/organization/rate-limits.d.mts +3 -0
  69. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/organization/service-accounts/index.d.mts +2 -0
  70. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/organization/service-accounts/service-accounts.d.mts +7 -0
  71. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/organization/service-accounts/workspaces.d.mts +7 -0
  72. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/organization/users.d.mts +5 -0
  73. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces/index.d.mts +4 -0
  74. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces/members.d.mts +5 -0
  75. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces/rate-limits.d.mts +4 -0
  76. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces/service-accounts.d.mts +7 -0
  77. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/organization/workspaces/workspaces.d.mts +8 -0
  78. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.d.mts +8 -0
  79. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/sessions/index.d.mts +4 -0
  80. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.d.mts +6 -0
  81. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.d.mts +9 -0
  82. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.d.mts +9 -0
  83. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/index.d.mts +2 -0
  84. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.d.mts +9 -0
  85. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/skills/index.d.mts +2 -0
  86. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.d.mts +7 -0
  87. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.d.mts +6 -0
  88. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/certificates.d.mts +5 -0
  89. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/index.d.mts +2 -0
  90. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/tunnels.d.mts +6 -0
  91. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.d.mts +5 -0
  92. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.d.mts +5 -0
  93. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/vaults/index.d.mts +2 -0
  94. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.d.mts +6 -0
  95. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.d.mts +1 -0
  96. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/beta.d.mts +1 -0
  97. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/completions.d.mts +7 -0
  98. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/files.d.mts +5 -0
  99. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/index.d.mts +6 -0
  100. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.mts +5 -0
  101. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/messages/index.d.mts +2 -0
  102. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.mts +8 -0
  103. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/messages.d.mts +1 -0
  104. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/models.d.mts +5 -0
  105. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/skills/skills.d.mts +6 -0
  106. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/resources/skills/versions.d.mts +5 -0
  107. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/tools/agent-toolset/memories.d.mts +2 -0
  108. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.d.mts +5 -0
  109. package/dist/node_modules/.pnpm/@anthropic-ai_sdk@0.129.0_zod@4.6.7/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.d.mts +1 -0
  110. package/dist/node_modules/.pnpm/@deepseek-ai_cordis@4.0.5/node_modules/@deepseek-ai/cordis/lib/types/context.d.mts +103 -0
  111. package/dist/node_modules/.pnpm/@deepseek-ai_cordis@4.0.5/node_modules/@deepseek-ai/cordis/lib/types/context.d.mts.map +1 -0
  112. package/dist/node_modules/.pnpm/@deepseek-ai_cordis@4.0.5/node_modules/@deepseek-ai/cordis/lib/types/events.d.mts +235 -0
  113. package/dist/node_modules/.pnpm/@deepseek-ai_cordis@4.0.5/node_modules/@deepseek-ai/cordis/lib/types/events.d.mts.map +1 -0
  114. package/dist/node_modules/.pnpm/@deepseek-ai_cordis@4.0.5/node_modules/@deepseek-ai/cordis/lib/types/fiber.d.mts +168 -0
  115. package/dist/node_modules/.pnpm/@deepseek-ai_cordis@4.0.5/node_modules/@deepseek-ai/cordis/lib/types/fiber.d.mts.map +1 -0
  116. package/dist/node_modules/.pnpm/@deepseek-ai_cordis@4.0.5/node_modules/@deepseek-ai/cordis/lib/types/index.d.mts +8 -0
  117. package/dist/node_modules/.pnpm/@deepseek-ai_cordis@4.0.5/node_modules/@deepseek-ai/cordis/lib/types/logger.d.mts +92 -0
  118. package/dist/node_modules/.pnpm/@deepseek-ai_cordis@4.0.5/node_modules/@deepseek-ai/cordis/lib/types/logger.d.mts.map +1 -0
  119. package/dist/node_modules/.pnpm/@deepseek-ai_cordis@4.0.5/node_modules/@deepseek-ai/cordis/lib/types/reflect.d.mts +188 -0
  120. package/dist/node_modules/.pnpm/@deepseek-ai_cordis@4.0.5/node_modules/@deepseek-ai/cordis/lib/types/reflect.d.mts.map +1 -0
  121. package/dist/node_modules/.pnpm/@deepseek-ai_cordis@4.0.5/node_modules/@deepseek-ai/cordis/lib/types/registry.d.mts +199 -0
  122. package/dist/node_modules/.pnpm/@deepseek-ai_cordis@4.0.5/node_modules/@deepseek-ai/cordis/lib/types/registry.d.mts.map +1 -0
  123. package/dist/node_modules/.pnpm/@deepseek-ai_cordis@4.0.5/node_modules/@deepseek-ai/cordis/lib/types/service.d.mts +57 -0
  124. package/dist/node_modules/.pnpm/@deepseek-ai_cordis@4.0.5/node_modules/@deepseek-ai/cordis/lib/types/service.d.mts.map +1 -0
  125. package/dist/node_modules/.pnpm/@deepseek-ai_cordis@4.0.5/node_modules/@deepseek-ai/cordis/lib/types/utils.d.mts +37 -0
  126. package/dist/node_modules/.pnpm/@deepseek-ai_cordis@4.0.5/node_modules/@deepseek-ai/cordis/lib/types/utils.d.mts.map +1 -0
  127. package/dist/node_modules/.pnpm/@deepseek-ai_cosmokit@1.8.6/node_modules/@deepseek-ai/cosmokit/lib/types/misc.d.mts +9 -0
  128. package/dist/node_modules/.pnpm/@deepseek-ai_cosmokit@1.8.6/node_modules/@deepseek-ai/cosmokit/lib/types/misc.d.mts.map +1 -0
  129. package/dist/node_modules/.pnpm/@earendil-works_chord@1.5.0_esbuild@0.28.2_ws@8.22.0/node_modules/@earendil-works/chord/dist/context/index.d.mts +17 -0
  130. package/dist/node_modules/.pnpm/@earendil-works_chord@1.5.0_esbuild@0.28.2_ws@8.22.0/node_modules/@earendil-works/chord/dist/context/index.d.mts.map +1 -0
  131. package/dist/node_modules/.pnpm/@earendil-works_chord@1.5.0_esbuild@0.28.2_ws@8.22.0/node_modules/@earendil-works/chord/dist/delta/index.d.mts +21 -0
  132. package/dist/node_modules/.pnpm/@earendil-works_chord@1.5.0_esbuild@0.28.2_ws@8.22.0/node_modules/@earendil-works/chord/dist/delta/index.d.mts.map +1 -0
  133. package/dist/node_modules/.pnpm/@earendil-works_chord@1.5.0_esbuild@0.28.2_ws@8.22.0/node_modules/@earendil-works/chord/dist/json.d.mts +6 -0
  134. package/dist/node_modules/.pnpm/@earendil-works_chord@1.5.0_esbuild@0.28.2_ws@8.22.0/node_modules/@earendil-works/chord/dist/json.d.mts.map +1 -0
  135. package/dist/node_modules/.pnpm/@earendil-works_chord@1.5.0_esbuild@0.28.2_ws@8.22.0/node_modules/@earendil-works/chord/dist/sqlite/database.d.mts +42 -0
  136. package/dist/node_modules/.pnpm/@earendil-works_chord@1.5.0_esbuild@0.28.2_ws@8.22.0/node_modules/@earendil-works/chord/dist/sqlite/database.d.mts.map +1 -0
  137. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.d.mts +2 -0
  138. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/api/azure-openai-config.d.mts +1 -0
  139. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/api/azure-openai-responses.d.mts +3 -0
  140. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.d.mts +1 -0
  141. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/api/google-generative-ai.d.mts +2 -0
  142. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/api/google-shared.d.mts +1 -0
  143. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/api/google-vertex.d.mts +2 -0
  144. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/api/lazy.d.mts +2 -0
  145. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.d.mts +1 -0
  146. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.d.mts +2 -0
  147. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.d.mts +4 -0
  148. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.d.mts +2 -0
  149. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/api/pi-messages.d.mts +1 -0
  150. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/auth/context.d.mts +1 -0
  151. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/auth/credential-store.d.mts +1 -0
  152. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/auth/helpers.d.mts +1 -0
  153. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/auth/resolve.d.mts +2 -0
  154. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/auth/types.d.mts +21 -0
  155. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/auth/types.d.mts.map +1 -0
  156. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/compat/extension-oauth-types.d.mts +1 -0
  157. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/index.d.mts +34 -0
  158. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/models-store.d.mts +17 -0
  159. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/models-store.d.mts.map +1 -0
  160. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/models.d.mts +7 -0
  161. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/providers/compat-schema.d.mts +141 -0
  162. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/providers/compat-schema.d.mts.map +1 -0
  163. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/providers/faux.d.mts +2 -0
  164. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/providers/model-schema.d.mts +51 -0
  165. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/providers/model-schema.d.mts.map +1 -0
  166. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/telemetry.d.mts +2 -0
  167. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/types.d.mts +309 -0
  168. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/types.d.mts.map +1 -0
  169. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/utils/diagnostics.d.mts +16 -0
  170. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/utils/diagnostics.d.mts.map +1 -0
  171. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/utils/event-stream.d.mts +1 -0
  172. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/utils/identity.d.mts +1 -0
  173. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/utils/json-parse.d.mts +1 -0
  174. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/utils/model-operations.d.mts +1 -0
  175. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/utils/overflow.d.mts +1 -0
  176. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/utils/retry.d.mts +1 -0
  177. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/utils/streaming-json.d.mts +1 -0
  178. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/utils/text.d.mts +1 -0
  179. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/utils/transcript.d.mts +1 -0
  180. package/dist/node_modules/.pnpm/@earendil-works_pi-ai@1.5.0_@aws-sdk_credential-provider-node@3.972.86_@modelcontextpro_cbd356c737d8e30c7d704b4728fb9233/node_modules/@earendil-works/pi-ai/dist/utils/validation.d.mts +1 -0
  181. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/documents.d.mts +1 -0
  182. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/entries.d.mts +2 -0
  183. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/env/index.d.mts +301 -0
  184. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/env/index.d.mts.map +1 -0
  185. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/errors.d.mts +1 -0
  186. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/harness/agent.d.mts +2 -0
  187. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/harness/compaction.d.mts +3 -0
  188. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/harness/define.d.mts +2 -0
  189. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/harness/generation.d.mts +5 -0
  190. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/harness/harness.d.mts +3 -0
  191. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/harness/inbox.d.mts +2 -0
  192. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/harness/live.d.mts +5 -0
  193. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/harness/provider.d.mts +1 -0
  194. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/harness/registry-reader.d.mts +1 -0
  195. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/harness/registry.d.mts +1 -0
  196. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/harness/scheduler.d.mts +6 -0
  197. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/harness/task-graph.d.mts +3 -0
  198. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/harness/tool.d.mts +3 -0
  199. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/harness/transcript.d.mts +2 -0
  200. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/harness/types.d.mts +5 -0
  201. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/harness/usage.d.mts +2 -0
  202. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/harness/view.d.mts +2 -0
  203. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/index.d.mts +25 -0
  204. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/session/conversation-tails.d.mts +1 -0
  205. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/session/session.d.mts +3 -0
  206. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/session/transaction.d.mts +2 -0
  207. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/storage/memory.d.mts +1 -0
  208. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/storage/sqlite/index.d.mts +3 -0
  209. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/storage/sqlite/storage.d.mts +1 -0
  210. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/tasks.d.mts +1 -0
  211. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/timers.d.mts +1 -0
  212. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/types.d.mts +548 -0
  213. package/dist/node_modules/.pnpm/@earendil-works_pi-durable@1.5.0_patch_hash_0f5e595daa4c370af407284d99d6dba48a9e21f56aa_0f219e156e08feb96504f67b2b506549/node_modules/@earendil-works/pi-durable/dist/types.d.mts.map +1 -0
  214. package/dist/node_modules/.pnpm/@earendil-works_pi-schema@1.5.0/node_modules/@earendil-works/pi-schema/dist/builders.d.mts +23 -0
  215. package/dist/node_modules/.pnpm/@earendil-works_pi-schema@1.5.0/node_modules/@earendil-works/pi-schema/dist/builders.d.mts.map +1 -0
  216. package/dist/node_modules/.pnpm/@earendil-works_pi-schema@1.5.0/node_modules/@earendil-works/pi-schema/dist/typebox-static.d.mts +40 -0
  217. package/dist/node_modules/.pnpm/@earendil-works_pi-schema@1.5.0/node_modules/@earendil-works/pi-schema/dist/typebox-static.d.mts.map +1 -0
  218. package/dist/node_modules/.pnpm/@earendil-works_pi-telemetry@1.5.0/node_modules/@earendil-works/pi-telemetry/dist/index.d.mts +47 -0
  219. package/dist/node_modules/.pnpm/@earendil-works_pi-telemetry@1.5.0/node_modules/@earendil-works/pi-telemetry/dist/index.d.mts.map +1 -0
  220. package/dist/node_modules/.pnpm/@earendil-works_pi-telemetry@1.5.0/node_modules/@earendil-works/pi-telemetry/dist/metrics.d.mts +31 -0
  221. package/dist/node_modules/.pnpm/@earendil-works_pi-telemetry@1.5.0/node_modules/@earendil-works/pi-telemetry/dist/metrics.d.mts.map +1 -0
  222. package/dist/node_modules/.pnpm/@modelcontextprotocol_server@2.3.1/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-D4NN8WsG.d.mts +2 -2
  223. package/dist/node_modules/.pnpm/@standard-schema_spec@1.1.0/node_modules/@standard-schema/spec/dist/index.d.mts +79 -0
  224. package/dist/node_modules/.pnpm/@standard-schema_spec@1.1.0/node_modules/@standard-schema/spec/dist/index.d.mts.map +1 -0
  225. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/azure.d.mts +2 -0
  226. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/bedrock.d.mts +3 -0
  227. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/client.d.mts +36 -0
  228. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/core/api-promise.d.mts +3 -0
  229. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/core/pagination.d.mts +4 -0
  230. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/core/resource.d.mts +1 -0
  231. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/core/streaming.d.mts +1 -0
  232. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/core/uploads.d.mts +1 -0
  233. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/index.d.mts +6 -0
  234. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/internal/auth/x509-transport-registry.d.mts +1 -0
  235. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/internal/bedrock.d.mts +3 -0
  236. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/internal/parse.d.mts +3 -0
  237. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/internal/provider.d.mts +2 -0
  238. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/internal/request-options.d.mts +2 -0
  239. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/internal/types.d.mts +1 -0
  240. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/internal/uploads.d.mts +2 -0
  241. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/internal/utils/log.d.mts +2 -0
  242. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/lib/AbstractChatCompletionRunner.d.mts +7 -0
  243. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/lib/AssistantStream.d.mts +6 -0
  244. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/lib/ChatCompletionRunner.d.mts +5 -0
  245. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/lib/ChatCompletionStream.d.mts +8 -0
  246. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/lib/ChatCompletionStreamingRunner.d.mts +6 -0
  247. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/lib/ResponsesParser.d.mts +3 -0
  248. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/lib/RunnableFunction.d.mts +2 -0
  249. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/lib/agents/agent-session-stream.d.mts +3 -0
  250. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/lib/parser.d.mts +2 -0
  251. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/lib/responses/EventTypes.d.mts +1 -0
  252. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/lib/responses/ResponseStream.d.mts +5 -0
  253. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/pagination.d.mts +1 -0
  254. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/admin.d.mts +2 -0
  255. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/admin-api-keys.d.mts +4 -0
  256. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/audit-logs.d.mts +3 -0
  257. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/certificates.d.mts +4 -0
  258. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/data-retention.d.mts +3 -0
  259. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/groups/groups.d.mts +6 -0
  260. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/groups/roles.d.mts +5 -0
  261. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/groups/users.d.mts +4 -0
  262. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/invites.d.mts +4 -0
  263. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/organization.d.mts +13 -0
  264. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/projects/api-keys.d.mts +4 -0
  265. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/projects/certificates.d.mts +3 -0
  266. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/projects/data-retention.d.mts +3 -0
  267. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/projects/groups/groups.d.mts +5 -0
  268. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/projects/groups/roles.d.mts +5 -0
  269. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/projects/hosted-tool-permissions.d.mts +3 -0
  270. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/projects/model-permissions.d.mts +3 -0
  271. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/projects/projects.d.mts +16 -0
  272. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/projects/rate-limits.d.mts +4 -0
  273. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/projects/roles.d.mts +5 -0
  274. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/projects/service-accounts/api-keys.d.mts +3 -0
  275. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/projects/service-accounts/service-accounts.d.mts +5 -0
  276. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/projects/spend-alerts.d.mts +4 -0
  277. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/projects/spend-limit.d.mts +3 -0
  278. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/projects/users/roles.d.mts +6 -0
  279. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/projects/users/users.d.mts +5 -0
  280. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/roles.d.mts +4 -0
  281. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/spend-alerts.d.mts +4 -0
  282. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/spend-limit.d.mts +3 -0
  283. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/usage.d.mts +4 -0
  284. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/users/roles.d.mts +6 -0
  285. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/admin/organization/users/users.d.mts +5 -0
  286. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/audio/audio.d.mts +4 -0
  287. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/audio/speech.d.mts +3 -0
  288. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/audio/transcriptions.d.mts +7 -0
  289. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/audio/translations.d.mts +6 -0
  290. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/batches.d.mts +5 -0
  291. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/agents/agents.d.mts +9 -0
  292. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/agents/environments/environments.d.mts +6 -0
  293. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/agents/environments/files.d.mts +4 -0
  294. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/agents/environments/templates.d.mts +5 -0
  295. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/agents/sessions/artifacts.d.mts +4 -0
  296. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/agents/sessions/events.d.mts +5 -0
  297. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/agents/sessions/items.d.mts +4 -0
  298. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/agents/sessions/sessions.d.mts +13 -0
  299. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/agents/sessions/subagents/items.d.mts +4 -0
  300. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/agents/sessions/subagents/subagents.d.mts +7 -0
  301. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/agents/sessions/subagents/turns/items.d.mts +4 -0
  302. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/agents/sessions/subagents/turns/turns.d.mts +6 -0
  303. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/agents/sessions/turns.d.mts +5 -0
  304. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/agents/vaults/credentials.d.mts +6 -0
  305. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/agents/vaults/vaults.d.mts +5 -0
  306. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/assistants.d.mts +9 -0
  307. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/beta.d.mts +7 -0
  308. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/chatkit/chatkit.d.mts +3 -0
  309. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/chatkit/sessions.d.mts +4 -0
  310. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/chatkit/threads.d.mts +5 -0
  311. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/realtime/realtime.d.mts +4 -0
  312. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/realtime/sessions.d.mts +3 -0
  313. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/realtime/transcription-sessions.d.mts +3 -0
  314. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/responses/input-items.d.mts +4 -0
  315. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/responses/input-tokens.d.mts +4 -0
  316. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/responses/responses.d.mts +8 -0
  317. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/threads/messages.d.mts +5 -0
  318. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/threads/runs/runs.d.mts +11 -0
  319. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/threads/runs/steps.d.mts +5 -0
  320. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/beta/threads/threads.d.mts +9 -0
  321. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/chat/chat.d.mts +2 -0
  322. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/chat/completions/completions.d.mts +14 -0
  323. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/chat/completions/index.d.mts +2 -0
  324. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/chat/completions/messages.d.mts +4 -0
  325. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/chat/completions.d.mts +1 -0
  326. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/chat/index.d.mts +2 -0
  327. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/completions.d.mts +6 -0
  328. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/containers/containers.d.mts +6 -0
  329. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/containers/files/content.d.mts +3 -0
  330. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/containers/files/files.d.mts +6 -0
  331. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/content-provenance-checks.d.mts +4 -0
  332. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/conversations/conversations.d.mts +5 -0
  333. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/conversations/items.d.mts +6 -0
  334. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/embeddings.d.mts +3 -0
  335. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/evals/evals.d.mts +7 -0
  336. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/evals/runs/output-items.d.mts +5 -0
  337. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/evals/runs/runs.d.mts +8 -0
  338. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/files.d.mts +5 -0
  339. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/fine-tuning/alpha/alpha.d.mts +2 -0
  340. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/fine-tuning/alpha/graders.d.mts +4 -0
  341. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.d.mts +2 -0
  342. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/fine-tuning/checkpoints/permissions.d.mts +4 -0
  343. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/fine-tuning/fine-tuning.d.mts +5 -0
  344. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/fine-tuning/jobs/checkpoints.d.mts +3 -0
  345. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/fine-tuning/jobs/jobs.d.mts +6 -0
  346. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/fine-tuning/methods.d.mts +2 -0
  347. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/graders/grader-models.d.mts +3 -0
  348. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/graders/graders.d.mts +2 -0
  349. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/images.d.mts +6 -0
  350. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/index.d.mts +26 -0
  351. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/live/forks/forks.d.mts +2 -0
  352. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/live/live.d.mts +8 -0
  353. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/live/sessions.d.mts +4 -0
  354. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/live/sideband/sideband.d.mts +2 -0
  355. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/models.d.mts +4 -0
  356. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/moderations.d.mts +3 -0
  357. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/realtime/calls.d.mts +5 -0
  358. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/realtime/client-secrets.d.mts +6 -0
  359. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/realtime/realtime.d.mts +6 -0
  360. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/responses/input-items.d.mts +4 -0
  361. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/responses/input-tokens.d.mts +4 -0
  362. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/responses/responses.d.mts +10 -0
  363. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/safety/alerts.d.mts +3 -0
  364. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/safety/safety.d.mts +2 -0
  365. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/skills/content.d.mts +3 -0
  366. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/skills/skills.d.mts +7 -0
  367. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/skills/versions/content.d.mts +3 -0
  368. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/skills/versions/versions.d.mts +6 -0
  369. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/uploads/parts.d.mts +4 -0
  370. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/uploads/uploads.d.mts +5 -0
  371. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/vector-stores/file-batches.d.mts +7 -0
  372. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/vector-stores/files.d.mts +6 -0
  373. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/vector-stores/vector-stores.d.mts +6 -0
  374. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/videos.d.mts +5 -0
  375. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/webhooks/event-types.d.mts +4 -0
  376. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/resources/webhooks/webhooks.d.mts +5 -0
  377. package/dist/node_modules/.pnpm/openai@7.19.0_@aws-sdk_credential-provider-node@3.972.86_@smithy_signature-v4@5.7.4_undici@7.30.0_ws@8.22.0_zod@4.6.7/node_modules/openai/uploads.d.mts +1 -0
  378. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/pointer/pointer_get.d.mts +12 -0
  379. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/pointer/pointer_get.d.mts.map +1 -0
  380. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/_canonical.d.mts +8 -0
  381. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/_canonical.d.mts.map +1 -0
  382. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/_comparer.d.mts +6 -0
  383. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/_comparer.d.mts.map +1 -0
  384. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/_elements.d.mts +18 -0
  385. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/_elements.d.mts.map +1 -0
  386. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/additionalProperties.d.mts +10 -0
  387. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/additionalProperties.d.mts.map +1 -0
  388. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/allOf.d.mts +6 -0
  389. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/allOf.d.mts.map +1 -0
  390. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/anyOf.d.mts +6 -0
  391. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/anyOf.d.mts.map +1 -0
  392. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/const.d.mts +4 -0
  393. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/const.d.mts.map +1 -0
  394. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/enum.d.mts +4 -0
  395. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/enum.d.mts.map +1 -0
  396. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/if.d.mts +9 -0
  397. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/if.d.mts.map +1 -0
  398. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/items.d.mts +10 -0
  399. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/items.d.mts.map +1 -0
  400. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/oneOf.d.mts +6 -0
  401. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/oneOf.d.mts.map +1 -0
  402. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/patternProperties.d.mts +8 -0
  403. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/patternProperties.d.mts.map +1 -0
  404. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/prefixItems.d.mts +6 -0
  405. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/prefixItems.d.mts.map +1 -0
  406. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/properties.d.mts +23 -0
  407. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/properties.d.mts.map +1 -0
  408. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/propertyNames.d.mts +6 -0
  409. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/propertyNames.d.mts.map +1 -0
  410. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/ref.d.mts +11 -0
  411. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/ref.d.mts.map +1 -0
  412. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/required.d.mts +6 -0
  413. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/required.d.mts.map +1 -0
  414. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/schema.d.mts +43 -0
  415. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/schema.d.mts.map +1 -0
  416. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/static.d.mts +7 -0
  417. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/static.d.mts.map +1 -0
  418. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/type.d.mts +7 -0
  419. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/type.d.mts.map +1 -0
  420. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/unevaluatedProperties.d.mts +10 -0
  421. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/static/unevaluatedProperties.d.mts.map +1 -0
  422. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/additionalItems.d.mts +7 -0
  423. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/additionalItems.d.mts.map +1 -0
  424. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/additionalProperties.d.mts +7 -0
  425. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/additionalProperties.d.mts.map +1 -0
  426. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/allOf.d.mts +7 -0
  427. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/allOf.d.mts.map +1 -0
  428. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/anyOf.d.mts +7 -0
  429. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/anyOf.d.mts.map +1 -0
  430. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/const.d.mts +6 -0
  431. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/const.d.mts.map +1 -0
  432. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/else.d.mts +7 -0
  433. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/else.d.mts.map +1 -0
  434. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/enum.d.mts +6 -0
  435. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/enum.d.mts.map +1 -0
  436. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/if.d.mts +7 -0
  437. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/if.d.mts.map +1 -0
  438. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/items.d.mts +7 -0
  439. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/items.d.mts.map +1 -0
  440. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/maxItems.d.mts +6 -0
  441. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/maxItems.d.mts.map +1 -0
  442. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/minItems.d.mts +6 -0
  443. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/minItems.d.mts.map +1 -0
  444. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/oneOf.d.mts +7 -0
  445. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/oneOf.d.mts.map +1 -0
  446. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/patternProperties.d.mts +7 -0
  447. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/patternProperties.d.mts.map +1 -0
  448. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/prefixItems.d.mts +7 -0
  449. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/prefixItems.d.mts.map +1 -0
  450. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/properties.d.mts +7 -0
  451. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/properties.d.mts.map +1 -0
  452. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/propertyNames.d.mts +7 -0
  453. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/propertyNames.d.mts.map +1 -0
  454. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/ref.d.mts +6 -0
  455. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/ref.d.mts.map +1 -0
  456. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/required.d.mts +6 -0
  457. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/required.d.mts.map +1 -0
  458. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/schema.d.mts +6 -0
  459. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/schema.d.mts.map +1 -0
  460. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/then.d.mts +7 -0
  461. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/then.d.mts.map +1 -0
  462. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/type.d.mts +6 -0
  463. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/type.d.mts.map +1 -0
  464. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/unevaluatedProperties.d.mts +7 -0
  465. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/schema/types/unevaluatedProperties.d.mts.map +1 -0
  466. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/system/memory/assign.d.mts +7 -0
  467. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/system/memory/assign.d.mts.map +1 -0
  468. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/system/unreachable/unreachable.d.mts +4 -0
  469. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/system/unreachable/unreachable.d.mts.map +1 -0
  470. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/_add_immutable.d.mts +7 -0
  471. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/_add_immutable.d.mts.map +1 -0
  472. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/_add_optional.d.mts +7 -0
  473. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/_add_optional.d.mts.map +1 -0
  474. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/_add_readonly.d.mts +7 -0
  475. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/_add_readonly.d.mts.map +1 -0
  476. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/_remove_optional.d.mts +7 -0
  477. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/_remove_optional.d.mts.map +1 -0
  478. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/capitalize.d.mts +7 -0
  479. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/capitalize.d.mts.map +1 -0
  480. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/conditional.d.mts +7 -0
  481. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/conditional.d.mts.map +1 -0
  482. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/constructor_parameters.d.mts +7 -0
  483. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/constructor_parameters.d.mts.map +1 -0
  484. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/exclude.d.mts +7 -0
  485. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/exclude.d.mts.map +1 -0
  486. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/extract.d.mts +7 -0
  487. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/extract.d.mts.map +1 -0
  488. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/indexed.d.mts +7 -0
  489. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/indexed.d.mts.map +1 -0
  490. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/instance_type.d.mts +7 -0
  491. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/instance_type.d.mts.map +1 -0
  492. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/interface.d.mts +8 -0
  493. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/interface.d.mts.map +1 -0
  494. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/keyof.d.mts +7 -0
  495. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/keyof.d.mts.map +1 -0
  496. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/lowercase.d.mts +7 -0
  497. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/lowercase.d.mts.map +1 -0
  498. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/mapped.d.mts +8 -0
  499. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/mapped.d.mts.map +1 -0
  500. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/non_nullable.d.mts +7 -0
  501. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/non_nullable.d.mts.map +1 -0
  502. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/omit.d.mts +7 -0
  503. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/omit.d.mts.map +1 -0
  504. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/parameters.d.mts +7 -0
  505. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/parameters.d.mts.map +1 -0
  506. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/partial.d.mts +7 -0
  507. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/partial.d.mts.map +1 -0
  508. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/pick.d.mts +7 -0
  509. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/pick.d.mts.map +1 -0
  510. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/readonly_object.d.mts +7 -0
  511. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/readonly_object.d.mts.map +1 -0
  512. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/required.d.mts +7 -0
  513. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/required.d.mts.map +1 -0
  514. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/return_type.d.mts +7 -0
  515. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/return_type.d.mts.map +1 -0
  516. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/uncapitalize.d.mts +7 -0
  517. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/uncapitalize.d.mts.map +1 -0
  518. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/uppercase.d.mts +7 -0
  519. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/uppercase.d.mts.map +1 -0
  520. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/with.d.mts +9 -0
  521. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/action/with.d.mts.map +1 -0
  522. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/call/distribute_arguments.d.mts +21 -0
  523. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/call/distribute_arguments.d.mts.map +1 -0
  524. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/call/instantiate.d.mts +21 -0
  525. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/call/instantiate.d.mts.map +1 -0
  526. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/call/resolve_arguments.d.mts +13 -0
  527. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/call/resolve_arguments.d.mts.map +1 -0
  528. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/call/resolve_target.d.mts +17 -0
  529. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/call/resolve_target.d.mts.map +1 -0
  530. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/conditional/instantiate.d.mts +13 -0
  531. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/conditional/instantiate.d.mts.map +1 -0
  532. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.d.mts +13 -0
  533. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.d.mts.map +1 -0
  534. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/cyclic/candidates.d.mts +9 -0
  535. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/cyclic/candidates.d.mts.map +1 -0
  536. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/cyclic/check.d.mts +22 -0
  537. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/cyclic/check.d.mts.map +1 -0
  538. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/cyclic/dependencies.d.mts +23 -0
  539. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/cyclic/dependencies.d.mts.map +1 -0
  540. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/cyclic/extends.d.mts +25 -0
  541. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/cyclic/extends.d.mts.map +1 -0
  542. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/cyclic/instantiate.d.mts +15 -0
  543. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/cyclic/instantiate.d.mts.map +1 -0
  544. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/cyclic/target.d.mts +11 -0
  545. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/cyclic/target.d.mts.map +1 -0
  546. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/evaluate/broaden.d.mts +16 -0
  547. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/evaluate/broaden.d.mts.map +1 -0
  548. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/evaluate/compare.d.mts +13 -0
  549. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/evaluate/compare.d.mts.map +1 -0
  550. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +15 -0
  551. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/evaluate/composite.d.mts.map +1 -0
  552. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/evaluate/distribute.d.mts +13 -0
  553. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/evaluate/distribute.d.mts.map +1 -0
  554. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/evaluate/evaluate.d.mts +22 -0
  555. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/evaluate/evaluate.d.mts.map +1 -0
  556. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/evaluate/flatten.d.mts +8 -0
  557. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/evaluate/flatten.d.mts.map +1 -0
  558. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/evaluate/instantiate.d.mts +9 -0
  559. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/evaluate/instantiate.d.mts.map +1 -0
  560. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/evaluate/narrow.d.mts +17 -0
  561. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/evaluate/narrow.d.mts.map +1 -0
  562. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/evaluate/property.d.mts +13 -0
  563. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/evaluate/property.d.mts.map +1 -0
  564. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/exclude/instantiate.d.mts +10 -0
  565. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/exclude/instantiate.d.mts.map +1 -0
  566. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/exclude/operation.d.mts +12 -0
  567. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/exclude/operation.d.mts.map +1 -0
  568. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/extract/instantiate.d.mts +10 -0
  569. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/extract/instantiate.d.mts.map +1 -0
  570. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/extract/operation.d.mts +12 -0
  571. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/extract/operation.d.mts.map +1 -0
  572. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/helpers/keys.d.mts +5 -0
  573. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/helpers/keys.d.mts.map +1 -0
  574. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/helpers/union.d.mts +6 -0
  575. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/helpers/union.d.mts.map +1 -0
  576. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/immutable/instantiate_add.d.mts +9 -0
  577. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/immutable/instantiate_add.d.mts.map +1 -0
  578. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/immutable/instantiate_remove.d.mts +11 -0
  579. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/immutable/instantiate_remove.d.mts.map +1 -0
  580. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexable/from_cyclic.d.mts +8 -0
  581. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexable/from_cyclic.d.mts.map +1 -0
  582. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexable/from_dependent.d.mts +7 -0
  583. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexable/from_dependent.d.mts.map +1 -0
  584. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexable/from_enum.d.mts +8 -0
  585. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexable/from_enum.d.mts.map +1 -0
  586. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexable/from_intersect.d.mts +7 -0
  587. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexable/from_intersect.d.mts.map +1 -0
  588. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexable/from_literal.d.mts +5 -0
  589. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexable/from_literal.d.mts.map +1 -0
  590. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexable/from_template_literal.d.mts +7 -0
  591. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexable/from_template_literal.d.mts.map +1 -0
  592. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexable/from_type.d.mts +20 -0
  593. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexable/from_type.d.mts.map +1 -0
  594. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexable/from_union.d.mts +6 -0
  595. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexable/from_union.d.mts.map +1 -0
  596. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexable/to_indexable.d.mts +10 -0
  597. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexable/to_indexable.d.mts.map +1 -0
  598. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.d.mts +6 -0
  599. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.d.mts.map +1 -0
  600. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexed/array_indexer.d.mts +13 -0
  601. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexed/array_indexer.d.mts.map +1 -0
  602. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexed/from_array.d.mts +17 -0
  603. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexed/from_array.d.mts.map +1 -0
  604. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexed/from_object.d.mts +17 -0
  605. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexed/from_object.d.mts.map +1 -0
  606. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexed/from_tuple.d.mts +16 -0
  607. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexed/from_tuple.d.mts.map +1 -0
  608. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexed/from_type.d.mts +13 -0
  609. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexed/from_type.d.mts.map +1 -0
  610. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexed/instantiate.d.mts +17 -0
  611. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/indexed/instantiate.d.mts.map +1 -0
  612. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/instance_type/instantiate.d.mts +13 -0
  613. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/instance_type/instantiate.d.mts.map +1 -0
  614. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/instantiate.d.mts +69 -0
  615. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/instantiate.d.mts.map +1 -0
  616. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/interface/instantiate.d.mts +13 -0
  617. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/interface/instantiate.d.mts.map +1 -0
  618. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/intrinsics/from_literal.d.mts +6 -0
  619. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/intrinsics/from_literal.d.mts.map +1 -0
  620. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.d.mts +8 -0
  621. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.d.mts.map +1 -0
  622. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/intrinsics/from_type.d.mts +12 -0
  623. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/intrinsics/from_type.d.mts.map +1 -0
  624. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/intrinsics/from_union.d.mts +8 -0
  625. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/intrinsics/from_union.d.mts.map +1 -0
  626. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/intrinsics/instantiate.d.mts +33 -0
  627. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/intrinsics/instantiate.d.mts.map +1 -0
  628. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/intrinsics/mapping.d.mts +10 -0
  629. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/intrinsics/mapping.d.mts.map +1 -0
  630. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/keyof/from_any.d.mts +8 -0
  631. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/keyof/from_any.d.mts.map +1 -0
  632. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/keyof/from_array.d.mts +6 -0
  633. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/keyof/from_array.d.mts.map +1 -0
  634. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/keyof/from_object.d.mts +12 -0
  635. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/keyof/from_object.d.mts.map +1 -0
  636. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/keyof/from_record.d.mts +6 -0
  637. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/keyof/from_record.d.mts.map +1 -0
  638. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/keyof/from_tuple.d.mts +7 -0
  639. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/keyof/from_tuple.d.mts.map +1 -0
  640. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/keyof/from_type.d.mts +17 -0
  641. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/keyof/from_type.d.mts.map +1 -0
  642. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/keyof/instantiate.d.mts +17 -0
  643. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/keyof/instantiate.d.mts.map +1 -0
  644. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/mapped/instantiate.d.mts +11 -0
  645. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/mapped/instantiate.d.mts.map +1 -0
  646. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/mapped/mapped_operation.d.mts +19 -0
  647. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/mapped/mapped_operation.d.mts.map +1 -0
  648. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/mapped/mapped_variants.d.mts +16 -0
  649. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/mapped/mapped_variants.d.mts.map +1 -0
  650. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/module/instantiate.d.mts +13 -0
  651. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/module/instantiate.d.mts.map +1 -0
  652. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/non_nullable/instantiate.d.mts +15 -0
  653. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/non_nullable/instantiate.d.mts.map +1 -0
  654. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/object/collapse.d.mts +8 -0
  655. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/object/collapse.d.mts.map +1 -0
  656. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/object/from_cyclic.d.mts +8 -0
  657. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/object/from_cyclic.d.mts.map +1 -0
  658. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/object/from_dependent.d.mts +7 -0
  659. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/object/from_dependent.d.mts.map +1 -0
  660. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/object/from_intersect.d.mts +11 -0
  661. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/object/from_intersect.d.mts.map +1 -0
  662. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/object/from_object.d.mts +5 -0
  663. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/object/from_object.d.mts.map +1 -0
  664. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/object/from_tuple.d.mts +8 -0
  665. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/object/from_tuple.d.mts.map +1 -0
  666. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/object/from_type.d.mts +18 -0
  667. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/object/from_type.d.mts.map +1 -0
  668. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/object/from_union.d.mts +12 -0
  669. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/object/from_union.d.mts.map +1 -0
  670. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/omit/from_type.d.mts +12 -0
  671. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/omit/from_type.d.mts.map +1 -0
  672. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/omit/instantiate.d.mts +10 -0
  673. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/omit/instantiate.d.mts.map +1 -0
  674. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/optional/instantiate_add.d.mts +9 -0
  675. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/optional/instantiate_add.d.mts.map +1 -0
  676. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/optional/instantiate_remove.d.mts +11 -0
  677. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/optional/instantiate_remove.d.mts.map +1 -0
  678. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/parameters/instantiate.d.mts +13 -0
  679. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/parameters/instantiate.d.mts.map +1 -0
  680. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/partial/from_cyclic.d.mts +10 -0
  681. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/partial/from_cyclic.d.mts.map +1 -0
  682. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/partial/from_dependent.d.mts +7 -0
  683. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/partial/from_dependent.d.mts.map +1 -0
  684. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/partial/from_intersect.d.mts +7 -0
  685. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/partial/from_intersect.d.mts.map +1 -0
  686. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/partial/from_object.d.mts +8 -0
  687. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/partial/from_object.d.mts.map +1 -0
  688. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/partial/from_type.d.mts +16 -0
  689. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/partial/from_type.d.mts.map +1 -0
  690. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/partial/from_union.d.mts +7 -0
  691. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/partial/from_union.d.mts.map +1 -0
  692. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/partial/instantiate.d.mts +10 -0
  693. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/partial/instantiate.d.mts.map +1 -0
  694. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/patterns/pattern.d.mts +7 -0
  695. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/patterns/pattern.d.mts.map +1 -0
  696. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/pick/from_type.d.mts +13 -0
  697. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/pick/from_type.d.mts.map +1 -0
  698. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/pick/instantiate.d.mts +10 -0
  699. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/pick/instantiate.d.mts.map +1 -0
  700. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/readonly/instantiate_add.d.mts +9 -0
  701. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/readonly/instantiate_add.d.mts.map +1 -0
  702. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/readonly/instantiate_remove.d.mts +11 -0
  703. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/readonly/instantiate_remove.d.mts.map +1 -0
  704. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/readonly_object/from_array.d.mts +7 -0
  705. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/readonly_object/from_array.d.mts.map +1 -0
  706. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.d.mts +10 -0
  707. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.d.mts.map +1 -0
  708. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/readonly_object/from_dependent.d.mts +7 -0
  709. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/readonly_object/from_dependent.d.mts.map +1 -0
  710. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/readonly_object/from_intersect.d.mts +7 -0
  711. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/readonly_object/from_intersect.d.mts.map +1 -0
  712. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/readonly_object/from_object.d.mts +8 -0
  713. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/readonly_object/from_object.d.mts.map +1 -0
  714. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/readonly_object/from_tuple.d.mts +7 -0
  715. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/readonly_object/from_tuple.d.mts.map +1 -0
  716. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/readonly_object/from_type.d.mts +20 -0
  717. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/readonly_object/from_type.d.mts.map +1 -0
  718. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/readonly_object/from_union.d.mts +7 -0
  719. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/readonly_object/from_union.d.mts.map +1 -0
  720. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/readonly_object/instantiate.d.mts +10 -0
  721. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/readonly_object/instantiate.d.mts.map +1 -0
  722. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/record/from_key.d.mts +26 -0
  723. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/record/from_key.d.mts.map +1 -0
  724. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/record/from_key_any.d.mts +6 -0
  725. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/record/from_key_any.d.mts.map +1 -0
  726. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/record/from_key_boolean.d.mts +9 -0
  727. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/record/from_key_boolean.d.mts.map +1 -0
  728. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/record/from_key_enum.d.mts +8 -0
  729. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/record/from_key_enum.d.mts.map +1 -0
  730. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/record/from_key_integer.d.mts +7 -0
  731. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/record/from_key_integer.d.mts.map +1 -0
  732. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/record/from_key_intersect.d.mts +7 -0
  733. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/record/from_key_intersect.d.mts.map +1 -0
  734. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/record/from_key_literal.d.mts +11 -0
  735. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/record/from_key_literal.d.mts.map +1 -0
  736. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/record/from_key_number.d.mts +7 -0
  737. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/record/from_key_number.d.mts.map +1 -0
  738. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/record/from_key_string.d.mts +6 -0
  739. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/record/from_key_string.d.mts.map +1 -0
  740. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/record/from_key_template_literal.d.mts +10 -0
  741. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/record/from_key_template_literal.d.mts.map +1 -0
  742. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/record/from_key_union.d.mts +18 -0
  743. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/record/from_key_union.d.mts.map +1 -0
  744. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/record/instantiate.d.mts +10 -0
  745. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/record/instantiate.d.mts.map +1 -0
  746. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/ref/instantiate.d.mts +7 -0
  747. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/ref/instantiate.d.mts.map +1 -0
  748. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/required/from_cyclic.d.mts +10 -0
  749. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/required/from_cyclic.d.mts.map +1 -0
  750. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/required/from_dependent.d.mts +7 -0
  751. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/required/from_dependent.d.mts.map +1 -0
  752. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/required/from_intersect.d.mts +7 -0
  753. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/required/from_intersect.d.mts.map +1 -0
  754. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/required/from_object.d.mts +8 -0
  755. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/required/from_object.d.mts.map +1 -0
  756. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/required/from_type.d.mts +16 -0
  757. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/required/from_type.d.mts.map +1 -0
  758. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/required/from_union.d.mts +7 -0
  759. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/required/from_union.d.mts.map +1 -0
  760. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/required/instantiate.d.mts +10 -0
  761. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/required/instantiate.d.mts.map +1 -0
  762. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/rest/spread.d.mts +12 -0
  763. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/rest/spread.d.mts.map +1 -0
  764. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/return_type/instantiate.d.mts +13 -0
  765. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/return_type/instantiate.d.mts.map +1 -0
  766. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/template_literal/decode.d.mts +24 -0
  767. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/template_literal/decode.d.mts.map +1 -0
  768. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/template_literal/encode.d.mts +34 -0
  769. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/template_literal/encode.d.mts.map +1 -0
  770. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/template_literal/instantiate.d.mts +10 -0
  771. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/template_literal/instantiate.d.mts.map +1 -0
  772. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/template_literal/is_finite.d.mts +13 -0
  773. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/template_literal/is_finite.d.mts.map +1 -0
  774. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/template_literal/static.d.mts +21 -0
  775. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/template_literal/static.d.mts.map +1 -0
  776. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/this/expand_this.d.mts +17 -0
  777. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/this/expand_this.d.mts.map +1 -0
  778. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/tuple/to_object.d.mts +9 -0
  779. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/tuple/to_object.d.mts.map +1 -0
  780. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/with/instantiate.d.mts +9 -0
  781. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/engine/with/instantiate.d.mts.map +1 -0
  782. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/any.d.mts +11 -0
  783. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/any.d.mts.map +1 -0
  784. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/array.d.mts +13 -0
  785. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/array.d.mts.map +1 -0
  786. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/bigint.d.mts +9 -0
  787. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/bigint.d.mts.map +1 -0
  788. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/boolean.d.mts +9 -0
  789. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/boolean.d.mts.map +1 -0
  790. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/constructor.d.mts +12 -0
  791. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/constructor.d.mts.map +1 -0
  792. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/dependent.d.mts +8 -0
  793. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/dependent.d.mts.map +1 -0
  794. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/enum.d.mts +9 -0
  795. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/enum.d.mts.map +1 -0
  796. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/extends.d.mts +14 -0
  797. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/extends.d.mts.map +1 -0
  798. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/extends_left.d.mts +55 -0
  799. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/extends_left.d.mts.map +1 -0
  800. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/extends_right.d.mts +26 -0
  801. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/extends_right.d.mts.map +1 -0
  802. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/function.d.mts +12 -0
  803. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/function.d.mts.map +1 -0
  804. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/inference.d.mts +27 -0
  805. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/inference.d.mts.map +1 -0
  806. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/integer.d.mts +10 -0
  807. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/integer.d.mts.map +1 -0
  808. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/intersect.d.mts +8 -0
  809. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/intersect.d.mts.map +1 -0
  810. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/literal.d.mts +20 -0
  811. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/literal.d.mts.map +1 -0
  812. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/never.d.mts +10 -0
  813. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/never.d.mts.map +1 -0
  814. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/null.d.mts +9 -0
  815. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/null.d.mts.map +1 -0
  816. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/number.d.mts +9 -0
  817. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/number.d.mts.map +1 -0
  818. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/object.d.mts +28 -0
  819. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/object.d.mts.map +1 -0
  820. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/parameters.d.mts +14 -0
  821. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/parameters.d.mts.map +1 -0
  822. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/record.d.mts +15 -0
  823. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/record.d.mts.map +1 -0
  824. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/result.d.mts +17 -0
  825. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/result.d.mts.map +1 -0
  826. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/return_type.d.mts +9 -0
  827. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/return_type.d.mts.map +1 -0
  828. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/string.d.mts +9 -0
  829. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/string.d.mts.map +1 -0
  830. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/symbol.d.mts +9 -0
  831. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/symbol.d.mts.map +1 -0
  832. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/template_literal.d.mts +8 -0
  833. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/template_literal.d.mts.map +1 -0
  834. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/tuple.d.mts +24 -0
  835. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/tuple.d.mts.map +1 -0
  836. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/undefined.d.mts +10 -0
  837. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/undefined.d.mts.map +1 -0
  838. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/union.d.mts +13 -0
  839. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/union.d.mts.map +1 -0
  840. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/unknown.d.mts +11 -0
  841. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/unknown.d.mts.map +1 -0
  842. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/void.d.mts +9 -0
  843. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/extends/void.d.mts.map +1 -0
  844. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/script/mapping.d.mts +23 -0
  845. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/script/mapping.d.mts.map +1 -0
  846. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/script/parser.d.mts +18 -0
  847. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/script/parser.d.mts.map +1 -0
  848. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/script/token/const.d.mts +10 -0
  849. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/script/token/const.d.mts.map +1 -0
  850. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/script/token/internal/char.d.mts +9 -0
  851. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/script/token/internal/char.d.mts.map +1 -0
  852. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/script/token/internal/take.d.mts +9 -0
  853. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/script/token/internal/take.d.mts.map +1 -0
  854. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/script/token/internal/trim.d.mts +20 -0
  855. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/script/token/internal/trim.d.mts.map +1 -0
  856. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/script/token/until.d.mts +8 -0
  857. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/script/token/until.d.mts.map +1 -0
  858. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/script/token/until_1.d.mts +6 -0
  859. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/script/token/until_1.d.mts.map +1 -0
  860. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/_codec.d.mts +15 -0
  861. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/_codec.d.mts.map +1 -0
  862. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/_immutable.d.mts +7 -0
  863. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/_immutable.d.mts.map +1 -0
  864. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/_optional.d.mts +7 -0
  865. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/_optional.d.mts.map +1 -0
  866. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/_readonly.d.mts +7 -0
  867. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/_readonly.d.mts.map +1 -0
  868. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/any.d.mts +9 -0
  869. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/any.d.mts.map +1 -0
  870. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/array.d.mts +14 -0
  871. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/array.d.mts.map +1 -0
  872. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/bigint.d.mts +11 -0
  873. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/bigint.d.mts.map +1 -0
  874. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/boolean.d.mts +10 -0
  875. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/boolean.d.mts.map +1 -0
  876. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/call.d.mts +12 -0
  877. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/call.d.mts.map +1 -0
  878. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/constructor.d.mts +15 -0
  879. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/constructor.d.mts.map +1 -0
  880. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/cyclic.d.mts +13 -0
  881. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/cyclic.d.mts.map +1 -0
  882. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/deferred.d.mts +12 -0
  883. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/deferred.d.mts.map +1 -0
  884. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/dependent.d.mts +14 -0
  885. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/dependent.d.mts.map +1 -0
  886. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/enum.d.mts +11 -0
  887. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/enum.d.mts.map +1 -0
  888. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/function.d.mts +17 -0
  889. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/function.d.mts.map +1 -0
  890. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/generic.d.mts +12 -0
  891. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/generic.d.mts.map +1 -0
  892. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/identifier.d.mts +10 -0
  893. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/identifier.d.mts.map +1 -0
  894. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/infer.d.mts +11 -0
  895. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/infer.d.mts.map +1 -0
  896. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/integer.d.mts +11 -0
  897. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/integer.d.mts.map +1 -0
  898. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/intersect.d.mts +12 -0
  899. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/intersect.d.mts.map +1 -0
  900. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/literal.d.mts +13 -0
  901. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/literal.d.mts.map +1 -0
  902. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/never.d.mts +11 -0
  903. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/never.d.mts.map +1 -0
  904. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/null.d.mts +10 -0
  905. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/null.d.mts.map +1 -0
  906. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/number.d.mts +11 -0
  907. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/number.d.mts.map +1 -0
  908. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/object.d.mts +14 -0
  909. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/object.d.mts.map +1 -0
  910. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/parameter.d.mts +11 -0
  911. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/parameter.d.mts.map +1 -0
  912. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/properties.d.mts +28 -0
  913. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/properties.d.mts.map +1 -0
  914. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/record.d.mts +37 -0
  915. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/record.d.mts.map +1 -0
  916. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/ref.d.mts +18 -0
  917. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/ref.d.mts.map +1 -0
  918. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/rest.d.mts +10 -0
  919. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/rest.d.mts.map +1 -0
  920. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/schema.d.mts +88 -0
  921. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/schema.d.mts.map +1 -0
  922. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/static.d.mts +40 -0
  923. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/static.d.mts.map +1 -0
  924. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/string.d.mts +11 -0
  925. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/string.d.mts.map +1 -0
  926. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/symbol.d.mts +10 -0
  927. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/symbol.d.mts.map +1 -0
  928. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/template_literal.d.mts +15 -0
  929. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/template_literal.d.mts.map +1 -0
  930. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/this.d.mts +13 -0
  931. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/this.d.mts.map +1 -0
  932. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/tuple.d.mts +24 -0
  933. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/tuple.d.mts.map +1 -0
  934. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/undefined.d.mts +10 -0
  935. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/undefined.d.mts.map +1 -0
  936. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/union.d.mts +12 -0
  937. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/union.d.mts.map +1 -0
  938. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/unknown.d.mts +9 -0
  939. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/unknown.d.mts.map +1 -0
  940. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/unsafe.d.mts +9 -0
  941. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/unsafe.d.mts.map +1 -0
  942. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/void.d.mts +10 -0
  943. package/dist/node_modules/.pnpm/typebox@1.4.2/node_modules/typebox/build/type/types/void.d.mts.map +1 -0
  944. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/index.d.mts +1 -0
  945. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/agent.d.mts +4 -0
  946. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/api.d.mts +1 -0
  947. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/balanced-pool.d.mts +2 -0
  948. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/cache.d.mts +1 -0
  949. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/client-stats.d.mts +1 -0
  950. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/client.d.mts +2 -0
  951. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/cookies.d.mts +2 -0
  952. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/diagnostics-channel.d.mts +1 -0
  953. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/dispatcher.d.mts +2 -0
  954. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/env-http-proxy-agent.d.mts +3 -0
  955. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/errors.d.mts +1 -0
  956. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/eventsource.d.mts +2 -0
  957. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/fetch.d.mts +3 -0
  958. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/formdata.d.mts +9 -0
  959. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/formdata.d.mts.map +1 -0
  960. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/global-dispatcher.d.mts +1 -0
  961. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/h2c-client.d.mts +1 -0
  962. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/handlers.d.mts +1 -0
  963. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/index.d.mts +31 -0
  964. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/interceptors.d.mts +2 -0
  965. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/mock-agent.d.mts +4 -0
  966. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/mock-call-history.d.mts +1 -0
  967. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/mock-client.d.mts +4 -0
  968. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/mock-errors.d.mts +1 -0
  969. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/mock-interceptor.d.mts +2 -0
  970. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/mock-pool.d.mts +4 -0
  971. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/pool-stats.d.mts +1 -0
  972. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/pool.d.mts +3 -0
  973. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/proxy-agent.d.mts +2 -0
  974. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/retry-agent.d.mts +2 -0
  975. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/retry-handler.d.mts +1 -0
  976. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/round-robin-pool.d.mts +3 -0
  977. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/snapshot-agent.d.mts +1 -0
  978. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/socks5-proxy-agent.d.mts +2 -0
  979. package/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/types/websocket.d.mts +3 -0
  980. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/classic/compat.d.mts +1 -1
  981. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/classic/compat.d.mts.map +1 -1
  982. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/classic/errors.d.mts +1 -1
  983. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/classic/errors.d.mts.map +1 -1
  984. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/classic/parse.d.mts +1 -1
  985. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/classic/parse.d.mts.map +1 -1
  986. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/classic/schemas.d.mts +1 -1
  987. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/classic/schemas.d.mts.map +1 -1
  988. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/api.d.mts +1 -1
  989. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/api.d.mts.map +1 -1
  990. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/checks.d.mts +1 -1
  991. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/checks.d.mts.map +1 -1
  992. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/core.d.mts +1 -1
  993. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/core.d.mts.map +1 -1
  994. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/errors.d.mts +1 -1
  995. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/errors.d.mts.map +1 -1
  996. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/json-schema.d.mts +1 -1
  997. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/json-schema.d.mts.map +1 -1
  998. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/registries.d.mts +1 -1
  999. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/registries.d.mts.map +1 -1
  1000. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/schemas.d.mts +1 -1
  1001. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/schemas.d.mts.map +1 -1
  1002. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/standard-schema.d.mts +1 -1
  1003. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/standard-schema.d.mts.map +1 -1
  1004. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/to-json-schema.d.mts +1 -1
  1005. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/to-json-schema.d.mts.map +1 -1
  1006. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/util.d.mts +1 -1
  1007. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/util.d.mts.map +1 -1
  1008. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/versions.d.mts +1 -1
  1009. package/dist/node_modules/.pnpm/{zod@4.6.6 → zod@4.6.7}/node_modules/zod/v4/core/versions.d.mts.map +1 -1
  1010. package/dist/packages/core/po-core/dist/src/schemas/apiContracts.d.mts +69 -0
  1011. package/dist/packages/core/po-core/dist/src/schemas/apiContracts.d.mts.map +1 -0
  1012. package/dist/packages/core/po-core/dist/src/schemas/approval.d.mts +43 -0
  1013. package/dist/packages/core/po-core/dist/src/schemas/approval.d.mts.map +1 -0
  1014. package/dist/packages/core/po-core/dist/src/schemas/approvalPrompt.d.mts +17 -0
  1015. package/dist/packages/core/po-core/dist/src/schemas/approvalPrompt.d.mts.map +1 -0
  1016. package/dist/packages/core/po-core/dist/src/schemas/backgroundWork.d.mts +66 -0
  1017. package/dist/packages/core/po-core/dist/src/schemas/backgroundWork.d.mts.map +1 -0
  1018. package/dist/packages/core/po-core/dist/src/schemas/brain.d.mts +74 -0
  1019. package/dist/packages/core/po-core/dist/src/schemas/brain.d.mts.map +1 -0
  1020. package/dist/packages/core/po-core/dist/src/schemas/hubChannel.d.mts +20 -0
  1021. package/dist/packages/core/po-core/dist/src/schemas/hubChannel.d.mts.map +1 -0
  1022. package/dist/packages/core/po-core/dist/src/schemas/mcpProjection.d.mts +1 -0
  1023. package/dist/packages/core/po-core/dist/src/schemas/notification.d.mts +28 -0
  1024. package/dist/packages/core/po-core/dist/src/schemas/notification.d.mts.map +1 -0
  1025. package/dist/packages/core/po-core/dist/src/schemas/packageApi.d.mts +40 -0
  1026. package/dist/packages/core/po-core/dist/src/schemas/packageApi.d.mts.map +1 -0
  1027. package/dist/packages/core/po-core/dist/src/schemas/platform.d.mts +349 -0
  1028. package/dist/packages/core/po-core/dist/src/schemas/platform.d.mts.map +1 -0
  1029. package/dist/packages/core/po-core/dist/src/schemas/serverBundle.d.mts +31 -0
  1030. package/dist/packages/core/po-core/dist/src/schemas/serverBundle.d.mts.map +1 -0
  1031. package/dist/packages/core/po-core/dist/src/schemas/serverScope.d.mts +56 -0
  1032. package/dist/packages/core/po-core/dist/src/schemas/serverScope.d.mts.map +1 -0
  1033. package/dist/packages/core/po-core/dist/src/schemas/workflow.d.mts +461 -0
  1034. package/dist/packages/core/po-core/dist/src/schemas/workflow.d.mts.map +1 -0
  1035. package/dist/packages/core/po-core/dist/src/web/hostSlots.d.mts +1 -0
  1036. package/dist/packages/core/po-core/dist/src/web/types/nativeTemplate.d.mts +2 -1
  1037. package/dist/packages/core/po-core/dist/src/web/types/webPlugin.d.mts +470 -1
  1038. package/dist/packages/core/po-core/dist/src/web/types/webPlugin.d.mts.map +1 -0
  1039. package/dist/packages/core/po-core/dist/web.d.mts +4 -2
  1040. package/dist/packages/core/po-web-components/src/components/Accordion.mjs.map +1 -1
  1041. package/dist/packages/core/po-web-components/src/components/AgentAvatar.d.mts +18 -0
  1042. package/dist/packages/core/po-web-components/src/components/AgentAvatar.d.mts.map +1 -0
  1043. package/dist/packages/core/po-web-components/src/components/AgentAvatar.mjs +2 -0
  1044. package/dist/packages/core/po-web-components/src/components/AgentAvatar.mjs.map +1 -0
  1045. package/dist/packages/core/po-web-components/src/components/AnsiText.mjs.map +1 -1
  1046. package/dist/packages/core/po-web-components/src/components/Avatar.mjs.map +1 -1
  1047. package/dist/packages/core/po-web-components/src/components/Badge.mjs.map +1 -1
  1048. package/dist/packages/core/po-web-components/src/components/Breadcrumb.mjs.map +1 -1
  1049. package/dist/packages/core/po-web-components/src/components/Button.mjs.map +1 -1
  1050. package/dist/packages/core/po-web-components/src/components/Checkbox.mjs.map +1 -1
  1051. package/dist/packages/core/po-web-components/src/components/CodeBlock.mjs.map +1 -1
  1052. package/dist/packages/core/po-web-components/src/components/CodeEditor.mjs.map +1 -1
  1053. package/dist/packages/core/po-web-components/src/components/CodeEditorView.mjs.map +1 -1
  1054. package/dist/packages/core/po-web-components/src/components/Collapsible.mjs.map +1 -1
  1055. package/dist/packages/core/po-web-components/src/components/Command.mjs.map +1 -1
  1056. package/dist/packages/core/po-web-components/src/components/CopyButton.mjs.map +1 -1
  1057. package/dist/packages/core/po-web-components/src/components/Dialog.mjs.map +1 -1
  1058. package/dist/packages/core/po-web-components/src/components/DiffView.mjs.map +1 -1
  1059. package/dist/packages/core/po-web-components/src/components/Dot.mjs.map +1 -1
  1060. package/dist/packages/core/po-web-components/src/components/Drawer.mjs.map +1 -1
  1061. package/dist/packages/core/po-web-components/src/components/DropdownMenu.mjs.map +1 -1
  1062. package/dist/packages/core/po-web-components/src/components/EmptyState.mjs.map +1 -1
  1063. package/dist/packages/core/po-web-components/src/components/FlowGraph.d.mts +33 -0
  1064. package/dist/packages/core/po-web-components/src/components/FlowGraph.d.mts.map +1 -0
  1065. package/dist/packages/core/po-web-components/src/components/FlowGraph.mjs +2 -0
  1066. package/dist/packages/core/po-web-components/src/components/FlowGraph.mjs.map +1 -0
  1067. package/dist/packages/core/po-web-components/src/components/HashlineLines.d.mts.map +1 -1
  1068. package/dist/packages/core/po-web-components/src/components/HashlineLines.mjs +1 -1
  1069. package/dist/packages/core/po-web-components/src/components/HashlineLines.mjs.map +1 -1
  1070. package/dist/packages/core/po-web-components/src/components/Input.mjs +1 -1
  1071. package/dist/packages/core/po-web-components/src/components/Input.mjs.map +1 -1
  1072. package/dist/packages/core/po-web-components/src/components/Kbd.mjs.map +1 -1
  1073. package/dist/packages/core/po-web-components/src/components/Label.mjs.map +1 -1
  1074. package/dist/packages/core/po-web-components/src/components/LiveDuration.d.mts +15 -0
  1075. package/dist/packages/core/po-web-components/src/components/LiveDuration.d.mts.map +1 -0
  1076. package/dist/packages/core/po-web-components/src/components/LiveDuration.mjs +2 -0
  1077. package/dist/packages/core/po-web-components/src/components/LiveDuration.mjs.map +1 -0
  1078. package/dist/packages/core/po-web-components/src/components/Markdown.d.mts +8 -1
  1079. package/dist/packages/core/po-web-components/src/components/Markdown.d.mts.map +1 -1
  1080. package/dist/packages/core/po-web-components/src/components/Markdown.mjs +2 -2
  1081. package/dist/packages/core/po-web-components/src/components/Markdown.mjs.map +1 -1
  1082. package/dist/packages/core/po-web-components/src/components/McpApp.mjs.map +1 -1
  1083. package/dist/packages/core/po-web-components/src/components/McpToolWidget.mjs.map +1 -1
  1084. package/dist/packages/core/po-web-components/src/components/MediaPreview.mjs.map +1 -1
  1085. package/dist/packages/core/po-web-components/src/components/MediaViewerDialog.d.mts +14 -0
  1086. package/dist/packages/core/po-web-components/src/components/MediaViewerDialog.d.mts.map +1 -0
  1087. package/dist/packages/core/po-web-components/src/components/MediaViewerDialog.mjs +2 -0
  1088. package/dist/packages/core/po-web-components/src/components/MediaViewerDialog.mjs.map +1 -0
  1089. package/dist/packages/core/po-web-components/src/components/MermaidDiagram.mjs +1 -1
  1090. package/dist/packages/core/po-web-components/src/components/MermaidDiagram.mjs.map +1 -1
  1091. package/dist/packages/core/po-web-components/src/components/MessageItem.d.mts +9 -2
  1092. package/dist/packages/core/po-web-components/src/components/MessageItem.d.mts.map +1 -1
  1093. package/dist/packages/core/po-web-components/src/components/MessageItem.mjs +1 -1
  1094. package/dist/packages/core/po-web-components/src/components/MessageItem.mjs.map +1 -1
  1095. package/dist/packages/core/po-web-components/src/components/MessageLines.mjs.map +1 -1
  1096. package/dist/packages/core/po-web-components/src/components/OptionList.mjs.map +1 -1
  1097. package/dist/packages/core/po-web-components/src/components/Panel.mjs.map +1 -1
  1098. package/dist/packages/core/po-web-components/src/components/PathText.d.mts +15 -0
  1099. package/dist/packages/core/po-web-components/src/components/PathText.d.mts.map +1 -0
  1100. package/dist/packages/core/po-web-components/src/components/PathText.mjs +2 -0
  1101. package/dist/packages/core/po-web-components/src/components/PathText.mjs.map +1 -0
  1102. package/dist/packages/core/po-web-components/src/components/PdfPreview.mjs.map +1 -1
  1103. package/dist/packages/core/po-web-components/src/components/Picker.d.mts +18 -5
  1104. package/dist/packages/core/po-web-components/src/components/Picker.d.mts.map +1 -1
  1105. package/dist/packages/core/po-web-components/src/components/Picker.mjs +1 -1
  1106. package/dist/packages/core/po-web-components/src/components/Picker.mjs.map +1 -1
  1107. package/dist/packages/core/po-web-components/src/components/Popover.mjs.map +1 -1
  1108. package/dist/packages/core/po-web-components/src/components/ProfilePicker.d.mts +34 -0
  1109. package/dist/packages/core/po-web-components/src/components/ProfilePicker.d.mts.map +1 -0
  1110. package/dist/packages/core/po-web-components/src/components/ProfilePicker.mjs +2 -0
  1111. package/dist/packages/core/po-web-components/src/components/ProfilePicker.mjs.map +1 -0
  1112. package/dist/packages/core/po-web-components/src/components/Progress.mjs.map +1 -1
  1113. package/dist/packages/core/po-web-components/src/components/RadioGroup.mjs.map +1 -1
  1114. package/dist/packages/core/po-web-components/src/components/ReviewCommentDraft.mjs.map +1 -1
  1115. package/dist/packages/core/po-web-components/src/components/ScrollArea.mjs.map +1 -1
  1116. package/dist/packages/core/po-web-components/src/components/SectionLabel.mjs.map +1 -1
  1117. package/dist/packages/core/po-web-components/src/components/Select.mjs.map +1 -1
  1118. package/dist/packages/core/po-web-components/src/components/Separator.mjs.map +1 -1
  1119. package/dist/packages/core/po-web-components/src/components/Settings.mjs.map +1 -1
  1120. package/dist/packages/core/po-web-components/src/components/Sheet.mjs.map +1 -1
  1121. package/dist/packages/core/po-web-components/src/components/Skeleton.mjs.map +1 -1
  1122. package/dist/packages/core/po-web-components/src/components/Spinner.mjs.map +1 -1
  1123. package/dist/packages/core/po-web-components/src/components/StatusBadge.mjs.map +1 -1
  1124. package/dist/packages/core/po-web-components/src/components/StreamCursor.mjs.map +1 -1
  1125. package/dist/packages/core/po-web-components/src/components/Switch.mjs.map +1 -1
  1126. package/dist/packages/core/po-web-components/src/components/SyntaxText.d.mts.map +1 -1
  1127. package/dist/packages/core/po-web-components/src/components/SyntaxText.mjs +1 -1
  1128. package/dist/packages/core/po-web-components/src/components/SyntaxText.mjs.map +1 -1
  1129. package/dist/packages/core/po-web-components/src/components/Tabs.d.mts +7 -3
  1130. package/dist/packages/core/po-web-components/src/components/Tabs.d.mts.map +1 -1
  1131. package/dist/packages/core/po-web-components/src/components/Tabs.mjs +1 -1
  1132. package/dist/packages/core/po-web-components/src/components/Tabs.mjs.map +1 -1
  1133. package/dist/packages/core/po-web-components/src/components/TerminalView.mjs.map +1 -1
  1134. package/dist/packages/core/po-web-components/src/components/Textarea.mjs.map +1 -1
  1135. package/dist/packages/core/po-web-components/src/components/Toast.mjs.map +1 -1
  1136. package/dist/packages/core/po-web-components/src/components/ToolPathLink.mjs.map +1 -1
  1137. package/dist/packages/core/po-web-components/src/components/Tooltip.mjs.map +1 -1
  1138. package/dist/packages/core/po-web-components/src/components/ViewableImage.d.mts +15 -0
  1139. package/dist/packages/core/po-web-components/src/components/ViewableImage.d.mts.map +1 -0
  1140. package/dist/packages/core/po-web-components/src/components/ViewableImage.mjs +2 -0
  1141. package/dist/packages/core/po-web-components/src/components/ViewableImage.mjs.map +1 -0
  1142. package/dist/packages/core/po-web-components/src/icons/icons.d.mts +2 -2
  1143. package/dist/packages/core/po-web-components/src/icons/icons.mjs +1 -1
  1144. package/dist/packages/core/po-web-components/src/lib/ansiSpans.mjs.map +1 -1
  1145. package/dist/packages/core/po-web-components/src/lib/cn.mjs.map +1 -1
  1146. package/dist/packages/core/po-web-components/src/lib/collapse.mjs.map +1 -1
  1147. package/dist/packages/core/po-web-components/src/lib/editorController.mjs.map +1 -1
  1148. package/dist/packages/core/po-web-components/src/lib/editorLanguage.mjs.map +1 -1
  1149. package/dist/packages/core/po-web-components/src/lib/editorTheme.mjs.map +1 -1
  1150. package/dist/packages/core/po-web-components/src/lib/fenceGrammar.mjs.map +1 -1
  1151. package/dist/packages/core/po-web-components/src/lib/hashlineHighlight.mjs +1 -1
  1152. package/dist/packages/core/po-web-components/src/lib/hashlineHighlight.mjs.map +1 -1
  1153. package/dist/packages/core/po-web-components/src/lib/hashlineView.mjs.map +1 -1
  1154. package/dist/packages/core/po-web-components/src/lib/markdownMedia.d.mts +57 -0
  1155. package/dist/packages/core/po-web-components/src/lib/markdownMedia.d.mts.map +1 -0
  1156. package/dist/packages/core/po-web-components/src/lib/markdownMedia.mjs +2 -0
  1157. package/dist/packages/core/po-web-components/src/lib/markdownMedia.mjs.map +1 -0
  1158. package/dist/packages/core/po-web-components/src/lib/markdownMediaSlot.d.mts +10 -0
  1159. package/dist/packages/core/po-web-components/src/lib/markdownMediaSlot.d.mts.map +1 -0
  1160. package/dist/packages/core/po-web-components/src/lib/markdownMediaSlot.mjs +2 -0
  1161. package/dist/packages/core/po-web-components/src/lib/markdownMediaSlot.mjs.map +1 -0
  1162. package/dist/packages/core/po-web-components/src/lib/mcpAppFrame.d.mts +47 -0
  1163. package/dist/packages/core/po-web-components/src/lib/mcpAppFrame.d.mts.map +1 -0
  1164. package/dist/packages/core/po-web-components/src/lib/mcpAppFrame.mjs +3 -0
  1165. package/dist/packages/core/po-web-components/src/lib/mcpAppFrame.mjs.map +1 -0
  1166. package/dist/packages/core/po-web-components/src/lib/mcpAppSandbox.d.mts +19 -0
  1167. package/dist/packages/core/po-web-components/src/lib/mcpAppSandbox.d.mts.map +1 -0
  1168. package/dist/packages/core/po-web-components/src/lib/mcpAppSandbox.mjs +2 -0
  1169. package/dist/packages/core/po-web-components/src/lib/mcpAppSandbox.mjs.map +1 -0
  1170. package/dist/packages/core/po-web-components/src/lib/mcpOpenAiBootstrap.d.mts +32 -0
  1171. package/dist/packages/core/po-web-components/src/lib/mcpOpenAiBootstrap.d.mts.map +1 -0
  1172. package/dist/packages/core/po-web-components/src/lib/mcpOpenAiBootstrap.mjs +2 -0
  1173. package/dist/packages/core/po-web-components/src/lib/mcpOpenAiBootstrap.mjs.map +1 -0
  1174. package/dist/packages/core/po-web-components/src/lib/media.mjs.map +1 -1
  1175. package/dist/packages/core/po-web-components/src/lib/mediaPlayback.mjs.map +1 -1
  1176. package/dist/packages/core/po-web-components/src/lib/mermaidDiagram.mjs +1 -1
  1177. package/dist/packages/core/po-web-components/src/lib/mermaidDiagram.mjs.map +1 -1
  1178. package/dist/packages/core/po-web-components/src/lib/optionList.mjs.map +1 -1
  1179. package/dist/packages/core/po-web-components/src/lib/pathGroups.mjs.map +1 -1
  1180. package/dist/packages/core/po-web-components/src/lib/picker.mjs.map +1 -1
  1181. package/dist/packages/core/po-web-components/src/lib/profilePicker.d.mts +43 -0
  1182. package/dist/packages/core/po-web-components/src/lib/profilePicker.d.mts.map +1 -0
  1183. package/dist/packages/core/po-web-components/src/lib/profilePicker.mjs +2 -0
  1184. package/dist/packages/core/po-web-components/src/lib/profilePicker.mjs.map +1 -0
  1185. package/dist/packages/core/po-web-components/src/lib/review.mjs.map +1 -1
  1186. package/dist/packages/core/po-web-components/src/lib/runDuration.d.mts +12 -0
  1187. package/dist/packages/core/po-web-components/src/lib/runDuration.d.mts.map +1 -0
  1188. package/dist/packages/core/po-web-components/src/lib/runDuration.mjs +2 -0
  1189. package/dist/packages/core/po-web-components/src/lib/runDuration.mjs.map +1 -0
  1190. package/dist/packages/core/po-web-components/src/lib/syntaxHighlight.d.mts +6 -8
  1191. package/dist/packages/core/po-web-components/src/lib/syntaxHighlight.d.mts.map +1 -1
  1192. package/dist/packages/core/po-web-components/src/lib/syntaxHighlight.mjs +1 -1
  1193. package/dist/packages/core/po-web-components/src/lib/syntaxHighlight.mjs.map +1 -1
  1194. package/dist/packages/core/po-web-components/src/lib/tone.mjs.map +1 -1
  1195. package/dist/packages/core/po-web-components/src/theme/apply.mjs.map +1 -1
  1196. package/dist/packages/core/po-web-components/src/theme/builtinThemes.mjs.map +1 -1
  1197. package/dist/packages/core/po-web-components/src/theme/derive.mjs.map +1 -1
  1198. package/dist/packages/core/po-web-components/src/theme/nativeTheme.mjs.map +1 -1
  1199. package/dist/packages/core/po-web-components/src/theme/parse.mjs.map +1 -1
  1200. package/dist/packages/core/po-web-components/src/theme/piTheme.mjs.map +1 -1
  1201. package/dist/packages/core/po-web-components/src/theme/preference.mjs.map +1 -1
  1202. package/dist/packages/core/po-web-components/src/types/editor.mjs.map +1 -1
  1203. package/dist/packages/core/po-web-components/src/types/theme.mjs.map +1 -1
  1204. package/dist/packages/core/po-web-components/src/types/tone.mjs.map +1 -1
  1205. package/dist/src/components/Accordion.cjs.map +1 -1
  1206. package/dist/src/components/AgentAvatar.cjs +2 -0
  1207. package/dist/src/components/AgentAvatar.cjs.map +1 -0
  1208. package/dist/src/components/AnsiText.cjs.map +1 -1
  1209. package/dist/src/components/Avatar.cjs.map +1 -1
  1210. package/dist/src/components/Badge.cjs.map +1 -1
  1211. package/dist/src/components/Breadcrumb.cjs.map +1 -1
  1212. package/dist/src/components/Button.cjs.map +1 -1
  1213. package/dist/src/components/Checkbox.cjs.map +1 -1
  1214. package/dist/src/components/CodeBlock.cjs.map +1 -1
  1215. package/dist/src/components/CodeEditor.cjs.map +1 -1
  1216. package/dist/src/components/CodeEditorView.cjs.map +1 -1
  1217. package/dist/src/components/Collapsible.cjs.map +1 -1
  1218. package/dist/src/components/Command.cjs.map +1 -1
  1219. package/dist/src/components/CopyButton.cjs.map +1 -1
  1220. package/dist/src/components/Dialog.cjs.map +1 -1
  1221. package/dist/src/components/DiffView.cjs.map +1 -1
  1222. package/dist/src/components/Dot.cjs.map +1 -1
  1223. package/dist/src/components/Drawer.cjs.map +1 -1
  1224. package/dist/src/components/DropdownMenu.cjs.map +1 -1
  1225. package/dist/src/components/EmptyState.cjs.map +1 -1
  1226. package/dist/src/components/FlowGraph.cjs +2 -0
  1227. package/dist/src/components/FlowGraph.cjs.map +1 -0
  1228. package/dist/src/components/HashlineLines.cjs +1 -1
  1229. package/dist/src/components/HashlineLines.cjs.map +1 -1
  1230. package/dist/src/components/Input.cjs +1 -1
  1231. package/dist/src/components/Input.cjs.map +1 -1
  1232. package/dist/src/components/Kbd.cjs.map +1 -1
  1233. package/dist/src/components/Label.cjs.map +1 -1
  1234. package/dist/src/components/LiveDuration.cjs +2 -0
  1235. package/dist/src/components/LiveDuration.cjs.map +1 -0
  1236. package/dist/src/components/Markdown.cjs +2 -2
  1237. package/dist/src/components/Markdown.cjs.map +1 -1
  1238. package/dist/src/components/McpApp.cjs.map +1 -1
  1239. package/dist/src/components/McpToolWidget.cjs.map +1 -1
  1240. package/dist/src/components/MediaPreview.cjs.map +1 -1
  1241. package/dist/src/components/MediaViewerDialog.cjs +2 -0
  1242. package/dist/src/components/MediaViewerDialog.cjs.map +1 -0
  1243. package/dist/src/components/MermaidDiagram.cjs +1 -1
  1244. package/dist/src/components/MermaidDiagram.cjs.map +1 -1
  1245. package/dist/src/components/MessageItem.cjs +1 -1
  1246. package/dist/src/components/MessageItem.cjs.map +1 -1
  1247. package/dist/src/components/MessageLines.cjs.map +1 -1
  1248. package/dist/src/components/OptionList.cjs.map +1 -1
  1249. package/dist/src/components/Panel.cjs.map +1 -1
  1250. package/dist/src/components/PathText.cjs +2 -0
  1251. package/dist/src/components/PathText.cjs.map +1 -0
  1252. package/dist/src/components/PdfPreview.cjs.map +1 -1
  1253. package/dist/src/components/Picker.cjs +1 -1
  1254. package/dist/src/components/Picker.cjs.map +1 -1
  1255. package/dist/src/components/Popover.cjs.map +1 -1
  1256. package/dist/src/components/ProfilePicker.cjs +2 -0
  1257. package/dist/src/components/ProfilePicker.cjs.map +1 -0
  1258. package/dist/src/components/Progress.cjs.map +1 -1
  1259. package/dist/src/components/RadioGroup.cjs.map +1 -1
  1260. package/dist/src/components/ReviewCommentDraft.cjs.map +1 -1
  1261. package/dist/src/components/ScrollArea.cjs.map +1 -1
  1262. package/dist/src/components/SectionLabel.cjs.map +1 -1
  1263. package/dist/src/components/Select.cjs.map +1 -1
  1264. package/dist/src/components/Separator.cjs.map +1 -1
  1265. package/dist/src/components/Settings.cjs.map +1 -1
  1266. package/dist/src/components/Sheet.cjs.map +1 -1
  1267. package/dist/src/components/Skeleton.cjs.map +1 -1
  1268. package/dist/src/components/Spinner.cjs.map +1 -1
  1269. package/dist/src/components/StatusBadge.cjs.map +1 -1
  1270. package/dist/src/components/StreamCursor.cjs.map +1 -1
  1271. package/dist/src/components/Switch.cjs.map +1 -1
  1272. package/dist/src/components/SyntaxText.cjs +1 -1
  1273. package/dist/src/components/SyntaxText.cjs.map +1 -1
  1274. package/dist/src/components/Tabs.cjs +1 -1
  1275. package/dist/src/components/Tabs.cjs.map +1 -1
  1276. package/dist/src/components/TerminalView.cjs.map +1 -1
  1277. package/dist/src/components/Textarea.cjs.map +1 -1
  1278. package/dist/src/components/Toast.cjs.map +1 -1
  1279. package/dist/src/components/ToolPathLink.cjs.map +1 -1
  1280. package/dist/src/components/Tooltip.cjs.map +1 -1
  1281. package/dist/src/components/ViewableImage.cjs +2 -0
  1282. package/dist/src/components/ViewableImage.cjs.map +1 -0
  1283. package/dist/src/icons/icons.cjs +1 -1
  1284. package/dist/src/lib/ansiSpans.cjs.map +1 -1
  1285. package/dist/src/lib/cn.cjs.map +1 -1
  1286. package/dist/src/lib/collapse.cjs.map +1 -1
  1287. package/dist/src/lib/editorController.cjs.map +1 -1
  1288. package/dist/src/lib/editorLanguage.cjs.map +1 -1
  1289. package/dist/src/lib/editorTheme.cjs.map +1 -1
  1290. package/dist/src/lib/fenceGrammar.cjs.map +1 -1
  1291. package/dist/src/lib/hashlineHighlight.cjs +1 -1
  1292. package/dist/src/lib/hashlineHighlight.cjs.map +1 -1
  1293. package/dist/src/lib/hashlineView.cjs.map +1 -1
  1294. package/dist/src/lib/markdownMedia.cjs +2 -0
  1295. package/dist/src/lib/markdownMedia.cjs.map +1 -0
  1296. package/dist/src/lib/markdownMediaSlot.cjs +2 -0
  1297. package/dist/src/lib/markdownMediaSlot.cjs.map +1 -0
  1298. package/dist/src/lib/mcpAppFrame.cjs +3 -0
  1299. package/dist/src/lib/mcpAppFrame.cjs.map +1 -0
  1300. package/dist/src/lib/mcpAppSandbox.cjs +2 -0
  1301. package/dist/src/lib/mcpAppSandbox.cjs.map +1 -0
  1302. package/dist/src/lib/mcpOpenAiBootstrap.cjs +2 -0
  1303. package/dist/src/lib/mcpOpenAiBootstrap.cjs.map +1 -0
  1304. package/dist/src/lib/media.cjs.map +1 -1
  1305. package/dist/src/lib/mediaPlayback.cjs.map +1 -1
  1306. package/dist/src/lib/mermaidDiagram.cjs +1 -1
  1307. package/dist/src/lib/mermaidDiagram.cjs.map +1 -1
  1308. package/dist/src/lib/optionList.cjs.map +1 -1
  1309. package/dist/src/lib/pathGroups.cjs.map +1 -1
  1310. package/dist/src/lib/picker.cjs.map +1 -1
  1311. package/dist/src/lib/profilePicker.cjs +2 -0
  1312. package/dist/src/lib/profilePicker.cjs.map +1 -0
  1313. package/dist/src/lib/review.cjs.map +1 -1
  1314. package/dist/src/lib/runDuration.cjs +2 -0
  1315. package/dist/src/lib/runDuration.cjs.map +1 -0
  1316. package/dist/src/lib/syntaxHighlight.cjs +1 -1
  1317. package/dist/src/lib/syntaxHighlight.cjs.map +1 -1
  1318. package/dist/src/lib/tone.cjs.map +1 -1
  1319. package/dist/src/theme/apply.cjs.map +1 -1
  1320. package/dist/src/theme/builtinThemes.cjs.map +1 -1
  1321. package/dist/src/theme/derive.cjs.map +1 -1
  1322. package/dist/src/theme/nativeTheme.cjs.map +1 -1
  1323. package/dist/src/theme/parse.cjs.map +1 -1
  1324. package/dist/src/theme/piTheme.cjs.map +1 -1
  1325. package/dist/src/theme/preference.cjs.map +1 -1
  1326. package/dist/src/types/editor.cjs.map +1 -1
  1327. package/dist/src/types/theme.cjs.map +1 -1
  1328. package/dist/src/types/tone.cjs.map +1 -1
  1329. package/dist/text.cjs +1 -1
  1330. package/dist/text.d.mts +7 -1
  1331. package/dist/text.mjs +1 -1
  1332. package/package.json +20 -9
  1333. package/styles/theme.css +23 -0
@@ -1 +1 @@
1
- {"version":3,"file":"ToolPathLink.mjs","names":["ToolPathLink","testId","props","onOpen","cn","className","path"],"sources":["../../../../../../src/components/ToolPathLink.tsx"],"sourcesContent":["import { cn } from '../lib/cn';\n\n/**\n * The file path in a tool call's header, as a link when something can open it.\n *\n * A read, a write and an edit all put a path in the same place, and a reader\n * who wants to see that file should not have to go looking for it in a file\n * list. Whether the path can be opened is not this component's business: the\n * host resolves it against whatever plugin owns files, and hands the answer\n * down as `onOpen`. Without one the path stays exactly what it was, plain\n * text, because a link that opens nothing is worse than no link.\n */\n\nexport interface ToolPathLinkProps {\n path: string;\n /** Opens the file; omitted when nothing installed can show it. */\n onOpen?: () => void;\n className?: string;\n /** Defaults to `tool-path`, which is how a test finds the link inside a call header. */\n 'data-testid'?: string;\n}\n\nexport function ToolPathLink({\n path,\n onOpen,\n className,\n 'data-testid': testId = 'tool-path',\n ...props\n}: ToolPathLinkProps) {\n if (onOpen === undefined) {\n return (\n <span\n data-slot=\"tool-path\"\n data-testid={testId}\n className={cn('inline-block max-w-full min-w-0 truncate align-bottom text-po-text', className)}\n {...props}\n >\n {path}\n </span>\n );\n }\n return (\n <button\n type=\"button\"\n data-slot=\"tool-path\"\n data-testid={testId}\n title={`open ${path}`}\n onClick={onOpen}\n className={cn(\n 'min-h-6 max-w-full min-w-0 cursor-pointer truncate text-left text-po-text hover:text-po-blue hover:underline',\n className,\n )}\n {...props}\n >\n {path}\n </button>\n );\n}\n"],"mappings":"2EAsBA,SAAgBA,EAAa,CAC3B,OACA,SACA,YACA,cAAeC,EAAS,YACxB,GAAGC,GACiB,CAapB,OAZIC,IAAW,IAAA,GAEX,kBAAC,OAAD,CACE,YAAU,YACV,cAAaF,EACb,UAAWG,EAAG,qEAAsEC,CAAS,EAC7F,GAAIH,EAEH,SAAAI,CACG,CAAA,EAIR,kBAAC,SAAD,CACE,KAAK,SACL,YAAU,YACV,cAAaL,EACb,MAAO,QAAQK,IACf,QAASH,EACT,UAAWC,EACT,+GACAC,CACF,EACA,GAAIH,EAEH,SAAAI,CACK,CAAA,CAEZ"}
1
+ {"version":3,"file":"ToolPathLink.mjs","names":["ToolPathLink","testId","props","onOpen","cn","className","path"],"sources":["../../../../../../src/components/ToolPathLink.tsx"],"sourcesContent":["import { cn } from '../lib/cn';\n\n/**\n * The file path in a tool call's header, as a link when something can open it.\n *\n * A read, a write and an edit all put a path in the same place, and a reader\n * who wants to see that file should not have to go looking for it in a file\n * list. Whether the path can be opened is not this component's business: the\n * host resolves it against whatever plugin owns files, and hands the answer\n * down as `onOpen`. Without one the path stays exactly what it was, plain\n * text, because a link that opens nothing is worse than no link.\n */\n\nexport interface ToolPathLinkProps {\n path: string;\n /** Opens the file; omitted when nothing installed can show it. */\n onOpen?: () => void;\n className?: string;\n /** Defaults to `tool-path`, which is how a test finds the link inside a call header. */\n 'data-testid'?: string;\n}\n\nexport function ToolPathLink({\n path,\n onOpen,\n className,\n 'data-testid': testId = 'tool-path',\n ...props\n}: ToolPathLinkProps) {\n if (onOpen === undefined) {\n return (\n <span\n data-slot=\"tool-path\"\n data-testid={testId}\n className={cn('inline-block max-w-full min-w-0 truncate align-bottom text-po-text', className)}\n {...props}\n >\n {path}\n </span>\n );\n }\n return (\n <button\n type=\"button\"\n data-slot=\"tool-path\"\n data-testid={testId}\n title={`open ${path}`}\n onClick={onOpen}\n className={cn(\n 'min-h-6 max-w-full min-w-0 cursor-pointer truncate text-left text-po-text hover:text-po-blue hover:underline',\n className,\n )}\n {...props}\n >\n {path}\n </button>\n );\n}\n"],"mappings":"A,2EAsBA,SAAgBA,EAAa,CAC3B,OACA,SACA,YACA,cAAeC,EAAS,YACxB,GAAGC,GACiB,CAapB,OAZIC,IAAW,IAAA,GAEX,kBAAC,OAAD,CACE,YAAU,YACV,cAAaF,EACb,UAAWG,EAAG,qEAAsEC,CAAS,EAC7F,GAAIH,EAEH,SAAAI,CACG,CAAA,EAIR,kBAAC,SAAD,CACE,KAAK,SACL,YAAU,YACV,cAAaL,EACb,MAAO,QAAQK,IACf,QAASH,EACT,UAAWC,EACT,+GACAC,CACF,EACA,GAAIH,EAEH,SAAAI,CACK,CAAA,CAEZ,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.mjs","names":["TooltipPrimitive","Tooltip","TooltipProvider","props","Tooltip","Tooltip$1","TooltipTrigger","TooltipContent","cn","className"],"sources":["../../../../../../src/components/Tooltip.tsx"],"sourcesContent":["import { Tooltip as TooltipPrimitive } from 'radix-ui';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '../lib/cn';\n\n/** Mount once near the root; every Tooltip below shares its delay. */\nexport function TooltipProvider({ delayDuration = 300, ...props }: ComponentProps<typeof TooltipPrimitive.Provider>) {\n return <TooltipPrimitive.Provider data-slot=\"tooltip-provider\" delayDuration={delayDuration} {...props} />;\n}\n\nexport function Tooltip(props: ComponentProps<typeof TooltipPrimitive.Root>) {\n return <TooltipPrimitive.Root data-slot=\"tooltip\" {...props} />;\n}\n\nexport function TooltipTrigger(props: ComponentProps<typeof TooltipPrimitive.Trigger>) {\n return <TooltipPrimitive.Trigger data-slot=\"tooltip-trigger\" {...props} />;\n}\n\nexport function TooltipContent({\n className,\n sideOffset = 4,\n children,\n ...props\n}: ComponentProps<typeof TooltipPrimitive.Content>) {\n return (\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content\n data-slot=\"tooltip-content\"\n sideOffset={sideOffset}\n className={cn(\n 'z-50 rounded border border-po-border bg-po-deep px-2 py-1 text-sm text-po-text shadow-lg data-[state=delayed-open]:animate-po-fade',\n className,\n )}\n {...props}\n >\n {children}\n </TooltipPrimitive.Content>\n </TooltipPrimitive.Portal>\n );\n}\n"],"mappings":"8GAMA,SAAgBE,EAAgB,CAAE,gBAAgB,IAAK,GAAGC,GAA2D,CACnH,MAAO,kBAACH,EAAiB,SAAlB,CAA2B,YAAU,mBAAkC,gBAAe,GAAIG,CAAQ,CAAA,CAC3G,CAEA,SAAgBF,EAAQ,EAAqD,CAC3E,MAAO,kBAACD,EAAiB,KAAlB,CAAuB,YAAU,UAAU,GAAIG,CAAQ,CAAA,CAChE,CAEA,SAAgBG,EAAe,EAAwD,CACrF,MAAO,kBAACN,EAAiB,QAAlB,CAA0B,YAAU,kBAAkB,GAAIG,CAAQ,CAAA,CAC3E,CAEA,SAAgBI,EAAe,CAC7B,YACA,aAAa,EACb,WACA,GAAGJ,GAC+C,CAClD,MACE,kBAACH,EAAiB,OAAlB,CAAA,SACE,kBAACA,EAAiB,QAAlB,CACE,YAAU,kBACE,aACZ,UAAWQ,EACT,qIACAC,CACF,EACA,GAAIN,EAEH,UACuB,CAAA,CACH,CAAA,CAE7B"}
1
+ {"version":3,"file":"Tooltip.mjs","names":["TooltipPrimitive","Tooltip","TooltipProvider","props","Tooltip","Tooltip$1","TooltipTrigger","TooltipContent","cn","className"],"sources":["../../../../../../src/components/Tooltip.tsx"],"sourcesContent":["import { Tooltip as TooltipPrimitive } from 'radix-ui';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '../lib/cn';\n\n/** Mount once near the root; every Tooltip below shares its delay. */\nexport function TooltipProvider({ delayDuration = 300, ...props }: ComponentProps<typeof TooltipPrimitive.Provider>) {\n return <TooltipPrimitive.Provider data-slot=\"tooltip-provider\" delayDuration={delayDuration} {...props} />;\n}\n\nexport function Tooltip(props: ComponentProps<typeof TooltipPrimitive.Root>) {\n return <TooltipPrimitive.Root data-slot=\"tooltip\" {...props} />;\n}\n\nexport function TooltipTrigger(props: ComponentProps<typeof TooltipPrimitive.Trigger>) {\n return <TooltipPrimitive.Trigger data-slot=\"tooltip-trigger\" {...props} />;\n}\n\nexport function TooltipContent({\n className,\n sideOffset = 4,\n children,\n ...props\n}: ComponentProps<typeof TooltipPrimitive.Content>) {\n return (\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content\n data-slot=\"tooltip-content\"\n sideOffset={sideOffset}\n className={cn(\n 'z-50 rounded border border-po-border bg-po-deep px-2 py-1 text-sm text-po-text shadow-lg data-[state=delayed-open]:animate-po-fade',\n className,\n )}\n {...props}\n >\n {children}\n </TooltipPrimitive.Content>\n </TooltipPrimitive.Portal>\n );\n}\n"],"mappings":"A,8GAMA,SAAgBE,EAAgB,CAAE,gBAAgB,IAAK,GAAGC,GAA2D,CACnH,MAAO,kBAACH,EAAiB,SAAlB,CAA2B,YAAU,mBAAkC,gBAAe,GAAIG,CAAQ,CAAA,CAC3G,CAEA,SAAgBF,EAAQ,EAAqD,CAC3E,MAAO,kBAACD,EAAiB,KAAlB,CAAuB,YAAU,UAAU,GAAIG,CAAQ,CAAA,CAChE,CAEA,SAAgBG,EAAe,EAAwD,CACrF,MAAO,kBAACN,EAAiB,QAAlB,CAA0B,YAAU,kBAAkB,GAAIG,CAAQ,CAAA,CAC3E,CAEA,SAAgBI,EAAe,CAC7B,YACA,aAAa,EACb,WACA,GAAGJ,GAC+C,CAClD,MACE,kBAACH,EAAiB,OAAlB,CAAA,SACE,kBAACA,EAAiB,QAAlB,CACE,YAAU,kBACE,aACZ,UAAWQ,EACT,qIACAC,CACF,EACA,GAAIN,EAEH,UACuB,CAAA,CACH,CAAA,CAE7B,C"}
@@ -0,0 +1,15 @@
1
+ import { MarkdownMediaReview } from "../lib/markdownMedia.mjs";
2
+ import { ComponentProps } from "react";
3
+ //#region src/components/ViewableImage.d.ts
4
+ export interface ViewableImageProps extends Omit<ComponentProps<'img'>, 'src' | 'alt' | 'title'> {
5
+ src: string;
6
+ alt: string;
7
+ /** The viewer's heading; defaults to `alt`. */
8
+ title?: string;
9
+ /** Annotate and review surface for the opened picture; without it the viewer only pans and zooms. */
10
+ renderReview?: MarkdownMediaReview;
11
+ }
12
+ /** A picture outside Markdown (a tool result, an attachment) that opens the same full-screen viewer on click. */
13
+ export declare function ViewableImage({ src, alt, title, renderReview, ...image }: ViewableImageProps): import("react").JSX.Element;
14
+ //#endregion
15
+ //# sourceMappingURL=ViewableImage.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ViewableImage.d.mts","names":[],"sources":["../../../../../../src/components/ViewableImage.tsx"],"mappings":";;;iBAKiB,2BAA2B,KAAK;EAC/C;EACA;;EAEA;;EAEA,eAAe;;;wBAID,gBAAgB,KAAK,KAAK,OAAO,iBAAiB,SAAS,qCAAkB,IAAA"}
@@ -0,0 +1,2 @@
1
+ import{MediaViewerDialog as e}from"./MediaViewerDialog.mjs";import{Fragment as t,jsx as n,jsxs as r}from"react/jsx-runtime";import{useState as i}from"react";function a({src:a,alt:o,title:s,renderReview:c,...l}){let[u,d]=i(),f=()=>d(void 0),p=s||o||`Image`;return/* @__PURE__ */ r(t,{children:[/* @__PURE__ */ n(`button`,{type:`button`,"aria-label":`Open ${p} full screen`,onClick:()=>d({kind:`image`,title:p,url:a}),className:`max-w-full cursor-zoom-in self-start rounded focus-visible:ring-2 focus-visible:ring-po-blue focus-visible:outline-none`,children:/* @__PURE__ */ n(`img`,{...l,src:a,alt:o})}),/* @__PURE__ */ n(e,{media:u,onClose:f,review:u===void 0?void 0:c?.(u,f)})]})}export{a as ViewableImage};
2
+ //# sourceMappingURL=ViewableImage.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ViewableImage.mjs","names":["ViewableImage","image","opened","setOpened","useState","close","name","title","alt","Fragment","src","MediaViewerDialog","renderReview"],"sources":["../../../../../../src/components/ViewableImage.tsx"],"sourcesContent":["import { useState, type ComponentProps } from 'react';\n\nimport type { MarkdownMedia, MarkdownMediaReview } from '../lib/markdownMedia';\nimport { MediaViewerDialog } from './MediaViewerDialog';\n\nexport interface ViewableImageProps extends Omit<ComponentProps<'img'>, 'src' | 'alt' | 'title'> {\n src: string;\n alt: string;\n /** The viewer's heading; defaults to `alt`. */\n title?: string;\n /** Annotate and review surface for the opened picture; without it the viewer only pans and zooms. */\n renderReview?: MarkdownMediaReview;\n}\n\n/** A picture outside Markdown (a tool result, an attachment) that opens the same full-screen viewer on click. */\nexport function ViewableImage({ src, alt, title, renderReview, ...image }: ViewableImageProps) {\n const [opened, setOpened] = useState<MarkdownMedia>();\n const close = () => setOpened(undefined);\n const name = title || alt || 'Image';\n return (\n <>\n <button\n type=\"button\"\n aria-label={`Open ${name} full screen`}\n onClick={() => setOpened({ kind: 'image', title: name, url: src })}\n className=\"max-w-full cursor-zoom-in self-start rounded focus-visible:ring-2 focus-visible:ring-po-blue focus-visible:outline-none\"\n >\n <img {...image} src={src} alt={alt} />\n </button>\n <MediaViewerDialog\n media={opened}\n onClose={close}\n review={opened === undefined ? undefined : renderReview?.(opened, close)}\n />\n </>\n );\n}\n"],"mappings":"A,6JAeA,SAAgBA,EAAc,CAAE,MAAK,MAAK,QAAO,eAAc,GAAGC,GAA6B,CAC7F,GAAM,CAACC,EAAQC,GAAaC,EAAwB,EAC9CC,MAAcF,EAAU,IAAA,EAAS,EACjCG,EAAOC,GAASC,GAAO,QAC7B,MACE,kBAAAC,EAAA,CAAA,SAAA,CACE,kBAAC,SAAD,CACE,KAAK,SACL,aAAY,QAAQH,EAAK,cACzB,YAAeH,EAAU,CAAE,KAAM,QAAS,MAAOG,EAAM,IAAKI,CAAI,CAAC,EACjE,UAAU,0HAEV,SAAA,kBAAC,MAAD,CAAK,GAAIT,EAAY,MAAU,KAAM,CAAA,CAC/B,CAAA,EACR,kBAACU,EAAD,CACE,MAAOT,EACP,QAASG,EACT,OAAQH,IAAW,IAAA,GAAY,IAAA,GAAYU,IAAeV,EAAQG,CAAK,CACxE,CAAA,CACD,CAAA,CAAA,CAEN,C"}
@@ -1,2 +1,2 @@
1
- import { Activity as ActivityIcon, ArrowRight as ArrowRightIcon, AudioLines as AudioLinesIcon, BookmarkPlus as BookmarkPlusIcon, Check as CheckIcon, ChevronDown as ChevronDownIcon, ChevronRight as ChevronRightIcon, ChevronUp as ChevronUpIcon, CircleAlert as AlertIcon, CirclePlay as PlayCircleIcon, Copy as CopyIcon, CornerDownLeft as EnterIcon, ExternalLink as ExternalLinkIcon, FileText as FileIcon, Folder as FolderIcon, GitBranch as BranchIcon, GitFork as ForkIcon, Globe as GlobeIcon, House as HomeIcon, Lightbulb as LightbulbIcon, Loader2 as LoaderIcon, Lock as LockIcon, LockOpen as UnlockIcon, MessageCircle as MessageIcon, Mic as MicIcon, MoreVertical as KebabIcon, Palette as PaletteIcon, Paperclip as PaperclipIcon, Pencil as EditIcon, Plus as PlusIcon, Quote as QuoteIcon, RefreshCw as RefreshIcon, Rewind as RewindIcon, Search as SearchIcon, Send as SendIcon, Settings as GearIcon, ShieldCheck as ShieldIcon, Sparkles as SparklesIcon, Square as StopIcon, SquareCheckBig as TaskIcon, Trash2 as TrashIcon, UserRound as UserIcon, Users as UsersIcon, Volume2 as VolumeIcon, Workflow as WorkflowIcon, Wrench as WrenchIcon, X as CloseIcon } from "lucide-react";
2
- export { ActivityIcon, AlertIcon, ArrowRightIcon, AudioLinesIcon, BookmarkPlusIcon, BranchIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, CopyIcon, EditIcon, EnterIcon, ExternalLinkIcon, FileIcon, FolderIcon, ForkIcon, GearIcon, GlobeIcon, HomeIcon, KebabIcon, LightbulbIcon, LoaderIcon, LockIcon, MessageIcon, MicIcon, PaletteIcon, PaperclipIcon, PlayCircleIcon, PlusIcon, QuoteIcon, RefreshIcon, RewindIcon, SearchIcon, SendIcon, ShieldIcon, SparklesIcon, StopIcon, TaskIcon, TrashIcon, UnlockIcon, UserIcon, UsersIcon, VolumeIcon, WorkflowIcon, WrenchIcon };
1
+ import { Activity as ActivityIcon, AppWindow as AppWindowIcon, ArrowLeft as ArrowLeftIcon, ArrowRight as ArrowRightIcon, AudioLines as AudioLinesIcon, Bell as BellIcon, BookmarkPlus as BookmarkPlusIcon, Calendar as CalendarIcon, Check as CheckIcon, ChevronDown as ChevronDownIcon, ChevronRight as ChevronRightIcon, ChevronUp as ChevronUpIcon, CircleAlert as AlertIcon, CircleHelp as HelpIcon, CirclePlay as PlayCircleIcon, Copy as CopyIcon, CornerDownLeft as EnterIcon, Download as DownloadIcon, ExternalLink as ExternalLinkIcon, FileText as FileIcon, Folder as FolderIcon, GitBranch as BranchIcon, GitFork as ForkIcon, Globe as GlobeIcon, House as HomeIcon, Image as ImageIcon, LayoutGrid as GridIcon, Lightbulb as LightbulbIcon, List as ListIcon, Loader2 as LoaderIcon, Lock as LockIcon, LockOpen as UnlockIcon, Menu as MenuIcon, MessageCircle as MessageIcon, Mic as MicIcon, Monitor as MonitorIcon, MoreVertical as KebabIcon, Palette as PaletteIcon, PanelLeft as SidebarIcon, Paperclip as PaperclipIcon, Pencil as EditIcon, Plus as PlusIcon, Puzzle as PuzzleIcon, Quote as QuoteIcon, RefreshCw as RefreshIcon, Rewind as RewindIcon, Search as SearchIcon, Send as SendIcon, Server as ServerIcon, Settings as GearIcon, ShieldCheck as ShieldIcon, Shrink as ShrinkIcon, SlidersHorizontal as SlidersIcon, Smartphone as SmartphoneIcon, Sparkles as SparklesIcon, Square as StopIcon, SquareCheckBig as TaskIcon, Target as TargetIcon, Trash2 as TrashIcon, UserRound as UserIcon, Users as UsersIcon, Volume2 as VolumeIcon, Workflow as WorkflowIcon, Wrench as WrenchIcon, X as CloseIcon } from "lucide-react";
2
+ export { ActivityIcon, AlertIcon, AppWindowIcon, ArrowLeftIcon, ArrowRightIcon, AudioLinesIcon, BellIcon, BookmarkPlusIcon, BranchIcon, CalendarIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, CopyIcon, DownloadIcon, EditIcon, EnterIcon, ExternalLinkIcon, FileIcon, FolderIcon, ForkIcon, GearIcon, GlobeIcon, GridIcon, HelpIcon, HomeIcon, ImageIcon, KebabIcon, LightbulbIcon, ListIcon, LoaderIcon, LockIcon, MenuIcon, MessageIcon, MicIcon, MonitorIcon, PaletteIcon, PaperclipIcon, PlayCircleIcon, PlusIcon, PuzzleIcon, QuoteIcon, RefreshIcon, RewindIcon, SearchIcon, SendIcon, ServerIcon, ShieldIcon, ShrinkIcon, SidebarIcon, SlidersIcon, SmartphoneIcon, SparklesIcon, StopIcon, TargetIcon, TaskIcon, TrashIcon, UnlockIcon, UserIcon, UsersIcon, VolumeIcon, WorkflowIcon, WrenchIcon };
@@ -1 +1 @@
1
- export{Activity as ActivityIcon,CircleAlert as AlertIcon,ArrowRight as ArrowRightIcon,AudioLines as AudioLinesIcon,BookmarkPlus as BookmarkPlusIcon,GitBranch as BranchIcon,Check as CheckIcon,ChevronDown as ChevronDownIcon,ChevronRight as ChevronRightIcon,ChevronUp as ChevronUpIcon,X as CloseIcon,Copy as CopyIcon,Pencil as EditIcon,CornerDownLeft as EnterIcon,ExternalLink as ExternalLinkIcon,FileText as FileIcon,Folder as FolderIcon,GitFork as ForkIcon,Settings as GearIcon,Globe as GlobeIcon,House as HomeIcon,MoreVertical as KebabIcon,Lightbulb as LightbulbIcon,Loader2 as LoaderIcon,Lock as LockIcon,MessageCircle as MessageIcon,Mic as MicIcon,Palette as PaletteIcon,Paperclip as PaperclipIcon,CirclePlay as PlayCircleIcon,Plus as PlusIcon,Quote as QuoteIcon,RefreshCw as RefreshIcon,Rewind as RewindIcon,Search as SearchIcon,Send as SendIcon,ShieldCheck as ShieldIcon,Sparkles as SparklesIcon,Square as StopIcon,SquareCheckBig as TaskIcon,Trash2 as TrashIcon,LockOpen as UnlockIcon,UserRound as UserIcon,Users as UsersIcon,Volume2 as VolumeIcon,Workflow as WorkflowIcon,Wrench as WrenchIcon}from"lucide-react";
1
+ export{Activity as ActivityIcon,CircleAlert as AlertIcon,AppWindow as AppWindowIcon,ArrowLeft as ArrowLeftIcon,ArrowRight as ArrowRightIcon,AudioLines as AudioLinesIcon,Bell as BellIcon,BookmarkPlus as BookmarkPlusIcon,GitBranch as BranchIcon,Calendar as CalendarIcon,Check as CheckIcon,ChevronDown as ChevronDownIcon,ChevronRight as ChevronRightIcon,ChevronUp as ChevronUpIcon,X as CloseIcon,Copy as CopyIcon,Download as DownloadIcon,Pencil as EditIcon,CornerDownLeft as EnterIcon,ExternalLink as ExternalLinkIcon,FileText as FileIcon,Folder as FolderIcon,GitFork as ForkIcon,Settings as GearIcon,Globe as GlobeIcon,LayoutGrid as GridIcon,CircleHelp as HelpIcon,House as HomeIcon,Image as ImageIcon,MoreVertical as KebabIcon,Lightbulb as LightbulbIcon,List as ListIcon,Loader2 as LoaderIcon,Lock as LockIcon,Menu as MenuIcon,MessageCircle as MessageIcon,Mic as MicIcon,Monitor as MonitorIcon,Palette as PaletteIcon,Paperclip as PaperclipIcon,CirclePlay as PlayCircleIcon,Plus as PlusIcon,Puzzle as PuzzleIcon,Quote as QuoteIcon,RefreshCw as RefreshIcon,Rewind as RewindIcon,Search as SearchIcon,Send as SendIcon,Server as ServerIcon,ShieldCheck as ShieldIcon,Shrink as ShrinkIcon,PanelLeft as SidebarIcon,SlidersHorizontal as SlidersIcon,Smartphone as SmartphoneIcon,Sparkles as SparklesIcon,Square as StopIcon,Target as TargetIcon,SquareCheckBig as TaskIcon,Trash2 as TrashIcon,LockOpen as UnlockIcon,UserRound as UserIcon,Users as UsersIcon,Volume2 as VolumeIcon,Workflow as WorkflowIcon,Wrench as WrenchIcon}from"lucide-react";
@@ -1 +1 @@
1
- {"version":3,"file":"ansiSpans.mjs","names":["ANSI_PATTERN","FOREGROUND_CLASS","blank","paletteColor","index","level","rgb","offset","channel","value","clamp","red","green","blue","extendedColor","selector","codes","entry","applySgr","parameters","part","next","current","code","color","consumed","className","spanOf","attributes","ansiSpans","spans","cursor","match","line"],"sources":["../../../../../../src/lib/ansiSpans.ts"],"sourcesContent":["/**\n * The escapes a captured terminal screen carries, turned into spans.\n *\n * WHY THIS EXISTS:\n * Two kinds of output reach the cockpit with a terminal's colour still in it.\n * A workflow captures a tmux pane with `-e`, and a runner's log file keeps the\n * palette on purpose, stripping only cursor moves and redraws. The browser has\n * no terminal, and the cockpit carries no terminal emulator, so the sequences\n * are read here and rendered as ordinary spans. It lives in the component\n * library because both readers need it and neither may import the other.\n *\n * WHAT IT UNDERSTANDS:\n * SGR (`ESC [ … m`) only: the eight base colours and their bright forms, 256\n * colour and truecolour, and bold, faint, italic, underline and inverse. Every\n * other sequence is dropped rather than printed, because a cursor move or a\n * clear that arrives as visible junk is worse than one that arrives as\n * nothing: the screen is a snapshot, and the next one repaints it anyway.\n *\n * The named colours become theme tokens rather than the child's own palette,\n * so a run's output sits in the cockpit's colours instead of fighting them.\n * Only 256-colour and truecolour, which name a colour no token can stand in\n * for, are rendered as themselves.\n */\n\n/** One run of text with the attributes in force when it was printed. */\nexport interface AnsiSpan {\n text: string;\n /** Theme class for a named colour, absent when the colour is the default. */\n className?: string;\n /** An exact colour the child asked for, as `rgb(r g b)`; only 256/truecolour set this. */\n color?: string;\n bold?: boolean;\n faint?: boolean;\n italic?: boolean;\n underline?: boolean;\n /** Foreground and background swapped, which a TUI uses for selection and cursors. */\n inverse?: boolean;\n}\n\n// oxlint-disable-next-line no-control-regex -- reading terminal escapes is the point\nconst ANSI_PATTERN = /\\x1b\\[([0-9;:]*)([A-Za-z])|\\x1b\\][^\\x07\\x1b]*(?:\\x07|\\x1b\\\\)|\\x1b[()][A-Za-z0-9]|\\x1b[A-Za-z]/g;\nconst SGR_FINAL = 'm';\nconst RESET_CODE = 0;\nconst DEFAULT_FOREGROUND = 39;\nconst EXTENDED_FOREGROUND = 38;\nconst EXTENDED_BACKGROUND = 48;\nconst TRUECOLOR_SELECTOR = 2;\nconst PALETTE_SELECTOR = 5;\nconst BASE_FOREGROUND_START = 30;\nconst BASE_FOREGROUND_END = 37;\nconst BRIGHT_FOREGROUND_START = 90;\nconst BRIGHT_FOREGROUND_END = 97;\nconst BACKGROUND_START = 40;\nconst BACKGROUND_END = 49;\nconst BRIGHT_BACKGROUND_START = 100;\nconst BRIGHT_BACKGROUND_END = 107;\nconst RGB_CHANNELS = 3;\nconst PALETTE_SIZE = 256;\nconst PALETTE_CUBE_START = 16;\nconst PALETTE_GREY_START = 232;\nconst CUBE_SIDE = 6;\nconst CUBE_STEP = 40;\nconst CUBE_OFFSET = 55;\nconst GREY_STEP = 10;\nconst GREY_OFFSET = 8;\nconst MAX_CHANNEL = 255;\n\nconst BOLD = 1;\nconst FAINT = 2;\nconst ITALIC = 3;\nconst UNDERLINE = 4;\nconst INVERSE = 7;\nconst NOT_BOLD = 22;\nconst NOT_ITALIC = 23;\nconst NOT_UNDERLINE = 24;\nconst NOT_INVERSE = 27;\n\n/**\n * The eight terminal colours as theme tokens, listed as whole class strings so\n * the host's class scanner can see them.\n */\nconst FOREGROUND_CLASS: Readonly<Record<number, string>> = {\n 30: 'text-po-faint',\n 31: 'text-po-red',\n 32: 'text-po-green',\n 33: 'text-po-yellow',\n 34: 'text-po-blue',\n 35: 'text-po-magenta',\n 36: 'text-po-cyan',\n 37: 'text-po-text',\n 90: 'text-po-dim',\n 91: 'text-po-red',\n 92: 'text-po-green',\n 93: 'text-po-orange',\n 94: 'text-po-blue',\n 95: 'text-po-violet',\n 96: 'text-po-cyan',\n 97: 'text-po-hi',\n};\n\ninterface Attributes {\n className?: string;\n color?: string;\n bold: boolean;\n faint: boolean;\n italic: boolean;\n underline: boolean;\n inverse: boolean;\n}\n\nfunction blank(): Attributes {\n return { bold: false, faint: false, italic: false, underline: false, inverse: false };\n}\n\n/** One of the 256 palette entries as an exact colour, since no token stands for it. */\nfunction paletteColor(index: number): string | undefined {\n if (index < 0 || index >= PALETTE_SIZE) return undefined;\n if (index < PALETTE_CUBE_START) return undefined; // The first sixteen are the named ones.\n if (index >= PALETTE_GREY_START) {\n const level = (index - PALETTE_GREY_START) * GREY_STEP + GREY_OFFSET;\n return rgb(level, level, level);\n }\n const offset = index - PALETTE_CUBE_START;\n const channel = (value: number): number => (value === 0 ? 0 : value * CUBE_STEP + CUBE_OFFSET);\n return rgb(\n channel(Math.floor(offset / (CUBE_SIDE * CUBE_SIDE)) % CUBE_SIDE),\n channel(Math.floor(offset / CUBE_SIDE) % CUBE_SIDE),\n channel(offset % CUBE_SIDE),\n );\n}\n\nfunction rgb(red: number, green: number, blue: number): string {\n const clamp = (value: number): number => Math.max(0, Math.min(MAX_CHANNEL, Math.round(value)));\n return `rgb(${clamp(red)} ${clamp(green)} ${clamp(blue)})`;\n}\n\n/** Reads one extended-colour run (`38;5;n` or `38;2;r;g;b`), answering how many codes it ate. */\nfunction extendedColor(codes: readonly number[], index: number): { color?: string; consumed: number } {\n const selector = codes[index + 1];\n if (selector === TRUECOLOR_SELECTOR) {\n const [red, green, blue] = codes.slice(index + 2, index + 2 + RGB_CHANNELS);\n if (red === undefined || green === undefined || blue === undefined) return { consumed: codes.length };\n return { color: rgb(red, green, blue), consumed: 1 + 1 + RGB_CHANNELS };\n }\n if (selector === PALETTE_SELECTOR) {\n const entry = codes[index + 2];\n return { ...(entry === undefined ? {} : { color: paletteColor(entry) }), consumed: 3 };\n }\n return { consumed: 1 };\n}\n\nfunction applySgr(current: Attributes, parameters: string): Attributes {\n // An empty parameter list is a reset, which is what a bare `ESC[m` means.\n const codes = parameters === '' ? [RESET_CODE] : parameters.split(/[;:]/).map((part) => Number(part) || 0);\n let next = { ...current };\n for (let index = 0; index < codes.length; index += 1) {\n const code = codes[index] as number;\n if (code === RESET_CODE) {\n next = blank();\n } else if (code === BOLD) next.bold = true;\n else if (code === FAINT) next.faint = true;\n else if (code === ITALIC) next.italic = true;\n else if (code === UNDERLINE) next.underline = true;\n else if (code === INVERSE) next.inverse = true;\n else if (code === NOT_BOLD) {\n next.bold = false;\n next.faint = false;\n } else if (code === NOT_ITALIC) next.italic = false;\n else if (code === NOT_UNDERLINE) next.underline = false;\n else if (code === NOT_INVERSE) next.inverse = false;\n else if (code === DEFAULT_FOREGROUND) {\n delete next.className;\n delete next.color;\n } else if (code === EXTENDED_FOREGROUND) {\n const { color, consumed } = extendedColor(codes, index);\n delete next.className;\n if (color === undefined) delete next.color;\n else next.color = color;\n index += consumed - 1;\n } else if (code === EXTENDED_BACKGROUND) {\n // Backgrounds are dropped: a child painting its own background over the\n // cockpit's panel is what makes captured output unreadable in a theme.\n index += extendedColor(codes, index).consumed - 1;\n } else if (\n (code >= BASE_FOREGROUND_START && code <= BASE_FOREGROUND_END) ||\n (code >= BRIGHT_FOREGROUND_START && code <= BRIGHT_FOREGROUND_END)\n ) {\n const className = FOREGROUND_CLASS[code];\n delete next.color;\n if (className === undefined) delete next.className;\n else next.className = className;\n }\n // Background and everything else is read and dropped.\n else if (\n (code >= BACKGROUND_START && code <= BACKGROUND_END) ||\n (code >= BRIGHT_BACKGROUND_START && code <= BRIGHT_BACKGROUND_END)\n ) {\n next.inverse = false;\n }\n }\n return next;\n}\n\nfunction spanOf(text: string, attributes: Attributes): AnsiSpan {\n return {\n text,\n ...(attributes.className === undefined ? {} : { className: attributes.className }),\n ...(attributes.color === undefined ? {} : { color: attributes.color }),\n ...(attributes.bold ? { bold: true } : {}),\n ...(attributes.faint ? { faint: true } : {}),\n ...(attributes.italic ? { italic: true } : {}),\n ...(attributes.underline ? { underline: true } : {}),\n ...(attributes.inverse ? { inverse: true } : {}),\n };\n}\n\n/** One line of captured screen as spans, with every unreadable sequence dropped. */\nexport function ansiSpans(line: string): AnsiSpan[] {\n const spans: AnsiSpan[] = [];\n let attributes = blank();\n let cursor = 0;\n ANSI_PATTERN.lastIndex = 0;\n let match = ANSI_PATTERN.exec(line);\n while (match !== null) {\n if (match.index > cursor) spans.push(spanOf(line.slice(cursor, match.index), attributes));\n if (match[2] === SGR_FINAL) attributes = applySgr(attributes, match[1] ?? '');\n cursor = match.index + match[0].length;\n match = ANSI_PATTERN.exec(line);\n }\n if (cursor < line.length) spans.push(spanOf(line.slice(cursor), attributes));\n return spans;\n}\n"],"mappings":"AAwCA,MAAMA,EAAe,iGAyCfC,EAAqD,CACzD,GAAI,gBACJ,GAAI,cACJ,GAAI,gBACJ,GAAI,iBACJ,GAAI,eACJ,GAAI,kBACJ,GAAI,eACJ,GAAI,eACJ,GAAI,cACJ,GAAI,cACJ,GAAI,gBACJ,GAAI,iBACJ,GAAI,eACJ,GAAI,iBACJ,GAAI,eACJ,GAAI,YACN,EAYA,SAASC,GAAoB,CAC3B,MAAO,CAAE,KAAM,GAAO,MAAO,GAAO,OAAQ,GAAO,UAAW,GAAO,QAAS,EAAM,CACtF,CAGA,SAASC,EAAa,EAAmC,CAEvD,GADIC,EAAQ,GAAKA,GAAS,KACtBA,EAAQ,GAAoB,OAChC,GAAIA,GAAS,IAAoB,CAC/B,IAAMC,GAASD,EAAQ,KAAsB,GAAY,EACzD,OAAOE,EAAID,EAAOA,EAAOA,CAAK,CAChC,CACA,IAAME,EAASH,EAAQ,GACjBI,EAAW,GAA2BC,IAAU,EAAI,EAAIA,EAAQ,GAAY,GAClF,OAAOH,EACLE,EAAQ,KAAK,MAAMD,EAAU,EAAsB,EAAI,CAAS,EAChEC,EAAQ,KAAK,MAAMD,EAAS,CAAS,EAAI,CAAS,EAClDC,EAAQD,EAAS,CAAS,CAC5B,CACF,CAEA,SAASD,EAAI,EAAa,EAAe,EAAsB,CAC7D,IAAMI,EAAS,GAA0B,KAAK,IAAI,EAAG,KAAK,IAAI,IAAa,KAAK,MAAMD,CAAK,CAAC,CAAC,EAC7F,MAAO,OAAOC,EAAMC,CAAG,EAAE,GAAGD,EAAME,CAAK,EAAE,GAAGF,EAAMG,CAAI,EAAE,EAC1D,CAGA,SAASC,EAAc,EAA0B,EAAqD,CACpG,IAAMC,EAAWC,EAAMZ,EAAQ,GAC/B,GAAIW,IAAa,EAAoB,CACnC,GAAM,CAACJ,EAAKC,EAAOC,GAAQG,EAAM,MAAMZ,EAAQ,EAAGA,EAAQ,EAAI,CAAY,EAE1E,OADIO,IAAQ,IAAA,IAAaC,IAAU,IAAA,IAAaC,IAAS,IAAA,GAAkB,CAAE,SAAUG,EAAM,MAAO,EAC7F,CAAE,MAAOV,EAAIK,EAAKC,EAAOC,CAAI,EAAG,SAAU,CAAqB,CACxE,CACA,GAAIE,IAAa,EAAkB,CACjC,IAAME,EAAQD,EAAMZ,EAAQ,GAC5B,MAAO,CAAE,GAAIa,IAAU,IAAA,GAAY,CAAC,EAAI,CAAE,MAAOd,EAAac,CAAK,CAAE,EAAI,SAAU,CAAE,CACvF,CACA,MAAO,CAAE,SAAU,CAAE,CACvB,CAEA,SAASC,EAAS,EAAqB,EAAgC,CAErE,IAAMF,EAAQG,IAAe,GAAK,CAAC,CAAU,EAAIA,EAAW,MAAM,MAAM,CAAC,CAAC,IAAK,GAAS,OAAOC,CAAI,GAAK,CAAC,EACrGC,EAAO,CAAE,GAAGC,CAAQ,EACxB,IAAK,IAAIlB,EAAQ,EAAGA,EAAQY,EAAM,OAAQ,GAAS,EAAG,CACpD,IAAMO,EAAOP,EAAMZ,GACnB,GAAImB,IAAS,EACX,EAAOrB,EAAM,OACR,GAAIqB,IAAS,EAAM,EAAK,KAAO,QACjC,GAAIA,IAAS,EAAO,EAAK,MAAQ,QACjC,GAAIA,IAAS,EAAQ,EAAK,OAAS,QACnC,GAAIA,IAAS,EAAW,EAAK,UAAY,QACzC,GAAIA,IAAS,EAAS,EAAK,QAAU,QACrC,GAAIA,IAAS,GAChB,EAAK,KAAO,GACZ,EAAK,MAAQ,QACR,GAAIA,IAAS,GAAY,EAAK,OAAS,QACzC,GAAIA,IAAS,GAAe,EAAK,UAAY,QAC7C,GAAIA,IAAS,GAAa,EAAK,QAAU,QACzC,GAAIA,IAAS,GAChB,OAAOF,EAAK,UACZ,OAAOA,EAAK,WACP,GAAIE,IAAS,GAAqB,CACvC,GAAM,CAAE,QAAO,YAAaT,EAAcE,EAAOZ,CAAK,EACtD,OAAOiB,EAAK,UACRG,IAAU,IAAA,GAAW,OAAOH,EAAK,MAChC,EAAK,MAAQG,EAClB,GAASC,EAAW,CACtB,MAAO,GAAIF,IAAS,GAGlB,GAAST,EAAcE,EAAOZ,CAAK,CAAC,CAAC,SAAW,OAC3C,GACJmB,GAAQ,IAAyBA,GAAQ,IACzCA,GAAQ,IAA2BA,GAAQ,GAC5C,CACA,IAAMG,EAAYzB,EAAiBsB,GACnC,OAAOF,EAAK,MACRK,IAAc,IAAA,GAAW,OAAOL,EAAK,UACpC,EAAK,UAAYK,CACxB,MAGGH,GAAQ,IAAoBA,GAAQ,IACpCA,GAAQ,KAA2BA,GAAQ,OAE5C,EAAK,QAAU,GAEnB,CACA,OAAOF,CACT,CAEA,SAASM,EAAO,EAAc,EAAkC,CAC9D,MAAO,CACL,OACA,GAAIC,EAAW,YAAc,IAAA,GAAY,CAAC,EAAI,CAAE,UAAWA,EAAW,SAAU,EAChF,GAAIA,EAAW,QAAU,IAAA,GAAY,CAAC,EAAI,CAAE,MAAOA,EAAW,KAAM,EACpE,GAAIA,EAAW,KAAO,CAAE,KAAM,EAAK,EAAI,CAAC,EACxC,GAAIA,EAAW,MAAQ,CAAE,MAAO,EAAK,EAAI,CAAC,EAC1C,GAAIA,EAAW,OAAS,CAAE,OAAQ,EAAK,EAAI,CAAC,EAC5C,GAAIA,EAAW,UAAY,CAAE,UAAW,EAAK,EAAI,CAAC,EAClD,GAAIA,EAAW,QAAU,CAAE,QAAS,EAAK,EAAI,CAAC,CAChD,CACF,CAGA,SAAgBC,EAAU,EAA0B,CAClD,IAAMC,EAAoB,CAAC,EACvBF,EAAa1B,EAAM,EACnB6B,EAAS,EACb,EAAa,UAAY,EACzB,IAAIC,EAAQhC,EAAa,KAAKiC,CAAI,EAClC,KAAOD,IAAU,MACXA,EAAM,MAAQD,GAAQD,EAAM,KAAKH,EAAOM,EAAK,MAAMF,EAAQC,EAAM,KAAK,EAAGJ,CAAU,CAAC,EACpFI,EAAM,KAAO,MAAW,EAAad,EAASU,EAAYI,EAAM,IAAM,EAAE,GAC5E,EAASA,EAAM,MAAQA,EAAM,EAAE,CAAC,OAChC,EAAQhC,EAAa,KAAKiC,CAAI,EAGhC,OADIF,EAASE,EAAK,QAAQH,EAAM,KAAKH,EAAOM,EAAK,MAAMF,CAAM,EAAGH,CAAU,CAAC,EACpEE,CACT"}
1
+ {"version":3,"file":"ansiSpans.mjs","names":["ANSI_PATTERN","FOREGROUND_CLASS","blank","paletteColor","index","level","rgb","offset","channel","value","clamp","red","green","blue","extendedColor","selector","codes","entry","applySgr","parameters","part","next","current","code","color","consumed","className","spanOf","attributes","ansiSpans","spans","cursor","match","line"],"sources":["../../../../../../src/lib/ansiSpans.ts"],"sourcesContent":["/**\n * The escapes a captured terminal screen carries, turned into spans.\n *\n * WHY THIS EXISTS:\n * Two kinds of output reach the cockpit with a terminal's colour still in it.\n * A workflow captures a tmux pane with `-e`, and a runner's log file keeps the\n * palette on purpose, stripping only cursor moves and redraws. The browser has\n * no terminal, and the cockpit carries no terminal emulator, so the sequences\n * are read here and rendered as ordinary spans. It lives in the component\n * library because both readers need it and neither may import the other.\n *\n * WHAT IT UNDERSTANDS:\n * SGR (`ESC [ … m`) only: the eight base colours and their bright forms, 256\n * colour and truecolour, and bold, faint, italic, underline and inverse. Every\n * other sequence is dropped rather than printed, because a cursor move or a\n * clear that arrives as visible junk is worse than one that arrives as\n * nothing: the screen is a snapshot, and the next one repaints it anyway.\n *\n * The named colours become theme tokens rather than the child's own palette,\n * so a run's output sits in the cockpit's colours instead of fighting them.\n * Only 256-colour and truecolour, which name a colour no token can stand in\n * for, are rendered as themselves.\n */\n\n/** One run of text with the attributes in force when it was printed. */\nexport interface AnsiSpan {\n text: string;\n /** Theme class for a named colour, absent when the colour is the default. */\n className?: string;\n /** An exact colour the child asked for, as `rgb(r g b)`; only 256/truecolour set this. */\n color?: string;\n bold?: boolean;\n faint?: boolean;\n italic?: boolean;\n underline?: boolean;\n /** Foreground and background swapped, which a TUI uses for selection and cursors. */\n inverse?: boolean;\n}\n\n// oxlint-disable-next-line no-control-regex -- reading terminal escapes is the point\nconst ANSI_PATTERN = /\\x1b\\[([0-9;:]*)([A-Za-z])|\\x1b\\][^\\x07\\x1b]*(?:\\x07|\\x1b\\\\)|\\x1b[()][A-Za-z0-9]|\\x1b[A-Za-z]/g;\nconst SGR_FINAL = 'm';\nconst RESET_CODE = 0;\nconst DEFAULT_FOREGROUND = 39;\nconst EXTENDED_FOREGROUND = 38;\nconst EXTENDED_BACKGROUND = 48;\nconst TRUECOLOR_SELECTOR = 2;\nconst PALETTE_SELECTOR = 5;\nconst BASE_FOREGROUND_START = 30;\nconst BASE_FOREGROUND_END = 37;\nconst BRIGHT_FOREGROUND_START = 90;\nconst BRIGHT_FOREGROUND_END = 97;\nconst BACKGROUND_START = 40;\nconst BACKGROUND_END = 49;\nconst BRIGHT_BACKGROUND_START = 100;\nconst BRIGHT_BACKGROUND_END = 107;\nconst RGB_CHANNELS = 3;\nconst PALETTE_SIZE = 256;\nconst PALETTE_CUBE_START = 16;\nconst PALETTE_GREY_START = 232;\nconst CUBE_SIDE = 6;\nconst CUBE_STEP = 40;\nconst CUBE_OFFSET = 55;\nconst GREY_STEP = 10;\nconst GREY_OFFSET = 8;\nconst MAX_CHANNEL = 255;\n\nconst BOLD = 1;\nconst FAINT = 2;\nconst ITALIC = 3;\nconst UNDERLINE = 4;\nconst INVERSE = 7;\nconst NOT_BOLD = 22;\nconst NOT_ITALIC = 23;\nconst NOT_UNDERLINE = 24;\nconst NOT_INVERSE = 27;\n\n/**\n * The eight terminal colours as theme tokens, listed as whole class strings so\n * the host's class scanner can see them.\n */\nconst FOREGROUND_CLASS: Readonly<Record<number, string>> = {\n 30: 'text-po-faint',\n 31: 'text-po-red',\n 32: 'text-po-green',\n 33: 'text-po-yellow',\n 34: 'text-po-blue',\n 35: 'text-po-magenta',\n 36: 'text-po-cyan',\n 37: 'text-po-text',\n 90: 'text-po-dim',\n 91: 'text-po-red',\n 92: 'text-po-green',\n 93: 'text-po-orange',\n 94: 'text-po-blue',\n 95: 'text-po-violet',\n 96: 'text-po-cyan',\n 97: 'text-po-hi',\n};\n\ninterface Attributes {\n className?: string;\n color?: string;\n bold: boolean;\n faint: boolean;\n italic: boolean;\n underline: boolean;\n inverse: boolean;\n}\n\nfunction blank(): Attributes {\n return { bold: false, faint: false, italic: false, underline: false, inverse: false };\n}\n\n/** One of the 256 palette entries as an exact colour, since no token stands for it. */\nfunction paletteColor(index: number): string | undefined {\n if (index < 0 || index >= PALETTE_SIZE) return undefined;\n if (index < PALETTE_CUBE_START) return undefined; // The first sixteen are the named ones.\n if (index >= PALETTE_GREY_START) {\n const level = (index - PALETTE_GREY_START) * GREY_STEP + GREY_OFFSET;\n return rgb(level, level, level);\n }\n const offset = index - PALETTE_CUBE_START;\n const channel = (value: number): number => (value === 0 ? 0 : value * CUBE_STEP + CUBE_OFFSET);\n return rgb(\n channel(Math.floor(offset / (CUBE_SIDE * CUBE_SIDE)) % CUBE_SIDE),\n channel(Math.floor(offset / CUBE_SIDE) % CUBE_SIDE),\n channel(offset % CUBE_SIDE),\n );\n}\n\nfunction rgb(red: number, green: number, blue: number): string {\n const clamp = (value: number): number => Math.max(0, Math.min(MAX_CHANNEL, Math.round(value)));\n return `rgb(${clamp(red)} ${clamp(green)} ${clamp(blue)})`;\n}\n\n/** Reads one extended-colour run (`38;5;n` or `38;2;r;g;b`), answering how many codes it ate. */\nfunction extendedColor(codes: readonly number[], index: number): { color?: string; consumed: number } {\n const selector = codes[index + 1];\n if (selector === TRUECOLOR_SELECTOR) {\n const [red, green, blue] = codes.slice(index + 2, index + 2 + RGB_CHANNELS);\n if (red === undefined || green === undefined || blue === undefined) return { consumed: codes.length };\n return { color: rgb(red, green, blue), consumed: 1 + 1 + RGB_CHANNELS };\n }\n if (selector === PALETTE_SELECTOR) {\n const entry = codes[index + 2];\n return { ...(entry === undefined ? {} : { color: paletteColor(entry) }), consumed: 3 };\n }\n return { consumed: 1 };\n}\n\nfunction applySgr(current: Attributes, parameters: string): Attributes {\n // An empty parameter list is a reset, which is what a bare `ESC[m` means.\n const codes = parameters === '' ? [RESET_CODE] : parameters.split(/[;:]/).map((part) => Number(part) || 0);\n let next = { ...current };\n for (let index = 0; index < codes.length; index += 1) {\n const code = codes[index] as number;\n if (code === RESET_CODE) {\n next = blank();\n } else if (code === BOLD) next.bold = true;\n else if (code === FAINT) next.faint = true;\n else if (code === ITALIC) next.italic = true;\n else if (code === UNDERLINE) next.underline = true;\n else if (code === INVERSE) next.inverse = true;\n else if (code === NOT_BOLD) {\n next.bold = false;\n next.faint = false;\n } else if (code === NOT_ITALIC) next.italic = false;\n else if (code === NOT_UNDERLINE) next.underline = false;\n else if (code === NOT_INVERSE) next.inverse = false;\n else if (code === DEFAULT_FOREGROUND) {\n delete next.className;\n delete next.color;\n } else if (code === EXTENDED_FOREGROUND) {\n const { color, consumed } = extendedColor(codes, index);\n delete next.className;\n if (color === undefined) delete next.color;\n else next.color = color;\n index += consumed - 1;\n } else if (code === EXTENDED_BACKGROUND) {\n // Backgrounds are dropped: a child painting its own background over the\n // cockpit's panel is what makes captured output unreadable in a theme.\n index += extendedColor(codes, index).consumed - 1;\n } else if (\n (code >= BASE_FOREGROUND_START && code <= BASE_FOREGROUND_END) ||\n (code >= BRIGHT_FOREGROUND_START && code <= BRIGHT_FOREGROUND_END)\n ) {\n const className = FOREGROUND_CLASS[code];\n delete next.color;\n if (className === undefined) delete next.className;\n else next.className = className;\n }\n // Background and everything else is read and dropped.\n else if (\n (code >= BACKGROUND_START && code <= BACKGROUND_END) ||\n (code >= BRIGHT_BACKGROUND_START && code <= BRIGHT_BACKGROUND_END)\n ) {\n next.inverse = false;\n }\n }\n return next;\n}\n\nfunction spanOf(text: string, attributes: Attributes): AnsiSpan {\n return {\n text,\n ...(attributes.className === undefined ? {} : { className: attributes.className }),\n ...(attributes.color === undefined ? {} : { color: attributes.color }),\n ...(attributes.bold ? { bold: true } : {}),\n ...(attributes.faint ? { faint: true } : {}),\n ...(attributes.italic ? { italic: true } : {}),\n ...(attributes.underline ? { underline: true } : {}),\n ...(attributes.inverse ? { inverse: true } : {}),\n };\n}\n\n/** One line of captured screen as spans, with every unreadable sequence dropped. */\nexport function ansiSpans(line: string): AnsiSpan[] {\n const spans: AnsiSpan[] = [];\n let attributes = blank();\n let cursor = 0;\n ANSI_PATTERN.lastIndex = 0;\n let match = ANSI_PATTERN.exec(line);\n while (match !== null) {\n if (match.index > cursor) spans.push(spanOf(line.slice(cursor, match.index), attributes));\n if (match[2] === SGR_FINAL) attributes = applySgr(attributes, match[1] ?? '');\n cursor = match.index + match[0].length;\n match = ANSI_PATTERN.exec(line);\n }\n if (cursor < line.length) spans.push(spanOf(line.slice(cursor), attributes));\n return spans;\n}\n"],"mappings":"AAwCA,MAAMA,EAAe,iGAyCfC,EAAqD,CACzD,GAAI,gBACJ,GAAI,cACJ,GAAI,gBACJ,GAAI,iBACJ,GAAI,eACJ,GAAI,kBACJ,GAAI,eACJ,GAAI,eACJ,GAAI,cACJ,GAAI,cACJ,GAAI,gBACJ,GAAI,iBACJ,GAAI,eACJ,GAAI,iBACJ,GAAI,eACJ,GAAI,YACN,EAYA,SAASC,GAAoB,CAC3B,MAAO,CAAE,KAAM,GAAO,MAAO,GAAO,OAAQ,GAAO,UAAW,GAAO,QAAS,EAAM,CACtF,CAGA,SAASC,EAAa,EAAmC,CAEvD,GADIC,EAAQ,GAAKA,GAAS,KACtBA,EAAQ,GAAoB,OAChC,GAAIA,GAAS,IAAoB,CAC/B,IAAMC,GAASD,EAAQ,KAAsB,GAAY,EACzD,OAAOE,EAAID,EAAOA,EAAOA,CAAK,CAChC,CACA,IAAME,EAASH,EAAQ,GACjBI,EAAW,GAA2BC,IAAU,EAAI,EAAIA,EAAQ,GAAY,GAClF,OAAOH,EACLE,EAAQ,KAAK,MAAMD,EAAU,EAAsB,EAAI,CAAS,EAChEC,EAAQ,KAAK,MAAMD,EAAS,CAAS,EAAI,CAAS,EAClDC,EAAQD,EAAS,CAAS,CAC5B,CACF,CAEA,SAASD,EAAI,EAAa,EAAe,EAAsB,CAC7D,IAAMI,EAAS,GAA0B,KAAK,IAAI,EAAG,KAAK,IAAI,IAAa,KAAK,MAAMD,CAAK,CAAC,CAAC,EAC7F,MAAO,OAAOC,EAAMC,CAAG,EAAE,GAAGD,EAAME,CAAK,EAAE,GAAGF,EAAMG,CAAI,EAAE,EAC1D,CAGA,SAASC,EAAc,EAA0B,EAAqD,CACpG,IAAMC,EAAWC,EAAMZ,EAAQ,GAC/B,GAAIW,IAAa,EAAoB,CACnC,GAAM,CAACJ,EAAKC,EAAOC,GAAQG,EAAM,MAAMZ,EAAQ,EAAGA,EAAQ,EAAI,CAAY,EAE1E,OADIO,IAAQ,IAAA,IAAaC,IAAU,IAAA,IAAaC,IAAS,IAAA,GAAkB,CAAE,SAAUG,EAAM,MAAO,EAC7F,CAAE,MAAOV,EAAIK,EAAKC,EAAOC,CAAI,EAAG,SAAU,CAAqB,CACxE,CACA,GAAIE,IAAa,EAAkB,CACjC,IAAME,EAAQD,EAAMZ,EAAQ,GAC5B,MAAO,CAAE,GAAIa,IAAU,IAAA,GAAY,CAAC,EAAI,CAAE,MAAOd,EAAac,CAAK,CAAE,EAAI,SAAU,CAAE,CACvF,CACA,MAAO,CAAE,SAAU,CAAE,CACvB,CAEA,SAASC,EAAS,EAAqB,EAAgC,CAErE,IAAMF,EAAQG,IAAe,GAAK,CAAC,CAAU,EAAIA,EAAW,MAAM,MAAM,CAAC,CAAC,IAAK,GAAS,OAAOC,CAAI,GAAK,CAAC,EACrGC,EAAO,CAAE,GAAGC,CAAQ,EACxB,IAAK,IAAIlB,EAAQ,EAAGA,EAAQY,EAAM,OAAQ,GAAS,EAAG,CACpD,IAAMO,EAAOP,EAAMZ,GACnB,GAAImB,IAAS,EACX,EAAOrB,EAAM,OACR,GAAIqB,IAAS,EAAM,EAAK,KAAO,QACjC,GAAIA,IAAS,EAAO,EAAK,MAAQ,QACjC,GAAIA,IAAS,EAAQ,EAAK,OAAS,QACnC,GAAIA,IAAS,EAAW,EAAK,UAAY,QACzC,GAAIA,IAAS,EAAS,EAAK,QAAU,QACrC,GAAIA,IAAS,GAChB,EAAK,KAAO,GACZ,EAAK,MAAQ,QACR,GAAIA,IAAS,GAAY,EAAK,OAAS,QACzC,GAAIA,IAAS,GAAe,EAAK,UAAY,QAC7C,GAAIA,IAAS,GAAa,EAAK,QAAU,QACzC,GAAIA,IAAS,GAChB,OAAOF,EAAK,UACZ,OAAOA,EAAK,WACP,GAAIE,IAAS,GAAqB,CACvC,GAAM,CAAE,QAAO,YAAaT,EAAcE,EAAOZ,CAAK,EACtD,OAAOiB,EAAK,UACRG,IAAU,IAAA,GAAW,OAAOH,EAAK,MAChC,EAAK,MAAQG,EAClB,GAASC,EAAW,CACtB,MAAO,GAAIF,IAAS,GAGlB,GAAST,EAAcE,EAAOZ,CAAK,CAAC,CAAC,SAAW,OAC3C,GACJmB,GAAQ,IAAyBA,GAAQ,IACzCA,GAAQ,IAA2BA,GAAQ,GAC5C,CACA,IAAMG,EAAYzB,EAAiBsB,GACnC,OAAOF,EAAK,MACRK,IAAc,IAAA,GAAW,OAAOL,EAAK,UACpC,EAAK,UAAYK,CACxB,MAGGH,GAAQ,IAAoBA,GAAQ,IACpCA,GAAQ,KAA2BA,GAAQ,OAE5C,EAAK,QAAU,GAEnB,CACA,OAAOF,CACT,CAEA,SAASM,EAAO,EAAc,EAAkC,CAC9D,MAAO,CACL,OACA,GAAIC,EAAW,YAAc,IAAA,GAAY,CAAC,EAAI,CAAE,UAAWA,EAAW,SAAU,EAChF,GAAIA,EAAW,QAAU,IAAA,GAAY,CAAC,EAAI,CAAE,MAAOA,EAAW,KAAM,EACpE,GAAIA,EAAW,KAAO,CAAE,KAAM,EAAK,EAAI,CAAC,EACxC,GAAIA,EAAW,MAAQ,CAAE,MAAO,EAAK,EAAI,CAAC,EAC1C,GAAIA,EAAW,OAAS,CAAE,OAAQ,EAAK,EAAI,CAAC,EAC5C,GAAIA,EAAW,UAAY,CAAE,UAAW,EAAK,EAAI,CAAC,EAClD,GAAIA,EAAW,QAAU,CAAE,QAAS,EAAK,EAAI,CAAC,CAChD,CACF,CAGA,SAAgBC,EAAU,EAA0B,CAClD,IAAMC,EAAoB,CAAC,EACvBF,EAAa1B,EAAM,EACnB6B,EAAS,EACb,EAAa,UAAY,EACzB,IAAIC,EAAQhC,EAAa,KAAKiC,CAAI,EAClC,KAAOD,IAAU,MACXA,EAAM,MAAQD,GAAQD,EAAM,KAAKH,EAAOM,EAAK,MAAMF,EAAQC,EAAM,KAAK,EAAGJ,CAAU,CAAC,EACpFI,EAAM,KAAO,MAAW,EAAad,EAASU,EAAYI,EAAM,IAAM,EAAE,GAC5E,EAASA,EAAM,MAAQA,EAAM,EAAE,CAAC,OAChC,EAAQhC,EAAa,KAAKiC,CAAI,EAGhC,OADIF,EAASE,EAAK,QAAQH,EAAM,KAAKH,EAAOM,EAAK,MAAMF,CAAM,EAAGH,CAAU,CAAC,EACpEE,CACT,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"cn.mjs","names":["cn","inputs","twMerge","clsx"],"sources":["../../../../../../src/lib/cn.ts"],"sourcesContent":["import { type ClassValue, clsx } from 'clsx';\nimport { twMerge } from 'tailwind-merge';\n\n/** Merges class lists the shadcn way: conditional joins, then Tailwind conflict resolution. */\nexport function cn(...inputs: ClassValue[]): string {\n return twMerge(clsx(inputs));\n}\n"],"mappings":"qEAIA,SAAgBA,EAAG,GAAGC,EAA8B,CAClD,OAAOC,EAAQC,EAAKF,CAAM,CAAC,CAC7B"}
1
+ {"version":3,"file":"cn.mjs","names":["cn","inputs","twMerge","clsx"],"sources":["../../../../../../src/lib/cn.ts"],"sourcesContent":["import { type ClassValue, clsx } from 'clsx';\nimport { twMerge } from 'tailwind-merge';\n\n/** Merges class lists the shadcn way: conditional joins, then Tailwind conflict resolution. */\nexport function cn(...inputs: ClassValue[]): string {\n return twMerge(clsx(inputs));\n}\n"],"mappings":"A,qEAIA,SAAgBA,EAAG,GAAGC,EAA8B,CAClD,OAAOC,EAAQC,EAAKF,CAAM,CAAC,CAC7B,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"collapse.mjs","names":["collapseLines","expanded","lines","limit"],"sources":["../../../../../../src/lib/collapse.ts"],"sourcesContent":["export interface CollapsedLines<T> {\n shown: T[];\n /** How many lines the collapse holds back; 0 once expanded or when nothing was clipped. */\n hidden: number;\n}\n\n/**\n * The first `limit` lines until expanded. Head-only on purpose: a card that\n * shows the tail (a running command) keeps its own slice and reports the\n * count it hid.\n */\nexport function collapseLines<T>(lines: readonly T[], limit: number, expanded: boolean): CollapsedLines<T> {\n if (expanded || lines.length <= limit) return { shown: [...lines], hidden: 0 };\n return { shown: lines.slice(0, limit), hidden: lines.length - limit };\n}\n"],"mappings":"AAWA,SAAgBA,EAAiB,EAAqB,EAAe,EAAsC,CAEzG,OADIC,GAAYC,EAAM,QAAUC,EAAc,CAAE,MAAO,CAAC,GAAGD,CAAK,EAAG,OAAQ,CAAE,EACtE,CAAE,MAAOA,EAAM,MAAM,EAAGC,CAAK,EAAG,OAAQD,EAAM,OAASC,CAAM,CACtE"}
1
+ {"version":3,"file":"collapse.mjs","names":["collapseLines","expanded","lines","limit"],"sources":["../../../../../../src/lib/collapse.ts"],"sourcesContent":["export interface CollapsedLines<T> {\n shown: T[];\n /** How many lines the collapse holds back; 0 once expanded or when nothing was clipped. */\n hidden: number;\n}\n\n/**\n * The first `limit` lines until expanded. Head-only on purpose: a card that\n * shows the tail (a running command) keeps its own slice and reports the\n * count it hid.\n */\nexport function collapseLines<T>(lines: readonly T[], limit: number, expanded: boolean): CollapsedLines<T> {\n if (expanded || lines.length <= limit) return { shown: [...lines], hidden: 0 };\n return { shown: lines.slice(0, limit), hidden: lines.length - limit };\n}\n"],"mappings":"AAWA,SAAgBA,EAAiB,EAAqB,EAAe,EAAsC,CAEzG,OADIC,GAAYC,EAAM,QAAUC,EAAc,CAAE,MAAO,CAAC,GAAGD,CAAK,EAAG,OAAQ,CAAE,EACtE,CAAE,MAAOA,EAAM,MAAM,EAAGC,CAAK,EAAG,OAAQD,EAAM,OAASC,CAAM,CACtE,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"editorController.mjs","names":["boundedEditorRanges","ordered","ranges","left","right","previousEnd","index","range","documentLength","boundedEditorEdits","edits"],"sources":["../../../../../../src/lib/editorController.ts"],"sourcesContent":["import type { EditorEdit, EditorTextRange } from '../types/editor';\n\n/** Validate and order offset ranges before they reach CodeMirror. */\nexport function boundedEditorRanges<T extends EditorTextRange>(\n documentLength: number,\n ranges: readonly T[],\n): readonly T[] {\n const ordered = [...ranges].sort((left, right) => left.from - right.from || left.to - right.to);\n let previousEnd = 0;\n\n for (const [index, range] of ordered.entries()) {\n if (!Number.isInteger(range.from) || !Number.isInteger(range.to)) {\n throw new RangeError('Editor ranges must use integer offsets');\n }\n if (range.from < 0 || range.to < range.from || range.to > documentLength) {\n throw new RangeError(`Editor range ${index} is outside the document`);\n }\n if (index > 0 && range.from < previousEnd) {\n throw new RangeError('Editor ranges must not overlap');\n }\n previousEnd = Math.max(previousEnd, range.to);\n }\n\n return ordered;\n}\n\n/** Convert caller edits to the bounded, ordered shape accepted by one transaction. */\nexport function boundedEditorEdits(documentLength: number, edits: readonly EditorEdit[]): readonly EditorEdit[] {\n return boundedEditorRanges(documentLength, edits);\n}\n"],"mappings":"AAGA,SAAgBA,EACd,EACA,EACc,CACd,IAAMC,EAAU,CAAC,GAAGC,CAAM,CAAC,CAAC,MAAM,EAAM,IAAUC,EAAK,KAAOC,EAAM,MAAQD,EAAK,GAAKC,EAAM,EAAE,EAC1FC,EAAc,EAElB,IAAK,GAAM,CAACC,EAAOC,KAAUN,EAAQ,QAAQ,EAAG,CAC9C,GAAI,CAAC,OAAO,UAAUM,EAAM,IAAI,GAAK,CAAC,OAAO,UAAUA,EAAM,EAAE,EAC7D,MAAU,WAAW,wCAAwC,EAE/D,GAAIA,EAAM,KAAO,GAAKA,EAAM,GAAKA,EAAM,MAAQA,EAAM,GAAKC,EACxD,MAAU,WAAW,gBAAgBF,EAAM,yBAAyB,EAEtE,GAAIA,EAAQ,GAAKC,EAAM,KAAOF,EAC5B,MAAU,WAAW,gCAAgC,EAEvD,EAAc,KAAK,IAAIA,EAAaE,EAAM,EAAE,CAC9C,CAEA,OAAON,CACT,CAGA,SAAgBQ,EAAmB,EAAwB,EAAqD,CAC9G,OAAOT,EAAoBQ,EAAgBE,CAAK,CAClD"}
1
+ {"version":3,"file":"editorController.mjs","names":["boundedEditorRanges","ordered","ranges","left","right","previousEnd","index","range","documentLength","boundedEditorEdits","edits"],"sources":["../../../../../../src/lib/editorController.ts"],"sourcesContent":["import type { EditorEdit, EditorTextRange } from '../types/editor';\n\n/** Validate and order offset ranges before they reach CodeMirror. */\nexport function boundedEditorRanges<T extends EditorTextRange>(\n documentLength: number,\n ranges: readonly T[],\n): readonly T[] {\n const ordered = [...ranges].sort((left, right) => left.from - right.from || left.to - right.to);\n let previousEnd = 0;\n\n for (const [index, range] of ordered.entries()) {\n if (!Number.isInteger(range.from) || !Number.isInteger(range.to)) {\n throw new RangeError('Editor ranges must use integer offsets');\n }\n if (range.from < 0 || range.to < range.from || range.to > documentLength) {\n throw new RangeError(`Editor range ${index} is outside the document`);\n }\n if (index > 0 && range.from < previousEnd) {\n throw new RangeError('Editor ranges must not overlap');\n }\n previousEnd = Math.max(previousEnd, range.to);\n }\n\n return ordered;\n}\n\n/** Convert caller edits to the bounded, ordered shape accepted by one transaction. */\nexport function boundedEditorEdits(documentLength: number, edits: readonly EditorEdit[]): readonly EditorEdit[] {\n return boundedEditorRanges(documentLength, edits);\n}\n"],"mappings":"AAGA,SAAgBA,EACd,EACA,EACc,CACd,IAAMC,EAAU,CAAC,GAAGC,CAAM,CAAC,CAAC,MAAM,EAAM,IAAUC,EAAK,KAAOC,EAAM,MAAQD,EAAK,GAAKC,EAAM,EAAE,EAC1FC,EAAc,EAElB,IAAK,GAAM,CAACC,EAAOC,KAAUN,EAAQ,QAAQ,EAAG,CAC9C,GAAI,CAAC,OAAO,UAAUM,EAAM,IAAI,GAAK,CAAC,OAAO,UAAUA,EAAM,EAAE,EAC7D,MAAU,WAAW,wCAAwC,EAE/D,GAAIA,EAAM,KAAO,GAAKA,EAAM,GAAKA,EAAM,MAAQA,EAAM,GAAKC,EACxD,MAAU,WAAW,gBAAgBF,EAAM,yBAAyB,EAEtE,GAAIA,EAAQ,GAAKC,EAAM,KAAOF,EAC5B,MAAU,WAAW,gCAAgC,EAEvD,EAAc,KAAK,IAAIA,EAAaE,EAAM,EAAE,CAC9C,CAEA,OAAON,CACT,CAGA,SAAgBQ,EAAmB,EAAwB,EAAqD,CAC9G,OAAOT,EAAoBQ,EAAgBE,CAAK,CAClD,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"editorLanguage.mjs","names":["GRAMMAR_BY_EXTENSION","GRAMMAR_BY_FILENAME","basenameOf","filePath","grammarKeyOf","name","named","dot","streamMode","parser","load","StreamLanguage","loadGrammar","key"],"sources":["../../../../../../src/lib/editorLanguage.ts"],"sourcesContent":["import type { StreamParser } from '@codemirror/language';\nimport type { Extension } from '@codemirror/state';\n\n/**\n * Which grammar a file gets, and how it arrives.\n *\n * The two halves are apart on purpose. Naming the grammar is a pure lookup a\n * caller can run before deciding anything, and loading it is a dynamic import\n * so a session that only ever opens Markdown never downloads the JavaScript\n * parser. Nothing here imports CodeMirror at runtime: every specifier below is\n * either a type, which erases, or inside an `import()` the bundler splits into\n * its own chunk.\n */\n\nexport type GrammarKey =\n | 'javascript'\n | 'jsx'\n | 'typescript'\n | 'tsx'\n | 'json'\n | 'markdown'\n | 'html'\n | 'css'\n | 'python'\n | 'yaml'\n | 'shell'\n | 'toml'\n | 'dockerfile';\n\n/** Keyed by lower-case extension without the dot. */\nconst GRAMMAR_BY_EXTENSION: Readonly<Record<string, GrammarKey>> = {\n cjs: 'javascript',\n js: 'javascript',\n mjs: 'javascript',\n jsx: 'jsx',\n cts: 'typescript',\n mts: 'typescript',\n ts: 'typescript',\n tsx: 'tsx',\n json: 'json',\n jsonc: 'json',\n markdown: 'markdown',\n md: 'markdown',\n htm: 'html',\n html: 'html',\n xhtml: 'html',\n css: 'css',\n py: 'python',\n pyi: 'python',\n yaml: 'yaml',\n yml: 'yaml',\n bash: 'shell',\n sh: 'shell',\n zsh: 'shell',\n toml: 'toml',\n};\n\n/** Files a project names rather than suffixes, matched on the whole lower-cased basename. */\nconst GRAMMAR_BY_FILENAME: Readonly<Record<string, GrammarKey>> = {\n '.bashrc': 'shell',\n '.zshrc': 'shell',\n containerfile: 'dockerfile',\n dockerfile: 'dockerfile',\n};\n\n/** The last segment of a path, lower-cased. */\nfunction basenameOf(filePath: string): string {\n return (filePath.split('/').at(-1) ?? '').toLowerCase();\n}\n\n/**\n * The grammar for a path, or undefined for a file the editor shows as plain\n * text. A name is tried whole before it is tried as a suffix, so\n * `Dockerfile.dev` is a Dockerfile and not a file with a `dev` extension.\n */\nexport function grammarKeyOf(filePath: string): GrammarKey | undefined {\n const name = basenameOf(filePath);\n const named = GRAMMAR_BY_FILENAME[name];\n if (named !== undefined) return named;\n const dot = name.lastIndexOf('.');\n if (dot < 1) return undefined;\n return GRAMMAR_BY_EXTENSION[name.slice(dot + 1)];\n}\n\n/** A legacy stream mode wrapped as a language; the modes predate Lezer and ship as tokenizers. */\nasync function streamMode(load: () => Promise<StreamParser<unknown>>): Promise<Extension> {\n const [{ StreamLanguage }, parser] = await Promise.all([import('@codemirror/language'), load()]);\n return StreamLanguage.define(parser);\n}\n\n/** Downloads one grammar. Each arm is its own chunk, so the cost is the languages actually opened. */\nexport async function loadGrammar(key: GrammarKey): Promise<Extension> {\n switch (key) {\n case 'javascript':\n return (await import('@codemirror/lang-javascript')).javascript();\n case 'jsx':\n return (await import('@codemirror/lang-javascript')).javascript({ jsx: true });\n case 'typescript':\n return (await import('@codemirror/lang-javascript')).javascript({ typescript: true });\n case 'tsx':\n return (await import('@codemirror/lang-javascript')).javascript({ jsx: true, typescript: true });\n case 'json':\n return (await import('@codemirror/lang-json')).json();\n case 'markdown':\n return (await import('@codemirror/lang-markdown')).markdown();\n case 'html':\n return (await import('@codemirror/lang-html')).html();\n case 'css':\n return (await import('@codemirror/lang-css')).css();\n case 'python':\n return (await import('@codemirror/lang-python')).python();\n case 'yaml':\n return (await import('@codemirror/lang-yaml')).yaml();\n case 'shell':\n return streamMode(async () => (await import('@codemirror/legacy-modes/mode/shell')).shell);\n case 'toml':\n return streamMode(async () => (await import('@codemirror/legacy-modes/mode/toml')).toml);\n case 'dockerfile':\n return streamMode(async () => (await import('@codemirror/legacy-modes/mode/dockerfile')).dockerFile);\n }\n}\n"],"mappings":"AA8BA,MAAMA,EAA6D,CACjE,IAAK,aACL,GAAI,aACJ,IAAK,aACL,IAAK,MACL,IAAK,aACL,IAAK,aACL,GAAI,aACJ,IAAK,MACL,KAAM,OACN,MAAO,OACP,SAAU,WACV,GAAI,WACJ,IAAK,OACL,KAAM,OACN,MAAO,OACP,IAAK,MACL,GAAI,SACJ,IAAK,SACL,KAAM,OACN,IAAK,OACL,KAAM,QACN,GAAI,QACJ,IAAK,QACL,KAAM,MACR,EAGMC,EAA4D,CAChE,UAAW,QACX,SAAU,QACV,cAAe,aACf,WAAY,YACd,EAGA,SAASC,EAAW,EAA0B,CAC5C,OAAQC,EAAS,MAAM,GAAG,CAAC,CAAC,GAAG,EAAE,GAAK,GAAA,CAAI,YAAY,CACxD,CAOA,SAAgBC,EAAa,EAA0C,CACrE,IAAMC,EAAOH,EAAWC,CAAQ,EAC1BG,EAAQL,EAAoBI,GAClC,GAAIC,IAAU,IAAA,GAAW,OAAOA,EAChC,IAAMC,EAAMF,EAAK,YAAY,GAAG,EAChC,GAAI,IAAM,GACV,OAAOL,EAAqBK,EAAK,MAAME,EAAM,CAAC,EAChD,CAGA,eAAeC,EAAW,EAAgE,CACxF,GAAM,CAAC,CAAE,kBAAkBC,GAAU,MAAM,QAAQ,IAAI,CAAC,OAAO,wBAAyBC,EAAK,CAAC,CAAC,EAC/F,OAAOC,EAAe,OAAOF,CAAM,CACrC,CAGA,eAAsBG,EAAY,EAAqC,CACrE,OAAQC,EAAR,CACE,IAAK,aACH,OAAQ,MAAM,OAAO,+BAAA,CAAgC,WAAW,EAClE,IAAK,MACH,OAAQ,MAAM,OAAO,+BAAA,CAAgC,WAAW,CAAE,IAAK,EAAK,CAAC,EAC/E,IAAK,aACH,OAAQ,MAAM,OAAO,+BAAA,CAAgC,WAAW,CAAE,WAAY,EAAK,CAAC,EACtF,IAAK,MACH,OAAQ,MAAM,OAAO,+BAAA,CAAgC,WAAW,CAAE,IAAK,GAAM,WAAY,EAAK,CAAC,EACjG,IAAK,OACH,OAAQ,MAAM,OAAO,yBAAA,CAA0B,KAAK,EACtD,IAAK,WACH,OAAQ,MAAM,OAAO,6BAAA,CAA8B,SAAS,EAC9D,IAAK,OACH,OAAQ,MAAM,OAAO,yBAAA,CAA0B,KAAK,EACtD,IAAK,MACH,OAAQ,MAAM,OAAO,wBAAA,CAAyB,IAAI,EACpD,IAAK,SACH,OAAQ,MAAM,OAAO,2BAAA,CAA4B,OAAO,EAC1D,IAAK,OACH,OAAQ,MAAM,OAAO,yBAAA,CAA0B,KAAK,EACtD,IAAK,QACH,OAAOL,EAAW,UAAa,MAAM,OAAO,uCAAA,CAAwC,KAAK,EAC3F,IAAK,OACH,OAAOA,EAAW,UAAa,MAAM,OAAO,sCAAA,CAAuC,IAAI,EACzF,IAAK,aACH,OAAOA,EAAW,UAAa,MAAM,OAAO,4CAAA,CAA6C,UAAU,CACvG,CACF"}
1
+ {"version":3,"file":"editorLanguage.mjs","names":["GRAMMAR_BY_EXTENSION","GRAMMAR_BY_FILENAME","basenameOf","filePath","grammarKeyOf","name","named","dot","streamMode","parser","load","StreamLanguage","loadGrammar","key"],"sources":["../../../../../../src/lib/editorLanguage.ts"],"sourcesContent":["import type { StreamParser } from '@codemirror/language';\nimport type { Extension } from '@codemirror/state';\n\n/**\n * Which grammar a file gets, and how it arrives.\n *\n * The two halves are apart on purpose. Naming the grammar is a pure lookup a\n * caller can run before deciding anything, and loading it is a dynamic import\n * so a session that only ever opens Markdown never downloads the JavaScript\n * parser. Nothing here imports CodeMirror at runtime: every specifier below is\n * either a type, which erases, or inside an `import()` the bundler splits into\n * its own chunk.\n */\n\nexport type GrammarKey =\n | 'javascript'\n | 'jsx'\n | 'typescript'\n | 'tsx'\n | 'json'\n | 'markdown'\n | 'html'\n | 'css'\n | 'python'\n | 'yaml'\n | 'shell'\n | 'toml'\n | 'dockerfile';\n\n/** Keyed by lower-case extension without the dot. */\nconst GRAMMAR_BY_EXTENSION: Readonly<Record<string, GrammarKey>> = {\n cjs: 'javascript',\n js: 'javascript',\n mjs: 'javascript',\n jsx: 'jsx',\n cts: 'typescript',\n mts: 'typescript',\n ts: 'typescript',\n tsx: 'tsx',\n json: 'json',\n jsonc: 'json',\n markdown: 'markdown',\n md: 'markdown',\n htm: 'html',\n html: 'html',\n xhtml: 'html',\n css: 'css',\n py: 'python',\n pyi: 'python',\n yaml: 'yaml',\n yml: 'yaml',\n bash: 'shell',\n sh: 'shell',\n zsh: 'shell',\n toml: 'toml',\n};\n\n/** Files a project names rather than suffixes, matched on the whole lower-cased basename. */\nconst GRAMMAR_BY_FILENAME: Readonly<Record<string, GrammarKey>> = {\n '.bashrc': 'shell',\n '.zshrc': 'shell',\n containerfile: 'dockerfile',\n dockerfile: 'dockerfile',\n};\n\n/** The last segment of a path, lower-cased. */\nfunction basenameOf(filePath: string): string {\n return (filePath.split('/').at(-1) ?? '').toLowerCase();\n}\n\n/**\n * The grammar for a path, or undefined for a file the editor shows as plain\n * text. A name is tried whole before it is tried as a suffix, so\n * `Dockerfile.dev` is a Dockerfile and not a file with a `dev` extension.\n */\nexport function grammarKeyOf(filePath: string): GrammarKey | undefined {\n const name = basenameOf(filePath);\n const named = GRAMMAR_BY_FILENAME[name];\n if (named !== undefined) return named;\n const dot = name.lastIndexOf('.');\n if (dot < 1) return undefined;\n return GRAMMAR_BY_EXTENSION[name.slice(dot + 1)];\n}\n\n/** A legacy stream mode wrapped as a language; the modes predate Lezer and ship as tokenizers. */\nasync function streamMode(load: () => Promise<StreamParser<unknown>>): Promise<Extension> {\n const [{ StreamLanguage }, parser] = await Promise.all([import('@codemirror/language'), load()]);\n return StreamLanguage.define(parser);\n}\n\n/** Downloads one grammar. Each arm is its own chunk, so the cost is the languages actually opened. */\nexport async function loadGrammar(key: GrammarKey): Promise<Extension> {\n switch (key) {\n case 'javascript':\n return (await import('@codemirror/lang-javascript')).javascript();\n case 'jsx':\n return (await import('@codemirror/lang-javascript')).javascript({ jsx: true });\n case 'typescript':\n return (await import('@codemirror/lang-javascript')).javascript({ typescript: true });\n case 'tsx':\n return (await import('@codemirror/lang-javascript')).javascript({ jsx: true, typescript: true });\n case 'json':\n return (await import('@codemirror/lang-json')).json();\n case 'markdown':\n return (await import('@codemirror/lang-markdown')).markdown();\n case 'html':\n return (await import('@codemirror/lang-html')).html();\n case 'css':\n return (await import('@codemirror/lang-css')).css();\n case 'python':\n return (await import('@codemirror/lang-python')).python();\n case 'yaml':\n return (await import('@codemirror/lang-yaml')).yaml();\n case 'shell':\n return streamMode(async () => (await import('@codemirror/legacy-modes/mode/shell')).shell);\n case 'toml':\n return streamMode(async () => (await import('@codemirror/legacy-modes/mode/toml')).toml);\n case 'dockerfile':\n return streamMode(async () => (await import('@codemirror/legacy-modes/mode/dockerfile')).dockerFile);\n }\n}\n"],"mappings":"AA8BA,MAAMA,EAA6D,CACjE,IAAK,aACL,GAAI,aACJ,IAAK,aACL,IAAK,MACL,IAAK,aACL,IAAK,aACL,GAAI,aACJ,IAAK,MACL,KAAM,OACN,MAAO,OACP,SAAU,WACV,GAAI,WACJ,IAAK,OACL,KAAM,OACN,MAAO,OACP,IAAK,MACL,GAAI,SACJ,IAAK,SACL,KAAM,OACN,IAAK,OACL,KAAM,QACN,GAAI,QACJ,IAAK,QACL,KAAM,MACR,EAGMC,EAA4D,CAChE,UAAW,QACX,SAAU,QACV,cAAe,aACf,WAAY,YACd,EAGA,SAASC,EAAW,EAA0B,CAC5C,OAAQC,EAAS,MAAM,GAAG,CAAC,CAAC,GAAG,EAAE,GAAK,GAAA,CAAI,YAAY,CACxD,CAOA,SAAgBC,EAAa,EAA0C,CACrE,IAAMC,EAAOH,EAAWC,CAAQ,EAC1BG,EAAQL,EAAoBI,GAClC,GAAIC,IAAU,IAAA,GAAW,OAAOA,EAChC,IAAMC,EAAMF,EAAK,YAAY,GAAG,EAChC,GAAI,IAAM,GACV,OAAOL,EAAqBK,EAAK,MAAME,EAAM,CAAC,EAChD,CAGA,eAAeC,EAAW,EAAgE,CACxF,GAAM,CAAC,CAAE,kBAAkBC,GAAU,MAAM,QAAQ,IAAI,CAAC,OAAO,wBAAyBC,EAAK,CAAC,CAAC,EAC/F,OAAOC,EAAe,OAAOF,CAAM,CACrC,CAGA,eAAsBG,EAAY,EAAqC,CACrE,OAAQC,EAAR,CACE,IAAK,aACH,OAAQ,MAAM,OAAO,+BAAA,CAAgC,WAAW,EAClE,IAAK,MACH,OAAQ,MAAM,OAAO,+BAAA,CAAgC,WAAW,CAAE,IAAK,EAAK,CAAC,EAC/E,IAAK,aACH,OAAQ,MAAM,OAAO,+BAAA,CAAgC,WAAW,CAAE,WAAY,EAAK,CAAC,EACtF,IAAK,MACH,OAAQ,MAAM,OAAO,+BAAA,CAAgC,WAAW,CAAE,IAAK,GAAM,WAAY,EAAK,CAAC,EACjG,IAAK,OACH,OAAQ,MAAM,OAAO,yBAAA,CAA0B,KAAK,EACtD,IAAK,WACH,OAAQ,MAAM,OAAO,6BAAA,CAA8B,SAAS,EAC9D,IAAK,OACH,OAAQ,MAAM,OAAO,yBAAA,CAA0B,KAAK,EACtD,IAAK,MACH,OAAQ,MAAM,OAAO,wBAAA,CAAyB,IAAI,EACpD,IAAK,SACH,OAAQ,MAAM,OAAO,2BAAA,CAA4B,OAAO,EAC1D,IAAK,OACH,OAAQ,MAAM,OAAO,yBAAA,CAA0B,KAAK,EACtD,IAAK,QACH,OAAOL,EAAW,UAAa,MAAM,OAAO,uCAAA,CAAwC,KAAK,EAC3F,IAAK,OACH,OAAOA,EAAW,UAAa,MAAM,OAAO,sCAAA,CAAuC,IAAI,EACzF,IAAK,aACH,OAAOA,EAAW,UAAa,MAAM,OAAO,4CAAA,CAA6C,UAAU,CACvG,CACF,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"editorTheme.mjs","names":["PO_EDITOR_STYLES","PO_SYNTAX_STYLES"],"sources":["../../../../../../src/lib/editorTheme.ts"],"sourcesContent":["/**\n * The editor's colours, as plain data.\n *\n * Every value is a CSS custom property rather than a resolved colour, which is\n * what lets a theme swap recolour a mounted editor by rewriting `:root`\n * instead of tearing the editor down and rebuilding it. It is also why this is\n * data and not a built CodeMirror extension: nothing here imports an editor,\n * so a caller pays for the styles only inside the chunk that draws them.\n */\n\n/** The chrome: the surface, the gutter, the cursor, the selection, and the search panel. */\nexport const PO_EDITOR_STYLES: Readonly<Record<string, Readonly<Record<string, string>>>> = {\n '&': {\n color: 'var(--po-text)',\n backgroundColor: 'var(--po-deep)',\n fontSize: '12px',\n height: '100%',\n },\n '.cm-scroller': {\n fontFamily: 'var(--po-font-mono)',\n lineHeight: '1.5',\n },\n '.cm-content': {\n caretColor: 'var(--po-blue)',\n padding: '8px 0',\n },\n '.cm-cursor, .cm-dropCursor': {\n borderLeftColor: 'var(--po-blue)',\n borderLeftWidth: '2px',\n },\n // CodeMirror draws its own selection layer when the editor has focus and\n // leans on the native one when it does not, so both need saying or a\n // selection vanishes the moment a reader clicks the comment box.\n '&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': {\n backgroundColor: 'var(--po-selected)',\n },\n '.cm-gutters': {\n backgroundColor: 'var(--po-deep)',\n color: 'var(--po-faint)',\n borderRight: '1px solid var(--po-border-soft)',\n },\n '.cm-activeLine': {\n backgroundColor: 'var(--po-panel)',\n },\n '.cm-activeLineGutter': {\n backgroundColor: 'var(--po-panel)',\n color: 'var(--po-dim)',\n },\n '.cm-foldPlaceholder': {\n backgroundColor: 'var(--po-panel)',\n border: '1px solid var(--po-border)',\n color: 'var(--po-dim)',\n },\n '.cm-searchMatch': {\n backgroundColor: 'var(--po-tint-yellow)',\n outline: '1px solid var(--po-edge-yellow)',\n },\n '.cm-searchMatch.cm-searchMatch-selected': {\n backgroundColor: 'var(--po-tint-orange)',\n },\n '.cm-selectionMatch': {\n backgroundColor: 'var(--po-tint-blue)',\n },\n '.cm-closed-tone': {\n backgroundColor: 'var(--po-tint-green)',\n textDecoration: 'line-through',\n textDecorationColor: 'var(--po-edge-green)',\n },\n '.cm-matchingBracket, &.cm-focused .cm-matchingBracket': {\n backgroundColor: 'var(--po-tint-green)',\n outline: '1px solid var(--po-edge-green)',\n },\n '.cm-nonmatchingBracket, &.cm-focused .cm-nonmatchingBracket': {\n backgroundColor: 'var(--po-tint-red)',\n },\n // Search and replace chrome reads as UI; only what is typed into it is literal.\n '.cm-panels': {\n backgroundColor: 'var(--po-panel)',\n color: 'var(--po-text)',\n fontFamily: 'var(--font-sans)',\n fontSize: '12px',\n },\n '.cm-panels.cm-panels-bottom': {\n borderTop: '1px solid var(--po-border)',\n },\n '.cm-panels.cm-panels-top': {\n borderBottom: '1px solid var(--po-border)',\n },\n '.cm-panel input, .cm-panel button, .cm-panel select': {\n backgroundColor: 'var(--po-deep)',\n color: 'var(--po-text)',\n border: '1px solid var(--po-border)',\n borderRadius: '2px',\n fontSize: '12px',\n },\n '.cm-panel input': {\n fontFamily: 'var(--po-font-mono)',\n },\n '.cm-tooltip': {\n backgroundColor: 'var(--po-panel)',\n border: '1px solid var(--po-border)',\n color: 'var(--po-text)',\n },\n};\n\n/**\n * The syntax colours, named by what they mark rather than by tag, so the\n * pairing with Lezer's tags stays next to the editor that imports them and\n * this table can be read as a palette.\n */\nexport const PO_SYNTAX_STYLES = {\n comment: { color: 'var(--po-faint)', fontStyle: 'italic' },\n keyword: { color: 'var(--po-magenta)' },\n constant: { color: 'var(--po-violet)' },\n literal: { color: 'var(--po-orange)' },\n string: { color: 'var(--po-green)' },\n regexp: { color: 'var(--po-teal)' },\n operator: { color: 'var(--po-blue)' },\n punctuation: { color: 'var(--po-dim)' },\n variable: { color: 'var(--po-text)' },\n property: { color: 'var(--po-cyan)' },\n callable: { color: 'var(--po-blue)' },\n type: { color: 'var(--po-yellow)' },\n tag: { color: 'var(--po-red)' },\n attribute: { color: 'var(--po-yellow)' },\n meta: { color: 'var(--po-faint)' },\n heading: { color: 'var(--po-hi)', fontWeight: 'bold' },\n link: { color: 'var(--po-cyan)', textDecoration: 'underline' },\n emphasis: { fontStyle: 'italic' },\n strong: { fontWeight: 'bold' },\n strikethrough: { textDecoration: 'line-through' },\n invalid: { color: 'var(--po-red)' },\n} as const;\n"],"mappings":"AAWA,MAAaA,EAA+E,CAC1F,IAAK,CACH,MAAO,iBACP,gBAAiB,iBACjB,SAAU,OACV,OAAQ,MACV,EACA,eAAgB,CACd,WAAY,sBACZ,WAAY,KACd,EACA,cAAe,CACb,WAAY,iBACZ,QAAS,OACX,EACA,6BAA8B,CAC5B,gBAAiB,iBACjB,gBAAiB,KACnB,EAIA,yFAA0F,CACxF,gBAAiB,oBACnB,EACA,cAAe,CACb,gBAAiB,iBACjB,MAAO,kBACP,YAAa,iCACf,EACA,iBAAkB,CAChB,gBAAiB,iBACnB,EACA,uBAAwB,CACtB,gBAAiB,kBACjB,MAAO,eACT,EACA,sBAAuB,CACrB,gBAAiB,kBACjB,OAAQ,6BACR,MAAO,eACT,EACA,kBAAmB,CACjB,gBAAiB,wBACjB,QAAS,iCACX,EACA,0CAA2C,CACzC,gBAAiB,uBACnB,EACA,qBAAsB,CACpB,gBAAiB,qBACnB,EACA,kBAAmB,CACjB,gBAAiB,uBACjB,eAAgB,eAChB,oBAAqB,sBACvB,EACA,wDAAyD,CACvD,gBAAiB,uBACjB,QAAS,gCACX,EACA,8DAA+D,CAC7D,gBAAiB,oBACnB,EAEA,aAAc,CACZ,gBAAiB,kBACjB,MAAO,iBACP,WAAY,mBACZ,SAAU,MACZ,EACA,8BAA+B,CAC7B,UAAW,4BACb,EACA,2BAA4B,CAC1B,aAAc,4BAChB,EACA,sDAAuD,CACrD,gBAAiB,iBACjB,MAAO,iBACP,OAAQ,6BACR,aAAc,MACd,SAAU,MACZ,EACA,kBAAmB,CACjB,WAAY,qBACd,EACA,cAAe,CACb,gBAAiB,kBACjB,OAAQ,6BACR,MAAO,gBACT,CACF,EAOaC,EAAmB,CAC9B,QAAS,CAAE,MAAO,kBAAmB,UAAW,QAAS,EACzD,QAAS,CAAE,MAAO,mBAAoB,EACtC,SAAU,CAAE,MAAO,kBAAmB,EACtC,QAAS,CAAE,MAAO,kBAAmB,EACrC,OAAQ,CAAE,MAAO,iBAAkB,EACnC,OAAQ,CAAE,MAAO,gBAAiB,EAClC,SAAU,CAAE,MAAO,gBAAiB,EACpC,YAAa,CAAE,MAAO,eAAgB,EACtC,SAAU,CAAE,MAAO,gBAAiB,EACpC,SAAU,CAAE,MAAO,gBAAiB,EACpC,SAAU,CAAE,MAAO,gBAAiB,EACpC,KAAM,CAAE,MAAO,kBAAmB,EAClC,IAAK,CAAE,MAAO,eAAgB,EAC9B,UAAW,CAAE,MAAO,kBAAmB,EACvC,KAAM,CAAE,MAAO,iBAAkB,EACjC,QAAS,CAAE,MAAO,eAAgB,WAAY,MAAO,EACrD,KAAM,CAAE,MAAO,iBAAkB,eAAgB,WAAY,EAC7D,SAAU,CAAE,UAAW,QAAS,EAChC,OAAQ,CAAE,WAAY,MAAO,EAC7B,cAAe,CAAE,eAAgB,cAAe,EAChD,QAAS,CAAE,MAAO,eAAgB,CACpC"}
1
+ {"version":3,"file":"editorTheme.mjs","names":["PO_EDITOR_STYLES","PO_SYNTAX_STYLES"],"sources":["../../../../../../src/lib/editorTheme.ts"],"sourcesContent":["/**\n * The editor's colours, as plain data.\n *\n * Every value is a CSS custom property rather than a resolved colour, which is\n * what lets a theme swap recolour a mounted editor by rewriting `:root`\n * instead of tearing the editor down and rebuilding it. It is also why this is\n * data and not a built CodeMirror extension: nothing here imports an editor,\n * so a caller pays for the styles only inside the chunk that draws them.\n */\n\n/** The chrome: the surface, the gutter, the cursor, the selection, and the search panel. */\nexport const PO_EDITOR_STYLES: Readonly<Record<string, Readonly<Record<string, string>>>> = {\n '&': {\n color: 'var(--po-text)',\n backgroundColor: 'var(--po-deep)',\n fontSize: '12px',\n height: '100%',\n },\n '.cm-scroller': {\n fontFamily: 'var(--po-font-mono)',\n lineHeight: '1.5',\n },\n '.cm-content': {\n caretColor: 'var(--po-blue)',\n padding: '8px 0',\n },\n '.cm-cursor, .cm-dropCursor': {\n borderLeftColor: 'var(--po-blue)',\n borderLeftWidth: '2px',\n },\n // CodeMirror draws its own selection layer when the editor has focus and\n // leans on the native one when it does not, so both need saying or a\n // selection vanishes the moment a reader clicks the comment box.\n '&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': {\n backgroundColor: 'var(--po-selected)',\n },\n '.cm-gutters': {\n backgroundColor: 'var(--po-deep)',\n color: 'var(--po-faint)',\n borderRight: '1px solid var(--po-border-soft)',\n },\n '.cm-activeLine': {\n backgroundColor: 'var(--po-panel)',\n },\n '.cm-activeLineGutter': {\n backgroundColor: 'var(--po-panel)',\n color: 'var(--po-dim)',\n },\n '.cm-foldPlaceholder': {\n backgroundColor: 'var(--po-panel)',\n border: '1px solid var(--po-border)',\n color: 'var(--po-dim)',\n },\n '.cm-searchMatch': {\n backgroundColor: 'var(--po-tint-yellow)',\n outline: '1px solid var(--po-edge-yellow)',\n },\n '.cm-searchMatch.cm-searchMatch-selected': {\n backgroundColor: 'var(--po-tint-orange)',\n },\n '.cm-selectionMatch': {\n backgroundColor: 'var(--po-tint-blue)',\n },\n '.cm-closed-tone': {\n backgroundColor: 'var(--po-tint-green)',\n textDecoration: 'line-through',\n textDecorationColor: 'var(--po-edge-green)',\n },\n '.cm-matchingBracket, &.cm-focused .cm-matchingBracket': {\n backgroundColor: 'var(--po-tint-green)',\n outline: '1px solid var(--po-edge-green)',\n },\n '.cm-nonmatchingBracket, &.cm-focused .cm-nonmatchingBracket': {\n backgroundColor: 'var(--po-tint-red)',\n },\n // Search and replace chrome reads as UI; only what is typed into it is literal.\n '.cm-panels': {\n backgroundColor: 'var(--po-panel)',\n color: 'var(--po-text)',\n fontFamily: 'var(--font-sans)',\n fontSize: '12px',\n },\n '.cm-panels.cm-panels-bottom': {\n borderTop: '1px solid var(--po-border)',\n },\n '.cm-panels.cm-panels-top': {\n borderBottom: '1px solid var(--po-border)',\n },\n '.cm-panel input, .cm-panel button, .cm-panel select': {\n backgroundColor: 'var(--po-deep)',\n color: 'var(--po-text)',\n border: '1px solid var(--po-border)',\n borderRadius: '2px',\n fontSize: '12px',\n },\n '.cm-panel input': {\n fontFamily: 'var(--po-font-mono)',\n },\n '.cm-tooltip': {\n backgroundColor: 'var(--po-panel)',\n border: '1px solid var(--po-border)',\n color: 'var(--po-text)',\n },\n};\n\n/**\n * The syntax colours, named by what they mark rather than by tag, so the\n * pairing with Lezer's tags stays next to the editor that imports them and\n * this table can be read as a palette.\n */\nexport const PO_SYNTAX_STYLES = {\n comment: { color: 'var(--po-faint)', fontStyle: 'italic' },\n keyword: { color: 'var(--po-magenta)' },\n constant: { color: 'var(--po-violet)' },\n literal: { color: 'var(--po-orange)' },\n string: { color: 'var(--po-green)' },\n regexp: { color: 'var(--po-teal)' },\n operator: { color: 'var(--po-blue)' },\n punctuation: { color: 'var(--po-dim)' },\n variable: { color: 'var(--po-text)' },\n property: { color: 'var(--po-cyan)' },\n callable: { color: 'var(--po-blue)' },\n type: { color: 'var(--po-yellow)' },\n tag: { color: 'var(--po-red)' },\n attribute: { color: 'var(--po-yellow)' },\n meta: { color: 'var(--po-faint)' },\n heading: { color: 'var(--po-hi)', fontWeight: 'bold' },\n link: { color: 'var(--po-cyan)', textDecoration: 'underline' },\n emphasis: { fontStyle: 'italic' },\n strong: { fontWeight: 'bold' },\n strikethrough: { textDecoration: 'line-through' },\n invalid: { color: 'var(--po-red)' },\n} as const;\n"],"mappings":"AAWA,MAAaA,EAA+E,CAC1F,IAAK,CACH,MAAO,iBACP,gBAAiB,iBACjB,SAAU,OACV,OAAQ,MACV,EACA,eAAgB,CACd,WAAY,sBACZ,WAAY,KACd,EACA,cAAe,CACb,WAAY,iBACZ,QAAS,OACX,EACA,6BAA8B,CAC5B,gBAAiB,iBACjB,gBAAiB,KACnB,EAIA,yFAA0F,CACxF,gBAAiB,oBACnB,EACA,cAAe,CACb,gBAAiB,iBACjB,MAAO,kBACP,YAAa,iCACf,EACA,iBAAkB,CAChB,gBAAiB,iBACnB,EACA,uBAAwB,CACtB,gBAAiB,kBACjB,MAAO,eACT,EACA,sBAAuB,CACrB,gBAAiB,kBACjB,OAAQ,6BACR,MAAO,eACT,EACA,kBAAmB,CACjB,gBAAiB,wBACjB,QAAS,iCACX,EACA,0CAA2C,CACzC,gBAAiB,uBACnB,EACA,qBAAsB,CACpB,gBAAiB,qBACnB,EACA,kBAAmB,CACjB,gBAAiB,uBACjB,eAAgB,eAChB,oBAAqB,sBACvB,EACA,wDAAyD,CACvD,gBAAiB,uBACjB,QAAS,gCACX,EACA,8DAA+D,CAC7D,gBAAiB,oBACnB,EAEA,aAAc,CACZ,gBAAiB,kBACjB,MAAO,iBACP,WAAY,mBACZ,SAAU,MACZ,EACA,8BAA+B,CAC7B,UAAW,4BACb,EACA,2BAA4B,CAC1B,aAAc,4BAChB,EACA,sDAAuD,CACrD,gBAAiB,iBACjB,MAAO,iBACP,OAAQ,6BACR,aAAc,MACd,SAAU,MACZ,EACA,kBAAmB,CACjB,WAAY,qBACd,EACA,cAAe,CACb,gBAAiB,kBACjB,OAAQ,6BACR,MAAO,gBACT,CACF,EAOaC,EAAmB,CAC9B,QAAS,CAAE,MAAO,kBAAmB,UAAW,QAAS,EACzD,QAAS,CAAE,MAAO,mBAAoB,EACtC,SAAU,CAAE,MAAO,kBAAmB,EACtC,QAAS,CAAE,MAAO,kBAAmB,EACrC,OAAQ,CAAE,MAAO,iBAAkB,EACnC,OAAQ,CAAE,MAAO,gBAAiB,EAClC,SAAU,CAAE,MAAO,gBAAiB,EACpC,YAAa,CAAE,MAAO,eAAgB,EACtC,SAAU,CAAE,MAAO,gBAAiB,EACpC,SAAU,CAAE,MAAO,gBAAiB,EACpC,SAAU,CAAE,MAAO,gBAAiB,EACpC,KAAM,CAAE,MAAO,kBAAmB,EAClC,IAAK,CAAE,MAAO,eAAgB,EAC9B,UAAW,CAAE,MAAO,kBAAmB,EACvC,KAAM,CAAE,MAAO,iBAAkB,EACjC,QAAS,CAAE,MAAO,eAAgB,WAAY,MAAO,EACrD,KAAM,CAAE,MAAO,iBAAkB,eAAgB,WAAY,EAC7D,SAAU,CAAE,UAAW,QAAS,EAChC,OAAQ,CAAE,WAAY,MAAO,EAC7B,cAAe,CAAE,eAAgB,cAAe,EAChD,QAAS,CAAE,MAAO,eAAgB,CACpC,E"}
@@ -1 +1 @@
1
- {"version":3,"file":"fenceGrammar.mjs","names":["MERMAID_LANGUAGE","GRAMMAR_BY_WORD","fenceLanguageOf","className","fenceGrammarOf","language","word","grammarKeyOf"],"sources":["../../../../../../src/lib/fenceGrammar.ts"],"sourcesContent":["import { type GrammarKey, grammarKeyOf } from './editorLanguage';\n\n/**\n * What a fenced code block's info string means.\n *\n * A fence names its language the way a person writes it in a message, so\n * `ts`, `typescript` and `tsx` all arrive and all mean something. The file\n * lookup in `editorLanguage.ts` already answers for every spelling that is\n * also an extension, so this module only carries the words that are not one\n * and leaves the rest to it. A name with no grammar is not an error: the block\n * renders as plain text, which is what it would have done anyway.\n */\n\n/** The one fence that is a picture rather than code. */\nexport const MERMAID_LANGUAGE = 'mermaid';\n\n/** Spellings a fence uses that no filename would. */\nconst GRAMMAR_BY_WORD: Readonly<Record<string, GrammarKey>> = {\n javascript: 'javascript',\n typescript: 'typescript',\n python: 'python',\n shell: 'shell',\n console: 'shell',\n docker: 'dockerfile',\n};\n\n/**\n * The language a fence declares, lower-cased, or undefined for a bare fence.\n *\n * react-markdown hands the info string down as a `language-*` class, and a\n * fence may carry metadata after the language (```` ```ts title=x ````), which\n * is not part of the name.\n */\nexport function fenceLanguageOf(className: string | undefined): string | undefined {\n const match = /(?:^|\\s)language-(\\S+)/.exec(className ?? '');\n return match?.[1]?.toLowerCase();\n}\n\n/** The grammar to colour a fence with, or undefined to leave it plain. */\nexport function fenceGrammarOf(language: string | undefined): GrammarKey | undefined {\n if (language === undefined || language.length === 0) return undefined;\n const word = GRAMMAR_BY_WORD[language];\n if (word !== undefined) return word;\n // A fence that names an extension is the same lookup a file gets, and one\n // that names a whole file, like `dockerfile`, is tried as that name first.\n return grammarKeyOf(language) ?? grammarKeyOf(`fence.${language}`);\n}\n"],"mappings":"oDAcA,MAAaA,EAAmB,UAG1BC,EAAwD,CAC5D,WAAY,aACZ,WAAY,aACZ,OAAQ,SACR,MAAO,QACP,QAAS,QACT,OAAQ,YACV,EASA,SAAgBC,EAAgB,EAAmD,CAEjF,MADc,yBAAyB,KAAKC,GAAa,EAC9C,CAAC,GAAG,EAAE,EAAE,YAAY,CACjC,CAGA,SAAgBC,EAAe,EAAsD,CACnF,GAAIC,IAAa,IAAA,IAAaA,EAAS,SAAW,EAAG,OACrD,IAAMC,EAAOL,EAAgBI,GAI7B,OAHIC,IAAS,IAAA,GAGNC,EAAaF,CAAQ,GAAKE,EAAa,SAASF,GAAU,EAHlCC,CAIjC"}
1
+ {"version":3,"file":"fenceGrammar.mjs","names":["MERMAID_LANGUAGE","GRAMMAR_BY_WORD","fenceLanguageOf","className","fenceGrammarOf","language","word","grammarKeyOf"],"sources":["../../../../../../src/lib/fenceGrammar.ts"],"sourcesContent":["import { type GrammarKey, grammarKeyOf } from './editorLanguage';\n\n/**\n * What a fenced code block's info string means.\n *\n * A fence names its language the way a person writes it in a message, so\n * `ts`, `typescript` and `tsx` all arrive and all mean something. The file\n * lookup in `editorLanguage.ts` already answers for every spelling that is\n * also an extension, so this module only carries the words that are not one\n * and leaves the rest to it. A name with no grammar is not an error: the block\n * renders as plain text, which is what it would have done anyway.\n */\n\n/** The one fence that is a picture rather than code. */\nexport const MERMAID_LANGUAGE = 'mermaid';\n\n/** Spellings a fence uses that no filename would. */\nconst GRAMMAR_BY_WORD: Readonly<Record<string, GrammarKey>> = {\n javascript: 'javascript',\n typescript: 'typescript',\n python: 'python',\n shell: 'shell',\n console: 'shell',\n docker: 'dockerfile',\n};\n\n/**\n * The language a fence declares, lower-cased, or undefined for a bare fence.\n *\n * react-markdown hands the info string down as a `language-*` class, and a\n * fence may carry metadata after the language (```` ```ts title=x ````), which\n * is not part of the name.\n */\nexport function fenceLanguageOf(className: string | undefined): string | undefined {\n const match = /(?:^|\\s)language-(\\S+)/.exec(className ?? '');\n return match?.[1]?.toLowerCase();\n}\n\n/** The grammar to colour a fence with, or undefined to leave it plain. */\nexport function fenceGrammarOf(language: string | undefined): GrammarKey | undefined {\n if (language === undefined || language.length === 0) return undefined;\n const word = GRAMMAR_BY_WORD[language];\n if (word !== undefined) return word;\n // A fence that names an extension is the same lookup a file gets, and one\n // that names a whole file, like `dockerfile`, is tried as that name first.\n return grammarKeyOf(language) ?? grammarKeyOf(`fence.${language}`);\n}\n"],"mappings":"A,oDAcA,MAAaA,EAAmB,UAG1BC,EAAwD,CAC5D,WAAY,aACZ,WAAY,aACZ,OAAQ,SACR,MAAO,QACP,QAAS,QACT,OAAQ,YACV,EASA,SAAgBC,EAAgB,EAAmD,CAEjF,MADc,yBAAyB,KAAKC,GAAa,EAC9C,CAAC,GAAG,EAAE,EAAE,YAAY,CACjC,CAGA,SAAgBC,EAAe,EAAsD,CACnF,GAAIC,IAAa,IAAA,IAAaA,EAAS,SAAW,EAAG,OACrD,IAAMC,EAAOL,EAAgBI,GAI7B,OAHIC,IAAS,IAAA,GAGNC,EAAaF,CAAQ,GAAKE,EAAa,SAASF,GAAU,EAHlCC,CAIjC,C"}
@@ -1,3 +1,3 @@
1
1
  function e(e,t){let n=[],r=t,i=[],a=[],o=()=>{i.length>0&&n.push({path:r,indices:i,text:a.join(`
2
- `)}),i=[],a=[]};for(let[t,n]of e.entries())n.type===`tagged`?(i.push(t),a.push(n.value.content)):(o(),n.type===`file`&&(r=n.path));return o(),n}function t(e){return e.map(e=>`${e.path??``}\u0000${e.text}`).join(``)}export{e as hashlineGroups,t as hashlineGroupsKey};
2
+ `)}),i=[],a=[]};for(let[t,n]of e.entries())n.type===`tagged`?(i.push(t),a.push(n.value.content)):(o(),n.type===`file`&&(r=n.path));return o(),n}function t(e){return JSON.stringify(e.map(({path:e,indices:t,text:n})=>[e,t,n]))}export{e as hashlineGroups,t as hashlineGroupsKey};
3
3
  //# sourceMappingURL=hashlineHighlight.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"hashlineHighlight.mjs","names":["hashlineGroups","groups","path","fallbackPath","indices","texts","flush","index","line","lines","hashlineGroupsKey","group"],"sources":["../../../../../../src/lib/hashlineHighlight.ts"],"sourcesContent":["import type { PresentedLine } from './hashlineView';\n\n/**\n * Grouping for highlighted hashline bodies.\n *\n * A read result is one file and a grep result is many, so the lines a card\n * shows have to be cut into runs that belong to the same file before any of\n * them can be parsed. A run is parsed whole because a string or a comment\n * spans lines, and grep's gaps between context blocks are accepted: an excerpt\n * is not the file, and colouring it as if it were is close enough to be worth\n * far more than colouring nothing.\n */\n\nexport interface HashlineGroup {\n /** The file the run came from, when the body named one. */\n readonly path: string | undefined;\n /** Indices into the presented lines, in order, that this run covers. */\n readonly indices: readonly number[];\n /** The run's content, newline-joined, ready to parse. */\n readonly text: string;\n}\n\n/**\n * Consecutive anchored lines, cut at every file heading and at anything that\n * is not code. `fallbackPath` names the file for a body that never states one,\n * which is how a read result arrives.\n */\nexport function hashlineGroups(\n lines: readonly PresentedLine[],\n fallbackPath: string | undefined,\n): readonly HashlineGroup[] {\n const groups: HashlineGroup[] = [];\n let path = fallbackPath;\n let indices: number[] = [];\n let texts: string[] = [];\n\n const flush = (): void => {\n if (indices.length > 0) groups.push({ path, indices, text: texts.join('\\n') });\n indices = [];\n texts = [];\n };\n\n for (const [index, line] of lines.entries()) {\n if (line.type === 'tagged') {\n indices.push(index);\n texts.push(line.value.content);\n continue;\n }\n flush();\n // A heading opens the next file; a plain line is prose between runs.\n if (line.type === 'file') path = line.path;\n }\n flush();\n return groups;\n}\n\n/** One string that changes whenever the groups would highlight differently. */\nexport function hashlineGroupsKey(groups: readonly HashlineGroup[]): string {\n return groups.map((group) => `${group.path ?? ''}\\u0000${group.text}`).join('\\u0001');\n}\n"],"mappings":"AA2BA,SAAgBA,EACd,EACA,EAC0B,CAC1B,IAAMC,EAA0B,CAAC,EAC7BC,EAAOC,EACPC,EAAoB,CAAC,EACrBC,EAAkB,CAAC,EAEjBC,MAAoB,CACpBF,EAAQ,OAAS,GAAGH,EAAO,KAAK,CAAE,OAAM,UAAS,KAAMI,EAAM,KAAK;CAAI,CAAE,CAAC,EAC7E,EAAU,CAAC,EACX,EAAQ,CAAC,CACX,EAEA,IAAK,GAAM,CAACE,EAAOC,KAASC,EAAM,QAAQ,EACpCD,EAAK,OAAS,UAChBJ,EAAQ,KAAKG,CAAK,EAClBF,EAAM,KAAKG,EAAK,MAAM,OAAO,IAG/BF,EAAM,EAEFE,EAAK,OAAS,SAAQ,EAAOA,EAAK,OAGxC,OADAF,EAAM,EACCL,CACT,CAGA,SAAgBS,EAAkB,EAA0C,CAC1E,OAAOT,EAAO,IAAK,GAAU,GAAGU,EAAM,MAAQ,GAAG,QAAQA,EAAM,MAAM,CAAC,CAAC,KAAK,GAAQ,CACtF"}
1
+ {"version":3,"file":"hashlineHighlight.mjs","names":["hashlineGroups","groups","path","fallbackPath","indices","texts","flush","index","line","lines","hashlineGroupsKey","text"],"sources":["../../../../../../src/lib/hashlineHighlight.ts"],"sourcesContent":["import type { PresentedLine } from './hashlineView';\n\n/**\n * Grouping for highlighted hashline bodies.\n *\n * A read result is one file and a grep result is many, so the lines a card\n * shows have to be cut into runs that belong to the same file before any of\n * them can be parsed. A run is parsed whole because a string or a comment\n * spans lines, and grep's gaps between context blocks are accepted: an excerpt\n * is not the file, and colouring it as if it were is close enough to be worth\n * far more than colouring nothing.\n */\n\nexport interface HashlineGroup {\n /** The file the run came from, when the body named one. */\n readonly path: string | undefined;\n /** Indices into the presented lines, in order, that this run covers. */\n readonly indices: readonly number[];\n /** The run's content, newline-joined, ready to parse. */\n readonly text: string;\n}\n\n/**\n * Consecutive anchored lines, cut at every file heading and at anything that\n * is not code. `fallbackPath` names the file for a body that never states one,\n * which is how a read result arrives.\n */\nexport function hashlineGroups(\n lines: readonly PresentedLine[],\n fallbackPath: string | undefined,\n): readonly HashlineGroup[] {\n const groups: HashlineGroup[] = [];\n let path = fallbackPath;\n let indices: number[] = [];\n let texts: string[] = [];\n\n const flush = (): void => {\n if (indices.length > 0) groups.push({ path, indices, text: texts.join('\\n') });\n indices = [];\n texts = [];\n };\n\n for (const [index, line] of lines.entries()) {\n if (line.type === 'tagged') {\n indices.push(index);\n texts.push(line.value.content);\n continue;\n }\n flush();\n // A heading opens the next file; a plain line is prose between runs.\n if (line.type === 'file') path = line.path;\n }\n flush();\n return groups;\n}\n\n/** One string that changes whenever the groups would highlight differently. */\nexport function hashlineGroupsKey(groups: readonly HashlineGroup[]): string {\n // Indices matter too: prose or headings can move an unchanged run. JSON\n // encoding avoids collisions with delimiters that occur in source text.\n return JSON.stringify(groups.map(({ path, indices, text }) => [path, indices, text]));\n}\n"],"mappings":"AA2BA,SAAgBA,EACd,EACA,EAC0B,CAC1B,IAAMC,EAA0B,CAAC,EAC7BC,EAAOC,EACPC,EAAoB,CAAC,EACrBC,EAAkB,CAAC,EAEjBC,MAAoB,CACpBF,EAAQ,OAAS,GAAGH,EAAO,KAAK,CAAE,OAAM,UAAS,KAAMI,EAAM,KAAK;CAAI,CAAE,CAAC,EAC7E,EAAU,CAAC,EACX,EAAQ,CAAC,CACX,EAEA,IAAK,GAAM,CAACE,EAAOC,KAASC,EAAM,QAAQ,EACpCD,EAAK,OAAS,UAChBJ,EAAQ,KAAKG,CAAK,EAClBF,EAAM,KAAKG,EAAK,MAAM,OAAO,IAG/BF,EAAM,EAEFE,EAAK,OAAS,SAAQ,EAAOA,EAAK,OAGxC,OADAF,EAAM,EACCL,CACT,CAGA,SAAgBS,EAAkB,EAA0C,CAG1E,OAAO,KAAK,UAAUT,EAAO,KAAK,CAAE,OAAM,UAAS,UAAW,CAACC,EAAME,EAASO,CAAI,CAAC,CAAC,CACtF,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"hashlineView.mjs","names":["FILE_HEADER_PATTERN","TAGGED_LINE_PATTERN","READ_COLLAPSED_LINES","GREP_COLLAPSED_LINES","isTextBlock","block","resultTextLines","blocks","result","text","output","lines","takeTrailingNotice","last","parseTaggedLine","match","value","lineText","content","line","prefix","parseFileHeader","presentHashlineLines","presented","path","kind","tagged","hashlineBody","notice","collapseLines","expanded","shown","widest","compactDetails","values"],"sources":["../../../../../../src/lib/hashlineView.ts"],"sourcesContent":["import { collapseLines } from './collapse';\n\n/**\n * The hashline wire format, parsed the way the TUI's hashlineRendering does:\n * `@file path#tag` opens a file, `N#abc|content` is an anchored line, and a\n * `>> ` or three-space prefix marks grep matches and their context.\n *\n * It lives here rather than in each tool package because the read and grep\n * cards render the same bytes and had drifted into byte-identical copies of\n * this module. The patterns are still a transcription of po-hashline: a\n * cockpit plugin may import this library and the web contract, but not a\n * runtime package, so the format is stated twice on purpose and only once per\n * side of that line.\n */\nconst FILE_HEADER_PATTERN = /^@file (.+)#([A-Za-z0-9_-]{8})$/u;\nconst TAGGED_LINE_PATTERN = /^(>> | {3})?(\\d+)#[a-z]{3}\\|(.*)$/u;\nconst MATCH_PREFIX = '>> ';\nconst CONTEXT_PREFIX = ' ';\nconst IMAGE_PLACEHOLDER = '[Image attached]';\n\nexport const READ_COLLAPSED_LINES = 10;\nexport const GREP_COLLAPSED_LINES = 15;\n\nexport type HashlineResultKind = 'read' | 'grep';\nexport type TaggedLineMarker = 'match' | 'context';\n\n/**\n * The part of a tool result this parser reads.\n *\n * Named structurally rather than imported: the component library sits below\n * the web contract and must not depend on it, so it states the shape it needs\n * and any `ToolResultView` satisfies it.\n */\nexport interface HashlineResult {\n readonly content: readonly unknown[];\n}\n\nexport interface TaggedLine {\n readonly line: number;\n readonly content: string;\n readonly marker: TaggedLineMarker | undefined;\n}\n\nexport type PresentedLine =\n | { readonly type: 'file'; readonly path: string }\n | { readonly type: 'tagged'; readonly value: TaggedLine }\n | { readonly type: 'plain'; readonly text: string };\n\nexport interface HashlineBody {\n readonly shown: readonly PresentedLine[];\n /** Lines the collapsed view holds back; zero once expanded. */\n readonly hidden: number;\n /** The bracketed pagination or compaction note the tool appends after its lines. */\n readonly notice: string | undefined;\n /** Widest line number among the shown anchored lines, in characters. */\n readonly gutter: number;\n}\n\ninterface TextBlock {\n readonly type: string;\n readonly text?: string;\n}\n\nfunction isTextBlock(block: unknown): block is TextBlock {\n return typeof block === 'object' && block !== null && typeof (block as TextBlock).type === 'string';\n}\n\n/**\n * The result's text as lines: tabs widened, CRLF folded, trailing blanks\n * dropped. A result with no text but an image block reads as the TUI's\n * placeholder. The joined `output` stands in when no result view exists.\n */\nexport function resultTextLines(result: HashlineResult | null, output: string): string[] {\n const blocks = result?.content.filter(isTextBlock) ?? [];\n const text =\n result === null ? output : blocks.flatMap((block) => (block.type === 'text' ? [block.text ?? ''] : [])).join('\\n');\n if (text.length === 0) {\n return blocks.some((block) => block.type === 'image') ? [IMAGE_PLACEHOLDER] : [];\n }\n const lines = text.replaceAll('\\t', ' ').replaceAll('\\r\\n', '\\n').split('\\n');\n while (lines.at(-1) === '') lines.pop();\n return lines;\n}\n\n/** Detaches the tool's trailing `[...]` note so the body numbers file content only. */\nexport function takeTrailingNotice(lines: string[]): string | undefined {\n const last = lines.at(-1);\n if (last === undefined || !last.startsWith('[') || !last.endsWith(']')) return undefined;\n lines.pop();\n while (lines.at(-1) === '') lines.pop();\n return last;\n}\n\nexport function parseTaggedLine(value: string): TaggedLine | undefined {\n const match = TAGGED_LINE_PATTERN.exec(value);\n const lineText = match?.[2];\n const content = match?.[3];\n if (lineText === undefined || content === undefined) return undefined;\n const line = Number.parseInt(lineText, 10);\n if (!Number.isSafeInteger(line) || line < 1) return undefined;\n const prefix = match?.[1];\n const marker = prefix === MATCH_PREFIX ? 'match' : prefix === CONTEXT_PREFIX ? 'context' : undefined;\n return { line, content, marker };\n}\n\nexport function parseFileHeader(value: string): string | undefined {\n return FILE_HEADER_PATTERN.exec(value)?.[1];\n}\n\n/**\n * Lines as the card presents them. A read shows one file, so its header is\n * dropped; a grep groups anchored matches under each file's path.\n */\nexport function presentHashlineLines(lines: readonly string[], kind: HashlineResultKind): PresentedLine[] {\n const presented: PresentedLine[] = [];\n for (const line of lines) {\n const path = parseFileHeader(line);\n if (path !== undefined) {\n if (kind !== 'read') presented.push({ type: 'file', path });\n continue;\n }\n const tagged = parseTaggedLine(line);\n if (tagged !== undefined) {\n presented.push({ type: 'tagged', value: tagged });\n continue;\n }\n presented.push({ type: 'plain', text: line });\n }\n return presented;\n}\n\n/** The body a card shows for one result, collapsed to the kind's line budget unless expanded. */\nexport function hashlineBody(\n result: HashlineResult | null,\n output: string,\n kind: HashlineResultKind,\n expanded: boolean,\n): HashlineBody {\n const lines = resultTextLines(result, output);\n const notice = takeTrailingNotice(lines);\n const presented = presentHashlineLines(lines, kind);\n const budget = kind === 'read' ? READ_COLLAPSED_LINES : GREP_COLLAPSED_LINES;\n const { shown, hidden } = collapseLines(presented, budget, expanded);\n const gutter = shown.reduce(\n (widest, line) => (line.type === 'tagged' ? Math.max(widest, String(line.value.line).length) : widest),\n 1,\n );\n return { shown, hidden, notice, gutter };\n}\n\n/** The `key · key` detail list beside a call's primary argument, with absent values dropped. */\nexport function compactDetails(values: ReadonlyArray<string | undefined>): string[] {\n return values.filter((value): value is string => value !== undefined && value.length > 0);\n}\n"],"mappings":"+CAcA,MAAMA,EAAsB,mCACtBC,EAAsB,qCAKfC,EAAuB,GACvBC,EAAuB,GA0CpC,SAASC,EAAY,EAAoC,CACvD,OAAO,OAAOC,GAAU,YAAYA,GAAkB,OAAQA,EAAoB,MAAS,QAC7F,CAOA,SAAgBC,EAAgB,EAA+B,EAA0B,CACvF,IAAMC,EAASC,GAAQ,QAAQ,OAAOJ,CAAW,GAAK,CAAC,EACjDK,EACJD,IAAW,KAAOE,EAASH,EAAO,QAAS,GAAWF,EAAM,OAAS,OAAS,CAACA,EAAM,MAAQ,EAAE,EAAI,CAAC,CAAE,CAAC,CAAC,KAAK;CAAI,EACnH,GAAII,EAAK,SAAW,EAClB,OAAOF,EAAO,KAAM,GAAUF,EAAM,OAAS,OAAO,EAAI,CAAC,kBAAiB,EAAI,CAAC,EAEjF,IAAMM,EAAQF,EAAK,WAAW,IAAM,IAAI,CAAC,CAAC,WAAW;EAAQ;CAAI,CAAC,CAAC,MAAM;CAAI,EAC7E,KAAOE,EAAM,GAAG,EAAE,IAAM,IAAIA,EAAM,IAAI,EACtC,OAAOA,CACT,CAGA,SAAgBC,EAAmB,EAAqC,CACtE,IAAMC,EAAOF,EAAM,GAAG,EAAE,EACxB,GAAIE,IAAS,IAAA,IAAcA,EAAK,WAAW,GAAG,GAAMA,EAAK,SAAS,GAAG,EACrE,CACA,IADAF,EAAM,IAAI,EACHA,EAAM,GAAG,EAAE,IAAM,IAAIA,EAAM,IAAI,EACtC,OAAOE,CAFG,CAGZ,CAEA,SAAgBC,EAAgB,EAAuC,CACrE,IAAMC,EAAQd,EAAoB,KAAKe,CAAK,EACtCC,EAAWF,IAAQ,GACnBG,EAAUH,IAAQ,GACxB,GAAIE,IAAa,IAAA,IAAaC,IAAY,IAAA,GAAW,OACrD,IAAMC,EAAO,OAAO,SAASF,EAAU,EAAE,EACzC,GAAI,CAAC,OAAO,cAAcE,CAAI,GAAKA,EAAO,EAAG,OAC7C,IAAMC,EAASL,IAAQ,GAEvB,MAAO,CAAE,OAAM,UAAS,OADTK,IAAW,MAAe,QAAUA,IAAW,MAAiB,UAAY,IAAA,EAC5D,CACjC,CAEA,SAAgBC,EAAgB,EAAmC,CACjE,OAAOrB,EAAoB,KAAKgB,CAAK,CAAC,GAAG,EAC3C,CAMA,SAAgBM,EAAqB,EAA0B,EAA2C,CACxG,IAAMC,EAA6B,CAAC,EACpC,IAAK,IAAMJ,KAAQR,EAAO,CACxB,IAAMa,EAAOH,EAAgBF,CAAI,EACjC,GAAIK,IAAS,IAAA,GAAW,CAClBC,IAAS,QAAQF,EAAU,KAAK,CAAE,KAAM,OAAQ,MAAK,CAAC,EAC1D,QACF,CACA,IAAMG,EAASZ,EAAgBK,CAAI,EAC/BO,IAAW,IAAA,GAIfH,EAAU,KAAK,CAAE,KAAM,QAAS,KAAMJ,CAAK,CAAC,EAH1CI,EAAU,KAAK,CAAE,KAAM,SAAU,MAAOG,CAAO,CAAC,CAIpD,CACA,OAAOH,CACT,CAGA,SAAgBI,EACd,EACA,EACA,EACA,EACc,CACd,IAAMhB,EAAQL,EAAgBE,EAAQE,CAAM,EACtCkB,EAAShB,EAAmBD,CAAK,EACjCY,EAAYD,EAAqBX,EAAOc,CAAI,EAE5C,CAAE,QAAO,UAAWI,EAAcN,EADzBE,IAAS,OAAA,GAAA,GACmCK,CAAQ,EAKnE,MAAO,CAAE,QAAO,SAAQ,SAAQ,OAJjBC,EAAM,QAClB,EAAQ,IAAUZ,EAAK,OAAS,SAAW,KAAK,IAAIa,EAAQ,OAAOb,EAAK,MAAM,IAAI,CAAC,CAAC,MAAM,EAAIa,EAC/F,CAEmC,CAAE,CACzC,CAGA,SAAgBC,EAAe,EAAqD,CAClF,OAAOC,EAAO,OAAQ,GAA2BlB,IAAU,IAAA,IAAaA,EAAM,OAAS,CAAC,CAC1F"}
1
+ {"version":3,"file":"hashlineView.mjs","names":["FILE_HEADER_PATTERN","TAGGED_LINE_PATTERN","READ_COLLAPSED_LINES","GREP_COLLAPSED_LINES","isTextBlock","block","resultTextLines","blocks","result","text","output","lines","takeTrailingNotice","last","parseTaggedLine","match","value","lineText","content","line","prefix","parseFileHeader","presentHashlineLines","presented","path","kind","tagged","hashlineBody","notice","collapseLines","expanded","shown","widest","compactDetails","values"],"sources":["../../../../../../src/lib/hashlineView.ts"],"sourcesContent":["import { collapseLines } from './collapse';\n\n/**\n * The hashline wire format, parsed the way the TUI's hashlineRendering does:\n * `@file path#tag` opens a file, `N#abc|content` is an anchored line, and a\n * `>> ` or three-space prefix marks grep matches and their context.\n *\n * It lives here rather than in each tool package because the read and grep\n * cards render the same bytes and had drifted into byte-identical copies of\n * this module. The patterns are still a transcription of po-hashline: a\n * cockpit plugin may import this library and the web contract, but not a\n * runtime package, so the format is stated twice on purpose and only once per\n * side of that line.\n */\nconst FILE_HEADER_PATTERN = /^@file (.+)#([A-Za-z0-9_-]{8})$/u;\nconst TAGGED_LINE_PATTERN = /^(>> | {3})?(\\d+)#[a-z]{3}\\|(.*)$/u;\nconst MATCH_PREFIX = '>> ';\nconst CONTEXT_PREFIX = ' ';\nconst IMAGE_PLACEHOLDER = '[Image attached]';\n\nexport const READ_COLLAPSED_LINES = 10;\nexport const GREP_COLLAPSED_LINES = 15;\n\nexport type HashlineResultKind = 'read' | 'grep';\nexport type TaggedLineMarker = 'match' | 'context';\n\n/**\n * The part of a tool result this parser reads.\n *\n * Named structurally rather than imported: the component library sits below\n * the web contract and must not depend on it, so it states the shape it needs\n * and any `ToolResultView` satisfies it.\n */\nexport interface HashlineResult {\n readonly content: readonly unknown[];\n}\n\nexport interface TaggedLine {\n readonly line: number;\n readonly content: string;\n readonly marker: TaggedLineMarker | undefined;\n}\n\nexport type PresentedLine =\n | { readonly type: 'file'; readonly path: string }\n | { readonly type: 'tagged'; readonly value: TaggedLine }\n | { readonly type: 'plain'; readonly text: string };\n\nexport interface HashlineBody {\n readonly shown: readonly PresentedLine[];\n /** Lines the collapsed view holds back; zero once expanded. */\n readonly hidden: number;\n /** The bracketed pagination or compaction note the tool appends after its lines. */\n readonly notice: string | undefined;\n /** Widest line number among the shown anchored lines, in characters. */\n readonly gutter: number;\n}\n\ninterface TextBlock {\n readonly type: string;\n readonly text?: string;\n}\n\nfunction isTextBlock(block: unknown): block is TextBlock {\n return typeof block === 'object' && block !== null && typeof (block as TextBlock).type === 'string';\n}\n\n/**\n * The result's text as lines: tabs widened, CRLF folded, trailing blanks\n * dropped. A result with no text but an image block reads as the TUI's\n * placeholder. The joined `output` stands in when no result view exists.\n */\nexport function resultTextLines(result: HashlineResult | null, output: string): string[] {\n const blocks = result?.content.filter(isTextBlock) ?? [];\n const text =\n result === null ? output : blocks.flatMap((block) => (block.type === 'text' ? [block.text ?? ''] : [])).join('\\n');\n if (text.length === 0) {\n return blocks.some((block) => block.type === 'image') ? [IMAGE_PLACEHOLDER] : [];\n }\n const lines = text.replaceAll('\\t', ' ').replaceAll('\\r\\n', '\\n').split('\\n');\n while (lines.at(-1) === '') lines.pop();\n return lines;\n}\n\n/** Detaches the tool's trailing `[...]` note so the body numbers file content only. */\nexport function takeTrailingNotice(lines: string[]): string | undefined {\n const last = lines.at(-1);\n if (last === undefined || !last.startsWith('[') || !last.endsWith(']')) return undefined;\n lines.pop();\n while (lines.at(-1) === '') lines.pop();\n return last;\n}\n\nexport function parseTaggedLine(value: string): TaggedLine | undefined {\n const match = TAGGED_LINE_PATTERN.exec(value);\n const lineText = match?.[2];\n const content = match?.[3];\n if (lineText === undefined || content === undefined) return undefined;\n const line = Number.parseInt(lineText, 10);\n if (!Number.isSafeInteger(line) || line < 1) return undefined;\n const prefix = match?.[1];\n const marker = prefix === MATCH_PREFIX ? 'match' : prefix === CONTEXT_PREFIX ? 'context' : undefined;\n return { line, content, marker };\n}\n\nexport function parseFileHeader(value: string): string | undefined {\n return FILE_HEADER_PATTERN.exec(value)?.[1];\n}\n\n/**\n * Lines as the card presents them. A read shows one file, so its header is\n * dropped; a grep groups anchored matches under each file's path.\n */\nexport function presentHashlineLines(lines: readonly string[], kind: HashlineResultKind): PresentedLine[] {\n const presented: PresentedLine[] = [];\n for (const line of lines) {\n const path = parseFileHeader(line);\n if (path !== undefined) {\n if (kind !== 'read') presented.push({ type: 'file', path });\n continue;\n }\n const tagged = parseTaggedLine(line);\n if (tagged !== undefined) {\n presented.push({ type: 'tagged', value: tagged });\n continue;\n }\n presented.push({ type: 'plain', text: line });\n }\n return presented;\n}\n\n/** The body a card shows for one result, collapsed to the kind's line budget unless expanded. */\nexport function hashlineBody(\n result: HashlineResult | null,\n output: string,\n kind: HashlineResultKind,\n expanded: boolean,\n): HashlineBody {\n const lines = resultTextLines(result, output);\n const notice = takeTrailingNotice(lines);\n const presented = presentHashlineLines(lines, kind);\n const budget = kind === 'read' ? READ_COLLAPSED_LINES : GREP_COLLAPSED_LINES;\n const { shown, hidden } = collapseLines(presented, budget, expanded);\n const gutter = shown.reduce(\n (widest, line) => (line.type === 'tagged' ? Math.max(widest, String(line.value.line).length) : widest),\n 1,\n );\n return { shown, hidden, notice, gutter };\n}\n\n/** The `key · key` detail list beside a call's primary argument, with absent values dropped. */\nexport function compactDetails(values: ReadonlyArray<string | undefined>): string[] {\n return values.filter((value): value is string => value !== undefined && value.length > 0);\n}\n"],"mappings":"A,+CAcA,MAAMA,EAAsB,mCACtBC,EAAsB,qCAKfC,EAAuB,GACvBC,EAAuB,GA0CpC,SAASC,EAAY,EAAoC,CACvD,OAAO,OAAOC,GAAU,YAAYA,GAAkB,OAAQA,EAAoB,MAAS,QAC7F,CAOA,SAAgBC,EAAgB,EAA+B,EAA0B,CACvF,IAAMC,EAASC,GAAQ,QAAQ,OAAOJ,CAAW,GAAK,CAAC,EACjDK,EACJD,IAAW,KAAOE,EAASH,EAAO,QAAS,GAAWF,EAAM,OAAS,OAAS,CAACA,EAAM,MAAQ,EAAE,EAAI,CAAC,CAAE,CAAC,CAAC,KAAK;CAAI,EACnH,GAAII,EAAK,SAAW,EAClB,OAAOF,EAAO,KAAM,GAAUF,EAAM,OAAS,OAAO,EAAI,CAAC,kBAAiB,EAAI,CAAC,EAEjF,IAAMM,EAAQF,EAAK,WAAW,IAAM,IAAI,CAAC,CAAC,WAAW;EAAQ;CAAI,CAAC,CAAC,MAAM;CAAI,EAC7E,KAAOE,EAAM,GAAG,EAAE,IAAM,IAAIA,EAAM,IAAI,EACtC,OAAOA,CACT,CAGA,SAAgBC,EAAmB,EAAqC,CACtE,IAAMC,EAAOF,EAAM,GAAG,EAAE,EACxB,GAAIE,IAAS,IAAA,IAAcA,EAAK,WAAW,GAAG,GAAMA,EAAK,SAAS,GAAG,EACrE,CACA,IADAF,EAAM,IAAI,EACHA,EAAM,GAAG,EAAE,IAAM,IAAIA,EAAM,IAAI,EACtC,OAAOE,CAFG,CAGZ,CAEA,SAAgBC,EAAgB,EAAuC,CACrE,IAAMC,EAAQd,EAAoB,KAAKe,CAAK,EACtCC,EAAWF,IAAQ,GACnBG,EAAUH,IAAQ,GACxB,GAAIE,IAAa,IAAA,IAAaC,IAAY,IAAA,GAAW,OACrD,IAAMC,EAAO,OAAO,SAASF,EAAU,EAAE,EACzC,GAAI,CAAC,OAAO,cAAcE,CAAI,GAAKA,EAAO,EAAG,OAC7C,IAAMC,EAASL,IAAQ,GAEvB,MAAO,CAAE,OAAM,UAAS,OADTK,IAAW,MAAe,QAAUA,IAAW,MAAiB,UAAY,IAAA,EAC5D,CACjC,CAEA,SAAgBC,EAAgB,EAAmC,CACjE,OAAOrB,EAAoB,KAAKgB,CAAK,CAAC,GAAG,EAC3C,CAMA,SAAgBM,EAAqB,EAA0B,EAA2C,CACxG,IAAMC,EAA6B,CAAC,EACpC,IAAK,IAAMJ,KAAQR,EAAO,CACxB,IAAMa,EAAOH,EAAgBF,CAAI,EACjC,GAAIK,IAAS,IAAA,GAAW,CAClBC,IAAS,QAAQF,EAAU,KAAK,CAAE,KAAM,OAAQ,MAAK,CAAC,EAC1D,QACF,CACA,IAAMG,EAASZ,EAAgBK,CAAI,EAC/BO,IAAW,IAAA,GAIfH,EAAU,KAAK,CAAE,KAAM,QAAS,KAAMJ,CAAK,CAAC,EAH1CI,EAAU,KAAK,CAAE,KAAM,SAAU,MAAOG,CAAO,CAAC,CAIpD,CACA,OAAOH,CACT,CAGA,SAAgBI,EACd,EACA,EACA,EACA,EACc,CACd,IAAMhB,EAAQL,EAAgBE,EAAQE,CAAM,EACtCkB,EAAShB,EAAmBD,CAAK,EACjCY,EAAYD,EAAqBX,EAAOc,CAAI,EAE5C,CAAE,QAAO,UAAWI,EAAcN,EADzBE,IAAS,OAAA,GAAA,GACmCK,CAAQ,EAKnE,MAAO,CAAE,QAAO,SAAQ,SAAQ,OAJjBC,EAAM,QAClB,EAAQ,IAAUZ,EAAK,OAAS,SAAW,KAAK,IAAIa,EAAQ,OAAOb,EAAK,MAAM,IAAI,CAAC,CAAC,MAAM,EAAIa,EAC/F,CAEmC,CAAE,CACzC,CAGA,SAAgBC,EAAe,EAAqD,CAClF,OAAOC,EAAO,OAAQ,GAA2BlB,IAAU,IAAA,IAAaA,EAAM,OAAS,CAAC,CAC1F,C"}
@@ -0,0 +1,57 @@
1
+ import { WebPluginSlotProps } from "../../../po-core/dist/src/web/types/webPlugin.mjs";
2
+ import "../../../po-core/dist/web.mjs";
3
+ import { markdownMediaReviewSlot } from "./markdownMediaSlot.mjs";
4
+ import { ComponentType, ReactNode } from "react";
5
+ //#region src/lib/markdownMedia.d.ts
6
+ /**
7
+ * A picture inside rendered Markdown that the person opened full screen.
8
+ *
9
+ * `url` is what the viewer draws: a blob URL from the host's image loader, a
10
+ * remote URL, or a data URL for a mermaid diagram. The paths are provenance
11
+ * for a reviewer, never read authority.
12
+ */
13
+ export interface MarkdownMedia {
14
+ kind: 'image' | 'mermaid';
15
+ title: string;
16
+ url: string;
17
+ /** The file the image was read from, as the host addresses it. */
18
+ sourcePath?: string;
19
+ /** The Markdown document that embeds the picture, when it is a file. */
20
+ documentPath?: string;
21
+ /** The diagram text, for a mermaid fence. */
22
+ mermaidSource?: string;
23
+ }
24
+ /** Renders a review surface (annotate, comment, send) for opened media. */
25
+ export type MarkdownMediaReview = (media: MarkdownMedia, close: () => void) => ReactNode;
26
+ export interface MarkdownMediaReviewPanelProps extends WebPluginSlotProps {
27
+ media: MarkdownMedia;
28
+ onClose(): void;
29
+ }
30
+ export interface MarkdownMediaReviewContribution {
31
+ version: 1;
32
+ panel: ComponentType<MarkdownMediaReviewPanelProps>;
33
+ }
34
+ /** The installed review panel bound to a host's slot props, or undefined when none is installed. */
35
+ export declare function markdownMediaReview(host: WebPluginSlotProps | undefined): MarkdownMediaReview | undefined;
36
+ /**
37
+ * SVG markup as an `<img>` source, sized from its viewBox when its own size is
38
+ * relative. Mermaid writes `width="100%"`, which leaves an image with no
39
+ * intrinsic size, so it collapses in a shrink-to-fit frame.
40
+ *
41
+ * A data URL rather than a blob URL: Chrome taints a canvas that draws a blob
42
+ * SVG carrying `foreignObject` (mermaid's labels), which breaks capture.
43
+ *
44
+ * Parsed as HTML, not XML: mermaid's labels hold HTML such as `<br>`, which is
45
+ * not well-formed XML, and an image of it never decodes. Serializing the parsed
46
+ * element writes it back as valid XML.
47
+ */
48
+ export declare function svgImageUrl(markup: string): string;
49
+ /**
50
+ * A URL a canvas can draw without being tainted. A blob URL that holds an SVG
51
+ * is re-read and turned into a sized data URL (see `svgImageUrl`); anything
52
+ * else is returned as is. Reading a local blob URL is not a network request.
53
+ */
54
+ export declare function drawableImageUrl(url: string, signal?: AbortSignal): Promise<string>;
55
+ //#endregion
56
+ export { markdownMediaReviewSlot };
57
+ //# sourceMappingURL=markdownMedia.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdownMedia.d.mts","names":[],"sources":["../../../../../../src/lib/markdownMedia.ts"],"mappings":";;;;;;;;;;;;iBAciB;EACf;EACA;EACA;;EAEA;;EAEA;;EAEA;;;YAIU,uBAAuB,OAAO,eAAe,sBAAsB;iBAS9D,sCAAsC;EACrD,OAAO;EACP;;iBAGe;EACf;EACA,OAAO,cAAc;;;wBAIP,oBAAoB,MAAM,iCAAiC;;;;;;;;;;;;;wBAsB3D,YAAY;;;;;;wBAsBN,iBAAiB,aAAa,SAAS,cAAc"}
@@ -0,0 +1,2 @@
1
+ import{markdownMediaReviewSlot as e}from"./markdownMediaSlot.mjs";import{createContext as t,createElement as n}from"react";const r=t(void 0);function i(t){let r=typeof t?.slotData==`function`?t.slotData(e)[0]?.data.panel:void 0;if(t!==void 0&&r!==void 0)return(e,i)=>n(r,{...t,media:e,onClose:i})}const a=/^\s*\d*\.?\d+(?:px)?\s*$/u;function o(e){let t=new DOMParser().parseFromString(e,`text/html`).querySelector(`svg`);if(t===null)return`data:image/svg+xml;charset=utf-8,${encodeURIComponent(e)}`;let n=t.getAttribute(`width`),r=t.getAttribute(`height`),i=n!==null&&r!==null&&a.test(n)&&a.test(r),o=(t.getAttribute(`viewBox`)??``).trim().split(/[\s,]+/u).map(Number);return!i&&o.length===4&&o[2]>0&&o[3]>0&&(t.setAttribute(`width`,String(o[2])),t.setAttribute(`height`,String(o[3]))),`data:image/svg+xml;charset=utf-8,${encodeURIComponent(new XMLSerializer().serializeToString(t))}`}async function s(e,t){if(!e.startsWith(`blob:`))return e;let n=await(await fetch(e,t===void 0?{}:{signal:t})).blob();return n.type.startsWith(`image/svg+xml`)?o(await n.text()):e}export{r as MarkdownMediaContext,s as drawableImageUrl,i as markdownMediaReview,e as markdownMediaReviewSlot,o as svgImageUrl};
2
+ //# sourceMappingURL=markdownMedia.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdownMedia.mjs","names":["MarkdownMediaContext","createContext","markdownMediaReview","panel","host","markdownMediaReviewSlot","createElement","close","ABSOLUTE_LENGTH","svgImageUrl","svg","markup","width","height","sized","box","drawableImageUrl","url","blob","signal"],"sources":["../../../../../../src/lib/markdownMedia.ts"],"sourcesContent":["import type { WebPluginSlotProps } from '@agimon-ai/po-core/web';\nimport { createContext, createElement, type ComponentType, type ReactNode } from 'react';\n\nimport { markdownMediaReviewSlot } from './markdownMediaSlot';\n\nexport { markdownMediaReviewSlot } from './markdownMediaSlot';\n\n/**\n * A picture inside rendered Markdown that the person opened full screen.\n *\n * `url` is what the viewer draws: a blob URL from the host's image loader, a\n * remote URL, or a data URL for a mermaid diagram. The paths are provenance\n * for a reviewer, never read authority.\n */\nexport interface MarkdownMedia {\n kind: 'image' | 'mermaid';\n title: string;\n url: string;\n /** The file the image was read from, as the host addresses it. */\n sourcePath?: string;\n /** The Markdown document that embeds the picture, when it is a file. */\n documentPath?: string;\n /** The diagram text, for a mermaid fence. */\n mermaidSource?: string;\n}\n\n/** Renders a review surface (annotate, comment, send) for opened media. */\nexport type MarkdownMediaReview = (media: MarkdownMedia, close: () => void) => ReactNode;\n\nexport interface MarkdownMediaContextValue {\n open(media: Omit<MarkdownMedia, 'documentPath'>): void;\n}\n\n/** Set by Markdown; images and mermaid diagrams become openable only inside it. */\nexport const MarkdownMediaContext = createContext<MarkdownMediaContextValue | undefined>(undefined);\n\nexport interface MarkdownMediaReviewPanelProps extends WebPluginSlotProps {\n media: MarkdownMedia;\n onClose(): void;\n}\n\nexport interface MarkdownMediaReviewContribution {\n version: 1;\n panel: ComponentType<MarkdownMediaReviewPanelProps>;\n}\n\n/** The installed review panel bound to a host's slot props, or undefined when none is installed. */\nexport function markdownMediaReview(host: WebPluginSlotProps | undefined): MarkdownMediaReview | undefined {\n // Partial host props (stories, tests) carry no slot reader; they get the plain viewer.\n const panel =\n typeof host?.slotData === 'function' ? host.slotData(markdownMediaReviewSlot)[0]?.data.panel : undefined;\n if (host === undefined || panel === undefined) return undefined;\n return (media, close) => createElement(panel, { ...host, media, onClose: close });\n}\n\nconst ABSOLUTE_LENGTH = /^\\s*\\d*\\.?\\d+(?:px)?\\s*$/u;\n\n/**\n * SVG markup as an `<img>` source, sized from its viewBox when its own size is\n * relative. Mermaid writes `width=\"100%\"`, which leaves an image with no\n * intrinsic size, so it collapses in a shrink-to-fit frame.\n *\n * A data URL rather than a blob URL: Chrome taints a canvas that draws a blob\n * SVG carrying `foreignObject` (mermaid's labels), which breaks capture.\n *\n * Parsed as HTML, not XML: mermaid's labels hold HTML such as `<br>`, which is\n * not well-formed XML, and an image of it never decodes. Serializing the parsed\n * element writes it back as valid XML.\n */\nexport function svgImageUrl(markup: string): string {\n const svg = new DOMParser().parseFromString(markup, 'text/html').querySelector('svg');\n if (svg === null) return `data:image/svg+xml;charset=utf-8,${encodeURIComponent(markup)}`;\n const width = svg.getAttribute('width');\n const height = svg.getAttribute('height');\n const sized = width !== null && height !== null && ABSOLUTE_LENGTH.test(width) && ABSOLUTE_LENGTH.test(height);\n const box = (svg.getAttribute('viewBox') ?? '')\n .trim()\n .split(/[\\s,]+/u)\n .map(Number);\n if (!sized && box.length === 4 && box[2]! > 0 && box[3]! > 0) {\n svg.setAttribute('width', String(box[2]));\n svg.setAttribute('height', String(box[3]));\n }\n return `data:image/svg+xml;charset=utf-8,${encodeURIComponent(new XMLSerializer().serializeToString(svg))}`;\n}\n\n/**\n * A URL a canvas can draw without being tainted. A blob URL that holds an SVG\n * is re-read and turned into a sized data URL (see `svgImageUrl`); anything\n * else is returned as is. Reading a local blob URL is not a network request.\n */\nexport async function drawableImageUrl(url: string, signal?: AbortSignal): Promise<string> {\n if (!url.startsWith('blob:')) return url;\n const blob = await (await fetch(url, signal === undefined ? {} : { signal })).blob();\n return blob.type.startsWith('image/svg+xml') ? svgImageUrl(await blob.text()) : url;\n}\n"],"mappings":"A,2HAkCA,MAAaA,EAAuBC,EAAqD,IAAA,EAAS,EAalG,SAAgBC,EAAoB,EAAuE,CAEzG,IAAMC,EACJ,OAAOC,GAAM,UAAa,WAAaA,EAAK,SAASC,CAAuB,CAAC,CAAC,EAAE,EAAE,KAAK,MAAQ,IAAA,GACjG,GAAID,IAAS,IAAA,IAAaD,IAAU,IAAA,GACpC,OAAQ,EAAO,IAAUG,EAAcH,EAAO,CAAE,GAAGC,EAAM,QAAO,QAASG,CAAM,CAAC,CAClF,CAEA,MAAMC,EAAkB,4BAcxB,SAAgBC,EAAY,EAAwB,CAClD,IAAMC,EAAM,IAAI,UAAU,CAAC,CAAC,gBAAgBC,EAAQ,WAAW,CAAC,CAAC,cAAc,KAAK,EACpF,GAAID,IAAQ,KAAM,MAAO,oCAAoC,mBAAmBC,CAAM,IACtF,IAAMC,EAAQF,EAAI,aAAa,OAAO,EAChCG,EAASH,EAAI,aAAa,QAAQ,EAClCI,EAAQF,IAAU,MAAQC,IAAW,MAAQL,EAAgB,KAAKI,CAAK,GAAKJ,EAAgB,KAAKK,CAAM,EACvGE,GAAOL,EAAI,aAAa,SAAS,GAAK,GAAA,CACzC,KAAK,CAAC,CACN,MAAM,SAAS,CAAC,CAChB,IAAI,MAAM,EAKb,MAJI,CAACI,GAASC,EAAI,SAAW,GAAKA,EAAI,GAAM,GAAKA,EAAI,GAAM,IACzDL,EAAI,aAAa,QAAS,OAAOK,EAAI,EAAE,CAAC,EACxCL,EAAI,aAAa,SAAU,OAAOK,EAAI,EAAE,CAAC,GAEpC,oCAAoC,mBAAmB,IAAI,cAAc,CAAC,CAAC,kBAAkBL,CAAG,CAAC,GAC1G,CAOA,eAAsBM,EAAiB,EAAa,EAAuC,CACzF,GAAI,CAACC,EAAI,WAAW,OAAO,EAAG,OAAOA,EACrC,IAAMC,EAAO,MAAO,MAAM,MAAMD,EAAKE,IAAW,IAAA,GAAY,CAAC,EAAI,CAAE,QAAO,CAAC,EAAA,CAAG,KAAK,EACnF,OAAOD,EAAK,KAAK,WAAW,eAAe,EAAIT,EAAY,MAAMS,EAAK,KAAK,CAAC,EAAID,CAClF,C"}
@@ -0,0 +1,10 @@
1
+ import { MarkdownMediaReviewContribution } from "./markdownMedia.mjs";
2
+ //#region src/lib/markdownMediaSlot.d.ts
3
+ /** Filled by the Author mode; any Markdown host reads it through `markdownMediaReview`. */
4
+ export declare const markdownMediaReviewSlot: {
5
+ slot: string;
6
+ description: string;
7
+ parse: (input: unknown) => MarkdownMediaReviewContribution | null;
8
+ };
9
+ //#endregion
10
+ //# sourceMappingURL=markdownMediaSlot.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdownMediaSlot.d.mts","names":[],"sources":["../../../../../../src/lib/markdownMediaSlot.ts"],"mappings":";;;qBAKa;;;EAGI,QAAA,mBAAU"}
@@ -0,0 +1,2 @@
1
+ const e={slot:`author.media-review`,description:`Provide an annotation and feedback panel for an image or diagram opened from Markdown.`,parse:e=>{if(typeof e!=`object`||!e)return null;let t=e;return t.version===1&&typeof t.panel==`function`?t:null}};export{e as markdownMediaReviewSlot};
2
+ //# sourceMappingURL=markdownMediaSlot.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdownMediaSlot.mjs","names":["markdownMediaReviewSlot","input","value"],"sources":["../../../../../../src/lib/markdownMediaSlot.ts"],"sourcesContent":["import type { SlotDeclaration } from '@agimon-ai/po-core/web';\n\nimport type { MarkdownMediaReviewContribution } from './markdownMedia';\n\n/** Filled by the Author mode; any Markdown host reads it through `markdownMediaReview`. */\nexport const markdownMediaReviewSlot = {\n slot: 'author.media-review',\n description: 'Provide an annotation and feedback panel for an image or diagram opened from Markdown.',\n parse: (input: unknown): MarkdownMediaReviewContribution | null => {\n if (input === null || typeof input !== 'object') return null;\n const value = input as Partial<MarkdownMediaReviewContribution>;\n return value.version === 1 && typeof value.panel === 'function' ? (value as MarkdownMediaReviewContribution) : null;\n },\n} satisfies SlotDeclaration<MarkdownMediaReviewContribution>;\n"],"mappings":"AAKA,MAAaA,EAA0B,CACrC,KAAM,sBACN,YAAa,yFACb,MAAQ,GAA2D,CACjE,GAAsB,OAAOC,GAAU,WAAnCA,EAA6C,OAAO,KACxD,IAAMC,EAAQD,EACd,OAAOC,EAAM,UAAY,GAAK,OAAOA,EAAM,OAAU,WAAcA,EAA4C,IACjH,CACF,E"}
@@ -0,0 +1,47 @@
1
+ //#region src/lib/mcpAppFrame.d.ts
2
+ export interface McpAppFrameOptions {
3
+ data: {
4
+ html: string;
5
+ protocol: 'mcp' | 'openai';
6
+ resourceMeta: Record<string, unknown>;
7
+ args: Record<string, unknown>;
8
+ result: {
9
+ content: unknown[];
10
+ structuredContent?: unknown;
11
+ _meta?: Record<string, unknown>;
12
+ isError?: boolean;
13
+ };
14
+ tool: {
15
+ name: string;
16
+ description: string;
17
+ inputSchema: {
18
+ type: 'object';
19
+ [key: string]: unknown;
20
+ };
21
+ _meta: Record<string, unknown>;
22
+ };
23
+ readOnly: boolean;
24
+ };
25
+ toolCallId: string;
26
+ savedState: unknown;
27
+ hostOrigin: string;
28
+ theme: 'light' | 'dark';
29
+ locale: string;
30
+ device: 'mobile' | 'desktop';
31
+ hover?: boolean;
32
+ touch?: boolean;
33
+ request(method: string, input: Record<string, unknown>): Promise<unknown>;
34
+ openLink(url: unknown): Promise<Record<string, never>>;
35
+ resize(height: number): void;
36
+ ready(): void;
37
+ fail(message: string): void;
38
+ close(): void;
39
+ saveState(state: unknown): void;
40
+ }
41
+ /** Connect a sandbox relay. The caller owns the lease and closes it on unmount. */
42
+ export declare function connectMcpAppFrame(frame: HTMLIFrameElement, options: McpAppFrameOptions): {
43
+ setTheme(theme: 'light' | 'dark'): void;
44
+ dispose(): void;
45
+ };
46
+ //#endregion
47
+ //# sourceMappingURL=mcpAppFrame.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcpAppFrame.d.mts","names":[],"sources":["../../../../../../src/lib/mcpAppFrame.ts"],"mappings":";iBAWiB;EACf;IACE;IACA;IACA,cAAc;IACd,MAAM;IACN;MAAU;MAAoB;MAA6B,QAAQ;MAAyB;;IAC5F;MACE;MACA;MACA;QAAe;SAAiB;;MAChC,OAAO;;IAET;;EAEF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,QAAQ,gBAAgB,OAAO,0BAA0B;EACzD,SAAS,eAAe,QAAQ;EAChC,OAAO;EACP;EACA,KAAK;EACL;EACA,UAAU;;;wBAYI,mBACd,OAAO,mBACP,SAAS;EACN,SAAS;EAAgC"}
@@ -0,0 +1,3 @@
1
+ import{mcpAppCsp as e,mcpAppDocument as t,mcpAppRelayHtml as n}from"./mcpAppSandbox.mjs";import{mcpOpenAiScript as r}from"./mcpOpenAiBootstrap.mjs";import{AppBridge as i,PostMessageTransport as a}from"@modelcontextprotocol/ext-apps/app-bridge";const o=1200,s=`po.openai`;function c(e){return e instanceof Error?e.message:`The MCP App could not complete this request`}function l(e){if(typeof e!=`object`||!e||Array.isArray(e))throw Error(`Invalid App request`);return e}function u(u,d){if(u.contentWindow===null)throw Error(`MCP App frame is not mounted`);let{data:f}=d,p=!0,m,h=new MessageChannel,g=(e,t)=>p?d.request(e,t):Promise.reject(/* @__PURE__ */ Error(`MCP App is closed`)),_=e=>{typeof e==`number`&&Number.isFinite(e)&&d.resize(Math.min(o,Math.max(80,Math.ceil(e))))},v=e=>{p&&(d.fail(c(e)),p=!1,u.srcdoc=``,y().catch(t=>{d.fail(`${c(e)}. Closing the App lease failed: ${c(t)}`)}))},y=()=>d.request(`close`,{}),b=setTimeout(()=>v(/* @__PURE__ */ Error(`MCP App initialization timed out`)),15e3),x=()=>{p&&(clearTimeout(b),d.ready())},S=async(e,t)=>{if(f.readOnly)throw Error(`Enable interactions in the conversation before calling tools`);if(typeof e!=`string`)throw Error(`Invalid App tool name`);return await g(`callTool`,{name:e,arguments:l(t??{})})},C=async e=>(await g(`setState`,{state:e}),d.saveState(e),{}),w=async e=>{if(f.readOnly)throw Error(`Enable interactions in the conversation before sending a follow-up`);if(typeof e!=`string`)throw Error(`Invalid App follow-up`);return await g(`followUp`,{prompt:e}),{}},T=async()=>(await g(`close`,{}),d.close(),{}),E=d.theme,D=E,O={toolInput:f.args,toolOutput:f.result.structuredContent??null,toolResponseMetadata:f.result._meta??{},widgetState:d.savedState,theme:E,locale:d.locale,displayMode:`inline`,maxHeight:o,safeArea:{insets:{top:0,right:0,bottom:0,left:0}},userAgent:{device:{type:d.device},capabilities:{hover:d.hover??!1,touch:d.touch??!1}}};try{let o=e(f.resourceMeta,d.hostOrigin);f.protocol===`mcp`&&(m=new i(null,{name:`Po`,version:`1`},{...f.readOnly?{}:{serverTools:{},message:{text:{}}},openLinks:{}},{hostContext:{theme:E,locale:d.locale,displayMode:`inline`,availableDisplayModes:[`inline`],toolInfo:{id:d.toolCallId,tool:f.tool}}}),m.oncalltool=({name:e,arguments:t})=>S(e,t),m.onmessage=async({content:e})=>{if(e.some(e=>e.type!==`text`))throw Error(`Only text follow-ups are supported`);return w(e.map(e=>e.type===`text`?e.text:``).join(`
2
+ `))},m.onopenlink=({url:e})=>d.openLink(e),m.onsizechange=({height:e})=>_(e),m.onrequestdisplaymode=async()=>({mode:`inline`}),m.onrequestteardown=()=>{T().catch(v)},m.oninitialized=()=>{(async()=>{await m.sendToolInput({arguments:f.args}),await m.sendToolResult(f.result),x()})().catch(v)},m.connect(new a(u.contentWindow,u.contentWindow)).catch(v)),h.port1.onmessage=e=>{if(!p)return;let t=e.data;if(t?.type===`revoked`){v(/* @__PURE__ */ Error(`MCP App navigation was blocked; reopen it to continue`));return}if(t?.type!==`legacy`)return;let n=t.data;n?.channel===s&&(async()=>{let e=l(n.input??{});switch(n.method){case`initialized`:{x();let e=D;return e!==E&&h.port1.postMessage({channel:s,globals:{theme:e}}),{}}case`height`:return _(e.height),{};case`callTool`:return S(e.name,e.arguments);case`setState`:return C(e.state);case`followUp`:return w(e.prompt);case`openLink`:return d.openLink(e.url);case`close`:return T();default:throw Error(`Unsupported ChatGPT widget method`)}})().then(e=>{if(!p||n.id===void 0)return;let t=n.method===`callTool`&&f.protocol===`openai`?e:void 0;h.port1.postMessage({channel:s,id:n.id,result:e,...t===void 0?{}:{globals:{toolOutput:t.structuredContent??null,toolResponseMetadata:t._meta??{}}}})},e=>{p&&n.id!==void 0&&h.port1.postMessage({channel:s,id:n.id,error:c(e)})})},h.port1.start();let g=()=>{u.contentWindow?.postMessage({html:t(f.html,o,r(O),E),policy:o,protocol:f.protocol},`*`,[h.port2])};return u.addEventListener(`load`,g,{once:!0}),u.srcdoc=n(o,E),{setTheme:e=>{D=e,m?.setHostContext({theme:e}),h.port1.postMessage({channel:s,globals:{theme:e}})},dispose:()=>{p=!1,clearTimeout(b),u.removeEventListener(`load`,g),h.port1.close(),h.port2.close(),m!==void 0&&m.close().catch(e=>d.fail(c(e))),u.srcdoc=``}}}catch(e){return v(e),{setTheme:()=>{},dispose:()=>{clearTimeout(b),h.port1.close(),h.port2.close()}}}}export{u as connectMcpAppFrame};
3
+ //# sourceMappingURL=mcpAppFrame.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcpAppFrame.mjs","names":["MAX_HEIGHT","LEGACY_CHANNEL","errorText","error","object","value","connectMcpAppFrame","frame","options","live","bridge","channels","request","method","input","resize","fail","requestCloseLease","closeError","timeout","markReady","callTool","data","name","args","persist","state","followUp","prompt","close","theme","activeTheme","globals","policy","mcpAppCsp","AppBridge","content","block","url","next","PostMessageTransport","message","event","legacy","loadedTheme","returned","result","load","mcpAppDocument","mcpOpenAiScript","mcpAppRelayHtml","nextTheme"],"sources":["../../../../../../src/lib/mcpAppFrame.ts"],"sourcesContent":["import { AppBridge, PostMessageTransport } from '@modelcontextprotocol/ext-apps/app-bridge';\n\nimport { mcpAppCsp, mcpAppDocument, mcpAppRelayHtml } from './mcpAppSandbox';\nimport { mcpOpenAiScript } from './mcpOpenAiBootstrap';\n\ntype CallToolResult = Awaited<ReturnType<NonNullable<AppBridge['oncalltool']>>>;\nconst MAX_HEIGHT = 1200;\nconst MIN_HEIGHT = 80;\nconst OPEN_TIMEOUT = 15_000;\nconst LEGACY_CHANNEL = 'po.openai';\n\nexport interface McpAppFrameOptions {\n data: {\n html: string;\n protocol: 'mcp' | 'openai';\n resourceMeta: Record<string, unknown>;\n args: Record<string, unknown>;\n result: { content: unknown[]; structuredContent?: unknown; _meta?: Record<string, unknown>; isError?: boolean };\n tool: {\n name: string;\n description: string;\n inputSchema: { type: 'object'; [key: string]: unknown };\n _meta: Record<string, unknown>;\n };\n readOnly: boolean;\n };\n toolCallId: string;\n savedState: unknown;\n hostOrigin: string;\n theme: 'light' | 'dark';\n locale: string;\n device: 'mobile' | 'desktop';\n hover?: boolean;\n touch?: boolean;\n request(method: string, input: Record<string, unknown>): Promise<unknown>;\n openLink(url: unknown): Promise<Record<string, never>>;\n resize(height: number): void;\n ready(): void;\n fail(message: string): void;\n close(): void;\n saveState(state: unknown): void;\n}\n\nfunction errorText(error: unknown): string {\n return error instanceof Error ? error.message : 'The MCP App could not complete this request';\n}\nfunction object(value: unknown): Record<string, unknown> {\n if (value === null || typeof value !== 'object' || Array.isArray(value)) throw new Error('Invalid App request');\n return value as Record<string, unknown>;\n}\n\n/** Connect a sandbox relay. The caller owns the lease and closes it on unmount. */\nexport function connectMcpAppFrame(\n frame: HTMLIFrameElement,\n options: McpAppFrameOptions,\n): { setTheme(theme: 'light' | 'dark'): void; dispose(): void } {\n if (frame.contentWindow === null) throw new Error('MCP App frame is not mounted');\n const { data } = options;\n let live = true;\n let bridge: AppBridge | undefined;\n const channels = new MessageChannel();\n const request = (method: string, input: Record<string, unknown>) => {\n if (!live) return Promise.reject(new Error('MCP App is closed'));\n return options.request(method, input);\n };\n const resize = (value: unknown): void => {\n if (typeof value === 'number' && Number.isFinite(value)) {\n options.resize(Math.min(MAX_HEIGHT, Math.max(MIN_HEIGHT, Math.ceil(value))));\n }\n };\n const fail = (error: unknown): void => {\n if (!live) return;\n options.fail(errorText(error));\n live = false;\n frame.srcdoc = '';\n void requestCloseLease().catch((closeError: unknown) => {\n options.fail(`${errorText(error)}. Closing the App lease failed: ${errorText(closeError)}`);\n });\n };\n const requestCloseLease = (): Promise<unknown> => options.request('close', {});\n const timeout = setTimeout(() => fail(new Error('MCP App initialization timed out')), OPEN_TIMEOUT);\n const markReady = (): void => {\n if (!live) return;\n clearTimeout(timeout);\n options.ready();\n };\n const callTool = async (name: unknown, args: unknown): Promise<CallToolResult> => {\n if (data.readOnly) throw new Error('Enable interactions in the conversation before calling tools');\n if (typeof name !== 'string') throw new Error('Invalid App tool name');\n const result = await request('callTool', { name, arguments: object(args ?? {}) });\n return result as CallToolResult;\n };\n const persist = async (state: unknown): Promise<Record<string, never>> => {\n await request('setState', { state });\n options.saveState(state);\n return {};\n };\n const followUp = async (prompt: unknown): Promise<Record<string, never>> => {\n if (data.readOnly) throw new Error('Enable interactions in the conversation before sending a follow-up');\n if (typeof prompt !== 'string') throw new Error('Invalid App follow-up');\n await request('followUp', { prompt });\n return {};\n };\n const close = async (): Promise<Record<string, never>> => {\n await request('close', {});\n options.close();\n return {};\n };\n const theme = options.theme;\n let activeTheme = theme;\n const globals = {\n toolInput: data.args,\n toolOutput: data.result.structuredContent ?? null,\n toolResponseMetadata: data.result._meta ?? {},\n widgetState: options.savedState,\n theme,\n locale: options.locale,\n displayMode: 'inline' as const,\n maxHeight: MAX_HEIGHT,\n safeArea: { insets: { top: 0, right: 0, bottom: 0, left: 0 } },\n userAgent: {\n device: { type: options.device },\n capabilities: { hover: options.hover ?? false, touch: options.touch ?? false },\n },\n };\n try {\n const policy = mcpAppCsp(data.resourceMeta, options.hostOrigin);\n if (data.protocol === 'mcp') {\n bridge = new AppBridge(\n null,\n { name: 'Po', version: '1' },\n {\n ...(data.readOnly ? {} : { serverTools: {}, message: { text: {} } }),\n openLinks: {},\n },\n {\n hostContext: {\n theme,\n locale: options.locale,\n displayMode: 'inline',\n availableDisplayModes: ['inline'],\n toolInfo: { id: options.toolCallId, tool: data.tool },\n },\n },\n );\n bridge.oncalltool = ({ name, arguments: args }) => callTool(name, args);\n bridge.onmessage = async ({ content }) => {\n if (content.some((block) => block.type !== 'text')) throw new Error('Only text follow-ups are supported');\n return followUp(content.map((block) => (block.type === 'text' ? block.text : '')).join('\\n'));\n };\n bridge.onopenlink = ({ url }) => options.openLink(url);\n bridge.onsizechange = ({ height: next }) => resize(next);\n bridge.onrequestdisplaymode = async () => ({ mode: 'inline' });\n bridge.onrequestteardown = () => {\n void close().catch(fail);\n };\n bridge.oninitialized = () => {\n void (async () => {\n await bridge!.sendToolInput({ arguments: data.args });\n await bridge!.sendToolResult(data.result as CallToolResult);\n markReady();\n })().catch(fail);\n };\n void bridge.connect(new PostMessageTransport(frame.contentWindow, frame.contentWindow)).catch(fail);\n }\n channels.port1.onmessage = (event: MessageEvent<unknown>) => {\n if (!live) return;\n const message = event.data as { type?: string; data?: unknown };\n if (message?.type === 'revoked') {\n fail(new Error('MCP App navigation was blocked; reopen it to continue'));\n return;\n }\n if (message?.type !== 'legacy') return;\n const legacy = message.data as { channel?: string; id?: number; method?: string; input?: unknown } | null;\n if (legacy?.channel !== LEGACY_CHANNEL) return;\n void (async () => {\n const input = object(legacy.input ?? {});\n switch (legacy.method) {\n case 'initialized': {\n markReady();\n // A theme change while the App document loaded reached no listener; this one runs after it.\n const loadedTheme = activeTheme;\n if (loadedTheme !== theme)\n channels.port1.postMessage({ channel: LEGACY_CHANNEL, globals: { theme: loadedTheme } });\n return {};\n }\n case 'height':\n resize(input.height);\n return {};\n case 'callTool':\n return callTool(input.name, input.arguments);\n case 'setState':\n return persist(input.state);\n case 'followUp':\n return followUp(input.prompt);\n case 'openLink':\n return options.openLink(input.url);\n case 'close':\n return close();\n default:\n throw new Error('Unsupported ChatGPT widget method');\n }\n })().then(\n (result) => {\n if (!live || legacy.id === undefined) return;\n // A widget's own call returns its result; replacing the rendered tool's output corrupts widgets that persist it.\n const returned =\n legacy.method === 'callTool' && data.protocol === 'openai' ? (result as CallToolResult) : undefined;\n channels.port1.postMessage({\n channel: LEGACY_CHANNEL,\n id: legacy.id,\n result,\n ...(returned === undefined\n ? {}\n : {\n globals: {\n toolOutput: returned.structuredContent ?? null,\n toolResponseMetadata: returned._meta ?? {},\n },\n }),\n });\n },\n (error: unknown) => {\n if (!live || legacy.id === undefined) return;\n channels.port1.postMessage({ channel: LEGACY_CHANNEL, id: legacy.id, error: errorText(error) });\n },\n );\n };\n channels.port1.start();\n const load = (): void => {\n frame.contentWindow?.postMessage(\n {\n html: mcpAppDocument(data.html, policy, mcpOpenAiScript(globals), theme),\n policy,\n protocol: data.protocol,\n },\n '*',\n [channels.port2],\n );\n };\n frame.addEventListener('load', load, { once: true });\n frame.srcdoc = mcpAppRelayHtml(policy, theme);\n const setTheme = (nextTheme: 'light' | 'dark'): void => {\n activeTheme = nextTheme;\n bridge?.setHostContext({ theme: nextTheme });\n channels.port1.postMessage({ channel: LEGACY_CHANNEL, globals: { theme: nextTheme } });\n };\n return {\n setTheme,\n dispose: () => {\n live = false;\n clearTimeout(timeout);\n frame.removeEventListener('load', load);\n channels.port1.close();\n channels.port2.close();\n if (bridge !== undefined) void bridge.close().catch((error: unknown) => options.fail(errorText(error)));\n frame.srcdoc = '';\n },\n };\n } catch (error) {\n fail(error);\n return {\n setTheme: () => {},\n dispose: () => {\n clearTimeout(timeout);\n channels.port1.close();\n channels.port2.close();\n },\n };\n }\n}\n"],"mappings":"A,oPAMA,MAAMA,EAAa,KAGbC,EAAiB,YAkCvB,SAASC,EAAU,EAAwB,CACzC,OAAOC,aAAiB,MAAQA,EAAM,QAAU,6CAClD,CACA,SAASC,EAAO,EAAyC,CACvD,GAAsB,OAAOC,GAAU,WAAnCA,GAA+C,MAAM,QAAQA,CAAK,EAAG,MAAU,MAAM,qBAAqB,EAC9G,OAAOA,CACT,CAGA,SAAgBC,EACd,EACA,EAC8D,CAC9D,GAAIC,EAAM,gBAAkB,KAAM,MAAU,MAAM,8BAA8B,EAChF,GAAM,CAAE,QAASC,EACbC,EAAO,GACPC,EACEC,EAAW,IAAI,eACfC,GAAW,EAAgB,IAC1BH,EACED,EAAQ,QAAQK,EAAQC,CAAK,EADlB,QAAQ,OAAO,gBAAI,MAAM,mBAAmB,CAAC,EAG3DC,EAAU,GAAyB,CACnC,OAAOV,GAAU,UAAY,OAAO,SAASA,CAAK,GACpDG,EAAQ,OAAO,KAAK,IAAIR,EAAY,KAAK,IAAI,GAAY,KAAK,KAAKK,CAAK,CAAC,CAAC,CAAC,CAE/E,EACMW,EAAQ,GAAyB,CAChCP,IACLD,EAAQ,KAAKN,EAAUC,CAAK,CAAC,EAC7B,EAAO,GACP,EAAM,OAAS,GACfc,EAAuB,CAAC,CAAC,MAAO,GAAwB,CACtDT,EAAQ,KAAK,GAAGN,EAAUC,CAAK,EAAE,kCAAkCD,EAAUgB,CAAU,GAAG,CAC5F,CAAC,EACH,EACMD,MAA4CT,EAAQ,QAAQ,QAAS,CAAC,CAAC,EACvEW,EAAU,eAAiBH,EAAK,gBAAI,MAAM,kCAAkC,CAAC,EAAG,IAAY,EAC5FI,MAAwB,CACvBX,IACL,aAAaU,CAAO,EACpBX,EAAQ,MAAM,EAChB,EACMa,EAAW,MAAO,EAAe,IAA2C,CAChF,GAAIC,EAAK,SAAU,MAAU,MAAM,8DAA8D,EACjG,GAAI,OAAOC,GAAS,SAAU,MAAU,MAAM,uBAAuB,EAErE,OAAO,MADcX,EAAQ,WAAY,CAAE,OAAM,UAAWR,EAAOoB,GAAQ,CAAC,CAAC,CAAE,CAAC,CAElF,EACMC,EAAU,KAAO,KACrB,MAAMb,EAAQ,WAAY,CAAE,OAAM,CAAC,EACnCJ,EAAQ,UAAUkB,CAAK,EAChB,CAAC,GAEJC,EAAW,KAAO,IAAoD,CAC1E,GAAIL,EAAK,SAAU,MAAU,MAAM,oEAAoE,EACvG,GAAI,OAAOM,GAAW,SAAU,MAAU,MAAM,uBAAuB,EAEvE,OADA,MAAMhB,EAAQ,WAAY,CAAE,QAAO,CAAC,EAC7B,CAAC,CACV,EACMiB,EAAQ,UACZ,MAAMjB,EAAQ,QAAS,CAAC,CAAC,EACzBJ,EAAQ,MAAM,EACP,CAAC,GAEJsB,EAAQtB,EAAQ,MAClBuB,EAAcD,EACZE,EAAU,CACd,UAAWV,EAAK,KAChB,WAAYA,EAAK,OAAO,mBAAqB,KAC7C,qBAAsBA,EAAK,OAAO,OAAS,CAAC,EAC5C,YAAad,EAAQ,WACrB,QACA,OAAQA,EAAQ,OAChB,YAAa,SACb,UAAWR,EACX,SAAU,CAAE,OAAQ,CAAE,IAAK,EAAG,MAAO,EAAG,OAAQ,EAAG,KAAM,CAAE,CAAE,EAC7D,UAAW,CACT,OAAQ,CAAE,KAAMQ,EAAQ,MAAO,EAC/B,aAAc,CAAE,MAAOA,EAAQ,OAAS,GAAO,MAAOA,EAAQ,OAAS,EAAM,CAC/E,CACF,EACA,GAAI,CACF,IAAMyB,EAASC,EAAUZ,EAAK,aAAcd,EAAQ,UAAU,EAC1Dc,EAAK,WAAa,QACpB,EAAS,IAAIa,EACX,KACA,CAAE,KAAM,KAAM,QAAS,GAAI,EAC3B,CACE,GAAIb,EAAK,SAAW,CAAC,EAAI,CAAE,YAAa,CAAC,EAAG,QAAS,CAAE,KAAM,CAAC,CAAE,CAAE,EAClE,UAAW,CAAC,CACd,EACA,CACE,YAAa,CACX,QACA,OAAQd,EAAQ,OAChB,YAAa,SACb,sBAAuB,CAAC,QAAQ,EAChC,SAAU,CAAE,GAAIA,EAAQ,WAAY,KAAMc,EAAK,IAAK,CACtD,CACF,CACF,EACA,EAAO,YAAc,CAAE,OAAM,UAAWE,KAAWH,EAASE,EAAMC,CAAI,EACtE,EAAO,UAAY,MAAO,CAAE,aAAc,CACxC,GAAIY,EAAQ,KAAM,GAAUC,EAAM,OAAS,MAAM,EAAG,MAAU,MAAM,oCAAoC,EACxG,OAAOV,EAASS,EAAQ,IAAK,GAAWC,EAAM,OAAS,OAASA,EAAM,KAAO,EAAG,CAAC,CAAC,KAAK;CAAI,CAAC,CAC9F,EACA,EAAO,YAAc,CAAE,SAAU7B,EAAQ,SAAS8B,CAAG,EACrD,EAAO,cAAgB,CAAE,OAAQC,KAAWxB,EAAOwB,CAAI,EACvD,EAAO,qBAAuB,UAAa,CAAE,KAAM,QAAS,GAC5D,EAAO,sBAA0B,CAC/BV,EAAW,CAAC,CAAC,MAAMb,CAAI,CACzB,EACA,EAAO,kBAAsB,EACrB,SAAY,CAChB,MAAMN,EAAQ,cAAc,CAAE,UAAWY,EAAK,IAAK,CAAC,EACpD,MAAMZ,EAAQ,eAAeY,EAAK,MAAwB,EAC1DF,EAAU,CACZ,EAAA,CAAG,CAAC,CAAC,MAAMJ,CAAI,CACjB,EACAN,EAAY,QAAQ,IAAI8B,EAAqBjC,EAAM,cAAeA,EAAM,aAAa,CAAC,CAAC,CAAC,MAAMS,CAAI,GAEpG,EAAS,MAAM,UAAa,GAAiC,CAC3D,GAAI,CAACP,EAAM,OACX,IAAMgC,EAAUC,EAAM,KACtB,GAAID,GAAS,OAAS,UAAW,CAC/BzB,EAAK,gBAAI,MAAM,uDAAuD,CAAC,EACvE,MACF,CACA,GAAIyB,GAAS,OAAS,SAAU,OAChC,IAAME,EAASF,EAAQ,KACnBE,GAAQ,UAAY1C,IAClB,SAAY,CAChB,IAAMa,EAAQV,EAAOuC,EAAO,OAAS,CAAC,CAAC,EACvC,OAAQA,EAAO,OAAf,CACE,IAAK,cAAe,CAClBvB,EAAU,EAEV,IAAMwB,EAAcb,EAGpB,OAFIa,IAAgBd,GAClBnB,EAAS,MAAM,YAAY,CAAE,QAASV,EAAgB,QAAS,CAAE,MAAO2C,CAAY,CAAE,CAAC,EAClF,CAAC,CACV,CACA,IAAK,SAEH,OADA7B,EAAOD,EAAM,MAAM,EACZ,CAAC,EACV,IAAK,WACH,OAAOO,EAASP,EAAM,KAAMA,EAAM,SAAS,EAC7C,IAAK,WACH,OAAOW,EAAQX,EAAM,KAAK,EAC5B,IAAK,WACH,OAAOa,EAASb,EAAM,MAAM,EAC9B,IAAK,WACH,OAAON,EAAQ,SAASM,EAAM,GAAG,EACnC,IAAK,QACH,OAAOe,EAAM,EACf,QACE,MAAU,MAAM,mCAAmC,CACvD,CACF,EAAA,CAAG,CAAC,CAAC,KACF,GAAW,CACV,GAAI,CAACpB,GAAQkC,EAAO,KAAO,IAAA,GAAW,OAEtC,IAAME,EACJF,EAAO,SAAW,YAAcrB,EAAK,WAAa,SAAYwB,EAA4B,IAAA,GAC5FnC,EAAS,MAAM,YAAY,CACzB,QAASV,EACT,GAAI0C,EAAO,GACX,SACA,GAAIE,IAAa,IAAA,GACb,CAAC,EACD,CACE,QAAS,CACP,WAAYA,EAAS,mBAAqB,KAC1C,qBAAsBA,EAAS,OAAS,CAAC,CAC3C,CACF,CACN,CAAC,CACH,EACC,GAAmB,CACbpC,GAAQkC,EAAO,KAAO,IAAA,IAC3BhC,EAAS,MAAM,YAAY,CAAE,QAASV,EAAgB,GAAI0C,EAAO,GAAI,MAAOzC,EAAUC,CAAK,CAAE,CAAC,CAChG,CACF,CACF,EACAQ,EAAS,MAAM,MAAM,EACrB,IAAMoC,MAAmB,CACvBxC,EAAM,eAAe,YACnB,CACE,KAAMyC,EAAe1B,EAAK,KAAMW,EAAQgB,EAAgBjB,CAAO,EAAGF,CAAK,EACvE,SACA,SAAUR,EAAK,QACjB,EACA,IACA,CAACX,EAAS,KAAK,CACjB,CACF,EAQA,OAPAJ,EAAM,iBAAiB,OAAQwC,EAAM,CAAE,KAAM,EAAK,CAAC,EACnD,EAAM,OAASG,EAAgBjB,EAAQH,CAAK,EAMrC,CACL,SANgB,GAAsC,CACtD,EAAcqB,EACdzC,GAAQ,eAAe,CAAE,MAAOyC,CAAU,CAAC,EAC3CxC,EAAS,MAAM,YAAY,CAAE,QAASV,EAAgB,QAAS,CAAE,MAAOkD,CAAU,CAAE,CAAC,CACvF,EAGE,YAAe,CACb,EAAO,GACP,aAAahC,CAAO,EACpBZ,EAAM,oBAAoB,OAAQwC,CAAI,EACtCpC,EAAS,MAAM,MAAM,EACrBA,EAAS,MAAM,MAAM,EACjBD,IAAW,IAAA,IAAWA,EAAY,MAAM,CAAC,CAAC,MAAO,GAAmBF,EAAQ,KAAKN,EAAUC,CAAK,CAAC,CAAC,EACtG,EAAM,OAAS,EACjB,CACF,CACF,OAASA,EAAO,CAEd,OADAa,EAAKb,CAAK,EACH,CACL,aAAgB,CAAC,EACjB,YAAe,CACb,aAAagB,CAAO,EACpBR,EAAS,MAAM,MAAM,EACrBA,EAAS,MAAM,MAAM,CACvB,CACF,CACF,CACF,C"}