Competing installers and checkout-local venv assumptions bypassed PM selection, install consent, and generation lifetimes. Route consumers through PM and installation-bound launchers. Refresh source launchers before obsolete Python entries can be collected. Remove Node, browser, and CUA acquisition engines, obsolete venv-holder handling, detached sync, and unused PM APIs. Keep historical updater exports inert and preserve external tool ownership and native integration. Share product freshness and prepared inputs across builders. Align plugin admission, Docker provisioning, setup instructions, and behavioral tests. Verified targeted Python and JavaScript tests, desktop and web typechecks, scoped lint, real product builds, and the Docker frontend smoke test. The missed post-setup test cleanup is included and verified. Native Windows/macOS execution, full Rust compilation, and the complete repository suite remain unverified. Historical compatibility requirements were preserved and extended, not fully rescanned.
23 lines
623 B
TypeScript
23 lines
623 B
TypeScript
import type { MemoryProviderSetupInfo } from "@/lib/api";
|
|
|
|
export function setupHasDetails(setup?: MemoryProviderSetupInfo): boolean {
|
|
return Boolean(
|
|
setup && (
|
|
setup.external_dependencies?.length ||
|
|
setup.python_dependencies_declared ||
|
|
setup.pip_dependencies?.length ||
|
|
setup.required_env?.length
|
|
),
|
|
);
|
|
}
|
|
|
|
export function setupHasInstallableSteps(setup?: MemoryProviderSetupInfo): boolean {
|
|
return Boolean(
|
|
setup && (
|
|
setup.external_dependencies?.some((dep) => dep.install) ||
|
|
setup.python_dependencies_declared ||
|
|
setup.pip_dependencies?.length
|
|
),
|
|
);
|
|
}
|