haansi 0.1.58 → 0.1.59

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 (2) hide show
  1. package/dist/haansi.js +16 -9
  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.58",
98
+ version: "0.1.59",
99
99
  description: "Haansi CLI - Session collector and MCP server for Claude Code & OpenAI Codex",
100
100
  bin: {
101
101
  haansi: "./dist/haansi.js"
@@ -85760,14 +85760,20 @@ function mcpConfig(arm, session) {
85760
85760
  HAANSI_REPLAY_SESSION: session.sessionId
85761
85761
  }
85762
85762
  },
85763
- "haansi-skills": {
85764
- type: "http",
85765
- url: `${base}/api/v1/memory/skills/mcp`,
85766
- headers: {
85767
- Authorization: `Bearer ${session.token}`,
85768
- "X-Haansi-Replay-Session": session.sessionId
85769
- }
85770
- }
85763
+ ...Object.fromEntries(
85764
+ // The same servers `haansi setup-mcp` gives a coding agent.
85765
+ HTTP_SERVERS.map(({ name, path: path2 }) => [
85766
+ name,
85767
+ {
85768
+ type: "http",
85769
+ url: `${base}${path2}`,
85770
+ headers: {
85771
+ Authorization: `Bearer ${session.token}`,
85772
+ "X-Haansi-Replay-Session": session.sessionId
85773
+ }
85774
+ }
85775
+ ])
85776
+ )
85771
85777
  }
85772
85778
  },
85773
85779
  null,
@@ -85955,6 +85961,7 @@ var FEEDBACK_HEADER, REPORT_CHUNK2, HAANSI_LINE, share, pct;
85955
85961
  var init_replay_tasks = __esm({
85956
85962
  "src/commands/replay-tasks.ts"() {
85957
85963
  "use strict";
85964
+ init_setup_mcp();
85958
85965
  init_replay_calibrate();
85959
85966
  init_replay_judge();
85960
85967
  init_replay();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "haansi",
3
- "version": "0.1.58",
3
+ "version": "0.1.59",
4
4
  "description": "Haansi CLI - Session collector and MCP server for Claude Code & OpenAI Codex",
5
5
  "bin": {
6
6
  "haansi": "./dist/haansi.js"