- All 373 source files updated - Package.json scopes in all workspace packages - Loader workspace symlink dir updated - RpcClient import unified from pi-coding-agent (fixes type mismatch) - Scripts, configs, flake.nix updated - Workspace symlinks rebuilt
18 lines
586 B
JavaScript
18 lines
586 B
JavaScript
#!/usr/bin/env node
|
|
/**
|
|
* CLI entry point for the refactored coding agent.
|
|
* Uses main.ts with AgentSession and new mode modules.
|
|
*
|
|
* Test with: npx tsx src/cli-new.ts [args...]
|
|
*/
|
|
process.title = "pi";
|
|
|
|
import { setBedrockProviderModule } from "@singularity-forge/pi-ai";
|
|
import { bedrockProviderModule } from "@singularity-forge/pi-ai/bedrock-provider";
|
|
import { EnvHttpProxyAgent, setGlobalDispatcher } from "undici";
|
|
import { main } from "./main.js";
|
|
|
|
setGlobalDispatcher(new EnvHttpProxyAgent());
|
|
setBedrockProviderModule(bedrockProviderModule);
|
|
|
|
main(process.argv.slice(2));
|