npm i -g yarn
)Local Server
, load the model and Start Server
.src/config.ts
to use OpenAI APIyarn
to install the dependenciesyarn start
to start the API that will interact with the modelApi.ts
so that the development section is easier to extend, and each action is in a separate file.GetTree
action that will return a tree of the filesystem at the given path.WriteTaskList
action ability to edit an already established project.TaskList
was successful or not. If it's not successful, it will try to run the action again.If you would like to add a new action for the model, follow these steps:
For adding action AbcdAction:
./src/domain/contexts/AbcdAction
.src/domain/actions/index.ts
.src/domain/actions/AbcdAction.ts
with a function AbcdAction
that will return StandardAction
instance.src/domain/actions/ListDirs.ts
.src/domain/actions/WriteFile.ts
.src/domain/Api.ts
,src/main.ts
to handle the action. Add return data if the action returns something.src/domain/contexts/WriteTaskList
context.Generated using TypeDoc