9 lines · 429 B · TypeScript
RawDownload
import { defineSoftware } from "@rivet-dev/agentos";import { dirname, resolve } from "node:path";import { fileURLToPath } from "node:url"; const packagePath = resolve(dirname(fileURLToPath(import.meta.url)), ".."); // Example: a pi-acp adapter that runs the Pi CLI.// The agent block lives in the package's agentos-package.json, generated by `agentos-toolchain pack --agent`.export default defineSoftware({ packagePath });