Gateway/UI: data-driven agents tools catalog with provenance (openclaw#24199) thanks @Takhoffman

Verified:
- pnpm install --frozen-lockfile
- pnpm build
- gh pr checks 24199 --watch --fail-fast

Co-authored-by: Takhoffman <781889+Takhoffman@users.noreply.github.com>
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
This commit is contained in:
Tak Hoffman
2026-02-22 23:55:59 -06:00
committed by GitHub
parent 1c753ea786
commit 9e1a13bf4c
31 changed files with 1548 additions and 185 deletions

View File

@@ -55,7 +55,7 @@ describe("tool-policy", () => {
it("resolves known profiles and ignores unknown ones", () => {
const coding = resolveToolProfilePolicy("coding");
expect(coding?.allow).toContain("group:fs");
expect(coding?.allow).toContain("read");
expect(resolveToolProfilePolicy("nope")).toBeUndefined();
});
@@ -65,6 +65,7 @@ describe("tool-policy", () => {
expect(group).toContain("message");
expect(group).toContain("subagents");
expect(group).toContain("session_status");
expect(group).toContain("tts");
});
it("normalizes tool names and aliases", () => {