akm-cli
Version:
akm (Agent Knowledge Manager) — a portable, local-first capability library for AI agents. Discover, load, share, and improve reusable skills, scripts, workflows, and knowledge across any shell-capable coding agent, including Claude Code, OpenCode, and Cur
26 lines (25 loc) • 1.67 kB
JavaScript
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// `akm-cli/workspace`: typed application operations for a trusted local host such as akm Desktop (see
// docs/reference/api.md). Each namespace groups the operations of one capability; every operation takes one typed
// input and returns plain JSON-safe data, and throws an `AkmError` with a stable `code`. Transport (authentication,
// HTTP, status codes) belongs to the host.
// Declarations: scripts/node-runtime/workspace.d.ts, kept in step by tests/contracts/workspace-surface.test.ts.
export { indexFiles } from "./core/assets/files.js";
export { clearAdapterCaches } from "./core/assets/gate.js";
export { embedPendingWrites } from "./core/assets/type.js";
export { AkmError, CONFLICT_CODES, ConfigError, NotFoundError, TransientError, UsageError, } from "./core/errors.js";
export * as activity from "./workspace/activity.js";
export * as assets from "./workspace/assets.js";
export * as backups from "./workspace/backups.js";
export * as bundles from "./workspace/bundles.js";
export * as children from "./workspace/children.js";
export * as config from "./workspace/config.js";
export * as documents from "./workspace/documents.js";
export * as feedback from "./workspace/feedback.js";
export * as proposals from "./workspace/proposals.js";
export { scrubUrlCredentials } from "./workspace/redact.js";
export * as sensitive from "./workspace/sensitive.js";
export * as setup from "./workspace/setup.js";
export * as tasks from "./workspace/tasks.js";