@camstack/agent 1.0.4 → 1.0.6
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/{chunk-5JHGVZFN.mjs → chunk-GM2IV7NO.mjs} +354 -111
- package/dist/chunk-GM2IV7NO.mjs.map +1 -0
- package/dist/cli.js +360 -117
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/index.d.ts +9 -0
- package/dist/index.js +370 -127
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-5JHGVZFN.mjs.map +0 -1
package/dist/cli.mjs
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -21,8 +21,17 @@ declare function loadAgentConfig(configPath?: string, dataDirOverride?: string):
|
|
|
21
21
|
interface LoadedAddonEntry {
|
|
22
22
|
readonly id: string;
|
|
23
23
|
readonly status: string;
|
|
24
|
+
/** Addon DECLARATION version (from the addon manifest). */
|
|
24
25
|
readonly version?: string;
|
|
25
26
|
readonly packageName?: string;
|
|
27
|
+
/**
|
|
28
|
+
* npm PACKAGE version (from the package's package.json) — distinct from the
|
|
29
|
+
* addon declaration `version`. The hub's per-node update check compares the
|
|
30
|
+
* installed PACKAGE version against the registry, so it must be reported
|
|
31
|
+
* here; reporting the declaration version (often `0.1.0` while the package
|
|
32
|
+
* is `1.0.4`) makes `listUpdates` show a permanent phantom update.
|
|
33
|
+
*/
|
|
34
|
+
readonly packageVersion?: string;
|
|
26
35
|
readonly addon?: {
|
|
27
36
|
shutdown?(): Promise<void>;
|
|
28
37
|
onHubReachable?(): Promise<void> | void;
|