agentsmesh 0.40.0 → 0.41.0

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.
@@ -441,6 +441,13 @@ interface TargetDescriptor {
441
441
  }[];
442
442
  /** Optional target-specific merge strategy for generated outputs. */
443
443
  readonly mergeGeneratedOutputContent?: GeneratedOutputMerger;
444
+ /**
445
+ * Canonical hook events whose command output this target feeds into the
446
+ * model's context (per its official hook docs). Generate keeps the lessons
447
+ * recall hook only on these events; user hooks are never filtered. `[]` means
448
+ * hooks cannot inject context at all. Omit to keep every recall entry.
449
+ */
450
+ readonly hookContextEvents?: readonly string[];
444
451
  /**
445
452
  * Async post-pass for hook generator outputs (e.g. Copilot hook script assets under `.github/hooks/`).
446
453
  */
package/dist/targets.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { e as TargetDescriptor, h as TargetLayoutScope, C as ContentNormalizer, d as ImportResult } from './target-descriptor-CvTJyDxd.js';
2
- export { E as ExtraRuleOutputContext, a as ExtraRuleOutputResolver, F as FeatureLinter, b as GeneratedOutputMerger, c as GlobalTargetSupport, I as ImportPathBuilder, R as RuleLinter, S as ScopeExtrasFn, T as TargetCapabilities, f as TargetGenerators, g as TargetLayout, i as TargetLintHooks, j as TargetManagedOutputs, k as TargetOutputFamily, l as TargetPathResolvers } from './target-descriptor-CvTJyDxd.js';
1
+ import { e as TargetDescriptor, h as TargetLayoutScope, C as ContentNormalizer, d as ImportResult } from './target-descriptor-CMV6vxVE.js';
2
+ export { E as ExtraRuleOutputContext, a as ExtraRuleOutputResolver, F as FeatureLinter, b as GeneratedOutputMerger, c as GlobalTargetSupport, I as ImportPathBuilder, R as RuleLinter, S as ScopeExtrasFn, T as TargetCapabilities, f as TargetGenerators, g as TargetLayout, i as TargetLintHooks, j as TargetManagedOutputs, k as TargetOutputFamily, l as TargetPathResolvers } from './target-descriptor-CMV6vxVE.js';
3
3
  import './schema-BbywZEB9.js';
4
4
  import 'zod';
5
5