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,11 +4,11 @@
|
||||
|
||||
import { existsSync, mkdirSync, readdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
||||
import { join } from "node:path";
|
||||
import { AgentStorage } from "@oh-my-pi/pi-coding-agent/session/agent-storage";
|
||||
import type { AuthCredential } from "@oh-my-pi/pi-coding-agent/session/auth-storage";
|
||||
import { logger } from "@oh-my-pi/pi-utils";
|
||||
import chalk from "chalk";
|
||||
import { getAgentDbPath, getAgentDir, getBinDir } from "./config";
|
||||
import { AgentStorage } from "./session/agent-storage";
|
||||
import type { AuthCredential } from "./session/auth-storage";
|
||||
|
||||
/**
|
||||
* Migrate legacy oauth.json and settings.json apiKeys to agent.db.
|
||||
|
||||
Reference in New Issue
Block a user