mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-20 09:32:19 +00:00
fix(tui): minor logging cleanup (#22924)
This commit is contained in:
parent
ae584332b3
commit
86c54c5acc
2 changed files with 0 additions and 3 deletions
|
|
@ -41,9 +41,7 @@ export async function openWorkspaceSession(input: {
|
|||
workspaceID: input.workspaceID,
|
||||
})
|
||||
|
||||
console.log("opening!")
|
||||
while (true) {
|
||||
console.log("creating")
|
||||
const result = await client.session.create({ workspace: input.workspaceID }).catch((err) => {
|
||||
log.error("workspace session create request failed", {
|
||||
workspaceID: input.workspaceID,
|
||||
|
|
|
|||
|
|
@ -492,7 +492,6 @@ export const { use: useSync, provider: SyncProvider } = createSimpleContext({
|
|||
return last.time.completed ? "idle" : "working"
|
||||
},
|
||||
async sync(sessionID: string) {
|
||||
console.log("YO", sessionID, fullSyncedSessions.has(sessionID))
|
||||
if (fullSyncedSessions.has(sessionID)) return
|
||||
const [session, messages, todo, diff] = await Promise.all([
|
||||
sdk.client.session.get({ sessionID }, { throwOnError: true }),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue