From fedec545e8e958c9f2bc19fecca721310c1447dc Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 30 Aug 2025 17:52:37 +1200 Subject: [PATCH] feat: Add 1 and update 6 files --- source/agent-remote/common.sh | 3 +- source/agent-remote/datacommands_v2.sh | 428 +++++++++++++++++++++++++ source/src/autocomplete.cpp | 1 - source/src/autogen/_agent-remote.cpp | 86 ----- source/src/services.cpp | 1 - source/src/utils/directories.cpp | 2 +- source/src/utils/directories.hpp | 5 +- 7 files changed, 432 insertions(+), 94 deletions(-) create mode 100644 source/agent-remote/datacommands_v2.sh diff --git a/source/agent-remote/common.sh b/source/agent-remote/common.sh index 554d7db..7d31770 100755 --- a/source/agent-remote/common.sh +++ b/source/agent-remote/common.sh @@ -168,6 +168,5 @@ _root_remove_tree() { docker run --rm -v "$abs_parent":/data alpine rm -rf "/data/$child" } - # Load autocommands -source "${AGENT_PATH}/datacommands.sh" \ No newline at end of file +source "${AGENT_PATH}/datacommands_v2.sh" \ No newline at end of file diff --git a/source/agent-remote/datacommands_v2.sh b/source/agent-remote/datacommands_v2.sh new file mode 100644 index 0000000..1c2db64 --- /dev/null +++ b/source/agent-remote/datacommands_v2.sh @@ -0,0 +1,428 @@ +#!/bin/bash + +# Refactored data commands with type-specific functions and standardized labels +# Format: _