@camstack/develop 0.1.38 → 0.1.39
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.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.1.39] - 2026-10-28
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Agent discovery reads the display name an agent advertises
|
|
15
|
+
|
|
10
16
|
## [0.1.38] - 2026-10-27
|
|
11
17
|
|
|
12
18
|
### Changed
|
|
@@ -6,6 +6,8 @@ export interface MdnsAgent {
|
|
|
6
6
|
readonly host: string;
|
|
7
7
|
readonly port: number;
|
|
8
8
|
readonly version: string | null;
|
|
9
|
+
/** The agent's display name; `null` when it does not advertise one (an older agent). */
|
|
10
|
+
readonly name: string | null;
|
|
9
11
|
readonly state: AgentMdnsState;
|
|
10
12
|
/** Short leaf fingerprint, once paired. */
|
|
11
13
|
readonly fingerprint: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-browse.d.ts","sourceRoot":"","sources":["../../src/hub-discovery/agent-browse.ts"],"names":[],"mappings":"AASA,OAAO,EAEL,KAAK,aAAa,EAElB,KAAK,YAAY,EAClB,MAAM,kBAAkB,CAAA;AAEzB,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,CAAA;AAE9D,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,6EAA6E;IAC7E,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAA;IAC9B,2CAA2C;IAC3C,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;CACpC;AAeD,6EAA6E;AAC7E,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,SAAS,YAAY,EAAE,GAAG,SAAS,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"agent-browse.d.ts","sourceRoot":"","sources":["../../src/hub-discovery/agent-browse.ts"],"names":[],"mappings":"AASA,OAAO,EAEL,KAAK,aAAa,EAElB,KAAK,YAAY,EAClB,MAAM,kBAAkB,CAAA;AAEzB,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,CAAA;AAE9D,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,6EAA6E;IAC7E,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,wFAAwF;IACxF,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAA;IAC9B,2CAA2C;IAC3C,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;CACpC;AAeD,6EAA6E;AAC7E,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,SAAS,YAAY,EAAE,GAAG,SAAS,SAAS,EAAE,CA2B5F;AAED,kGAAkG;AAClG,wBAAsB,gBAAgB,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,SAAS,SAAS,EAAE,CAAC,CAyB5F"}
|
|
@@ -43,6 +43,7 @@ export function agentsFromResponses(responses) {
|
|
|
43
43
|
host,
|
|
44
44
|
port: srv.port,
|
|
45
45
|
version: txt.get(AGENT_MDNS_TXT_KEYS.version) ?? null,
|
|
46
|
+
name: txt.get(AGENT_MDNS_TXT_KEYS.name) ?? null,
|
|
46
47
|
state: stateOf(txt.get(AGENT_MDNS_TXT_KEYS.state)),
|
|
47
48
|
fingerprint: txt.get(AGENT_MDNS_TXT_KEYS.keyFingerprint) ?? null,
|
|
48
49
|
});
|
package/package.json
CHANGED