@hiveai/mcp 0.9.6 → 0.9.7

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/server.d.ts CHANGED
@@ -167,16 +167,26 @@ interface BriefingOutput {
167
167
  }
168
168
  declare function getBriefing(input: GetBriefingInput, ctx: HaiveContext): Promise<BriefingOutput>;
169
169
 
170
- declare const CodeMapInputSchema: {
170
+ declare const CodeMapInputZod: z.ZodObject<{
171
171
  file: z.ZodOptional<z.ZodString>;
172
172
  symbol: z.ZodOptional<z.ZodString>;
173
173
  paths: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
174
174
  max_files: z.ZodDefault<z.ZodNumber>;
175
175
  max_tokens: z.ZodOptional<z.ZodNumber>;
176
- };
177
- type CodeMapInput = {
178
- [K in keyof typeof CodeMapInputSchema]: z.infer<(typeof CodeMapInputSchema)[K]>;
179
- };
176
+ }, "strip", z.ZodTypeAny, {
177
+ paths: string[];
178
+ max_files: number;
179
+ symbol?: string | undefined;
180
+ max_tokens?: number | undefined;
181
+ file?: string | undefined;
182
+ }, {
183
+ symbol?: string | undefined;
184
+ paths?: string[] | undefined;
185
+ max_tokens?: number | undefined;
186
+ file?: string | undefined;
187
+ max_files?: number | undefined;
188
+ }>;
189
+ type CodeMapInput = z.infer<typeof CodeMapInputZod>;
180
190
  interface CodeMapToolOutput {
181
191
  available: boolean;
182
192
  generated_at?: string;
package/dist/server.js CHANGED
@@ -1910,6 +1910,7 @@ var CodeMapInputSchema = {
1910
1910
  "Approximate token budget for the response. When the matching set exceeds it, files are ranked by export density (exports per LOC) and the highest-signal ones are kept first. Omit to disable budgeting (legacy behavior)."
1911
1911
  )
1912
1912
  };
1913
+ var CodeMapInputZod = z18.object(CodeMapInputSchema);
1913
1914
  async function codeMapTool(input, ctx) {
1914
1915
  const map = await loadCodeMap2(ctx.paths);
1915
1916
  if (!map) {
@@ -3449,7 +3450,7 @@ When done, respond with: "Imported N memories: [list of IDs]" or "Nothing action
3449
3450
 
3450
3451
  // src/server.ts
3451
3452
  var SERVER_NAME = "haive";
3452
- var SERVER_VERSION = "0.9.6";
3453
+ var SERVER_VERSION = "0.9.7";
3453
3454
  function jsonResult(data) {
3454
3455
  return {
3455
3456
  content: [