@happyvertical/smrt-types 0.40.21 → 0.40.23

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/index.d.ts +19 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -211,6 +211,25 @@ export declare interface DomainKnowledgeManifest {
211
211
  uuidColumns: number;
212
212
  };
213
213
  agentDoc?: string;
214
+ /** Sibling module docs linked from `AGENTS.md`; omitted when the package links none. */
215
+ moduleDocs?: DomainKnowledgeModuleDoc[];
216
+ }
217
+
218
+ /**
219
+ * A sibling module doc linked from a package's `AGENTS.md` (#2108).
220
+ *
221
+ * Oversized package docs are split by module into `packages/<pkg>/agents/<module>.md`
222
+ * rather than nested `AGENTS.md` files, because instruction chains are additive.
223
+ * The link in `AGENTS.md` is the registration: the knowledge tooling resolves it
224
+ * so the moved prose — which is curated and not regenerable from the manifest —
225
+ * stays reachable from agent context.
226
+ */
227
+ export declare interface DomainKnowledgeModuleDoc {
228
+ /** Path relative to the package root, e.g. `agents/commissions.md`. */
229
+ path: string;
230
+ /** Module name derived from the file's basename, e.g. `commissions`. */
231
+ module: string;
232
+ content: string;
214
233
  }
215
234
 
216
235
  /** One object's entry in the domain-knowledge manifest (fields, relationships, surfaces). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-types",
3
- "version": "0.40.21",
3
+ "version": "0.40.23",
4
4
  "description": "Shared type definitions for the HAVE SDK",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",