feat: upgrade investigation and presentation runtime
This commit is contained in:
@@ -8,17 +8,18 @@ const disabledServerTools = [
|
||||
];
|
||||
|
||||
describe("disabled opencode tools", () => {
|
||||
it("keeps removed generic server tools disabled while retaining SCADA frontend actions", () => {
|
||||
it("keeps removed generic server tools disabled while using one typed presentation tool", () => {
|
||||
for (const toolName of disabledServerTools) {
|
||||
expect(existsSync(`.opencode/tools/${toolName}.ts`)).toBeFalse();
|
||||
}
|
||||
expect(existsSync(".opencode/tools/server_api_shared.ts")).toBeFalse();
|
||||
expect(existsSync(".opencode/tools/web_search.ts")).toBeFalse();
|
||||
expect(existsSync(".opencode/tools/geocode.ts")).toBeFalse();
|
||||
expect(existsSync(".opencode/tools/zoom_to_map.ts")).toBeTrue();
|
||||
expect(existsSync(".opencode/tools/present_view.ts")).toBeTrue();
|
||||
for (const name of ["locate_features", "zoom_to_map", "show_chart", "view_history", "render_scada_analysis", "clear_scada_analysis"]) {
|
||||
expect(existsSync(`.opencode/tools/${name}.ts`)).toBeFalse();
|
||||
}
|
||||
expect(existsSync(".opencode/tools/frontend_action.ts")).toBeTrue();
|
||||
expect(existsSync(".opencode/tools/render_scada_analysis.ts")).toBeTrue();
|
||||
expect(existsSync(".opencode/tools/clear_scada_analysis.ts")).toBeTrue();
|
||||
expect(existsSync(".opencode/plugins/tjwater-tools.ts")).toBeTrue();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user