fluent-agent-workspace
v0.1.0
Published
A starter for creating a TypeScript package.
Readme
fluent-agent-workspace
Workspace abstraction for agent environments. Wraps fluent-sandbox with git integration and a higher-level workspace interface.
Install
npm install fluent-agent-workspaceLocal Workspace
import { localWorkspace } from "fluent-workspace";
await localWorkspace().exec("ls");
const workspace = localWorkspace();
await workspace.gitCheckout(github("swiftcarrot/fluent-agnet").branch("main").depth(1));
const diff = await workspace.gitDiff();
await workspace
.gitCommit()
.message("fix")
.author({ name: "test", email: "[email protected]" })
.addFile()
.deletePath()
.push();License
Apache-2.0
