Releases: johanneslatzel/llm-chat-workspace
Releases · johanneslatzel/llm-chat-workspace
Release list
v0.2.0
Breaking
deduplicate()mutatesaccessesin place and returnsvoidinstead of returning a newDirectoryConfiguration
Features
walk()throws when the root path does not exist or is not a directory;onErroronly fires for nested subdirectories- new
configgetter onWorkspaceexposes the liveDirectoryConfiguration
Internal
- add
check-line-limitsto the verify chain (check:linesscript, devDependency) - ESLint 9 to 10,
eslint-plugin-n17 to 18 - CI:
codecov/codecov-actionv6 to v7,actions/checkoutv4 to v7,actions/setup-pythonv5 to v7,actions/upload-pages-artifactv3 to v5 - dependency version bumps across devDependencies
Full Changelog: v0.1.1...v0.2.0
v0.1.1
Features
AccessPrecedencecontrols how duplicate accesses for the same directory are resolved:WriteWins(default, unchanged behavior) keeps write access over read,LastAddedWinslets the last supplied access win so a later read can downgrade an earlier writeDirectoryConfigurationaccepts aprecedenceoption and readsLLM_CHAT_WORKSPACE_PRECEDENCE; invalid values fall back towrite-winsdeduplicate()andWorkspace.addAccess()apply the configured precedence, andgetConfiguration()preserves itAccessPrecedenceis exported from the package entry point
Internal
- Mark the package
sideEffects: false - Refresh the docs and env reference; bump dev dependencies in the lockfile
Full Changelog: v0.1.0...v0.1.1
v0.1.0
initial release with:
Features
DirectoryConfigurationdefines read/write access to directories, via constructor arguments orLLM_CHAT_WORKSPACE_*env varsWorkspacetracks the active workspace path and enforces read/write access control on every path operationswitch_workspacetool changes the active workspace directory within configured accessible directoriesswitchWorkspace()is mutex-guarded, with an optional awaitedonSwitchhook- Optional symlink resolution blocks symlink-based path traversal outside configured directories
walk()recursively traverses directory trees, skipping configured names such asnode_modulesand.gitcanRead()andcanWrite()check a resolved path against the configured accesses;normalize()resolves paths against the current workspace
Full Changelog: https://github.com/johanneslatzel/llm-chat-workspace/commits/v0.1.0