@adityaaria/spark 6.0.24 → 6.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/spark-install.sh +2 -13
- package/package.json +1 -1
package/bin/spark-install.sh
CHANGED
|
@@ -421,15 +421,8 @@ get_target_dir() {
|
|
|
421
421
|
esac
|
|
422
422
|
else
|
|
423
423
|
# Project scope: relative to current working directory
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
codex) echo "$(pwd)/.codex" ;;
|
|
427
|
-
cursor) echo "$(pwd)/.cursor" ;;
|
|
428
|
-
kimi) echo "$(pwd)/.kimi" ;;
|
|
429
|
-
opencode) echo "$(pwd)/.opencode" ;;
|
|
430
|
-
pi) echo "$(pwd)/.pi" ;;
|
|
431
|
-
*) echo "$(pwd)/.$agent_id" ;;
|
|
432
|
-
esac
|
|
424
|
+
# Modern AI agents (Codex, Gemini, Antigravity, etc.) use .agents as the universal workspace customization root.
|
|
425
|
+
echo "$(pwd)/.agents"
|
|
433
426
|
fi
|
|
434
427
|
}
|
|
435
428
|
|
|
@@ -627,10 +620,6 @@ install_for_agent() {
|
|
|
627
620
|
*)
|
|
628
621
|
# Shell-hook agents: copy manifest to agent-plugin dir
|
|
629
622
|
local plugin_dir="$target_dir/.${agent_id}-plugin"
|
|
630
|
-
# For project scope, put manifest in the target dir itself
|
|
631
|
-
if [ "$SCOPE" = "project" ]; then
|
|
632
|
-
plugin_dir="$(pwd)/.${agent_id}-plugin"
|
|
633
|
-
fi
|
|
634
623
|
if [ -f "$source_path" ]; then
|
|
635
624
|
mkdir -p "$plugin_dir"
|
|
636
625
|
copy_file "$source_path" "$plugin_dir/$manifest_basename"
|