fullcourtdefense-cli 1.15.4 → 1.15.5
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/commands/daemon.js +1 -0
- package/dist/runtimeConfig.d.ts +2 -0
- package/dist/runtimeConfig.js +2 -0
- package/dist/version.json +1 -1
- package/package.json +1 -1
package/dist/commands/daemon.js
CHANGED
package/dist/runtimeConfig.d.ts
CHANGED
|
@@ -39,6 +39,8 @@ export interface FetchBundleInput {
|
|
|
39
39
|
shieldKey?: string;
|
|
40
40
|
developerName?: string;
|
|
41
41
|
machineName?: string;
|
|
42
|
+
/** Exact fleet machine ID — makes the server's pending-action lookup deterministic. */
|
|
43
|
+
machineId?: string;
|
|
42
44
|
/** Override cache TTL (ms). */
|
|
43
45
|
ttlMs?: number;
|
|
44
46
|
/** Force a network refresh regardless of cache freshness. */
|
package/dist/runtimeConfig.js
CHANGED
|
@@ -83,6 +83,8 @@ async function getRuntimeBundle(input) {
|
|
|
83
83
|
params.set('developerName', input.developerName);
|
|
84
84
|
if (input.machineName)
|
|
85
85
|
params.set('machineName', input.machineName);
|
|
86
|
+
if (input.machineId)
|
|
87
|
+
params.set('machineId', input.machineId);
|
|
86
88
|
const resp = await fetch(`${input.apiUrl}/api/cli/bundle?${params.toString()}`, { method: 'GET', headers, signal: AbortSignal.timeout(REFRESH_TIMEOUT_MS) });
|
|
87
89
|
// 304 Not Modified — cache is still valid; refresh its timestamp.
|
|
88
90
|
if (resp.status === 304 && cached) {
|
package/dist/version.json
CHANGED