@tdk-landscape/tdk-cli-core 1.3.134 → 1.3.135
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.
- package/cli/bin/tdk.js +2 -0
- package/cli/dist/backend-frameworks/registry.js +2 -0
- package/cli/dist/backend-languages/registry.js +2 -0
- package/cli/dist/cli.js +2 -0
- package/cli/dist/commands/__tests__/project-e2e-helpers.js +2 -0
- package/cli/dist/commands/completion.js +2 -0
- package/cli/dist/commands/config.js +2 -0
- package/cli/dist/commands/doctor.js +2 -0
- package/cli/dist/commands/down.js +2 -0
- package/cli/dist/commands/eject.js +2 -0
- package/cli/dist/commands/help.js +2 -0
- package/cli/dist/commands/import.js +2 -0
- package/cli/dist/commands/logs.js +2 -0
- package/cli/dist/commands/maintainers.js +2 -0
- package/cli/dist/commands/mcp.js +2 -0
- package/cli/dist/commands/networks.js +2 -0
- package/cli/dist/commands/project.js +2 -0
- package/cli/dist/commands/projects.js +2 -0
- package/cli/dist/commands/resource.js +2 -0
- package/cli/dist/commands/resources.js +2 -0
- package/cli/dist/commands/runtime.js +2 -0
- package/cli/dist/commands/stack.js +2 -0
- package/cli/dist/commands/stacks.js +2 -0
- package/cli/dist/commands/status.js +2 -0
- package/cli/dist/commands/ui.js +2 -0
- package/cli/dist/commands/up.js +2 -0
- package/cli/dist/commands/upgrade.js +2 -0
- package/cli/dist/commands/version.js +2 -0
- package/cli/dist/components/BaseTooltip.js +2 -0
- package/cli/dist/components/DetailPanel.js +2 -0
- package/cli/dist/components/FileTree.js +2 -0
- package/cli/dist/components/ResourceSelectInput.js +2 -0
- package/cli/dist/components/ResourceTable.js +2 -0
- package/cli/dist/components/ServiceIssues.js +2 -0
- package/cli/dist/components/TUIHeader.js +2 -0
- package/cli/dist/components/TabBar.js +2 -0
- package/cli/dist/components/Tooltip.js +2 -0
- package/cli/dist/components/index.js +2 -0
- package/cli/dist/components/ui-theme.js +2 -0
- package/cli/dist/config/platform-standards.js +2 -0
- package/cli/dist/frontend-frameworks/registry.js +2 -0
- package/cli/dist/generator/__tests__/golden-helpers.js +2 -0
- package/cli/dist/generator/extension-fetch.js +2 -0
- package/cli/dist/generator/resource-templates.js +2 -0
- package/cli/dist/generator/template-engine.js +2 -0
- package/cli/dist/mcp/server.js +2 -0
- package/cli/dist/mcp/tools.js +2 -0
- package/cli/dist/utils/agent-host.js +2 -0
- package/cli/dist/utils/atomic-write.js +2 -0
- package/cli/dist/utils/bun-floor.js +2 -0
- package/cli/dist/utils/cold-preflight.js +2 -0
- package/cli/dist/utils/discovery-paths.js +2 -0
- package/cli/dist/utils/docker.js +2 -0
- package/cli/dist/utils/doctor-runtime.js +2 -0
- package/cli/dist/utils/doctor-starlark.js +2 -0
- package/cli/dist/utils/doctor-wiring.js +2 -0
- package/cli/dist/utils/down-cleanup.js +2 -0
- package/cli/dist/utils/env-validator.js +2 -0
- package/cli/dist/utils/errors.js +2 -0
- package/cli/dist/utils/exec-async.js +2 -0
- package/cli/dist/utils/file-helpers.js +2 -0
- package/cli/dist/utils/formatting.js +2 -0
- package/cli/dist/utils/generated-paths.js +2 -0
- package/cli/dist/utils/host-port-config.js +2 -0
- package/cli/dist/utils/host-port-plan.js +2 -0
- package/cli/dist/utils/json-output.js +2 -0
- package/cli/dist/utils/machine-output.js +2 -0
- package/cli/dist/utils/paths.js +2 -0
- package/cli/dist/utils/platform.js +2 -0
- package/cli/dist/utils/port-assignment.js +2 -0
- package/cli/dist/utils/port-conflict-fix.js +2 -0
- package/cli/dist/utils/port-listener-probe.js +2 -0
- package/cli/dist/utils/project-config-defaults.js +2 -0
- package/cli/dist/utils/project-features.js +2 -0
- package/cli/dist/utils/prompt.js +2 -0
- package/cli/dist/utils/resource-features.js +2 -0
- package/cli/dist/utils/resource-kind.js +2 -0
- package/cli/dist/utils/schema-version-gate.js +2 -0
- package/cli/dist/utils/secret-redaction.js +2 -0
- package/cli/dist/utils/service-config-checks.js +2 -0
- package/cli/dist/utils/service-manifest.js +2 -0
- package/cli/dist/utils/service-urls.js +2 -0
- package/cli/dist/utils/services.js +2 -0
- package/cli/dist/utils/shared-platform-postgres.js +2 -0
- package/cli/dist/utils/single-flight.js +2 -0
- package/cli/dist/utils/smoke.js +2 -0
- package/cli/dist/utils/spinner.js +2 -0
- package/cli/dist/utils/startup-report.js +2 -0
- package/cli/dist/utils/suggestions.js +2 -0
- package/cli/dist/utils/tar.js +2 -0
- package/cli/dist/utils/tdk-version.js +2 -0
- package/cli/dist/utils/tilt-process.js +2 -0
- package/cli/dist/utils/tilt-resource-state.js +2 -0
- package/cli/dist/utils/tilt-startup.js +2 -0
- package/cli/dist/utils/tilt-unreachable-message.js +2 -0
- package/cli/dist/utils/tilt.js +2 -0
- package/cli/dist/utils/up-readiness.js +2 -0
- package/cli/dist/utils/which.js +2 -0
- package/cli/dist/utils/windows-doctor.js +2 -0
- package/cli/dist-bundle/{chunk-DLEX3BP5.js → chunk-M4T3FXXB.js} +1 -1
- package/cli/dist-bundle/cli.js +3 -3
- package/cli/dist-bundle/{cold-preflight-6X67ZFII.js → cold-preflight-DQVK4J7J.js} +1 -1
- package/cli/package.json +2 -1
- package/cli/shared-platform-engineering/docker-templates/bun-hoisted-symlink-fix.sh +2 -0
- package/cli/shared-platform-engineering/docker-templates/infisical-entrypoint.sh +2 -0
- package/cli/shared-platform-engineering/docker-templates/install-deps.sh +2 -0
- package/cli/shared-platform-engineering/docker-templates/prisma-bun-client-link-fix.sh +2 -0
- package/cli/shared-platform-engineering/docker-templates/prisma-normalize-client.sh +2 -0
- package/discovery/TILT_DISCOVERY.star +2 -0
- package/discovery/config.star +2 -0
- package/discovery/constants.star +2 -0
- package/discovery/deterministic.star +2 -0
- package/discovery/discovery_daemon.star +2 -0
- package/discovery/discovery_orchestrator.star +2 -0
- package/discovery/filtering.star +2 -0
- package/discovery/incremental_discovery.star +2 -0
- package/discovery/indexing.star +2 -0
- package/discovery/json_manifest_scanner.star +2 -0
- package/discovery/libraries.star +2 -0
- package/discovery/loading.star +2 -0
- package/discovery/manifest/constants.star +2 -0
- package/discovery/manifest/loading.star +2 -0
- package/discovery/manifest/normalize.star +2 -0
- package/discovery/manifest/validation.star +2 -0
- package/discovery/normalization.star +2 -0
- package/discovery/registry.star +2 -0
- package/discovery/resource_snapshot.py +2 -0
- package/discovery/resource_snapshot.star +2 -0
- package/discovery/schemas.star +2 -0
- package/discovery/test_resource_snapshot.py +2 -0
- package/discovery/validation.star +2 -0
- package/discovery/versioning.star +2 -0
- package/engine/assets/docker/wake-gateway/decide.test.ts +2 -0
- package/engine/assets/docker/wake-gateway/decide.ts +2 -0
- package/engine/assets/docker/wake-gateway/server.ts +2 -0
- package/engine/assets/scripts/cleanup-completed-migrator-images.sh +2 -0
- package/engine/assets/scripts/cleanup-tilt-images.sh +2 -0
- package/engine/assets/scripts/mac-m1-resource-monitor.sh +2 -0
- package/engine/config.star +2 -0
- package/engine/entrypoint.star +2 -0
- package/engine/lifecycle/orchestrator.star +2 -0
- package/engine/paths.star +2 -0
- package/engine/scripts/build-and-publish-lib.sh +2 -0
- package/engine/scripts/check-lib-publish.sh +2 -0
- package/engine/scripts/debug-container.sh +2 -0
- package/engine/scripts/generate-manifest.sh +2 -0
- package/engine/topologies/platform/docker/auth/auth.star +2 -0
- package/engine/topologies/platform/docker/compose/compose.star +2 -0
- package/engine/topologies/platform/docker/compose/compose_helpers.star +2 -0
- package/engine/topologies/platform/docker/compose/traefik_standalone.star +2 -0
- package/engine/topologies/platform/docker/config/bunignore.star +2 -0
- package/engine/topologies/platform/docker/config/dockerignore.star +2 -0
- package/engine/topologies/platform/docker/config/healthcheck.star +2 -0
- package/engine/topologies/platform/docker/constants.star +2 -0
- package/engine/topologies/platform/docker/dockerfile/dockerfile.star +2 -0
- package/engine/topologies/platform/docker/dockerfile/language_dockerfile.star +2 -0
- package/engine/topologies/platform/docker/index.star +2 -0
- package/engine/topologies/platform/docker/layers/bun_helpers.star +2 -0
- package/engine/topologies/platform/docker/layers/infisical/index.star +2 -0
- package/engine/topologies/platform/docker/layers/infisical/infisical_docker.star +2 -0
- package/engine/topologies/platform/docker/layers/l1_base_layers.star +2 -0
- package/engine/topologies/platform/docker/layers/l2_dependency_layers.star +2 -0
- package/engine/topologies/platform/docker/layers/l3_builder_layers.star +2 -0
- package/engine/topologies/platform/docker/layers/l4_runtime_layers.star +2 -0
- package/engine/topologies/platform/docker/layers/prisma/constants.star +2 -0
- package/engine/topologies/platform/docker/layers/prisma/db_readiness.star +2 -0
- package/engine/topologies/platform/docker/layers/prisma/filesystem_setup.star +2 -0
- package/engine/topologies/platform/docker/layers/prisma/migrate_script.star +2 -0
- package/engine/topologies/platform/docker/layers/prisma/prisma_build.star +2 -0
- package/engine/topologies/platform/docker/layers/prisma/prisma_runtime.star +2 -0
- package/engine/topologies/platform/docker/layers/prisma/secret_resolution.star +2 -0
- package/engine/topologies/platform/docker/networking/api_path_constants.star +2 -0
- package/engine/topologies/platform/docker/networking/sablier_container_cycle.star +2 -0
- package/engine/topologies/platform/docker/networking/traefik.star +2 -0
- package/engine/topologies/platform/docker/networking/traefik_constants.star +2 -0
- package/engine/topologies/platform/docker/networking/traefik_helpers.star +2 -0
- package/engine/topologies/platform/docker/networking/traefik_static_routes.star +2 -0
- package/engine/topologies/platform/docker/secrets/env_secrets.star +2 -0
- package/engine/topologies/platform/docker/secrets/infisical.star +2 -0
- package/engine/topologies/platform/net/proxy.star +2 -0
- package/engine/topologies/platform/registries/local.star +2 -0
- package/engine/topologies/platform/registries/verdaccio_loader.star +2 -0
- package/engine/topologies/platform/security/secrets.star +2 -0
- package/engine/topologies/platform/state/relational.star +2 -0
- package/engine/topologies/tilt/common/utils.star +2 -0
- package/engine/topologies/tilt/common/utils_debug.star +2 -0
- package/engine/topologies/tilt/common/utils_deterministic.star +2 -0
- package/engine/topologies/tilt/common/utils_docker_networks.star +2 -0
- package/engine/topologies/tilt/common/utils_env.star +2 -0
- package/engine/topologies/tilt/common/utils_output.star +2 -0
- package/engine/topologies/tilt/config/defaults.star +2 -0
- package/engine/topologies/tilt/config/feature_flags.star +2 -0
- package/engine/topologies/tilt/config/global.star +2 -0
- package/engine/topologies/tilt/config/profiles.star +2 -0
- package/engine/topologies/tilt/generators/agents_md.star +2 -0
- package/engine/topologies/tilt/generators/api_gateway.star +2 -0
- package/engine/topologies/tilt/generators/index.star +2 -0
- package/engine/topologies/tilt/generators/infisical/examples.star +2 -0
- package/engine/topologies/tilt/generators/infisical/index.star +2 -0
- package/engine/topologies/tilt/generators/infisical/machine_identity.star +2 -0
- package/engine/topologies/tilt/generators/infisical/organization.star +2 -0
- package/engine/topologies/tilt/generators/infisical/path_manager.star +2 -0
- package/engine/topologies/tilt/generators/infisical/secrets_generator.star +2 -0
- package/engine/topologies/tilt/generators/nginx_conf.star +2 -0
- package/engine/topologies/tilt/generators/npmrc.star +2 -0
- package/engine/topologies/tilt/generators/tsconfig.star +2 -0
- package/engine/topologies/tilt/generators/typescript/backend_library_tsconfig.star +2 -0
- package/engine/topologies/tilt/generators/typescript/backend_tsconfig.star +2 -0
- package/engine/topologies/tilt/generators/typescript/common.star +2 -0
- package/engine/topologies/tilt/generators/typescript/frontend_library_tsconfig.star +2 -0
- package/engine/topologies/tilt/generators/typescript/frontend_tsconfig.star +2 -0
- package/engine/topologies/tilt/generators/typescript/include.star +2 -0
- package/engine/topologies/tilt/generators/typescript/playwright_config.star +2 -0
- package/engine/topologies/tilt/generators/typescript/prisma_config.star +2 -0
- package/engine/topologies/tilt/generators/validators.star +2 -0
- package/engine/topologies/tilt/generators/vite/backend.star +2 -0
- package/engine/topologies/tilt/generators/vite/frameworks/lit.star +2 -0
- package/engine/topologies/tilt/generators/vite/frameworks/preact.star +2 -0
- package/engine/topologies/tilt/generators/vite/frameworks/qwik.star +2 -0
- package/engine/topologies/tilt/generators/vite/frameworks/react.star +2 -0
- package/engine/topologies/tilt/generators/vite/frameworks/solid.star +2 -0
- package/engine/topologies/tilt/generators/vite/frameworks/svelte.star +2 -0
- package/engine/topologies/tilt/generators/vite/frameworks/vanilla.star +2 -0
- package/engine/topologies/tilt/generators/vite/frameworks/vue.star +2 -0
- package/engine/topologies/tilt/generators/vite/frontend.star +2 -0
- package/engine/topologies/tilt/generators/vite/generators.star +2 -0
- package/engine/topologies/tilt/generators/vite/helpers.star +2 -0
- package/engine/topologies/tilt/generators/vite/library.star +2 -0
- package/engine/topologies/tilt/generators/vite/sdk.star +2 -0
- package/engine/topologies/tilt/generators/vite/templates.star +2 -0
- package/engine/topologies/tilt/generators/vite_config.star +2 -0
- package/engine/topologies/tilt/manifest/__init__.star +2 -0
- package/engine/topologies/tilt/manifest/constants.star +2 -0
- package/engine/topologies/tilt/manifest/errors.star +2 -0
- package/engine/topologies/tilt/manifest/integration.star +2 -0
- package/engine/topologies/tilt/manifest/json_to_yaml.py +2 -0
- package/engine/topologies/tilt/manifest/loader.star +2 -0
- package/engine/topologies/tilt/manifest/mapper.star +2 -0
- package/engine/topologies/tilt/manifest/parser.star +2 -0
- package/engine/topologies/tilt/manifest/schema.star +2 -0
- package/engine/topologies/tilt/manifest/tests/test_integration.star +2 -0
- package/engine/topologies/tilt/manifest/tests/test_loader_parser.star +2 -0
- package/engine/topologies/tilt/manifest/tests/test_manifest.star +2 -0
- package/engine/topologies/tilt/manifest/tests/test_validator.star +2 -0
- package/engine/topologies/tilt/manifest/validator.star +2 -0
- package/engine/topologies/tilt/manifest/yaml_to_json.py +2 -0
- package/engine/topologies/tilt/resources/conditions.star +2 -0
- package/engine/topologies/tilt/resources/databases.star +2 -0
- package/engine/topologies/tilt/resources/declaration.star +2 -0
- package/engine/topologies/tilt/resources/deps.star +2 -0
- package/engine/topologies/tilt/resources/infra-loader.star +2 -0
- package/engine/topologies/tilt/resources/libs.star +2 -0
- package/engine/topologies/tilt/resources/libs_discovery.star +2 -0
- package/engine/topologies/tilt/resources/libs_paths.star +2 -0
- package/engine/topologies/tilt/resources/libs_resource_definition.star +2 -0
- package/engine/topologies/tilt/resources/libs_setup.star +2 -0
- package/engine/topologies/tilt/resources/libs_tsconfig.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator/apply.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator/apply_compose_resource_registration.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator/apply_manifest_orchestration.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator/apply_migrator_orchestration.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator/apply_resource_validation.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator/apply_runtime_flags.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator/builders/typescript.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator/generators/dependencies/index.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator/generators/dependencies/resolver.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator/generators/env.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator/generators/frontend.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator/generators/manifest_resource.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator/helpers.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator.star +2 -0
- package/engine/topologies/tilt/resources/ordering.star +2 -0
- package/engine/topologies/tilt/resources/shared-platform-postgres.star +2 -0
- package/engine/topologies/tilt/resources/triggers.star +2 -0
- package/engine/topologies/tilt/resources/watchers.star +2 -0
- package/engine/where-things-live.star +2 -0
- package/ext/ide-components/code_viewer/server.py +2 -0
- package/ext/ide-components/config_inspector/server.py +2 -0
- package/ext/ide-components/file_browser/server.py +2 -0
- package/ext/ide-components/shared/config_service.py +2 -0
- package/ext/ide-components/shared/file_utils.py +2 -0
- package/ext/ide-components/shared/http_utils.py +2 -0
- package/ext/ide-components/shared/syntax_highlighter.py +2 -0
- package/ext/ide-components/shared/template_engine.py +2 -0
- package/ext/ide-components/shared/test_config_service.py +2 -0
- package/ext/ide-components/shared/tilt_integration.py +2 -0
- package/ext/ui-enhancements/cron-status-server.sh +2 -0
- package/ext/ui-enhancements/cron-status-tracker.sh +2 -0
- package/ext/ui-enhancements/tiltfile.py +2 -0
- package/package.json +1 -1
- package/shared-platform-engineering/docker-templates/bun-hoisted-symlink-fix.sh +2 -0
- package/shared-platform-engineering/docker-templates/infisical-entrypoint.sh +2 -0
- package/shared-platform-engineering/docker-templates/install-deps.sh +2 -0
- package/shared-platform-engineering/docker-templates/prisma-bun-client-link-fix.sh +2 -0
- package/shared-platform-engineering/docker-templates/prisma-normalize-client.sh +2 -0
- package/specs/specs/TILT_SERVICE_DEFAULTS.star +2 -0
- package/specs/specs/TILT_TECH_STACK.star +2 -0
package/cli/bin/tdk.js
CHANGED
package/cli/dist/cli.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
1
3
|
import { Command } from "commander";
|
|
2
4
|
import { STANDARD_PORTS } from "../utils/constants.js";
|
|
3
5
|
import { errorFactories, runCommand, showErrorAndExit, TdkError } from "../utils/errors.js";
|
package/cli/dist/commands/mcp.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
1
3
|
import { execFileSync } from "node:child_process";
|
|
2
4
|
import { cpSync, existsSync, readdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
3
5
|
import { basename, dirname, join, resolve } from "node:path";
|
package/cli/dist/commands/ui.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// Copyright (c) 2026 TDK Landscape contributors
|
|
3
|
+
// SPDX-License-Identifier: MIT
|
|
2
4
|
import { Command } from "commander";
|
|
3
5
|
import { Box, render, Text, useApp, useInput, useStdin, useStdout } from "ink";
|
|
4
6
|
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
package/cli/dist/commands/up.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
1
3
|
import { execFileSync, execSync } from "node:child_process";
|
|
2
4
|
import { createHash } from "node:crypto";
|
|
3
5
|
import { accessSync, chmodSync, constants, existsSync, mkdirSync, readFileSync, realpathSync, renameSync, rmSync, writeFileSync, } from "node:fs";
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// Copyright (c) 2026 TDK Landscape contributors
|
|
3
|
+
// SPDX-License-Identifier: MIT
|
|
2
4
|
import { Box, Text } from "ink";
|
|
3
5
|
import { useTUITheme } from "./ui-theme.js";
|
|
4
6
|
export const BaseTooltip = ({ content, shortcut, visible, maxWidth = 40, wrapText = false, prefix = "", marginTop = 0, }) => {
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// Copyright (c) 2026 TDK Landscape contributors
|
|
3
|
+
// SPDX-License-Identifier: MIT
|
|
2
4
|
import { Box, Text } from "ink";
|
|
3
5
|
import { formatDate, getStatusColor, getStatusIcon } from "../utils/formatting.js";
|
|
4
6
|
import { getTUIStatusColor, getTUIStatusIcon, useTUITheme } from "./ui-theme.js";
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// Copyright (c) 2026 TDK Landscape contributors
|
|
3
|
+
// SPDX-License-Identifier: MIT
|
|
2
4
|
import { Box, Text } from "ink";
|
|
3
5
|
import { useState } from "react";
|
|
4
6
|
import { formatBytes } from "../utils/formatting.js";
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// Copyright (c) 2026 TDK Landscape contributors
|
|
3
|
+
// SPDX-License-Identifier: MIT
|
|
2
4
|
import { Box, measureElement, Text, useInput } from "ink";
|
|
3
5
|
import { useEffect, useLayoutEffect, useRef, useState } from "react";
|
|
4
6
|
import { useTUITheme } from "./ui-theme.js";
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// Copyright (c) 2026 TDK Landscape contributors
|
|
3
|
+
// SPDX-License-Identifier: MIT
|
|
2
4
|
import { Box, Text } from "ink";
|
|
3
5
|
import { formatShortDate, getStatusColor, getStatusIcon, truncate } from "../utils/formatting.js";
|
|
4
6
|
import { getTUIStatusColor, getTUIStatusIcon, useTUITheme } from "./ui-theme.js";
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// Copyright (c) 2026 TDK Landscape contributors
|
|
3
|
+
// SPDX-License-Identifier: MIT
|
|
2
4
|
import { Box, Text } from "ink";
|
|
3
5
|
import { useTUITheme } from "./ui-theme.js";
|
|
4
6
|
/** One line per service that is not ready and has a reason, so a failed dependency is named on screen. */
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// Copyright (c) 2026 TDK Landscape contributors
|
|
3
|
+
// SPDX-License-Identifier: MIT
|
|
2
4
|
import { Box, Text } from "ink";
|
|
3
5
|
import { useTUITheme } from "./ui-theme.js";
|
|
4
6
|
export const TUIHeader = ({ projectRoot, resourceCount, terminalWidth, version, }) => {
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// Copyright (c) 2026 TDK Landscape contributors
|
|
3
|
+
// SPDX-License-Identifier: MIT
|
|
2
4
|
import { Box, Text } from "ink";
|
|
3
5
|
import { getTabBarDensity, getTerminalRuleWidth } from "../utils/terminal-layout.js";
|
|
4
6
|
import { TABS } from "../utils/ui-keymap.js";
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
1
3
|
import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
2
4
|
import { dirname, join } from "node:path";
|
|
3
5
|
const normalize = (text) => text.replace(/\r\n/g, "\n");
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
1
3
|
// Fetches the paid-tier "premium" resource bundle (playwright, c4-diagram,
|
|
2
4
|
// logging, agents-md, sablier, verdaccio, and a few other extras - see
|
|
3
5
|
// tdk-cli-extensions/premium/) from the gated distribution worker, when a
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
1
3
|
/**
|
|
2
4
|
* The plain `Dockerfile` written next to service.json. `tdk up` does not build it: for generated
|
|
3
5
|
* resources the engine builds `.autogenerated/Dockerfile.app.autogenerated`. It is a starting point
|
package/cli/dist/mcp/server.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
1
3
|
/**
|
|
2
4
|
* A minimal Model Context Protocol server over newline-delimited JSON-RPC 2.0 (the stdio transport). It implements only
|
|
3
5
|
* what a tools-only server needs: initialize, ping, tools/list and tools/call. Keeping it dependency-free keeps the
|
package/cli/dist/mcp/tools.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
1
3
|
import { existsSync } from "node:fs";
|
|
2
4
|
export const WEBCONTAINER_DOCS = "docs/agent-hosts.md";
|
|
3
5
|
export const WEBCONTAINER_UP_MESSAGE = `WebContainers cannot run TDK: there is no Docker daemon or Tilt. Run \`tdk up\` on a machine with Docker. See ${WEBCONTAINER_DOCS}.`;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
1
3
|
import { randomBytes } from "node:crypto";
|
|
2
4
|
import { closeSync, fchmodSync, fsyncSync, openSync, renameSync, rmSync, statSync, writeFileSync, } from "node:fs";
|
|
3
5
|
import { basename, dirname, join } from "node:path";
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
1
3
|
import { MIN_BUN_VERSION, versionMeetsMinimum } from "../commands/doctor.js";
|
|
2
4
|
/** The Bun floor `tdk doctor` enforces, so `tdk up` cannot drift from it. */
|
|
3
5
|
export function bunMeetsFloor(version) {
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
1
3
|
import { existsSync, readFileSync } from "node:fs";
|
|
2
4
|
import { join, relative, resolve, sep } from "node:path";
|
|
3
5
|
// Mirrors discovery/json_manifest_scanner.star: every `discovery.paths` entry is a shell
|
package/cli/dist/utils/docker.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
1
3
|
import { execFileSync, execSync } from "node:child_process";
|
|
2
4
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
3
5
|
import { basename, dirname, join, relative } from "node:path";
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
1
3
|
import { execFileSync } from "node:child_process";
|
|
2
4
|
const run = (command, args) => execFileSync(command, args, { encoding: "utf-8", stdio: "pipe", windowsHide: true });
|
|
3
5
|
/** Network names the engine creates per project (see engine/.../docker/constants.star and init-networks). */
|
package/cli/dist/utils/errors.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
1
3
|
import { existsSync, lstatSync } from "node:fs";
|
|
2
4
|
import { isAbsolute, normalize, relative, sep } from "node:path";
|
|
3
5
|
/** Reviewed TDK-owned destinations written by `tdk config regenerate` or Tilt generation. */
|
package/cli/dist/utils/paths.js
CHANGED
package/cli/dist/utils/prompt.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
1
3
|
/**
|
|
2
4
|
* True for a resource that runs as an HTTP API service behind the Traefik API host: a backend, or an `mcp` server (a Model Context
|
|
3
5
|
* Protocol endpoint, which the engine builds, routes and health-checks exactly like a backend).
|