@businesskit/agent 1.0.5 → 1.0.7
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/.superconsole-plugin/plugin.json +61 -31
- package/AGENTS.md +20 -9
- package/README.md +101 -113
- package/bin/businesskit.js +41 -8
- package/commands/brief.md +12 -0
- package/commands/chase.md +12 -0
- package/commands/create-page.md +43 -15
- package/commands/crm.md +13 -0
- package/commands/followups.md +13 -0
- package/commands/pipeline.md +13 -0
- package/commands/update-agent.md +33 -0
- package/commands/update-content.md +1 -0
- package/commands/update-page.md +3 -2
- package/commands/write-blog.md +4 -0
- package/commands/write-docs.md +6 -0
- package/commands/write-guide.md +5 -0
- package/commands/write-newsletter.md +4 -0
- package/dist/server.js +4099 -0
- package/mcp_config.json +6 -2
- package/package.json +23 -5
- package/scripts/setup.sh +70 -35
- package/scripts/setup.ts +58 -21
- package/scripts/update.sh +56 -0
- package/server.json +3 -3
- package/skills/README.md +3 -2
- package/skills/cms/SKILL.md +111 -0
- package/skills/cms/references/cms-hubs.md +84 -0
- package/skills/cms/references/html-blocks.md +177 -0
- package/skills/crm/SKILL.md +15 -29
- package/skills/docs/SKILL.md +65 -0
- package/skills/docs/references/how-to.md +155 -0
- package/skills/pages/SKILL.md +62 -17
- package/skills/pages/references/sections-catalog.json +377 -144
- package/skills/social/SKILL.md +83 -210
- package/skills/social/evals/evals.json +66 -0
- package/skills/social/evals/rubric.md +26 -0
- package/skills/social/examples/repurposing-blog-to-social.md +93 -0
- package/skills/social/examples/weekly-content-calendar.md +30 -0
- package/skills/social/linkedin/SKILL.md +107 -0
- package/skills/social/linkedin/evals/evals.json +106 -0
- package/skills/social/linkedin/evals/rubric.md +28 -0
- package/skills/social/linkedin/examples/gasp-weekly-sprint.md +24 -0
- package/skills/social/linkedin/examples/growth-posts-by-format.md +140 -0
- package/skills/social/linkedin/references/gasp-funnel-and-calibration.md +90 -0
- package/skills/social/linkedin/references/six-growth-formats.md +114 -0
- package/skills/social/references/platforms.md +76 -0
- package/skills/social/references/post-templates.md +105 -0
- package/skills/social/references/reverse-engineering.md +62 -0
- package/src/data/sections-catalog.json +950 -0
- package/src/db.ts +170 -0
- package/src/server.ts +75 -0
- package/src/tools/content.ts +326 -0
- package/src/tools/crm.ts +1416 -0
- package/src/tools/domains.ts +89 -0
- package/src/tools/inbox.ts +270 -0
- package/src/tools/index.ts +116 -0
- package/src/tools/pages.ts +1217 -0
- package/src/tools/shop.ts +771 -0
- package/src/tools/system.ts +94 -0
- package/src/tools/types.ts +17 -0
- package/skills/docs-cms/SKILL.md +0 -53
- package/skills/docs-cms/references/how-to.md +0 -383
package/mcp_config.json
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"mcpServers": {
|
|
3
3
|
"businesskit": {
|
|
4
|
-
"command": "
|
|
5
|
-
"args": ["
|
|
4
|
+
"command": "node",
|
|
5
|
+
"args": ["bin/businesskit.js"],
|
|
6
|
+
"env": {
|
|
7
|
+
"TURSO_DATABASE_URL": "${TURSO_DATABASE_URL}",
|
|
8
|
+
"TURSO_AUTH_TOKEN": "${TURSO_AUTH_TOKEN}"
|
|
9
|
+
}
|
|
6
10
|
}
|
|
7
11
|
}
|
|
8
12
|
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@businesskit/agent",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.0.7",
|
|
4
|
+
"description": "Official Model Context Protocol (MCP) server & agent toolbelt for BusinessKit — POS, invoicing, inventory restock, CRM, and website publishing.",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"main": "dist/server.js",
|
|
7
|
+
"module": "dist/server.js",
|
|
8
|
+
"types": "dist/server.d.ts",
|
|
6
9
|
"mcpName": "io.github.businesskitai/agent",
|
|
7
10
|
"bin": {
|
|
8
11
|
"bk": "bin/businesskit.js",
|
|
@@ -10,6 +13,8 @@
|
|
|
10
13
|
},
|
|
11
14
|
"files": [
|
|
12
15
|
"bin",
|
|
16
|
+
"dist",
|
|
17
|
+
"src",
|
|
13
18
|
"commands",
|
|
14
19
|
"skills",
|
|
15
20
|
"templates",
|
|
@@ -30,8 +35,13 @@
|
|
|
30
35
|
".superconsole-plugin"
|
|
31
36
|
],
|
|
32
37
|
"scripts": {
|
|
38
|
+
"build": "esbuild src/server.ts --bundle --platform=node --format=esm --packages=external --outfile=dist/server.js",
|
|
39
|
+
"start": "node dist/server.js",
|
|
40
|
+
"dev": "tsx src/server.ts",
|
|
33
41
|
"setup": "bash ./scripts/setup.sh",
|
|
34
|
-
"setup:ts": "npx tsx scripts/setup.ts"
|
|
42
|
+
"setup:ts": "npx tsx scripts/setup.ts",
|
|
43
|
+
"update": "bash ./scripts/update.sh",
|
|
44
|
+
"prepack": "npm run build"
|
|
35
45
|
},
|
|
36
46
|
"keywords": [
|
|
37
47
|
"claude-code",
|
|
@@ -40,12 +50,15 @@
|
|
|
40
50
|
"cursor",
|
|
41
51
|
"mcp",
|
|
42
52
|
"model-context-protocol",
|
|
53
|
+
"mcp-server",
|
|
43
54
|
"ai-agent",
|
|
44
55
|
"business-agent",
|
|
45
|
-
"businesskit"
|
|
56
|
+
"businesskit",
|
|
57
|
+
"turso"
|
|
46
58
|
],
|
|
47
59
|
"devDependencies": {
|
|
48
60
|
"@types/node": "^22.0.0",
|
|
61
|
+
"esbuild": "^0.27.4",
|
|
49
62
|
"tsx": "^4.19.0",
|
|
50
63
|
"typescript": "^5.4.5"
|
|
51
64
|
},
|
|
@@ -57,5 +70,10 @@
|
|
|
57
70
|
"url": "git+https://github.com/businesskitai/businesskit-agent.git"
|
|
58
71
|
},
|
|
59
72
|
"homepage": "https://github.com/businesskitai/businesskit-agent#readme",
|
|
60
|
-
"license": "MIT"
|
|
73
|
+
"license": "MIT",
|
|
74
|
+
"dependencies": {
|
|
75
|
+
"@libsql/client": "^0.18.0",
|
|
76
|
+
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
77
|
+
"dotenv": "^18.0.10"
|
|
78
|
+
}
|
|
61
79
|
}
|
package/scripts/setup.sh
CHANGED
|
@@ -32,7 +32,6 @@ echo "✓ Found binary: $BK_BIN"
|
|
|
32
32
|
# 2. Discover available profiles
|
|
33
33
|
CREDS_DIR="${HOME}/.businesskit/creds"
|
|
34
34
|
PROFILES=()
|
|
35
|
-
DEFAULT_PROFILE="4628a5b1-ac05-4156-9d76-04bbd71119a1" # BusinessKit profile
|
|
36
35
|
|
|
37
36
|
if [ -d "$CREDS_DIR" ]; then
|
|
38
37
|
for f in "${CREDS_DIR}"/userdb_*.dat; do
|
|
@@ -43,35 +42,79 @@ if [ -d "$CREDS_DIR" ]; then
|
|
|
43
42
|
done
|
|
44
43
|
fi
|
|
45
44
|
|
|
45
|
+
CONFIGURE_ALL=false
|
|
46
46
|
SELECTED_PROFILE=""
|
|
47
|
-
|
|
47
|
+
|
|
48
|
+
if [ "$1" = "--all" ]; then
|
|
49
|
+
CONFIGURE_ALL=true
|
|
50
|
+
if [ "${#PROFILES[@]}" -gt 0 ]; then
|
|
51
|
+
SELECTED_PROFILE="${PROFILES[0]}"
|
|
52
|
+
fi
|
|
53
|
+
elif [ -n "$1" ]; then
|
|
48
54
|
SELECTED_PROFILE="$1"
|
|
49
|
-
elif [ "$
|
|
50
|
-
SELECTED_PROFILE="$
|
|
51
|
-
elif [ -f "${CREDS_DIR}/userdb_${DEFAULT_PROFILE}.dat" ]; then
|
|
52
|
-
SELECTED_PROFILE="$DEFAULT_PROFILE"
|
|
55
|
+
elif [ -n "$BUSINESSKIT_PROFILE" ]; then
|
|
56
|
+
SELECTED_PROFILE="$BUSINESSKIT_PROFILE"
|
|
53
57
|
elif [ "${#PROFILES[@]}" -gt 0 ]; then
|
|
54
58
|
SELECTED_PROFILE="${PROFILES[0]}"
|
|
59
|
+
fi
|
|
60
|
+
|
|
61
|
+
if [ "${#PROFILES[@]}" -gt 0 ]; then
|
|
62
|
+
echo "✓ Discovered ${#PROFILES[@]} organization profile(s):"
|
|
63
|
+
for p in "${PROFILES[@]}"; do
|
|
64
|
+
if [ "$p" = "$SELECTED_PROFILE" ]; then
|
|
65
|
+
echo " * $p (primary selection)"
|
|
66
|
+
else
|
|
67
|
+
echo " $p"
|
|
68
|
+
fi
|
|
69
|
+
done
|
|
70
|
+
fi
|
|
71
|
+
|
|
72
|
+
if [ -n "$SELECTED_PROFILE" ]; then
|
|
73
|
+
echo "✓ Selected primary profile: $SELECTED_PROFILE"
|
|
74
|
+
MCP_ARGS='["--mcp", "--profile", "'"${SELECTED_PROFILE}"'"]'
|
|
55
75
|
else
|
|
56
|
-
echo "
|
|
57
|
-
|
|
58
|
-
SELECTED_PROFILE="$DEFAULT_PROFILE"
|
|
76
|
+
echo "✓ Using active BusinessKit profile"
|
|
77
|
+
MCP_ARGS='["--mcp"]'
|
|
59
78
|
fi
|
|
60
79
|
|
|
61
|
-
|
|
80
|
+
# Build JSON server map
|
|
81
|
+
build_mcp_servers_json() {
|
|
82
|
+
local is_vscode="${1:-false}"
|
|
83
|
+
local json="{"
|
|
84
|
+
|
|
85
|
+
# Default primary server
|
|
86
|
+
if [ "$is_vscode" = "true" ]; then
|
|
87
|
+
json="${json}\n \"businesskit\": {\n \"type\": \"stdio\",\n \"command\": \"${BK_BIN}\",\n \"args\": ${MCP_ARGS}\n }"
|
|
88
|
+
else
|
|
89
|
+
json="${json}\n \"businesskit\": {\n \"command\": \"${BK_BIN}\",\n \"args\": ${MCP_ARGS}\n }"
|
|
90
|
+
fi
|
|
91
|
+
|
|
92
|
+
# If CONFIGURE_ALL is true, add an entry for each profile
|
|
93
|
+
if [ "$CONFIGURE_ALL" = "true" ] && [ "${#PROFILES[@]}" -gt 1 ]; then
|
|
94
|
+
for p in "${PROFILES[@]}"; do
|
|
95
|
+
short_id="${p:0:8}"
|
|
96
|
+
server_name="businesskit-${short_id}"
|
|
97
|
+
p_args='["--mcp", "--profile", "'"${p}"'"]'
|
|
98
|
+
if [ "$is_vscode" = "true" ]; then
|
|
99
|
+
json="${json},\n \"${server_name}\": {\n \"type\": \"stdio\",\n \"command\": \"${BK_BIN}\",\n \"args\": ${p_args}\n }"
|
|
100
|
+
else
|
|
101
|
+
json="${json},\n \"${server_name}\": {\n \"command\": \"${BK_BIN}\",\n \"args\": ${p_args}\n }"
|
|
102
|
+
fi
|
|
103
|
+
done
|
|
104
|
+
fi
|
|
105
|
+
|
|
106
|
+
json="${json}\n }"
|
|
107
|
+
echo -e "$json"
|
|
108
|
+
}
|
|
62
109
|
|
|
63
110
|
# 3. Create output directory
|
|
64
111
|
mkdir -p "${ROOT_DIR}/output"
|
|
65
112
|
|
|
66
113
|
# 4. Generate Claude Code configuration (.mcp.json)
|
|
114
|
+
SERVERS_JSON=$(build_mcp_servers_json false)
|
|
67
115
|
cat <<EOF > "${ROOT_DIR}/.mcp.json"
|
|
68
116
|
{
|
|
69
|
-
"mcpServers": {
|
|
70
|
-
"businesskit": {
|
|
71
|
-
"command": "${BK_BIN}",
|
|
72
|
-
"args": ["--mcp", "--profile", "${SELECTED_PROFILE}"]
|
|
73
|
-
}
|
|
74
|
-
}
|
|
117
|
+
"mcpServers": ${SERVERS_JSON}
|
|
75
118
|
}
|
|
76
119
|
EOF
|
|
77
120
|
echo "✓ Generated Claude Code config: ${ROOT_DIR}/.mcp.json"
|
|
@@ -80,27 +123,17 @@ echo "✓ Generated Claude Code config: ${ROOT_DIR}/.mcp.json"
|
|
|
80
123
|
mkdir -p "${ROOT_DIR}/.cursor"
|
|
81
124
|
cat <<EOF > "${ROOT_DIR}/.cursor/mcp.json"
|
|
82
125
|
{
|
|
83
|
-
"mcpServers": {
|
|
84
|
-
"businesskit": {
|
|
85
|
-
"command": "${BK_BIN}",
|
|
86
|
-
"args": ["--mcp", "--profile", "${SELECTED_PROFILE}"]
|
|
87
|
-
}
|
|
88
|
-
}
|
|
126
|
+
"mcpServers": ${SERVERS_JSON}
|
|
89
127
|
}
|
|
90
128
|
EOF
|
|
91
129
|
echo "✓ Generated Cursor config: ${ROOT_DIR}/.cursor/mcp.json"
|
|
92
130
|
|
|
93
131
|
# 6. Generate VS Code configuration (.vscode/mcp.json)
|
|
132
|
+
VSCODE_SERVERS_JSON=$(build_mcp_servers_json true)
|
|
94
133
|
mkdir -p "${ROOT_DIR}/.vscode"
|
|
95
134
|
cat <<EOF > "${ROOT_DIR}/.vscode/mcp.json"
|
|
96
135
|
{
|
|
97
|
-
"servers": {
|
|
98
|
-
"businesskit": {
|
|
99
|
-
"type": "stdio",
|
|
100
|
-
"command": "${BK_BIN}",
|
|
101
|
-
"args": ["--mcp", "--profile", "${SELECTED_PROFILE}"]
|
|
102
|
-
}
|
|
103
|
-
}
|
|
136
|
+
"servers": ${VSCODE_SERVERS_JSON}
|
|
104
137
|
}
|
|
105
138
|
EOF
|
|
106
139
|
echo "✓ Generated VS Code config: ${ROOT_DIR}/.vscode/mcp.json"
|
|
@@ -109,12 +142,7 @@ echo "✓ Generated VS Code config: ${ROOT_DIR}/.vscode/mcp.json"
|
|
|
109
142
|
mkdir -p "${ROOT_DIR}/.gemini"
|
|
110
143
|
cat <<EOF > "${ROOT_DIR}/.gemini/mcp_config.json"
|
|
111
144
|
{
|
|
112
|
-
"mcpServers": {
|
|
113
|
-
"businesskit": {
|
|
114
|
-
"command": "${BK_BIN}",
|
|
115
|
-
"args": ["--mcp", "--profile", "${SELECTED_PROFILE}"]
|
|
116
|
-
}
|
|
117
|
-
}
|
|
145
|
+
"mcpServers": ${SERVERS_JSON}
|
|
118
146
|
}
|
|
119
147
|
EOF
|
|
120
148
|
echo "✓ Generated Antigravity / Gemini config: ${ROOT_DIR}/.gemini/mcp_config.json"
|
|
@@ -132,3 +160,10 @@ echo " - Antigravity / Gemini CLI"
|
|
|
132
160
|
echo " - Cursor (open this directory in Cursor)"
|
|
133
161
|
echo " - Claude Code (run 'claude' in this directory)"
|
|
134
162
|
echo " - VS Code Copilot"
|
|
163
|
+
|
|
164
|
+
if [ "$CONFIGURE_ALL" = "false" ] && [ "${#PROFILES[@]}" -gt 1 ]; then
|
|
165
|
+
echo ""
|
|
166
|
+
echo "Multi-Profile Parallel Operations:"
|
|
167
|
+
echo " - To switch profile inside a running session: call 'profile_switch(profile_id=\"...\")'"
|
|
168
|
+
echo " - To configure all discovered profiles as dedicated parallel servers: run './scripts/setup.sh --all'"
|
|
169
|
+
fi
|
package/scripts/setup.ts
CHANGED
|
@@ -39,26 +39,66 @@ if (!bkBin || !fs.existsSync(bkBin)) {
|
|
|
39
39
|
}
|
|
40
40
|
console.log(`✓ Found binary: ${bkBin}`);
|
|
41
41
|
|
|
42
|
-
// 2. Locate
|
|
42
|
+
// 2. Locate Profiles
|
|
43
43
|
const credsDir = path.join(process.env.HOME || '', '.businesskit/creds');
|
|
44
|
-
const
|
|
45
|
-
|
|
44
|
+
const arg = process.argv[2] || '';
|
|
45
|
+
const configureAll = arg === '--all';
|
|
46
|
+
let discoveredProfiles: string[] = [];
|
|
46
47
|
|
|
47
|
-
|
|
48
|
+
if (fs.existsSync(credsDir)) {
|
|
49
|
+
discoveredProfiles = fs
|
|
50
|
+
.readdirSync(credsDir)
|
|
51
|
+
.filter((f) => f.startsWith('userdb_') && f.endsWith('.dat'))
|
|
52
|
+
.map((f) => f.replace(/^userdb_/, '').replace(/\.dat$/, ''));
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
let selectedProfile = !configureAll && arg ? arg : process.env.BUSINESSKIT_PROFILE || '';
|
|
56
|
+
if (!selectedProfile && discoveredProfiles.length > 0) {
|
|
57
|
+
selectedProfile = discoveredProfiles[0];
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
if (discoveredProfiles.length > 0) {
|
|
61
|
+
console.log(`✓ Discovered ${discoveredProfiles.length} organization profile(s):`);
|
|
62
|
+
for (const p of discoveredProfiles) {
|
|
63
|
+
console.log(p === selectedProfile ? ` * ${p} (primary selection)` : ` ${p}`);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
const primaryArgs = selectedProfile ? ['--mcp', '--profile', selectedProfile] : ['--mcp'];
|
|
68
|
+
console.log(selectedProfile ? `✓ Target profile: ${selectedProfile}` : '✓ Using active BusinessKit profile');
|
|
69
|
+
|
|
70
|
+
// Build MCP servers dictionary
|
|
71
|
+
const mcpServers: Record<string, { command: string; args: string[] }> = {
|
|
72
|
+
businesskit: {
|
|
73
|
+
command: bkBin,
|
|
74
|
+
args: primaryArgs,
|
|
75
|
+
},
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
const vscodeServers: Record<string, { type: string; command: string; args: string[] }> = {
|
|
79
|
+
businesskit: {
|
|
80
|
+
type: 'stdio',
|
|
81
|
+
command: bkBin,
|
|
82
|
+
args: primaryArgs,
|
|
83
|
+
},
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
if (configureAll && discoveredProfiles.length > 1) {
|
|
87
|
+
for (const p of discoveredProfiles) {
|
|
88
|
+
const shortId = p.slice(0, 8);
|
|
89
|
+
const sName = `businesskit-${shortId}`;
|
|
90
|
+
const pArgs = ['--mcp', '--profile', p];
|
|
91
|
+
mcpServers[sName] = { command: bkBin, args: pArgs };
|
|
92
|
+
vscodeServers[sName] = { type: 'stdio', command: bkBin, args: pArgs };
|
|
93
|
+
}
|
|
94
|
+
}
|
|
48
95
|
|
|
49
96
|
// 3. Output directory
|
|
50
97
|
const outputDir = path.join(ROOT_DIR, 'output');
|
|
51
98
|
if (!fs.existsSync(outputDir)) fs.mkdirSync(outputDir, { recursive: true });
|
|
52
99
|
|
|
53
100
|
// 4. Claude Code (.mcp.json)
|
|
54
|
-
const claudeConfig = {
|
|
55
|
-
mcpServers: {
|
|
56
|
-
businesskit: {
|
|
57
|
-
command: bkBin,
|
|
58
|
-
args: ['--mcp', '--profile', selectedProfile],
|
|
59
|
-
},
|
|
60
|
-
},
|
|
61
|
-
};
|
|
101
|
+
const claudeConfig = { mcpServers };
|
|
62
102
|
fs.writeFileSync(path.join(ROOT_DIR, '.mcp.json'), JSON.stringify(claudeConfig, null, 2));
|
|
63
103
|
console.log('✓ Wrote .mcp.json (Claude Code)');
|
|
64
104
|
|
|
@@ -71,15 +111,7 @@ console.log('✓ Wrote .cursor/mcp.json (Cursor)');
|
|
|
71
111
|
// 6. VS Code (.vscode/mcp.json)
|
|
72
112
|
const vscodeDir = path.join(ROOT_DIR, '.vscode');
|
|
73
113
|
if (!fs.existsSync(vscodeDir)) fs.mkdirSync(vscodeDir, { recursive: true });
|
|
74
|
-
const vscodeConfig = {
|
|
75
|
-
servers: {
|
|
76
|
-
businesskit: {
|
|
77
|
-
type: 'stdio',
|
|
78
|
-
command: bkBin,
|
|
79
|
-
args: ['--mcp', '--profile', selectedProfile],
|
|
80
|
-
},
|
|
81
|
-
},
|
|
82
|
-
};
|
|
114
|
+
const vscodeConfig = { servers: vscodeServers };
|
|
83
115
|
fs.writeFileSync(path.join(vscodeDir, 'mcp.json'), JSON.stringify(vscodeConfig, null, 2));
|
|
84
116
|
console.log('✓ Wrote .vscode/mcp.json (VS Code)');
|
|
85
117
|
|
|
@@ -90,3 +122,8 @@ fs.writeFileSync(path.join(geminiDir, 'mcp_config.json'), JSON.stringify(claudeC
|
|
|
90
122
|
console.log('✓ Wrote .gemini/mcp_config.json (Antigravity / Gemini)');
|
|
91
123
|
|
|
92
124
|
console.log('\n=== Ready! Launch any agentic CLI to interact with BusinessKit ===');
|
|
125
|
+
if (!configureAll && discoveredProfiles.length > 1) {
|
|
126
|
+
console.log('\nMulti-Profile Parallel Operations:');
|
|
127
|
+
console.log(' - To switch profile inside a running session: call profile_switch(profile_id="...")');
|
|
128
|
+
console.log(' - To configure all discovered profiles as dedicated parallel servers: run ts-node scripts/setup.ts --all');
|
|
129
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# scripts/update.sh — Safely update BusinessKit Agent to latest release without touching user context, memory, or custom skills
|
|
3
|
+
|
|
4
|
+
set -e
|
|
5
|
+
|
|
6
|
+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
7
|
+
ROOT_DIR="$(cd "${SCRIPT_DIR}/.." && pwd)"
|
|
8
|
+
|
|
9
|
+
echo "=== Updating BusinessKit Agent ==="
|
|
10
|
+
|
|
11
|
+
# 1. Snapshot user custom context in memory/temp folder
|
|
12
|
+
TEMP_BACKUP="$(mktemp -d)"
|
|
13
|
+
if [ -d "${ROOT_DIR}/context" ]; then
|
|
14
|
+
mkdir -p "${TEMP_BACKUP}/context"
|
|
15
|
+
cp -r "${ROOT_DIR}/context/"* "${TEMP_BACKUP}/context/" 2>/dev/null || true
|
|
16
|
+
fi
|
|
17
|
+
|
|
18
|
+
# 2. Update repository files
|
|
19
|
+
if [ -d "${ROOT_DIR}/.git" ]; then
|
|
20
|
+
echo "✓ Found git repository. Fetching latest release from GitHub..."
|
|
21
|
+
git -C "${ROOT_DIR}" fetch --depth 1 origin main
|
|
22
|
+
git -C "${ROOT_DIR}" reset --hard FETCH_HEAD
|
|
23
|
+
else
|
|
24
|
+
echo "✓ Downloading latest release from GitHub..."
|
|
25
|
+
curl -sL "https://github.com/businesskitai/businesskit-agent/archive/refs/heads/main.tar.gz" | tar -xz -C "${TEMP_BACKUP}"
|
|
26
|
+
EXTRACTED_DIR=$(find "${TEMP_BACKUP}" -maxdepth 1 -name "businesskit-agent-*" | head -n 1)
|
|
27
|
+
if [ -n "$EXTRACTED_DIR" ]; then
|
|
28
|
+
cp -r "${EXTRACTED_DIR}/commands" "${ROOT_DIR}/"
|
|
29
|
+
cp -r "${EXTRACTED_DIR}/skills" "${ROOT_DIR}/"
|
|
30
|
+
cp -r "${EXTRACTED_DIR}/rules" "${ROOT_DIR}/" 2>/dev/null || true
|
|
31
|
+
cp "${EXTRACTED_DIR}/AGENTS.md" "${ROOT_DIR}/"
|
|
32
|
+
cp "${EXTRACTED_DIR}/CLAUDE.md" "${ROOT_DIR}/"
|
|
33
|
+
cp "${EXTRACTED_DIR}/GEMINI.md" "${ROOT_DIR}/"
|
|
34
|
+
cp "${EXTRACTED_DIR}/package.json" "${ROOT_DIR}/"
|
|
35
|
+
cp -r "${EXTRACTED_DIR}/bin" "${ROOT_DIR}/"
|
|
36
|
+
cp -r "${EXTRACTED_DIR}/scripts" "${ROOT_DIR}/"
|
|
37
|
+
fi
|
|
38
|
+
fi
|
|
39
|
+
|
|
40
|
+
# 3. Restore user personalized context files (business, brand, voice)
|
|
41
|
+
if [ -d "${TEMP_BACKUP}/context" ]; then
|
|
42
|
+
echo "✓ Restoring your personalized context files (business.md, brand.md, brand-voice.md)..."
|
|
43
|
+
cp -r "${TEMP_BACKUP}/context/"* "${ROOT_DIR}/context/" 2>/dev/null || true
|
|
44
|
+
fi
|
|
45
|
+
|
|
46
|
+
rm -rf "${TEMP_BACKUP}"
|
|
47
|
+
|
|
48
|
+
# 4. Refresh MCP configurations & links
|
|
49
|
+
if [ -f "${ROOT_DIR}/scripts/setup.sh" ]; then
|
|
50
|
+
bash "${ROOT_DIR}/scripts/setup.sh" "$@"
|
|
51
|
+
fi
|
|
52
|
+
|
|
53
|
+
echo ""
|
|
54
|
+
echo "=== Update Complete! ==="
|
|
55
|
+
echo "✓ All commands, modular skills, and rules updated to the latest upstream release."
|
|
56
|
+
echo "✓ Your personalized context, memory logs, and custom skills were 100% preserved."
|
package/server.json
CHANGED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
3
|
"name": "io.github.businesskitai/agent",
|
|
4
4
|
"title": "BusinessKit Agent",
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "Official BusinessKit MCP server: POS, invoicing, inventory restock, CRM, and website publishing via Model Context Protocol.",
|
|
6
6
|
"repository": {
|
|
7
7
|
"url": "https://github.com/businesskitai/businesskit-agent",
|
|
8
8
|
"source": "github"
|
|
9
9
|
},
|
|
10
|
-
"version": "1.0.
|
|
10
|
+
"version": "1.0.7",
|
|
11
11
|
"packages": [
|
|
12
12
|
{
|
|
13
13
|
"registryType": "npm",
|
|
14
14
|
"identifier": "@businesskit/agent",
|
|
15
|
-
"version": "1.0.
|
|
15
|
+
"version": "1.0.7",
|
|
16
16
|
"transport": {
|
|
17
17
|
"type": "stdio"
|
|
18
18
|
}
|
package/skills/README.md
CHANGED
|
@@ -8,8 +8,9 @@ Skills load on demand based on task context—never load all skills simultaneous
|
|
|
8
8
|
|
|
9
9
|
| Skill | Directory | Core MCP Tools | Purpose |
|
|
10
10
|
| :--- | :--- | :--- | :--- |
|
|
11
|
-
| **
|
|
12
|
-
| **
|
|
11
|
+
| **Universal CMS** | `cms/` | `blog_post_create`, `content_list`, `content_get`, `content_update` | Blog posts, newsletters, guides, notes, and custom hubs with universal TipTap HTML blocks. |
|
|
12
|
+
| **Docs & Knowledge Base** | `docs/` | `blog_post_create`, `content_list`, `content_get`, `content_update` | Technical documentation, nested collection hierarchy, and knowledge base articles (`cat_32`). |
|
|
13
|
+
| **Visual Pages** | `pages/` | `page_create`, `page_get`, `page_update`, `page_publish`, `page_list`, `component_create`, `component_list`, `component_get`, `page_get_section_schema` | Storefront and landing pages using native modular sections and custom components. |
|
|
13
14
|
| **Billing & POS** | `billing/` | `shop_create_new_bill`, `invoice_create`, `invoice_send` | Rapid POS sales receipts, handwritten bill parsing, and B2B invoices. |
|
|
14
15
|
| **Inventory** | `inventory/` | `inventory_receive_purchase_invoice`, `inventory_add_stock`, `inventory_get_levels` | Supplier purchase bills, automated restocking, stock adjustments, and moving average cost. |
|
|
15
16
|
| **CRM** | `crm/` | `contact_create`, `contact_update` | Customer, client, and vendor directory management and tagging. |
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: cms
|
|
3
|
+
description: Universal CMS skill to author, format, and publish across Blog, Newsletter, Guides, Notes, and custom hubs using native TipTap HTML widgets.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Universal CMS & Content Publishing Skill
|
|
7
|
+
|
|
8
|
+
Use this skill when the user asks to write, edit, format, or publish content across any BusinessKit CMS hub:
|
|
9
|
+
- **Blog** (`category_id = "cat_35"`, `content_type = "blog"`)
|
|
10
|
+
- **Newsletter** (`category_id = "cat_20"`, `content_type = "n"`)
|
|
11
|
+
- **Guides** (`category_id = "cat_36"`, `content_type = "guides"`)
|
|
12
|
+
- **Notes / Changelog** (`category_id = "cat_37"`, `content_type = "notes"`)
|
|
13
|
+
- **User-Created Custom Hubs** (dynamically assigned `category_id` and custom slugs)
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## 1. Universal HTML Block Contract
|
|
18
|
+
|
|
19
|
+
All CMS content must be written in clean semantic TipTap HTML. Before composing `body_html`, read [`references/html-blocks.md`](./references/html-blocks.md) for exact markup:
|
|
20
|
+
- **Prose & Headings**: `<h2>`, `<h3>`, `<p>`, `<hr />`, `<blockquote>`, `<ul>`, `<ol>`.
|
|
21
|
+
- **Inline Elements**: `<strong>`, `<em>`, `<u>`, `<s>`, `<a href="...">`, `<code>inline</code>`, `<kbd class="tech-kbd">⌘K</kbd>`.
|
|
22
|
+
- **Checklists**: `<ul data-type="taskList"><li data-type="taskItem" data-checked="false"><label><input type="checkbox" /></label><div><p>Task</p></div></li></ul>`.
|
|
23
|
+
- **Code & Named Files**: `<pre data-filename="filename.ext"><code class="language-plaintext">...</code></pre>`.
|
|
24
|
+
- **Tables**: `<table><thead><tr><th>...</th></tr></thead><tbody>...</tbody></table>`.
|
|
25
|
+
- **Callout Cards**: `<div data-type="info-card" class="tech-callout tech-callout--info" role="note"><div class="tech-callout__content"><p>Note...</p></div></div>`.
|
|
26
|
+
- **Steps**: `<div data-type="steps" class="tech-steps"><div data-type="step-item" class="tech-step"><div data-type="step-title" class="tech-step__title">Title</div><div data-type="step-content" class="tech-step__content"><p>...</p></div></div></div>`.
|
|
27
|
+
- **Accordion FAQs**: `<div data-type="accordion-group" class="tech-accordion"><div data-type="accordion-item" class="tech-accordion__item" data-open="true"><div data-type="accordion-title" class="tech-accordion__summary">Q</div><div data-type="accordion-content" class="tech-accordion__content"><p>A</p></div></div></div>`.
|
|
28
|
+
- **Media & Embeds**: `<img>`, `<video controls ...>`, YouTube `<div data-youtube-video=""><iframe ...></iframe></div>`.
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## 2. Hub-Specific Blueprints
|
|
33
|
+
|
|
34
|
+
### A. Blog (`content_type = "blog"`, `category_id = "cat_35"`)
|
|
35
|
+
Editorial story, insights, product comparisons.
|
|
36
|
+
- Opening hook `<p>`, structured `<h2>`/`<h3>` sections.
|
|
37
|
+
- Pull-quotes `<blockquote>`, callout takeaways `<div data-type="info-card">`, comparison `<table>`, and code blocks.
|
|
38
|
+
- Compelling `excerpt`, `ai_summary`, `seo_title`, `seo_description`, and `seo_keywords`.
|
|
39
|
+
|
|
40
|
+
### B. Newsletter (`content_type = "n"`, `category_id = "cat_20"`)
|
|
41
|
+
Conversational reader letter style.
|
|
42
|
+
- Warm 1–2 paragraph opener `<p>` addressed directly to the reader.
|
|
43
|
+
- 2–4 scannable sections (`<h2>Main Story</h2>`, `<h2>Quick Reads</h2>` with `<ul>`, `<h2>Tip of the Week</h2>`).
|
|
44
|
+
- Action checklist `<ul data-type="taskList">` or `<div data-type="info-card">`.
|
|
45
|
+
- Explicit CTA button (`cta_button_text: "Read More"`, `cta_button_url: "https://..."`).
|
|
46
|
+
|
|
47
|
+
### C. Guides (`content_type = "guides"`, `category_id = "cat_36"`)
|
|
48
|
+
Actionable how-to walkthrough.
|
|
49
|
+
- Outcome opener `<p>` explaining what the reader achieves.
|
|
50
|
+
- Prerequisites in `<div data-type="info-card">` or `<ul data-type="taskList">`.
|
|
51
|
+
- Step-by-step tutorial inside `<div data-type="steps" class="tech-steps">` with code snippets and `<kbd>`.
|
|
52
|
+
- Closing FAQ accordion `<div data-type="accordion-group">`.
|
|
53
|
+
|
|
54
|
+
### D. User Custom Hubs (Dynamic `category_id`)
|
|
55
|
+
When the user creates a custom CMS hub (e.g. "Case Studies", "Changelog", "Recipes"):
|
|
56
|
+
- Call `content_list` to discover existing hubs, collections, and custom `category_id` values.
|
|
57
|
+
- Match tone and use the universal HTML widgets best suited for that hub.
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## 3. Collections & Cross-Hub UI Interconnection
|
|
62
|
+
|
|
63
|
+
Collections serve two vital architectural roles in BusinessKit:
|
|
64
|
+
|
|
65
|
+
1. **Sidebar Navigation**:
|
|
66
|
+
- For **Docs** (`category_id = "cat_32"`) and **Guides** (`category_id = "cat_36"`), the frontend filters `collections` by `category_id` to build the hierarchical sidebar navigation tree using `parent_id` and `order_index`.
|
|
67
|
+
- **Mandatory Rule**: When creating or seeding a new collection row, **ALWAYS** include `category_id`. Collections without `category_id` become orphaned from sidebar rendering.
|
|
68
|
+
|
|
69
|
+
2. **Cross-Hub Interconnection on the UI**:
|
|
70
|
+
- The same `collection_id` can be shared across multiple different CMS hubs and content types.
|
|
71
|
+
- For example, a single topic collection `col_inventory_setup` can link:
|
|
72
|
+
- Technical Reference (`category_id = "cat_32"`, `content_type = "docs"`)
|
|
73
|
+
- Step-by-Step Tutorial (`category_id = "cat_36"`, `content_type = "guides"`)
|
|
74
|
+
- Announcement Post (`category_id = "cat_35"`, `content_type = "blog"`)
|
|
75
|
+
- Companion Video (`category_id = "cat_21"`, `content_type = "videos"`)
|
|
76
|
+
- On the frontend UI, viewing any article in that collection queries:
|
|
77
|
+
`SELECT * FROM content WHERE collection_id = :id AND id != :current_id`
|
|
78
|
+
- This powers a rich cross-format **"Related in this collection"** widget on the UI, seamlessly connecting companion guides, videos, and articles across hubs without duplicate taxonomies.
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## 4. Tool Workflows
|
|
83
|
+
|
|
84
|
+
### Create Content
|
|
85
|
+
```json
|
|
86
|
+
call_tool("blog_post_create", {
|
|
87
|
+
"content_type": "blog",
|
|
88
|
+
"category_id": "cat_35",
|
|
89
|
+
"collection_id": "col_billing",
|
|
90
|
+
"title": "5 Ways to Automate Invoicing",
|
|
91
|
+
"excerpt": "Discover how automated billing saves hours every week.",
|
|
92
|
+
"seo_title": "5 Ways to Automate Invoicing | BusinessKit",
|
|
93
|
+
"body_html": "<p>Opening hook...</p><h2>1. Digital Invoices</h2><p>...</p>",
|
|
94
|
+
"published": false
|
|
95
|
+
})
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Update Existing Content
|
|
99
|
+
```json
|
|
100
|
+
call_tool("content_update", {
|
|
101
|
+
"id": "post_123",
|
|
102
|
+
"content": "<h2>Updated Section</h2><p>Refined text...</p>"
|
|
103
|
+
})
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## 5. Reference Catalogs
|
|
109
|
+
|
|
110
|
+
- [`references/html-blocks.md`](./references/html-blocks.md) — Exact markup snippets for every supported TipTap block and widget.
|
|
111
|
+
- [`references/cms-hubs.md`](./references/cms-hubs.md) — Full catalog of all 30 canonical CMS hubs with their `category_id`, `cms_id`, and `slug`.
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# Canonical CMS Hubs Catalog (Categorized by Type)
|
|
2
|
+
|
|
3
|
+
This reference lists all 30 built-in canonical CMS hubs in BusinessKit, grouped into 4 distinct functional types: **Content**, **Shop (Physical Goods)**, **Store (Digital)**, and **Others** (`src-tauri/src/commands/agents/tools/content.rs`).
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 1. Content (Editorial, Knowledge, Media & SEO)
|
|
8
|
+
|
|
9
|
+
Used for written publishing, technical documentation, media streaming, guides, and discovery.
|
|
10
|
+
|
|
11
|
+
| Title | Slug / `content_type` | `category_id` | `cms_id` | Purpose / Description |
|
|
12
|
+
| :--- | :--- | :--- | :--- | :--- |
|
|
13
|
+
| **Docs** | `docs` | `cat_32` | `cc55cc55-0001-4000-8000-000000000032` | Documentation, help center, and support articles |
|
|
14
|
+
| **Blog** | `blog` | `cat_35` | `cc55cc55-0001-4000-8000-000000000035` | Company announcements, insights, and editorial articles |
|
|
15
|
+
| **Guides** | `guides` | `cat_36` | `cc55cc55-0001-4000-8000-000000000036` | Actionable how-to tutorials and step walkthroughs |
|
|
16
|
+
| **Notes** | `notes` | `cat_37` | `cc55cc55-0001-4000-8000-000000000037` | Short memos, changelogs, TILs, and audience notes |
|
|
17
|
+
| **Newsletter** | `n` | `cat_20` | `cc55cc55-0001-4000-8000-000000000020` | Reader email issues, curated digests, and CTAs |
|
|
18
|
+
| **Posts** | `posts` | `cat_45` | `cc55cc55-0001-4000-8000-000000000045` | Quick social-style posts and micro-updates |
|
|
19
|
+
| **Videos** | `videos` | `cat_46` | `cc55cc55-0001-4000-8000-000000000046` | Video library and embedded tutorials |
|
|
20
|
+
| **Podcast** | `podcast` | `cat_48` | `cc55cc55-0001-4000-8000-000000000048` | Podcast show notes, episodes, and audio links |
|
|
21
|
+
| **Compare** | `compare` | `cat_40` | `cc55cc55-0001-4000-8000-000000000040` | Head-to-head product and plan comparisons |
|
|
22
|
+
| **Alternative** | `alternative` | `cat_41` | `cc55cc55-0001-4000-8000-000000000041` | Software & service alternatives lists |
|
|
23
|
+
| **Prompt** | `prompt` | `cat_39` | `cc55cc55-0001-4000-8000-000000000039` | Copyable AI prompts and templates |
|
|
24
|
+
| **Skills** | `skills` | `cat_38` | `cc55cc55-0001-4000-8000-000000000038` | Skill showcases and capability highlights |
|
|
25
|
+
| **Tools** | `tools` | `cat_2` | `cc55cc55-0001-4000-8000-000000000002` | Recommended developer tools and resources |
|
|
26
|
+
| **AI Tools** | `ai-tools` | `cat_51` | `cc55cc55-0001-4000-8000-000000000051` | Curated AI software and productivity apps |
|
|
27
|
+
| **Links** | `links` | `cat_1` | `cc55cc55-0001-4000-8000-000000000001` | Curated bookmarks and external resource links |
|
|
28
|
+
| **Pages** | `page` | `cat_47` | `cc55cc55-0001-4000-8000-000000000047` | Standalone CMS landing pages and custom layouts |
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## 2. Shop (Physical Goods & Retail POS)
|
|
33
|
+
|
|
34
|
+
Used exclusively for physical retail merchandise, in-store point-of-sale inventory, and physical item listings.
|
|
35
|
+
|
|
36
|
+
| Title | Slug / `content_type` | `category_id` | `cms_id` | Purpose / Description |
|
|
37
|
+
| :--- | :--- | :--- | :--- | :--- |
|
|
38
|
+
| **Shop** | `shop` | `cat_6` | `cc55cc55-0001-4000-8000-000000000006` | Physical goods, retail POS products, and store inventory |
|
|
39
|
+
| **Listing** | `listing` | `cat_27` | `cc55cc55-0001-4000-8000-000000000027` | Physical inventory listings, real estate, and items |
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## 3. Store (Digital Products & Downloads)
|
|
44
|
+
|
|
45
|
+
Used for digital ecommerce, downloadable files, assets, and online educational courses.
|
|
46
|
+
|
|
47
|
+
| Title | Slug / `content_type` | `category_id` | `cms_id` | Purpose / Description |
|
|
48
|
+
| :--- | :--- | :--- | :--- | :--- |
|
|
49
|
+
| **Store** | `store` | `cat_5` | `cc55cc55-0001-4000-8000-000000000005` | Online digital storefront and ecommerce catalog |
|
|
50
|
+
| **Downloads** | `downloads` | `cat_19` | `cc55cc55-0001-4000-8000-000000000019` | Digital files, software packages, and downloadable assets |
|
|
51
|
+
| **Courses** | `courses` | `cat_18` | `cc55cc55-0001-4000-8000-000000000018` | Educational lessons, curriculum, and video courses |
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## 4. Others (Services, Bookings, Events & Operations)
|
|
56
|
+
|
|
57
|
+
Used for professional services, appointments, calendar scheduling, live events, and business operations.
|
|
58
|
+
|
|
59
|
+
| Title | Slug / `content_type` | `category_id` | `cms_id` | Purpose / Description |
|
|
60
|
+
| :--- | :--- | :--- | :--- | :--- |
|
|
61
|
+
| **Services** | `services` | `cat_25` | `cc55cc55-0001-4000-8000-000000000025` | Professional service offerings and client deliverables |
|
|
62
|
+
| **Booking** | `booking` | `cat_30` | `cc55cc55-0001-4000-8000-000000000030` | Appointment and consultation bookings |
|
|
63
|
+
| **Meetings** | `meetings` | `cat_22` | `cc55cc55-0001-4000-8000-000000000022` | Schedule meetings, 1-on-1s, and call links |
|
|
64
|
+
| **Events** | `events` | `cat_8` | `cc55cc55-0001-4000-8000-000000000008` | Upcoming in-person and virtual events |
|
|
65
|
+
| **Webinars** | `webinars` | `cat_24` | `cc55cc55-0001-4000-8000-000000000024` | Live and recorded webinar sessions |
|
|
66
|
+
| **Sponsorship** | `sponsorship` | `cat_21` | `cc55cc55-0001-4000-8000-000000000021` | Sponsorship tiers and media kit packages |
|
|
67
|
+
| **Jobs** | `jobs` | `cat_31` | `cc55cc55-0001-4000-8000-000000000031` | Job openings, hiring posts, and career listings |
|
|
68
|
+
| **Community** | `community` | `cat_42` | `cc55cc55-0001-4000-8000-000000000042` | Community announcements, forums, and membership info |
|
|
69
|
+
| **Forms** | `forms` | `cat_34` | `cc55cc55-0001-4000-8000-000000000034` | Interactive lead capture and client intake forms |
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## Dynamic Hub Resolution Rules
|
|
74
|
+
|
|
75
|
+
1. **Tool Invocation**:
|
|
76
|
+
When invoking `blog_post_create` or `content_list`, you can supply either:
|
|
77
|
+
- `category_id` (e.g. `"cat_6"` for Shop, `"cat_5"` for Store)
|
|
78
|
+
- OR `content_type` (e.g. `"shop"`, `"store"`, `"blog"`, `"n"`)
|
|
79
|
+
- OR `cms_id` (e.g. `"cc55cc55-0001-4000-8000-000000000006"`)
|
|
80
|
+
The native BusinessKit MCP server resolves all three aliases interchangeably.
|
|
81
|
+
|
|
82
|
+
2. **User-Created Custom Hubs**:
|
|
83
|
+
- If a user creates a new custom hub in the app (e.g., "Case Studies" or "Changelog"), BusinessKit automatically assigns a new `category_id` and unique `cms_id`.
|
|
84
|
+
- Call `content_list()` to dynamically discover all available hubs on the user's active profile.
|