@agenthippo-ai/agenthippo 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (480) hide show
  1. package/LICENSE +21 -0
  2. package/bin/agenthippo.js +2 -0
  3. package/out/agentpack/github.js +547 -0
  4. package/out/agentpack/index.js +66 -0
  5. package/out/agentpack/install.js +297 -0
  6. package/out/agentpack/manager.js +441 -0
  7. package/out/agentpack/manifest.js +135 -0
  8. package/out/agentpack/paths.js +475 -0
  9. package/out/agentpack/publish.js +248 -0
  10. package/out/agentpack/stores.js +554 -0
  11. package/out/agentpack/types.js +5 -0
  12. package/out/analytics/dashboard/artifactManager.js +439 -0
  13. package/out/analytics/dashboard/fleetDisplayUtils.js +159 -0
  14. package/out/analytics/dashboard/fleetOrchestrator.js +142 -0
  15. package/out/analytics/dashboard/fleetRegistry.js +79 -0
  16. package/out/analytics/dashboard/fleetRowDefaults.js +87 -0
  17. package/out/analytics/dashboard/fleetScriptAdapter.js +146 -0
  18. package/out/analytics/dashboard/fleetStatusUtils.js +30 -0
  19. package/out/analytics/dashboard/fleetTitleUtils.js +68 -0
  20. package/out/analytics/dashboard/fleetTypes.js +29 -0
  21. package/out/analytics/dashboard/index.js +17 -0
  22. package/out/analytics/dashboard/indexingService.js +422 -0
  23. package/out/analytics/dashboard/localFleetAdapter.js +222 -0
  24. package/out/analytics/dashboard/performanceMonitor.js +76 -0
  25. package/out/analytics/dashboard/processManager.js +209 -0
  26. package/out/analytics/dashboard/provider.js +3885 -0
  27. package/out/analytics/dashboard/queryRunner.js +994 -0
  28. package/out/analytics/dashboard/refreshPolicy.js +16 -0
  29. package/out/analytics/dashboard/scheduledFleetFingerprint.js +22 -0
  30. package/out/analytics/dashboard/scheduledFleetStorage.js +241 -0
  31. package/out/analytics/dashboard/scheduledFleetUtils.js +22 -0
  32. package/out/analytics/dashboard/sessionEventFleetStats.js +118 -0
  33. package/out/analytics/dashboard/sessionJsonlFleet.js +204 -0
  34. package/out/analytics/dashboard/teamViewDiscovery.js +106 -0
  35. package/out/analytics/dashboard/viewsConfigMerge.js +221 -0
  36. package/out/analytics/dashboard/webview/analytics-panel.html +155 -0
  37. package/out/analytics/dashboard/webview/codicon.ttf +0 -0
  38. package/out/analytics/dashboard/webview/index.html +78 -0
  39. package/out/analytics/dashboard/webview/panel.js +2295 -0
  40. package/out/analytics/dashboard/webview/runtime-bridge.js +82 -0
  41. package/out/analytics/dashboard/webview/styles.css +1009 -0
  42. package/out/analytics/lifecycle.js +43 -0
  43. package/out/analytics/service.js +1279 -0
  44. package/out/analytics/sessionEvents.js +231 -0
  45. package/out/auth/bootstrapApply.js +72 -0
  46. package/out/auth/brokerClient.js +126 -0
  47. package/out/auth/callbackUri.js +59 -0
  48. package/out/auth/callbackUriParse.js +59 -0
  49. package/out/auth/githubStoreGate.js +70 -0
  50. package/out/auth/loopbackAuthServer.js +165 -0
  51. package/out/auth/pkce.js +9 -0
  52. package/out/auth/provider.js +239 -0
  53. package/out/auth/sessionStore.js +193 -0
  54. package/out/auth/signInFlow.js +182 -0
  55. package/out/auth/types.js +12 -0
  56. package/out/auth-broker/config.js +62 -0
  57. package/out/auth-broker/jwt.js +105 -0
  58. package/out/auth-broker/pkce.js +57 -0
  59. package/out/auth-broker/server.js +539 -0
  60. package/out/auth-broker/store.js +273 -0
  61. package/out/base-prompts/gateway/openclaw-starter.json5 +144 -0
  62. package/out/base-prompts/gateway/slack-socket-mode-minimal.manifest.json +44 -0
  63. package/out/base-prompts/mcp-servers/.mcp.json +13 -0
  64. package/out/base-prompts/mcp-servers/langfuse-analytics/README.md +142 -0
  65. package/out/base-prompts/mcp-servers/langfuse-analytics/mcp.json +13 -0
  66. package/out/base-prompts/mcp-servers/langfuse-analytics/package-lock.json +1192 -0
  67. package/out/base-prompts/mcp-servers/langfuse-analytics/package.json +23 -0
  68. package/out/base-prompts/mcp-servers/langfuse-analytics/scripts/run-with-env.sh +12 -0
  69. package/out/base-prompts/mcp-servers/langfuse-analytics/scripts/sdk-test.js +102 -0
  70. package/out/base-prompts/mcp-servers/langfuse-analytics/scripts/simple-test.js +137 -0
  71. package/out/base-prompts/mcp-servers/langfuse-analytics/scripts/test-client.js +118 -0
  72. package/out/base-prompts/mcp-servers/langfuse-analytics/scripts/test-server.js +209 -0
  73. package/out/base-prompts/mcp-servers/langfuse-analytics/src/client.ts +431 -0
  74. package/out/base-prompts/mcp-servers/langfuse-analytics/src/index.ts +270 -0
  75. package/out/base-prompts/mcp-servers/langfuse-analytics/tsconfig.json +18 -0
  76. package/out/base-prompts/rules/AGENTS.md +204 -0
  77. package/out/base-prompts/skills/agent-browser/SKILL.md +102 -0
  78. package/out/base-prompts/skills/agent-builder/SKILL.md +73 -0
  79. package/out/base-prompts/skills/agent-builder/references/agent-pack.md +63 -0
  80. package/out/base-prompts/skills/agent-builder/references/crewai.md +66 -0
  81. package/out/base-prompts/skills/agent-builder/references/langchain.md +60 -0
  82. package/out/base-prompts/skills/agent-builder/references/raw-sdk.md +73 -0
  83. package/out/base-prompts/skills/agent-engine-creator/SKILL.md +586 -0
  84. package/out/base-prompts/skills/agent-engine-installer/SKILL.md +106 -0
  85. package/out/base-prompts/skills/agent-engine-installer/scripts/install-engine.mjs +259 -0
  86. package/out/base-prompts/skills/agent-engine-installer/scripts/install-engine.ps1 +189 -0
  87. package/out/base-prompts/skills/agenthippo-cli/SKILL.md +69 -0
  88. package/out/base-prompts/skills/agenthippo-cli/scripts/install.sh +63 -0
  89. package/out/base-prompts/skills/agentpack-creator/SKILL.md +375 -0
  90. package/out/base-prompts/skills/agentpack-creator/references/agent-templates.md +261 -0
  91. package/out/base-prompts/skills/agentpack-creator/references/agents-md-guide.md +195 -0
  92. package/out/base-prompts/skills/agentpack-creator/scripts/init_pack.py +391 -0
  93. package/out/base-prompts/skills/agentpack-creator/scripts/init_pack_test.py +294 -0
  94. package/out/base-prompts/skills/agentpack-testbench/SKILL.md +135 -0
  95. package/out/base-prompts/skills/algorithmic-art/LICENSE.txt +202 -0
  96. package/out/base-prompts/skills/algorithmic-art/SKILL.md +405 -0
  97. package/out/base-prompts/skills/algorithmic-art/templates/generator_template.js +223 -0
  98. package/out/base-prompts/skills/algorithmic-art/templates/viewer.html +599 -0
  99. package/out/base-prompts/skills/debug-agent/SKILL.md +83 -0
  100. package/out/base-prompts/skills/desktop-automation/SKILL.md +166 -0
  101. package/out/base-prompts/skills/desktop-automation/references/agenthippo-ui-recipes.md +441 -0
  102. package/out/base-prompts/skills/desktop-automation/scripts/windows-desktop-uia.psm1 +280 -0
  103. package/out/base-prompts/skills/docx/LICENSE.txt +30 -0
  104. package/out/base-prompts/skills/docx/SKILL.md +197 -0
  105. package/out/base-prompts/skills/docx/docx-js.md +350 -0
  106. package/out/base-prompts/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  107. package/out/base-prompts/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  108. package/out/base-prompts/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  109. package/out/base-prompts/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  110. package/out/base-prompts/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  111. package/out/base-prompts/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  112. package/out/base-prompts/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  113. package/out/base-prompts/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  114. package/out/base-prompts/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  115. package/out/base-prompts/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  116. package/out/base-prompts/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  117. package/out/base-prompts/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  118. package/out/base-prompts/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  119. package/out/base-prompts/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  120. package/out/base-prompts/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  121. package/out/base-prompts/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  122. package/out/base-prompts/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  123. package/out/base-prompts/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  124. package/out/base-prompts/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  125. package/out/base-prompts/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  126. package/out/base-prompts/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  127. package/out/base-prompts/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  128. package/out/base-prompts/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  129. package/out/base-prompts/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  130. package/out/base-prompts/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  131. package/out/base-prompts/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  132. package/out/base-prompts/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  133. package/out/base-prompts/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  134. package/out/base-prompts/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  135. package/out/base-prompts/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  136. package/out/base-prompts/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  137. package/out/base-prompts/skills/docx/ooxml/schemas/mce/mc.xsd +75 -0
  138. package/out/base-prompts/skills/docx/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
  139. package/out/base-prompts/skills/docx/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
  140. package/out/base-prompts/skills/docx/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
  141. package/out/base-prompts/skills/docx/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
  142. package/out/base-prompts/skills/docx/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
  143. package/out/base-prompts/skills/docx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  144. package/out/base-prompts/skills/docx/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
  145. package/out/base-prompts/skills/docx/ooxml/scripts/pack.py +159 -0
  146. package/out/base-prompts/skills/docx/ooxml/scripts/unpack.py +29 -0
  147. package/out/base-prompts/skills/docx/ooxml/scripts/validate.py +69 -0
  148. package/out/base-prompts/skills/docx/ooxml/scripts/validation/__init__.py +15 -0
  149. package/out/base-prompts/skills/docx/ooxml/scripts/validation/base.py +951 -0
  150. package/out/base-prompts/skills/docx/ooxml/scripts/validation/docx.py +274 -0
  151. package/out/base-prompts/skills/docx/ooxml/scripts/validation/pptx.py +315 -0
  152. package/out/base-prompts/skills/docx/ooxml/scripts/validation/redlining.py +279 -0
  153. package/out/base-prompts/skills/docx/ooxml.md +610 -0
  154. package/out/base-prompts/skills/docx/scripts/__init__.py +1 -0
  155. package/out/base-prompts/skills/docx/scripts/document.py +1276 -0
  156. package/out/base-prompts/skills/docx/scripts/templates/comments.xml +3 -0
  157. package/out/base-prompts/skills/docx/scripts/templates/commentsExtended.xml +3 -0
  158. package/out/base-prompts/skills/docx/scripts/templates/commentsExtensible.xml +3 -0
  159. package/out/base-prompts/skills/docx/scripts/templates/commentsIds.xml +3 -0
  160. package/out/base-prompts/skills/docx/scripts/templates/people.xml +3 -0
  161. package/out/base-prompts/skills/docx/scripts/utilities.py +374 -0
  162. package/out/base-prompts/skills/gateway-outbound/SKILL.md +136 -0
  163. package/out/base-prompts/skills/mcp-builder/LICENSE.txt +202 -0
  164. package/out/base-prompts/skills/mcp-builder/SKILL.md +328 -0
  165. package/out/base-prompts/skills/mcp-builder/reference/evaluation.md +602 -0
  166. package/out/base-prompts/skills/mcp-builder/reference/mcp_best_practices.md +249 -0
  167. package/out/base-prompts/skills/mcp-builder/reference/node_mcp_server.md +970 -0
  168. package/out/base-prompts/skills/mcp-builder/reference/python_mcp_server.md +719 -0
  169. package/out/base-prompts/skills/mcp-builder/scripts/connections.py +151 -0
  170. package/out/base-prompts/skills/mcp-builder/scripts/evaluation.py +373 -0
  171. package/out/base-prompts/skills/mcp-builder/scripts/example_evaluation.xml +22 -0
  172. package/out/base-prompts/skills/mcp-builder/scripts/requirements.txt +2 -0
  173. package/out/base-prompts/skills/openclaw/SKILL.md +406 -0
  174. package/out/base-prompts/skills/openclaw/scripts/run-smoke.sh +61 -0
  175. package/out/base-prompts/skills/pdf/LICENSE.txt +30 -0
  176. package/out/base-prompts/skills/pdf/SKILL.md +294 -0
  177. package/out/base-prompts/skills/pdf/forms.md +205 -0
  178. package/out/base-prompts/skills/pdf/reference.md +612 -0
  179. package/out/base-prompts/skills/pdf/scripts/check_bounding_boxes.py +70 -0
  180. package/out/base-prompts/skills/pdf/scripts/check_bounding_boxes_test.py +226 -0
  181. package/out/base-prompts/skills/pdf/scripts/check_fillable_fields.py +12 -0
  182. package/out/base-prompts/skills/pdf/scripts/convert_pdf_to_images.py +35 -0
  183. package/out/base-prompts/skills/pdf/scripts/create_validation_image.py +41 -0
  184. package/out/base-prompts/skills/pdf/scripts/extract_form_field_info.py +152 -0
  185. package/out/base-prompts/skills/pdf/scripts/fill_fillable_fields.py +114 -0
  186. package/out/base-prompts/skills/pdf/scripts/fill_pdf_form_with_annotations.py +108 -0
  187. package/out/base-prompts/skills/pptx/LICENSE.txt +30 -0
  188. package/out/base-prompts/skills/pptx/SKILL.md +484 -0
  189. package/out/base-prompts/skills/pptx/html2pptx.md +625 -0
  190. package/out/base-prompts/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  191. package/out/base-prompts/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  192. package/out/base-prompts/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  193. package/out/base-prompts/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  194. package/out/base-prompts/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  195. package/out/base-prompts/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  196. package/out/base-prompts/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  197. package/out/base-prompts/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  198. package/out/base-prompts/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  199. package/out/base-prompts/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  200. package/out/base-prompts/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  201. package/out/base-prompts/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  202. package/out/base-prompts/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  203. package/out/base-prompts/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  204. package/out/base-prompts/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  205. package/out/base-prompts/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  206. package/out/base-prompts/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  207. package/out/base-prompts/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  208. package/out/base-prompts/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  209. package/out/base-prompts/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  210. package/out/base-prompts/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  211. package/out/base-prompts/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  212. package/out/base-prompts/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  213. package/out/base-prompts/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  214. package/out/base-prompts/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  215. package/out/base-prompts/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  216. package/out/base-prompts/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  217. package/out/base-prompts/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  218. package/out/base-prompts/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  219. package/out/base-prompts/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  220. package/out/base-prompts/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  221. package/out/base-prompts/skills/pptx/ooxml/schemas/mce/mc.xsd +75 -0
  222. package/out/base-prompts/skills/pptx/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
  223. package/out/base-prompts/skills/pptx/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
  224. package/out/base-prompts/skills/pptx/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
  225. package/out/base-prompts/skills/pptx/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
  226. package/out/base-prompts/skills/pptx/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
  227. package/out/base-prompts/skills/pptx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  228. package/out/base-prompts/skills/pptx/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
  229. package/out/base-prompts/skills/pptx/ooxml/scripts/pack.py +159 -0
  230. package/out/base-prompts/skills/pptx/ooxml/scripts/unpack.py +29 -0
  231. package/out/base-prompts/skills/pptx/ooxml/scripts/validate.py +69 -0
  232. package/out/base-prompts/skills/pptx/ooxml/scripts/validation/__init__.py +15 -0
  233. package/out/base-prompts/skills/pptx/ooxml/scripts/validation/base.py +951 -0
  234. package/out/base-prompts/skills/pptx/ooxml/scripts/validation/docx.py +274 -0
  235. package/out/base-prompts/skills/pptx/ooxml/scripts/validation/pptx.py +315 -0
  236. package/out/base-prompts/skills/pptx/ooxml/scripts/validation/redlining.py +279 -0
  237. package/out/base-prompts/skills/pptx/ooxml.md +427 -0
  238. package/out/base-prompts/skills/pptx/scripts/html2pptx.js +984 -0
  239. package/out/base-prompts/skills/pptx/scripts/inventory.py +1020 -0
  240. package/out/base-prompts/skills/pptx/scripts/rearrange.py +231 -0
  241. package/out/base-prompts/skills/pptx/scripts/replace.py +385 -0
  242. package/out/base-prompts/skills/pptx/scripts/thumbnail.py +450 -0
  243. package/out/base-prompts/skills/prompt-lab/SKILL.md +149 -0
  244. package/out/base-prompts/skills/prompt-lab/scripts/query-analytics.sh +2551 -0
  245. package/out/base-prompts/skills/skill-creator/LICENSE.txt +202 -0
  246. package/out/base-prompts/skills/skill-creator/SKILL.md +371 -0
  247. package/out/base-prompts/skills/skill-creator/references/output-patterns.md +82 -0
  248. package/out/base-prompts/skills/skill-creator/references/workflows.md +28 -0
  249. package/out/base-prompts/skills/skill-creator/scripts/init_skill.py +303 -0
  250. package/out/base-prompts/skills/skill-creator/scripts/package_skill.py +110 -0
  251. package/out/base-prompts/skills/skill-creator/scripts/quick_validate.py +95 -0
  252. package/out/base-prompts/skills/skill-installer/SKILL.md +251 -0
  253. package/out/base-prompts/skills/skill-installer/references/store-api.md +219 -0
  254. package/out/base-prompts/skills/spotlight-dashboard/SKILL.md +83 -0
  255. package/out/base-prompts/skills/spotlight-insights/SKILL.md +101 -0
  256. package/out/base-prompts/skills/spotlight-optimize/SKILL.md +93 -0
  257. package/out/base-prompts/skills/spotlight-optimize/scripts/query-analytics.sh +2551 -0
  258. package/out/base-prompts/skills/spotlight-query/SKILL.md +314 -0
  259. package/out/base-prompts/skills/spotlight-query/references/otel-schema.md +163 -0
  260. package/out/base-prompts/skills/spotlight-query/scripts/query-analytics.sh +2551 -0
  261. package/out/base-prompts/skills/spotlight-query/scripts/query-analytics.test.sh +744 -0
  262. package/out/base-prompts/skills/spotlight-query/scripts/test-fixtures/analytics/sessions/sess-test-1.jsonl +14 -0
  263. package/out/base-prompts/skills/spotlight-query/scripts/test-fixtures/analytics/traces/.duckdb-index.json +7 -0
  264. package/out/base-prompts/skills/spotlight-query/scripts/test-fixtures/analytics/traces/sample.jsonl +5 -0
  265. package/out/base-prompts/skills/spotlight-report/SKILL.md +86 -0
  266. package/out/base-prompts/skills/spotlight-visualize/SKILL.md +92 -0
  267. package/out/base-prompts/skills/spotlight-visualize/scripts/query-analytics.sh +2551 -0
  268. package/out/base-prompts/skills/xlsx/LICENSE.txt +30 -0
  269. package/out/base-prompts/skills/xlsx/SKILL.md +289 -0
  270. package/out/base-prompts/skills/xlsx/recalc.py +178 -0
  271. package/out/branding.js +23 -0
  272. package/out/cli/commands/anywhere.js +66 -0
  273. package/out/cli/commands/ask.js +243 -0
  274. package/out/cli/commands/auth-broker.js +24 -0
  275. package/out/cli/commands/auth.js +219 -0
  276. package/out/cli/commands/chat.js +354 -0
  277. package/out/cli/commands/deploy.js +223 -0
  278. package/out/cli/commands/gateway.js +160 -0
  279. package/out/cli/commands/pack.js +220 -0
  280. package/out/cli/commands/probe-custom-engine.js +82 -0
  281. package/out/cli/commands/serve.js +583 -0
  282. package/out/cli/commands/store.js +919 -0
  283. package/out/cli/credential-context.js +113 -0
  284. package/out/cli/deploy-init.js +2087 -0
  285. package/out/cli/deps.js +238 -0
  286. package/out/cli/index.js +390 -0
  287. package/out/cli/pack-loader.js +376 -0
  288. package/out/cli/run-custom-engine-runner.js +318 -0
  289. package/out/cli/runtime.js +409 -0
  290. package/out/cli/serve-hardening.js +325 -0
  291. package/out/cli/state-sync.js +135 -0
  292. package/out/cli/utils.js +220 -0
  293. package/out/cli/vscode-shim.js +86 -0
  294. package/out/engines/base.js +159 -0
  295. package/out/engines/claude.js +1215 -0
  296. package/out/engines/codex.js +759 -0
  297. package/out/engines/custom.js +632 -0
  298. package/out/engines/customEngineIpc.js +95 -0
  299. package/out/engines/customEngineRunnerEmbed.js +107 -0
  300. package/out/engines/customRegistry.js +274 -0
  301. package/out/engines/embeddedCustomEngineRunner.generated.js +9 -0
  302. package/out/engines/engineApiKey.js +138 -0
  303. package/out/engines/factory.js +45 -0
  304. package/out/engines/install.js +372 -0
  305. package/out/engines/persistentEngineWorker.js +320 -0
  306. package/out/engines/publish.js +341 -0
  307. package/out/engines/types.js +17 -0
  308. package/out/examples/run-headless-repl.js +291 -0
  309. package/out/examples/run-headless.js +187 -0
  310. package/out/extension.js +4472 -0
  311. package/out/gateway/bridge.js +805 -0
  312. package/out/gateway/cli-agent-id.js +36 -0
  313. package/out/gateway/client.js +303 -0
  314. package/out/gateway/client.test.js +395 -0
  315. package/out/gateway/gateway-scope-errors.js +14 -0
  316. package/out/gateway/gatewayBackup.js +76 -0
  317. package/out/gateway/gatewayRouteIndex.js +371 -0
  318. package/out/gateway/gatewaySessionStore.js +243 -0
  319. package/out/gateway/index.js +31 -0
  320. package/out/gateway/lifecycle.js +3056 -0
  321. package/out/gateway/openclaw-channel-routing.js +317 -0
  322. package/out/gateway/outboundHandles.js +373 -0
  323. package/out/gateway/outboundPaths.js +72 -0
  324. package/out/gateway/outboundSend.js +254 -0
  325. package/out/gateway/protocol.js +48 -0
  326. package/out/gateway/resetMappings.js +52 -0
  327. package/out/gateway/service.js +1244 -0
  328. package/out/gateway/sessionRouting.js +77 -0
  329. package/out/headless/index.js +505 -0
  330. package/out/headless/sync.js +473 -0
  331. package/out/mcp/publish.js +143 -0
  332. package/out/mcp.js +597 -0
  333. package/out/permissions.js +108 -0
  334. package/out/permissions.mapping.yaml +68 -0
  335. package/out/registry/index.js +332 -0
  336. package/out/remote/handleRemoteChat.js +122 -0
  337. package/out/remote/remotePackStatusBar.js +103 -0
  338. package/out/remote/serveClient.js +216 -0
  339. package/out/remoteSkills.js +191 -0
  340. package/out/runtime/index.js +32 -0
  341. package/out/runtime/interfaces/config-provider.js +32 -0
  342. package/out/runtime/interfaces/edit-tracker.js +22 -0
  343. package/out/runtime/interfaces/index.js +29 -0
  344. package/out/runtime/interfaces/logger.js +40 -0
  345. package/out/runtime/interfaces/permission-handler.js +66 -0
  346. package/out/runtime/interfaces/session-store.js +342 -0
  347. package/out/runtime/vscode/index.js +20 -0
  348. package/out/runtime/vscode/vscode-config-provider.js +77 -0
  349. package/out/runtime/vscode/vscode-edit-tracker.js +120 -0
  350. package/out/runtime/vscode/vscode-logger.js +30 -0
  351. package/out/runtime/vscode/vscode-permission-handler.js +72 -0
  352. package/out/runtime/vscode/vscode-session-store.js +22 -0
  353. package/out/scripts/agentide-litellm.ps1 +501 -0
  354. package/out/scripts/agentide-litellm.sh +700 -0
  355. package/out/scripts/agentide_litellm_hooks_v1.py +604 -0
  356. package/out/scripts/analytics/agent-fleet-widget.js +954 -0
  357. package/out/scripts/analytics/agentide-litellm-otel.config.yaml +160 -0
  358. package/out/scripts/analytics/default-seed-scripts.json +12 -0
  359. package/out/scripts/analytics/duckdbLocator.js +29 -0
  360. package/out/scripts/analytics/fleet-local-adapter.js +246 -0
  361. package/out/scripts/analytics/fleet-workflow.sh +263 -0
  362. package/out/scripts/analytics/generate-default-charts.py +685 -0
  363. package/out/scripts/analytics/hotspot-analysis-widget.js +909 -0
  364. package/out/scripts/analytics/index-traces.py +1394 -0
  365. package/out/scripts/analytics/install-analytics.sh +286 -0
  366. package/out/scripts/analytics/live-fleet-4-collector.cjs +315 -0
  367. package/out/scripts/analytics/live-fleet-4-daemon.mjs +134 -0
  368. package/out/scripts/analytics/live-fleet-4-widget.cjs +433 -0
  369. package/out/scripts/analytics/otel-collector.yaml +55 -0
  370. package/out/scripts/analytics/query-analytics.ps1 +396 -0
  371. package/out/scripts/analytics/query-analytics.sh +2551 -0
  372. package/out/scripts/analytics/session-comparison-widget.js +1468 -0
  373. package/out/scripts/analytics/session-timeline-widget.js +2137 -0
  374. package/out/scripts/analytics/setup-analytics.ps1 +432 -0
  375. package/out/scripts/analytics/setup-analytics.sh +854 -0
  376. package/out/scripts/analytics/start-analytics.ps1 +169 -0
  377. package/out/scripts/analytics/start-analytics.sh +323 -0
  378. package/out/scripts/analytics/token-cost-flamegraph-widget.js +954 -0
  379. package/out/scripts/analytics/token-cost-trend-widget.js +1062 -0
  380. package/out/scripts/analytics/workflows-collector.cjs +315 -0
  381. package/out/scripts/analytics/workflows-daemon.mjs +186 -0
  382. package/out/scripts/analytics/workflows-widget.cjs +433 -0
  383. package/out/scripts/analytics/wow-model-widget.js +191 -0
  384. package/out/scripts/gateway/Dockerfile.serve +45 -0
  385. package/out/scripts/gateway/docker-serve.sh +248 -0
  386. package/out/scripts/gateway/setup-gateway-server.ps1 +953 -0
  387. package/out/scripts/gateway/setup-gateway-server.sh +935 -0
  388. package/out/scripts/gateway/setup-gateway.ps1 +1813 -0
  389. package/out/scripts/gateway/setup-gateway.sh +1541 -0
  390. package/out/scripts/setup-cli.ps1 +86 -0
  391. package/out/scripts/setup-cli.sh +117 -0
  392. package/out/scripts/tools-manifest.json +83 -0
  393. package/out/scripts/vendor-tools.mjs +234 -0
  394. package/out/session.js +272 -0
  395. package/out/shared/agentEngines.js +170 -0
  396. package/out/shared/index.js +109 -0
  397. package/out/shared/models.js +235 -0
  398. package/out/shared/providers.js +202 -0
  399. package/out/skills/publish.js +178 -0
  400. package/out/spotlight/install.js +339 -0
  401. package/out/spotlight/publish.js +544 -0
  402. package/out/spotlight/yaml.js +31 -0
  403. package/out/store/github/setup.js +235 -0
  404. package/out/store/github/templates/build-index.ts +339 -0
  405. package/out/store/github/templates/build-index.yml +97 -0
  406. package/out/store/github/templates/package.json +11 -0
  407. package/out/store/index.js +755 -0
  408. package/out/store/oramaIndex.js +884 -0
  409. package/out/store/shared.js +241 -0
  410. package/out/sync.js +1827 -0
  411. package/out/terminalLogger.js +358 -0
  412. package/out/test/agentEnvFile.test.js +97 -0
  413. package/out/test/agentYaml.test.js +373 -0
  414. package/out/test/agentpack.test.js +639 -0
  415. package/out/test/analytics-lifecycle.test.js +174 -0
  416. package/out/test/analytics.test.js +524 -0
  417. package/out/test/auth-bootstrapApply.test.js +102 -0
  418. package/out/test/auth-broker.test.js +434 -0
  419. package/out/test/auth-callback.test.js +62 -0
  420. package/out/test/branding.test.js +229 -0
  421. package/out/test/cli-agent-id.test.js +55 -0
  422. package/out/test/credential-context.test.js +105 -0
  423. package/out/test/customEngineInstall.test.js +100 -0
  424. package/out/test/customRegistry.test.js +122 -0
  425. package/out/test/deploy-init.test.js +532 -0
  426. package/out/test/deps-auto-install.test.js +81 -0
  427. package/out/test/engine-integration.test.js +297 -0
  428. package/out/test/enginePaths.test.js +195 -0
  429. package/out/test/enginePublish.test.js +82 -0
  430. package/out/test/fleetDisplayUtils.test.js +96 -0
  431. package/out/test/gateway-client.test.js +381 -0
  432. package/out/test/gateway-lifecycle.test.js +608 -0
  433. package/out/test/gateway-outbound.test.js +531 -0
  434. package/out/test/gateway-reset-mappings.test.js +221 -0
  435. package/out/test/gateway-route-index.test.js +235 -0
  436. package/out/test/gateway-session-routing.test.js +47 -0
  437. package/out/test/gateway-session-store.test.js +216 -0
  438. package/out/test/github.test.js +232 -0
  439. package/out/test/headless-sync.test.js +279 -0
  440. package/out/test/helpers/manifest-fixtures.js +27 -0
  441. package/out/test/mcp-obo.test.js +82 -0
  442. package/out/test/mcp.test.js +307 -0
  443. package/out/test/openclaw-channel-routing.test.js +191 -0
  444. package/out/test/pathSafety.test.js +63 -0
  445. package/out/test/permissions.test.js +175 -0
  446. package/out/test/persistent-engine-worker.test.js +220 -0
  447. package/out/test/refreshPolicy.test.js +60 -0
  448. package/out/test/registry.test.js +351 -0
  449. package/out/test/runtime.test.js +349 -0
  450. package/out/test/scheduledFleetStorage.test.js +72 -0
  451. package/out/test/serve-hardening.test.js +192 -0
  452. package/out/test/serveClient.test.js +173 -0
  453. package/out/test/sessionJsonlFleet.test.js +78 -0
  454. package/out/test/shared.test.js +173 -0
  455. package/out/test/skills-mcp.test.js +299 -0
  456. package/out/test/spotlightPublish.test.js +299 -0
  457. package/out/test/spotlightYaml.test.js +58 -0
  458. package/out/test/state-sync-peer.test.js +74 -0
  459. package/out/test/store.test.js +331 -0
  460. package/out/test/stores.test.js +504 -0
  461. package/out/test/sync-switch.test.js +251 -0
  462. package/out/test/teamViewDiscovery.test.js +90 -0
  463. package/out/test/toolPath.test.js +120 -0
  464. package/out/test/utils.test.js +308 -0
  465. package/out/test/viewsConfigMerge.test.js +180 -0
  466. package/out/test/windows-command-line.test.js +75 -0
  467. package/out/utils/agentEnvFile.js +131 -0
  468. package/out/utils/binary.js +175 -0
  469. package/out/utils/index.js +37 -0
  470. package/out/utils/network.js +74 -0
  471. package/out/utils/pathSafety.js +60 -0
  472. package/out/utils/paths.js +116 -0
  473. package/out/utils/pid.js +180 -0
  474. package/out/utils/pythonRunner.js +258 -0
  475. package/out/utils/resolveNodeBinary.js +168 -0
  476. package/out/utils/toolPath.js +83 -0
  477. package/out/utils/windowsCommandLine.js +29 -0
  478. package/out/utils.js +915 -0
  479. package/out/workspaceFolders.js +59 -0
  480. package/package.json +41 -0
@@ -0,0 +1,1009 @@
1
+ /* -----------------------------------------------------------------------------
2
+ * Spotlight Dashboard Styles
3
+ * Modern, minimal design using VS Code theme variables
4
+ * ----------------------------------------------------------------------------- */
5
+
6
+ /* ===========================================================================
7
+ Base
8
+ =========================================================================== */
9
+
10
+ * {
11
+ box-sizing: border-box;
12
+ }
13
+
14
+ body {
15
+ margin: 0;
16
+ padding: 0;
17
+ font-family: var(--vscode-font-family);
18
+ font-size: var(--vscode-font-size);
19
+ color: var(--vscode-foreground);
20
+ background: var(--vscode-panel-background);
21
+ height: 100vh;
22
+ overflow-y: auto;
23
+ overflow-x: hidden;
24
+ }
25
+
26
+ #app {
27
+ display: block;
28
+ min-height: 100%;
29
+ }
30
+
31
+ /* ===========================================================================
32
+ Summary Cards Grid
33
+ =========================================================================== */
34
+
35
+ /* Summary section: can be hidden or scrolled away */
36
+ .summary-section {
37
+ background: var(--vscode-panel-background);
38
+ border-bottom: 1px solid var(--vscode-panel-border);
39
+ transition: flex 0.2s ease, opacity 0.2s ease;
40
+ }
41
+ .summary-section.collapsed .summary-section-header {
42
+ border-bottom: none;
43
+ }
44
+ .summary-section.collapsed #summary-cards {
45
+ display: none !important;
46
+ }
47
+ .summary-section-header {
48
+ display: flex;
49
+ align-items: center;
50
+ justify-content: space-between;
51
+ padding: 8px 12px;
52
+ gap: 8px;
53
+ border-bottom: 1px solid var(--vscode-panel-border);
54
+ }
55
+ .summary-section:not(.collapsed) .summary-section-header {
56
+ border-bottom-color: transparent;
57
+ }
58
+ .summary-section-title {
59
+ font-size: 0.8em;
60
+ color: var(--vscode-descriptionForeground);
61
+ text-transform: uppercase;
62
+ letter-spacing: 0.04em;
63
+ }
64
+ .summary-toggle-btn {
65
+ font-size: 0.75em;
66
+ padding: 2px 8px;
67
+ }
68
+
69
+ #summary-cards {
70
+ display: grid;
71
+ grid-template-columns: repeat(2, 1fr);
72
+ gap: 8px;
73
+ padding: 12px;
74
+ background: var(--vscode-panel-background);
75
+ }
76
+
77
+ .metric-card {
78
+ background: var(--vscode-editor-background);
79
+ border: 1px solid var(--vscode-panel-border);
80
+ border-radius: 6px;
81
+ padding: 12px;
82
+ text-align: center;
83
+ transition: border-color 0.15s;
84
+ }
85
+
86
+ .metric-card:hover {
87
+ border-color: var(--vscode-focusBorder);
88
+ }
89
+
90
+ .metric-icon {
91
+ font-size: 1.1em;
92
+ margin-bottom: 4px;
93
+ opacity: 0.9;
94
+ }
95
+
96
+ .metric-value {
97
+ font-size: 1.25em;
98
+ font-weight: 600;
99
+ color: var(--vscode-foreground);
100
+ margin-bottom: 2px;
101
+ }
102
+
103
+ .metric-label {
104
+ font-size: 0.75em;
105
+ color: var(--vscode-descriptionForeground);
106
+ text-transform: uppercase;
107
+ letter-spacing: 0.5px;
108
+ }
109
+
110
+ #summary-cards.loading .metric-card {
111
+ border-color: color-mix(in srgb, var(--vscode-panel-border) 75%, transparent);
112
+ }
113
+
114
+ .metric-card.skeleton {
115
+ display: flex;
116
+ flex-direction: column;
117
+ align-items: center;
118
+ gap: 6px;
119
+ }
120
+
121
+ .skeleton-line {
122
+ background: linear-gradient(
123
+ 90deg,
124
+ color-mix(in srgb, var(--vscode-panel-border) 70%, transparent) 25%,
125
+ color-mix(in srgb, var(--vscode-panel-border) 35%, transparent) 50%,
126
+ color-mix(in srgb, var(--vscode-panel-border) 70%, transparent) 75%
127
+ );
128
+ background-size: 200% 100%;
129
+ border-radius: 4px;
130
+ animation: skeleton-shimmer 1.2s ease-in-out infinite;
131
+ }
132
+
133
+ .skeleton-icon {
134
+ width: 20px;
135
+ height: 16px;
136
+ }
137
+
138
+ .skeleton-value {
139
+ width: 72%;
140
+ height: 20px;
141
+ }
142
+
143
+ .skeleton-label {
144
+ width: 55%;
145
+ height: 10px;
146
+ }
147
+
148
+ @keyframes skeleton-shimmer {
149
+ 0% { background-position: 200% 0; }
150
+ 100% { background-position: -200% 0; }
151
+ }
152
+
153
+ /* ===========================================================================
154
+ Gallery Section
155
+ =========================================================================== */
156
+
157
+ #gallery {
158
+ overflow: visible;
159
+ padding: 12px;
160
+ min-height: 100px;
161
+ }
162
+
163
+ #gallery-content {
164
+ display: flex;
165
+ flex-direction: column;
166
+ gap: 12px;
167
+ }
168
+
169
+ /* Fleet view: single full-width dashboard (Fleet Operations UI) */
170
+ .fleet-dashboard-full {
171
+ flex: 1;
172
+ min-height: 400px;
173
+ cursor: default;
174
+ display: flex;
175
+ flex-direction: column;
176
+ }
177
+ .fleet-dashboard-full .artifact-content {
178
+ flex: 1 1 auto;
179
+ min-height: 400px;
180
+ display: flex;
181
+ padding: 0;
182
+ overflow: hidden;
183
+ }
184
+ .fleet-dashboard-full .html-preview {
185
+ position: relative;
186
+ flex: 1 1 auto;
187
+ min-height: 0;
188
+ display: flex;
189
+ flex-direction: column;
190
+ }
191
+ .fleet-dashboard-full .html-preview iframe {
192
+ flex: 1 1 auto;
193
+ width: 100%;
194
+ height: 100%;
195
+ min-height: 0;
196
+ border: none;
197
+ display: block;
198
+ }
199
+
200
+ /* State containers */
201
+ .state-container {
202
+ display: flex;
203
+ flex-direction: column;
204
+ align-items: center;
205
+ justify-content: center;
206
+ min-height: 150px;
207
+ color: var(--vscode-descriptionForeground);
208
+ text-align: center;
209
+ padding: 20px;
210
+ }
211
+
212
+ .spinner {
213
+ width: 24px;
214
+ height: 24px;
215
+ border: 2px solid var(--vscode-progressBar-background);
216
+ border-top-color: transparent;
217
+ border-radius: 50%;
218
+ animation: spin 1s linear infinite;
219
+ margin-bottom: 12px;
220
+ }
221
+
222
+ @keyframes spin {
223
+ to { transform: rotate(360deg); }
224
+ }
225
+
226
+ .state-icon {
227
+ font-size: 2em;
228
+ margin-bottom: 12px;
229
+ opacity: 0.8;
230
+ }
231
+
232
+ .state-title {
233
+ font-weight: 500;
234
+ margin-bottom: 6px;
235
+ }
236
+
237
+ .state-hint {
238
+ font-size: 0.85em;
239
+ color: var(--vscode-descriptionForeground);
240
+ max-width: 280px;
241
+ line-height: 1.4;
242
+ }
243
+
244
+ /* Quick prompt buttons */
245
+ .quick-prompts {
246
+ display: flex;
247
+ flex-wrap: wrap;
248
+ gap: 6px;
249
+ justify-content: center;
250
+ margin-top: 14px;
251
+ }
252
+
253
+ .quick-prompt {
254
+ background: var(--vscode-button-secondaryBackground);
255
+ color: var(--vscode-button-secondaryForeground);
256
+ border: none;
257
+ border-radius: 4px;
258
+ padding: 5px 10px;
259
+ font-size: 0.8em;
260
+ cursor: pointer;
261
+ transition: background 0.15s, transform 0.1s;
262
+ }
263
+
264
+ .quick-prompt:hover {
265
+ background: var(--vscode-button-secondaryHoverBackground);
266
+ transform: translateY(-1px);
267
+ }
268
+
269
+ .quick-prompt:active {
270
+ transform: translateY(0);
271
+ }
272
+
273
+ /* ===========================================================================
274
+ Artifact Cards
275
+ =========================================================================== */
276
+
277
+ .artifact-card {
278
+ position: relative;
279
+ background: var(--vscode-editor-background);
280
+ border: 1px solid var(--vscode-panel-border);
281
+ border-radius: 8px;
282
+ overflow: hidden;
283
+ cursor: pointer;
284
+ transition: border-color 0.15s, box-shadow 0.15s;
285
+ display: flex;
286
+ flex-direction: column;
287
+ }
288
+ .artifact-card .artifact-content {
289
+ flex: 1 1 auto;
290
+ min-height: 120px;
291
+ display: flex;
292
+ flex-direction: column;
293
+ }
294
+ .artifact-card .artifact-content .html-preview,
295
+ .artifact-card .artifact-content .html-preview iframe {
296
+ flex: 1 1 auto;
297
+ height: 100%;
298
+ min-height: 0;
299
+ display: block;
300
+ }
301
+ .artifact-card .resize-handle {
302
+ position: absolute;
303
+ bottom: 0;
304
+ left: 0;
305
+ right: 0;
306
+ height: 6px;
307
+ cursor: ns-resize;
308
+ z-index: 3;
309
+ background: transparent;
310
+ }
311
+ .artifact-card .resize-handle:hover,
312
+ .artifact-card .resize-handle:active {
313
+ background: var(--vscode-focusBorder);
314
+ opacity: 0.4;
315
+ }
316
+ .artifact-card .resize-handle::after {
317
+ content: '';
318
+ position: absolute;
319
+ left: 50%;
320
+ top: 50%;
321
+ transform: translate(-50%, -50%);
322
+ width: 24px;
323
+ height: 3px;
324
+ border-radius: 2px;
325
+ background: var(--vscode-panel-border);
326
+ }
327
+ .artifact-card .resize-handle:hover::after {
328
+ background: var(--vscode-focusBorder);
329
+ }
330
+
331
+ .artifact-card:hover {
332
+ border-color: var(--vscode-focusBorder);
333
+ }
334
+
335
+ .artifact-card.expanded {
336
+ box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
337
+ }
338
+
339
+ .artifact-card.layout-disabled {
340
+ opacity: 0.92;
341
+ }
342
+
343
+ /* Hide chart body when user chose Hide; meta + actions stay so Show still works. */
344
+ .artifact-card.layout-disabled .artifact-content {
345
+ display: none;
346
+ }
347
+
348
+ .artifact-card.chart-refreshing .artifact-content {
349
+ opacity: 0.78;
350
+ }
351
+
352
+ .artifact-refresh-indicator {
353
+ position: absolute;
354
+ top: 8px;
355
+ right: 8px;
356
+ z-index: 2;
357
+ font-size: 0.72em;
358
+ line-height: 1;
359
+ padding: 4px 8px;
360
+ border-radius: 999px;
361
+ background: color-mix(in srgb, var(--vscode-editorInfo-background) 88%, transparent);
362
+ border: 1px solid var(--vscode-editorInfo-border);
363
+ color: var(--vscode-foreground);
364
+ pointer-events: none;
365
+ white-space: nowrap;
366
+ }
367
+
368
+ .artifact-refresh-indicator::before {
369
+ content: '';
370
+ display: inline-block;
371
+ width: 7px;
372
+ height: 7px;
373
+ margin-right: 6px;
374
+ border: 1px solid var(--vscode-progressBar-background);
375
+ border-top-color: transparent;
376
+ border-radius: 50%;
377
+ animation: spin 0.9s linear infinite;
378
+ vertical-align: -1px;
379
+ }
380
+
381
+ .artifact-content {
382
+ overflow: hidden;
383
+ display: flex;
384
+ align-items: center;
385
+ justify-content: center;
386
+ background: var(--vscode-editor-background);
387
+ }
388
+
389
+ .artifact-content img {
390
+ max-width: 100%;
391
+ max-height: 220px;
392
+ object-fit: contain;
393
+ }
394
+
395
+ .artifact-card.expanded .artifact-content img {
396
+ max-height: none;
397
+ }
398
+
399
+ .artifact-content iframe {
400
+ width: 100%;
401
+ height: 100%;
402
+ min-height: 320px;
403
+ border: none;
404
+ background: var(--vscode-editor-background);
405
+ }
406
+
407
+ .artifact-content .html-preview {
408
+ width: 100%;
409
+ min-height: 320px;
410
+ display: flex;
411
+ align-items: center;
412
+ justify-content: center;
413
+ background: var(--vscode-editor-background);
414
+ }
415
+
416
+ .artifact-content .html-preview.ready {
417
+ align-items: stretch;
418
+ justify-content: stretch;
419
+ }
420
+
421
+ .artifact-content .html-preview-loading,
422
+ .artifact-content .html-preview-fallback {
423
+ padding: 12px;
424
+ font-size: 0.82em;
425
+ color: var(--vscode-descriptionForeground);
426
+ text-align: center;
427
+ max-width: 90%;
428
+ }
429
+
430
+ .artifact-card.expanded .artifact-content iframe {
431
+ height: 100%;
432
+ min-height: 600px;
433
+ }
434
+
435
+ .artifact-content .markdown-preview {
436
+ padding: 12px;
437
+ font-size: 0.85em;
438
+ line-height: 1.5;
439
+ max-height: 180px;
440
+ overflow-y: auto;
441
+ width: 100%;
442
+ }
443
+
444
+ .artifact-content .data-preview {
445
+ padding: 16px;
446
+ text-align: center;
447
+ color: var(--vscode-descriptionForeground);
448
+ }
449
+
450
+ .artifact-content .data-preview code {
451
+ background: var(--vscode-textCodeBlock-background);
452
+ padding: 4px 8px;
453
+ border-radius: 4px;
454
+ font-family: var(--vscode-editor-font-family);
455
+ }
456
+
457
+ /* Artifact metadata bar */
458
+ .artifact-meta {
459
+ display: flex;
460
+ align-items: center;
461
+ gap: 8px;
462
+ padding: 10px 12px;
463
+ border-top: 1px solid var(--vscode-panel-border);
464
+ font-size: 0.8em;
465
+ }
466
+
467
+ .artifact-name {
468
+ font-weight: 500;
469
+ color: var(--vscode-foreground);
470
+ white-space: nowrap;
471
+ overflow: hidden;
472
+ text-overflow: ellipsis;
473
+ flex: 1;
474
+ }
475
+
476
+ .generator-badge {
477
+ background: var(--vscode-badge-background);
478
+ color: var(--vscode-badge-foreground);
479
+ padding: 2px 6px;
480
+ border-radius: 3px;
481
+ font-size: 0.75em;
482
+ font-weight: 500;
483
+ }
484
+
485
+ .source-badge {
486
+ background: var(--vscode-charts-purple);
487
+ color: white;
488
+ padding: 2px 6px;
489
+ border-radius: 3px;
490
+ font-size: 0.7em;
491
+ font-weight: 500;
492
+ text-transform: uppercase;
493
+ }
494
+
495
+ .layout-badge {
496
+ background: var(--vscode-editorInfo-background);
497
+ color: var(--vscode-foreground);
498
+ padding: 2px 6px;
499
+ border-radius: 3px;
500
+ font-size: 0.72em;
501
+ font-weight: 500;
502
+ }
503
+
504
+ .layout-badge.disabled {
505
+ background: var(--vscode-inputValidation-warningBackground);
506
+ color: var(--vscode-inputValidation-warningForeground);
507
+ }
508
+
509
+ .artifact-time,
510
+ .artifact-size {
511
+ color: var(--vscode-descriptionForeground);
512
+ white-space: nowrap;
513
+ }
514
+
515
+ /* Artifact actions */
516
+ .artifact-actions {
517
+ display: flex;
518
+ gap: 4px;
519
+ padding: 0 12px 10px;
520
+ }
521
+
522
+ .action-btn {
523
+ background: none;
524
+ border: none;
525
+ color: var(--vscode-textLink-foreground);
526
+ cursor: pointer;
527
+ font-size: 0.8em;
528
+ padding: 3px 8px;
529
+ border-radius: 4px;
530
+ transition: background 0.15s;
531
+ }
532
+
533
+ .action-btn:hover {
534
+ background: var(--vscode-button-secondaryBackground);
535
+ }
536
+
537
+ .action-btn.delete-btn:hover {
538
+ background: var(--vscode-inputValidation-errorBackground);
539
+ color: var(--vscode-errorForeground);
540
+ }
541
+
542
+ .action-btn.toggle-enabled-btn {
543
+ font-weight: 500;
544
+ }
545
+
546
+ /* Delete animation */
547
+ .artifact-card.deleting {
548
+ opacity: 0;
549
+ transform: translateX(-20px);
550
+ transition: opacity 0.3s, transform 0.3s;
551
+ }
552
+
553
+ /* ===========================================================================
554
+ Gallery Toolbar
555
+ =========================================================================== */
556
+
557
+ #gallery-toolbar {
558
+ display: flex;
559
+ align-items: center;
560
+ justify-content: space-between;
561
+ padding: 8px 12px;
562
+ border-bottom: 1px solid var(--vscode-panel-border);
563
+ }
564
+
565
+ .toolbar-title {
566
+ font-size: 0.85em;
567
+ font-weight: 500;
568
+ color: var(--vscode-foreground);
569
+ }
570
+
571
+ .toolbar-actions {
572
+ display: flex;
573
+ align-items: center;
574
+ gap: 6px;
575
+ flex: 1;
576
+ min-width: 0;
577
+ justify-content: flex-end;
578
+ }
579
+
580
+ .toolbar-icon-group {
581
+ display: flex;
582
+ align-items: center;
583
+ gap: 6px;
584
+ flex-shrink: 0;
585
+ }
586
+
587
+ .toolbar-actions .toolbar-select {
588
+ flex: 1 1 0;
589
+ min-width: 72px;
590
+ }
591
+
592
+
593
+ .toolbar-select {
594
+ max-width: 180px;
595
+ background: var(--vscode-dropdown-background);
596
+ color: var(--vscode-dropdown-foreground);
597
+ border: 1px solid var(--vscode-dropdown-border);
598
+ border-radius: 4px;
599
+ padding: 3px 6px;
600
+ font-size: 0.75em;
601
+ }
602
+
603
+ #view-select {
604
+ max-width: 160px;
605
+ }
606
+
607
+ /* Agent Team sidebar: no Spotlight view CRUD; view picker shown via panel.js when >1 team view. */
608
+ body.spotlight-surface-team #share-view-btn,
609
+ body.spotlight-surface-team #install-view-btn,
610
+ body.spotlight-surface-team #share-scripts-only-menu-item,
611
+ body.spotlight-surface-team [data-action="new-view"],
612
+ body.spotlight-surface-team [data-action="duplicate-view"],
613
+ body.spotlight-surface-team [data-action="rename-view"],
614
+ body.spotlight-surface-team [data-action="delete-view"],
615
+ body.spotlight-surface-team [data-action="edit-view-scripts"],
616
+ body.spotlight-surface-team [data-action="share-scripts-only"],
617
+ body.spotlight-surface-team [data-action="refresh-all-views"] {
618
+ display: none !important;
619
+ }
620
+
621
+ .toolbar-btn {
622
+ background: none;
623
+ border: 1px solid var(--vscode-panel-border);
624
+ color: var(--vscode-foreground);
625
+ border-radius: 4px;
626
+ padding: 4px 10px;
627
+ font-size: 0.78em;
628
+ cursor: pointer;
629
+ display: flex;
630
+ align-items: center;
631
+ gap: 4px;
632
+ transition: background 0.15s, border-color 0.15s;
633
+ }
634
+
635
+ .toolbar-btn:hover {
636
+ background: var(--vscode-button-secondaryBackground);
637
+ border-color: var(--vscode-focusBorder);
638
+ }
639
+
640
+ .toolbar-btn:disabled {
641
+ opacity: 0.45;
642
+ cursor: not-allowed;
643
+ pointer-events: none;
644
+ }
645
+
646
+ .toolbar-btn.share-unavailable {
647
+ opacity: 0.75;
648
+ }
649
+
650
+ .toolbar-btn.refreshing {
651
+ opacity: 0.6;
652
+ pointer-events: none;
653
+ }
654
+
655
+ .toolbar-btn .btn-icon {
656
+ font-size: 1em;
657
+ display: inline-block;
658
+ line-height: 1;
659
+ transform-origin: 50% 50%;
660
+ }
661
+
662
+ .toolbar-btn.refreshing .btn-icon {
663
+ animation: spin 1s linear infinite;
664
+ }
665
+
666
+ .toolbar-btn.icon-only {
667
+ padding: 4px;
668
+ width: 28px;
669
+ height: 28px;
670
+ justify-content: center;
671
+ }
672
+
673
+ .toolbar-btn.icon-only .btn-icon {
674
+ font-size: 1.3em;
675
+ line-height: 1;
676
+ }
677
+
678
+ .toolbar-btn .menu-icon {
679
+ font-size: 1.1em;
680
+ }
681
+
682
+ /* Toolbar Menu Container */
683
+ .toolbar-menu-container {
684
+ position: relative;
685
+ flex-shrink: 0;
686
+ }
687
+
688
+ .toolbar-dropdown {
689
+ position: absolute;
690
+ top: 100%;
691
+ left: 0;
692
+ z-index: 100;
693
+ min-width: 200px;
694
+ background: var(--vscode-dropdown-background);
695
+ border: 1px solid var(--vscode-dropdown-border);
696
+ border-radius: 6px;
697
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
698
+ padding: 4px 0;
699
+ margin-top: 4px;
700
+ opacity: 0;
701
+ visibility: hidden;
702
+ transform: translateY(-4px);
703
+ transition: opacity 0.15s, visibility 0.15s, transform 0.15s;
704
+ }
705
+
706
+ .toolbar-dropdown.open {
707
+ opacity: 1;
708
+ visibility: visible;
709
+ transform: translateY(0);
710
+ }
711
+
712
+ .dropdown-item {
713
+ display: flex;
714
+ align-items: center;
715
+ gap: 8px;
716
+ width: 100%;
717
+ padding: 8px 12px;
718
+ background: none;
719
+ border: none;
720
+ color: var(--vscode-dropdown-foreground);
721
+ font-size: 0.82em;
722
+ text-align: left;
723
+ cursor: pointer;
724
+ transition: background 0.1s;
725
+ }
726
+
727
+ .dropdown-item:disabled {
728
+ opacity: 0.45;
729
+ cursor: not-allowed;
730
+ pointer-events: none;
731
+ }
732
+
733
+ .dropdown-item.share-unavailable {
734
+ opacity: 0.75;
735
+ }
736
+
737
+ .dropdown-item:hover {
738
+ background: var(--vscode-list-hoverBackground);
739
+ }
740
+
741
+ .dropdown-item:focus {
742
+ outline: none;
743
+ background: var(--vscode-list-focusBackground);
744
+ }
745
+
746
+ .dropdown-icon {
747
+ font-size: 1em;
748
+ width: 18px;
749
+ text-align: center;
750
+ flex-shrink: 0;
751
+ }
752
+
753
+ .dropdown-divider {
754
+ height: 1px;
755
+ background: var(--vscode-panel-border);
756
+ margin: 4px 8px;
757
+ }
758
+
759
+ /* ===========================================================================
760
+ Ask AI Section (bottom bar)
761
+ =========================================================================== */
762
+
763
+ #ask-ai-bar {
764
+ padding: 12px;
765
+ border-top: 1px solid var(--vscode-panel-border);
766
+ background: var(--vscode-panel-background);
767
+ }
768
+
769
+ .ask-ai-hint {
770
+ font-size: 0.8em;
771
+ color: var(--vscode-descriptionForeground);
772
+ margin-bottom: 10px;
773
+ text-align: center;
774
+ }
775
+
776
+ #ask-ai-btn {
777
+ width: 100%;
778
+ background: var(--vscode-button-background);
779
+ color: var(--vscode-button-foreground);
780
+ border: none;
781
+ border-radius: 6px;
782
+ padding: 10px 16px;
783
+ cursor: pointer;
784
+ font-weight: 500;
785
+ font-size: 0.9em;
786
+ display: flex;
787
+ align-items: center;
788
+ justify-content: center;
789
+ gap: 8px;
790
+ transition: background 0.15s;
791
+ }
792
+
793
+ #ask-ai-btn:hover {
794
+ background: var(--vscode-button-hoverBackground);
795
+ }
796
+
797
+ #ask-ai-btn .icon {
798
+ font-size: 1.1em;
799
+ }
800
+
801
+ /* ===========================================================================
802
+ Generating State
803
+ =========================================================================== */
804
+
805
+ #generating-state {
806
+ background: var(--vscode-editor-background);
807
+ border: 1px solid var(--vscode-panel-border);
808
+ border-radius: 8px;
809
+ margin: 12px;
810
+ padding: 16px;
811
+ }
812
+
813
+ .generating-header {
814
+ display: flex;
815
+ align-items: center;
816
+ gap: 10px;
817
+ margin-bottom: 8px;
818
+ }
819
+
820
+ .generating-title {
821
+ font-weight: 500;
822
+ }
823
+
824
+ .generating-hint {
825
+ font-size: 0.85em;
826
+ color: var(--vscode-descriptionForeground);
827
+ margin-bottom: 12px;
828
+ }
829
+
830
+ #cancel-generate-btn {
831
+ background: var(--vscode-button-secondaryBackground);
832
+ color: var(--vscode-button-secondaryForeground);
833
+ border: none;
834
+ border-radius: 4px;
835
+ padding: 6px 14px;
836
+ font-size: 0.85em;
837
+ cursor: pointer;
838
+ }
839
+
840
+ #cancel-generate-btn:hover {
841
+ background: var(--vscode-button-secondaryHoverBackground);
842
+ }
843
+
844
+ /* ===========================================================================
845
+ Refresh Hint
846
+ =========================================================================== */
847
+
848
+ #refresh-hint {
849
+ display: flex;
850
+ align-items: center;
851
+ justify-content: center;
852
+ background: var(--vscode-editorInfo-background);
853
+ border: 1px solid var(--vscode-editorInfo-border);
854
+ border-radius: 6px;
855
+ padding: 8px 12px;
856
+ margin: 0 12px 12px;
857
+ font-size: 0.85em;
858
+ }
859
+
860
+ #refresh-hint span {
861
+ color: var(--vscode-foreground);
862
+ }
863
+
864
+ /* ===========================================================================
865
+ Failed State
866
+ =========================================================================== */
867
+
868
+ #failed-state {
869
+ background: var(--vscode-inputValidation-errorBackground);
870
+ border: 1px solid var(--vscode-inputValidation-errorBorder);
871
+ border-radius: 8px;
872
+ margin: 12px;
873
+ padding: 16px;
874
+ text-align: center;
875
+ }
876
+
877
+ .error-icon {
878
+ font-size: 1.5em;
879
+ margin-bottom: 8px;
880
+ }
881
+
882
+ .error-title {
883
+ font-weight: 500;
884
+ margin-bottom: 6px;
885
+ }
886
+
887
+ .error-message {
888
+ font-size: 0.85em;
889
+ color: var(--vscode-descriptionForeground);
890
+ margin-bottom: 12px;
891
+ }
892
+
893
+ .fallback-hint {
894
+ font-size: 0.8em;
895
+ color: var(--vscode-descriptionForeground);
896
+ margin-top: 10px;
897
+ }
898
+
899
+ #retry-generate-btn {
900
+ background: var(--vscode-button-background);
901
+ color: var(--vscode-button-foreground);
902
+ border: none;
903
+ border-radius: 4px;
904
+ padding: 6px 14px;
905
+ font-size: 0.85em;
906
+ cursor: pointer;
907
+ }
908
+
909
+ /* ===========================================================================
910
+ Scrollbar styling
911
+ =========================================================================== */
912
+
913
+ ::-webkit-scrollbar {
914
+ width: 8px;
915
+ height: 8px;
916
+ }
917
+
918
+ ::-webkit-scrollbar-track {
919
+ background: transparent;
920
+ }
921
+
922
+ ::-webkit-scrollbar-thumb {
923
+ background: var(--vscode-scrollbarSlider-background);
924
+ border-radius: 4px;
925
+ }
926
+
927
+ ::-webkit-scrollbar-thumb:hover {
928
+ background: var(--vscode-scrollbarSlider-hoverBackground);
929
+ }
930
+
931
+ /* ===========================================================================
932
+ Modal (New view name; webviews don't support window.prompt)
933
+ =========================================================================== */
934
+
935
+ .modal-overlay {
936
+ position: fixed;
937
+ inset: 0;
938
+ background: rgba(0, 0, 0, 0.4);
939
+ display: flex;
940
+ align-items: center;
941
+ justify-content: center;
942
+ z-index: 1000;
943
+ }
944
+
945
+ .modal-content {
946
+ background: var(--vscode-editor-background);
947
+ border: 1px solid var(--vscode-panel-border);
948
+ border-radius: 8px;
949
+ padding: 16px;
950
+ min-width: 280px;
951
+ box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
952
+ }
953
+
954
+ .modal-title {
955
+ font-size: 1em;
956
+ font-weight: 600;
957
+ margin: 0 0 12px 0;
958
+ color: var(--vscode-foreground);
959
+ }
960
+
961
+ .modal-input {
962
+ width: 100%;
963
+ padding: 8px 10px;
964
+ margin-bottom: 14px;
965
+ font-family: var(--vscode-font-family);
966
+ font-size: var(--vscode-font-size);
967
+ color: var(--vscode-input-foreground);
968
+ background: var(--vscode-input-background);
969
+ border: 1px solid var(--vscode-input-border);
970
+ border-radius: 4px;
971
+ box-sizing: border-box;
972
+ }
973
+
974
+ .modal-input:focus {
975
+ outline: none;
976
+ border-color: var(--vscode-focusBorder);
977
+ }
978
+
979
+ .modal-actions {
980
+ display: flex;
981
+ justify-content: flex-end;
982
+ gap: 8px;
983
+ }
984
+
985
+ .modal-btn {
986
+ padding: 6px 14px;
987
+ font-size: 0.9em;
988
+ border-radius: 4px;
989
+ cursor: pointer;
990
+ border: none;
991
+ }
992
+
993
+ .modal-btn-primary {
994
+ background: var(--vscode-button-background);
995
+ color: var(--vscode-button-foreground);
996
+ }
997
+
998
+ .modal-btn-primary:hover {
999
+ background: var(--vscode-button-hoverBackground);
1000
+ }
1001
+
1002
+ .modal-btn-secondary {
1003
+ background: var(--vscode-button-secondaryBackground);
1004
+ color: var(--vscode-button-secondaryForeground);
1005
+ }
1006
+
1007
+ .modal-btn-secondary:hover {
1008
+ background: var(--vscode-button-secondaryHoverBackground);
1009
+ }