feat(workspace): oc-path addressing substrate + openclaw path CLI (md/jsonc/jsonl/yaml) (#78678)

Implements #78051 — oc:// addressing substrate for workspace files.

New src/oc-path/ substrate (parser/formatter, per-kind parse+emit for
md/jsonc/jsonl/yaml, universal resolveOcPath/setOcPath/findOcPaths verbs,
sentinel emit guard) + openclaw path resolve|find|set|validate|emit CLI +
docs/cli/path.md reference page + CHANGELOG entry.

Co-authored-by: giodl73-repo <235387111+giodl73-repo@users.noreply.github.com>
Co-authored-by: galiniliev <5711535+galiniliev@users.noreply.github.com>
This commit is contained in:
Gio Della-Libera
2026-05-07 22:26:28 -07:00
committed by GitHub
parent 11d0c5e42a
commit bc735f4fde
86 changed files with 14273 additions and 1 deletions

View File

@@ -167,6 +167,11 @@ const entrySpecs: readonly CommandGroupDescriptorSpec<SubCliRegistrar>[] = [
loadModule: () => import("../docs-cli.js"),
exportName: "registerDocsCli",
},
{
commandNames: ["path"],
loadModule: () => import("../path-cli.js"),
exportName: "registerPathCli",
},
{
commandNames: ["qa"],
loadModule: loadPrivateQaCliModule,

View File

@@ -93,6 +93,11 @@ const subCliCommandCatalog = defineCommandDescriptorCatalog([
description: "Search the live OpenClaw docs",
hasSubcommands: false,
},
{
name: "path",
description: "Inspect and edit workspace files via the oc:// addressing scheme",
hasSubcommands: true,
},
{
name: "qa",
description: "Run QA scenarios and launch the private QA debugger UI",