harnessed 4.16.2 → 4.16.3

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/cli.mjs CHANGED
@@ -38,7 +38,7 @@ var init_package = __esm({
38
38
  "package.json"() {
39
39
  package_default = {
40
40
  name: "harnessed",
41
- version: "4.16.2",
41
+ version: "4.16.3",
42
42
  description: "AI coding harness package manager + composition orchestrator",
43
43
  type: "module",
44
44
  license: "Apache-2.0",
@@ -6578,6 +6578,7 @@ var init_mcpHttpAdd2 = __esm({
6578
6578
  init_runClaudeArgs();
6579
6579
  init_safeCwd();
6580
6580
  init_state2();
6581
+ init_verifyMessage();
6581
6582
  installMcpHttpAdd = async (ctx) => {
6582
6583
  const install = ctx.manifest.spec.install;
6583
6584
  if (install.method !== "mcp-http-add") {
@@ -6713,7 +6714,9 @@ ${newEntry}
6713
6714
  error: err(
6714
6715
  ctx,
6715
6716
  "/spec/install/cmd",
6716
- `${bin} mcp add (http) exited ${r.exitCode}: ${r.stderr.slice(0, 200)}`,
6717
+ // v4.16.3 — formatSpawnFail parity with the other 4 installers
6718
+ // (tail-END + stdout fallback; CC CLI errors can land on stdout).
6719
+ formatSpawnFail(`${bin} mcp add (http)`, r.exitCode, r.stdout, r.stderr),
6717
6720
  "install-failed"
6718
6721
  )
6719
6722
  };
@@ -6755,6 +6758,7 @@ var init_mcpStdioAdd2 = __esm({
6755
6758
  init_runClaudeArgs();
6756
6759
  init_safeCwd();
6757
6760
  init_state2();
6761
+ init_verifyMessage();
6758
6762
  installMcpStdioAdd = async (ctx) => {
6759
6763
  const install = ctx.manifest.spec.install;
6760
6764
  if (install.method !== "mcp-stdio-add") {
@@ -6856,7 +6860,9 @@ ${newEntry}
6856
6860
  error: err(
6857
6861
  ctx,
6858
6862
  "/spec/install/cmd",
6859
- `${bin} mcp add exited ${r.exitCode}: ${r.stderr.slice(0, 200)}`,
6863
+ // v4.16.3 — formatSpawnFail parity with the other 4 installers
6864
+ // (tail-END + stdout fallback; CC CLI errors can land on stdout).
6865
+ formatSpawnFail(`${bin} mcp add`, r.exitCode, r.stdout, r.stderr),
6860
6866
  "install-failed"
6861
6867
  )
6862
6868
  };