v0.14.0
Minor Changes
-
e012ea0: Migrate
pathAccess.allowedPathsfrom a flatstring[](trailing-slash convention) to an explicit{ kind, path }discriminated array.filegrants match the exact path;directorygrants match the directory and its descendants.- Removes the implicit trailing-slash convention from config, storage, and runtime access matching.
- Fixes skill
baseDirgrants being matched as exact files instead of directory boundaries. - Adds migration
010-allowed-paths-objectsto convert existing string entries;009made format-agnostic so it no longer re-runs on migrated configs. - Settings UI
Allowed pathseditor now toggles kind per entry (Tab) instead of relying on trailing slashes. - Regenerates
schema.jsonwith the newAllowedPathdefinition. - Bumps
@aliou/pi-utils-settingsto^0.17.0and switches migrations to its built-inMigration.messagefield. Migration warnings now flow throughConfigLoader.drainMessages()instead of guardrails' manualaddPendingWarningqueue (which is retained only for non-migration warnings like invalid regex patterns). The001config-backup failure path drops toconsole.error.
Patch Changes
-
a7f2980: Bump
@aliou/pi-utils-settingsto^0.17.0and switch migration warnings to its built-inMigration.messagefield.- Migration warnings now flow through
ConfigLoader.drainMessages()(drained and rendered in thesession_starthandler) instead of guardrails' manualaddPendingWarningqueue. - The
001config-backup failure path drops toconsole.error(it fires on an error path, not a successful run, so it cannot use themessagefield). - Removes the now-unused
src/shared/warnings.tsmodule. Invalid-regex handling in pattern compilation silently matches nothing for now (TODO: surface viactx.ui.notifyonce compilation is pre-cached at setup).
- Migration warnings now flow through