@kmmao/happy-wire 0.19.0 → 0.19.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.
package/dist/index.cjs CHANGED
@@ -624,8 +624,10 @@ const KnowledgeEntryTypeSchema = z__namespace.enum([
624
624
  // Code convention / process rule
625
625
  "warning",
626
626
  // Known pitfall or gotcha
627
- "repo_map"
627
+ "repo_map",
628
628
  // Static repo structure snapshot (file tree + key exports)
629
+ "summary"
630
+ // Session-end summary (auto-generated at session teardown)
629
631
  ]);
630
632
  const KnowledgeContributorTypeSchema = z__namespace.enum([
631
633
  "session",
@@ -1692,6 +1694,8 @@ const sessionProgressTodoSchema = z__namespace.object({
1692
1694
  status: sessionProgressTodoStatusSchema,
1693
1695
  /** SDK-native: imperative-present form shown when status is in_progress. */
1694
1696
  activeForm: z__namespace.string().optional(),
1697
+ /** Longer description of the task (from TaskCreate's description field). */
1698
+ description: z__namespace.string().optional(),
1695
1699
  /** Optional phase/stage label a step belongs to, e.g. "Phase 2". */
1696
1700
  stage: z__namespace.string().optional(),
1697
1701
  /**
package/dist/index.d.cts CHANGED
@@ -2153,6 +2153,7 @@ declare const DaemonStateSchema: z.ZodObject<{
2153
2153
  type DaemonState = z.infer<typeof DaemonStateSchema>;
2154
2154
 
2155
2155
  declare const KnowledgeEntryTypeSchema: z.ZodEnum<{
2156
+ summary: "summary";
2156
2157
  discovery: "discovery";
2157
2158
  decision: "decision";
2158
2159
  fix: "fix";
@@ -2188,6 +2189,7 @@ declare const KnowledgeConfidenceSchema: z.ZodEnum<{
2188
2189
  type KnowledgeConfidence = z.infer<typeof KnowledgeConfidenceSchema>;
2189
2190
  declare const CreateKnowledgeEntryBodySchema: z.ZodObject<{
2190
2191
  entryType: z.ZodEnum<{
2192
+ summary: "summary";
2191
2193
  discovery: "discovery";
2192
2194
  decision: "decision";
2193
2195
  fix: "fix";
@@ -2245,6 +2247,7 @@ declare const UpdateKnowledgeEntryBodySchema: z.ZodObject<{
2245
2247
  type UpdateKnowledgeEntryBody = z.infer<typeof UpdateKnowledgeEntryBodySchema>;
2246
2248
  declare const QueryKnowledgeParamsSchema: z.ZodObject<{
2247
2249
  entryType: z.ZodOptional<z.ZodEnum<{
2250
+ summary: "summary";
2248
2251
  discovery: "discovery";
2249
2252
  decision: "decision";
2250
2253
  fix: "fix";
@@ -2299,6 +2302,7 @@ declare const KnowledgeInjectionResponseSchema: z.ZodObject<{
2299
2302
  entries: z.ZodArray<z.ZodObject<{
2300
2303
  id: z.ZodString;
2301
2304
  entryType: z.ZodEnum<{
2305
+ summary: "summary";
2302
2306
  discovery: "discovery";
2303
2307
  decision: "decision";
2304
2308
  fix: "fix";
@@ -2330,6 +2334,7 @@ type KnowledgeChainRelation = z.infer<typeof KnowledgeChainRelationSchema>;
2330
2334
  declare const KnowledgeChainEntrySchema: z.ZodObject<{
2331
2335
  id: z.ZodString;
2332
2336
  entryType: z.ZodEnum<{
2337
+ summary: "summary";
2333
2338
  discovery: "discovery";
2334
2339
  decision: "decision";
2335
2340
  fix: "fix";
@@ -2364,6 +2369,7 @@ declare const KnowledgeChainResponseSchema: z.ZodObject<{
2364
2369
  chain: z.ZodArray<z.ZodObject<{
2365
2370
  id: z.ZodString;
2366
2371
  entryType: z.ZodEnum<{
2372
+ summary: "summary";
2367
2373
  discovery: "discovery";
2368
2374
  decision: "decision";
2369
2375
  fix: "fix";
@@ -2408,6 +2414,7 @@ declare const CrossProjectSearchResultSchema: z.ZodObject<{
2408
2414
  projectId: z.ZodString;
2409
2415
  projectPath: z.ZodString;
2410
2416
  entryType: z.ZodEnum<{
2417
+ summary: "summary";
2411
2418
  discovery: "discovery";
2412
2419
  decision: "decision";
2413
2420
  fix: "fix";
@@ -2433,6 +2440,7 @@ declare const CrossProjectSearchResponseSchema: z.ZodObject<{
2433
2440
  projectId: z.ZodString;
2434
2441
  projectPath: z.ZodString;
2435
2442
  entryType: z.ZodEnum<{
2443
+ summary: "summary";
2436
2444
  discovery: "discovery";
2437
2445
  decision: "decision";
2438
2446
  fix: "fix";
@@ -3232,6 +3240,7 @@ declare const sessionProgressTodoSchema: z.ZodObject<{
3232
3240
  in_progress: "in_progress";
3233
3241
  }>;
3234
3242
  activeForm: z.ZodOptional<z.ZodString>;
3243
+ description: z.ZodOptional<z.ZodString>;
3235
3244
  stage: z.ZodOptional<z.ZodString>;
3236
3245
  verificationNudgeNeeded: z.ZodOptional<z.ZodBoolean>;
3237
3246
  }, z.core.$strip>;
@@ -3265,6 +3274,7 @@ declare const sessionProgressListSchema: z.ZodObject<{
3265
3274
  in_progress: "in_progress";
3266
3275
  }>;
3267
3276
  activeForm: z.ZodOptional<z.ZodString>;
3277
+ description: z.ZodOptional<z.ZodString>;
3268
3278
  stage: z.ZodOptional<z.ZodString>;
3269
3279
  verificationNudgeNeeded: z.ZodOptional<z.ZodBoolean>;
3270
3280
  }, z.core.$strip>>;
@@ -3305,6 +3315,7 @@ declare const sessionProgressStateSchema: z.ZodObject<{
3305
3315
  in_progress: "in_progress";
3306
3316
  }>;
3307
3317
  activeForm: z.ZodOptional<z.ZodString>;
3318
+ description: z.ZodOptional<z.ZodString>;
3308
3319
  stage: z.ZodOptional<z.ZodString>;
3309
3320
  verificationNudgeNeeded: z.ZodOptional<z.ZodBoolean>;
3310
3321
  }, z.core.$strip>>;
@@ -3333,6 +3344,7 @@ declare const sessionProgressStateSchema: z.ZodObject<{
3333
3344
  in_progress: "in_progress";
3334
3345
  }>;
3335
3346
  activeForm: z.ZodOptional<z.ZodString>;
3347
+ description: z.ZodOptional<z.ZodString>;
3336
3348
  stage: z.ZodOptional<z.ZodString>;
3337
3349
  verificationNudgeNeeded: z.ZodOptional<z.ZodBoolean>;
3338
3350
  }, z.core.$strip>>>;
package/dist/index.d.mts CHANGED
@@ -2153,6 +2153,7 @@ declare const DaemonStateSchema: z.ZodObject<{
2153
2153
  type DaemonState = z.infer<typeof DaemonStateSchema>;
2154
2154
 
2155
2155
  declare const KnowledgeEntryTypeSchema: z.ZodEnum<{
2156
+ summary: "summary";
2156
2157
  discovery: "discovery";
2157
2158
  decision: "decision";
2158
2159
  fix: "fix";
@@ -2188,6 +2189,7 @@ declare const KnowledgeConfidenceSchema: z.ZodEnum<{
2188
2189
  type KnowledgeConfidence = z.infer<typeof KnowledgeConfidenceSchema>;
2189
2190
  declare const CreateKnowledgeEntryBodySchema: z.ZodObject<{
2190
2191
  entryType: z.ZodEnum<{
2192
+ summary: "summary";
2191
2193
  discovery: "discovery";
2192
2194
  decision: "decision";
2193
2195
  fix: "fix";
@@ -2245,6 +2247,7 @@ declare const UpdateKnowledgeEntryBodySchema: z.ZodObject<{
2245
2247
  type UpdateKnowledgeEntryBody = z.infer<typeof UpdateKnowledgeEntryBodySchema>;
2246
2248
  declare const QueryKnowledgeParamsSchema: z.ZodObject<{
2247
2249
  entryType: z.ZodOptional<z.ZodEnum<{
2250
+ summary: "summary";
2248
2251
  discovery: "discovery";
2249
2252
  decision: "decision";
2250
2253
  fix: "fix";
@@ -2299,6 +2302,7 @@ declare const KnowledgeInjectionResponseSchema: z.ZodObject<{
2299
2302
  entries: z.ZodArray<z.ZodObject<{
2300
2303
  id: z.ZodString;
2301
2304
  entryType: z.ZodEnum<{
2305
+ summary: "summary";
2302
2306
  discovery: "discovery";
2303
2307
  decision: "decision";
2304
2308
  fix: "fix";
@@ -2330,6 +2334,7 @@ type KnowledgeChainRelation = z.infer<typeof KnowledgeChainRelationSchema>;
2330
2334
  declare const KnowledgeChainEntrySchema: z.ZodObject<{
2331
2335
  id: z.ZodString;
2332
2336
  entryType: z.ZodEnum<{
2337
+ summary: "summary";
2333
2338
  discovery: "discovery";
2334
2339
  decision: "decision";
2335
2340
  fix: "fix";
@@ -2364,6 +2369,7 @@ declare const KnowledgeChainResponseSchema: z.ZodObject<{
2364
2369
  chain: z.ZodArray<z.ZodObject<{
2365
2370
  id: z.ZodString;
2366
2371
  entryType: z.ZodEnum<{
2372
+ summary: "summary";
2367
2373
  discovery: "discovery";
2368
2374
  decision: "decision";
2369
2375
  fix: "fix";
@@ -2408,6 +2414,7 @@ declare const CrossProjectSearchResultSchema: z.ZodObject<{
2408
2414
  projectId: z.ZodString;
2409
2415
  projectPath: z.ZodString;
2410
2416
  entryType: z.ZodEnum<{
2417
+ summary: "summary";
2411
2418
  discovery: "discovery";
2412
2419
  decision: "decision";
2413
2420
  fix: "fix";
@@ -2433,6 +2440,7 @@ declare const CrossProjectSearchResponseSchema: z.ZodObject<{
2433
2440
  projectId: z.ZodString;
2434
2441
  projectPath: z.ZodString;
2435
2442
  entryType: z.ZodEnum<{
2443
+ summary: "summary";
2436
2444
  discovery: "discovery";
2437
2445
  decision: "decision";
2438
2446
  fix: "fix";
@@ -3232,6 +3240,7 @@ declare const sessionProgressTodoSchema: z.ZodObject<{
3232
3240
  in_progress: "in_progress";
3233
3241
  }>;
3234
3242
  activeForm: z.ZodOptional<z.ZodString>;
3243
+ description: z.ZodOptional<z.ZodString>;
3235
3244
  stage: z.ZodOptional<z.ZodString>;
3236
3245
  verificationNudgeNeeded: z.ZodOptional<z.ZodBoolean>;
3237
3246
  }, z.core.$strip>;
@@ -3265,6 +3274,7 @@ declare const sessionProgressListSchema: z.ZodObject<{
3265
3274
  in_progress: "in_progress";
3266
3275
  }>;
3267
3276
  activeForm: z.ZodOptional<z.ZodString>;
3277
+ description: z.ZodOptional<z.ZodString>;
3268
3278
  stage: z.ZodOptional<z.ZodString>;
3269
3279
  verificationNudgeNeeded: z.ZodOptional<z.ZodBoolean>;
3270
3280
  }, z.core.$strip>>;
@@ -3305,6 +3315,7 @@ declare const sessionProgressStateSchema: z.ZodObject<{
3305
3315
  in_progress: "in_progress";
3306
3316
  }>;
3307
3317
  activeForm: z.ZodOptional<z.ZodString>;
3318
+ description: z.ZodOptional<z.ZodString>;
3308
3319
  stage: z.ZodOptional<z.ZodString>;
3309
3320
  verificationNudgeNeeded: z.ZodOptional<z.ZodBoolean>;
3310
3321
  }, z.core.$strip>>;
@@ -3333,6 +3344,7 @@ declare const sessionProgressStateSchema: z.ZodObject<{
3333
3344
  in_progress: "in_progress";
3334
3345
  }>;
3335
3346
  activeForm: z.ZodOptional<z.ZodString>;
3347
+ description: z.ZodOptional<z.ZodString>;
3336
3348
  stage: z.ZodOptional<z.ZodString>;
3337
3349
  verificationNudgeNeeded: z.ZodOptional<z.ZodBoolean>;
3338
3350
  }, z.core.$strip>>>;
package/dist/index.mjs CHANGED
@@ -604,8 +604,10 @@ const KnowledgeEntryTypeSchema = z.enum([
604
604
  // Code convention / process rule
605
605
  "warning",
606
606
  // Known pitfall or gotcha
607
- "repo_map"
607
+ "repo_map",
608
608
  // Static repo structure snapshot (file tree + key exports)
609
+ "summary"
610
+ // Session-end summary (auto-generated at session teardown)
609
611
  ]);
610
612
  const KnowledgeContributorTypeSchema = z.enum([
611
613
  "session",
@@ -1672,6 +1674,8 @@ const sessionProgressTodoSchema = z.object({
1672
1674
  status: sessionProgressTodoStatusSchema,
1673
1675
  /** SDK-native: imperative-present form shown when status is in_progress. */
1674
1676
  activeForm: z.string().optional(),
1677
+ /** Longer description of the task (from TaskCreate's description field). */
1678
+ description: z.string().optional(),
1675
1679
  /** Optional phase/stage label a step belongs to, e.g. "Phase 2". */
1676
1680
  stage: z.string().optional(),
1677
1681
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmmao/happy-wire",
3
- "version": "0.19.0",
3
+ "version": "0.19.2",
4
4
  "description": "Shared message wire types and Zod schemas for Happy clients and services",
5
5
  "author": "kmmao",
6
6
  "license": "MIT",