feat: roolbac

This commit is contained in:
Gab
2026-03-24 15:06:34 +11:00
parent 7c015708cb
commit ff2d13015d
23 changed files with 1847 additions and 203 deletions

View File

@@ -5,9 +5,9 @@ import { IconArrowDown } from "./icons"
import { IconOpencode } from "./icons/custom"
import { ShareI18nProvider, formatCurrency, formatNumber, normalizeLocale } from "./share/common"
import styles from "./share.module.css"
import type { MessageV2 } from "opencode/session/message-v2"
import type { Message } from "opencode/session/message"
import type { Session } from "opencode/session/index"
import type { MessageV2 } from "tfcode/session/message-v2"
import type { Message } from "tfcode/session/message"
import type { Session } from "tfcode/session/index"
import { Part, ProviderIcon } from "./share/part"
type MessageWithParts = MessageV2.Info & { parts: MessageV2.Part[] }

View File

@@ -27,7 +27,7 @@ import { ContentBash } from "./content-bash"
import { ContentError } from "./content-error"
import { formatCount, formatDuration, formatNumber, normalizeLocale, useShareMessages } from "../share/common"
import { ContentMarkdown } from "./content-markdown"
import type { MessageV2 } from "opencode/session/message-v2"
import type { MessageV2 } from "tfcode/session/message-v2"
import type { Diagnostic } from "vscode-languageserver-types"
import styles from "./part.module.css"

View File

@@ -1,7 +1,7 @@
---
import { Base64 } from "js-base64"
import StarlightPage from "@astrojs/starlight/components/StarlightPage.astro"
import type { Session } from "opencode/session/index"
import type { Session } from "tfcode/session/index"
import config from "../../../config.mjs"
import Share from "../../components/Share.tsx"