@phnx-labs/agents-cli 1.22.110 → 1.22.111

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.22.111
4
+
5
+ - **Remote session resume accepts the resolver’s launch metadata (PHNX-3940).** A reachable peer’s valid session row could be rejected because it included a mode or custom harness, leaving the session undiscoverable. The reader now accepts both fields while keeping private transcript paths out of the resolver contract. Malformed responses are reported as invalid data instead of an unreachable device.
6
+
3
7
  ## 1.22.110
4
8
 
5
9
  - **Session rows are named by what YOU asked for, not by the agent's latest
@@ -170,7 +170,7 @@ export async function gatherRemoteAgentsJson(options, deps = {}) {
170
170
  if (!cancelled) {
171
171
  parseFailed.push(target.name);
172
172
  if (!options.quiet) {
173
- process.stderr.write(chalk.gray(` ${target.name}: unreachable or no agents CLI — skipped\n`));
173
+ process.stderr.write(chalk.gray(` ${target.name}: invalid response data — skipped\n`));
174
174
  }
175
175
  }
176
176
  return [];
@@ -95,7 +95,7 @@ export function parseRemoteList(stdout, machine) {
95
95
  * malformed/non-array JSON is an incomplete source, not an empty machine. */
96
96
  const SAFE_RESOLVER_KEYS = new Set([
97
97
  'id', 'shortId', 'agent', 'origin', 'timestamp', 'lastActivity', 'project',
98
- 'version', 'label', 'topic', 'machine',
98
+ 'version', 'harness', 'mode', 'label', 'topic', 'machine',
99
99
  ]);
100
100
  function isSafeResolverRow(value) {
101
101
  if (typeof value.id !== 'string' || typeof value.shortId !== 'string'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phnx-labs/agents-cli",
3
- "version": "1.22.110",
3
+ "version": "1.22.111",
4
4
  "description": "One CLI for all your AI coding agents - versions, config, cloud dispatch, sessions, and teams (now with first-class Grok Build CLI support)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",