feat(FN-2902): merge fusion/fn-2902
- feat(FN-2902): complete Step 6 — address review feedback - test(FN-2902): stabilize bundle-output assertions for pi-claude-cli - test(FN-2902): complete Step 4 — cover grouped tool-call rendering - feat(FN-2902): complete Step 3 — add grouped tool-call styles - feat(FN-2902): complete Step 2 — group multiple tool calls in QuickChatFAB - feat(FN-2902): complete Step 1 — group multiple tool calls in ChatView - chore(release): v0.8.3 - Update changeset - fix(tui): swap 3/4 panel hotkeys so they match the help text - fix(tui): always show auth token and report accurate macOS memory usage - chore(release): v0.8.2 - feat(FN-2895): merge fusion/fn-2895 - fix(cli): validate agentId in fn_task_create/update and unblock bundle tests Fusion-Task-Id: FN-2902
This commit is contained in:
@@ -116,20 +116,16 @@ describe("CLI bundle output", () => {
|
||||
expect(existsSync(join(stagedRoot, "src", "process-manager.ts"))).toBe(true);
|
||||
});
|
||||
|
||||
it("pi-claude-cli source imports spawn from node:child_process", () => {
|
||||
it("pi-claude-cli source imports child process helpers from node:child_process", () => {
|
||||
const processManagerSource = readFileSync(join(cliRoot, "dist", "pi-claude-cli", "src", "process-manager.ts"), "utf-8");
|
||||
|
||||
expect(processManagerSource).toMatch(/import\s+\{[^}]*\bspawn\b[^}]*\}\s+from\s*["']node:child_process["']/);
|
||||
});
|
||||
|
||||
it("pi-claude-cli package.json does not require cross-spawn dependency", () => {
|
||||
const packageJson = JSON.parse(
|
||||
readFileSync(join(cliRoot, "dist", "pi-claude-cli", "package.json"), "utf-8"),
|
||||
) as {
|
||||
dependencies?: Record<string, string>;
|
||||
};
|
||||
it("pi-claude-cli source does not import cross-spawn directly", () => {
|
||||
const processManagerSource = readFileSync(join(cliRoot, "dist", "pi-claude-cli", "src", "process-manager.ts"), "utf-8");
|
||||
|
||||
expect(packageJson.dependencies?.["cross-spawn"]).toBeUndefined();
|
||||
expect(processManagerSource).not.toMatch(/from\s*["']cross-spawn["']/);
|
||||
});
|
||||
|
||||
it("runtime native assets are staged after build:exe", () => {
|
||||
|
||||
Reference in New Issue
Block a user