fix: stabilize notes and reasoning replay
This commit is contained in:
@@ -639,8 +639,10 @@ describe("doctor", () => {
|
||||
([message, title]) =>
|
||||
title === "Sandbox" &&
|
||||
typeof message === "string" &&
|
||||
message.includes('agents.list (id "work") sandbox docker') &&
|
||||
message.includes('scope resolves to "shared"'),
|
||||
message
|
||||
.replace(/\s+/g, " ")
|
||||
.includes('agents.list (id "work") sandbox docker') &&
|
||||
message.replace(/\s+/g, " ").includes('scope resolves to "shared"'),
|
||||
),
|
||||
).toBe(true);
|
||||
});
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
import fs from "node:fs";
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import {
|
||||
intro as clackIntro,
|
||||
outro as clackOutro,
|
||||
} from "@clack/prompts";
|
||||
import { intro as clackIntro, outro as clackOutro } from "@clack/prompts";
|
||||
import {
|
||||
resolveAgentWorkspaceDir,
|
||||
resolveDefaultAgentId,
|
||||
@@ -39,8 +36,8 @@ import { runGatewayUpdate } from "../infra/update-runner.js";
|
||||
import { runCommandWithTimeout } from "../process/exec.js";
|
||||
import type { RuntimeEnv } from "../runtime.js";
|
||||
import { defaultRuntime } from "../runtime.js";
|
||||
import { stylePromptTitle } from "../terminal/prompt-style.js";
|
||||
import { note } from "../terminal/note.js";
|
||||
import { stylePromptTitle } from "../terminal/prompt-style.js";
|
||||
import { sleep } from "../utils.js";
|
||||
import {
|
||||
DEFAULT_GATEWAY_DAEMON_RUNTIME,
|
||||
|
||||
Reference in New Issue
Block a user