overlord-cli 0.2607241654.0 → 0.2607261049.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.
@@ -1 +1 @@
1
- 0.3.4
1
+ 0.3.5
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://antigravity.google/schemas/v1/plugin.json",
3
3
  "name": "overlord",
4
- "version": "0.3.4",
4
+ "version": "0.3.5",
5
5
  "description": "Chat-driven access to Overlord mission protocol workflows with hook-driven activity capture.",
6
6
  "author": {
7
7
  "name": "Cooperativ",
@@ -433,7 +433,7 @@ process.stdin.on('data', async chunk => {
433
433
  result: {
434
434
  protocolVersion: PROTOCOL_VERSION,
435
435
  capabilities: { tools: { listChanged: false } },
436
- serverInfo: { name: 'overlord-antigravity', version: '0.3.4' }
436
+ serverInfo: { name: 'overlord-antigravity', version: '0.3.5' }
437
437
  }
438
438
  });
439
439
  continue;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "overlord",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "Overlord mission protocol workflow for Claude Code — attach/update/ask/deliver, slash commands, and hook-driven activity capture.",
5
5
  "author": {
6
6
  "name": "Cooperativ",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "overlord",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "Chat-driven access to Overlord mission protocol workflows with hook-driven activity capture.",
5
5
  "author": {
6
6
  "name": "Cooperativ",
@@ -433,7 +433,7 @@ process.stdin.on('data', async chunk => {
433
433
  result: {
434
434
  protocolVersion: PROTOCOL_VERSION,
435
435
  capabilities: { tools: { listChanged: false } },
436
- serverInfo: { name: 'overlord-codex', version: '0.3.4' }
436
+ serverInfo: { name: 'overlord-codex', version: '0.3.5' }
437
437
  }
438
438
  });
439
439
  continue;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "overlord",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "Overlord mission protocol workflow for Cursor — attach/update/ask/deliver, slash commands, MCP bridge, and follow-up capture.",
5
5
  "author": {
6
6
  "name": "Cooperativ",
@@ -433,7 +433,7 @@ process.stdin.on('data', async chunk => {
433
433
  result: {
434
434
  protocolVersion: PROTOCOL_VERSION,
435
435
  capabilities: { tools: { listChanged: false } },
436
- serverInfo: { name: 'overlord-cursor', version: '0.3.4' }
436
+ serverInfo: { name: 'overlord-cursor', version: '0.3.5' }
437
437
  }
438
438
  });
439
439
  continue;
@@ -333,10 +333,10 @@ To inspect project resolution explicitly:
333
333
  ovld protocol discover-project
334
334
  ovld protocol discover-project --project-id <id-or-name>
335
335
  ovld protocol discover-project --project-id "My Project"
336
- ovld protocol discover-project --working-directory /path/to/repo
336
+ ovld protocol discover-project --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 `--directory` to override cwd path matching; resource-directory matching automatically prefers the device the CLI is running on (its identity is sent as request headers). Set `OVERLORD_DEVICE_FINGERPRINT` to pin a stable execution-target identity across disposable containers that share one environment (AgentPod sets this). Set `OVERLORD_DEVICE_LABEL` to override the display name (defaults to hostname); alone it does not change the fingerprint.
340
340
 
341
341
  ### Creating Projects
342
342
 
@@ -219,10 +219,10 @@ To inspect project resolution explicitly:
219
219
  ovld protocol discover-project
220
220
  ovld protocol discover-project --project-id <id-or-name>
221
221
  ovld protocol discover-project --project-id "My Project"
222
- ovld protocol discover-project --working-directory /path/to/repo
222
+ ovld protocol discover-project --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 `--directory` to override cwd path matching; resource-directory matching automatically prefers the device the CLI is running on (its identity is sent as request headers). Set `OVERLORD_DEVICE_FINGERPRINT` to pin a stable execution-target identity across disposable containers that share one environment (AgentPod sets this). Set `OVERLORD_DEVICE_LABEL` to override the display name (defaults to hostname); alone it does not change the fingerprint.
226
226
 
227
227
  ## Creating Projects
228
228
 
package/dist/index.js CHANGED
@@ -2947,10 +2947,24 @@ 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({
2951
- deviceLabel: hostname2(),
2950
+ const fingerprintOverride = process.env.OVERLORD_DEVICE_FINGERPRINT?.trim();
2951
+ const labelOverride = process.env.OVERLORD_DEVICE_LABEL?.trim();
2952
+ const hostLabel = hostname2();
2953
+ if (fingerprintOverride) {
2954
+ return {
2955
+ deviceFingerprint: fingerprintOverride,
2956
+ deviceLabel: labelOverride || hostLabel,
2957
+ devicePlatform: platform()
2958
+ };
2959
+ }
2960
+ const identity = deviceIdentityFromParts({
2961
+ deviceLabel: hostLabel,
2952
2962
  devicePlatform: platform()
2953
2963
  });
2964
+ if (labelOverride) {
2965
+ identity.deviceLabel = labelOverride;
2966
+ }
2967
+ return identity;
2954
2968
  }
2955
2969
  var init_device_identity2 = __esm({
2956
2970
  "src/device-identity.ts"() {