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:
@@ -2,24 +2,24 @@ import { mkdir, rm } from "node:fs/promises";
|
||||
import * as os from "node:os";
|
||||
import * as path from "node:path";
|
||||
import type { UsageLimit, UsageReport } from "@oh-my-pi/pi-ai";
|
||||
import { getDebugLogPath } from "@oh-my-pi/pi-coding-agent/config";
|
||||
import { loadCustomShare } from "@oh-my-pi/pi-coding-agent/export/custom-share";
|
||||
import type { CompactOptions } from "@oh-my-pi/pi-coding-agent/extensibility/extensions/types";
|
||||
import { getGatewayStatus } from "@oh-my-pi/pi-coding-agent/ipy/gateway-coordinator";
|
||||
import { ArminComponent } from "@oh-my-pi/pi-coding-agent/modes/components/armin";
|
||||
import { BashExecutionComponent } from "@oh-my-pi/pi-coding-agent/modes/components/bash-execution";
|
||||
import { BorderedLoader } from "@oh-my-pi/pi-coding-agent/modes/components/bordered-loader";
|
||||
import { DynamicBorder } from "@oh-my-pi/pi-coding-agent/modes/components/dynamic-border";
|
||||
import { PythonExecutionComponent } from "@oh-my-pi/pi-coding-agent/modes/components/python-execution";
|
||||
import { getMarkdownTheme, getSymbolTheme, theme } from "@oh-my-pi/pi-coding-agent/modes/theme/theme";
|
||||
import type { InteractiveModeContext } from "@oh-my-pi/pi-coding-agent/modes/types";
|
||||
import { createCompactionSummaryMessage } from "@oh-my-pi/pi-coding-agent/session/messages";
|
||||
import { outputMeta } from "@oh-my-pi/pi-coding-agent/tools/output-meta";
|
||||
import { getChangelogPath, parseChangelog } from "@oh-my-pi/pi-coding-agent/utils/changelog";
|
||||
import { copyToClipboard } from "@oh-my-pi/pi-coding-agent/utils/clipboard";
|
||||
import { Loader, Markdown, Spacer, Text, visibleWidth } from "@oh-my-pi/pi-tui";
|
||||
import { $ } from "bun";
|
||||
import { nanoid } from "nanoid";
|
||||
import { getDebugLogPath } from "$c/config";
|
||||
import { loadCustomShare } from "$c/export/custom-share";
|
||||
import type { CompactOptions } from "$c/extensibility/extensions/types";
|
||||
import { getGatewayStatus } from "$c/ipy/gateway-coordinator";
|
||||
import { ArminComponent } from "$c/modes/components/armin";
|
||||
import { BashExecutionComponent } from "$c/modes/components/bash-execution";
|
||||
import { BorderedLoader } from "$c/modes/components/bordered-loader";
|
||||
import { DynamicBorder } from "$c/modes/components/dynamic-border";
|
||||
import { PythonExecutionComponent } from "$c/modes/components/python-execution";
|
||||
import { getMarkdownTheme, getSymbolTheme, theme } from "$c/modes/theme/theme";
|
||||
import type { InteractiveModeContext } from "$c/modes/types";
|
||||
import { createCompactionSummaryMessage } from "$c/session/messages";
|
||||
import { outputMeta } from "$c/tools/output-meta";
|
||||
import { getChangelogPath, parseChangelog } from "$c/utils/changelog";
|
||||
import { copyToClipboard } from "$c/utils/clipboard";
|
||||
|
||||
export class CommandController {
|
||||
constructor(private readonly ctx: InteractiveModeContext) {}
|
||||
|
||||
Reference in New Issue
Block a user