build(config): refactored build and TypeScript configuration with Bun loaders
- Removed WASM generation script; use Bun `wasm?raw` loader for imports. - Added bunfig.toml with loaders for `.md`, `.py`, and `.wasm?raw` text imports. - Added types/assets/index.d.ts for global TypeScript module declarations. - Unified TypeScript configuration with tsgo-based checking across monorepo. - Removed build and WASM steps from install and publish pipelines.
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
* Provides unified bash execution for AgentSession.executeBash() and direct calls.
|
||||
*/
|
||||
|
||||
import { OutputSink } from "@oh-my-pi/pi-coding-agent/session/streaming-output";
|
||||
import { getShellConfig } from "@oh-my-pi/pi-coding-agent/utils/shell";
|
||||
import { getOrCreateSnapshot, getSnapshotSourceCommand } from "@oh-my-pi/pi-coding-agent/utils/shell-snapshot";
|
||||
import { cspawn, Exception, ptree } from "@oh-my-pi/pi-utils";
|
||||
import { OutputSink } from "../session/streaming-output";
|
||||
import { getShellConfig } from "../utils/shell";
|
||||
import { getOrCreateSnapshot, getSnapshotSourceCommand } from "../utils/shell-snapshot";
|
||||
|
||||
export interface BashExecutorOptions {
|
||||
cwd?: string;
|
||||
|
||||
Reference in New Issue
Block a user