Interface: PageType
Defined in: core/knowledgeStore.ts:10
A kind of page: the kit's four, or one an agent declares (AgentSpec.knowledgePageTypes).
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
description | string | What it holds and when to create one, in one line: told to the model. | core/knowledgeStore.ts:18 |
dir | string | Where a file store keeps its pages, relative to the knowledge folder; "" for the root. | core/knowledgeStore.ts:14 |
indexFields? | string[] | Frontmatter fields shown in the page's index line, e.g. ["mastery"]. | core/knowledgeStore.ts:22 |
indexSection | string | Its section in the index, e.g. "Concepts". | core/knowledgeStore.ts:16 |
template | string | The page's body skeleton (markdown, under its title), shown when one is created. | core/knowledgeStore.ts:20 |
type | string | Its name, lowercase: concept, topic. Page ids start with it. | core/knowledgeStore.ts:12 |