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
33 lines (32 loc) • 1.29 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/.
export const ENGINE_NAME_PATTERN_SOURCE = "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
export const BUILTIN_IMPROVE_STRATEGY_NAMES = ["default", "consolidate"];
/**
* Built-in strategies removed in 0.10 (#1130, #1129). A user-defined strategy of the
* same name still resolves (it inherits `default`); naming one with no such
* block fails at resolution, not at config load.
*/
export const REMOVED_IMPROVE_STRATEGY_NAMES = [
"quick",
"thorough",
"catchup",
"reflect-distill",
"proactive-maintenance",
];
/**
* The improve processes that make model calls, so each runs on a connection or
* harness. Triage's is its judgment's; each of the others makes the process's own calls.
*/
export const IMPROVE_ENGINE_PROCESSES = [
"reflect",
"distill",
"consolidate",
"memoryInference",
"extract",
"validation",
"triage",
];
/** Every improve process, in plan order: the model-calling processes and `proactiveMaintenance`, which makes no model call. */
export const IMPROVE_PROCESS_NAMES = [...IMPROVE_ENGINE_PROCESSES, "proactiveMaintenance"];