Documentation
¶
Overview ¶
Package folder is the folder connector (docs/connectors.md, «Folder»): a folder of the machine inside the person's home, an Obsidian vault among them, watched for files created, changed and removed. Changes become file.changed envelopes (the relative path, what changed, the size: never the text), debounced and joined into batches; an Obsidian vault also gives note.created for a new note and note.task for a new open task with a date. The agent reads the changes of a period, a file and a search of the folder, all marked as data, not instructions. There is no action outward: writing into the folder is the agent's ordinary work with files.
Index ¶
Constants ¶
const ( EventChanged = "file.changed" EventNoteCreated = "note.created" EventNoteTask = "note.task" )
Event types.
const ( PresetPlain = "plain" PresetObsidian = "obsidian" )
Presets.
const ID = "folder"
ID names the connector.
Variables ¶
var Home = os.UserHomeDir
Home is where a watched folder must be; the runtime may set it to the person's home of a profile.
Functions ¶
This section is empty.
Types ¶
This section is empty.