Skip to content

Commit 92395c8

Browse files
committed
Bleed chat template dependencies
1 parent 1b67664 commit 92395c8

10 files changed

Lines changed: 63 additions & 59 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
- [2025-12-19] [Bleed chat template dependencies](https://github.com/rubriclab/create-rubric-app/commit/23782eb6f316061dc679883e0c230a87f1889fe9)
12
- [2025-09-23] [Add README](https://github.com/rubriclab/create-rubric-app/commit/33744bf670bfac43cfbcaf9859d0df1e4e0629a4)
23
- [2025-08-26] [commit .env.example](https://github.com/RubricLab/create-rubric-app/commit/bb94b9bff4d1a2eb3046a51b326fffef7989ffc1)
34
- [2025-08-26] [deps](https://github.com/RubricLab/create-rubric-app/commit/aa2d10a324a334ec2f19a2f1bf195f90d648d46f)

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { existsSync } from 'node:fs'
44
import path from 'node:path'
55
import { createCLI, createCommand } from '@rubriclab/cli'
66
import { $ } from 'bun'
7-
import { z } from 'zod/v4'
7+
import { z } from 'zod'
88

99
const initCommand = createCommand({
1010
args: z.object({

package.json

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
11
{
2-
"bin": {
3-
"create-rubric-app": "./index.ts"
4-
},
5-
"dependencies": {
6-
"@rubriclab/cli": "*"
7-
},
8-
"devDependencies": {
9-
"@rubriclab/config": "*",
10-
"@rubriclab/package": "*"
11-
},
12-
"homepage": "https://github.com/RubricLab/create-rubric-app#readme",
13-
"keywords": [
14-
"agent",
15-
"ai",
16-
"create",
17-
"rubric"
18-
],
19-
"license": "gonuts",
20-
"name": "create-rubric-app",
21-
"repository": {
22-
"type": "git",
23-
"url": "https://github.com/RubricLab/create-rubric-app.git"
24-
},
25-
"scripts": {
26-
"bleed": "bun x npm-check-updates -u",
27-
"check": "bun x biome check .",
28-
"clean": "rm -rf .next && rm -rf node_modules",
29-
"format": "bun x biome check --write .",
30-
"prepare": "bun x @rubriclab/package prepare"
31-
},
32-
"simple-git-hooks": {
33-
"post-commit": "bun x @rubriclab/package post-commit"
34-
},
35-
"version": "1.6.26"
2+
"bin": {
3+
"create-rubric-app": "./index.ts"
4+
},
5+
"dependencies": {
6+
"@rubriclab/cli": "*"
7+
},
8+
"devDependencies": {
9+
"@rubriclab/config": "*",
10+
"@rubriclab/package": "*"
11+
},
12+
"homepage": "https://github.com/RubricLab/create-rubric-app#readme",
13+
"keywords": [
14+
"agent",
15+
"ai",
16+
"create",
17+
"rubric"
18+
],
19+
"license": "gonuts",
20+
"name": "create-rubric-app",
21+
"repository": {
22+
"type": "git",
23+
"url": "https://github.com/RubricLab/create-rubric-app.git"
24+
},
25+
"scripts": {
26+
"bleed": "bun x npm-check-updates -u",
27+
"check": "bun x biome check .",
28+
"clean": "rm -rf .next && rm -rf node_modules",
29+
"format": "bun x biome check --write .",
30+
"prepare": "bun x @rubriclab/package prepare"
31+
},
32+
"simple-git-hooks": {
33+
"post-commit": "bun x @rubriclab/package post-commit"
34+
},
35+
"version": "1.6.27"
3636
}

templates/chat/.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,7 @@ yarn-error.log*
3333

3434
# bun
3535
bun.lockb
36-
bun.lock
36+
bun.lock
37+
38+
# prisma
39+
generated

templates/chat/next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3-
/// <reference path="./.next/types/routes.d.ts" />
3+
import "./.next/dev/types/routes.d.ts";
44

55
// NOTE: This file should not be edited
66
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

templates/chat/package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
{
22
"dependencies": {
3-
"@prisma/client": "^6.14.0",
4-
"@rubriclab/agents": "^0.0.58",
5-
"@rubriclab/auth": "^0.0.50",
6-
"@rubriclab/events": "^0.0.37",
7-
"@t3-oss/env-nextjs": "^0.13.8",
8-
"dotenv": "^17.2.1",
9-
"next": "^15.5.1",
10-
"react": "^19.1.1",
11-
"react-dom": "^19.1.1"
3+
"@prisma/client": "6.19.1",
4+
"@rubriclab/agents": "0.0.82",
5+
"@rubriclab/auth": "0.0.55",
6+
"@rubriclab/events": "0.0.38",
7+
"@t3-oss/env-nextjs": "0.13.10",
8+
"dotenv": "17.2.3",
9+
"next": "16.1.0",
10+
"prisma": "6.19.1",
11+
"react": "19.2.3",
12+
"react-dom": "19.2.3",
13+
"zod": "4.2.1"
1214
},
1315
"description": "This project was bootstrapped with create-rubric-app",
1416
"devDependencies": {
15-
"@rubriclab/config": "^0.0.22",
16-
"@types/node": "^24.3.0",
17-
"@types/react": "^19.1.11",
18-
"@types/react-dom": "^19.1.8",
19-
"prisma": "^6.14.0",
20-
"typescript": "^5.9.2",
21-
"zod": "^4.1.3"
17+
"@rubriclab/config": "0.0.24",
18+
"@types/node": "25.0.3",
19+
"@types/react": "19.2.7",
20+
"@types/react-dom": "19.2.3",
21+
"typescript": "5.9.3"
2222
},
2323
"license": "go nuts",
2424
"name": "my-app",

templates/chat/src/lib/agents/todo.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createAgent, createResponseFormat, noTabs } from '@rubriclab/agents'
2-
import { z } from 'zod/v4'
2+
import { z } from 'zod'
33
import createTodo from '~/tools/createTodo'
44
import getTodoList from '~/tools/getTodoList'
55

@@ -17,7 +17,7 @@ const systemPrompt = noTabs`
1717
`
1818

1919
const { executeAgent, eventTypes, __ToolEvent, __ResponseEvent } = createAgent({
20-
model: 'gpt-4.1-mini',
20+
model: 'gpt-5.2',
2121
responseFormat,
2222
systemPrompt,
2323
tools: {

templates/chat/src/lib/env.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createEnv } from '@t3-oss/env-nextjs'
2-
import z from 'zod'
2+
import { z } from 'zod'
33

44
export default createEnv({
55
client: {
@@ -14,6 +14,6 @@ export default createEnv({
1414
GITHUB_CLIENT_SECRET: z.string().min(1),
1515
NODE_ENV: z.string(),
1616
OPENAI_API_KEY: z.string().min(1),
17-
UPSTASH_REDIS_URL: z.string().min(1)
17+
REDIS_URL: z.string().min(1)
1818
}
1919
})

templates/chat/src/lib/tools/createTodo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createTool } from '@rubriclab/agents'
2-
import z from 'zod/v4'
2+
import { z } from 'zod'
33
import db from '~/db'
44

55
export default createTool({

templates/chat/src/lib/tools/getTodoList.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createTool } from '@rubriclab/agents'
2-
import z from 'zod/v4'
2+
import { z } from 'zod'
33
import db from '~/db'
44

55
export default createTool({

0 commit comments

Comments
 (0)