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
@@ -1,4 +1,4 @@
import { describe, expect, test } from 'vitest';
import { describe, expect, test } from "vitest";
import type { LlmToolCall } from "../src/llm/types.js";
/** Mirror OpenAI response shape for parser coverage via chatCompletionWithTools integration later. */
+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,
@@ -1,5 +1,5 @@
import { describe, expect, test } from 'vitest';
import { resolve } from "node:path";
import { describe, expect, test } from "vitest";
import { resolvePath } from "../src/tools/path.js";
describe("resolvePath", () => {
@@ -1,5 +1,5 @@
import { describe, expect, test } from 'vitest';
import type { AgentContext } from "@united-workforce/util-agent";
import { describe, expect, test } from "vitest";
import { buildBuiltinMessages } from "../src/prompt.js";