chore: integrate proman scaffold
CI / check (pull_request) Failing after 1m47s

- Add proman.yaml with 8 packages in dependency order
- Add @shazhou/proman as devDependency
- Replace root scripts: build/test/check/format → proman commands
- Keep typecheck script for standalone tsc --build

Fixes #27
This commit is contained in:
2026-06-04 03:09:31 +00:00
parent 7b4859594a
commit 90893b0aa8
70 changed files with 201 additions and 123 deletions
+12 -9
View File
@@ -1,12 +1,15 @@
import { beforeEach, describe, expect, test, vi } from 'vitest';
const { mockChatCompletionWithTools, mockAppendSessionTurn, mockExecuteBuiltinTool } = vi.hoisted(() => ({
mockChatCompletionWithTools: vi.fn(async () => ({
content: "---\nstatus: done\n---",
toolCalls: [],
})),
mockAppendSessionTurn: vi.fn(async () => {}),
mockExecuteBuiltinTool: vi.fn(async () => "tool-result"),
}));
import { beforeEach, describe, expect, test, vi } from "vitest";
const { mockChatCompletionWithTools, mockAppendSessionTurn, mockExecuteBuiltinTool } = vi.hoisted(
() => ({
mockChatCompletionWithTools: vi.fn(async () => ({
content: "---\nstatus: done\n---",
toolCalls: [],
})),
mockAppendSessionTurn: vi.fn(async () => {}),
mockExecuteBuiltinTool: vi.fn(async () => "tool-result"),
}),
);
vi.mock("../src/llm/index.js", () => ({
chatCompletionWithTools: mockChatCompletionWithTools,