@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.
- package/dist/{acp-GZIASCLH.js → acp-LQMSMV32.js} +2 -2
- package/dist/chunk-4JRIWVJ4.js +13 -0
- package/dist/chunk-7CECQDNH.js +24 -0
- package/dist/{chunk-3FHFGIIN.js → chunk-AOAIPYFB.js} +2 -2
- package/dist/{chunk-J4QSP6T2.js → chunk-CNQZ4HG4.js} +1 -1
- package/dist/{chunk-J3XBHGEO.js → chunk-E3X4KM7T.js} +5 -2
- package/dist/{chunk-3MAUU765.js → chunk-GWVLRUVH.js} +1 -1
- package/dist/{cli-main-UDWMWX55.js → cli-main-UOQ2ICUO.js} +493 -212
- package/dist/{diag-doctor-Z6JDXBVX.js → diag-doctor-OPTB2NWY.js} +15 -3
- package/dist/{execution-ZEHK4II6.js → execution-L4CXQEND.js} +76 -14
- package/dist/execution-chimera-cascade.d.ts +4 -1
- package/dist/execution-chimera-review.d.ts +4 -1
- package/dist/fleet/host-types.d.ts +9 -0
- package/dist/fleet/subagent-hook-runner.d.ts +22 -0
- package/dist/{hq-3BEUEXJQ.js → hq-2XIXGAER.js} +2 -2
- package/dist/{hq-server-4MIW3S4J.js → hq-server-DBT3OOYD.js} +2 -2
- package/dist/index.js +12 -12
- package/dist/live-settings-input.d.ts +7 -2
- package/dist/{proxy-wiring-7RPGBHZP.js → proxy-wiring-G26YGP7S.js} +3 -3
- package/dist/slash-commands/sidebar.d.ts +4 -0
- package/dist/subcommands/contracts.d.ts +7 -0
- package/dist/webui-server/prefs-seeding.d.ts +1 -1
- package/dist/{webui-server-UB75UHWX.js → webui-server-I53IYBW4.js} +1 -1
- package/dist/wiring/proxy-probe.d.ts +1 -1
- package/dist/wiring/wrongtrace-gate-counters.d.ts +18 -0
- package/dist/wiring/wrongtrace-gate.d.ts +13 -0
- package/dist/wiring/wrongtrace-hooks.d.ts +8 -0
- package/dist/wiring/wrongtrace-prompt-contributor.d.ts +23 -0
- package/dist/wiring/wrongtrace-telemetry.d.ts +53 -0
- package/dist/wrongtrace-gate-counters-P5BCBXQN.js +22 -0
- package/dist/wrongtrace-telemetry-6M2CCBX5.js +34 -0
- package/package.json +28 -27
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
countersFilePath,
|
|
3
|
+
createWrongTraceGateCounter,
|
|
4
|
+
formatGateCounterReport,
|
|
5
|
+
loadWrongTraceGateCounters,
|
|
6
|
+
persistWrongTraceGateCounters,
|
|
7
|
+
recordGateDecision,
|
|
8
|
+
resetGateDecisions,
|
|
9
|
+
snapshotGateDecisions
|
|
10
|
+
} from "./chunk-7CECQDNH.js";
|
|
11
|
+
import "./chunk-7OCVIDC7.js";
|
|
12
|
+
export {
|
|
13
|
+
countersFilePath,
|
|
14
|
+
createWrongTraceGateCounter,
|
|
15
|
+
formatGateCounterReport,
|
|
16
|
+
loadWrongTraceGateCounters,
|
|
17
|
+
persistWrongTraceGateCounters,
|
|
18
|
+
recordGateDecision,
|
|
19
|
+
resetGateDecisions,
|
|
20
|
+
snapshotGateDecisions
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=wrongtrace-gate-counters-P5BCBXQN.js.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getWrongTrace
|
|
3
|
+
} from "./chunk-4JRIWVJ4.js";
|
|
4
|
+
import "./chunk-7OCVIDC7.js";
|
|
5
|
+
|
|
6
|
+
// src/wiring/wrongtrace-telemetry.ts
|
|
7
|
+
function buildWrongTraceTelemetryReport(input) {
|
|
8
|
+
return {
|
|
9
|
+
run_id: input.sessionId,
|
|
10
|
+
agent_name: input.agentName,
|
|
11
|
+
model_name: input.model,
|
|
12
|
+
provider: input.provider,
|
|
13
|
+
prompt_tokens: input.usage.input,
|
|
14
|
+
completion_tokens: input.usage.output,
|
|
15
|
+
cost_usd: input.costUsd,
|
|
16
|
+
intent: "session_complete",
|
|
17
|
+
cache_read_tokens: input.usage.cacheRead ?? 0,
|
|
18
|
+
cache_write_tokens: input.usage.cacheWrite ?? 0,
|
|
19
|
+
source: "wrongstack"
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
async function reportWrongTraceSessionTelemetry(input, opts = {}) {
|
|
23
|
+
try {
|
|
24
|
+
const wt = opts.client ?? await getWrongTrace();
|
|
25
|
+
if (!wt.isAvailable) return;
|
|
26
|
+
await wt.reportTelemetry(buildWrongTraceTelemetryReport(input));
|
|
27
|
+
} catch {
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
buildWrongTraceTelemetryReport,
|
|
32
|
+
reportWrongTraceSessionTelemetry
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=wrongtrace-telemetry-6M2CCBX5.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wrongstack/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.313.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "WrongStack CLI — terminal AI coding agent with provider catalog from models.dev. Provides `wrongstack` and `wstack` binaries.",
|
|
6
6
|
"keywords": [
|
|
@@ -42,34 +42,35 @@
|
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"ws": "^8.21.3",
|
|
45
|
-
"@wrongstack/core": "0.
|
|
46
|
-
"@wrongstack/
|
|
47
|
-
"@wrongstack/bench": "0.
|
|
48
|
-
"@wrongstack/
|
|
49
|
-
"@wrongstack/
|
|
50
|
-
"@wrongstack/
|
|
51
|
-
"@wrongstack/
|
|
52
|
-
"@wrongstack/
|
|
53
|
-
"@wrongstack/
|
|
54
|
-
"@wrongstack/
|
|
55
|
-
"@wrongstack/
|
|
56
|
-
"@wrongstack/
|
|
57
|
-
"@wrongstack/
|
|
58
|
-
"@wrongstack/
|
|
59
|
-
"@wrongstack/security-scanner": "0.
|
|
60
|
-
"@wrongstack/
|
|
61
|
-
"@wrongstack/
|
|
62
|
-
"@wrongstack/
|
|
63
|
-
"@wrongstack/
|
|
64
|
-
"@wrongstack/
|
|
65
|
-
"@wrongstack/
|
|
66
|
-
"@wrongstack/
|
|
67
|
-
"@wrongstack/webui-protocol": "0.
|
|
68
|
-
"@wrongstack/
|
|
69
|
-
"@wrongstack/
|
|
45
|
+
"@wrongstack/core": "0.313.1",
|
|
46
|
+
"@wrongstack/primitives": "0.313.1",
|
|
47
|
+
"@wrongstack/bench": "0.313.1",
|
|
48
|
+
"@wrongstack/acp": "0.313.1",
|
|
49
|
+
"@wrongstack/persistence": "0.313.1",
|
|
50
|
+
"@wrongstack/mcp": "0.313.1",
|
|
51
|
+
"@wrongstack/kanban": "0.313.1",
|
|
52
|
+
"@wrongstack/plug-lsp": "0.313.1",
|
|
53
|
+
"@wrongstack/requirement-intake": "0.313.1",
|
|
54
|
+
"@wrongstack/plugins": "0.313.1",
|
|
55
|
+
"@wrongstack/providers": "0.313.1",
|
|
56
|
+
"@wrongstack/runtime": "0.313.1",
|
|
57
|
+
"@wrongstack/sage": "0.313.1",
|
|
58
|
+
"@wrongstack/sdd": "0.313.1",
|
|
59
|
+
"@wrongstack/security-scanner": "0.313.1",
|
|
60
|
+
"@wrongstack/techstack": "0.313.1",
|
|
61
|
+
"@wrongstack/simpleui": "0.313.1",
|
|
62
|
+
"@wrongstack/tui": "0.313.1",
|
|
63
|
+
"@wrongstack/vector-memory": "0.313.1",
|
|
64
|
+
"@wrongstack/telegram": "0.313.1",
|
|
65
|
+
"@wrongstack/tools": "0.313.1",
|
|
66
|
+
"@wrongstack/webui": "0.313.1",
|
|
67
|
+
"@wrongstack/webui-protocol": "0.313.1",
|
|
68
|
+
"@wrongstack/webui-hq": "0.313.1",
|
|
69
|
+
"@wrongstack/wrongtrace": "0.313.1",
|
|
70
|
+
"@wrongstack/webui-server": "0.313.1"
|
|
70
71
|
},
|
|
71
72
|
"optionalDependencies": {
|
|
72
|
-
"@wrongstack/desktop": "0.
|
|
73
|
+
"@wrongstack/desktop": "0.313.1"
|
|
73
74
|
},
|
|
74
75
|
"devDependencies": {
|
|
75
76
|
"@types/node": "^26.2.0",
|