foliko 1.1.8 → 1.1.9

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 (306) hide show
  1. package/.agent/agents/code-assistant.json +17 -0
  2. package/.agent/agents/email-assistant.json +14 -0
  3. package/.agent/agents/file-assistant.json +18 -0
  4. package/.agent/agents/orchestrator-demo.md +53 -0
  5. package/.agent/agents/orchestrator.json +7 -0
  6. package/.agent/agents/poster-expert.md +228 -0
  7. package/.agent/agents/system-assistant.json +15 -0
  8. package/.agent/agents/web-assistant.json +12 -0
  9. package/.agent/data/default.json +5 -404
  10. package/.agent/data/email/processed-emails.json +1 -0
  11. package/.agent/data/plugins-state.json +173 -172
  12. package/.agent/data/scheduler/tasks.json +1 -0
  13. package/.agent/data/web/web-config.json +5 -0
  14. package/.agent/mcp_config.json +0 -14
  15. package/.agent/package.json +8 -0
  16. package/.agent/plugins/__pycache__/file_writer.cpython-312.pyc +0 -0
  17. package/.agent/plugins/daytona/README.md +89 -0
  18. package/.agent/plugins/daytona/index.js +377 -0
  19. package/.agent/plugins/daytona/package.json +12 -0
  20. package/.agent/plugins/marknative/README.md +134 -0
  21. package/.agent/plugins/marknative/fonts.zip +0 -0
  22. package/.agent/plugins/marknative/index.js +256 -0
  23. package/.agent/plugins/marknative/package.json +12 -0
  24. package/.agent/plugins/system-info/index.js +387 -0
  25. package/.agent/plugins/system-info/package.json +4 -0
  26. package/.agent/plugins/system-info/test.js +40 -0
  27. package/.agent/plugins/test-plugin.py +123 -0
  28. package/.agent/plugins/test_nested_plugin.py +85 -0
  29. package/.agent/plugins.json +11 -5
  30. package/.agent/python-scripts/test_sample.py +24 -0
  31. package/.agent/sessions/cli_default.json +96 -249
  32. package/.agent/sessions/weixin_o9cq80zgZqKPA2-s59PN43GdDy1w@im.wechat.json +189 -0
  33. package/.agent/skills/agent-browser/SKILL.md +311 -0
  34. package/.agent/skills/agent-browser/TEST_PLAN.md +200 -0
  35. package/.agent/skills/sysinfo/SKILL.md +38 -0
  36. package/.agent/skills/sysinfo/system-info.sh +130 -0
  37. package/.agent/skills/workflow/SKILL.md +324 -0
  38. package/.agent/test-agent.js +35 -0
  39. package/.agent/weixin.json +6 -0
  40. package/.agent/workflows/email-digest.json +50 -0
  41. package/.agent/workflows/file-backup.json +21 -0
  42. package/.agent/workflows/get-ip-notify.json +32 -0
  43. package/.agent/workflows/news-aggregator.json +93 -0
  44. package/.agent/workflows/news-dashboard-v2.json +94 -0
  45. package/.agent/workflows/notification-batch.json +32 -0
  46. package/.claude/settings.local.json +9 -1
  47. package/.env.example +56 -56
  48. package/README.md +441 -441
  49. package/cli/src/ui/chat-ui.js +32 -21
  50. package/foliko_poster.png +0 -0
  51. package/output/business_poster_final.png +0 -0
  52. package/output/emoji_test_v2.png +0 -0
  53. package/output/foliko-ai-launch-poster.png +0 -0
  54. package/output/foliko-poster.png +0 -0
  55. package/output/muji_style_poster.png +0 -0
  56. package/output/new_product_launch.png +0 -0
  57. package/output/news_poster_625yi_subsidy.png +0 -0
  58. package/output/tech_future_2026.png +0 -0
  59. package/output/tech_future_poster.png +0 -0
  60. package/package.json +1 -2
  61. package/plugins/default-plugins.js +58 -6
  62. package/plugins/extension-executor-plugin.js +8 -21
  63. package/plugins/python-plugin-loader.js +461 -40
  64. package/plugins/python-plugin-loader.js.bak +856 -0
  65. package/plugins/subagent-plugin.js +0 -121
  66. package/plugins/weixin-plugin.js +38 -29
  67. package/poster.png +0 -0
  68. package/skills/find-skills/AGENTS.md +162 -162
  69. package/skills/find-skills/SKILL.md +133 -133
  70. package/skills/foliko-dev/SKILL.md +6 -0
  71. package/skills/python-plugin-dev/SKILL.md +124 -2
  72. package/src/core/agent-chat.js +220 -281
  73. package/src/core/agent.js +10 -0
  74. package/src/utils/plugin-helpers.js +22 -4
  75. package/system.md +1678 -1574
  76. package/test-scan.js +18 -0
  77. package/.agent/.shared/ui-ux-pro-max/data/charts.csv +0 -26
  78. package/.agent/.shared/ui-ux-pro-max/data/colors.csv +0 -97
  79. package/.agent/.shared/ui-ux-pro-max/data/icons.csv +0 -101
  80. package/.agent/.shared/ui-ux-pro-max/data/landing.csv +0 -31
  81. package/.agent/.shared/ui-ux-pro-max/data/products.csv +0 -97
  82. package/.agent/.shared/ui-ux-pro-max/data/prompts.csv +0 -24
  83. package/.agent/.shared/ui-ux-pro-max/data/react-performance.csv +0 -45
  84. package/.agent/.shared/ui-ux-pro-max/data/stacks/flutter.csv +0 -53
  85. package/.agent/.shared/ui-ux-pro-max/data/stacks/html-tailwind.csv +0 -56
  86. package/.agent/.shared/ui-ux-pro-max/data/stacks/jetpack-compose.csv +0 -53
  87. package/.agent/.shared/ui-ux-pro-max/data/stacks/nextjs.csv +0 -53
  88. package/.agent/.shared/ui-ux-pro-max/data/stacks/nuxt-ui.csv +0 -51
  89. package/.agent/.shared/ui-ux-pro-max/data/stacks/nuxtjs.csv +0 -59
  90. package/.agent/.shared/ui-ux-pro-max/data/stacks/react-native.csv +0 -52
  91. package/.agent/.shared/ui-ux-pro-max/data/stacks/react.csv +0 -54
  92. package/.agent/.shared/ui-ux-pro-max/data/stacks/shadcn.csv +0 -61
  93. package/.agent/.shared/ui-ux-pro-max/data/stacks/svelte.csv +0 -54
  94. package/.agent/.shared/ui-ux-pro-max/data/stacks/swiftui.csv +0 -51
  95. package/.agent/.shared/ui-ux-pro-max/data/stacks/vue.csv +0 -50
  96. package/.agent/.shared/ui-ux-pro-max/data/styles.csv +0 -59
  97. package/.agent/.shared/ui-ux-pro-max/data/typography.csv +0 -58
  98. package/.agent/.shared/ui-ux-pro-max/data/ui-reasoning.csv +0 -101
  99. package/.agent/.shared/ui-ux-pro-max/data/ux-guidelines.csv +0 -100
  100. package/.agent/.shared/ui-ux-pro-max/data/web-interface.csv +0 -31
  101. package/.agent/.shared/ui-ux-pro-max/scripts/__pycache__/core.cpython-313.pyc +0 -0
  102. package/.agent/.shared/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-313.pyc +0 -0
  103. package/.agent/.shared/ui-ux-pro-max/scripts/core.py +0 -258
  104. package/.agent/.shared/ui-ux-pro-max/scripts/design_system.py +0 -1067
  105. package/.agent/.shared/ui-ux-pro-max/scripts/search.py +0 -106
  106. package/.agent/ARCHITECTURE.md +0 -288
  107. package/.agent/agents/ambient-agent.md +0 -57
  108. package/.agent/agents/debugger.md +0 -55
  109. package/.agent/agents/email-assistant.md +0 -49
  110. package/.agent/agents/file-manager.md +0 -42
  111. package/.agent/agents/python-developer.md +0 -60
  112. package/.agent/agents/scheduler.md +0 -59
  113. package/.agent/agents/web-developer.md +0 -45
  114. package/.agent/data/puppeteer-sessions/undefined.json +0 -6
  115. package/.agent/data/weixin-media/2026-04-08/img_1775618677512.jpg +0 -0
  116. package/.agent/data/weixin-media/2026-04-08/img_1775619073340.jpg +0 -0
  117. package/.agent/data/weixin-media/2026-04-08/img_1775619097536.jpg +0 -0
  118. package/.agent/data/weixin-media/2026-04-08/img_1775619209388.jpg +0 -0
  119. package/.agent/memory/feedback/mnrdvj5i-ca3dkd.md +0 -9
  120. package/.agent/memory/feedback/mnre365e-7s4zax.md +0 -9
  121. package/.agent/memory/feedback/mnre36jn-nkfgmp.md +0 -9
  122. package/.agent/memory/feedback/mnre3805-kjiq6h.md +0 -9
  123. package/.agent/memory/feedback/mnsf66kp-b10rcd.md +0 -9
  124. package/.agent/memory/feedback/mnsi3sz8-p5g2cw.md +0 -9
  125. package/.agent/memory/feedback/mnsibe47-sv2ni1.md +0 -9
  126. package/.agent/memory/feedback/mnsic89w-nn228o.md +0 -9
  127. package/.agent/memory/feedback/mnsj1xe9-x83ba0.md +0 -9
  128. package/.agent/memory/feedback/mnsj21iv-wnwelx.md +0 -9
  129. package/.agent/memory/feedback/mnsj2g4a-cog7a2.md +0 -9
  130. package/.agent/memory/feedback/mnsj4js7-lktjp6.md +0 -9
  131. package/.agent/memory/feedback/mnsj5d4y-uglwvp.md +0 -9
  132. package/.agent/memory/feedback/mnslkuo9-uous66.md +0 -24
  133. package/.agent/memory/feedback/mnsm3vq0-megoil.md +0 -9
  134. package/.agent/memory/feedback/mnsnn5x2-sxcihd.md +0 -9
  135. package/.agent/memory/feedback/mnsnq17s-nabrn9.md +0 -9
  136. package/.agent/memory/feedback/mnsnybet-wz7rn3.md +0 -9
  137. package/.agent/memory/feedback/mnsrw0s7-7s9e30.md +0 -9
  138. package/.agent/memory/feedback/mnu5hpnd-tlm16q.md +0 -9
  139. package/.agent/memory/feedback/mnu60uqe-xuoxp4.md +0 -9
  140. package/.agent/memory/project/mnqx54u5-loqtoe.md +0 -9
  141. package/.agent/memory/project/mnqx84cv-mx6dmd.md +0 -9
  142. package/.agent/memory/project/mnsacuyr-hgtk5n.md +0 -20
  143. package/.agent/memory/project/mnu5hy2x-bjsg7u.md +0 -9
  144. package/.agent/memory/reference/mnre3cww-penbo1.md +0 -9
  145. package/.agent/memory/reference/mns9wn48-luerua.md +0 -14
  146. package/.agent/memory/reference/mns9yz5c-thc2s0.md +0 -16
  147. package/.agent/memory/reference/mnsfy4um-910f1o.md +0 -23
  148. package/.agent/memory/reference/mnsg37dp-lmfj18.md +0 -32
  149. package/.agent/memory/reference/mnsll60q-0j911u.md +0 -36
  150. package/.agent/memory/reference/mnsmlb5y-nej31u.md +0 -16
  151. package/.agent/memory/reference/mnssle72-yrot96.md +0 -9
  152. package/.agent/memory/user/mnsfuon6-l416q1.md +0 -21
  153. package/.agent/memory/user/mnsg9kut-95m7rf.md +0 -20
  154. package/.agent/memory/user/mnu2eo1v-yy6fhe.md +0 -9
  155. package/.agent/memory/user/mnu2etuo-8u8jk8.md +0 -9
  156. package/.agent/plugins/poster-plugin/README.md +0 -304
  157. package/.agent/plugins/poster-plugin/fonts/NotoColorEmoji-Regular.ttf +0 -0
  158. package/.agent/plugins/poster-plugin/fonts/PatuaOne-Regular.ttf +0 -0
  159. package/.agent/plugins/poster-plugin/fonts/Symbola_hint.ttf +0 -0
  160. package/.agent/plugins/poster-plugin/fonts//345/276/256/350/275/257/351/233/205/351/273/221.ttf +0 -0
  161. package/.agent/plugins/poster-plugin/fonts//345/276/256/350/275/257/351/233/205/351/273/221/347/262/227/344/275/223.ttf +0 -0
  162. package/.agent/plugins/poster-plugin/index.js +0 -13
  163. package/.agent/plugins/poster-plugin/package.json +0 -29
  164. package/.agent/plugins/poster-plugin/src/canvas.js +0 -232
  165. package/.agent/plugins/poster-plugin/src/components/arrow.js +0 -84
  166. package/.agent/plugins/poster-plugin/src/components/avatar.js +0 -71
  167. package/.agent/plugins/poster-plugin/src/components/badge.js +0 -85
  168. package/.agent/plugins/poster-plugin/src/components/barcode.js +0 -123
  169. package/.agent/plugins/poster-plugin/src/components/bubble.js +0 -154
  170. package/.agent/plugins/poster-plugin/src/components/button.js +0 -168
  171. package/.agent/plugins/poster-plugin/src/components/card.js +0 -88
  172. package/.agent/plugins/poster-plugin/src/components/chart.js +0 -127
  173. package/.agent/plugins/poster-plugin/src/components/chip.js +0 -88
  174. package/.agent/plugins/poster-plugin/src/components/columns.js +0 -121
  175. package/.agent/plugins/poster-plugin/src/components/cta.js +0 -87
  176. package/.agent/plugins/poster-plugin/src/components/divider.js +0 -55
  177. package/.agent/plugins/poster-plugin/src/components/feature.js +0 -85
  178. package/.agent/plugins/poster-plugin/src/components/featureGrid.js +0 -117
  179. package/.agent/plugins/poster-plugin/src/components/frame.js +0 -230
  180. package/.agent/plugins/poster-plugin/src/components/grid.js +0 -130
  181. package/.agent/plugins/poster-plugin/src/components/highlightText.js +0 -145
  182. package/.agent/plugins/poster-plugin/src/components/icon.js +0 -94
  183. package/.agent/plugins/poster-plugin/src/components/imageFrame.js +0 -205
  184. package/.agent/plugins/poster-plugin/src/components/index.js +0 -81
  185. package/.agent/plugins/poster-plugin/src/components/listItem.js +0 -147
  186. package/.agent/plugins/poster-plugin/src/components/notification.js +0 -123
  187. package/.agent/plugins/poster-plugin/src/components/progress.js +0 -79
  188. package/.agent/plugins/poster-plugin/src/components/progressCircle.js +0 -117
  189. package/.agent/plugins/poster-plugin/src/components/qrcode.js +0 -74
  190. package/.agent/plugins/poster-plugin/src/components/quote.js +0 -169
  191. package/.agent/plugins/poster-plugin/src/components/rating.js +0 -85
  192. package/.agent/plugins/poster-plugin/src/components/ribbon.js +0 -197
  193. package/.agent/plugins/poster-plugin/src/components/seal.js +0 -148
  194. package/.agent/plugins/poster-plugin/src/components/star.js +0 -70
  195. package/.agent/plugins/poster-plugin/src/components/statCard.js +0 -105
  196. package/.agent/plugins/poster-plugin/src/components/stepper.js +0 -118
  197. package/.agent/plugins/poster-plugin/src/components/table.js +0 -167
  198. package/.agent/plugins/poster-plugin/src/components/tagCloud.js +0 -85
  199. package/.agent/plugins/poster-plugin/src/components/timeline.js +0 -117
  200. package/.agent/plugins/poster-plugin/src/components/watermark.js +0 -54
  201. package/.agent/plugins/poster-plugin/src/composer.js +0 -2314
  202. package/.agent/plugins/poster-plugin/src/elements/artText.js +0 -69
  203. package/.agent/plugins/poster-plugin/src/elements/background.js +0 -99
  204. package/.agent/plugins/poster-plugin/src/elements/circle.js +0 -31
  205. package/.agent/plugins/poster-plugin/src/elements/image.js +0 -28
  206. package/.agent/plugins/poster-plugin/src/elements/index.js +0 -28
  207. package/.agent/plugins/poster-plugin/src/elements/line.js +0 -23
  208. package/.agent/plugins/poster-plugin/src/elements/polygon.js +0 -63
  209. package/.agent/plugins/poster-plugin/src/elements/rectangle.js +0 -32
  210. package/.agent/plugins/poster-plugin/src/elements/richText.js +0 -283
  211. package/.agent/plugins/poster-plugin/src/elements/svg.js +0 -108
  212. package/.agent/plugins/poster-plugin/src/elements/text.js +0 -112
  213. package/.agent/plugins/poster-plugin/src/fonts.js +0 -674
  214. package/.agent/plugins/poster-plugin/src/index.js +0 -2126
  215. package/.agent/plugins/poster-plugin/src/presets.js +0 -36
  216. package/.agent/plugins/poster-plugin/src/templates/business.js +0 -60
  217. package/.agent/plugins/poster-plugin/src/templates/gradient.js +0 -64
  218. package/.agent/plugins/poster-plugin/src/templates/index.js +0 -43
  219. package/.agent/plugins/poster-plugin/src/templates/modern.js +0 -69
  220. package/.agent/plugins/poster-plugin/src/templates/simple.js +0 -58
  221. package/.agent/plugins/poster-plugin/src/templates/social.js +0 -62
  222. package/.agent/plugins/poster-plugin/src/templates/tech.js +0 -84
  223. package/.agent/plugins/poster-plugin/src/utils/imageLoader.js +0 -84
  224. package/.agent/plugins/poster-plugin/yarn.lock +0 -837
  225. package/.agent/plugins/puppeteer-plugin/README.md +0 -147
  226. package/.agent/plugins/puppeteer-plugin/index.js +0 -1422
  227. package/.agent/plugins/puppeteer-plugin/package.json +0 -9
  228. package/.agent/rules/GEMINI.md +0 -273
  229. package/.agent/rules/allow-rule.md +0 -77
  230. package/.agent/rules/log-rule.md +0 -83
  231. package/.agent/rules/security-rule.md +0 -93
  232. package/.agent/scripts/auto_preview.py +0 -148
  233. package/.agent/scripts/checklist.py +0 -217
  234. package/.agent/scripts/session_manager.py +0 -120
  235. package/.agent/scripts/verify_all.py +0 -327
  236. package/.agent/skills/api-patterns/SKILL.md +0 -81
  237. package/.agent/skills/api-patterns/api-style.md +0 -42
  238. package/.agent/skills/api-patterns/auth.md +0 -24
  239. package/.agent/skills/api-patterns/documentation.md +0 -26
  240. package/.agent/skills/api-patterns/graphql.md +0 -41
  241. package/.agent/skills/api-patterns/rate-limiting.md +0 -31
  242. package/.agent/skills/api-patterns/response.md +0 -37
  243. package/.agent/skills/api-patterns/rest.md +0 -40
  244. package/.agent/skills/api-patterns/scripts/api_validator.py +0 -211
  245. package/.agent/skills/api-patterns/security-testing.md +0 -122
  246. package/.agent/skills/api-patterns/trpc.md +0 -41
  247. package/.agent/skills/api-patterns/versioning.md +0 -22
  248. package/.agent/skills/app-builder/SKILL.md +0 -75
  249. package/.agent/skills/app-builder/agent-coordination.md +0 -71
  250. package/.agent/skills/app-builder/feature-building.md +0 -53
  251. package/.agent/skills/app-builder/project-detection.md +0 -34
  252. package/.agent/skills/app-builder/scaffolding.md +0 -118
  253. package/.agent/skills/app-builder/tech-stack.md +0 -40
  254. package/.agent/skills/app-builder/templates/SKILL.md +0 -39
  255. package/.agent/skills/app-builder/templates/astro-static/TEMPLATE.md +0 -76
  256. package/.agent/skills/app-builder/templates/chrome-extension/TEMPLATE.md +0 -92
  257. package/.agent/skills/app-builder/templates/cli-tool/TEMPLATE.md +0 -88
  258. package/.agent/skills/app-builder/templates/electron-desktop/TEMPLATE.md +0 -88
  259. package/.agent/skills/app-builder/templates/express-api/TEMPLATE.md +0 -83
  260. package/.agent/skills/app-builder/templates/flutter-app/TEMPLATE.md +0 -90
  261. package/.agent/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +0 -90
  262. package/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +0 -122
  263. package/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +0 -122
  264. package/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +0 -169
  265. package/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +0 -134
  266. package/.agent/skills/app-builder/templates/python-fastapi/TEMPLATE.md +0 -83
  267. package/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +0 -119
  268. package/.agent/skills/architecture/SKILL.md +0 -55
  269. package/.agent/skills/architecture/context-discovery.md +0 -43
  270. package/.agent/skills/architecture/examples.md +0 -94
  271. package/.agent/skills/architecture/pattern-selection.md +0 -68
  272. package/.agent/skills/architecture/patterns-reference.md +0 -50
  273. package/.agent/skills/architecture/trade-off-analysis.md +0 -77
  274. package/.agent/skills/clean-code/SKILL.md +0 -201
  275. package/.agent/skills/doc.md +0 -177
  276. package/.agent/skills/frontend-design/SKILL.md +0 -418
  277. package/.agent/skills/frontend-design/animation-guide.md +0 -331
  278. package/.agent/skills/frontend-design/color-system.md +0 -311
  279. package/.agent/skills/frontend-design/decision-trees.md +0 -418
  280. package/.agent/skills/frontend-design/motion-graphics.md +0 -306
  281. package/.agent/skills/frontend-design/scripts/accessibility_checker.py +0 -183
  282. package/.agent/skills/frontend-design/scripts/ux_audit.py +0 -722
  283. package/.agent/skills/frontend-design/typography-system.md +0 -345
  284. package/.agent/skills/frontend-design/ux-psychology.md +0 -1116
  285. package/.agent/skills/frontend-design/visual-effects.md +0 -383
  286. package/.agent/skills/i18n-localization/SKILL.md +0 -154
  287. package/.agent/skills/i18n-localization/scripts/i18n_checker.py +0 -241
  288. package/.agent/skills/mcp-builder/SKILL.md +0 -176
  289. package/.agent/skills/poster-design/SKILL.md +0 -385
  290. package/.agent/skills/web-design-guidelines/SKILL.md +0 -57
  291. package/.agent/workflows/brainstorm.md +0 -113
  292. package/.agent/workflows/create.md +0 -59
  293. package/.agent/workflows/debug.md +0 -103
  294. package/.agent/workflows/deploy.md +0 -176
  295. package/.agent/workflows/enhance.md +0 -63
  296. package/.agent/workflows/orchestrate.md +0 -237
  297. package/.agent/workflows/plan.md +0 -89
  298. package/.agent/workflows/preview.md +0 -81
  299. package/.agent/workflows/simple-test.md +0 -42
  300. package/.agent/workflows/status.md +0 -86
  301. package/.agent/workflows/structured-orchestrate.md +0 -180
  302. package/.agent/workflows/test.md +0 -144
  303. package/.agent/workflows/ui-ux-pro-max.md +0 -296
  304. package/outputs/emoji-font-showcase.png +0 -0
  305. package/outputs/foliko-muji-style.png +0 -0
  306. /package/.agent/plugins/{poster-plugin → marknative}/fonts/SegoeUI Emoji.ttf +0 -0
@@ -1,217 +0,0 @@
1
- #!/usr/bin/env python3
2
- """
3
- Master Checklist Runner - Antigravity Kit
4
- ==========================================
5
-
6
- Orchestrates all validation scripts in priority order.
7
- Use this for incremental validation during development.
8
-
9
- Usage:
10
- python scripts/checklist.py . # Run core checks
11
- python scripts/checklist.py . --url <URL> # Include performance checks
12
-
13
- Priority Order:
14
- P0: Security Scan (vulnerabilities, secrets)
15
- P1: Lint & Type Check (code quality)
16
- P2: Schema Validation (if database exists)
17
- P3: Test Runner (unit/integration tests)
18
- P4: UX Audit (psychology laws, accessibility)
19
- P5: SEO Check (meta tags, structure)
20
- P6: Performance (lighthouse - requires URL)
21
- """
22
-
23
- import sys
24
- import subprocess
25
- import argparse
26
- from pathlib import Path
27
- from typing import List, Tuple, Optional
28
-
29
- # ANSI colors for terminal output
30
- class Colors:
31
- HEADER = '\033[95m'
32
- BLUE = '\033[94m'
33
- CYAN = '\033[96m'
34
- GREEN = '\033[92m'
35
- YELLOW = '\033[93m'
36
- RED = '\033[91m'
37
- ENDC = '\033[0m'
38
- BOLD = '\033[1m'
39
-
40
- def print_header(text: str):
41
- print(f"\n{Colors.BOLD}{Colors.CYAN}{'='*60}{Colors.ENDC}")
42
- print(f"{Colors.BOLD}{Colors.CYAN}{text.center(60)}{Colors.ENDC}")
43
- print(f"{Colors.BOLD}{Colors.CYAN}{'='*60}{Colors.ENDC}\n")
44
-
45
- def print_step(text: str):
46
- print(f"{Colors.BOLD}{Colors.BLUE}🔄 {text}{Colors.ENDC}")
47
-
48
- def print_success(text: str):
49
- print(f"{Colors.GREEN}✅ {text}{Colors.ENDC}")
50
-
51
- def print_warning(text: str):
52
- print(f"{Colors.YELLOW}⚠️ {text}{Colors.ENDC}")
53
-
54
- def print_error(text: str):
55
- print(f"{Colors.RED}❌ {text}{Colors.ENDC}")
56
-
57
- # Define priority-ordered checks
58
- CORE_CHECKS = [
59
- ("Security Scan", ".agent/skills/vulnerability-scanner/scripts/security_scan.py", True),
60
- ("Lint Check", ".agent/skills/lint-and-validate/scripts/lint_runner.py", True),
61
- ("Schema Validation", ".agent/skills/database-design/scripts/schema_validator.py", False),
62
- ("Test Runner", ".agent/skills/testing-patterns/scripts/test_runner.py", False),
63
- ("UX Audit", ".agent/skills/frontend-design/scripts/ux_audit.py", False),
64
- ("SEO Check", ".agent/skills/seo-fundamentals/scripts/seo_checker.py", False),
65
- ]
66
-
67
- PERFORMANCE_CHECKS = [
68
- ("Lighthouse Audit", ".agent/skills/performance-profiling/scripts/lighthouse_audit.py", True),
69
- ("Playwright E2E", ".agent/skills/webapp-testing/scripts/playwright_runner.py", False),
70
- ]
71
-
72
- def check_script_exists(script_path: Path) -> bool:
73
- """Check if script file exists"""
74
- return script_path.exists() and script_path.is_file()
75
-
76
- def run_script(name: str, script_path: Path, project_path: str, url: Optional[str] = None) -> dict:
77
- """
78
- Run a validation script and capture results
79
-
80
- Returns:
81
- dict with keys: name, passed, output, skipped
82
- """
83
- if not check_script_exists(script_path):
84
- print_warning(f"{name}: Script not found, skipping")
85
- return {"name": name, "passed": True, "output": "", "skipped": True}
86
-
87
- print_step(f"Running: {name}")
88
-
89
- # Build command
90
- cmd = ["python", str(script_path), project_path]
91
- if url and ("lighthouse" in script_path.name.lower() or "playwright" in script_path.name.lower()):
92
- cmd.append(url)
93
-
94
- # Run script
95
- try:
96
- result = subprocess.run(
97
- cmd,
98
- capture_output=True,
99
- text=True,
100
- timeout=300 # 5 minute timeout
101
- )
102
-
103
- passed = result.returncode == 0
104
-
105
- if passed:
106
- print_success(f"{name}: PASSED")
107
- else:
108
- print_error(f"{name}: FAILED")
109
- if result.stderr:
110
- print(f" Error: {result.stderr[:200]}")
111
-
112
- return {
113
- "name": name,
114
- "passed": passed,
115
- "output": result.stdout,
116
- "error": result.stderr,
117
- "skipped": False
118
- }
119
-
120
- except subprocess.TimeoutExpired:
121
- print_error(f"{name}: TIMEOUT (>5 minutes)")
122
- return {"name": name, "passed": False, "output": "", "error": "Timeout", "skipped": False}
123
-
124
- except Exception as e:
125
- print_error(f"{name}: ERROR - {str(e)}")
126
- return {"name": name, "passed": False, "output": "", "error": str(e), "skipped": False}
127
-
128
- def print_summary(results: List[dict]):
129
- """Print final summary report"""
130
- print_header("📊 CHECKLIST SUMMARY")
131
-
132
- passed_count = sum(1 for r in results if r["passed"] and not r.get("skipped"))
133
- failed_count = sum(1 for r in results if not r["passed"] and not r.get("skipped"))
134
- skipped_count = sum(1 for r in results if r.get("skipped"))
135
-
136
- print(f"Total Checks: {len(results)}")
137
- print(f"{Colors.GREEN}✅ Passed: {passed_count}{Colors.ENDC}")
138
- print(f"{Colors.RED}❌ Failed: {failed_count}{Colors.ENDC}")
139
- print(f"{Colors.YELLOW}⏭️ Skipped: {skipped_count}{Colors.ENDC}")
140
- print()
141
-
142
- # Detailed results
143
- for r in results:
144
- if r.get("skipped"):
145
- status = f"{Colors.YELLOW}⏭️ {Colors.ENDC}"
146
- elif r["passed"]:
147
- status = f"{Colors.GREEN}✅{Colors.ENDC}"
148
- else:
149
- status = f"{Colors.RED}❌{Colors.ENDC}"
150
-
151
- print(f"{status} {r['name']}")
152
-
153
- print()
154
-
155
- if failed_count > 0:
156
- print_error(f"{failed_count} check(s) FAILED - Please fix before proceeding")
157
- return False
158
- else:
159
- print_success("All checks PASSED ✨")
160
- return True
161
-
162
- def main():
163
- parser = argparse.ArgumentParser(
164
- description="Run Antigravity Kit validation checklist",
165
- formatter_class=argparse.RawDescriptionHelpFormatter,
166
- epilog="""
167
- Examples:
168
- python scripts/checklist.py . # Core checks only
169
- python scripts/checklist.py . --url http://localhost:3000 # Include performance
170
- """
171
- )
172
- parser.add_argument("project", help="Project path to validate")
173
- parser.add_argument("--url", help="URL for performance checks (lighthouse, playwright)")
174
- parser.add_argument("--skip-performance", action="store_true", help="Skip performance checks even if URL provided")
175
-
176
- args = parser.parse_args()
177
-
178
- project_path = Path(args.project).resolve()
179
-
180
- if not project_path.exists():
181
- print_error(f"Project path does not exist: {project_path}")
182
- sys.exit(1)
183
-
184
- print_header("🚀 ANTIGRAVITY KIT - MASTER CHECKLIST")
185
- print(f"Project: {project_path}")
186
- print(f"URL: {args.url if args.url else 'Not provided (performance checks skipped)'}")
187
-
188
- results = []
189
-
190
- # Run core checks
191
- print_header("📋 CORE CHECKS")
192
- for name, script_path, required in CORE_CHECKS:
193
- script = project_path / script_path
194
- result = run_script(name, script, str(project_path))
195
- results.append(result)
196
-
197
- # If required check fails, stop
198
- if required and not result["passed"] and not result.get("skipped"):
199
- print_error(f"CRITICAL: {name} failed. Stopping checklist.")
200
- print_summary(results)
201
- sys.exit(1)
202
-
203
- # Run performance checks if URL provided
204
- if args.url and not args.skip_performance:
205
- print_header("⚡ PERFORMANCE CHECKS")
206
- for name, script_path, required in PERFORMANCE_CHECKS:
207
- script = project_path / script_path
208
- result = run_script(name, script, str(project_path), args.url)
209
- results.append(result)
210
-
211
- # Print summary
212
- all_passed = print_summary(results)
213
-
214
- sys.exit(0 if all_passed else 1)
215
-
216
- if __name__ == "__main__":
217
- main()
@@ -1,120 +0,0 @@
1
- #!/usr/bin/env python3
2
- """
3
- Session Manager - Antigravity Kit
4
- =================================
5
- Analyzes project state, detects tech stack, tracks file statistics, and provides
6
- a summary of the current session.
7
-
8
- Usage:
9
- python .agent/scripts/session_manager.py status [path]
10
- python .agent/scripts/session_manager.py info [path]
11
- """
12
-
13
- import os
14
- import json
15
- import argparse
16
- from pathlib import Path
17
- from typing import Dict, Any, List
18
-
19
- def get_project_root(path: str) -> Path:
20
- return Path(path).resolve()
21
-
22
- def analyze_package_json(root: Path) -> Dict[str, Any]:
23
- pkg_file = root / "package.json"
24
- if not pkg_file.exists():
25
- return {"type": "unknown", "dependencies": {}}
26
-
27
- try:
28
- with open(pkg_file, 'r', encoding='utf-8') as f:
29
- data = json.load(f)
30
-
31
- deps = data.get("dependencies", {})
32
- dev_deps = data.get("devDependencies", {})
33
- all_deps = {**deps, **dev_deps}
34
-
35
- stack = []
36
- if "next" in all_deps: stack.append("Next.js")
37
- elif "react" in all_deps: stack.append("React")
38
- elif "vue" in all_deps: stack.append("Vue")
39
- elif "svelte" in all_deps: stack.append("Svelte")
40
- elif "express" in all_deps: stack.append("Express")
41
- elif "nestjs" in all_deps or "@nestjs/core" in all_deps: stack.append("NestJS")
42
-
43
- if "tailwindcss" in all_deps: stack.append("Tailwind CSS")
44
- if "prisma" in all_deps: stack.append("Prisma")
45
- if "typescript" in all_deps: stack.append("TypeScript")
46
-
47
- return {
48
- "name": data.get("name", "unnamed"),
49
- "version": data.get("version", "0.0.0"),
50
- "stack": stack,
51
- "scripts": list(data.get("scripts", {}).keys())
52
- }
53
- except Exception as e:
54
- return {"error": str(e)}
55
-
56
- def count_files(root: Path) -> Dict[str, int]:
57
- stats = {"created": 0, "modified": 0, "total": 0}
58
- # Simple count for now, comprehensive tracking would require git diff or extensive history
59
- exclude = {".git", "node_modules", ".next", "dist", "build", ".agent", ".gemini", "__pycache__"}
60
-
61
- for root_dir, dirs, files in os.walk(root):
62
- dirs[:] = [d for d in dirs if d not in exclude]
63
- stats["total"] += len(files)
64
-
65
- return stats
66
-
67
- def detect_features(root: Path) -> List[str]:
68
- # Heuristic: look at folder names in src/
69
- features = []
70
- src = root / "src"
71
- if src.exists():
72
- possible_dirs = ["components", "modules", "features", "app", "pages", "services"]
73
- for d in possible_dirs:
74
- p = src / d
75
- if p.exists() and p.is_dir():
76
- # List subdirectories as likely features
77
- for child in p.iterdir():
78
- if child.is_dir():
79
- features.append(child.name)
80
- return features[:10] # Limit to top 10
81
-
82
- def print_status(root: Path):
83
- info = analyze_package_json(root)
84
- stats = count_files(root)
85
- features = detect_features(root)
86
-
87
- print("\n=== Project Status ===")
88
- print(f"\n📁 Project: {info.get('name', root.name)}")
89
- print(f"📂 Path: {root}")
90
- print(f"🏷️ Type: {', '.join(info.get('stack', ['Generic']))}")
91
- print(f"📊 Status: Active")
92
-
93
- print("\n🔧 Tech Stack:")
94
- for tech in info.get('stack', []):
95
- print(f" • {tech}")
96
-
97
- print(f"\n✅ Detected Modules/Features ({len(features)}):")
98
- for feat in features:
99
- print(f" • {feat}")
100
- if not features:
101
- print(" (No distinct feature modules detected)")
102
-
103
- print(f"\n📄 Files: {stats['total']} total files tracked")
104
- print("\n====================\n")
105
-
106
- def main():
107
- parser = argparse.ArgumentParser(description="Session Manager")
108
- parser.add_argument("command", choices=["status", "info"], help="Command to run")
109
- parser.add_argument("path", nargs="?", default=".", help="Project path")
110
-
111
- args = parser.parse_args()
112
- root = get_project_root(args.path)
113
-
114
- if args.command == "status":
115
- print_status(root)
116
- elif args.command == "info":
117
- print(json.dumps(analyze_package_json(root), indent=2))
118
-
119
- if __name__ == "__main__":
120
- main()
@@ -1,327 +0,0 @@
1
- #!/usr/bin/env python3
2
- """
3
- Full Verification Suite - Antigravity Kit
4
- ==========================================
5
-
6
- Runs COMPLETE validation including all checks + performance + E2E.
7
- Use this before deployment or major releases.
8
-
9
- Usage:
10
- python scripts/verify_all.py . --url <URL>
11
-
12
- Includes ALL checks:
13
- ✅ Security Scan (OWASP, secrets, dependencies)
14
- ✅ Lint & Type Coverage
15
- ✅ Schema Validation
16
- ✅ Test Suite (unit + integration)
17
- ✅ UX Audit (psychology, accessibility)
18
- ✅ SEO Check
19
- ✅ Lighthouse (Core Web Vitals)
20
- ✅ Playwright E2E
21
- ✅ Bundle Analysis (if applicable)
22
- ✅ Mobile Audit (if applicable)
23
- """
24
-
25
- import sys
26
- import subprocess
27
- import argparse
28
- from pathlib import Path
29
- from typing import List, Dict, Optional
30
- from datetime import datetime
31
-
32
- # ANSI colors
33
- class Colors:
34
- HEADER = '\033[95m'
35
- BLUE = '\033[94m'
36
- CYAN = '\033[96m'
37
- GREEN = '\033[92m'
38
- YELLOW = '\033[93m'
39
- RED = '\033[91m'
40
- ENDC = '\033[0m'
41
- BOLD = '\033[1m'
42
-
43
- def print_header(text: str):
44
- print(f"\n{Colors.BOLD}{Colors.CYAN}{'='*70}{Colors.ENDC}")
45
- print(f"{Colors.BOLD}{Colors.CYAN}{text.center(70)}{Colors.ENDC}")
46
- print(f"{Colors.BOLD}{Colors.CYAN}{'='*70}{Colors.ENDC}\n")
47
-
48
- def print_step(text: str):
49
- print(f"{Colors.BOLD}{Colors.BLUE}🔄 {text}{Colors.ENDC}")
50
-
51
- def print_success(text: str):
52
- print(f"{Colors.GREEN}✅ {text}{Colors.ENDC}")
53
-
54
- def print_warning(text: str):
55
- print(f"{Colors.YELLOW}⚠️ {text}{Colors.ENDC}")
56
-
57
- def print_error(text: str):
58
- print(f"{Colors.RED}❌ {text}{Colors.ENDC}")
59
-
60
- # Complete verification suite
61
- VERIFICATION_SUITE = [
62
- # P0: Security (CRITICAL)
63
- {
64
- "category": "Security",
65
- "checks": [
66
- ("Security Scan", ".agent/skills/vulnerability-scanner/scripts/security_scan.py", True),
67
- ("Dependency Analysis", ".agent/skills/vulnerability-scanner/scripts/dependency_analyzer.py", False),
68
- ]
69
- },
70
-
71
- # P1: Code Quality (CRITICAL)
72
- {
73
- "category": "Code Quality",
74
- "checks": [
75
- ("Lint Check", ".agent/skills/lint-and-validate/scripts/lint_runner.py", True),
76
- ("Type Coverage", ".agent/skills/lint-and-validate/scripts/type_coverage.py", False),
77
- ]
78
- },
79
-
80
- # P2: Data Layer
81
- {
82
- "category": "Data Layer",
83
- "checks": [
84
- ("Schema Validation", ".agent/skills/database-design/scripts/schema_validator.py", False),
85
- ]
86
- },
87
-
88
- # P3: Testing
89
- {
90
- "category": "Testing",
91
- "checks": [
92
- ("Test Suite", ".agent/skills/testing-patterns/scripts/test_runner.py", False),
93
- ]
94
- },
95
-
96
- # P4: UX & Accessibility
97
- {
98
- "category": "UX & Accessibility",
99
- "checks": [
100
- ("UX Audit", ".agent/skills/frontend-design/scripts/ux_audit.py", False),
101
- ("Accessibility Check", ".agent/skills/frontend-design/scripts/accessibility_checker.py", False),
102
- ]
103
- },
104
-
105
- # P5: SEO & Content
106
- {
107
- "category": "SEO & Content",
108
- "checks": [
109
- ("SEO Check", ".agent/skills/seo-fundamentals/scripts/seo_checker.py", False),
110
- ("GEO Check", ".agent/skills/geo-fundamentals/scripts/geo_checker.py", False),
111
- ]
112
- },
113
-
114
- # P6: Performance (requires URL)
115
- {
116
- "category": "Performance",
117
- "requires_url": True,
118
- "checks": [
119
- ("Lighthouse Audit", ".agent/skills/performance-profiling/scripts/lighthouse_audit.py", True),
120
- ("Bundle Analysis", ".agent/skills/performance-profiling/scripts/bundle_analyzer.py", False),
121
- ]
122
- },
123
-
124
- # P7: E2E Testing (requires URL)
125
- {
126
- "category": "E2E Testing",
127
- "requires_url": True,
128
- "checks": [
129
- ("Playwright E2E", ".agent/skills/webapp-testing/scripts/playwright_runner.py", False),
130
- ]
131
- },
132
-
133
- # P8: Mobile (if applicable)
134
- {
135
- "category": "Mobile",
136
- "checks": [
137
- ("Mobile Audit", ".agent/skills/mobile-design/scripts/mobile_audit.py", False),
138
- ]
139
- },
140
-
141
- # P9: Internationalization
142
- {
143
- "category": "Internationalization",
144
- "checks": [
145
- ("i18n Check", ".agent/skills/i18n-localization/scripts/i18n_checker.py", False),
146
- ]
147
- },
148
- ]
149
-
150
- def run_script(name: str, script_path: Path, project_path: str, url: Optional[str] = None) -> dict:
151
- """Run validation script"""
152
- if not script_path.exists():
153
- print_warning(f"{name}: Script not found, skipping")
154
- return {"name": name, "passed": True, "skipped": True, "duration": 0}
155
-
156
- print_step(f"Running: {name}")
157
- start_time = datetime.now()
158
-
159
- # Build command
160
- cmd = ["python", str(script_path), project_path]
161
- if url and ("lighthouse" in script_path.name.lower() or "playwright" in script_path.name.lower()):
162
- cmd.append(url)
163
-
164
- # Run
165
- try:
166
- result = subprocess.run(
167
- cmd,
168
- capture_output=True,
169
- text=True,
170
- timeout=600 # 10 minute timeout for slow checks
171
- )
172
-
173
- duration = (datetime.now() - start_time).total_seconds()
174
- passed = result.returncode == 0
175
-
176
- if passed:
177
- print_success(f"{name}: PASSED ({duration:.1f}s)")
178
- else:
179
- print_error(f"{name}: FAILED ({duration:.1f}s)")
180
- if result.stderr:
181
- print(f" {result.stderr[:300]}")
182
-
183
- return {
184
- "name": name,
185
- "passed": passed,
186
- "output": result.stdout,
187
- "error": result.stderr,
188
- "skipped": False,
189
- "duration": duration
190
- }
191
-
192
- except subprocess.TimeoutExpired:
193
- duration = (datetime.now() - start_time).total_seconds()
194
- print_error(f"{name}: TIMEOUT (>{duration:.0f}s)")
195
- return {"name": name, "passed": False, "skipped": False, "duration": duration, "error": "Timeout"}
196
-
197
- except Exception as e:
198
- duration = (datetime.now() - start_time).total_seconds()
199
- print_error(f"{name}: ERROR - {str(e)}")
200
- return {"name": name, "passed": False, "skipped": False, "duration": duration, "error": str(e)}
201
-
202
- def print_final_report(results: List[dict], start_time: datetime):
203
- """Print comprehensive final report"""
204
- total_duration = (datetime.now() - start_time).total_seconds()
205
-
206
- print_header("📊 FULL VERIFICATION REPORT")
207
-
208
- # Statistics
209
- total = len(results)
210
- passed = sum(1 for r in results if r["passed"] and not r.get("skipped"))
211
- failed = sum(1 for r in results if not r["passed"] and not r.get("skipped"))
212
- skipped = sum(1 for r in results if r.get("skipped"))
213
-
214
- print(f"Total Duration: {total_duration:.1f}s")
215
- print(f"Total Checks: {total}")
216
- print(f"{Colors.GREEN}✅ Passed: {passed}{Colors.ENDC}")
217
- print(f"{Colors.RED}❌ Failed: {failed}{Colors.ENDC}")
218
- print(f"{Colors.YELLOW}⏭️ Skipped: {skipped}{Colors.ENDC}")
219
- print()
220
-
221
- # Category breakdown
222
- print(f"{Colors.BOLD}Results by Category:{Colors.ENDC}")
223
- current_category = None
224
- for r in results:
225
- # Print category header if changed
226
- if r.get("category") and r["category"] != current_category:
227
- current_category = r["category"]
228
- print(f"\n{Colors.BOLD}{Colors.CYAN}{current_category}:{Colors.ENDC}")
229
-
230
- # Print result
231
- if r.get("skipped"):
232
- status = f"{Colors.YELLOW}⏭️ {Colors.ENDC}"
233
- elif r["passed"]:
234
- status = f"{Colors.GREEN}✅{Colors.ENDC}"
235
- else:
236
- status = f"{Colors.RED}❌{Colors.ENDC}"
237
-
238
- duration_str = f"({r.get('duration', 0):.1f}s)" if not r.get("skipped") else ""
239
- print(f" {status} {r['name']} {duration_str}")
240
-
241
- print()
242
-
243
- # Failed checks detail
244
- if failed > 0:
245
- print(f"{Colors.BOLD}{Colors.RED}❌ FAILED CHECKS:{Colors.ENDC}")
246
- for r in results:
247
- if not r["passed"] and not r.get("skipped"):
248
- print(f"\n{Colors.RED}✗ {r['name']}{Colors.ENDC}")
249
- if r.get("error"):
250
- error_preview = r["error"][:200]
251
- print(f" Error: {error_preview}")
252
- print()
253
-
254
- # Final verdict
255
- if failed > 0:
256
- print_error(f"VERIFICATION FAILED - {failed} check(s) need attention")
257
- print(f"\n{Colors.YELLOW}💡 Tip: Fix critical (security, lint) issues first{Colors.ENDC}")
258
- return False
259
- else:
260
- print_success("✨ ALL CHECKS PASSED - Ready for deployment! ✨")
261
- return True
262
-
263
- def main():
264
- parser = argparse.ArgumentParser(
265
- description="Run complete Antigravity Kit verification suite",
266
- formatter_class=argparse.RawDescriptionHelpFormatter,
267
- epilog="""
268
- Examples:
269
- python scripts/verify_all.py . --url http://localhost:3000
270
- python scripts/verify_all.py . --url https://staging.example.com --no-e2e
271
- """
272
- )
273
- parser.add_argument("project", help="Project path to validate")
274
- parser.add_argument("--url", required=True, help="URL for performance & E2E checks")
275
- parser.add_argument("--no-e2e", action="store_true", help="Skip E2E tests")
276
- parser.add_argument("--stop-on-fail", action="store_true", help="Stop on first failure")
277
-
278
- args = parser.parse_args()
279
-
280
- project_path = Path(args.project).resolve()
281
-
282
- if not project_path.exists():
283
- print_error(f"Project path does not exist: {project_path}")
284
- sys.exit(1)
285
-
286
- print_header("🚀 ANTIGRAVITY KIT - FULL VERIFICATION SUITE")
287
- print(f"Project: {project_path}")
288
- print(f"URL: {args.url}")
289
- print(f"Started: {datetime.now().strftime('%Y-%m-%d %H:%M:%S')}")
290
-
291
- start_time = datetime.now()
292
- results = []
293
-
294
- # Run all verification categories
295
- for suite in VERIFICATION_SUITE:
296
- category = suite["category"]
297
- requires_url = suite.get("requires_url", False)
298
-
299
- # Skip if requires URL and not provided
300
- if requires_url and not args.url:
301
- continue
302
-
303
- # Skip E2E if flag set
304
- if args.no_e2e and category == "E2E Testing":
305
- continue
306
-
307
- print_header(f"📋 {category.upper()}")
308
-
309
- for name, script_path, required in suite["checks"]:
310
- script = project_path / script_path
311
- result = run_script(name, script, str(project_path), args.url)
312
- result["category"] = category
313
- results.append(result)
314
-
315
- # Stop on critical failure if flag set
316
- if args.stop_on_fail and required and not result["passed"] and not result.get("skipped"):
317
- print_error(f"CRITICAL: {name} failed. Stopping verification.")
318
- print_final_report(results, start_time)
319
- sys.exit(1)
320
-
321
- # Print final report
322
- all_passed = print_final_report(results, start_time)
323
-
324
- sys.exit(0 if all_passed else 1)
325
-
326
- if __name__ == "__main__":
327
- main()