7b5af2dd9f
- converted relative imports to path aliases ($c/*, $ai/*, $tui/*, etc.) across all packages - added per-package tsconfig.json with complete path mappings for runtime resolution - set importModuleSpecifier to non-relative for IDE auto-import preferences - updated dev script to run from monorepo root for consistent path resolution
18 lines
487 B
TypeScript
18 lines
487 B
TypeScript
import { describe, expect, it } from "bun:test";
|
|
import { buildSystemPrompt } from "$c/core/system-prompt";
|
|
|
|
describe("buildSystemPrompt", () => {
|
|
it("includes python tool details when enabled", async () => {
|
|
const prompt = await buildSystemPrompt({
|
|
cwd: "/tmp",
|
|
toolNames: ["python"],
|
|
contextFiles: [],
|
|
skills: [],
|
|
rules: [],
|
|
});
|
|
|
|
expect(prompt).toContain("**python:** stateful scripting and REPL work");
|
|
expect(prompt).toContain("What python IS for");
|
|
});
|
|
});
|