app: better session id handling

This commit is contained in:
Brendan Allan
2026-03-21 21:49:01 +08:00
parent fb6bf0b35e
commit cf3df010ce
17 changed files with 396 additions and 305 deletions

View File

@@ -1,9 +1,9 @@
import { Hono } from "hono"
import { DurableObject } from "cloudflare:workers"
import { randomUUID } from "node:crypto"
import { jwtVerify, createRemoteJWKSet } from "jose"
import { createAppAuth } from "@octokit/auth-app"
import { Octokit } from "@octokit/rest"
import { Hono } from "hono"
import { createRemoteJWKSet, jwtVerify } from "jose"
import { Resource } from "sst"
type Env = {