Release v0.1.7
This commit is contained in:
@@ -249,13 +249,14 @@ export type ModuleCatalogResponse = {
|
||||
|
||||
export type ModuleInstallPlanItem = {
|
||||
module_id: string;
|
||||
action: "install" | "uninstall";
|
||||
action: "install" | "update" | "uninstall";
|
||||
source: "manual" | "catalog";
|
||||
catalog?: Record<string, unknown> | null;
|
||||
python_package?: string | null;
|
||||
python_ref?: string | null;
|
||||
webui_package?: string | null;
|
||||
webui_ref?: string | null;
|
||||
data_safety_acknowledged: boolean;
|
||||
destroy_data: boolean;
|
||||
status: "planned" | "applied" | "blocked";
|
||||
notes?: string | null;
|
||||
@@ -275,6 +276,63 @@ export type ModuleInstallChecklistItem = {
|
||||
detail?: string | null;
|
||||
};
|
||||
|
||||
export type ModuleInstallTargetItem = {
|
||||
module_id: string;
|
||||
action: "install" | "update" | "uninstall";
|
||||
source: "manual" | "catalog";
|
||||
current_version?: string | null;
|
||||
target_version?: string | null;
|
||||
python_package?: string | null;
|
||||
python_ref?: string | null;
|
||||
webui_package?: string | null;
|
||||
webui_ref?: string | null;
|
||||
migration_safety: "automatic" | "requires_review" | "forward_only" | "destructive";
|
||||
migration_notes?: string | null;
|
||||
current_version_min?: string | null;
|
||||
current_version_max_exclusive?: string | null;
|
||||
bridge_release: boolean;
|
||||
bridge_notes?: string | null;
|
||||
allow_downgrade: boolean;
|
||||
allow_same_version: boolean;
|
||||
recovery_tested: boolean;
|
||||
recovery_notes?: string | null;
|
||||
data_safety_acknowledged: boolean;
|
||||
};
|
||||
|
||||
export type ModuleMigrationPlanStep = {
|
||||
module_id: string;
|
||||
action: "install" | "update" | "uninstall";
|
||||
phase: "upgrade" | "retirement";
|
||||
source: "manifest" | "catalog" | "pending";
|
||||
has_migration_metadata: boolean;
|
||||
metadata_pending: boolean;
|
||||
migration_safety: "automatic" | "requires_review" | "forward_only" | "destructive";
|
||||
current_version?: string | null;
|
||||
target_version?: string | null;
|
||||
reason?: string | null;
|
||||
};
|
||||
|
||||
export type ModuleMigrationTaskPlanItem = {
|
||||
module_id: string;
|
||||
task_id: string;
|
||||
phase: "pre_migration_check" | "pre_migration_prepare" | "post_migration_backfill" | "post_migration_verify";
|
||||
summary: string;
|
||||
task_version: string;
|
||||
safety: "automatic" | "requires_review" | "forward_only" | "destructive";
|
||||
idempotent: boolean;
|
||||
timeout_seconds?: number | null;
|
||||
source: "manifest" | "catalog" | "pending";
|
||||
has_executor: boolean;
|
||||
metadata_pending: boolean;
|
||||
};
|
||||
|
||||
export type ModuleMigrationExecutionPlan = {
|
||||
enabled_modules: string[];
|
||||
requires_database_migration: boolean;
|
||||
steps: ModuleMigrationPlanStep[];
|
||||
tasks: ModuleMigrationTaskPlanItem[];
|
||||
};
|
||||
|
||||
export type ModuleInstallPreflight = {
|
||||
allowed: boolean;
|
||||
maintenance_mode: boolean;
|
||||
@@ -284,6 +342,8 @@ export type ModuleInstallPreflight = {
|
||||
rollback_commands: string[];
|
||||
issues: ModuleInstallPreflightIssue[];
|
||||
checklist: ModuleInstallChecklistItem[];
|
||||
target_plan: ModuleInstallTargetItem[];
|
||||
migration_plan: ModuleMigrationExecutionPlan;
|
||||
};
|
||||
|
||||
export type ModuleInstallPlanResponse = {
|
||||
@@ -389,7 +449,21 @@ export type ModulePackageCatalogItem = {
|
||||
name: string;
|
||||
description?: string | null;
|
||||
version?: string | null;
|
||||
action: "install" | "uninstall";
|
||||
action: "install" | "update" | "uninstall";
|
||||
dependencies: string[];
|
||||
optional_dependencies: string[];
|
||||
migration_safety: "automatic" | "requires_review" | "forward_only" | "destructive";
|
||||
migration_notes?: string | null;
|
||||
migration_after: string[];
|
||||
migration_before: string[];
|
||||
current_version_min?: string | null;
|
||||
current_version_max_exclusive?: string | null;
|
||||
bridge_release: boolean;
|
||||
bridge_notes?: string | null;
|
||||
allow_downgrade: boolean;
|
||||
allow_same_version: boolean;
|
||||
recovery_tested: boolean;
|
||||
recovery_notes?: string | null;
|
||||
python_package?: string | null;
|
||||
python_ref?: string | null;
|
||||
webui_package?: string | null;
|
||||
|
||||
Reference in New Issue
Block a user