@honcho-ai/claude-honcho 0.3.1 → 0.3.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.
Files changed (61) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/README.md +95 -12
  3. package/dist/chunk-1nsms6f4.js +50 -0
  4. package/dist/chunk-1nsms6f4.js.map +10 -0
  5. package/dist/{chunk-jr0fd6n2.js → chunk-1xa1wr00.js} +2 -2
  6. package/dist/{chunk-9pntsn3x.js → chunk-43gww8dc.js} +1 -1
  7. package/dist/chunk-81cb25yy.js +35 -0
  8. package/dist/{chunk-6yybt92z.js.map → chunk-81cb25yy.js.map} +1 -1
  9. package/dist/{chunk-yfrrc1d5.js → chunk-acwn3613.js} +64 -106
  10. package/dist/chunk-acwn3613.js.map +13 -0
  11. package/dist/{chunk-49wja30f.js → chunk-d99xh4kg.js} +1 -1
  12. package/dist/{chunk-xdntcesh.js → chunk-g0m354bn.js} +758 -210
  13. package/dist/{chunk-xdntcesh.js.map → chunk-g0m354bn.js.map} +8 -4
  14. package/dist/{chunk-4ryv9310.js → chunk-mm5vjhpr.js} +240 -210
  15. package/dist/{chunk-4ryv9310.js.map → chunk-mm5vjhpr.js.map} +2 -2
  16. package/dist/{chunk-d2gc13m0.js → chunk-pdnbydfe.js} +10 -12
  17. package/dist/{chunk-d2gc13m0.js.map → chunk-pdnbydfe.js.map} +2 -2
  18. package/dist/{chunk-xtdvbfxw.js → chunk-qp4ng9m0.js} +6 -6
  19. package/dist/{chunk-xtdvbfxw.js.map → chunk-qp4ng9m0.js.map} +2 -2
  20. package/dist/{chunk-4zgbdwm4.js → chunk-w3tnmcx7.js} +6 -6
  21. package/dist/{chunk-4zgbdwm4.js.map → chunk-w3tnmcx7.js.map} +1 -1
  22. package/dist/hooks/post-tool-use.js +22 -21
  23. package/dist/hooks/post-tool-use.js.map +3 -3
  24. package/dist/hooks/pre-compact.js +21 -65
  25. package/dist/hooks/pre-compact.js.map +3 -4
  26. package/dist/hooks/pre-tool-honcho.js +5 -5
  27. package/dist/hooks/pre-tool-honcho.js.map +1 -1
  28. package/dist/hooks/save-user-message.js +45 -27
  29. package/dist/hooks/save-user-message.js.map +4 -3
  30. package/dist/hooks/session-end.js +13 -13
  31. package/dist/hooks/session-end.js.map +2 -2
  32. package/dist/hooks/session-start.js +38 -38
  33. package/dist/hooks/session-start.js.map +2 -2
  34. package/dist/hooks/stop.js +20 -20
  35. package/dist/hooks/stop.js.map +1 -1
  36. package/dist/hooks/user-prompt.js +367 -10
  37. package/dist/hooks/user-prompt.js.map +5 -3
  38. package/dist/mcp-server.js +550 -739
  39. package/dist/mcp-server.js.map +3 -3
  40. package/dist/skills/backfill-runner.js +545 -47
  41. package/dist/skills/backfill-runner.js.map +9 -4
  42. package/dist/skills/setup-runner.js +47 -194
  43. package/dist/skills/setup-runner.js.map +4 -6
  44. package/dist/skills/status-runner.js +16 -17
  45. package/dist/skills/status-runner.js.map +2 -2
  46. package/package.json +1 -1
  47. package/dist/chunk-084dpgp3.js +0 -556
  48. package/dist/chunk-084dpgp3.js.map +0 -10
  49. package/dist/chunk-6yybt92z.js +0 -106
  50. package/dist/chunk-dxbm7kmf.js +0 -331
  51. package/dist/chunk-dxbm7kmf.js.map +0 -10
  52. package/dist/chunk-gnp95nzg.js +0 -438
  53. package/dist/chunk-gnp95nzg.js.map +0 -12
  54. package/dist/chunk-jgtvcc65.js +0 -90
  55. package/dist/chunk-jgtvcc65.js.map +0 -10
  56. package/dist/chunk-wm6hvkcv.js +0 -245
  57. package/dist/chunk-wm6hvkcv.js.map +0 -10
  58. package/dist/chunk-yfrrc1d5.js.map +0 -12
  59. /package/dist/{chunk-jr0fd6n2.js.map → chunk-1xa1wr00.js.map} +0 -0
  60. /package/dist/{chunk-9pntsn3x.js.map → chunk-43gww8dc.js.map} +0 -0
  61. /package/dist/{chunk-49wja30f.js.map → chunk-d99xh4kg.js.map} +0 -0
@@ -1,188 +1,41 @@
1
1
  #!/usr/bin/env bun
2
- // @bun
3
2
  import {
4
- configExists,
5
- getClaudeSettingsDir,
6
- getClaudeSettingsPath,
7
- getConfigDir,
8
- getConfigPath,
9
- getHonchoClientOptions,
10
- loadConfig,
11
- loadConfigFromEnv,
12
- saveConfig,
13
- saveRootField,
14
- setDetectedHost
15
- } from "../chunk-084dpgp3.js";
3
+ __toESM,
4
+ setDetectedHost2,
5
+ getConfigDir2,
6
+ getConfigPath2,
7
+ configExists2,
8
+ loadConfig2,
9
+ loadConfigFromEnv2,
10
+ saveConfig2,
11
+ saveRootField2,
12
+ getClaudeSettingsPath2,
13
+ getClaudeSettingsDir2,
14
+ getHonchoClientOptions2
15
+ } from "../chunk-g0m354bn.js";
16
16
  import {
17
- require_client,
18
- require_conclusions,
19
- require_errors,
20
- require_message,
21
- require_pagination,
22
- require_peer,
23
- require_session,
24
- require_session_context,
25
- require_streaming
26
- } from "../chunk-xdntcesh.js";
27
- import {
28
- __commonJS,
29
- __require,
30
- __toESM
31
- } from "../chunk-gnp95nzg.js";
32
-
33
- // node_modules/@honcho-ai/sdk/dist/index.js
34
- var require_dist = __commonJS((exports) => {
35
- Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.Summary = exports.SessionSummaries = exports.SessionContext = exports.Session = exports.PeerContext = exports.Peer = exports.Page = exports.Message = exports.DialecticStreamResponse = exports.UnprocessableEntityError = exports.TimeoutError = exports.ServerError = exports.RateLimitError = exports.PermissionDeniedError = exports.NotFoundError = exports.HonchoError = exports.ConnectionError = exports.ConflictError = exports.BadRequestError = exports.AuthenticationError = exports.ConclusionScope = exports.Conclusion = exports.Honcho = undefined;
37
- var client_1 = require_client();
38
- Object.defineProperty(exports, "Honcho", { enumerable: true, get: function() {
39
- return client_1.Honcho;
40
- } });
41
- var conclusions_1 = require_conclusions();
42
- Object.defineProperty(exports, "Conclusion", { enumerable: true, get: function() {
43
- return conclusions_1.Conclusion;
44
- } });
45
- Object.defineProperty(exports, "ConclusionScope", { enumerable: true, get: function() {
46
- return conclusions_1.ConclusionScope;
47
- } });
48
- var errors_1 = require_errors();
49
- Object.defineProperty(exports, "AuthenticationError", { enumerable: true, get: function() {
50
- return errors_1.AuthenticationError;
51
- } });
52
- Object.defineProperty(exports, "BadRequestError", { enumerable: true, get: function() {
53
- return errors_1.BadRequestError;
54
- } });
55
- Object.defineProperty(exports, "ConflictError", { enumerable: true, get: function() {
56
- return errors_1.ConflictError;
57
- } });
58
- Object.defineProperty(exports, "ConnectionError", { enumerable: true, get: function() {
59
- return errors_1.ConnectionError;
60
- } });
61
- Object.defineProperty(exports, "HonchoError", { enumerable: true, get: function() {
62
- return errors_1.HonchoError;
63
- } });
64
- Object.defineProperty(exports, "NotFoundError", { enumerable: true, get: function() {
65
- return errors_1.NotFoundError;
66
- } });
67
- Object.defineProperty(exports, "PermissionDeniedError", { enumerable: true, get: function() {
68
- return errors_1.PermissionDeniedError;
69
- } });
70
- Object.defineProperty(exports, "RateLimitError", { enumerable: true, get: function() {
71
- return errors_1.RateLimitError;
72
- } });
73
- Object.defineProperty(exports, "ServerError", { enumerable: true, get: function() {
74
- return errors_1.ServerError;
75
- } });
76
- Object.defineProperty(exports, "TimeoutError", { enumerable: true, get: function() {
77
- return errors_1.TimeoutError;
78
- } });
79
- Object.defineProperty(exports, "UnprocessableEntityError", { enumerable: true, get: function() {
80
- return errors_1.UnprocessableEntityError;
81
- } });
82
- var streaming_1 = require_streaming();
83
- Object.defineProperty(exports, "DialecticStreamResponse", { enumerable: true, get: function() {
84
- return streaming_1.DialecticStreamResponse;
85
- } });
86
- var message_1 = require_message();
87
- Object.defineProperty(exports, "Message", { enumerable: true, get: function() {
88
- return message_1.Message;
89
- } });
90
- var pagination_1 = require_pagination();
91
- Object.defineProperty(exports, "Page", { enumerable: true, get: function() {
92
- return pagination_1.Page;
93
- } });
94
- var peer_1 = require_peer();
95
- Object.defineProperty(exports, "Peer", { enumerable: true, get: function() {
96
- return peer_1.Peer;
97
- } });
98
- Object.defineProperty(exports, "PeerContext", { enumerable: true, get: function() {
99
- return peer_1.PeerContext;
100
- } });
101
- var session_1 = require_session();
102
- Object.defineProperty(exports, "Session", { enumerable: true, get: function() {
103
- return session_1.Session;
104
- } });
105
- var session_context_1 = require_session_context();
106
- Object.defineProperty(exports, "SessionContext", { enumerable: true, get: function() {
107
- return session_context_1.SessionContext;
108
- } });
109
- Object.defineProperty(exports, "SessionSummaries", { enumerable: true, get: function() {
110
- return session_context_1.SessionSummaries;
111
- } });
112
- Object.defineProperty(exports, "Summary", { enumerable: true, get: function() {
113
- return session_context_1.Summary;
114
- } });
115
- });
17
+ require_dist,
18
+ header,
19
+ section,
20
+ label,
21
+ dim,
22
+ success,
23
+ warn,
24
+ listItem
25
+ } from "../chunk-pdnbydfe.js";
116
26
 
117
27
  // src/skills/setup-runner.ts
118
28
  var import_sdk = __toESM(require_dist(), 1);
119
-
120
- // src/styles.ts
121
- var colors = {
122
- reset: "\x1B[0m",
123
- bold: "\x1B[1m",
124
- dim: "\x1B[2m",
125
- orange: "\x1B[38;5;208m",
126
- lightOrange: "\x1B[38;5;214m",
127
- peach: "\x1B[38;5;215m",
128
- palePeach: "\x1B[38;5;223m",
129
- paleBlue: "\x1B[38;5;195m",
130
- lightBlue: "\x1B[38;5;159m",
131
- skyBlue: "\x1B[38;5;117m",
132
- brightBlue: "\x1B[38;5;81m",
133
- success: "\x1B[38;5;114m",
134
- error: "\x1B[38;5;203m",
135
- warn: "\x1B[38;5;214m",
136
- white: "\x1B[38;5;255m",
137
- gray: "\x1B[38;5;245m"
138
- };
139
- var symbols = {
140
- check: String.fromCodePoint(10003),
141
- cross: String.fromCodePoint(10007),
142
- dot: String.fromCodePoint(183),
143
- bullet: String.fromCodePoint(8226),
144
- arrow: String.fromCodePoint(8594),
145
- line: String.fromCodePoint(9472),
146
- corner: String.fromCodePoint(9492),
147
- pipe: String.fromCodePoint(9474),
148
- sparkle: String.fromCodePoint(10022)
149
- };
150
- function header(text) {
151
- const line = symbols.line.repeat(text.length);
152
- return `${colors.orange}${text}${colors.reset}
153
- ${colors.dim}${line}${colors.reset}`;
154
- }
155
- function section(text) {
156
- return `${colors.lightBlue}${text}${colors.reset}`;
157
- }
158
- function label(text) {
159
- return `${colors.skyBlue}${text}${colors.reset}`;
160
- }
161
- function dim(text) {
162
- return `${colors.dim}${text}${colors.reset}`;
163
- }
164
- function success(message) {
165
- return `${colors.success}${symbols.check}${colors.reset} ${message}`;
166
- }
167
- function warn(message) {
168
- return `${colors.warn}!${colors.reset} ${message}`;
169
- }
170
- function listItem(text, indent = 0) {
171
- const padding = " ".repeat(indent);
172
- return `${padding}${colors.dim}${symbols.bullet}${colors.reset} ${text}`;
173
- }
174
-
175
- // src/skills/setup-runner.ts
176
29
  import { copyFileSync, chmodSync, existsSync, mkdirSync, readFileSync, writeFileSync } from "fs";
177
30
  import { dirname, join } from "path";
178
31
  import { fileURLToPath } from "url";
179
32
  function installStatusline() {
180
33
  console.log(section("Installing memory statusLine"));
181
34
  const src = join(dirname(fileURLToPath(import.meta.url)), "..", "..", "scripts", "honcho-statusline.sh");
182
- const dest = join(getConfigDir(), "honcho-statusline.sh");
35
+ const dest = join(getConfigDir2(), "honcho-statusline.sh");
183
36
  try {
184
- if (!existsSync(getConfigDir()))
185
- mkdirSync(getConfigDir(), { recursive: true });
37
+ if (!existsSync(getConfigDir2()))
38
+ mkdirSync(getConfigDir2(), { recursive: true });
186
39
  copyFileSync(src, dest);
187
40
  chmodSync(dest, 493);
188
41
  console.log(success(`Renderer installed at ${dest}`));
@@ -191,17 +44,17 @@ function installStatusline() {
191
44
  return;
192
45
  }
193
46
  try {
194
- const raw = existsSync(getConfigPath()) ? JSON.parse(readFileSync(getConfigPath(), "utf-8")) : {};
47
+ const raw = existsSync(getConfigPath2()) ? JSON.parse(readFileSync(getConfigPath2(), "utf-8")) : {};
195
48
  if (raw.statusline === undefined)
196
- saveRootField("statusline", "on");
49
+ saveRootField2("statusline", "on");
197
50
  } catch {}
198
- const settingsPath = getClaudeSettingsPath();
51
+ const settingsPath = getClaudeSettingsPath2();
199
52
  let settings = {};
200
53
  try {
201
54
  if (existsSync(settingsPath))
202
55
  settings = JSON.parse(readFileSync(settingsPath, "utf-8"));
203
56
  } catch {
204
- console.log(warn(`Could not parse ${settingsPath} \u2014 add the statusLine entry manually:`));
57
+ console.log(warn(`Could not parse ${settingsPath} — add the statusLine entry manually:`));
205
58
  console.log(dim(` "statusLine": { "type": "command", "command": "${dest}" }`));
206
59
  return;
207
60
  }
@@ -215,14 +68,14 @@ function installStatusline() {
215
68
  settings.statusLine = { type: "command", command: dest, refreshInterval: REFRESH };
216
69
  try {
217
70
  writeFileSync(settingsPath, JSON.stringify(settings, null, 2));
218
- console.log(success("statusLine refreshInterval enabled \u2014 memory glyph now animates"));
71
+ console.log(success("statusLine refreshInterval enabled — memory glyph now animates"));
219
72
  } catch (err) {
220
73
  console.log(warn(`Could not update settings.json: ${err instanceof Error ? err.message : String(err)}`));
221
74
  }
222
75
  return;
223
76
  }
224
77
  if (existing) {
225
- console.log(warn("A different statusLine is already configured \u2014 leaving it untouched."));
78
+ console.log(warn("A different statusLine is already configured — leaving it untouched."));
226
79
  console.log(dim(" To use honcho's instead, set settings.json statusLine.command to:"));
227
80
  console.log(dim(` ${dest}`));
228
81
  console.log(dim(` and add "refreshInterval": ${REFRESH} so the glyph animates.`));
@@ -230,8 +83,8 @@ function installStatusline() {
230
83
  }
231
84
  settings.statusLine = { type: "command", command: dest, refreshInterval: REFRESH };
232
85
  try {
233
- if (!existsSync(getClaudeSettingsDir()))
234
- mkdirSync(getClaudeSettingsDir(), { recursive: true });
86
+ if (!existsSync(getClaudeSettingsDir2()))
87
+ mkdirSync(getClaudeSettingsDir2(), { recursive: true });
235
88
  writeFileSync(settingsPath, JSON.stringify(settings, null, 2));
236
89
  console.log(success("statusLine registered in ~/.claude/settings.json"));
237
90
  } catch (err) {
@@ -240,7 +93,7 @@ function installStatusline() {
240
93
  }
241
94
  }
242
95
  async function setup() {
243
- setDetectedHost("claude_code");
96
+ setDetectedHost2("claude_code");
244
97
  console.log("");
245
98
  console.log(header("honcho setup"));
246
99
  console.log("");
@@ -248,8 +101,8 @@ async function setup() {
248
101
  let keySource = "environment";
249
102
  if (!apiKey) {
250
103
  try {
251
- const { readFileSync: readFileSync2 } = await import("fs");
252
- const configRaw = readFileSync2(getConfigPath(), "utf-8");
104
+ const { readFileSync } = await import("fs");
105
+ const configRaw = readFileSync(getConfigPath2(), "utf-8");
253
106
  const configData = JSON.parse(configRaw);
254
107
  apiKey = configData.apiKey;
255
108
  keySource = "config";
@@ -272,13 +125,13 @@ async function setup() {
272
125
  console.log(success(`API key found (${keySource})`));
273
126
  console.log("");
274
127
  console.log(section("Validating connection"));
275
- const config = loadConfig() || loadConfigFromEnv();
128
+ const config = loadConfig2() || loadConfigFromEnv2();
276
129
  if (!config) {
277
130
  console.log(warn("Failed to build config from environment"));
278
131
  process.exit(1);
279
132
  }
280
133
  try {
281
- const honcho = new import_sdk.Honcho(getHonchoClientOptions(config));
134
+ const honcho = new import_sdk.Honcho(getHonchoClientOptions2(config));
282
135
  await honcho.workspaces();
283
136
  console.log(success("Connected to Honcho API"));
284
137
  console.log(` ${label("Workspace")}: ${config.workspace}`);
@@ -293,13 +146,13 @@ async function setup() {
293
146
  }
294
147
  process.exit(1);
295
148
  }
296
- if (!configExists()) {
149
+ if (!configExists2()) {
297
150
  console.log(section("Creating config"));
298
151
  try {
299
- const { saveRootField: saveRootField2 } = await import("../chunk-6yybt92z.js");
300
- saveRootField2("apiKey", config.apiKey);
301
- saveRootField2("peerName", config.peerName);
302
- saveConfig({
152
+ const { saveRootField } = await import("../chunk-81cb25yy.js");
153
+ saveRootField("apiKey", config.apiKey);
154
+ saveRootField("peerName", config.peerName);
155
+ saveConfig2({
303
156
  apiKey: config.apiKey,
304
157
  peerName: config.peerName,
305
158
  workspace: config.workspace,
@@ -308,20 +161,20 @@ async function setup() {
308
161
  enabled: true,
309
162
  logging: true
310
163
  });
311
- console.log(success(`Written to ${getConfigPath()}`));
164
+ console.log(success(`Written to ${getConfigPath2()}`));
312
165
  } catch (err) {
313
166
  console.log(warn(`Failed to write config: ${err instanceof Error ? err.message : String(err)}`));
314
167
  process.exit(1);
315
168
  }
316
169
  console.log("");
317
170
  } else {
318
- console.log(dim(`Config already exists at ${getConfigPath()}`));
171
+ console.log(dim(`Config already exists at ${getConfigPath2()}`));
319
172
  console.log("");
320
173
  }
321
174
  installStatusline();
322
175
  console.log("");
323
176
  try {
324
- const { findTranscripts } = await import("../chunk-wm6hvkcv.js");
177
+ const { findTranscripts } = await import("./backfill-runner.js");
325
178
  const transcripts = findTranscripts(30);
326
179
  if (transcripts.length > 0) {
327
180
  console.log(section("Import past sessions (optional)"));
@@ -335,5 +188,5 @@ async function setup() {
335
188
  }
336
189
  setup();
337
190
 
338
- //# debugId=E44FDBA860D5B7D464756E2164756E21
191
+ //# debugId=8D21E03DA0BEF2F264756E2164756E21
339
192
  //# sourceMappingURL=setup-runner.js.map
@@ -1,12 +1,10 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../node_modules/@honcho-ai/sdk/dist/index.js", "../../src/skills/setup-runner.ts", "../../src/styles.ts"],
3
+ "sources": ["../../src/skills/setup-runner.ts"],
4
4
  "sourcesContent": [
5
- "\"use strict\";\n// Main entry point for the Honcho TypeScript SDK\n// Exports all main classes and types\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Summary = exports.SessionSummaries = exports.SessionContext = exports.Session = exports.PeerContext = exports.Peer = exports.Page = exports.Message = exports.DialecticStreamResponse = exports.UnprocessableEntityError = exports.TimeoutError = exports.ServerError = exports.RateLimitError = exports.PermissionDeniedError = exports.NotFoundError = exports.HonchoError = exports.ConnectionError = exports.ConflictError = exports.BadRequestError = exports.AuthenticationError = exports.ConclusionScope = exports.Conclusion = exports.Honcho = void 0;\n// Domain classes\nvar client_1 = require(\"./client\");\nObject.defineProperty(exports, \"Honcho\", { enumerable: true, get: function () { return client_1.Honcho; } });\nvar conclusions_1 = require(\"./conclusions\");\nObject.defineProperty(exports, \"Conclusion\", { enumerable: true, get: function () { return conclusions_1.Conclusion; } });\nObject.defineProperty(exports, \"ConclusionScope\", { enumerable: true, get: function () { return conclusions_1.ConclusionScope; } });\n// HTTP infrastructure\nvar errors_1 = require(\"./http/errors\");\nObject.defineProperty(exports, \"AuthenticationError\", { enumerable: true, get: function () { return errors_1.AuthenticationError; } });\nObject.defineProperty(exports, \"BadRequestError\", { enumerable: true, get: function () { return errors_1.BadRequestError; } });\nObject.defineProperty(exports, \"ConflictError\", { enumerable: true, get: function () { return errors_1.ConflictError; } });\nObject.defineProperty(exports, \"ConnectionError\", { enumerable: true, get: function () { return errors_1.ConnectionError; } });\nObject.defineProperty(exports, \"HonchoError\", { enumerable: true, get: function () { return errors_1.HonchoError; } });\nObject.defineProperty(exports, \"NotFoundError\", { enumerable: true, get: function () { return errors_1.NotFoundError; } });\nObject.defineProperty(exports, \"PermissionDeniedError\", { enumerable: true, get: function () { return errors_1.PermissionDeniedError; } });\nObject.defineProperty(exports, \"RateLimitError\", { enumerable: true, get: function () { return errors_1.RateLimitError; } });\nObject.defineProperty(exports, \"ServerError\", { enumerable: true, get: function () { return errors_1.ServerError; } });\nObject.defineProperty(exports, \"TimeoutError\", { enumerable: true, get: function () { return errors_1.TimeoutError; } });\nObject.defineProperty(exports, \"UnprocessableEntityError\", { enumerable: true, get: function () { return errors_1.UnprocessableEntityError; } });\n// Streaming types\nvar streaming_1 = require(\"./http/streaming\");\nObject.defineProperty(exports, \"DialecticStreamResponse\", { enumerable: true, get: function () { return streaming_1.DialecticStreamResponse; } });\nvar message_1 = require(\"./message\");\nObject.defineProperty(exports, \"Message\", { enumerable: true, get: function () { return message_1.Message; } });\nvar pagination_1 = require(\"./pagination\");\nObject.defineProperty(exports, \"Page\", { enumerable: true, get: function () { return pagination_1.Page; } });\nvar peer_1 = require(\"./peer\");\nObject.defineProperty(exports, \"Peer\", { enumerable: true, get: function () { return peer_1.Peer; } });\nObject.defineProperty(exports, \"PeerContext\", { enumerable: true, get: function () { return peer_1.PeerContext; } });\nvar session_1 = require(\"./session\");\nObject.defineProperty(exports, \"Session\", { enumerable: true, get: function () { return session_1.Session; } });\nvar session_context_1 = require(\"./session_context\");\nObject.defineProperty(exports, \"SessionContext\", { enumerable: true, get: function () { return session_context_1.SessionContext; } });\nObject.defineProperty(exports, \"SessionSummaries\", { enumerable: true, get: function () { return session_context_1.SessionSummaries; } });\nObject.defineProperty(exports, \"Summary\", { enumerable: true, get: function () { return session_context_1.Summary; } });\n",
6
- "#!/usr/bin/env bun\nimport { Honcho } from \"@honcho-ai/sdk\";\nimport {\n loadConfig,\n loadConfigFromEnv,\n saveConfig,\n getConfigPath,\n getConfigDir,\n getHonchoClientOptions,\n getDetectedHost,\n getDefaultWorkspace,\n getDefaultAiPeer,\n configExists,\n setDetectedHost,\n getClaudeSettingsPath,\n getClaudeSettingsDir,\n saveRootField,\n} from \"../config.js\";\nimport * as s from \"../styles.js\";\nimport { copyFileSync, chmodSync, existsSync, mkdirSync, readFileSync, writeFileSync } from \"fs\";\nimport { dirname, join } from \"path\";\nimport { fileURLToPath } from \"url\";\n\n// Installs the memory statusLine: ships the renderer to a stable path and\n// registers it in the user's global Claude Code settings. Plugins can't\n// self-register a statusLine and ${CLAUDE_PLUGIN_ROOT} isn't expanded in\n// settings.json, so an absolute path under ~/.honcho is the portable target.\n// Idempotent and non-destructive: never clobbers an existing statusLine.\nfunction installStatusline(): void {\n console.log(s.section(\"Installing memory statusLine\"));\n\n const src = join(dirname(fileURLToPath(import.meta.url)), \"..\", \"..\", \"scripts\", \"honcho-statusline.sh\");\n const dest = join(getConfigDir(), \"honcho-statusline.sh\");\n try {\n if (!existsSync(getConfigDir())) mkdirSync(getConfigDir(), { recursive: true });\n copyFileSync(src, dest);\n chmodSync(dest, 0o755);\n console.log(s.success(`Renderer installed at ${dest}`));\n } catch (err) {\n console.log(s.warn(`Could not install renderer: ${err instanceof Error ? err.message : String(err)}`));\n return;\n }\n\n // Default visibility to \"full\" only on first run — respect an existing choice.\n try {\n const raw = existsSync(getConfigPath()) ? JSON.parse(readFileSync(getConfigPath(), \"utf-8\")) : {};\n if (raw.statusline === undefined) saveRootField(\"statusline\", \"on\");\n } catch {\n // leave config as-is; the renderer defaults to \"full\" when the key is absent\n }\n\n // Register in ~/.claude/settings.json without disturbing an existing line.\n const settingsPath = getClaudeSettingsPath();\n let settings: Record<string, unknown> = {};\n try {\n if (existsSync(settingsPath)) settings = JSON.parse(readFileSync(settingsPath, \"utf-8\"));\n } catch {\n console.log(s.warn(`Could not parse ${settingsPath} — add the statusLine entry manually:`));\n console.log(s.dim(` \"statusLine\": { \"type\": \"command\", \"command\": \"${dest}\" }`));\n return;\n }\n\n // refreshInterval re-runs the renderer on a timer so the working glyph can\n // animate at rest; without it Claude Code only repaints on conversation\n // activity and the statusLine looks frozen. 1s is the host minimum.\n const REFRESH = 1;\n const existing = settings.statusLine as { command?: string; refreshInterval?: number } | undefined;\n if (existing?.command === dest) {\n if (existing.refreshInterval === REFRESH) {\n console.log(s.dim(\"statusLine already points at the honcho renderer\"));\n return;\n }\n // Upgrade an older registration that predates the animated renderer.\n settings.statusLine = { type: \"command\", command: dest, refreshInterval: REFRESH };\n try {\n writeFileSync(settingsPath, JSON.stringify(settings, null, 2));\n console.log(s.success(\"statusLine refreshInterval enabled — memory glyph now animates\"));\n } catch (err) {\n console.log(s.warn(`Could not update settings.json: ${err instanceof Error ? err.message : String(err)}`));\n }\n return;\n }\n if (existing) {\n console.log(s.warn(\"A different statusLine is already configured — leaving it untouched.\"));\n console.log(s.dim(\" To use honcho's instead, set settings.json statusLine.command to:\"));\n console.log(s.dim(` ${dest}`));\n console.log(s.dim(` and add \"refreshInterval\": ${REFRESH} so the glyph animates.`));\n return;\n }\n\n settings.statusLine = { type: \"command\", command: dest, refreshInterval: REFRESH };\n try {\n if (!existsSync(getClaudeSettingsDir())) mkdirSync(getClaudeSettingsDir(), { recursive: true });\n writeFileSync(settingsPath, JSON.stringify(settings, null, 2));\n console.log(s.success(\"statusLine registered in ~/.claude/settings.json\"));\n } catch (err) {\n console.log(s.warn(`Could not write settings.json: ${err instanceof Error ? err.message : String(err)}`));\n console.log(s.dim(` Add manually: \"statusLine\": { \"type\": \"command\", \"command\": \"${dest}\" }`));\n }\n}\n\nasync function setup(): Promise<void> {\n // Default to claude_code for this runner\n setDetectedHost(\"claude_code\");\n\n console.log(\"\");\n console.log(s.header(\"honcho setup\"));\n console.log(\"\");\n\n // Check for API key — env var takes precedence, then config file\n let apiKey = process.env.HONCHO_API_KEY;\n let keySource = \"environment\";\n\n if (!apiKey) {\n // Try reading from config file\n try {\n const { readFileSync } = await import(\"fs\");\n const configRaw = readFileSync(getConfigPath(), \"utf-8\");\n const configData = JSON.parse(configRaw);\n apiKey = configData.apiKey;\n keySource = \"config\";\n } catch {\n // No config file or no apiKey in it\n }\n }\n\n if (!apiKey) {\n console.log(s.warn(\"No API key found (checked env and config)\"));\n console.log(\"\");\n console.log(\" 1. Get a free key at https://app.honcho.dev\");\n if (process.platform === \"win32\") {\n console.log(\" 2. Set it in PowerShell:\");\n console.log(s.dim(' setx HONCHO_API_KEY \"your-key-here\"'));\n } else {\n console.log(\" 2. Add to ~/.zshrc or ~/.bashrc:\");\n console.log(s.dim(' export HONCHO_API_KEY=\"your-key-here\"'));\n }\n console.log(\" 3. Restart Claude Code and run /honcho:setup\");\n process.exit(1);\n }\n\n console.log(s.success(`API key found (${keySource})`));\n console.log(\"\");\n\n // Validate connection\n console.log(s.section(\"Validating connection\"));\n const config = loadConfig() || loadConfigFromEnv();\n if (!config) {\n console.log(s.warn(\"Failed to build config from environment\"));\n process.exit(1);\n }\n\n try {\n const honcho = new Honcho(getHonchoClientOptions(config));\n await honcho.workspaces();\n console.log(s.success(\"Connected to Honcho API\"));\n console.log(` ${s.label(\"Workspace\")}: ${config.workspace}`);\n console.log(` ${s.label(\"Peer\")}: ${config.peerName}`);\n console.log(` ${s.label(\"AI Peer\")}: ${config.aiPeer}`);\n console.log(\"\");\n } catch (error) {\n const msg = error instanceof Error ? error.message : String(error);\n console.log(s.warn(`Connection failed: ${msg}`));\n if (msg.includes(\"401\") || msg.includes(\"auth\")) {\n console.log(s.dim(\" API key may be invalid. Get a new one at https://app.honcho.dev\"));\n }\n process.exit(1);\n }\n\n // Write config if it doesn't exist\n if (!configExists()) {\n console.log(s.section(\"Creating config\"));\n try {\n // Root-level globals (owned by user/CLI, written only at initial setup)\n const { saveRootField } = await import(\"../config.js\");\n saveRootField(\"apiKey\", config.apiKey);\n saveRootField(\"peerName\", config.peerName);\n // Per-host config goes in hosts.claude_code via saveConfig\n saveConfig({\n apiKey: config.apiKey,\n peerName: config.peerName,\n workspace: config.workspace,\n aiPeer: config.aiPeer,\n saveMessages: true,\n enabled: true,\n logging: true,\n });\n console.log(s.success(`Written to ${getConfigPath()}`));\n } catch (err) {\n console.log(s.warn(`Failed to write config: ${err instanceof Error ? err.message : String(err)}`));\n process.exit(1);\n }\n console.log(\"\");\n } else {\n console.log(s.dim(`Config already exists at ${getConfigPath()}`));\n console.log(\"\");\n }\n\n installStatusline();\n console.log(\"\");\n\n // Report availability only — importing lives in /honcho:import.\n try {\n const { findTranscripts } = await import(\"./backfill-runner.js\");\n const transcripts = findTranscripts(30);\n if (transcripts.length > 0) {\n console.log(s.section(\"Import past sessions (optional)\"));\n console.log(s.listItem(`Found ${transcripts.length} local Claude Code session(s) from the last 30 days.`));\n console.log(s.dim(\" Run /honcho:import whenever you'd like to add your past work to Honcho.\"));\n console.log(\"\");\n }\n } catch {\n // Non-fatal — the import is optional.\n }\n\n console.log(s.success(\"Setup complete -- Honcho memory is ready\"));\n console.log(\"\");\n}\n\nsetup();\n",
7
- "/**\n * Shared color scheme and styling utilities for honcho CLI\n *\n * Design principles:\n * - No emojis, only tasteful Unicode symbols\n * - Orange to pale light blue gradient\n * - Consistent hierarchy: headers, labels, values, dim text\n */\n\n// ANSI color codes - orange to pale light blue gradient\nexport const colors = {\n reset: \"\\x1b[0m\",\n bold: \"\\x1b[1m\",\n dim: \"\\x1b[2m\",\n\n // Primary gradient: orange → pale blue\n orange: \"\\x1b[38;5;208m\",\n lightOrange: \"\\x1b[38;5;214m\",\n peach: \"\\x1b[38;5;215m\",\n palePeach: \"\\x1b[38;5;223m\",\n paleBlue: \"\\x1b[38;5;195m\",\n lightBlue: \"\\x1b[38;5;159m\",\n skyBlue: \"\\x1b[38;5;117m\",\n brightBlue: \"\\x1b[38;5;81m\",\n\n // Semantic colors\n success: \"\\x1b[38;5;114m\", // green\n error: \"\\x1b[38;5;203m\", // red\n warn: \"\\x1b[38;5;214m\", // light orange (warning)\n\n // Utility\n white: \"\\x1b[38;5;255m\",\n gray: \"\\x1b[38;5;245m\",\n};\n\n// Unicode symbols generated at runtime (survives bundling)\nexport const symbols = {\n check: String.fromCodePoint(0x2713), // ✓\n cross: String.fromCodePoint(0x2717), // ✗\n dot: String.fromCodePoint(0x00B7), // ·\n bullet: String.fromCodePoint(0x2022), // •\n arrow: String.fromCodePoint(0x2192), // →\n line: String.fromCodePoint(0x2500), // ─\n corner: String.fromCodePoint(0x2514), // └\n pipe: String.fromCodePoint(0x2502), // │\n sparkle: String.fromCodePoint(0x2726), // ✦\n};\n\n/**\n * Style a header/title\n */\nexport function header(text: string): string {\n const line = symbols.line.repeat(text.length);\n return `${colors.orange}${text}${colors.reset}\\n${colors.dim}${line}${colors.reset}`;\n}\n\n/**\n * Style a section header (smaller than main header)\n */\nexport function section(text: string): string {\n return `${colors.lightBlue}${text}${colors.reset}`;\n}\n\n/**\n * Style a label (for key-value pairs)\n */\nexport function label(text: string): string {\n return `${colors.skyBlue}${text}${colors.reset}`;\n}\n\n/**\n * Style a value\n */\nexport function value(text: string): string {\n return `${colors.white}${text}${colors.reset}`;\n}\n\n/**\n * Style dim/secondary text\n */\nexport function dim(text: string): string {\n return `${colors.dim}${text}${colors.reset}`;\n}\n\n/**\n * Style a success message\n */\nexport function success(message: string): string {\n return `${colors.success}${symbols.check}${colors.reset} ${message}`;\n}\n\n/**\n * Style an error message\n */\nexport function error(message: string): string {\n return `${colors.error}${symbols.cross}${colors.reset} ${message}`;\n}\n\n/**\n * Style a warning message\n */\nexport function warn(message: string): string {\n return `${colors.warn}!${colors.reset} ${message}`;\n}\n\n/**\n * Style a list item\n */\nexport function listItem(text: string, indent: number = 0): string {\n const padding = \" \".repeat(indent);\n return `${padding}${colors.dim}${symbols.bullet}${colors.reset} ${text}`;\n}\n\n/**\n * Style a key-value pair\n */\nexport function keyValue(key: string, val: string): string {\n return `${label(key)}: ${value(val)}`;\n}\n\n/**\n * Style current/active item marker\n */\nexport function current(text: string): string {\n return `${colors.palePeach}(${text})${colors.reset}`;\n}\n\n/**\n * Create a horizontal rule\n */\nexport function hr(width: number = 40): string {\n return `${colors.dim}${symbols.line.repeat(width)}${colors.reset}`;\n}\n\n/**\n * Style a path\n */\nexport function path(p: string): string {\n return `${colors.gray}${p}${colors.reset}`;\n}\n\n/**\n * Highlight text\n */\nexport function highlight(text: string): string {\n return `${colors.peach}${text}${colors.reset}`;\n}\n\n/**\n * Build a Honcho app URL for a session\n */\nexport function honchoSessionUrl(workspace: string, sessionName: string): string {\n return `https://app.honcho.dev/explore?workspace=${encodeURIComponent(workspace)}&view=sessions&session=${encodeURIComponent(sessionName)}`;\n}\n\n/**\n * OSC 8 terminal hyperlink (clickable in supported terminals)\n */\nexport function hyperlink(url: string, text: string): string {\n return `\\x1b]8;;${url}\\x07${text}\\x1b]8;;\\x07`;\n}\n\n/**\n * Styled session line with clickable hyperlink to Honcho app\n */\nexport function sessionLine(workspace: string, sessionName: string): string {\n const url = honchoSessionUrl(workspace, sessionName);\n return `${colors.dim}Honcho session:${colors.reset} ${hyperlink(url, `${colors.skyBlue}${sessionName}${colors.reset}`)}`;\n}\n"
5
+ "#!/usr/bin/env bun\nimport { Honcho } from \"@honcho-ai/sdk\";\nimport {\n loadConfig,\n loadConfigFromEnv,\n saveConfig,\n getConfigPath,\n getConfigDir,\n getHonchoClientOptions,\n getDetectedHost,\n getDefaultWorkspace,\n getDefaultAiPeer,\n configExists,\n setDetectedHost,\n getClaudeSettingsPath,\n getClaudeSettingsDir,\n saveRootField,\n} from \"../config.js\";\nimport * as s from \"../styles.js\";\nimport { copyFileSync, chmodSync, existsSync, mkdirSync, readFileSync, writeFileSync } from \"fs\";\nimport { dirname, join } from \"path\";\nimport { fileURLToPath } from \"url\";\n\n// Installs the memory statusLine: ships the renderer to a stable path and\n// registers it in the user's global Claude Code settings. Plugins can't\n// self-register a statusLine and ${CLAUDE_PLUGIN_ROOT} isn't expanded in\n// settings.json, so an absolute path under ~/.honcho is the portable target.\n// Idempotent and non-destructive: never clobbers an existing statusLine.\nfunction installStatusline(): void {\n console.log(s.section(\"Installing memory statusLine\"));\n\n const src = join(dirname(fileURLToPath(import.meta.url)), \"..\", \"..\", \"scripts\", \"honcho-statusline.sh\");\n const dest = join(getConfigDir(), \"honcho-statusline.sh\");\n try {\n if (!existsSync(getConfigDir())) mkdirSync(getConfigDir(), { recursive: true });\n copyFileSync(src, dest);\n chmodSync(dest, 0o755);\n console.log(s.success(`Renderer installed at ${dest}`));\n } catch (err) {\n console.log(s.warn(`Could not install renderer: ${err instanceof Error ? err.message : String(err)}`));\n return;\n }\n\n // Default visibility to \"full\" only on first run — respect an existing choice.\n try {\n const raw = existsSync(getConfigPath()) ? JSON.parse(readFileSync(getConfigPath(), \"utf-8\")) : {};\n if (raw.statusline === undefined) saveRootField(\"statusline\", \"on\");\n } catch {\n // leave config as-is; the renderer defaults to \"full\" when the key is absent\n }\n\n // Register in ~/.claude/settings.json without disturbing an existing line.\n const settingsPath = getClaudeSettingsPath();\n let settings: Record<string, unknown> = {};\n try {\n if (existsSync(settingsPath)) settings = JSON.parse(readFileSync(settingsPath, \"utf-8\"));\n } catch {\n console.log(s.warn(`Could not parse ${settingsPath} — add the statusLine entry manually:`));\n console.log(s.dim(` \"statusLine\": { \"type\": \"command\", \"command\": \"${dest}\" }`));\n return;\n }\n\n // refreshInterval re-runs the renderer on a timer so the working glyph can\n // animate at rest; without it Claude Code only repaints on conversation\n // activity and the statusLine looks frozen. 1s is the host minimum.\n const REFRESH = 1;\n const existing = settings.statusLine as { command?: string; refreshInterval?: number } | undefined;\n if (existing?.command === dest) {\n if (existing.refreshInterval === REFRESH) {\n console.log(s.dim(\"statusLine already points at the honcho renderer\"));\n return;\n }\n // Upgrade an older registration that predates the animated renderer.\n settings.statusLine = { type: \"command\", command: dest, refreshInterval: REFRESH };\n try {\n writeFileSync(settingsPath, JSON.stringify(settings, null, 2));\n console.log(s.success(\"statusLine refreshInterval enabled — memory glyph now animates\"));\n } catch (err) {\n console.log(s.warn(`Could not update settings.json: ${err instanceof Error ? err.message : String(err)}`));\n }\n return;\n }\n if (existing) {\n console.log(s.warn(\"A different statusLine is already configured — leaving it untouched.\"));\n console.log(s.dim(\" To use honcho's instead, set settings.json statusLine.command to:\"));\n console.log(s.dim(` ${dest}`));\n console.log(s.dim(` and add \"refreshInterval\": ${REFRESH} so the glyph animates.`));\n return;\n }\n\n settings.statusLine = { type: \"command\", command: dest, refreshInterval: REFRESH };\n try {\n if (!existsSync(getClaudeSettingsDir())) mkdirSync(getClaudeSettingsDir(), { recursive: true });\n writeFileSync(settingsPath, JSON.stringify(settings, null, 2));\n console.log(s.success(\"statusLine registered in ~/.claude/settings.json\"));\n } catch (err) {\n console.log(s.warn(`Could not write settings.json: ${err instanceof Error ? err.message : String(err)}`));\n console.log(s.dim(` Add manually: \"statusLine\": { \"type\": \"command\", \"command\": \"${dest}\" }`));\n }\n}\n\nasync function setup(): Promise<void> {\n // Default to claude_code for this runner\n setDetectedHost(\"claude_code\");\n\n console.log(\"\");\n console.log(s.header(\"honcho setup\"));\n console.log(\"\");\n\n // Check for API key — env var takes precedence, then config file\n let apiKey = process.env.HONCHO_API_KEY;\n let keySource = \"environment\";\n\n if (!apiKey) {\n // Try reading from config file\n try {\n const { readFileSync } = await import(\"fs\");\n const configRaw = readFileSync(getConfigPath(), \"utf-8\");\n const configData = JSON.parse(configRaw);\n apiKey = configData.apiKey;\n keySource = \"config\";\n } catch {\n // No config file or no apiKey in it\n }\n }\n\n if (!apiKey) {\n console.log(s.warn(\"No API key found (checked env and config)\"));\n console.log(\"\");\n console.log(\" 1. Get a free key at https://app.honcho.dev\");\n if (process.platform === \"win32\") {\n console.log(\" 2. Set it in PowerShell:\");\n console.log(s.dim(' setx HONCHO_API_KEY \"your-key-here\"'));\n } else {\n console.log(\" 2. Add to ~/.zshrc or ~/.bashrc:\");\n console.log(s.dim(' export HONCHO_API_KEY=\"your-key-here\"'));\n }\n console.log(\" 3. Restart Claude Code and run /honcho:setup\");\n process.exit(1);\n }\n\n console.log(s.success(`API key found (${keySource})`));\n console.log(\"\");\n\n // Validate connection\n console.log(s.section(\"Validating connection\"));\n const config = loadConfig() || loadConfigFromEnv();\n if (!config) {\n console.log(s.warn(\"Failed to build config from environment\"));\n process.exit(1);\n }\n\n try {\n const honcho = new Honcho(getHonchoClientOptions(config));\n await honcho.workspaces();\n console.log(s.success(\"Connected to Honcho API\"));\n console.log(` ${s.label(\"Workspace\")}: ${config.workspace}`);\n console.log(` ${s.label(\"Peer\")}: ${config.peerName}`);\n console.log(` ${s.label(\"AI Peer\")}: ${config.aiPeer}`);\n console.log(\"\");\n } catch (error) {\n const msg = error instanceof Error ? error.message : String(error);\n console.log(s.warn(`Connection failed: ${msg}`));\n if (msg.includes(\"401\") || msg.includes(\"auth\")) {\n console.log(s.dim(\" API key may be invalid. Get a new one at https://app.honcho.dev\"));\n }\n process.exit(1);\n }\n\n // Write config if it doesn't exist\n if (!configExists()) {\n console.log(s.section(\"Creating config\"));\n try {\n // Root-level globals (owned by user/CLI, written only at initial setup)\n const { saveRootField } = await import(\"../config.js\");\n saveRootField(\"apiKey\", config.apiKey);\n saveRootField(\"peerName\", config.peerName);\n // Per-host config goes in hosts.claude_code via saveConfig\n saveConfig({\n apiKey: config.apiKey,\n peerName: config.peerName,\n workspace: config.workspace,\n aiPeer: config.aiPeer,\n saveMessages: true,\n enabled: true,\n logging: true,\n });\n console.log(s.success(`Written to ${getConfigPath()}`));\n } catch (err) {\n console.log(s.warn(`Failed to write config: ${err instanceof Error ? err.message : String(err)}`));\n process.exit(1);\n }\n console.log(\"\");\n } else {\n console.log(s.dim(`Config already exists at ${getConfigPath()}`));\n console.log(\"\");\n }\n\n installStatusline();\n console.log(\"\");\n\n // Report availability only — importing lives in /honcho:import.\n try {\n const { findTranscripts } = await import(\"./backfill-runner.js\");\n const transcripts = findTranscripts(30);\n if (transcripts.length > 0) {\n console.log(s.section(\"Import past sessions (optional)\"));\n console.log(s.listItem(`Found ${transcripts.length} local Claude Code session(s) from the last 30 days.`));\n console.log(s.dim(\" Run /honcho:import whenever you'd like to add your past work to Honcho.\"));\n console.log(\"\");\n }\n } catch {\n // Non-fatal — the import is optional.\n }\n\n console.log(s.success(\"Setup complete -- Honcho memory is ready\"));\n console.log(\"\");\n}\n\nsetup();\n"
8
6
  ],
9
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGA,OAAO,eAAe,SAAS,cAAc,EAAE,OAAO,KAAK,CAAC;AAAA,EACpD,kBAAkB,2BAA2B,yBAAyB,kBAAkB,sBAAsB,eAAe,eAAe,kBAAkB,kCAAkC,mCAAmC,uBAAuB,sBAAsB,yBAAyB,gCAAgC,wBAAwB,sBAAsB,0BAA0B,wBAAwB,0BAA0B,8BAA8B,0BAA0B,qBAAqB,iBAAc;AAAA,EAEtiB,IAAI;AAAA,EACJ,OAAO,eAAe,SAAS,UAAU,EAAE,YAAY,MAAM,KAAK,QAAS,GAAG;AAAA,IAAE,OAAO,SAAS;AAAA,IAAU,CAAC;AAAA,EAC3G,IAAI;AAAA,EACJ,OAAO,eAAe,SAAS,cAAc,EAAE,YAAY,MAAM,KAAK,QAAS,GAAG;AAAA,IAAE,OAAO,cAAc;AAAA,IAAc,CAAC;AAAA,EACxH,OAAO,eAAe,SAAS,mBAAmB,EAAE,YAAY,M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S,SAAS,YAAY,4DAA4D,CAAC;AAAA,MACzG,QAAQ,IAAM,IAAI,2EAA2E,CAAC;AAAA,MAC9F,QAAQ,IAAI,EAAE;AAAA,IAChB;AAAA,IACA,MAAM;AAAA,EAIR,QAAQ,IAAM,QAAQ,0CAA0C,CAAC;AAAA,EACjE,QAAQ,IAAI,EAAE;AAAA;AAGhB,MAAM;",
8
+ "debugId": "8D21E03DA0BEF2F264756E2164756E21",
11
9
  "names": []
12
10
  }
@@ -1,21 +1,20 @@
1
1
  #!/usr/bin/env bun
2
2
  import {
3
- dim,
4
- error,
3
+ __toESM,
4
+ loadConfig2,
5
+ getSessionName2,
6
+ getHonchoClientOptions2,
7
+ getEndpointInfo2
8
+ } from "../chunk-g0m354bn.js";
9
+ import {
10
+ require_dist,
5
11
  header,
6
12
  label,
7
- require_dist,
13
+ dim,
8
14
  success,
15
+ error,
9
16
  warn
10
- } from "../chunk-d2gc13m0.js";
11
- import"../chunk-xdntcesh.js";
12
- import {
13
- __toESM,
14
- getEndpointInfo,
15
- getHonchoClientOptions,
16
- getSessionName,
17
- loadConfig
18
- } from "../chunk-gnp95nzg.js";
17
+ } from "../chunk-pdnbydfe.js";
19
18
 
20
19
  // src/skills/status-runner.ts
21
20
  var import_sdk = __toESM(require_dist(), 1);
@@ -23,15 +22,15 @@ async function status() {
23
22
  console.log("");
24
23
  console.log(header("honcho status"));
25
24
  console.log("");
26
- const config = loadConfig();
25
+ const config = loadConfig2();
27
26
  if (!config) {
28
27
  console.log(warn("Not configured"));
29
28
  console.log(dim("Set HONCHO_API_KEY environment variable"));
30
29
  return;
31
30
  }
32
- const endpointInfo = getEndpointInfo(config);
31
+ const endpointInfo = getEndpointInfo2(config);
33
32
  try {
34
- const honcho = new import_sdk.Honcho(getHonchoClientOptions(config));
33
+ const honcho = new import_sdk.Honcho(getHonchoClientOptions2(config));
35
34
  const pingStart = Date.now();
36
35
  const [queueResult, conclusionsResult] = await Promise.allSettled([
37
36
  honcho.queueStatus(),
@@ -43,7 +42,7 @@ async function status() {
43
42
  }
44
43
  console.log(` ${label("Connection")}: ${success("connected")} ${dim(`(${latency}ms)`)}`);
45
44
  console.log(` ${label("Workspace")}: ${config.workspace} ${dim(`@ ${endpointInfo.url}`)}`);
46
- console.log(` ${label("Session")}: ${getSessionName(process.cwd())}`);
45
+ console.log(` ${label("Session")}: ${getSessionName2(process.cwd())}`);
47
46
  console.log(` ${label("Peers")}: ${config.peerName} / ${config.aiPeer}`);
48
47
  if (queueResult.status === "fulfilled") {
49
48
  const q = queueResult.value;
@@ -82,5 +81,5 @@ async function status() {
82
81
  }
83
82
  status();
84
83
 
85
- //# debugId=673F0FFE57BCD94064756E2164756E21
84
+ //# debugId=E90AE8FE6A59764364756E2164756E21
86
85
  //# sourceMappingURL=status-runner.js.map
@@ -4,7 +4,7 @@
4
4
  "sourcesContent": [
5
5
  "#!/usr/bin/env bun\n/**\n * Runner script for the status skill.\n * Minimal: connection, queue, conclusions.\n */\nimport { Honcho, type Page, type Conclusion } from \"@honcho-ai/sdk\";\nimport type { QueueStatus } from \"@honcho-ai/sdk\";\nimport { loadConfig, getHonchoClientOptions, getEndpointInfo, getSessionName } from \"../config.js\";\nimport * as s from \"../styles.js\";\n\nasync function status(): Promise<void> {\n console.log(\"\");\n console.log(s.header(\"honcho status\"));\n console.log(\"\");\n\n const config = loadConfig();\n if (!config) {\n console.log(s.warn(\"Not configured\"));\n console.log(s.dim(\"Set HONCHO_API_KEY environment variable\"));\n return;\n }\n\n const endpointInfo = getEndpointInfo(config);\n\n try {\n const honcho = new Honcho(getHonchoClientOptions(config));\n const pingStart = Date.now();\n\n const [queueResult, conclusionsResult] = await Promise.allSettled([\n honcho.queueStatus(),\n honcho.peer(config.peerName).then((peer) => peer.conclusions.list()),\n ]);\n\n const latency = Date.now() - pingStart;\n\n // If both API calls failed, treat as a connection failure\n if (queueResult.status === \"rejected\" && conclusionsResult.status === \"rejected\") {\n throw queueResult.reason;\n }\n\n console.log(` ${s.label(\"Connection\")}: ${s.success(\"connected\")} ${s.dim(`(${latency}ms)`)}`);\n console.log(` ${s.label(\"Workspace\")}: ${config.workspace} ${s.dim(`@ ${endpointInfo.url}`)}`);\n console.log(` ${s.label(\"Session\")}: ${getSessionName(process.cwd())}`);\n console.log(` ${s.label(\"Peers\")}: ${config.peerName} / ${config.aiPeer}`);\n\n // Observation queue — messages being processed into conclusions\n if (queueResult.status === \"fulfilled\") {\n const q: QueueStatus = queueResult.value;\n const total = q.totalWorkUnits ?? 0;\n const completed = q.completedWorkUnits ?? 0;\n const inProgress = q.inProgressWorkUnits ?? 0;\n const sessionCount = q.sessions ? Object.keys(q.sessions).length : 0;\n if (total > 0) {\n const pct = Math.round((completed / total) * 100);\n let detail = `${completed}/${total} messages observed (${pct}%)`;\n if (inProgress > 0) detail += `, ${inProgress} active`;\n if (sessionCount > 0) detail += ` across ${sessionCount} sessions`;\n console.log(` ${s.label(\"Observing\")}: ${detail}`);\n } else {\n console.log(` ${s.label(\"Observing\")}: ${s.dim(\"idle\")}`);\n }\n }\n\n // Conclusions\n if (conclusionsResult.status === \"fulfilled\") {\n const page: Page<Conclusion> = conclusionsResult.value;\n const total = page.total ?? page.items?.length ?? \"?\";\n console.log(` ${s.label(\"Conclusions\")}: ${total} ${s.dim(`(${config.peerName})`)}`);\n }\n } catch (err: unknown) {\n const message = err instanceof Error ? err.message : String(err);\n if (message.includes(\"401\") || message.includes(\"Unauthorized\")) {\n console.log(` ${s.label(\"Connection\")}: ${s.error(\"auth failed\")} ${s.dim(\"check API key\")}`);\n } else if (message.includes(\"ECONNREFUSED\") || message.includes(\"fetch failed\")) {\n console.log(` ${s.label(\"Connection\")}: ${s.error(\"unreachable\")} ${s.dim(endpointInfo.url)}`);\n } else {\n console.log(` ${s.label(\"Connection\")}: ${s.error(\"failed\")} ${s.dim(message.slice(0, 60))}`);\n }\n }\n\n console.log(\"\");\n}\n\nstatus();\n"
6
6
  ],
7
- "mappings": ";;;;;;;;;;;;;;;;;;;;AAKA;AA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,SAAS,cAAc,KAAK,QAAQ,SAAS,cAAc,GAAG;AAAA,MAC/E,QAAQ,IAAI,KAAO,MAAM,YAAY,OAAS,MAAM,aAAa,KAAO,IAAI,aAAa,GAAG,GAAG;AAAA,IACjG,EAAO;AAAA,MACL,QAAQ,IAAI,KAAO,MAAM,YAAY,OAAS,MAAM,QAAQ,KAAO,IAAI,QAAQ,MAAM,GAAG,EAAE,CAAC,GAAG;AAAA;AAAA;AAAA,EAIlG,QAAQ,IAAI,EAAE;AAAA;AAGhB,OAAO;",
8
+ "debugId": "E90AE8FE6A59764364756E2164756E21",
9
9
  "names": []
10
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@honcho-ai/claude-honcho",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "type": "module",
5
5
  "description": "Persistent memory for Claude Code sessions using Honcho by Plastic Labs",
6
6
  "author": "Plastic Labs <hello@plasticlabs.ai>",