Engine

Covers Engine 2.0.0

Projects and Files

Open projects and work with their files, directories, and project metadata.

OperationDescription
dartwic/delete-fileDeletes one file, one empty directory, or a resource group containing only its own file and empty nested directories.
dartwic/get-directory-treeReturns a recursive directory tree rooted at a workspace resource directory.
dartwic/get-fileReads a text file and optionally creates it when missing.
dartwic/move-fileMoves a file or directory to a new path within the selected root.
dartwic/projects/check-portabilityChecks declared dependencies and JSON resources in the active project.
dartwic/projects/createCreates a project and makes it available to the engine.
dartwic/projects/get-activeReturns the active project.
dartwic/projects/listLists available projects.
dartwic/projects/renameRenames an existing project.
dartwic/projects/selectSelects the active project loaded by the engine.
dartwic/rename-fileRenames a file or directory without changing its parent directory.
dartwic/save-fileWrites a file or creates a directory below a workspace root.
dartwic/search-filesSearches file names, paths, and optionally text content in the active project.
dartwic/search-files/startStarts a detached job that searches project files.
dartwic/settings/configureWrites workspace/project overrides, or resets JSON pointers to inheritance.
dartwic/settings/getReads portable policy and its source scopes.
project/actions/applyApplies an action with refreshed evidence, serializing it behind active actions.
project/actions/cancelCancels queued actions immediately or requests cancellation at the next safe running step. Current work finishes before stopping; rename recovery restores prior state and completed deletions are retained and saved.
project/actions/createCreates a reviewed project operation.
project/actions/dismissDismisses a persisted project action.
project/actions/listLists persisted project actions and their current step status.
project/actions/updateRechecks a project action and optionally changes its rename destination.