@slashfi/agents-sdk 0.60.0 → 0.60.1
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/install.sh +46 -0
- package/package.json +3 -2
package/install.sh
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
set -e
|
|
3
|
+
|
|
4
|
+
# ADK — Agent Development Kit
|
|
5
|
+
# https://registry.slash.com
|
|
6
|
+
#
|
|
7
|
+
# Usage: curl -fsSL https://registry.slash.com/adk/install.sh | sh
|
|
8
|
+
|
|
9
|
+
PACKAGE="@slashfi/agents-sdk"
|
|
10
|
+
|
|
11
|
+
main() {
|
|
12
|
+
echo "Installing ADK..."
|
|
13
|
+
echo ""
|
|
14
|
+
|
|
15
|
+
# Detect package manager
|
|
16
|
+
if command -v bun >/dev/null 2>&1; then
|
|
17
|
+
PM="bun"
|
|
18
|
+
INSTALL="bun add -g"
|
|
19
|
+
elif command -v npm >/dev/null 2>&1; then
|
|
20
|
+
PM="npm"
|
|
21
|
+
INSTALL="npm install -g"
|
|
22
|
+
else
|
|
23
|
+
echo "Error: No package manager found. Install Node.js (https://nodejs.org) or Bun (https://bun.sh) first."
|
|
24
|
+
exit 1
|
|
25
|
+
fi
|
|
26
|
+
|
|
27
|
+
echo "Using $PM to install $PACKAGE"
|
|
28
|
+
$INSTALL "$PACKAGE"
|
|
29
|
+
|
|
30
|
+
echo ""
|
|
31
|
+
echo "\033[32m✓\033[0m ADK installed successfully!"
|
|
32
|
+
echo ""
|
|
33
|
+
echo "Quick start:"
|
|
34
|
+
echo " adk init --target claude # Install skill for Claude Code"
|
|
35
|
+
echo " adk init --target cursor # Install skill for Cursor"
|
|
36
|
+
echo " adk init --target codex # Install skill for Codex"
|
|
37
|
+
echo ""
|
|
38
|
+
echo "All presets: claude, cursor, codex, copilot, windsurf, hermes"
|
|
39
|
+
echo ""
|
|
40
|
+
echo "Next steps:"
|
|
41
|
+
echo " adk registry browse public # Browse available agents"
|
|
42
|
+
echo " adk ref add <name> # Install an agent"
|
|
43
|
+
echo " adk ref call <name> <tool> # Call a tool"
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
main
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slashfi/agents-sdk",
|
|
3
|
-
"version": "0.60.
|
|
3
|
+
"version": "0.60.1",
|
|
4
4
|
"author": "Slash Financial",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,7 +37,8 @@
|
|
|
37
37
|
"description": "SDK for building AI agents with tool definitions and JSON-RPC servers",
|
|
38
38
|
"files": [
|
|
39
39
|
"dist",
|
|
40
|
-
"src"
|
|
40
|
+
"src",
|
|
41
|
+
"install.sh"
|
|
41
42
|
],
|
|
42
43
|
"keywords": [
|
|
43
44
|
"ai",
|