@flisk-sh/flisk 1.3.190 → 1.3.192

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 (153) hide show
  1. package/CHANGELOG.md +9 -9
  2. package/LICENSE +1 -1
  3. package/README.md +41 -41
  4. package/Tiltfile +2 -2
  5. package/cli/bin/{flisk.js → tdk.js} +1 -1
  6. package/cli/dist/cli.js +59 -0
  7. package/cli/dist/commands/__tests__/project-e2e-helpers.js +2 -2
  8. package/cli/dist/commands/completion.js +26 -26
  9. package/cli/dist/commands/config.js +1 -1
  10. package/cli/dist/commands/import.js +4 -4
  11. package/cli/dist/commands/maintainers.js +1 -1
  12. package/cli/dist/commands/mcp.js +1 -4
  13. package/cli/dist/commands/project.js +10 -2
  14. package/cli/dist/commands/resource.js +1 -1
  15. package/cli/dist/commands/ui.js +1 -1
  16. package/cli/dist/commands/up.js +77 -3
  17. package/cli/dist/commands/upgrade.js +28 -14
  18. package/cli/dist/generator/extension-fetch.js +3 -3
  19. package/cli/dist/generator/template-engine.js +8 -8
  20. package/cli/dist/mcp/tools.js +2 -5
  21. package/cli/dist/program.js +2 -0
  22. package/cli/dist/utils/cli-command.js +107 -0
  23. package/cli/dist/utils/cold-preflight.js +2 -1
  24. package/cli/dist/utils/constants.js +1 -1
  25. package/cli/dist/utils/doctor-fix.js +4 -5
  26. package/cli/dist/utils/doctor-runtime.js +1 -1
  27. package/cli/dist/utils/doctor-starlark.js +1 -1
  28. package/cli/dist/utils/doctor-wiring.js +2 -2
  29. package/cli/dist/utils/env-selection.js +201 -0
  30. package/cli/dist/utils/env-validator.js +6 -0
  31. package/cli/dist/utils/one-command.js +50 -0
  32. package/cli/dist/utils/platform.js +2 -6
  33. package/cli/dist/utils/project-templates.js +11 -7
  34. package/cli/dist/utils/secret-redaction.js +15 -6
  35. package/cli/dist/utils/service-manifest.js +1 -1
  36. package/cli/dist/utils/smoke.js +2 -2
  37. package/cli/dist/utils/tar.js +1 -1
  38. package/cli/dist-bundle/{chunk-BZ4H7MM4.js → chunk-42IVF3YT.js} +2 -2
  39. package/cli/dist-bundle/chunk-GOEBYLFN.js +2 -0
  40. package/cli/dist-bundle/chunk-KGKKDD4K.js +2 -0
  41. package/cli/dist-bundle/chunk-QR6O2A7L.js +34 -0
  42. package/cli/dist-bundle/chunk-RHSMS45X.js +438 -0
  43. package/cli/dist-bundle/chunk-XYFVXSEO.js +75 -0
  44. package/cli/dist-bundle/cli.js +342 -370
  45. package/cli/dist-bundle/cold-preflight-ZJAU3E7K.js +2 -0
  46. package/cli/dist-bundle/{extension-fetch-J4FFH7TJ.js → extension-fetch-6XNTDF44.js} +1 -1
  47. package/cli/dist-bundle/one-command-A4R272U3.js +4 -0
  48. package/cli/dist-bundle/project-FOAR7E55.js +2 -0
  49. package/cli/dist-bundle/project-templates-BHURA3LT.js +2 -0
  50. package/cli/dist-bundle/url-actions-D6ROTHZG.js +2 -0
  51. package/cli/package.json +2 -4
  52. package/cli/shared-platform-engineering/docker-templates/bun-hoisted-symlink-fix.sh +1 -1
  53. package/cli/shared-platform-engineering/docker-templates/infisical-entrypoint.sh +1 -1
  54. package/cli/shared-platform-engineering/docker-templates/install-deps.sh +1 -1
  55. package/cli/shared-platform-engineering/docker-templates/prisma-bun-client-link-fix.sh +1 -1
  56. package/cli/shared-platform-engineering/docker-templates/prisma-normalize-client.sh +1 -1
  57. package/cli/templates/Tiltfile.hbs +1 -1
  58. package/discovery/AGENTS.md +1 -1
  59. package/discovery/TILT_DISCOVERY.star +3 -3
  60. package/discovery/Tiltfile +3 -3
  61. package/discovery/config.star +1 -1
  62. package/discovery/constants.star +1 -1
  63. package/discovery/discovery_orchestrator.star +1 -1
  64. package/discovery/identity-management-frontend/service.yaml +1 -1
  65. package/discovery/json_manifest_scanner.star +1 -1
  66. package/discovery/manifest/constants.star +1 -1
  67. package/discovery/manifest/loading.star +2 -2
  68. package/discovery/manifest/normalize.star +1 -1
  69. package/discovery/registry.star +1 -1
  70. package/discovery/resource_snapshot.py +1 -1
  71. package/discovery/resource_snapshot.star +1 -1
  72. package/discovery/test_resource_snapshot.py +2 -2
  73. package/engine/AGENTS.md +7 -7
  74. package/engine/README.md +1 -1
  75. package/engine/Tiltfile +3 -3
  76. package/engine/assets/docker/wake-gateway/decide.ts +1 -1
  77. package/engine/assets/docker/wake-gateway/server.ts +1 -1
  78. package/engine/assets/scripts/mac-m1-resource-monitor.sh +8 -8
  79. package/engine/lifecycle/orchestrator.star +6 -6
  80. package/engine/paths.star +1 -1
  81. package/engine/schemas/project-schema.json +2 -2
  82. package/engine/schemas/service-schema.json +3 -3
  83. package/engine/scripts/debug-container.sh +2 -2
  84. package/engine/spec.master +1 -1
  85. package/engine/topologies/platform/docker/compose/compose.star +1 -1
  86. package/engine/topologies/platform/docker/compose/traefik_standalone.star +1 -1
  87. package/engine/topologies/platform/docker/config/healthcheck.star +1 -1
  88. package/engine/topologies/platform/docker/constants.star +2 -2
  89. package/engine/topologies/platform/docker/dockerfile/language_dockerfile.star +3 -3
  90. package/engine/topologies/platform/docker/layers/l1_base_layers.star +1 -1
  91. package/engine/topologies/platform/docker/layers/l2_dependency_layers.star +1 -1
  92. package/engine/topologies/platform/docker/layers/l3_builder_layers.star +1 -1
  93. package/engine/topologies/platform/docker/layers/l4_runtime_layers.star +1 -1
  94. package/engine/topologies/platform/docker/layers/prisma/constants.star +1 -1
  95. package/engine/topologies/platform/docker/layers/prisma/prisma_build.star +2 -2
  96. package/engine/topologies/platform/docker/networking/api_path_constants.star +1 -1
  97. package/engine/topologies/platform/docker/networking/traefik_static_routes.star +1 -1
  98. package/engine/topologies/platform/docker/secrets/env_secrets.star +1 -1
  99. package/engine/topologies/platform/docker/secrets/infisical.star +1 -1
  100. package/engine/topologies/platform/security/secrets.star +1 -1
  101. package/engine/topologies/tilt/common/utils.star +5 -3
  102. package/engine/topologies/tilt/common/utils_debug.star +1 -1
  103. package/engine/topologies/tilt/common/utils_deterministic.star +1 -1
  104. package/engine/topologies/tilt/common/utils_env.star +23 -3
  105. package/engine/topologies/tilt/config/profiles.star +1 -1
  106. package/engine/topologies/tilt/generators/infisical/organization.star +1 -1
  107. package/engine/topologies/tilt/generators/npmrc.star +4 -4
  108. package/engine/topologies/tilt/generators/typescript/backend_tsconfig.star +1 -1
  109. package/engine/topologies/tilt/generators/vite/helpers.star +1 -1
  110. package/engine/topologies/tilt/generators/vite/templates.star +1 -1
  111. package/engine/topologies/tilt/manifest/json_to_yaml.py +2 -2
  112. package/engine/topologies/tilt/manifest/loader.star +1 -1
  113. package/engine/topologies/tilt/manifest/schema.star +2 -2
  114. package/engine/topologies/tilt/manifest/tests/test_loader_parser.star +3 -3
  115. package/engine/topologies/tilt/manifest/tests/test_validator.star +2 -2
  116. package/engine/topologies/tilt/manifest/yaml_to_json.py +1 -1
  117. package/engine/topologies/tilt/resources/databases.star +1 -1
  118. package/engine/topologies/tilt/resources/infra-loader.star +8 -6
  119. package/engine/topologies/tilt/resources/libs_paths.star +1 -1
  120. package/engine/topologies/tilt/resources/libs_resource_definition.star +1 -1
  121. package/engine/topologies/tilt/resources/libs_setup.star +1 -1
  122. package/engine/topologies/tilt/resources/orchestrator/apply_compose_resource_registration.star +13 -8
  123. package/engine/topologies/tilt/resources/orchestrator/generators/frontend.star +1 -1
  124. package/engine/topologies/tilt/resources/orchestrator/generators/manifest_resource.star +1 -1
  125. package/engine/topologies/tilt/resources/watchers.star +7 -7
  126. package/engine/where-things-live.star +1 -1
  127. package/examples/tdk-example/LICENSE +1 -1
  128. package/examples/tdk-example/Tiltfile +7 -7
  129. package/examples/tdk-example/services/shop/orders-api/service.json +1 -1
  130. package/examples/tdk-example/services/shop/orders-app/index.html +1 -1
  131. package/examples/tdk-example/services/shop/orders-app/service.json +1 -1
  132. package/examples/tdk-example/services/shop/orders-worker/service.json +1 -1
  133. package/ext/Tiltfile +3 -3
  134. package/ext/ide-components/code_viewer/server.py +1 -1
  135. package/ext/ide-components/config_inspector/server.py +1 -1
  136. package/ext/ide-components/file_browser/server.py +1 -1
  137. package/ext/ide-components/shared/config_service.py +2 -2
  138. package/ext/ide-components/shared/file_utils.py +2 -2
  139. package/ext/ide-components/shared/http_utils.py +1 -1
  140. package/ext/ide-components/shared/syntax_highlighter.py +1 -1
  141. package/ext/ide-components/shared/template_engine.py +1 -1
  142. package/ext/ide-components/shared/templates/base.html +1 -1
  143. package/ext/ide-components/shared/test_config_service.py +1 -1
  144. package/ext/ide-components/shared/tilt_integration.py +1 -1
  145. package/ext/ui-enhancements/tiltfile.py +1 -1
  146. package/package.json +6 -10
  147. package/shared-platform-engineering/docker-templates/bun-hoisted-symlink-fix.sh +1 -1
  148. package/shared-platform-engineering/docker-templates/infisical-entrypoint.sh +1 -1
  149. package/shared-platform-engineering/docker-templates/install-deps.sh +1 -1
  150. package/shared-platform-engineering/docker-templates/prisma-bun-client-link-fix.sh +1 -1
  151. package/shared-platform-engineering/docker-templates/prisma-normalize-client.sh +1 -1
  152. package/cli/dist-bundle/chunk-CLCUIDBH.js +0 -510
  153. package/cli/dist-bundle/cold-preflight-SY26O2IG.js +0 -2
package/ext/Tiltfile CHANGED
@@ -1,11 +1,11 @@
1
1
  # =============================================================================
2
- # 🎯 FLISK-EXT - Extensions and IDE Components
2
+ # 🎯 TDK-EXT - Extensions and IDE Components
3
3
  # =============================================================================
4
4
  # This is the Tiltfile entry point for the tdk-ext repo.
5
5
  # It exports UI enhancements and IDE components.
6
6
  #
7
7
  # Usage:
8
- # v1alpha1.extension_repo(name='tdk-ext', url='https://github.com/tdk-landscape/tdk-ext')
8
+ # v1alpha1.extension_repo(name='tdk-ext', url='https://github.com/flisk-sh/flisk')
9
9
  # load('ext://tdk-ext', 'get_ide_components_path', ...)
10
10
  # =============================================================================
11
11
 
@@ -63,4 +63,4 @@ IDE_PORTS = {
63
63
  'code_executor': 9768,
64
64
  }
65
65
 
66
- print("✅ Flisk Extensions loaded: UI enhancements and IDE components")
66
+ print("✅ TDK Extensions loaded: UI enhancements and IDE components")
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env python3
2
- # Copyright (c) 2026 Flisk Landscape contributors
2
+ # Copyright (c) 2026 TDK Landscape contributors
3
3
  # SPDX-License-Identifier: MIT
4
4
  """
5
5
  Tilt IDE Code Viewer
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env python3
2
- # Copyright (c) 2026 Flisk Landscape contributors
2
+ # Copyright (c) 2026 TDK Landscape contributors
3
3
  # SPDX-License-Identifier: MIT
4
4
  """
5
5
  Tilt IDE Config Inspector
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env python3
2
- # Copyright (c) 2026 Flisk Landscape contributors
2
+ # Copyright (c) 2026 TDK Landscape contributors
3
3
  # SPDX-License-Identifier: MIT
4
4
  """
5
5
  Tilt IDE File Browser
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env python3
2
- # Copyright (c) 2026 Flisk Landscape contributors
2
+ # Copyright (c) 2026 TDK Landscape contributors
3
3
  # SPDX-License-Identifier: MIT
4
4
  """
5
5
  ConfigService - File operations for Config Inspector
@@ -31,7 +31,7 @@ class ConfigService:
31
31
  """
32
32
 
33
33
  # Allowed paths for write operations
34
- # NOTE: These are paths within the Flisk CLI installation
34
+ # NOTE: These are paths within the TDK CLI installation
35
35
  ALLOWED_PATH_PREFIXES = [
36
36
  'engine/topologies/',
37
37
  ]
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env python3
2
- # Copyright (c) 2026 Flisk Landscape contributors
2
+ # Copyright (c) 2026 TDK Landscape contributors
3
3
  # SPDX-License-Identifier: MIT
4
4
  """
5
5
  Shared file utilities for Tilt IDE components
@@ -10,7 +10,7 @@ import sys
10
10
  from pathlib import Path
11
11
  from typing import Optional, List, Tuple
12
12
 
13
- # Flisk CLI root directory (5 levels up from this file: ext/ide-components/shared/)
13
+ # TDK CLI root directory (5 levels up from this file: ext/ide-components/shared/)
14
14
  PROJECT_ROOT = Path(__file__).parent.parent.parent.parent.parent
15
15
  MAX_FILE_SIZE = 1024 * 1024 # 1MB
16
16
 
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env python3
2
- # Copyright (c) 2026 Flisk Landscape contributors
2
+ # Copyright (c) 2026 TDK Landscape contributors
3
3
  # SPDX-License-Identifier: MIT
4
4
  """
5
5
  Shared HTTP handler utilities for Tilt IDE components.
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env python3
2
- # Copyright (c) 2026 Flisk Landscape contributors
2
+ # Copyright (c) 2026 TDK Landscape contributors
3
3
  # SPDX-License-Identifier: MIT
4
4
  """
5
5
  Syntax highlighting utilities using Pygments
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env python3
2
- # Copyright (c) 2026 Flisk Landscape contributors
2
+ # Copyright (c) 2026 TDK Landscape contributors
3
3
  # SPDX-License-Identifier: MIT
4
4
  """
5
5
  Simple template engine for IDE components
@@ -3,7 +3,7 @@
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>{title} - Flisk Tilt IDE</title>
6
+ <title>{title} - TDK Tilt IDE</title>
7
7
  <link rel="stylesheet" href="/static/styles.css">
8
8
  <link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>{favicon}</text></svg>">
9
9
  <script>
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env python3
2
- # Copyright (c) 2026 Flisk Landscape contributors
2
+ # Copyright (c) 2026 TDK Landscape contributors
3
3
  # SPDX-License-Identifier: MIT
4
4
  """
5
5
  Automated tests for ConfigService
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env python3
2
- # Copyright (c) 2026 Flisk Landscape contributors
2
+ # Copyright (c) 2026 TDK Landscape contributors
3
3
  # SPDX-License-Identifier: MIT
4
4
  """
5
5
  Tilt integration utilities for IDE components
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2026 Flisk Landscape contributors
1
+ # Copyright (c) 2026 TDK Landscape contributors
2
2
  # SPDX-License-Identifier: MIT
3
3
  # Tilt UI Enhancements Extension
4
4
  # Injects CSS and JavaScript into the Tilt web UI for improved UX.
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@flisk-sh/flisk",
3
- "version": "1.3.190",
4
- "description": "Flisk — start services on your machine.",
5
- "homepage": "https://github.com/flisk-sh/flisk#readme",
3
+ "version": "1.3.192",
4
+ "description": "Flisk CLI — start services on your machine.",
5
+ "homepage": "https://flisk.sh",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/flisk-sh/flisk.git"
@@ -15,9 +15,7 @@
15
15
  "cli"
16
16
  ],
17
17
  "bin": {
18
- "flisk": "cli/bin/flisk.js",
19
- "tdk": "cli/bin/flisk.js",
20
- "tdk-cli": "cli/bin/flisk.js"
18
+ "flisk": "cli/bin/tdk.js"
21
19
  },
22
20
  "files": [
23
21
  "Tiltfile",
@@ -50,13 +48,11 @@
50
48
  "prepack": "node cli/scripts/bundle.mjs",
51
49
  "postpack": "rm -rf cli/dist-bundle",
52
50
  "prepare": "scripts/install-git-hooks.sh",
53
- "cli": "cd cli && node bin/flisk.js",
54
- "tdk": "cd cli && node bin/flisk.js",
55
- "flisk": "cd cli && node bin/flisk.js"
51
+ "cli": "cd cli && node bin/tdk.js",
52
+ "flisk": "cd cli && node bin/tdk.js"
56
53
  },
57
54
  "keywords": [
58
55
  "flisk",
59
- "tdk",
60
56
  "tilt",
61
57
  "cli",
62
58
  "microservices",
@@ -1,5 +1,5 @@
1
1
  #!/bin/sh
2
- # Copyright (c) 2026 Flisk contributors
2
+ # Copyright (c) 2026 Flisk Landscape contributors
3
3
  # SPDX-License-Identifier: MIT
4
4
  set -e
5
5
 
@@ -1,5 +1,5 @@
1
1
  #!/bin/sh
2
- # Copyright (c) 2026 Flisk contributors
2
+ # Copyright (c) 2026 Flisk Landscape contributors
3
3
  # SPDX-License-Identifier: MIT
4
4
  # =============================================================================
5
5
  # 🔐 UNIVERSAL INFISICAL ENTRYPOINT - Zero-Code Secret Injection
@@ -1,5 +1,5 @@
1
1
  #!/bin/sh
2
- # Copyright (c) 2026 Flisk contributors
2
+ # Copyright (c) 2026 Flisk Landscape contributors
3
3
  # SPDX-License-Identifier: MIT
4
4
  set -e
5
5
 
@@ -1,5 +1,5 @@
1
1
  #!/bin/sh
2
- # Copyright (c) 2026 Flisk contributors
2
+ # Copyright (c) 2026 Flisk Landscape contributors
3
3
  # SPDX-License-Identifier: MIT
4
4
  set -e
5
5
 
@@ -1,5 +1,5 @@
1
1
  #!/bin/sh
2
- # Copyright (c) 2026 Flisk contributors
2
+ # Copyright (c) 2026 Flisk Landscape contributors
3
3
  # SPDX-License-Identifier: MIT
4
4
  set -e
5
5