mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 15:00:42 +00:00
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:
@@ -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,
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user