feat(plugins): add AI tools and consent-gated data access

This commit is contained in:
t8y2 committed 2026-09-25 01:56:26 +08:00
1 parent 1bc6f70cd8
commit 26a015cd86
71 files changed
+4613 -129

No files matched your search

@@ -15,6 +15,12 @@ try {
run("cargo", ["run", "--locked", "-p", "dbx-core", "--no-default-features", "--example", "plugin_package_smoke", "--", packagePath], {
CARGO_TARGET_DIR: cargoTarget,
});
// The same package through the built-in AI agent's plugin tool path. It
// opens a DBX storage, so it needs a SQLite that exposes the extension API
// (macOS system SQLite does not); `sqlite-bundled` is the test build's choice.
run("cargo", ["run", "--locked", "-p", "dbx-core", "--no-default-features", "--features", "sqlite-bundled", "--example", "plugin_ai_tools_smoke", "--", packagePath], {
CARGO_TARGET_DIR: cargoTarget,
});
} finally {
if (ownedBuildRoot) await rm(ownedBuildRoot, { recursive: true, force: true });
}