Creates an empty pack owned by this user, and enables it.
Enabling is part of creating because a pack the user just made and cannot see is a bug report. Tool code is never part of this: a user pack can grant tools the host has registered, but only the host installs the code.
The new pack's name
Optionaltitle: string
Optional display name
The created pack
Deletes a pack this user owns.
Only ever their own directory. Agents and rooms already created from the pack are untouched and stay visible — they carry the pack's name, and a name with no pack behind it is treated as visible rather than hidden, so deleting a pack never makes a user's own work disappear.
The pack to delete
The packs this user has enabled, as a thunk-friendly snapshot.
Filtered to packs that are actually installed, so a name left behind by a pack the host removed does not make the resolver stat a directory that will never exist. The name stays in the config, so reinstalling brings it back.
Enabled pack names, sorted
Every pack name on disk, host and user, deduped.
Whether something stamped with this pack name should be listed.
An item with no pack is always visible, and so is one naming a pack that is not installed — otherwise deleting a pack would hide the user's own agents and rooms rather than just the templates they came from.
OptionalpackName: string
The pack stamped on the item, if any
True when the item should appear in a listing
Lists every installed pack with this user's view of it.
The packs, sorted by title
Native tool names the process has registered, for the missing-tool warning.