Skip to content

Feature/v2/dbml #72

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: feature/v2/train
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@
[submodule "characters"]
path = characters
url = https://github.com/meta-introspector/characters-eliza-zos
[submodule "vendor/drizzle/drizzle-dbml-generator"]
path = vendor/drizzle/drizzle-dbml-generator
url = https://github.com/meta-introspector/drizzle-dbml-generator
926 changes: 572 additions & 354 deletions bun.lock

Large diffs are not rendered by default.

Empty file added data/get.sh
Empty file.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,15 @@
"@babel/generator": "^7.26.10",
"@hapi/shot": "^6.0.1",
"@types/hapi": "^18.0.14",
"@types/hapi__shot": "^6.0.0",
"node-opus": "^0.3.3",
"opusscript": "^0.1.1",
"vittest": "^1.0.2",
"zod": "3.24.1"
},
"packageManager": "[email protected]",
"workspaces": [
"packages/*"
"packages/*",
"vendor/drizzle/*"
],
"module": "index.ts",
"type": "module",
Expand Down
8 changes: 8 additions & 0 deletions packages/cli/drizzle/migrations/0001_overjoyed_network.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ALTER TABLE "memories" DROP CONSTRAINT "fk_agent";
--> statement-breakpoint
ALTER TABLE "agents" ALTER COLUMN "enabled" SET DEFAULT true;--> statement-breakpoint
ALTER TABLE "tasks" ALTER COLUMN "agent_id" DROP NOT NULL;--> statement-breakpoint
ALTER TABLE "memories" ADD CONSTRAINT "fk_agent" FOREIGN KEY ("agentId") REFERENCES "public"."agents"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "tasks" ADD CONSTRAINT "tasks_room_id_rooms_id_fk" FOREIGN KEY ("room_id") REFERENCES "public"."rooms"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "tasks" ADD CONSTRAINT "tasks_world_id_worlds_id_fk" FOREIGN KEY ("world_id") REFERENCES "public"."worlds"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "tasks" ADD CONSTRAINT "tasks_agent_id_agents_id_fk" FOREIGN KEY ("agent_id") REFERENCES "public"."agents"("id") ON DELETE cascade ON UPDATE no action;
Loading