mirror of
https://github.com/harivansh-afk/clanker-agent.git
synced 2026-04-17 15:04:52 +00:00
- Copy all pi-mono source into apps/companion-os/ - Update Dockerfile to COPY pre-built binary instead of downloading from GitHub Releases - Update deploy-staging.yml to build pi from source (bun compile) before Docker build - Add apps/companion-os/** to path triggers - No more cross-repo dispatch needed Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
18 lines
576 B
JavaScript
18 lines
576 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 "@mariozechner/pi-ai";
|
|
import { bedrockProviderModule } from "@mariozechner/pi-ai/bedrock-provider";
|
|
import { EnvHttpProxyAgent, setGlobalDispatcher } from "undici";
|
|
import { main } from "./main.js";
|
|
|
|
setGlobalDispatcher(new EnvHttpProxyAgent());
|
|
setBedrockProviderModule(bedrockProviderModule);
|
|
|
|
main(process.argv.slice(2));
|