haansi 0.1.110 → 0.1.111
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/haansi.js +50 -2
- package/package.json +1 -1
package/dist/haansi.js
CHANGED
|
@@ -95,7 +95,7 @@ var require_package = __commonJS({
|
|
|
95
95
|
"package.json"(exports2, module2) {
|
|
96
96
|
module2.exports = {
|
|
97
97
|
name: "haansi",
|
|
98
|
-
version: "0.1.
|
|
98
|
+
version: "0.1.111",
|
|
99
99
|
description: "Haansi CLI - Session collector and MCP server for Claude Code & OpenAI Codex",
|
|
100
100
|
bin: {
|
|
101
101
|
haansi: "./dist/haansi.js"
|
|
@@ -19628,6 +19628,35 @@ var init_exclusions = __esm({
|
|
|
19628
19628
|
'Normalized "job \u203A step" names from CI config, the same signatures problem families compare; no logs or output.'
|
|
19629
19629
|
]
|
|
19630
19630
|
}),
|
|
19631
|
+
...exchangeExclusions(INTEL, "repo_conventions", {
|
|
19632
|
+
repository: [
|
|
19633
|
+
"join-key",
|
|
19634
|
+
"owner/repo the convention belongs to, as in stored_replay_tasks; matched by equality."
|
|
19635
|
+
],
|
|
19636
|
+
state: [
|
|
19637
|
+
"operational",
|
|
19638
|
+
"Closed CHECK vocabulary (proposed, approved, rejected, archived)."
|
|
19639
|
+
],
|
|
19640
|
+
origin: [
|
|
19641
|
+
"operational",
|
|
19642
|
+
"Closed CHECK vocabulary (mined, instruction_file, human)."
|
|
19643
|
+
],
|
|
19644
|
+
freshness: [
|
|
19645
|
+
"operational",
|
|
19646
|
+
"Closed CHECK vocabulary (current, may_be_outdated)."
|
|
19647
|
+
],
|
|
19648
|
+
freshness_commits: [
|
|
19649
|
+
"not-personal",
|
|
19650
|
+
"Commit SHAs that touched the convention's paths since its last update."
|
|
19651
|
+
]
|
|
19652
|
+
}),
|
|
19653
|
+
...exchangeExclusions(INTEL, "repo_convention_settings", {
|
|
19654
|
+
repository: [
|
|
19655
|
+
"join-key",
|
|
19656
|
+
"owner/repo, as in repo_conventions; the primary key with the org."
|
|
19657
|
+
],
|
|
19658
|
+
cadence: ["operational", "Closed CHECK vocabulary (weekly, monthly)."]
|
|
19659
|
+
}),
|
|
19631
19660
|
...exchangeExclusions(INTEL, "attempt_rule_configs", {
|
|
19632
19661
|
config: [
|
|
19633
19662
|
"operational",
|
|
@@ -26880,6 +26909,21 @@ var init_table_registry = __esm({
|
|
|
26880
26909
|
entry("intelligence", INTELLIGENCE_DB, "replay_session_calls", "direct", {
|
|
26881
26910
|
scopingColumn: "organization_id"
|
|
26882
26911
|
}),
|
|
26912
|
+
// Repository conventions, their revisions and per-repository settings
|
|
26913
|
+
// (repo-conventions/001).
|
|
26914
|
+
entry("intelligence", INTELLIGENCE_DB, "repo_conventions", "direct", {
|
|
26915
|
+
scopingColumn: "organization_id"
|
|
26916
|
+
}),
|
|
26917
|
+
entry(
|
|
26918
|
+
"intelligence",
|
|
26919
|
+
INTELLIGENCE_DB,
|
|
26920
|
+
"repo_convention_revisions",
|
|
26921
|
+
"direct",
|
|
26922
|
+
{ scopingColumn: "organization_id" }
|
|
26923
|
+
),
|
|
26924
|
+
entry("intelligence", INTELLIGENCE_DB, "repo_convention_settings", "direct", {
|
|
26925
|
+
scopingColumn: "organization_id"
|
|
26926
|
+
}),
|
|
26883
26927
|
// "Mine more tasks" requests the outcome ledger polls (outcome-ledger/058).
|
|
26884
26928
|
entry("intelligence", INTELLIGENCE_DB, "replay_mining_requests", "direct", {
|
|
26885
26929
|
scopingColumn: "organization_id"
|
|
@@ -86895,7 +86939,10 @@ async function searchHaansi(session, ask, fetchImpl = fetch) {
|
|
|
86895
86939
|
...first ? { query: first } : {},
|
|
86896
86940
|
limit: PRIOR_ATTEMPTS_LIMIT
|
|
86897
86941
|
}
|
|
86898
|
-
}
|
|
86942
|
+
},
|
|
86943
|
+
// The task repository's conventions for those files (as of the
|
|
86944
|
+
// start; listed by the server only while the org has them).
|
|
86945
|
+
{ name: "get_conventions", arguments: { paths: ask.paths } }
|
|
86899
86946
|
] : []
|
|
86900
86947
|
]);
|
|
86901
86948
|
const others = [
|
|
@@ -89731,6 +89778,7 @@ function haansiSection(tools, hint = null) {
|
|
|
89731
89778
|
"",
|
|
89732
89779
|
"Start here, before you read or change any code, and search again when you get stuck:",
|
|
89733
89780
|
"",
|
|
89781
|
+
"- Repository conventions: before you start coding, get_conventions with the files you expect to change: the repository's approved conventions (rules this codebase follows) that apply to them.",
|
|
89734
89782
|
"- Past fixes: search_solutions with a sentence about the problem (its error line in error, failing tests in failing_tests, the files you expect to change in files, identifiers in names), then get_solution to read the matching results in full.",
|
|
89735
89783
|
"- Team procedures: match_playbook with the task, and search_skills; get_skill loads one.",
|
|
89736
89784
|
"- Earlier attempts at the same code: get_prior_attempts with the files you expect to change.",
|