Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

add: helpful commands to justfile

Shubham Naik0f883e7c5387
diff --git a/project.json b/project.json
new file mode 100644
index 000000000..9fbcd3a96
--- /dev/null
+++ b/project.json
@@ -0,0 +1,75 @@
+{
+ "name": "core",
+ "$schema": "../../node_modules/nx/schemas/project-schema.json",
+ "projectType": "application",
+ "sourceRoot": "apps/core",
+ "targets": {
+ "lock": {
+ "executor": "@nxlv/python:run-commands",
+ "options": {
+ "command": "poetry lock --no-update",
+ "cwd": "apps/core"
+ }
+ },
+ "add": {
+ "executor": "@nxlv/python:add",
+ "options": {}
+ },
+ "update": {
+ "executor": "@nxlv/python:update",
+ "options": {}
+ },
+ "remove": {
+ "executor": "@nxlv/python:remove",
+ "options": {}
+ },
+ "dev": {
+ "executor": "@nxlv/python:run-commands",
+ "options": {
+ "command": "poetry run letta server",
+ "cwd": "apps/core"
+ }
+ },
+ "build": {
+ "executor": "@nxlv/python:build",
+ "outputs": ["{projectRoot}/dist"],
+ "options": {
+ "outputPath": "apps/core/dist",
+ "publish": false,
+ "lockedVersions": true,
+ "bundleLocalDependencies": true
+ }
+ },
+ "install": {
+ "executor": "@nxlv/python:run-commands",
+ "options": {
+ "command": "poetry install --all-extras",
+ "cwd": "apps/core"
+ }
+ },
+ "database:migrate": {
+ "executor": "@nxlv/python:run-commands",
+ "options": {
+ "command": "poetry run alembic upgrade head",
+ "cwd": "apps/core"
+ }
+ },
+ "test": {
+ "executor": "@nxlv/python:run-commands",
+ "outputs": [
+ "{workspaceRoot}/reports/apps/core/unittests",
+ "{workspaceRoot}/coverage/apps/core"
+ ],
+ "options": {
+ "command": "poetry run pytest tests/",
+ "cwd": "apps/core"
+ }
+ }
+ },
+ "tags": [],
+ "release": {
+ "version": {
+ "generator": "@nxlv/python:release-version"
+ }
+ }
+}