haansi 0.1.114 → 0.1.115
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 +4 -4
- 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.115",
|
|
99
99
|
description: "Haansi CLI - Session collector and MCP server for Claude Code & OpenAI Codex",
|
|
100
100
|
bin: {
|
|
101
101
|
haansi: "./dist/haansi.js"
|
|
@@ -60289,7 +60289,7 @@ var init_stdio2 = __esm({
|
|
|
60289
60289
|
function searchSolutionsTool(contextSchema2) {
|
|
60290
60290
|
return {
|
|
60291
60291
|
name: "search_solutions",
|
|
60292
|
-
description: "Search previously solved similar questions from your organization's knowledge base. Finds how bugs were fixed, what patterns were used, and past resolutions to similar problems. Results are ranked by a composite of relevance, quality, recency, and verification status. Describe the problem in a sentence in query: a test name, an identifier or a list of file names alone rarely matches; pass those in the structured inputs instead. For a failing test, pass its name in failing_tests and the error line in error. Pass the files you
|
|
60292
|
+
description: "Search previously solved similar questions from your organization's knowledge base. Finds how bugs were fixed, what patterns were used, and past resolutions to similar problems. Results are ranked by a composite of relevance, quality, recency, and verification status. Most are related problems rather than yours: take an idea, step or check only where it fits your change, check it still applies to the code as it is, and say which you used. Describe the problem in a sentence in query: a test name, an identifier or a list of file names alone rarely matches; pass those in the structured inputs instead. For a failing test, pass its name in failing_tests and the error line in error. Pass the files you changed (or will change), or that the failure runs through, in files.",
|
|
60293
60293
|
inputSchema: {
|
|
60294
60294
|
type: "object",
|
|
60295
60295
|
properties: {
|
|
@@ -60309,7 +60309,7 @@ function searchSolutionsTool(contextSchema2) {
|
|
|
60309
60309
|
description: "Optional. The error line, e.g. the assertion or exception message"
|
|
60310
60310
|
},
|
|
60311
60311
|
files: stringList(
|
|
60312
|
-
"Optional. File paths you
|
|
60312
|
+
"Optional. File paths you changed (or will change), or that the failure runs through"
|
|
60313
60313
|
),
|
|
60314
60314
|
names: stringList(
|
|
60315
60315
|
"Optional. Identifiers involved: functions, classes, routes, config keys"
|
|
@@ -89970,7 +89970,7 @@ function haansiSection(tools, hint = null) {
|
|
|
89970
89970
|
"- Incidents like this one: search_prior_incidents.",
|
|
89971
89971
|
"- Recent work, conventions and shared answers: search_digests, search_guides and search_exchange.",
|
|
89972
89972
|
"",
|
|
89973
|
-
"A test name, an identifier or a list of file names alone rarely finds anything; ask with what is wrong, and pass those in the structured inputs.
|
|
89973
|
+
"A test name, an identifier or a list of file names alone rarely finds anything; ask with what is wrong, and pass those in the structured inputs. Most of what comes back is a related problem rather than this one: take an idea, step or check only where it fits your change, check it still applies to the code as it is, and say which items you used.",
|
|
89974
89974
|
"",
|
|
89975
89975
|
...hint ? [HAANSI_HINTS[hint], ""] : [],
|
|
89976
89976
|
...tools.flatMap((s) => [
|