@ours.network/claude-code 1.2.0-nightly.3 → 1.2.0-nightly.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.
@@ -16026,7 +16026,7 @@ function validateHostProfile(value) {
16026
16026
  const expectedInstanceId = record2.expectedInstanceId;
16027
16027
  const credentialPath = record2.credentialPath;
16028
16028
  if (typeof endpoint !== "string" || endpoint.trim() !== endpoint || endpoint === "") {
16029
- throw profileError("endpoint must be a non-empty HTTP origin.");
16029
+ throw profileError("endpoint must be a non-empty HTTP or HTTPS origin.");
16030
16030
  }
16031
16031
  if (typeof expectedInstanceId !== "string" || !UUID.test(expectedInstanceId)) {
16032
16032
  throw profileError("expectedInstanceId must be a lowercase UUID.");
@@ -16038,10 +16038,10 @@ function validateHostProfile(value) {
16038
16038
  try {
16039
16039
  url2 = new URL(endpoint);
16040
16040
  } catch {
16041
- throw profileError("endpoint must be an HTTP origin.");
16041
+ throw profileError("endpoint must be an HTTP or HTTPS origin.");
16042
16042
  }
16043
- if (url2.protocol !== "http:" || url2.username || url2.password || url2.pathname !== "/" || url2.search || url2.hash) {
16044
- throw profileError("endpoint must be an HTTP origin without credentials, path, query, or fragment.");
16043
+ if (url2.protocol !== "http:" && url2.protocol !== "https:" || url2.username || url2.password || url2.pathname !== "/" || url2.search || url2.hash) {
16044
+ throw profileError("endpoint must be an HTTP or HTTPS origin without credentials, path, query, or fragment.");
16045
16045
  }
16046
16046
  return { endpoint: url2.origin, expectedInstanceId, credentialPath };
16047
16047
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ours.network/claude-code",
3
- "version": "1.2.0-nightly.3",
3
+ "version": "1.2.0-nightly.4",
4
4
  "description": "Claude Code plugin for ours \u2014 secure agent-to-agent messaging over ADAPT with native host network transport.",
5
5
  "type": "module",
6
6
  "license": "FSL-1.1-Apache-2.0",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@modelcontextprotocol/sdk": "^1.29.0",
48
- "@ours.network/sdk": "3.8.1-nightly.3",
48
+ "@ours.network/sdk": "3.8.1-nightly.4",
49
49
  "ws": "^8.21.0",
50
50
  "zod": "^3.25.76"
51
51
  },