@tdk-landscape/tdk-cli-core 1.3.52 โ†’ 1.3.54

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 (390) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/README.md +1 -1
  3. package/cli/dist/commands/config.js +1 -1
  4. package/cli/dist/commands/resource.js +1 -1
  5. package/cli/dist/generator/extension-fetch.js +16 -9
  6. package/cli/package.json +1 -1
  7. package/package.json +16 -1
  8. package/.claude/skills/layer-autoresearch/SKILL.md +0 -48
  9. package/.claude/skills/tdk-troubleshoot/SKILL.md +0 -222
  10. package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -40
  11. package/.github/ISSUE_TEMPLATE/config.yml +0 -8
  12. package/.github/ISSUE_TEMPLATE/feature_request.yml +0 -18
  13. package/.github/dependabot.yml +0 -33
  14. package/.github/pull_request_template.md +0 -5
  15. package/.github/workflows/ci.yml +0 -200
  16. package/.github/workflows/release-binaries.yml +0 -139
  17. package/.github/zizmor.yml +0 -9
  18. package/.pre-commit-config.yaml +0 -57
  19. package/CODE_OF_CONDUCT.md +0 -9
  20. package/CONTRIBUTING.md +0 -42
  21. package/Makefile +0 -92
  22. package/SECURITY.md +0 -17
  23. package/benchmarks/results/container-scale-2026-09-25T20-54-49-736Z.json +0 -45
  24. package/benchmarks/results/container-scale-2026-09-25T21-01-20-540Z.json +0 -150
  25. package/benchmarks/results/container-scale-2026-09-25T21-15-01-441Z.json +0 -73
  26. package/benchmarks/results/container-scale-2026-09-25T22-09-01-630Z.json +0 -77
  27. package/benchmarks/results/container-scale-2026-09-25T22-18-28-371Z.json +0 -202
  28. package/cli/AGENTS.md +0 -390
  29. package/cli/DESIGN.md +0 -735
  30. package/cli/README.md +0 -292
  31. package/cli/biome.json +0 -40
  32. package/cli/dependency-graph.svg +0 -1135
  33. package/cli/dist/cli.d.ts +0 -3
  34. package/cli/dist/cli.d.ts.map +0 -1
  35. package/cli/dist/cli.js.map +0 -1
  36. package/cli/dist/commands/completion.d.ts +0 -3
  37. package/cli/dist/commands/completion.d.ts.map +0 -1
  38. package/cli/dist/commands/completion.js.map +0 -1
  39. package/cli/dist/commands/config.d.ts +0 -3
  40. package/cli/dist/commands/config.d.ts.map +0 -1
  41. package/cli/dist/commands/config.js.map +0 -1
  42. package/cli/dist/commands/doctor.d.ts +0 -19
  43. package/cli/dist/commands/doctor.d.ts.map +0 -1
  44. package/cli/dist/commands/doctor.js.map +0 -1
  45. package/cli/dist/commands/down.d.ts +0 -3
  46. package/cli/dist/commands/down.d.ts.map +0 -1
  47. package/cli/dist/commands/down.js.map +0 -1
  48. package/cli/dist/commands/help.d.ts +0 -2
  49. package/cli/dist/commands/help.d.ts.map +0 -1
  50. package/cli/dist/commands/help.js.map +0 -1
  51. package/cli/dist/commands/networks.d.ts +0 -3
  52. package/cli/dist/commands/networks.d.ts.map +0 -1
  53. package/cli/dist/commands/networks.js.map +0 -1
  54. package/cli/dist/commands/project.d.ts +0 -9
  55. package/cli/dist/commands/project.d.ts.map +0 -1
  56. package/cli/dist/commands/project.js.map +0 -1
  57. package/cli/dist/commands/projects.d.ts +0 -3
  58. package/cli/dist/commands/projects.d.ts.map +0 -1
  59. package/cli/dist/commands/projects.js.map +0 -1
  60. package/cli/dist/commands/resource.d.ts +0 -69
  61. package/cli/dist/commands/resource.d.ts.map +0 -1
  62. package/cli/dist/commands/resource.js.map +0 -1
  63. package/cli/dist/commands/resources.d.ts +0 -3
  64. package/cli/dist/commands/resources.d.ts.map +0 -1
  65. package/cli/dist/commands/resources.js.map +0 -1
  66. package/cli/dist/commands/stack.d.ts +0 -3
  67. package/cli/dist/commands/stack.d.ts.map +0 -1
  68. package/cli/dist/commands/stack.js.map +0 -1
  69. package/cli/dist/commands/stacks.d.ts +0 -3
  70. package/cli/dist/commands/stacks.d.ts.map +0 -1
  71. package/cli/dist/commands/stacks.js.map +0 -1
  72. package/cli/dist/commands/status.d.ts +0 -3
  73. package/cli/dist/commands/status.d.ts.map +0 -1
  74. package/cli/dist/commands/status.js.map +0 -1
  75. package/cli/dist/commands/ui.d.ts +0 -3
  76. package/cli/dist/commands/ui.d.ts.map +0 -1
  77. package/cli/dist/commands/ui.js.map +0 -1
  78. package/cli/dist/commands/up.d.ts +0 -3
  79. package/cli/dist/commands/up.d.ts.map +0 -1
  80. package/cli/dist/commands/up.js.map +0 -1
  81. package/cli/dist/commands/upgrade.d.ts +0 -14
  82. package/cli/dist/commands/upgrade.d.ts.map +0 -1
  83. package/cli/dist/commands/upgrade.js.map +0 -1
  84. package/cli/dist/commands/version.d.ts +0 -3
  85. package/cli/dist/commands/version.d.ts.map +0 -1
  86. package/cli/dist/commands/version.js.map +0 -1
  87. package/cli/dist/components/Accessible.d.ts +0 -8
  88. package/cli/dist/components/Accessible.d.ts.map +0 -1
  89. package/cli/dist/components/Accessible.js.map +0 -1
  90. package/cli/dist/components/BaseTooltip.d.ts +0 -4
  91. package/cli/dist/components/BaseTooltip.d.ts.map +0 -1
  92. package/cli/dist/components/BaseTooltip.js.map +0 -1
  93. package/cli/dist/components/DetailPanel.d.ts +0 -4
  94. package/cli/dist/components/DetailPanel.d.ts.map +0 -1
  95. package/cli/dist/components/DetailPanel.js.map +0 -1
  96. package/cli/dist/components/FileTree.d.ts +0 -4
  97. package/cli/dist/components/FileTree.d.ts.map +0 -1
  98. package/cli/dist/components/FileTree.js.map +0 -1
  99. package/cli/dist/components/ResourceSelectInput.d.ts +0 -4
  100. package/cli/dist/components/ResourceSelectInput.d.ts.map +0 -1
  101. package/cli/dist/components/ResourceSelectInput.js.map +0 -1
  102. package/cli/dist/components/ResourceTable.d.ts +0 -4
  103. package/cli/dist/components/ResourceTable.d.ts.map +0 -1
  104. package/cli/dist/components/ResourceTable.js.map +0 -1
  105. package/cli/dist/components/TabBar.d.ts +0 -4
  106. package/cli/dist/components/TabBar.d.ts.map +0 -1
  107. package/cli/dist/components/TabBar.js.map +0 -1
  108. package/cli/dist/components/Tooltip.d.ts +0 -12
  109. package/cli/dist/components/Tooltip.d.ts.map +0 -1
  110. package/cli/dist/components/Tooltip.js.map +0 -1
  111. package/cli/dist/components/index.d.ts +0 -8
  112. package/cli/dist/components/index.d.ts.map +0 -1
  113. package/cli/dist/components/index.js.map +0 -1
  114. package/cli/dist/config/platform-standards.d.ts +0 -159
  115. package/cli/dist/config/platform-standards.d.ts.map +0 -1
  116. package/cli/dist/config/platform-standards.js.map +0 -1
  117. package/cli/dist/generator/extension-fetch.d.ts +0 -25
  118. package/cli/dist/generator/extension-fetch.d.ts.map +0 -1
  119. package/cli/dist/generator/extension-fetch.js.map +0 -1
  120. package/cli/dist/generator/template-engine.d.ts +0 -62
  121. package/cli/dist/generator/template-engine.d.ts.map +0 -1
  122. package/cli/dist/generator/template-engine.js.map +0 -1
  123. package/cli/dist/index.d.ts +0 -11
  124. package/cli/dist/index.d.ts.map +0 -1
  125. package/cli/dist/index.js.map +0 -1
  126. package/cli/dist/types/index.d.ts +0 -257
  127. package/cli/dist/types/index.d.ts.map +0 -1
  128. package/cli/dist/types/index.js.map +0 -1
  129. package/cli/dist/utils/cache.d.ts +0 -19
  130. package/cli/dist/utils/cache.d.ts.map +0 -1
  131. package/cli/dist/utils/cache.js.map +0 -1
  132. package/cli/dist/utils/command-helpers.d.ts +0 -17
  133. package/cli/dist/utils/command-helpers.d.ts.map +0 -1
  134. package/cli/dist/utils/command-helpers.js.map +0 -1
  135. package/cli/dist/utils/constants.d.ts +0 -53
  136. package/cli/dist/utils/constants.d.ts.map +0 -1
  137. package/cli/dist/utils/constants.js.map +0 -1
  138. package/cli/dist/utils/discovery-context.d.ts +0 -4
  139. package/cli/dist/utils/discovery-context.d.ts.map +0 -1
  140. package/cli/dist/utils/discovery-context.js.map +0 -1
  141. package/cli/dist/utils/docker.d.ts +0 -4
  142. package/cli/dist/utils/docker.d.ts.map +0 -1
  143. package/cli/dist/utils/docker.js.map +0 -1
  144. package/cli/dist/utils/doctor-runtime.d.ts +0 -81
  145. package/cli/dist/utils/doctor-runtime.d.ts.map +0 -1
  146. package/cli/dist/utils/doctor-runtime.js.map +0 -1
  147. package/cli/dist/utils/env-validator.d.ts +0 -15
  148. package/cli/dist/utils/env-validator.d.ts.map +0 -1
  149. package/cli/dist/utils/env-validator.js.map +0 -1
  150. package/cli/dist/utils/errors.d.ts +0 -31
  151. package/cli/dist/utils/errors.d.ts.map +0 -1
  152. package/cli/dist/utils/errors.js.map +0 -1
  153. package/cli/dist/utils/file-helpers.d.ts +0 -14
  154. package/cli/dist/utils/file-helpers.d.ts.map +0 -1
  155. package/cli/dist/utils/file-helpers.js.map +0 -1
  156. package/cli/dist/utils/formatting.d.ts +0 -30
  157. package/cli/dist/utils/formatting.d.ts.map +0 -1
  158. package/cli/dist/utils/formatting.js.map +0 -1
  159. package/cli/dist/utils/paths.d.ts +0 -3
  160. package/cli/dist/utils/paths.d.ts.map +0 -1
  161. package/cli/dist/utils/paths.js.map +0 -1
  162. package/cli/dist/utils/port-assignment.d.ts +0 -6
  163. package/cli/dist/utils/port-assignment.d.ts.map +0 -1
  164. package/cli/dist/utils/port-assignment.js.map +0 -1
  165. package/cli/dist/utils/project-features.d.ts +0 -23
  166. package/cli/dist/utils/project-features.d.ts.map +0 -1
  167. package/cli/dist/utils/project-features.js.map +0 -1
  168. package/cli/dist/utils/project-templates.d.ts +0 -7
  169. package/cli/dist/utils/project-templates.d.ts.map +0 -1
  170. package/cli/dist/utils/project-templates.js.map +0 -1
  171. package/cli/dist/utils/prompt.d.ts +0 -28
  172. package/cli/dist/utils/prompt.d.ts.map +0 -1
  173. package/cli/dist/utils/prompt.js.map +0 -1
  174. package/cli/dist/utils/resource-features.d.ts +0 -29
  175. package/cli/dist/utils/resource-features.d.ts.map +0 -1
  176. package/cli/dist/utils/resource-features.js.map +0 -1
  177. package/cli/dist/utils/service-urls.d.ts +0 -30
  178. package/cli/dist/utils/service-urls.d.ts.map +0 -1
  179. package/cli/dist/utils/service-urls.js.map +0 -1
  180. package/cli/dist/utils/services.d.ts +0 -18
  181. package/cli/dist/utils/services.d.ts.map +0 -1
  182. package/cli/dist/utils/services.js.map +0 -1
  183. package/cli/dist/utils/stack-features.d.ts +0 -22
  184. package/cli/dist/utils/stack-features.d.ts.map +0 -1
  185. package/cli/dist/utils/stack-features.js.map +0 -1
  186. package/cli/dist/utils/tar.d.ts +0 -7
  187. package/cli/dist/utils/tar.d.ts.map +0 -1
  188. package/cli/dist/utils/tar.js.map +0 -1
  189. package/cli/dist/utils/tilt.d.ts +0 -20
  190. package/cli/dist/utils/tilt.d.ts.map +0 -1
  191. package/cli/dist/utils/tilt.js.map +0 -1
  192. package/cli/dist/utils/validation.d.ts +0 -16
  193. package/cli/dist/utils/validation.d.ts.map +0 -1
  194. package/cli/dist/utils/validation.js.map +0 -1
  195. package/cli/knip.json +0 -6
  196. package/cli/pnpm-lock.yaml +0 -2305
  197. package/cli/pnpm-workspace.yaml +0 -2
  198. package/cli/src/cli.ts +0 -72
  199. package/cli/src/commands/__tests__/always-enabled-infra.test.ts +0 -109
  200. package/cli/src/commands/__tests__/config.test.ts +0 -146
  201. package/cli/src/commands/__tests__/doctor.test.ts +0 -730
  202. package/cli/src/commands/__tests__/error-handling.test.ts +0 -78
  203. package/cli/src/commands/__tests__/phases-model.test.ts +0 -161
  204. package/cli/src/commands/__tests__/project-resource-features-e2e.test.ts +0 -187
  205. package/cli/src/commands/__tests__/project.test.ts +0 -68
  206. package/cli/src/commands/__tests__/resource.test.ts +0 -226
  207. package/cli/src/commands/__tests__/saas-starter-integration.test.ts +0 -194
  208. package/cli/src/commands/__tests__/stack-features-e2e.test.ts +0 -135
  209. package/cli/src/commands/__tests__/upgrade.test.ts +0 -198
  210. package/cli/src/commands/completion.ts +0 -300
  211. package/cli/src/commands/config.ts +0 -299
  212. package/cli/src/commands/doctor.ts +0 -926
  213. package/cli/src/commands/down.ts +0 -37
  214. package/cli/src/commands/help.ts +0 -143
  215. package/cli/src/commands/networks-design.md +0 -80
  216. package/cli/src/commands/networks.ts +0 -332
  217. package/cli/src/commands/project.ts +0 -456
  218. package/cli/src/commands/projects.ts +0 -82
  219. package/cli/src/commands/resource.ts +0 -652
  220. package/cli/src/commands/resources.ts +0 -95
  221. package/cli/src/commands/stack.ts +0 -128
  222. package/cli/src/commands/stacks.ts +0 -52
  223. package/cli/src/commands/status.ts +0 -88
  224. package/cli/src/commands/ui.tsx +0 -843
  225. package/cli/src/commands/up.ts +0 -169
  226. package/cli/src/commands/upgrade.ts +0 -628
  227. package/cli/src/commands/version.ts +0 -9
  228. package/cli/src/components/Accessible.tsx +0 -21
  229. package/cli/src/components/BaseTooltip.tsx +0 -66
  230. package/cli/src/components/DetailPanel.tsx +0 -146
  231. package/cli/src/components/FileTree.tsx +0 -89
  232. package/cli/src/components/ResourceSelectInput.tsx +0 -30
  233. package/cli/src/components/ResourceTable.tsx +0 -78
  234. package/cli/src/components/TabBar.tsx +0 -53
  235. package/cli/src/components/Tooltip.tsx +0 -11
  236. package/cli/src/components/index.ts +0 -7
  237. package/cli/src/config/platform-standards.test.ts +0 -11
  238. package/cli/src/config/platform-standards.ts +0 -196
  239. package/cli/src/generator/__tests__/extension-fetch.test.ts +0 -242
  240. package/cli/src/generator/__tests__/template-engine.test.ts +0 -70
  241. package/cli/src/generator/extension-fetch.ts +0 -286
  242. package/cli/src/generator/template-engine.ts +0 -752
  243. package/cli/src/index.ts +0 -86
  244. package/cli/src/templates.d.ts +0 -4
  245. package/cli/src/types/index.ts +0 -353
  246. package/cli/src/utils/__tests__/cache.test.ts +0 -98
  247. package/cli/src/utils/__tests__/formatting.test.ts +0 -170
  248. package/cli/src/utils/__tests__/paths.test.ts +0 -180
  249. package/cli/src/utils/__tests__/port-assignment.test.ts +0 -121
  250. package/cli/src/utils/__tests__/service-urls.test.ts +0 -174
  251. package/cli/src/utils/__tests__/services.test.ts +0 -531
  252. package/cli/src/utils/__tests__/tilt.test.ts +0 -172
  253. package/cli/src/utils/__tests__/validation.test.ts +0 -148
  254. package/cli/src/utils/cache.ts +0 -76
  255. package/cli/src/utils/command-helpers.ts +0 -54
  256. package/cli/src/utils/constants.ts +0 -130
  257. package/cli/src/utils/discovery-context.ts +0 -49
  258. package/cli/src/utils/docker.ts +0 -20
  259. package/cli/src/utils/doctor-runtime.ts +0 -644
  260. package/cli/src/utils/env-validator.ts +0 -139
  261. package/cli/src/utils/errors.ts +0 -168
  262. package/cli/src/utils/file-helpers.ts +0 -62
  263. package/cli/src/utils/formatting.ts +0 -215
  264. package/cli/src/utils/paths.ts +0 -53
  265. package/cli/src/utils/port-assignment.ts +0 -106
  266. package/cli/src/utils/project-features.ts +0 -118
  267. package/cli/src/utils/project-templates.ts +0 -29
  268. package/cli/src/utils/prompt.ts +0 -128
  269. package/cli/src/utils/resource-features.ts +0 -215
  270. package/cli/src/utils/service-urls.ts +0 -124
  271. package/cli/src/utils/services.ts +0 -364
  272. package/cli/src/utils/stack-features.ts +0 -30
  273. package/cli/src/utils/tar.ts +0 -24
  274. package/cli/src/utils/tilt.ts +0 -133
  275. package/cli/src/utils/validation.ts +0 -67
  276. package/cli/tsconfig.json +0 -25
  277. package/cli/tsconfig.typecheck.json +0 -8
  278. package/docs/FEATURES.md +0 -279
  279. package/docs/demo.svg +0 -217
  280. package/engine/docs/AUTODISCOVERY_TEST.md +0 -182
  281. package/engine/docs/C4-ARCHITECTURE-operations.md +0 -396
  282. package/engine/docs/C4-ARCHITECTURE-overview.md +0 -284
  283. package/engine/docs/C4-ARCHITECTURE.md +0 -17
  284. package/engine/docs/GOLDEN_IMAGE_INTEGRATION.md +0 -349
  285. package/engine/docs/MANIFEST_DRIVEN_ARCHITECTURE.md +0 -357
  286. package/engine/docs/README.md +0 -284
  287. package/install.sh +0 -19
  288. package/knip.json +0 -10
  289. package/openspec/changes/add-vscode-tdk-troubleshooter-plugin/.openspec.yaml +0 -2
  290. package/openspec/changes/add-vscode-tdk-troubleshooter-plugin/design.md +0 -102
  291. package/openspec/changes/add-vscode-tdk-troubleshooter-plugin/proposal.md +0 -31
  292. package/openspec/changes/add-vscode-tdk-troubleshooter-plugin/specs/vscode-tdk-notifications/spec.md +0 -48
  293. package/openspec/changes/add-vscode-tdk-troubleshooter-plugin/specs/vscode-tdk-orchestration/spec.md +0 -63
  294. package/openspec/changes/add-vscode-tdk-troubleshooter-plugin/specs/vscode-tdk-troubleshooting/spec.md +0 -56
  295. package/openspec/changes/add-vscode-tdk-troubleshooter-plugin/tasks.md +0 -61
  296. package/openspec/changes/archive/2026-04-28-rename-domain-to-stack-service-to-resource/.openspec.yaml +0 -2
  297. package/openspec/changes/archive/2026-04-28-rename-domain-to-stack-service-to-resource/design.md +0 -114
  298. package/openspec/changes/archive/2026-04-28-rename-domain-to-stack-service-to-resource/proposal.md +0 -32
  299. package/openspec/changes/archive/2026-04-28-rename-domain-to-stack-service-to-resource/specs/manifest-field-migration/spec.md +0 -20
  300. package/openspec/changes/archive/2026-04-28-rename-domain-to-stack-service-to-resource/specs/resource-terminology-standard/spec.md +0 -20
  301. package/openspec/changes/archive/2026-04-28-rename-domain-to-stack-service-to-resource/specs/stack-terminology-standard/spec.md +0 -20
  302. package/openspec/changes/archive/2026-04-28-rename-domain-to-stack-service-to-resource/tasks.md +0 -194
  303. package/openspec/changes/archive/2026-04-28-star-files-parameter-fixes/.openspec.yaml +0 -2
  304. package/openspec/changes/archive/2026-04-28-star-files-parameter-fixes/design.md +0 -111
  305. package/openspec/changes/archive/2026-04-28-star-files-parameter-fixes/proposal.md +0 -33
  306. package/openspec/changes/archive/2026-04-28-star-files-parameter-fixes/specs/function-naming-alignment/spec.md +0 -12
  307. package/openspec/changes/archive/2026-04-28-star-files-parameter-fixes/specs/optional-parameter-patterns/spec.md +0 -18
  308. package/openspec/changes/archive/2026-04-28-star-files-parameter-fixes/specs/parameter-documentation/spec.md +0 -16
  309. package/openspec/changes/archive/2026-04-28-star-files-parameter-fixes/specs/parameter-naming-consistency/spec.md +0 -12
  310. package/openspec/changes/archive/2026-04-28-star-files-parameter-fixes/specs/parameter-ordering-standard/spec.md +0 -12
  311. package/openspec/changes/archive/2026-04-28-star-files-parameter-fixes/tasks.md +0 -194
  312. package/openspec/changes/archive/2026-04-29-scan-repo-gaps-fix/.openspec.yaml +0 -2
  313. package/openspec/changes/archive/2026-04-29-scan-repo-gaps-fix/design.md +0 -84
  314. package/openspec/changes/archive/2026-04-29-scan-repo-gaps-fix/proposal.md +0 -31
  315. package/openspec/changes/archive/2026-04-29-scan-repo-gaps-fix/specs/codebase-audit/spec.md +0 -27
  316. package/openspec/changes/archive/2026-04-29-scan-repo-gaps-fix/specs/dead-code-cleanup/spec.md +0 -27
  317. package/openspec/changes/archive/2026-04-29-scan-repo-gaps-fix/specs/test-gap-fill/spec.md +0 -23
  318. package/openspec/changes/archive/2026-04-29-scan-repo-gaps-fix/specs/todo-resolution/spec.md +0 -27
  319. package/openspec/changes/archive/2026-04-29-scan-repo-gaps-fix/tasks.md +0 -39
  320. package/openspec/changes/archive/2026-06-25-landscape-consolidation/.openspec.yaml +0 -2
  321. package/openspec/changes/archive/2026-06-25-landscape-consolidation/design.md +0 -80
  322. package/openspec/changes/archive/2026-06-25-landscape-consolidation/proposal.md +0 -40
  323. package/openspec/changes/archive/2026-06-25-landscape-consolidation/spec.md +0 -52
  324. package/openspec/changes/archive/2026-06-25-landscape-consolidation/tasks.md +0 -51
  325. package/openspec/changes/archive/2026-09-17-fix-generated-stack-boot/.openspec.yaml +0 -2
  326. package/openspec/changes/archive/2026-09-17-fix-generated-stack-boot/design.md +0 -43
  327. package/openspec/changes/archive/2026-09-17-fix-generated-stack-boot/proposal.md +0 -29
  328. package/openspec/changes/archive/2026-09-17-fix-generated-stack-boot/specs/self-contained-generated-projects/spec.md +0 -67
  329. package/openspec/changes/archive/2026-09-17-fix-generated-stack-boot/tasks.md +0 -27
  330. package/openspec/changes/optimize-runtime-docker-layers/.openspec.yaml +0 -3
  331. package/openspec/changes/optimize-runtime-docker-layers/design.md +0 -81
  332. package/openspec/changes/optimize-runtime-docker-layers/proposal.md +0 -44
  333. package/openspec/changes/optimize-runtime-docker-layers/specs/runtime-container-footprint/spec.md +0 -79
  334. package/openspec/changes/optimize-runtime-docker-layers/tasks.md +0 -36
  335. package/openspec/changes/prioritized-cold-start/.openspec.yaml +0 -4
  336. package/openspec/changes/prioritized-cold-start/design.md +0 -137
  337. package/openspec/changes/prioritized-cold-start/proposal.md +0 -41
  338. package/openspec/changes/prioritized-cold-start/specs/on-demand-resource-startup/spec.md +0 -98
  339. package/openspec/changes/prioritized-cold-start/tasks.md +0 -69
  340. package/openspec/config.yaml +0 -1
  341. package/openspec/specs/manifest-field-migration/spec.md +0 -24
  342. package/openspec/specs/resource-terminology-standard/spec.md +0 -24
  343. package/openspec/specs/self-contained-generated-projects/spec.md +0 -67
  344. package/openspec/specs/stack-terminology-standard/spec.md +0 -24
  345. package/platform/services/platform/proxy/service.yaml +0 -14
  346. package/scripts/audit-codebase.sh +0 -213
  347. package/scripts/autoresearch/layer-eval.sh +0 -65
  348. package/scripts/benchmark/README.md +0 -25
  349. package/scripts/benchmark/container-scale.ts +0 -503
  350. package/scripts/benchmark/pre-release-gate.sh +0 -9
  351. package/scripts/install-git-hooks.sh +0 -14
  352. package/scripts/measure-idle-footprint.sh +0 -58
  353. package/scripts/record-demo.sh +0 -43
  354. package/scripts/release-binaries.sh +0 -97
  355. package/scripts/setup-pre-commit.sh +0 -33
  356. package/scripts/stage-npm-engine.sh +0 -36
  357. package/tests/tilt-engine/__init__.py +0 -5
  358. package/tests/tilt-engine/conftest.py +0 -182
  359. package/tests/tilt-engine/fixtures/appointment-frontend-service.json +0 -11
  360. package/tests/tilt-engine/fixtures/identity-backend-service.json +0 -12
  361. package/tests/tilt-engine/fixtures/invalid-service.json +0 -4
  362. package/tests/tilt-engine/test_agents_md_generator.py +0 -341
  363. package/tests/tilt-engine/test_agents_md_integration.py +0 -378
  364. package/tests/tilt-engine/test_cache_operations.py +0 -181
  365. package/tests/tilt-engine/test_cache_persistence.py +0 -142
  366. package/tests/tilt-engine/test_code_executor.py +0 -152
  367. package/tests/tilt-engine/test_code_viewer.py +0 -127
  368. package/tests/tilt-engine/test_compose_port_anchors.py +0 -310
  369. package/tests/tilt-engine/test_config_inspector.py +0 -162
  370. package/tests/tilt-engine/test_daemon_focus_mode.py +0 -89
  371. package/tests/tilt-engine/test_daemon_polling.py +0 -122
  372. package/tests/tilt-engine/test_daemon_registration.py +0 -115
  373. package/tests/tilt-engine/test_daemon_validation.py +0 -107
  374. package/tests/tilt-engine/test_docker_generator_bugs.py +0 -493
  375. package/tests/tilt-engine/test_docker_prune.py +0 -119
  376. package/tests/tilt-engine/test_dockerignore_path_bug.py +0 -82
  377. package/tests/tilt-engine/test_file_browser.py +0 -193
  378. package/tests/tilt-engine/test_frontend_basepath_manifest.py +0 -27
  379. package/tests/tilt-engine/test_health_dependencies.py +0 -130
  380. package/tests/tilt-engine/test_health_endpoints.py +0 -118
  381. package/tests/tilt-engine/test_health_tilt_ui.py +0 -85
  382. package/tests/tilt-engine/test_runtime_container_footprint.py +0 -162
  383. package/tests/tilt-engine/test_sablier_defer_start.py +0 -237
  384. package/tests/tilt-engine/test_safety_aliases.py +0 -84
  385. package/tests/tilt-engine/test_snapshot_diff.py +0 -136
  386. package/tests/tilt-engine/test_snapshot_persistence.py +0 -163
  387. package/tests/tilt-engine/test_snapshot_scanning.py +0 -123
  388. package/tests/tilt-engine/test_standalone_project_boot.py +0 -61
  389. package/tests/tilt-engine/test_standalone_traefik.py +0 -160
  390. package/tests/tilt-engine/test_traefik_static_wake_route.py +0 -187
@@ -1,200 +0,0 @@
1
- # Checks for every PR and push to main. Run manually from the Actions tab too.
2
- name: ๐Ÿšฆ CI
3
-
4
- on:
5
- push:
6
- branches: [main]
7
- pull_request:
8
- workflow_dispatch:
9
-
10
- permissions:
11
- contents: read
12
-
13
- concurrency:
14
- group: ${{ github.workflow }}-${{ github.ref }}
15
- cancel-in-progress: true
16
-
17
- jobs:
18
- changes:
19
- name: ๐Ÿ”Ž Detect Changes
20
- runs-on: ubuntu-latest
21
- outputs:
22
- lockfile: ${{ steps.filter.outputs.lockfile }}
23
- workflows: ${{ steps.filter.outputs.workflows }}
24
- steps:
25
- - uses: actions/checkout@v7
26
- with:
27
- persist-credentials: false
28
-
29
- - uses: dorny/paths-filter@v4
30
- id: filter
31
- with:
32
- filters: |
33
- lockfile:
34
- - 'bun.lock'
35
- - 'package.json'
36
- - 'cli/package.json'
37
- workflows:
38
- - '.github/workflows/**'
39
-
40
- lint:
41
- name: ๐Ÿ›ก๏ธ Lint
42
- runs-on: ubuntu-latest
43
- defaults:
44
- run:
45
- working-directory: cli
46
- steps:
47
- - uses: actions/checkout@v7
48
- with:
49
- persist-credentials: false
50
- - uses: oven-sh/setup-bun@v2
51
- - run: bun install --frozen-lockfile
52
- - run: bun run lint
53
-
54
- typecheck:
55
- name: ๐Ÿฆด Typecheck
56
- runs-on: ubuntu-latest
57
- defaults:
58
- run:
59
- working-directory: cli
60
- steps:
61
- - uses: actions/checkout@v7
62
- with:
63
- persist-credentials: false
64
- - uses: oven-sh/setup-bun@v2
65
- - run: bun install --frozen-lockfile
66
- - run: bun run typecheck
67
-
68
- test:
69
- name: ๐Ÿงช Test
70
- runs-on: ubuntu-latest
71
- defaults:
72
- run:
73
- working-directory: cli
74
- steps:
75
- - uses: actions/checkout@v7
76
- with:
77
- persist-credentials: false
78
- - uses: oven-sh/setup-bun@v2
79
- - uses: actions/setup-node@v7
80
- with:
81
- node-version: 22
82
- - run: bun install --frozen-lockfile
83
- - run: npm test
84
-
85
- # Installs the npm package the way users do (npm install -g) and runs it,
86
- # so a release can't ship without the compiled CLI or its dependencies.
87
- package-smoke:
88
- name: ๐Ÿ“ฆ Package Smoke Test
89
- runs-on: ubuntu-latest
90
- steps:
91
- - uses: actions/checkout@v7
92
- with:
93
- persist-credentials: false
94
- - uses: oven-sh/setup-bun@v2
95
- - uses: actions/setup-node@v7
96
- with:
97
- node-version: 22
98
-
99
- - name: Build
100
- run: |
101
- bun install --frozen-lockfile
102
- npm run build
103
-
104
- # cli/dist is committed so `npm install -g github:tdk-landscape/tdk-cli-core`
105
- # works without a build step. Fail if a source change was committed
106
- # without rebuilding it.
107
- - name: Check committed cli/dist is up to date
108
- run: |
109
- # --ignored: cli/dist/ is gitignored, so a newly compiled file only
110
- # shows up with it.
111
- if [ -n "$(git status --porcelain --ignored -- cli/dist)" ]; then
112
- git status --short --ignored -- cli/dist
113
- echo "::error::cli/dist is stale. Run 'npm run build' and commit cli/dist (new files need 'git add -f')."
114
- exit 1
115
- fi
116
-
117
- - name: Pack and install globally
118
- run: | # zizmor: ignore[adhoc-packages] installs our own freshly packed tarball
119
- npm pack --pack-destination "$RUNNER_TEMP"
120
- npm install -g "$RUNNER_TEMP"/tdk-landscape-tdk-cli-core-*.tgz
121
-
122
- - name: Run the installed CLI
123
- working-directory: ${{ runner.temp }}
124
- run: |
125
- tdk --version
126
- mkdir smoke-project && cd smoke-project
127
- tdk project --yes
128
- printf 'y\n' | tdk resource orders-api --type backend --stack shop
129
- test -f services/shop/orders-api/service.json
130
- echo "โœ… Installed package scaffolds a project and a resource"
131
-
132
- secret-scan:
133
- name: ๐Ÿ”‘ Secret Scan
134
- runs-on: ubuntu-latest
135
- if: github.event_name == 'pull_request'
136
- steps:
137
- - uses: actions/checkout@v7
138
- with:
139
- fetch-depth: 0
140
- persist-credentials: false
141
- - uses: trufflesecurity/trufflehog@v3.97.9
142
- with:
143
- base: ${{ github.event.pull_request.base.sha }}
144
- head: ${{ github.event.pull_request.head.sha }}
145
- extra_args: --only-verified
146
-
147
- # Needs "Dependency graph" turned on in Settings > Code security, then the
148
- # repository variable DEPENDENCY_REVIEW set to true (Settings > Variables).
149
- dependency-review:
150
- name: ๐Ÿ”’ Dependency Audit
151
- runs-on: ubuntu-latest
152
- needs: changes
153
- if: vars.DEPENDENCY_REVIEW == 'true' && needs.changes.outputs.lockfile == 'true' && github.event_name == 'pull_request'
154
- steps:
155
- - uses: actions/checkout@v7
156
- with:
157
- persist-credentials: false
158
- - uses: actions/dependency-review-action@v5
159
- with:
160
- fail-on-severity: high
161
-
162
- workflow-audit:
163
- name: ๐Ÿ› ๏ธ Workflow Audit
164
- runs-on: ubuntu-latest
165
- needs: changes
166
- if: needs.changes.outputs.workflows == 'true' || github.event_name == 'workflow_dispatch'
167
- steps:
168
- - uses: actions/checkout@v7
169
- with:
170
- persist-credentials: false
171
- - uses: raven-actions/actionlint@v2
172
- with:
173
- fail-on-error: true
174
- - uses: zizmorcore/zizmor-action@v0.6.4
175
- with:
176
- inputs: .github/workflows/
177
- advanced-security: false
178
- annotations: true
179
-
180
- summary:
181
- name: ๐Ÿ“‹ Summary
182
- runs-on: ubuntu-latest
183
- if: always()
184
- needs: [lint, typecheck, test, package-smoke, secret-scan, dependency-review, workflow-audit]
185
- steps:
186
- - name: Render summary
187
- env:
188
- NEEDS: ${{ toJSON(needs) }}
189
- run: |
190
- {
191
- echo "## CI Summary"
192
- echo ""
193
- echo "| Check | Result |"
194
- echo "|---|---|"
195
- echo "$NEEDS" | jq -r 'to_entries[] | "| \(.key) | \(
196
- if .value.result == "success" then "โœ… Passed"
197
- elif .value.result == "skipped" then "โญ๏ธ Skipped"
198
- elif .value.result == "cancelled" then "๐Ÿšซ Cancelled"
199
- else "โŒ Failed" end) |"'
200
- } >> "$GITHUB_STEP_SUMMARY"
@@ -1,139 +0,0 @@
1
- name: Release binaries and npm package
2
-
3
- on:
4
- workflow_dispatch:
5
- push:
6
- branches: [main]
7
- paths:
8
- - "package.json"
9
- - "cli/package.json"
10
-
11
- permissions:
12
- contents: write # push the automatic version bump back to main
13
- id-token: write
14
-
15
- # Queue releases instead of running them side by side: two runs for the same
16
- # version upload the same assets and one fails with "already exists".
17
- concurrency:
18
- group: release
19
- cancel-in-progress: false
20
-
21
- jobs:
22
- release:
23
- runs-on: ubuntu-latest
24
- steps:
25
- - uses: actions/checkout@v7
26
- with:
27
- persist-credentials: false
28
-
29
- - uses: oven-sh/setup-bun@v2
30
- with:
31
- bun-version: latest
32
-
33
- - uses: actions/setup-node@v7
34
- with:
35
- node-version: 24.15.0
36
- registry-url: "https://registry.npmjs.org"
37
- package-manager-cache: false
38
-
39
- - name: Update npm for trusted publishing
40
- run: npm install -g npm@latest # zizmor: ignore[adhoc-packages] trusted publishing needs a current npm
41
-
42
- - run: bun install --frozen-lockfile
43
- working-directory: cli
44
-
45
- # This workflow runs on every package.json change, not only version
46
- # bumps. A dependency update or other package.json edit used to rebuild
47
- # the binaries from new code and re-upload them over the release that
48
- # already had this version, while npm skipped it as "already published":
49
- # new code under an old version number. Instead, move to the next patch
50
- # version that is neither on npm nor a tdk-cli-releases tag. Must run
51
- # before the build: the CLI reads its version from cli/package.json.
52
- - name: Pick an unreleased version
53
- id: version
54
- env:
55
- GH_TOKEN: ${{ github.token }}
56
- run: |
57
- current=$(node -p "require('./package.json').version")
58
- version="$current"
59
- while npm view "@tdk-landscape/tdk-cli-core@${version}" version >/dev/null 2>&1 \
60
- || gh release view "v${version}" --repo tdk-landscape/tdk-cli-releases >/dev/null 2>&1; do
61
- version=$(node -p 'const [a, b, c] = process.argv[1].split(".").map(Number); [a, b, c + 1].join(".")' "$version")
62
- done
63
- if [ "$version" = "$current" ]; then
64
- echo "Releasing ${version}."
65
- echo "bumped=false" >> "$GITHUB_OUTPUT"
66
- else
67
- echo "::notice::${current} is already released; releasing this commit as ${version}."
68
- # Edit only the version line: `npm version` would reinstall the
69
- # workspaces and touch the bun-installed node_modules.
70
- node -e '
71
- const fs = require("fs");
72
- for (const file of ["package.json", "cli/package.json"]) {
73
- const before = fs.readFileSync(file, "utf8");
74
- const after = before.replace(/("version":\s*")[^"]+"/, (_, key) => key + process.argv[1] + "\"");
75
- if (after === before) throw new Error("no version field in " + file);
76
- fs.writeFileSync(file, after);
77
- }
78
- ' "$version"
79
- echo "bumped=true" >> "$GITHUB_OUTPUT"
80
- fi
81
- echo "version=${version}" >> "$GITHUB_OUTPUT"
82
-
83
- # cli/bin/tdk.js loads cli/dist/cli.js, so the npm package is broken
84
- # unless the CLI is compiled before `npm publish`.
85
- - run: npm run build
86
-
87
- - run: scripts/release-binaries.sh --publish
88
- env:
89
- GH_TOKEN: ${{ secrets.BINARY_RELEASE_TOKEN }}
90
-
91
- # The root package is the public package. It owns the tdk bin entry and
92
- # already contains the compiled CLI plus the bundled engine assets.
93
- - name: Publish to npm
94
- env:
95
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
96
- run: |
97
- PKG_VERSION=$(node -p "require('./package.json').version")
98
- if npm view "@tdk-landscape/tdk-cli-core@${PKG_VERSION}" version >/dev/null 2>&1; then
99
- echo "@tdk-landscape/tdk-cli-core@${PKG_VERSION} is already published, skipping."
100
- else
101
- npm publish --access public --provenance
102
- fi
103
-
104
- # Keep main in step with what was published. A push made with
105
- # github.token doesn't trigger workflows, so this can't loop. If it
106
- # fails, the release is still out; the next run bumps past it anyway.
107
- - name: Commit the version bump
108
- if: steps.version.outputs.bumped == 'true'
109
- env:
110
- GH_TOKEN: ${{ github.token }}
111
- VERSION: ${{ steps.version.outputs.version }}
112
- run: |
113
- git config user.name "github-actions[bot]"
114
- git config user.email "41898283+github-actions[bot]@users.noreply.github.com"
115
- # CHANGELOG versions match npm: file the "Unreleased" entries under
116
- # this version, leaving an empty "Unreleased" section above it.
117
- node -e '
118
- const fs = require("fs");
119
- const [version, date] = process.argv.slice(1);
120
- if (!fs.existsSync("CHANGELOG.md")) process.exit(0);
121
- const lines = fs.readFileSync("CHANGELOG.md", "utf8").split("\n");
122
- const start = lines.indexOf("## Unreleased");
123
- if (start === -1) process.exit(0);
124
- let end = lines.findIndex((l, i) => i > start && l.startsWith("## "));
125
- if (end === -1) end = lines.length;
126
- if (!lines.slice(start + 1, end).some((l) => l.trim())) process.exit(0);
127
- lines.splice(start + 1, 0, "", "## " + version + " (" + date + ")");
128
- fs.writeFileSync("CHANGELOG.md", lines.join("\n"));
129
- ' "$VERSION" "$(date -u +%F)"
130
- git add package.json cli/package.json
131
- if [ -f CHANGELOG.md ]; then git add CHANGELOG.md; fi
132
- git commit -m "Release ${VERSION} (automatic version bump)"
133
- remote="https://x-access-token:${GH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
134
- if ! git push "$remote" HEAD:main; then
135
- git fetch --depth=50 "$remote" main
136
- if ! { git rebase FETCH_HEAD && git push "$remote" HEAD:main; }; then
137
- echo "::warning::Released ${VERSION}, but main changed and the version bump could not be pushed. Make sure package.json and cli/package.json on main are ${VERSION} or higher."
138
- fi
139
- fi
@@ -1,9 +0,0 @@
1
- # Config for zizmor, the GitHub Actions security linter run by ci.yml's
2
- # Workflow Audit job whenever a workflow changes. Run locally with:
3
- # zizmor .github/workflows/
4
- #
5
- # unpinned-uses is off: we only use official or widely used actions by
6
- # major version tag, and hash pins would need updating for every release.
7
- rules:
8
- unpinned-uses:
9
- disable: true
@@ -1,57 +0,0 @@
1
- repos:
2
- - repo: local
3
- hooks:
4
- # Fast unit tests for Docker/Compose generators
5
- - id: pytest-fast-tests
6
- name: Run fast unit tests
7
- entry: python3 -m pytest -m fast --no-cov -q
8
- language: system
9
- pass_filenames: false
10
- always_run: true
11
- stages: [pre-commit]
12
- description: |
13
- Fast tests only (marked with @pytest.mark.fast):
14
- - Docker/Compose generator bug tests
15
- - Port anchor selection (*backend-port vs *frontend-port)
16
- - EXPOSE validation (port numbers, not paths)
17
- - Function signature validation (keyword args)
18
- These are pure Python tests (no Tilt/Docker needed) and run in ~1s.
19
-
20
- - repo: https://github.com/pre-commit/pre-commit-hooks
21
- rev: v4.5.0
22
- hooks:
23
- - id: trailing-whitespace
24
- - id: end-of-file-fixer
25
- - id: check-yaml
26
- exclude: ".autogenerated/"
27
- - id: check-json
28
- exclude: ".autogenerated/"
29
- - id: check-added-large-files
30
- args: ['--maxkb=500']
31
-
32
- - repo: https://github.com/psf/black
33
- rev: 23.12.1
34
- hooks:
35
- - id: black
36
- language_version: python3
37
- files: \.py$
38
- exclude: ".autogenerated/|__pycache__/"
39
-
40
- - repo: https://github.com/pycqa/flake8
41
- rev: 7.0.0
42
- hooks:
43
- - id: flake8
44
- files: \.py$
45
- exclude: ".autogenerated/|__pycache__/"
46
- args: ['--max-line-length=100', '--extend-ignore=E203,W503']
47
-
48
- # Optional: Run on Starlark files (Tilt/Starlark syntax check)
49
- - repo: local
50
- hooks:
51
- - id: check-star-syntax
52
- name: Check Starlark file syntax
53
- entry: python3 -c "import ast; [ast.parse(open(f).read()) for f in __import__('sys').argv[1:]]"
54
- language: system
55
- files: \.star$
56
- pass_filenames: true
57
- description: Basic Python syntax validation for Starlark files
@@ -1,9 +0,0 @@
1
- # Code of Conduct
2
-
3
- This project follows the [Contributor Covenant, version 2.1](https://www.contributor-covenant.org/version/2/1/code_of_conduct/).
4
-
5
- In short: be respectful, assume good intent, and keep discussion about the work. Harassment, personal attacks, and discriminatory language are not accepted in issues, pull requests, or any other project space.
6
-
7
- ## Reporting
8
-
9
- To report unacceptable behavior, open a [private security advisory](https://github.com/tdk-landscape/tdk-cli-core/security/advisories/new) or contact the maintainers through the [TDK Landscape organization](https://github.com/tdk-landscape). Reports are reviewed promptly and kept confidential.
package/CONTRIBUTING.md DELETED
@@ -1,42 +0,0 @@
1
- # Contributing to TDK
2
-
3
- Thanks for helping. Bug reports, docs fixes, and code changes are all welcome.
4
-
5
- ## Ways to help
6
-
7
- - **Report a bug or ask a question:** [open an issue](https://github.com/tdk-landscape/tdk-cli-core/issues/new/choose). Include the output of `tdk doctor`.
8
- - **Pick up an issue:** look for [`good first issue`](https://github.com/tdk-landscape/tdk-cli-core/labels/good%20first%20issue) or [`help wanted`](https://github.com/tdk-landscape/tdk-cli-core/labels/help%20wanted). Comment on it so nobody duplicates your work.
9
- - **Share what you built:** an example project or a blog post helps other people find TDK.
10
-
11
- ## Development setup
12
-
13
- You need [Bun](https://bun.sh), Node.js 22.12+, Docker, and [Tilt](https://docs.tilt.dev/install.html).
14
-
15
- ```bash
16
- git clone https://github.com/tdk-landscape/tdk-cli-core.git
17
- cd tdk-cli-core/cli
18
- bun install
19
- npm run typecheck
20
- npm run lint
21
- npm test
22
- ```
23
-
24
- From the repo root, `make help` lists more targets (`make test-fast`, `make pre-commit-run`).
25
-
26
- ## Where things live
27
-
28
- - `cli/` is the `tdk` CLI (TypeScript). Conventions are in [cli/AGENTS.md](cli/AGENTS.md).
29
- - `engine/` is the Starlark Tilt framework. Conventions are in [engine/AGENTS.md](engine/AGENTS.md).
30
- - `discovery/` builds the resource and dependency graph from `service.json` files.
31
-
32
- ## Pull requests
33
-
34
- 1. Fork the repo and create a branch from `main`.
35
- 2. Keep the change focused. One fix or feature per PR.
36
- 3. Add or update tests for behavior changes.
37
- 4. Make sure `npm run typecheck`, `npm run lint`, and `npm test` pass in `cli/`. CI runs the same checks.
38
- 5. Describe what changed and why in the PR description.
39
-
40
- ## Code of conduct
41
-
42
- This project follows the [Code of Conduct](CODE_OF_CONDUCT.md). By taking part you agree to follow it.
package/Makefile DELETED
@@ -1,92 +0,0 @@
1
- # Makefile
2
- # Common development tasks
3
-
4
- .PHONY: help test-tilt-engine test test-coverage lint video video-build video-test video-validate video-generate
5
-
6
- help: ## Show this help message
7
- @echo "Available targets:"
8
- @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[36m%-20s\033[0m %s\n", $$1, $$2}'
9
-
10
- # Testing targets
11
- test-tilt-engine: ## Run tilt-engine test suite
12
- @echo "๐Ÿงช Running tilt-engine tests..."
13
- pytest tests/tilt-engine/ -v --tb=short
14
-
15
- test-tilt-engine-coverage: ## Run tilt-engine tests with coverage report
16
- @echo "๐Ÿงช Running tilt-engine tests with coverage..."
17
- pytest tests/tilt-engine/ -v --cov=tests/tilt-engine --cov-report=term-missing --cov-report=html
18
-
19
- test: ## Run all tests
20
- @echo "๐Ÿงช Running all tests..."
21
- pytest tests/ -v --tb=short
22
-
23
- test-coverage: ## Run all tests with coverage
24
- @echo "๐Ÿงช Running all tests with coverage..."
25
- pytest tests/ -v --cov --cov-report=term-missing --cov-report=html
26
-
27
- # Test categories
28
- test-snapshot: ## Run snapshot tests only
29
- pytest tests/tilt-engine/test_snapshot_*.py -v -m snapshot
30
-
31
- test-daemon: ## Run daemon tests only
32
- pytest tests/tilt-engine/test_daemon_*.py -v -m daemon
33
-
34
- test-health: ## Run health check tests only
35
- pytest tests/tilt-engine/test_health_*.py -v -m health
36
-
37
- test-ide: ## Run IDE component tests only
38
- pytest tests/tilt-engine/test_*.py -v -m ide
39
-
40
- test-safety: ## Run safety guard tests only
41
- pytest tests/tilt-engine/test_*prune*.py tests/tilt-engine/test_*alias*.py -v -m safety
42
-
43
- test-cache: ## Run registry cache tests only
44
- pytest tests/tilt-engine/test_cache_*.py -v -m cache
45
-
46
- # Fast tests (for pre-commit)
47
- test-fast: ## Run fast unit tests only (no external deps)
48
- @echo "โšก Running fast tests..."
49
- pytest -m fast --no-cov -q
50
-
51
- test-generator: ## Run generator bug tests only
52
- @echo "๐Ÿ”ง Running generator tests..."
53
- pytest -m generator -v --no-cov
54
-
55
- # Pre-commit hooks
56
- pre-commit-install: ## Install pre-commit hooks
57
- @echo "๐Ÿ”ง Installing pre-commit hooks..."
58
- pip install pre-commit
59
- pre-commit install
60
-
61
- pre-commit-run: ## Run pre-commit hooks on all files
62
- @echo "๐Ÿ” Running pre-commit hooks..."
63
- pre-commit run --all-files
64
-
65
- pre-commit-fast: ## Run only fast tests (pre-commit style)
66
- @echo "โšก Running fast pre-commit tests..."
67
- pytest -m fast --no-cov -q
68
-
69
- # Video Generator targets
70
- video: ## Show video generator help
71
- @cd video-generator && swift run tdk-video help
72
-
73
- video-build: ## Build the video generator
74
- @echo "๐Ÿ”จ Building video generator..."
75
- cd video-generator && swift build
76
-
77
- video-test: ## Run video generator tests
78
- @echo "๐Ÿงช Running video generator tests..."
79
- cd video-generator && swift test
80
-
81
- video-validate: ## Validate video generator system setup
82
- @echo "๐Ÿ” Validating video generator setup..."
83
- cd video-generator && swift run tdk-video validate
84
-
85
- video-generate: ## Generate the TDK CLI tutorial video (requires FFmpeg)
86
- @echo "๐ŸŽฌ Generating TDK CLI tutorial video..."
87
- @echo " This will create TDK_Tutorial_1440p.mp4 (20 min, 2K)"
88
- cd video-generator && swift run tdk-video generate
89
-
90
- video-generate-quick: ## Generate 1080p test video (faster)
91
- @echo "๐ŸŽฌ Generating 1080p test video..."
92
- cd video-generator && swift run tdk-video generate -o TDK_Tutorial_Test_1080p.mp4
package/SECURITY.md DELETED
@@ -1,17 +0,0 @@
1
- # Security Policy
2
-
3
- ## Supported versions
4
-
5
- Security fixes go into the latest release published on [npm](https://www.npmjs.com/package/@tdk-landscape/tdk-cli-core). Please upgrade before reporting.
6
-
7
- ## Reporting a vulnerability
8
-
9
- Please **do not** open a public issue for security problems.
10
-
11
- Report them privately through [GitHub security advisories](https://github.com/tdk-landscape/tdk-cli-core/security/advisories/new). Include:
12
-
13
- - the TDK version (`tdk --version`) and your OS
14
- - steps to reproduce
15
- - what an attacker could do with it
16
-
17
- We aim to reply within a few days and will credit you in the fix unless you prefer otherwise.
@@ -1,45 +0,0 @@
1
- {
2
- "date": "2026-09-25T20:54:49.736Z",
3
- "hostMemGiB": 16,
4
- "dockerMemMiB": 7934,
5
- "perServiceBudgetMiB": 74,
6
- "options": {
7
- "project": "../tdk-erp-system",
8
- "tiers": [
9
- 5
10
- ],
11
- "gate": 5,
12
- "timeoutSeconds": 240,
13
- "interval": 30,
14
- "startInterval": 2,
15
- "settleSeconds": 5
16
- },
17
- "images": 107,
18
- "singleProcessImageShare": 0.24299065420560748,
19
- "results": [
20
- {
21
- "tier": 5,
22
- "launchSeconds": 2.1,
23
- "firstHealthySeconds": 3.3,
24
- "allHealthySeconds": 4.4,
25
- "healthy": 5,
26
- "unhealthy": 0,
27
- "starting": 0,
28
- "crashed": 0,
29
- "oomKilled": 0,
30
- "crashes": [],
31
- "totalMemMiB": 87,
32
- "avgMemMiB": 17.4,
33
- "totalCpuPct": 2.1,
34
- "dockerPsMs": 101,
35
- "requestMsP50": 2.2,
36
- "loadAvg1m": 13.4,
37
- "hostFreeMiB": 76,
38
- "singleProcessShare": 0.2
39
- }
40
- ],
41
- "gate": {
42
- "tier": 5,
43
- "passed": true
44
- }
45
- }