Skip to content

Commit 98116e7

Browse files
committed
chore: housekeeping
1 parent b00308e commit 98116e7

9 files changed

Lines changed: 1597 additions & 1571 deletions

File tree

apps/backend-convex/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,22 @@
2121
"@ai-sdk/google": "^1.2.22",
2222
"@ai-sdk/groq": "^1.2.9",
2323
"@ai-sdk/openai": "^1.3.23",
24-
"@convex-dev/rate-limiter": "^0.2.10",
24+
"@convex-dev/rate-limiter": "^0.2.11",
2525
"@convex-dev/sharded-counter": "^0.1.8",
26-
"@hono/zod-validator": "^0.7.0",
26+
"@hono/zod-validator": "^0.7.1",
2727
"@openrouter/ai-sdk-provider": "^0.7.2",
28-
"ai": "^4.3.17",
29-
"convex-helpers": "^0.1.96",
28+
"ai": "^4.3.19",
29+
"convex-helpers": "^0.1.99",
3030
"destr": "^2.0.5",
31-
"hono": "^4.8.4",
32-
"zod": "^3.25.75"
31+
"hono": "^4.8.5",
32+
"zod": "^3.25.76"
3333
},
3434
"devDependencies": {
3535
"@local/common": "workspace:*",
3636
"@local/locales": "workspace:*",
3737
"@local/tsconfig": "workspace:*",
3838
"@namesmt/utils": "^0.5.16",
39-
"convex": "^1.25.2",
39+
"convex": "^1.25.4",
4040
"kontroll": "^1.1.1",
4141
"vitest": "^3.2.4"
4242
}

apps/backend/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@
2626
"@local/locales": "workspace:*",
2727
"@local/tsconfig": "workspace:*",
2828
"@namesmt/utils": "^0.5.16",
29-
"@scalar/hono-api-reference": "^0.9.9",
29+
"@scalar/hono-api-reference": "^0.9.11",
3030
"@vitest/coverage-v8": "^3.2.4",
3131
"arktype": "^2.1.20",
3232
"backend-convex": "workspace:*",
33-
"convex": "^1.25.2",
34-
"hono": "^4.8.4",
33+
"convex": "^1.25.4",
34+
"hono": "^4.8.5",
3535
"hono-adapter-aws-lambda": "^1.3.3",
3636
"hono-openapi": "^0.4.8",
37-
"hono-sessions": "^0.7.3",
38-
"petite-vue-i18n": "^11.1.9",
37+
"hono-sessions": "^0.8.0",
38+
"petite-vue-i18n": "^11.1.10",
3939
"std-env": "^3.9.0",
4040
"tsdown": "^0.12.9",
4141
"vitest": "^3.2.4"

apps/frontend/app/components/chat/ChatSidebar.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ const isFetching = ref(false)
3434
3535
// Subscribe to Convex to sync threads
3636
if ($auth.loggedIn) {
37-
const { data: threadsFromConvex, isLoading: fetchingFromConvex } = useConvexQuery(api.threads.listByUser)
38-
watch(threadsFromConvex, _mergeToLocalThreads)
37+
const { data: threadsFromConvex, isPending: fetchingFromConvex } = useConvexQuery(api.threads.listByUser)
38+
watch(threadsFromConvex, tFC => tFC && _mergeToLocalThreads(tFC))
3939
watch(fetchingFromConvex, (fFC) => {
4040
isFetching.value = fFC
4141
})
@@ -57,8 +57,8 @@ if ($auth.loggedIn) {
5757
}
5858
// For anonymous users, subscribe to threads via sessionId
5959
else {
60-
const { data: threadsFromConvex, isLoading: fetchingFromConvex } = useConvexQuery(api.threads.listBySessionId, { sessionId: $init.sessionId })
61-
watch(threadsFromConvex, _mergeToLocalThreads)
60+
const { data: threadsFromConvex, isPending: fetchingFromConvex } = useConvexQuery(api.threads.listBySessionId, { sessionId: $init.sessionId })
61+
watch(threadsFromConvex, tFC => tFC && _mergeToLocalThreads(tFC))
6262
watch(fetchingFromConvex, (fFC) => {
6363
isFetching.value = fFC
6464
})

apps/frontend/package.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"dependencies": {
1818
"embla-carousel": "^8.6.0",
1919
"embla-carousel-vue": "^8.6.0",
20-
"lenis": "^1.3.4",
20+
"lenis": "^1.3.6",
2121
"lucide-vue-next": "^0.525.0",
2222
"reka-ui": "^2.3.2"
2323
},
@@ -34,8 +34,8 @@
3434
"@nuxtjs/i18n": "^9.5.6",
3535
"@nuxtjs/mdc": "0.17.0",
3636
"@nuxtjs/seo": "^3.1.0",
37-
"@tanstack/query-persist-client-core": "^5.81.5",
38-
"@tanstack/vue-query": "^5.81.5",
37+
"@tanstack/query-persist-client-core": "^5.83.0",
38+
"@tanstack/vue-query": "^5.83.0",
3939
"@unocss/nuxt": "^66.3.3",
4040
"@vueuse/core": "^13.5.0",
4141
"@vueuse/integrations": "^13.5.0",
@@ -46,15 +46,16 @@
4646
"backend-convex": "workspace:*",
4747
"class-variance-authority": "^0.7.1",
4848
"clsx": "^2.1.1",
49-
"convex": "^1.25.2",
50-
"convex-nuxt": "0.0.7",
49+
"convex": "^1.25.4",
50+
"convex-nuxt": "^0.1.5",
51+
"convex-vue": "npm:@namesmt/[email protected]",
5152
"dayjs": "^1.11.13",
5253
"destr": "^2.0.5",
5354
"h3-proxy": "^1.13.0",
54-
"hono": "^4.8.4",
55+
"hono": "^4.8.5",
5556
"idb-keyval": "^6.2.2",
5657
"kontroll": "^1.1.1",
57-
"nuxt": "^4.0.0-rc.0",
58+
"nuxt": "^4.0.0",
5859
"nuxt-booster": "^3.2.9",
5960
"nuxt-llms": "^0.1.3",
6061
"nuxt-svgo": "4.2.2",

locals/locales/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"postinstall": "tsx entry.ts"
1212
},
1313
"dependencies": {
14-
"petite-vue-i18n": "^11.1.9",
15-
"spreadsheet-i18n": "^0.3.7",
14+
"petite-vue-i18n": "^11.1.10",
15+
"spreadsheet-i18n": "^0.3.8",
1616
"vue": "^3.5.17"
1717
},
1818
"devDependencies": {

package.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "module",
44
"version": "3.0.0",
55
"private": true,
6-
"packageManager": "pnpm@10.12.4",
6+
"packageManager": "pnpm@10.13.1",
77
"engines": {
88
"node": ">=20.13.1"
99
},
@@ -25,23 +25,23 @@
2525
"std-env": "^3.9.0"
2626
},
2727
"devDependencies": {
28-
"@antfu/eslint-config": "^4.16.2",
28+
"@antfu/eslint-config": "^4.17.0",
2929
"@dotenvx/dotenvx": "1.11.4",
3030
"@namesmt/utils": "^0.5.16",
3131
"@types/aws-lambda": "^8.10.150",
32-
"@types/node": "^22.16.0",
32+
"@types/node": "^22.16.4",
3333
"@unocss/eslint-plugin": "^66.3.3",
34-
"eslint": "^9.30.1",
34+
"eslint": "^9.31.0",
3535
"frontend": "workspace:*",
3636
"lint-staged": "^16.1.2",
3737
"simple-git-hooks": "^2.13.0",
3838
"tsx": "^4.20.3",
39-
"turbo": "^2.5.4",
39+
"turbo": "^2.5.5",
4040
"typescript": "^5.8.3"
4141
},
4242
"pnpm": {
4343
"overrides": {
44-
"convex-vue": "npm:@namesmt/convex-vue@^0.1.1",
44+
"convex-vue": "npm:@namesmt/convex-vue@^0.1.5-fix",
4545
"is-arguments": "npm:@nolyfill/is-arguments@^1.0.44",
4646
"is-core-module": "npm:@nolyfill/is-core-module@^1.0.39",
4747
"is-generator-function": "npm:@nolyfill/is-generator-function@^1.0.44",
@@ -53,7 +53,6 @@
5353
"which-typed-array": "npm:@nolyfill/which-typed-array@^1.0.44"
5454
},
5555
"patchedDependencies": {
56-
"convex-nuxt": "patches/convex-nuxt.patch",
5756
"hono-sessions": "patches/hono-sessions.patch"
5857
}
5958
},

patches/convex-nuxt.patch

Lines changed: 0 additions & 54 deletions
This file was deleted.

patches/hono-sessions.patch

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
diff --git a/esm/src/Middleware.js b/esm/src/Middleware.js
2-
index 796251bef63cef5148a2ce24c924edc10f6c1dc2..65c8fb4661771fcba50079fcb525a328bb5c7cc0 100644
2+
index 52ecbc345c57a152f4ab5b131f70bc1a259e3375..81522df3c2b16b32e4e7ec5ba474778a5591334a 100644
33
--- a/esm/src/Middleware.js
44
+++ b/esm/src/Middleware.js
5-
@@ -21,6 +21,9 @@ export function sessionMiddleware(options) {
5+
@@ -33,6 +33,12 @@ export function sessionMiddleware(options) {
66
}
77
}
88
const middleware = createMiddleware(async (c, next) => {
99
+ if (typeof cookieOptions.expires === 'number')
10-
+ cookieOptions.expires = new Date(Date.now() + (cookieOptions.expires * 1000))
10+
+ globalThis.hsCExpires = cookieOptions.expires
11+
+
12+
+ if (globalThis.hsCExpires)
13+
+ cookieOptions.expires = new Date(Date.now() + (globalThis.hsCExpires * 1000))
1114
+
12-
const session = new Session;
15+
const session = new Session(expireAfterSeconds);
1316
let sid = '';
1417
let session_data;

0 commit comments

Comments
 (0)