Skip to content

Commit e49f74f

Browse files
committed
agent flag
1 parent 1e7ecb8 commit e49f74f

File tree

4 files changed

+22
-7
lines changed

4 files changed

+22
-7
lines changed

apps/dashboard/components/layout/navigation/navigation-config.tsx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import {
2828
ReceiptIcon,
2929
RepeatIcon,
3030
RoadHorizonIcon,
31+
RobotIcon,
3132
ShieldCheckIcon,
3233
SpeakerHighIcon,
3334
TargetIcon,
@@ -273,12 +274,13 @@ export const websiteNavigation: NavigationSection[] = [
273274
rootLevel: false,
274275
gatedFeature: GATED_FEATURES.FEATURE_FLAGS,
275276
}),
276-
// createNavItem("AI Agent", RobotIcon, "/agent", {
277-
// alpha: true,
278-
// rootLevel: false,
279-
// tag: "WIP",
280-
// gatedFeature: GATED_FEATURES.AI_AGENT,
281-
// }),
277+
createNavItem("AI Agent", RobotIcon, "/agent", {
278+
alpha: true,
279+
rootLevel: false,
280+
tag: "WIP",
281+
flag: "agent",
282+
gatedFeature: GATED_FEATURES.AI_AGENT,
283+
}),
282284
]),
283285
createNavSection(
284286
"Pulse",

apps/dashboard/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
"@radix-ui/react-use-controllable-state": "^1.2.2",
3535
"@tanstack/react-query": "^5.90.11",
3636
"@tanstack/react-table": "^8.21.3",
37+
"@orpc/client": "^1.12.2",
38+
"@orpc/tanstack-query": "^1.12.2",
3739
"@types/d3-scale": "^4.0.9",
3840
"@types/geojson": "^7946.0.16",
3941
"@types/leaflet": "^1.9.21",
@@ -67,6 +69,7 @@
6769
"react-day-picker": "^9.11.1",
6870
"react-dom": "catalog:",
6971
"react-hook-form": "^7.65.0",
72+
"react-hotkeys-hook": "^5.2.1",
7073
"react-image-crop": "^11.0.10",
7174
"react-leaflet": "^5.0.0",
7275
"react-resizable-panels": "^3.0.6",

bun.lock

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@
109109
"name": "admin",
110110
"version": "0.1.0",
111111
"dependencies": {
112+
"@clickhouse/client": "catalog:",
112113
"@databuddy/db": "workspace:*",
113114
"@databuddy/env": "workspace:*",
114115
"@databuddy/redis": "workspace:*",
@@ -201,6 +202,8 @@
201202
"@databuddy/shared": "workspace:*",
202203
"@hello-pangea/dnd": "^18.0.1",
203204
"@hookform/resolvers": "^5.2.2",
205+
"@orpc/client": "^1.12.2",
206+
"@orpc/tanstack-query": "^1.12.2",
204207
"@phosphor-icons/react": "^2.1.10",
205208
"@radix-ui/react-avatar": "^1.1.10",
206209
"@radix-ui/react-collapsible": "^1.1.12",
@@ -250,6 +253,7 @@
250253
"react-day-picker": "^9.11.1",
251254
"react-dom": "catalog:",
252255
"react-hook-form": "^7.65.0",
256+
"react-hotkeys-hook": "^5.2.1",
253257
"react-image-crop": "^11.0.10",
254258
"react-leaflet": "^5.0.0",
255259
"react-resizable-panels": "^3.0.6",
@@ -446,6 +450,7 @@
446450
"dependencies": {
447451
"@databuddy/db": "workspace:*",
448452
"csv-parse": "^6.1.0",
453+
"drizzle-orm": "catalog:",
449454
"zod": "catalog:",
450455
},
451456
"devDependencies": {
@@ -4129,6 +4134,8 @@
41294134

41304135
"@databuddy/env/zod": ["[email protected]", "", {}, "sha512-JInaHOamG8pt5+Ey8kGmdcAcg3OL9reK8ltczgHTAwNhMys/6ThXHityHxVV2p3fkw/c+MAvBHFVYHFZDmjMCQ=="],
41314136

4137+
"@databuddy/mapper/@types/bun": ["@types/[email protected]", "", { "dependencies": { "bun-types": "1.3.4" } }, "sha512-EEPTKXHP+zKGPkhRLv+HI0UEX8/o+65hqARxLy8Ov5rIxMBPNTjeZww00CIihrIQGEQBYg+0roO5qOnS/7boGA=="],
4138+
41324139
"@databuddy/mapper/zod": ["[email protected]", "", {}, "sha512-JInaHOamG8pt5+Ey8kGmdcAcg3OL9reK8ltczgHTAwNhMys/6ThXHityHxVV2p3fkw/c+MAvBHFVYHFZDmjMCQ=="],
41334140

41344141
"@databuddy/redis/@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-ZsJzA5thDQMSQO788d7IocwwQbI8B5OPzmqNvpf3NY/+MHDAS759Wo0gd2WQeXYt5AAAQjzcrTVC6SKCuYgoCQ=="],
@@ -4449,6 +4456,8 @@
44494456

44504457
"accepts/negotiator": ["[email protected]", "", {}, "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg=="],
44514458

4459+
"admin/@types/bun": ["@types/[email protected]", "", { "dependencies": { "bun-types": "1.3.4" } }, "sha512-EEPTKXHP+zKGPkhRLv+HI0UEX8/o+65hqARxLy8Ov5rIxMBPNTjeZww00CIihrIQGEQBYg+0roO5qOnS/7boGA=="],
4460+
44524461
"admin/@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-ZsJzA5thDQMSQO788d7IocwwQbI8B5OPzmqNvpf3NY/+MHDAS759Wo0gd2WQeXYt5AAAQjzcrTVC6SKCuYgoCQ=="],
44534462

44544463
"admin/drizzle-orm": ["[email protected]", "", { "peerDependencies": { "@aws-sdk/client-rds-data": ">=3", "@cloudflare/workers-types": ">=4", "@electric-sql/pglite": ">=0.2.0", "@libsql/client": ">=0.10.0", "@libsql/client-wasm": ">=0.10.0", "@neondatabase/serverless": ">=0.10.0", "@op-engineering/op-sqlite": ">=2", "@opentelemetry/api": "^1.4.1", "@planetscale/database": ">=1.13", "@prisma/client": "*", "@tidbcloud/serverless": "*", "@types/better-sqlite3": "*", "@types/pg": "*", "@types/sql.js": "*", "@upstash/redis": ">=1.34.7", "@vercel/postgres": ">=0.8.0", "@xata.io/client": "*", "better-sqlite3": ">=7", "bun-types": "*", "expo-sqlite": ">=14.0.0", "gel": ">=2", "knex": "*", "kysely": "*", "mysql2": ">=2", "pg": ">=8", "postgres": ">=3", "sql.js": ">=1", "sqlite3": ">=5" }, "optionalPeers": ["@aws-sdk/client-rds-data", "@cloudflare/workers-types", "@electric-sql/pglite", "@libsql/client", "@libsql/client-wasm", "@neondatabase/serverless", "@op-engineering/op-sqlite", "@opentelemetry/api", "@planetscale/database", "@prisma/client", "@tidbcloud/serverless", "@types/better-sqlite3", "@types/pg", "@types/sql.js", "@upstash/redis", "@vercel/postgres", "@xata.io/client", "better-sqlite3", "bun-types", "expo-sqlite", "gel", "knex", "kysely", "mysql2", "pg", "postgres", "sql.js", "sqlite3"] }, "sha512-quIpnYznjU9lHshEOAYLoZ9s3jweleHlZIAWR/jX9gAWNg/JhQ1wj0KGRf7/Zm+obRrYd9GjPVJg790QY9N5AQ=="],

packages/mapper/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"dependencies": {
1616
"csv-parse": "^6.1.0",
1717
"zod": "catalog:",
18-
"@databuddy/db": "workspace:*"
18+
"@databuddy/db": "workspace:*",
19+
"drizzle-orm": "catalog:"
1920
}
2021
}

0 commit comments

Comments
 (0)