wip(share): more styling

This commit is contained in:
Adam
2025-11-24 11:56:00 -06:00
parent 3fb57044d1
commit acf1dd8500
30 changed files with 266 additions and 192 deletions

View File

@@ -1,6 +1,6 @@
import z from "zod"
import { Bus } from "../bus"
import { NamedError } from "../util/error"
import { NamedError } from "@opencode-ai/util/error"
import { Message } from "./message"
import { APICallError, convertToModelMessages, LoadAPIKeyError, type ModelMessage, type UIMessage } from "ai"
import { Identifier } from "../id/id"

View File

@@ -1,5 +1,5 @@
import z from "zod"
import { NamedError } from "../util/error"
import { NamedError } from "@opencode-ai/util/error"
export namespace Message {
export const OutputLengthError = NamedError.create("MessageOutputLengthError", z.object({}))

View File

@@ -43,7 +43,7 @@ import { Command } from "../command"
import { $, fileURLToPath } from "bun"
import { ConfigMarkdown } from "../config/markdown"
import { SessionSummary } from "./summary"
import { NamedError } from "@/util/error"
import { NamedError } from "@opencode-ai/util/error"
import { fn } from "@/util/fn"
import { SessionProcessor } from "./processor"
import { TaskTool } from "@/tool/task"