feat(ql3): add strong local run stop

This commit is contained in:
whyour
2026-08-12 10:36:38 +08:00
parent dd370b2842
commit 86eb0f1eb3
16 changed files with 1430 additions and 133 deletions
+16 -2
View File
@@ -1675,8 +1675,10 @@ function auditSourceImports(root, packagePath, findings) {
specifier.startsWith(`${packageName}/`),
) &&
!(
path.relative(packageDirectory, filePath) ===
'src/run-management/runRetryCommand.ts' &&
[
'src/run-management/runRetryCommand.ts',
'src/run-management/runStopCommand.ts',
].includes(path.relative(packageDirectory, filePath)) &&
[
'@qinglong/local-owner-console/authenticated-command',
'@qinglong/local-sqlite/authenticated-management',
@@ -2539,6 +2541,18 @@ function auditSourceImports(root, packagePath, findings) {
) {
continue;
}
if (
packagePath === 'packages/ql3-local-owner-cli' &&
path.relative(packageDirectory, filePath) ===
'src/run-management/runStopCommand.ts' &&
[
'@qinglong/runtime-core/project-policy',
'@qinglong/runtime-core/run-cancellation',
'@qinglong/runtime-core/security-audit',
].includes(specifier)
) {
continue;
}
if (
packagePath === 'packages/ql3-local-owner-cli' &&
path.relative(packageDirectory, filePath) ===