overlord-cli 0.2607241654.0 → 0.2607241806.0

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.
@@ -336,7 +336,7 @@ ovld protocol discover-project --project-id "My Project"
336
336
  ovld protocol discover-project --working-directory /path/to/repo
337
337
  ```
338
338
 
339
- Use `--project-id` when the project ID or name is already known (names are unique per organization, matched case-insensitively). Use `--working-directory` to override cwd path matching. If the runtime has an `OVERLORD_DEVICE_FINGERPRINT`, pass `--device-fingerprint "$OVERLORD_DEVICE_FINGERPRINT"` so resource-directory matching prefers the current device.
339
+ Use `--project-id` when the project ID or name is already known (names are unique per organization, matched case-insensitively). Use `--working-directory` to override cwd path matching. If the runtime has an `OVERLORD_DEVICE_FINGERPRINT`, pass `--device-fingerprint "$OVERLORD_DEVICE_FINGERPRINT"` so resource-directory matching prefers the current device. Set `OVERLORD_DEVICE_LABEL` to override this machine's execution-target display name (defaults to the hostname); it changes only the label, not the fingerprint.
340
340
 
341
341
  ### Creating Projects
342
342
 
@@ -222,7 +222,7 @@ ovld protocol discover-project --project-id "My Project"
222
222
  ovld protocol discover-project --working-directory /path/to/repo
223
223
  ```
224
224
 
225
- Use `--project-id` when the project ID or name is already known (names are unique per organization, matched case-insensitively). Use `--working-directory` to override cwd path matching. If the runtime has an `OVERLORD_DEVICE_FINGERPRINT`, pass `--device-fingerprint "$OVERLORD_DEVICE_FINGERPRINT"` so resource-directory matching prefers the current device.
225
+ Use `--project-id` when the project ID or name is already known (names are unique per organization, matched case-insensitively). Use `--working-directory` to override cwd path matching. If the runtime has an `OVERLORD_DEVICE_FINGERPRINT`, pass `--device-fingerprint "$OVERLORD_DEVICE_FINGERPRINT"` so resource-directory matching prefers the current device. Set `OVERLORD_DEVICE_LABEL` to override this machine's execution-target display name (defaults to the hostname); it changes only the label, not the fingerprint.
226
226
 
227
227
  ## Creating Projects
228
228
 
package/dist/index.js CHANGED
@@ -2947,10 +2947,15 @@ var init_device_identity = __esm({
2947
2947
  // src/device-identity.ts
2948
2948
  import { hostname as hostname2, platform } from "node:os";
2949
2949
  function clientDeviceIdentity() {
2950
- return deviceIdentityFromParts({
2950
+ const identity = deviceIdentityFromParts({
2951
2951
  deviceLabel: hostname2(),
2952
2952
  devicePlatform: platform()
2953
2953
  });
2954
+ const labelOverride = process.env.OVERLORD_DEVICE_LABEL?.trim();
2955
+ if (labelOverride) {
2956
+ identity.deviceLabel = labelOverride;
2957
+ }
2958
+ return identity;
2954
2959
  }
2955
2960
  var init_device_identity2 = __esm({
2956
2961
  "src/device-identity.ts"() {