A TaskWeaver project is a directory created by the user that stores configuration, plugins, logs, and workspace data. A TaskWeaverApp instance is associated with this folder.
Key components include:
taskweaver_config.json: The primary configuration file for the project.plugins/: Directory for storing custom plugins.logs/: Directory for program logs (generated automatically).examples/: Contains planner_examples and code_generator_examples.workspace/: Stores session data, including the Code Execution Service (CES) folder and the Current Working Directory (CWD) folder (generated automatically).
Important for Local Mode: When running in local mode, the workspace/<session_id>/cwd folder acts as the base directory for loading files from your local file system. Any files generated by code execution will be stored within this CWD folder.
📦project
┣ 📜taskweaver_config.json # the project configuration file for TaskWeaver
┣ 📂plugins # the folder to store plugins
┣ 📂logs # the folder to store logs, will be generated after program starts
┣ 📂examples
┣ 📂planner_examples # the folder to store planner examples
┗ 📂code_generator_examples # the folder to store code generator examples
┗ 📂workspace # the directory stores session data, will be generated after program starts
┗ 📂 session_id
┣ 📂ces # the folder used by the code execution service
┣ 📂cwd # the current working directory to run the generated code
┗ other session data