@wrongstack/cli 0.310.1 → 0.313.1

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.
Files changed (32) hide show
  1. package/dist/{acp-GZIASCLH.js → acp-LQMSMV32.js} +2 -2
  2. package/dist/chunk-4JRIWVJ4.js +13 -0
  3. package/dist/chunk-7CECQDNH.js +24 -0
  4. package/dist/{chunk-3FHFGIIN.js → chunk-AOAIPYFB.js} +2 -2
  5. package/dist/{chunk-J4QSP6T2.js → chunk-CNQZ4HG4.js} +1 -1
  6. package/dist/{chunk-J3XBHGEO.js → chunk-E3X4KM7T.js} +5 -2
  7. package/dist/{chunk-3MAUU765.js → chunk-GWVLRUVH.js} +1 -1
  8. package/dist/{cli-main-UDWMWX55.js → cli-main-UOQ2ICUO.js} +493 -212
  9. package/dist/{diag-doctor-Z6JDXBVX.js → diag-doctor-OPTB2NWY.js} +15 -3
  10. package/dist/{execution-ZEHK4II6.js → execution-L4CXQEND.js} +76 -14
  11. package/dist/execution-chimera-cascade.d.ts +4 -1
  12. package/dist/execution-chimera-review.d.ts +4 -1
  13. package/dist/fleet/host-types.d.ts +9 -0
  14. package/dist/fleet/subagent-hook-runner.d.ts +22 -0
  15. package/dist/{hq-3BEUEXJQ.js → hq-2XIXGAER.js} +2 -2
  16. package/dist/{hq-server-4MIW3S4J.js → hq-server-DBT3OOYD.js} +2 -2
  17. package/dist/index.js +12 -12
  18. package/dist/live-settings-input.d.ts +7 -2
  19. package/dist/{proxy-wiring-7RPGBHZP.js → proxy-wiring-G26YGP7S.js} +3 -3
  20. package/dist/slash-commands/sidebar.d.ts +4 -0
  21. package/dist/subcommands/contracts.d.ts +7 -0
  22. package/dist/webui-server/prefs-seeding.d.ts +1 -1
  23. package/dist/{webui-server-UB75UHWX.js → webui-server-I53IYBW4.js} +1 -1
  24. package/dist/wiring/proxy-probe.d.ts +1 -1
  25. package/dist/wiring/wrongtrace-gate-counters.d.ts +18 -0
  26. package/dist/wiring/wrongtrace-gate.d.ts +13 -0
  27. package/dist/wiring/wrongtrace-hooks.d.ts +8 -0
  28. package/dist/wiring/wrongtrace-prompt-contributor.d.ts +23 -0
  29. package/dist/wiring/wrongtrace-telemetry.d.ts +53 -0
  30. package/dist/wrongtrace-gate-counters-P5BCBXQN.js +22 -0
  31. package/dist/wrongtrace-telemetry-6M2CCBX5.js +34 -0
  32. package/package.json +28 -27
@@ -3,7 +3,7 @@ import {
3
3
  loadCachedAcpRegistry,
4
4
  refreshAcpRegistry,
5
5
  setupProvider
6
- } from "./chunk-J4QSP6T2.js";
6
+ } from "./chunk-CNQZ4HG4.js";
7
7
  import "./chunk-QYIIOMLE.js";
8
8
  import "./chunk-BXFYBQKR.js";
9
9
  import "./chunk-7OCVIDC7.js";
@@ -913,4 +913,4 @@ ${renderAcpBenchText(result)}
913
913
  export {
914
914
  acpCmd
915
915
  };
916
- //# sourceMappingURL=acp-GZIASCLH.js.map
916
+ //# sourceMappingURL=acp-LQMSMV32.js.map
@@ -0,0 +1,13 @@
1
+
2
+ // src/wiring/wrongtrace-gate.ts
3
+ import {
4
+ getWrongTrace,
5
+ preflightFileEdit,
6
+ resetWrongTraceGate,
7
+ withFileLock
8
+ } from "@wrongstack/wrongtrace";
9
+
10
+ export {
11
+ getWrongTrace
12
+ };
13
+ //# sourceMappingURL=chunk-4JRIWVJ4.js.map
@@ -0,0 +1,24 @@
1
+
2
+ // src/wiring/wrongtrace-gate-counters.ts
3
+ import {
4
+ createWrongTraceGateCounter,
5
+ countersFilePath,
6
+ formatGateCounterReport,
7
+ loadWrongTraceGateCounters,
8
+ persistWrongTraceGateCounters,
9
+ recordGateDecision,
10
+ resetGateDecisions,
11
+ snapshotGateDecisions
12
+ } from "@wrongstack/wrongtrace";
13
+
14
+ export {
15
+ createWrongTraceGateCounter,
16
+ countersFilePath,
17
+ formatGateCounterReport,
18
+ loadWrongTraceGateCounters,
19
+ persistWrongTraceGateCounters,
20
+ recordGateDecision,
21
+ resetGateDecisions,
22
+ snapshotGateDecisions
23
+ };
24
+ //# sourceMappingURL=chunk-7CECQDNH.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  startProxyProbe
3
- } from "./chunk-3MAUU765.js";
3
+ } from "./chunk-GWVLRUVH.js";
4
4
 
5
5
  // src/wiring/proxy-wiring.ts
6
6
  import {
@@ -55,4 +55,4 @@ export {
55
55
  bootstrapWrongProxy,
56
56
  shutdownWrongProxy
57
57
  };
58
- //# sourceMappingURL=chunk-3FHFGIIN.js.map
58
+ //# sourceMappingURL=chunk-AOAIPYFB.js.map
@@ -245,4 +245,4 @@ export {
245
245
  setupProvider,
246
246
  createGracefulShutdown
247
247
  };
248
- //# sourceMappingURL=chunk-J4QSP6T2.js.map
248
+ //# sourceMappingURL=chunk-CNQZ4HG4.js.map
@@ -959,7 +959,10 @@ function lanIPv4Addresses() {
959
959
  function truncateHqSummary(value, maxLength) {
960
960
  if (typeof value !== "string" || value.length === 0) return void 0;
961
961
  if (value.length <= maxLength) return value;
962
- return `${value.slice(0, maxLength)}\u2026[truncated:${value.length - maxLength}]`;
962
+ const suffix = `\u2026[truncated:${value.length - maxLength}]`;
963
+ if (maxLength <= suffix.length) return "\u2026";
964
+ const prefixLen = maxLength - suffix.length;
965
+ return `${value.slice(0, prefixLen)}${suffix}`;
963
966
  }
964
967
  function hqMachineKey(hostname, machineId) {
965
968
  const hn = hostname?.trim();
@@ -4916,4 +4919,4 @@ export {
4916
4919
  startHqServer,
4917
4920
  HqInsecureExposureError2 as HqInsecureExposureError
4918
4921
  };
4919
- //# sourceMappingURL=chunk-J3XBHGEO.js.map
4922
+ //# sourceMappingURL=chunk-E3X4KM7T.js.map
@@ -117,4 +117,4 @@ function buildHealthUrl(rawBase) {
117
117
  export {
118
118
  startProxyProbe
119
119
  };
120
- //# sourceMappingURL=chunk-3MAUU765.js.map
120
+ //# sourceMappingURL=chunk-GWVLRUVH.js.map