This commit is contained in:
1 parent
c4676e9a2f
commit
4408f23c68
3 files changed
+5
No files matched your search
@@ -96,7 +96,9 @@ cp "$package/skills/example/SKILL.md" "$legacy/skills/example/SKILL.md"
|
|||||||
printf 'customized' > "$legacy/skills/example/custom.md"
|
printf 'customized' > "$legacy/skills/example/custom.md"
|
||||||
printf 'foreign' > "$legacy/skills/example/foreign.md"
|
printf 'foreign' > "$legacy/skills/example/foreign.md"
|
||||||
declare -A legacy_manifest
|
declare -A legacy_manifest
|
||||||
|
# shellcheck disable=SC2034
|
||||||
legacy_manifest[skills/example/SKILL.md]=$(sha256_of_file "$legacy/skills/example/SKILL.md")
|
legacy_manifest[skills/example/SKILL.md]=$(sha256_of_file "$legacy/skills/example/SKILL.md")
|
||||||
|
# shellcheck disable=SC2034
|
||||||
legacy_manifest[skills/example/custom.md]=$(printf '0%.0s' {1..64})
|
legacy_manifest[skills/example/custom.md]=$(printf '0%.0s' {1..64})
|
||||||
write_managed_manifest "$(manifest_path "$legacy")" legacy_manifest
|
write_managed_manifest "$(manifest_path "$legacy")" legacy_manifest
|
||||||
mapfile -t targets < <(get_install_targets "$generated" "$test_home" bash codex)
|
mapfile -t targets < <(get_install_targets "$generated" "$test_home" bash codex)
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ done
|
|||||||
root=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd)
|
root=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd)
|
||||||
. "$root/scripts/lib/plugins.sh"
|
. "$root/scripts/lib/plugins.sh"
|
||||||
|
|
||||||
|
# shellcheck disable=SC2034
|
||||||
names=(A B C)
|
names=(A B C)
|
||||||
checked=(true false true)
|
checked=(true false true)
|
||||||
toggle_log=$(mktemp)
|
toggle_log=$(mktemp)
|
||||||
@@ -35,6 +36,7 @@ if diagnostics=$(summary=true run_plugin_command false test_plugin_output fail 2
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
[[ "$diagnostics" == *'download progress'* ]] && [[ "$diagnostics" == *'WARN test warning'* ]]
|
[[ "$diagnostics" == *'download progress'* ]] && [[ "$diagnostics" == *'WARN test warning'* ]]
|
||||||
|
# shellcheck disable=SC2034
|
||||||
selected=()
|
selected=()
|
||||||
plugin_installed() { printf 'Empty selection must not query installed plugins.\n' >&2; exit 1; }
|
plugin_installed() { printf 'Empty selection must not query installed plugins.\n' >&2; exit 1; }
|
||||||
run_plugin_command() { printf 'Empty selection must not run commands.\n' >&2; exit 1; }
|
run_plugin_command() { printf 'Empty selection must not run commands.\n' >&2; exit 1; }
|
||||||
|
|||||||
@@ -69,6 +69,7 @@ for target_pair in "${targets[@]}"; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# shellcheck disable=SC2034
|
||||||
selected_plugins=()
|
selected_plugins=()
|
||||||
sync_configured_plugins "$root" "$client" "$home_path" "$dry_run" false selected_plugins "$summary"
|
sync_configured_plugins "$root" "$client" "$home_path" "$dry_run" false selected_plugins "$summary"
|
||||||
sync_semantic_retrieval "$root" "$client" "$home_path" false "$dry_run" false "$summary"
|
sync_semantic_retrieval "$root" "$client" "$home_path" false "$dry_run" false "$summary"
|
||||||
|
|||||||
Reference in new issue
Block a user