hyntx 4.1.0 → 4.1.2
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.d.ts +1 -1
- package/dist/cli.js +13 -12
- package/dist/index.d.ts +2 -1
- package/dist/index.js +13 -12
- package/package.json +27 -27
package/dist/cli.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
export {
|
|
2
|
+
export { };
|
package/dist/cli.js
CHANGED
|
@@ -412,7 +412,10 @@ function redactBearerTokens(text) {
|
|
|
412
412
|
);
|
|
413
413
|
}
|
|
414
414
|
function redactProviderTokens(text) {
|
|
415
|
-
return text.replace(/\bgh[pousr]_[A-Za-z0-9]{36,}\b/g, "[REDACTED_GITHUB_TOKEN]").replace(/\bgithub_pat_[A-Za-z0-9_]{22,}\b/g, "[REDACTED_GITHUB_TOKEN]").replace(/\bhf_[A-Za-z0-9]{30,}\b/g, "[REDACTED_HF_TOKEN]").replace(/\bnpm_[A-Za-z0-9]{30,}\b/g, "[REDACTED_NPM_TOKEN]").replace(/\bglpat-[A-Za-z0-9_-]{20,}/g, "[REDACTED_GITLAB_TOKEN]").replace(/\bxox[abprs]-[A-Za-z0-9-]{10,}/g, "[REDACTED_SLACK_TOKEN]").replace(
|
|
415
|
+
return text.replace(/\bgh[pousr]_[A-Za-z0-9]{36,}\b/g, "[REDACTED_GITHUB_TOKEN]").replace(/\bgithub_pat_[A-Za-z0-9_]{22,}\b/g, "[REDACTED_GITHUB_TOKEN]").replace(/\bhf_[A-Za-z0-9]{30,}\b/g, "[REDACTED_HF_TOKEN]").replace(/\bnpm_[A-Za-z0-9]{30,}\b/g, "[REDACTED_NPM_TOKEN]").replace(/\bglpat-[A-Za-z0-9_-]{20,}/g, "[REDACTED_GITLAB_TOKEN]").replace(/\bxox[abprs]-[A-Za-z0-9-]{10,}/g, "[REDACTED_SLACK_TOKEN]").replace(
|
|
416
|
+
/\bAIza[0-9A-Za-z_-]{35}(?![0-9A-Za-z_-])/g,
|
|
417
|
+
"[REDACTED_GOOGLE_KEY]"
|
|
418
|
+
).replace(
|
|
416
419
|
/\b[sr]k_(?:live|test)_[A-Za-z0-9]{16,}\b/g,
|
|
417
420
|
"[REDACTED_STRIPE_KEY]"
|
|
418
421
|
).replace(
|
|
@@ -3827,17 +3830,15 @@ function foldSession(acc) {
|
|
|
3827
3830
|
messages: (previousModel?.messages ?? 0) + 1,
|
|
3828
3831
|
tokens: addTokens(previousModel?.tokens ?? EMPTY_TOKENS, event.usage)
|
|
3829
3832
|
});
|
|
3830
|
-
const calls = event.toolUses.filter((use) => !seenCallIds.has(use.id)).map(
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
})
|
|
3840
|
-
);
|
|
3833
|
+
const calls = event.toolUses.filter((use) => !seenCallIds.has(use.id)).map((use) => ({
|
|
3834
|
+
id: use.id,
|
|
3835
|
+
name: use.name,
|
|
3836
|
+
timestamp: event.ts,
|
|
3837
|
+
sidechain: event.sidechain,
|
|
3838
|
+
target: use.target,
|
|
3839
|
+
command: use.command,
|
|
3840
|
+
result: resultsById.get(use.id) ?? null
|
|
3841
|
+
}));
|
|
3841
3842
|
for (const call of calls) {
|
|
3842
3843
|
seenCallIds.add(call.id);
|
|
3843
3844
|
allCalls.push(call);
|
package/dist/index.d.ts
CHANGED
|
@@ -745,4 +745,5 @@ type TerminalOptions = {
|
|
|
745
745
|
};
|
|
746
746
|
declare function renderTerminal(report: Report, options?: TerminalOptions): string;
|
|
747
747
|
|
|
748
|
-
export {
|
|
748
|
+
export { CorrectionCause, DenialKind, EpisodeType, InsightKind, InterpretationEngine, OutputFormat, PromptSource, REPORT_SCHEMA_VERSION, Severity, TurnKind, buildReport, computeMetrics, detectFriction, generateInsights, interpretReport, loadDailyHistory, mergeDaily, readSessions, renderHtml, renderMarkdown, renderTerminal, sanitize, sanitizeReport, saveDailyHistory };
|
|
749
|
+
export type { AggregateMetrics, Compaction, DailyPoint, DataQuality, Distribution, Episode, EpisodeContext, EpisodeRef, EvidenceExample, Insight, InsightAction, InsightEvidence, InsightReview, InsightState, InterpretOptions, Interpretation, InterpretationVerdict, Interruption, Metrics, ModelMix, ModelUsage, Prompt, PromptTraitFinding, ReadSessionsOptions, ReadSessionsResult, ReadStats, Report, ReportPeriod, Session, SessionMetrics, SlashCommandUse, SubagentActivity, TokenTotals, TokenUsage, ToolCall, ToolResult, ToolStat, Turn };
|
package/dist/index.js
CHANGED
|
@@ -132,7 +132,10 @@ function redactBearerTokens(text) {
|
|
|
132
132
|
);
|
|
133
133
|
}
|
|
134
134
|
function redactProviderTokens(text) {
|
|
135
|
-
return text.replace(/\bgh[pousr]_[A-Za-z0-9]{36,}\b/g, "[REDACTED_GITHUB_TOKEN]").replace(/\bgithub_pat_[A-Za-z0-9_]{22,}\b/g, "[REDACTED_GITHUB_TOKEN]").replace(/\bhf_[A-Za-z0-9]{30,}\b/g, "[REDACTED_HF_TOKEN]").replace(/\bnpm_[A-Za-z0-9]{30,}\b/g, "[REDACTED_NPM_TOKEN]").replace(/\bglpat-[A-Za-z0-9_-]{20,}/g, "[REDACTED_GITLAB_TOKEN]").replace(/\bxox[abprs]-[A-Za-z0-9-]{10,}/g, "[REDACTED_SLACK_TOKEN]").replace(
|
|
135
|
+
return text.replace(/\bgh[pousr]_[A-Za-z0-9]{36,}\b/g, "[REDACTED_GITHUB_TOKEN]").replace(/\bgithub_pat_[A-Za-z0-9_]{22,}\b/g, "[REDACTED_GITHUB_TOKEN]").replace(/\bhf_[A-Za-z0-9]{30,}\b/g, "[REDACTED_HF_TOKEN]").replace(/\bnpm_[A-Za-z0-9]{30,}\b/g, "[REDACTED_NPM_TOKEN]").replace(/\bglpat-[A-Za-z0-9_-]{20,}/g, "[REDACTED_GITLAB_TOKEN]").replace(/\bxox[abprs]-[A-Za-z0-9-]{10,}/g, "[REDACTED_SLACK_TOKEN]").replace(
|
|
136
|
+
/\bAIza[0-9A-Za-z_-]{35}(?![0-9A-Za-z_-])/g,
|
|
137
|
+
"[REDACTED_GOOGLE_KEY]"
|
|
138
|
+
).replace(
|
|
136
139
|
/\b[sr]k_(?:live|test)_[A-Za-z0-9]{16,}\b/g,
|
|
137
140
|
"[REDACTED_STRIPE_KEY]"
|
|
138
141
|
).replace(
|
|
@@ -3677,17 +3680,15 @@ function foldSession(acc) {
|
|
|
3677
3680
|
messages: (previousModel?.messages ?? 0) + 1,
|
|
3678
3681
|
tokens: addTokens(previousModel?.tokens ?? EMPTY_TOKENS, event.usage)
|
|
3679
3682
|
});
|
|
3680
|
-
const calls = event.toolUses.filter((use) => !seenCallIds.has(use.id)).map(
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
})
|
|
3690
|
-
);
|
|
3683
|
+
const calls = event.toolUses.filter((use) => !seenCallIds.has(use.id)).map((use) => ({
|
|
3684
|
+
id: use.id,
|
|
3685
|
+
name: use.name,
|
|
3686
|
+
timestamp: event.ts,
|
|
3687
|
+
sidechain: event.sidechain,
|
|
3688
|
+
target: use.target,
|
|
3689
|
+
command: use.command,
|
|
3690
|
+
result: resultsById.get(use.id) ?? null
|
|
3691
|
+
}));
|
|
3691
3692
|
for (const call of calls) {
|
|
3692
3693
|
seenCallIds.add(call.id);
|
|
3693
3694
|
allCalls.push(call);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hyntx",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.2",
|
|
4
4
|
"description": "CLI that turns Claude Code session logs into evidence-backed insights and apply-ready actions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "pnpm@9.15.4",
|
|
@@ -41,32 +41,32 @@
|
|
|
41
41
|
"url": "https://github.com/jmlweb/hyntx"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@commitlint/cli": "^
|
|
45
|
-
"@commitlint/config-conventional": "^
|
|
46
|
-
"@eslint/js": "^
|
|
47
|
-
"@jmlweb/commitlint-config": "^
|
|
48
|
-
"@jmlweb/eslint-config-base": "^
|
|
49
|
-
"@jmlweb/prettier-config-base": "^
|
|
50
|
-
"@jmlweb/tsconfig-base": "^
|
|
51
|
-
"@jmlweb/tsup-config-base": "^
|
|
52
|
-
"@jmlweb/vitest-config": "^
|
|
53
|
-
"@semantic-release/changelog": "^
|
|
44
|
+
"@commitlint/cli": "^21.2.4",
|
|
45
|
+
"@commitlint/config-conventional": "^21.2.4",
|
|
46
|
+
"@eslint/js": "^10.0.1",
|
|
47
|
+
"@jmlweb/commitlint-config": "^4.1.1",
|
|
48
|
+
"@jmlweb/eslint-config-base": "^3.0.4",
|
|
49
|
+
"@jmlweb/prettier-config-base": "^2.0.2",
|
|
50
|
+
"@jmlweb/tsconfig-base": "^2.0.1",
|
|
51
|
+
"@jmlweb/tsup-config-base": "^2.0.3",
|
|
52
|
+
"@jmlweb/vitest-config": "^3.0.2",
|
|
53
|
+
"@semantic-release/changelog": "^7.0.0",
|
|
54
54
|
"@semantic-release/exec": "^7.1.0",
|
|
55
|
-
"@semantic-release/git": "^
|
|
56
|
-
"@types/node": "^
|
|
57
|
-
"@vitest/coverage-v8": "^
|
|
58
|
-
"conventional-changelog-conventionalcommits": "^9.1
|
|
59
|
-
"eslint": "^
|
|
55
|
+
"@semantic-release/git": "^11.0.1",
|
|
56
|
+
"@types/node": "^22.20.5",
|
|
57
|
+
"@vitest/coverage-v8": "^5.0.5",
|
|
58
|
+
"conventional-changelog-conventionalcommits": "^9.3.1",
|
|
59
|
+
"eslint": "^10.13.0",
|
|
60
60
|
"eslint-config-prettier": "^10.1.8",
|
|
61
|
-
"eslint-plugin-simple-import-sort": "^
|
|
61
|
+
"eslint-plugin-simple-import-sort": "^14.0.0",
|
|
62
62
|
"husky": "^9.1.7",
|
|
63
|
-
"lint-staged": "^
|
|
64
|
-
"prettier": "^3.
|
|
65
|
-
"semantic-release": "^25.0.
|
|
66
|
-
"tsup": "^
|
|
67
|
-
"typescript": "^
|
|
68
|
-
"typescript-eslint": "^8.
|
|
69
|
-
"vitest": "^
|
|
63
|
+
"lint-staged": "^17.6.0",
|
|
64
|
+
"prettier": "^3.9.10",
|
|
65
|
+
"semantic-release": "^25.0.9",
|
|
66
|
+
"tsup": "^9.0.0",
|
|
67
|
+
"typescript": "^6.0.3",
|
|
68
|
+
"typescript-eslint": "^8.72.0",
|
|
69
|
+
"vitest": "^5.0.5"
|
|
70
70
|
},
|
|
71
71
|
"bin": {
|
|
72
72
|
"hyntx": "dist/cli.js"
|
|
@@ -100,14 +100,14 @@
|
|
|
100
100
|
]
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
|
-
"chalk": "^
|
|
104
|
-
"ora": "^9.
|
|
103
|
+
"chalk": "^6.0.1",
|
|
104
|
+
"ora": "^9.4.1"
|
|
105
105
|
},
|
|
106
106
|
"pnpm": {
|
|
107
107
|
"overrides": {
|
|
108
108
|
"lodash": ">=4.18.0",
|
|
109
109
|
"lodash-es": ">=4.18.0",
|
|
110
|
-
"undici": "
|
|
110
|
+
"undici": "^7.24.0",
|
|
111
111
|
"@isaacs/brace-expansion": ">=5.0.1",
|
|
112
112
|
"minimatch": ">=10.2.3",
|
|
113
113
|
"rollup": ">=4.59.0",
|