@joshski/dust 0.1.107 → 0.1.109
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/artifacts.js +1 -1
- package/dist/audits.js +503 -28
- package/dist/bucket/server-messages.d.ts +3 -2
- package/dist/dust.js +619 -65
- package/dist/filesystem/error-codes.d.ts +2 -0
- package/dist/loop/iteration.d.ts +2 -2
- package/dist/patch.js +18 -10
- package/dist/validation.js +15 -7
- package/package.json +1 -1
|
@@ -34,13 +34,14 @@ export interface ToolDefinitionsMessage {
|
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
36
|
* Sent by client on connect to initiate the handshake.
|
|
37
|
-
* Includes version, platform, git remote, and agent capabilities.
|
|
37
|
+
* Includes version, platform, git remote, machine ID, and agent capabilities.
|
|
38
38
|
*/
|
|
39
39
|
export interface ConnectionInitMessage {
|
|
40
40
|
type: 'connection-init';
|
|
41
41
|
dustVersion: string;
|
|
42
42
|
platform: string;
|
|
43
43
|
gitRemote?: string;
|
|
44
|
+
machineId?: string;
|
|
44
45
|
agents: AgentCapability[];
|
|
45
46
|
}
|
|
46
47
|
/**
|
|
@@ -71,4 +72,4 @@ export declare function parseServerMessage(data: unknown): ServerMessage | null;
|
|
|
71
72
|
* Build a ConnectionInitMessage payload.
|
|
72
73
|
* Pure function - no side effects.
|
|
73
74
|
*/
|
|
74
|
-
export declare function buildConnectionInitPayload(dustVersion: string, platform: string, gitRemote: string | undefined, agents: AgentCapability[]): ConnectionInitMessage;
|
|
75
|
+
export declare function buildConnectionInitPayload(dustVersion: string, platform: string, gitRemote: string | undefined, agents: AgentCapability[], machineId?: string): ConnectionInitMessage;
|