@happyvertical/smrt-types 0.40.22 → 0.40.24
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.d.ts +19 -0
- 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). */
|