@ouro.bot/cli 0.1.0-alpha.207 → 0.1.0-alpha.208
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/changelog.json +6 -0
- package/dist/heart/daemon/cli-defaults.js +557 -0
- package/dist/heart/daemon/cli-exec.js +1847 -0
- package/dist/heart/daemon/cli-parse.js +759 -0
- package/dist/heart/daemon/cli-render.js +316 -0
- package/dist/heart/daemon/cli-types.js +8 -0
- package/dist/heart/daemon/daemon-cli.js +28 -3347
- package/dist/nerves/coverage/file-completeness.js +7 -3
- package/package.json +1 -1
|
@@ -45,9 +45,9 @@ function isTypeOnlyFile(source) {
|
|
|
45
45
|
}
|
|
46
46
|
return true;
|
|
47
47
|
}
|
|
48
|
-
//
|
|
49
|
-
//
|
|
50
|
-
//
|
|
48
|
+
// Sub-modules dispatched through a centralized pattern where the router
|
|
49
|
+
// handles all observability events. These files don't need independent
|
|
50
|
+
// emitNervesEvent calls.
|
|
51
51
|
const DISPATCH_EXEMPT_PATTERNS = [
|
|
52
52
|
"repertoire/tools-files",
|
|
53
53
|
"repertoire/tools-shell",
|
|
@@ -57,6 +57,10 @@ const DISPATCH_EXEMPT_PATTERNS = [
|
|
|
57
57
|
"repertoire/tools-continuity",
|
|
58
58
|
"repertoire/tools-surface",
|
|
59
59
|
"repertoire/tools-config",
|
|
60
|
+
// CLI sub-modules: cli-exec.ts is the router with emitNervesEvent calls;
|
|
61
|
+
// cli-parse and cli-render are pure functions with no side effects.
|
|
62
|
+
"daemon/cli-parse",
|
|
63
|
+
"daemon/cli-render",
|
|
60
64
|
];
|
|
61
65
|
function isDispatchExempt(filePath) {
|
|
62
66
|
return DISPATCH_EXEMPT_PATTERNS.some((pattern) => filePath.includes(pattern));
|