mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-03 23:53:46 +00:00
feat: roolbac
This commit is contained in:
@@ -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[] }
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user