All test/demo VL projects used for workflow testing or feature verification live under:
~/Documents/VLProjects/_tests/
├── AdjustTest/ ← adjustment workflow test project
│ ├── Config/
│ │ └── ProjectConfig
│ ├── Apps/
│ ├── Sections/
│ ├── Services/
│ ├── Database/
│ ├── Theme/
│ └── .vl-code/
│ └── ProjectMeta.json
├── CompileTest/ ← compile workflow test
└── ...
~/Documents/VLProjects/_tests/ — test-only projects, not productionTest for clarityAI Assistant can create, switch, and list workspaces via the WorkspaceManager tool. The left-side file tree syncs automatically after any create/switch operation.
| Action | Parameters | Description |
|---|---|---|
| create | projectName, parentDir?, autoSwitch? | Scaffold new VL project, add to workspace list, auto-switch |
| switch | dirPath | Switch active workspace, file tree + tabs update |
| list | (none) | List all registered workspaces |
MyApp, not my-app or 我的应用)~/Documents/VLProjects for production, ~/Documents/VLProjects/_tests for test projectstrue — after creation, workspace switches and file tree updates immediatelyApps/, Sections/, ExtComponents/, Services/, Database/, Theme/, Config/, .vl-code/# Create test project (AI tool call)
WorkspaceManager({ action: "create", projectName: "AdjustTest", parentDir: "~/Documents/VLProjects/_tests" })
# Switch to existing project
WorkspaceManager({ action: "switch", dirPath: "/Users/ivx/Documents/VLProjects/SmartCampus" })
# List all workspaces
WorkspaceManager({ action: "list" })
VLCode-Lite provides multiple adjustment workflows via the VLAdjust tool:
| Workflow | JSON File | Use Case |
|---|---|---|
| add-page | add-page.json | Add a new page/section/route |
| add-service | add-service.json | Add a new backend service domain |
| theme-customize | theme-customize.json | Modify theme tokens |
| general | incremental-update.json | General modifications (meta diff → regen) |
| add-feature | feature-adjust.json | Add feature to existing page (button, form, chart) |
| modify-data | data-adjust.json | Add/modify database fields with cascade |
| batch | batch-adjust.json | Multiple small adjustments in one pass |
bin/vlcode-lite.jssrc/tools/ (factory pattern, registered in src/tools/index.js).vl-code/workflows/ (runtime JSON currently 3.16; canonical spec doc is DocCenter Path 3, VL Workflow Spec 3.18)