teamclaws 2.0.3 → 2.0.4

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/broker.js CHANGED
@@ -94,9 +94,6 @@ export class BrokerClient {
94
94
  throw errorFromResponse(response, "pairing_start_failed");
95
95
  }
96
96
  const pending = parsePendingPairing(response.body);
97
- if ("server_id" in target && pending.server_id !== target.server_id) {
98
- throw new TeamClawsError("target_mismatch", "TeamClaws resolved a different workspace than the one requested.", { exitCode: 9 });
99
- }
100
97
  if ("workspace_url" in target &&
101
98
  pending.target.origin !== new URL(target.workspace_url).origin) {
102
99
  throw new TeamClawsError("target_mismatch", "TeamClaws resolved a different workspace than the one requested.", { exitCode: 9 });
package/dist/constants.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export const PACKAGE_NAME = "teamclaws";
2
- export const PACKAGE_VERSION = "2.0.3";
2
+ export const PACKAGE_VERSION = "2.0.4";
3
3
  export const CLIENT_NAME = "teamclaws-cli";
4
4
  export const CONTRACT_VERSION = 1;
5
5
  export const OUTPUT_SCHEMA_VERSION = 1;
package/dist/pairing.js CHANGED
@@ -84,7 +84,6 @@ export class PairingClient {
84
84
  credential = await this.poll(pending, signal);
85
85
  const grant = await this.authorization.requireGrant();
86
86
  if (credential.pairing_id !== credential.device_id ||
87
- credential.server_id !== pending.server_id ||
88
87
  credential.origin !== pending.target.origin ||
89
88
  credential.requester_sub !== grant.sub ||
90
89
  credential.authorization_id !== grant.authorization_id ||
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "teamclaws",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "Official TeamClaws command-line client and agent skills",
5
5
  "license": "PolyForm-Shield-1.0.0",
6
6
  "homepage": "https://teamclaws.com",