@kici-dev/orchestrator 0.1.13 → 0.1.14
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/dist/cli/service/index.d.ts +1 -1
- package/dist/cli/service/instance/manifest.d.ts +9 -0
- package/dist/cli.js +179 -103
- package/dist/db/migrations/025_init_failure.d.ts +16 -0
- package/dist/db/types.d.ts +15 -0
- package/dist/diagnostics/checks/index.d.ts +2 -1
- package/dist/diagnostics/checks/scaler.d.ts +13 -0
- package/dist/diagnostics/types.d.ts +5 -2
- package/dist/reporting/execution-tracker.d.ts +77 -6
- package/dist/scaler/failure-tracker.d.ts +46 -0
- package/dist/scaler/manager.d.ts +8 -0
- package/dist/server.js +570 -168
- package/dist/standalone.js +547 -156
- package/package.json +4 -4
- package/sbom.spdx.json +91 -36
|
@@ -12,7 +12,7 @@ export { detectPlatform, isRoot, kiciConfigRoot, getConfigDir, getLogDir, getCac
|
|
|
12
12
|
export { resolveUserLevel, type PrivilegeOpts } from './privilege.js';
|
|
13
13
|
export type { Component, InstanceManifest, IndexEntry, ResolveOptions, ResolvedInstance, } from './instance/types.js';
|
|
14
14
|
export { COMPONENTS, isComponent } from './instance/types.js';
|
|
15
|
-
export { manifestFilename, manifestPath, readManifest, writeManifest, } from './instance/manifest.js';
|
|
15
|
+
export { manifestFilename, manifestPath, readManifest, writeManifest, readKiciVersion, } from './instance/manifest.js';
|
|
16
16
|
export { indexPath, readIndex, writeIndex, appendIndexEntry, removeIndexEntry, } from './instance/index-file.js';
|
|
17
17
|
export { listInstances, resolveInstance, formatRefusal } from './instance/resolve.js';
|
|
18
18
|
export type { ListedInstance, ResolveArgs, ListInstancesArgs } from './instance/resolve.js';
|
|
@@ -18,4 +18,13 @@ export declare function readManifest(instanceDir: string, component: Component):
|
|
|
18
18
|
* Returns the full path written.
|
|
19
19
|
*/
|
|
20
20
|
export declare function writeManifest(instanceDir: string, manifest: InstanceManifest): string;
|
|
21
|
+
/**
|
|
22
|
+
* Read the running kici-admin's version from the orchestrator package.json.
|
|
23
|
+
*
|
|
24
|
+
* `process.env.npm_package_version` is only populated under `npm run` and is
|
|
25
|
+
* undefined when kici-admin runs as a globally-installed binary, which is the
|
|
26
|
+
* actual install path. Reading from the package.json on disk is the only
|
|
27
|
+
* reliable source.
|
|
28
|
+
*/
|
|
29
|
+
export declare function readKiciVersion(): string;
|
|
21
30
|
//# sourceMappingURL=manifest.d.ts.map
|