build(deps): refactored TypeScript and package configuration across monorepo

- Added tsconfig.publish.json files to all packages with optimized publish-time configuration.
- Updated all package.json scripts with prepublishOnly hooks for correct type checking during publish.
- Added @oh-my-pi/omp-stats path mappings to root tsconfig.json for consistent imports.
- Added WASM generation script for photon module and integrated into install:dev script.
This commit is contained in:
can1357
2026-01-23 13:46:06 +01:00
parent d672458138
commit 0fe761dc4b
409 changed files with 1894 additions and 1551 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 "$c/ipy/executor";
import * as pythonKernel from "$c/ipy/kernel";
import { createTools, type ToolSession } from "$c/tools/index";
import { PythonTool } from "$c/tools/python";
import * as pythonExecutor from "@oh-my-pi/pi-coding-agent/ipy/executor";
import * as pythonKernel from "@oh-my-pi/pi-coding-agent/ipy/kernel";
import { createTools, type ToolSession } from "@oh-my-pi/pi-coding-agent/tools/index";
import { PythonTool } from "@oh-my-pi/pi-coding-agent/tools/python";
function createSettings(overrides?: Partial<ToolSession["settings"]>): ToolSession["settings"] {
return {