@forgezero/agent 0.1.86 → 0.1.87

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.
@@ -80,6 +80,10 @@ export declare const reasonFor: (mode: AgentMode) => string;
80
80
  export interface UnitOptions {
81
81
  mode: AgentMode;
82
82
  socketPath: string;
83
+ /** Internal blue/green handover unit; never enables outbound claim intake. */
84
+ handoverCandidate?: boolean;
85
+ /** Internal exact backend override used by the candidate generation. */
86
+ backendSocketPath?: string;
83
87
  /** Legacy/dev fallback only. Production uses `seedCredentialPath`. */
84
88
  seedPath?: string;
85
89
  /** Host-bound encrypted credential loaded by systemd for this unit only. */
@@ -158,6 +162,7 @@ export declare const LIFECYCLE_GROUP = "forgezero-lifecycle";
158
162
  export declare const DEPLOYMENT_RUNNER_UNIT_PATH = "/etc/systemd/system/forgezero-deploy-runner.service";
159
163
  export declare const AGENT_SOCKET_UNIT_PATH = "/etc/systemd/system/forgezero-agent.socket";
160
164
  export declare const AGENT_SOCKET_PROXY_UNIT_PATH = "/etc/systemd/system/forgezero-agent-proxy.service";
165
+ export declare const AGENT_CANDIDATE_UNIT_PATH = "/etc/systemd/system/forgezero-agent-candidate.service";
161
166
  export declare const DEPLOYMENT_RUNNER_SOCKET = "/run/forgezero-deploy/runner.sock";
162
167
  export declare const ENROLMENT_UNIT_PATH = "/etc/systemd/system/forgezero-agent-enrol.service";
163
168
  export declare const LIFECYCLE_HELPER_UNIT_PATH = "/etc/systemd/system/forgezero-lifecycle-helper.service";
@@ -171,7 +176,7 @@ export declare function agentEgressUnit(options: Pick<UnitOptions, 'binPath' | '
171
176
  /** Root may execute only package-owned OS strategies selected by id + version. */
172
177
  export declare function softwareHelperUnit(options: Pick<UnitOptions, 'binPath' | 'deployRoot'>): string;
173
178
  /** Fixed root boundary for verified, health-gated Agent replacement. */
174
- export declare function agentUpdateHelperUnit(options: Pick<UnitOptions, 'binPath'>): string;
179
+ export declare function agentUpdateHelperUnit(options: Pick<UnitOptions, 'binPath' | 'socketPath'>): string;
175
180
  /**
176
181
  * PID 1 owns the stable application endpoint.
177
182
  *
@@ -187,6 +192,10 @@ export declare function agentSocketUnit(options: Pick<UnitOptions, 'socketPath'>
187
192
  */
188
193
  export declare function agentSocketProxyUnit(options: Pick<UnitOptions, 'socketPath' | 'user'>): string;
189
194
  export declare function agentBackendSocketPath(publicSocketPath: string): string;
195
+ /** Stable symlink resolved by systemd-socket-proxyd for every new connection. */
196
+ export declare function agentRoutingSocketPath(publicSocketPath: string): string;
197
+ /** Isolated backend owned only by the verified candidate generation. */
198
+ export declare function agentCandidateSocketPath(publicSocketPath: string): string;
190
199
  export declare function warpConfigUnit(options: Pick<UnitOptions, 'binPath' | 'warpOrganization' | 'warpClientIdCredentialPath' | 'warpClientSecretCredentialPath'>): string;
191
200
  export declare function warpServiceDropIn(): string;
192
201
  export declare function lifecycleHelperUnit(options: Pick<UnitOptions, 'binPath' | 'lifecycleProfilePath' | 'lifecycleHelperSocketPath'>): string;
@@ -208,6 +217,12 @@ export declare function deploymentRunnerUnit(options: Pick<UnitOptions, 'binPath
208
217
  * filesystem read-only.
209
218
  */
210
219
  export declare function agentUnit(options: UnitOptions): string;
220
+ /**
221
+ * A separately supervised, credential-equivalent candidate. It loads and proves
222
+ * the durable node binding and RAM Vault replica, but candidate mode never
223
+ * starts heartbeat, claim, migration, bootstrap or deployment intake.
224
+ */
225
+ export declare function agentCandidateUnit(options: UnitOptions): string;
211
226
  export interface Step {
212
227
  /** Stable display, never executed. */
213
228
  command: string;