refactor(build): migrated imports to path aliases with per-package tsconfig support

- 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
This commit is contained in:
can1357
2026-01-23 11:45:11 +01:00
parent 06efb8bd72
commit 7b5af2dd9f
371 changed files with 1370 additions and 1162 deletions
@@ -2,10 +2,10 @@ import { afterEach, beforeEach, describe, expect, it, vi } from "bun:test";
import { mkdirSync, rmSync } from "node:fs";
import { tmpdir } from "node:os";
import { join } from "node:path";
import * as pythonExecutor from "../src/core/python-executor";
import * as pythonKernel from "../src/core/python-kernel";
import { createTools, type ToolSession } from "../src/core/tools/index";
import { PythonTool } from "../src/core/tools/python";
import * as pythonExecutor from "$c/core/python-executor";
import * as pythonKernel from "$c/core/python-kernel";
import { createTools, type ToolSession } from "$c/core/tools/index";
import { PythonTool } from "$c/core/tools/python";
function createSettings(overrides?: Partial<ToolSession["settings"]>): ToolSession["settings"] {
return {