mirror of
https://github.com/hansjone/netxops.git
synced 2026-10-10 05:53:19 +08:00
Initial Netx Ops DSH agent preset (UME + managed CLI).
Portable persona and playbooks for DeepSeek Harness; tools via netx MCP.
This commit is contained in:
commit
6677e36424
18 changed files with 746 additions and 0 deletions
19
scripts/link-preset.sh
Normal file
19
scripts/link-preset.sh
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
SOURCE="$REPO_ROOT/presets/netxops"
|
||||
DSH_HOME="${DSH_HOME:-$HOME/.dsh}"
|
||||
TARGET_PARENT="$DSH_HOME/.agent-presets"
|
||||
TARGET="$TARGET_PARENT/netxops"
|
||||
|
||||
if [[ ! -d "$SOURCE" ]]; then
|
||||
echo "Missing preset dir: $SOURCE" >&2
|
||||
exit 1
|
||||
fi
|
||||
mkdir -p "$TARGET_PARENT"
|
||||
if [[ -e "$TARGET" || -L "$TARGET" ]]; then
|
||||
rm -rf "$TARGET"
|
||||
fi
|
||||
ln -s "$SOURCE" "$TARGET"
|
||||
echo "Linked $TARGET -> $SOURCE"
|
||||
echo "Restart dsh / open a new session and select preset 'netxops' (Netx Ops)."
|
||||
Loading…
Add table
Add a link
Reference in a new issue