huaweicloud-devkit 1.0.2-dev.9 → 1.0.2-next.10

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.
Files changed (99) hide show
  1. package/.agents/plugins/marketplace.json +20 -20
  2. package/LICENSE +201 -201
  3. package/README.md +178 -138
  4. package/README.zh-CN.md +176 -138
  5. package/bin/setup.cjs +10 -8
  6. package/integrations/opencode/commands/huaweicloud-doctor.md +14 -14
  7. package/integrations/opencode/opencode.json +11 -14
  8. package/integrations/opencode/skills/huaweicloud-core/SKILL.md +32 -32
  9. package/package.json +60 -44
  10. package/plugins/huaweicloud-core/.claude-plugin/plugin.json +31 -44
  11. package/plugins/huaweicloud-core/.codex-plugin/plugin.json +30 -43
  12. package/plugins/huaweicloud-core/.cursor-plugin/plugin.json +31 -44
  13. package/plugins/huaweicloud-core/.mcp.json +13 -15
  14. package/plugins/huaweicloud-core/.workbuddy-plugin/plugin.json +31 -44
  15. package/plugins/huaweicloud-core/hooks/hooks.json +26 -26
  16. package/plugins/huaweicloud-core/hooks/huaweicloud-safety.py +136 -136
  17. package/plugins/huaweicloud-core/safety/policy.json +76 -100
  18. package/plugins/huaweicloud-core/safety/rules/cloud-risk-rules.json +227 -199
  19. package/plugins/huaweicloud-core/skills/huawei-apig/SKILL.md +164 -164
  20. package/plugins/huaweicloud-core/skills/huawei-billing/SKILL.md +48 -48
  21. package/plugins/huaweicloud-core/skills/huawei-cbr/SKILL.md +50 -50
  22. package/plugins/huaweicloud-core/skills/huawei-cce/SKILL.md +103 -101
  23. package/plugins/huaweicloud-core/skills/huawei-cloud-eye/SKILL.md +90 -90
  24. package/plugins/huaweicloud-core/skills/huawei-cloud-find-skills/SKILL.md +191 -190
  25. package/plugins/huaweicloud-core/skills/huawei-cloud-find-skills/scripts/search-skills.mjs +171 -124
  26. package/plugins/huaweicloud-core/skills/huawei-cts/SKILL.md +55 -55
  27. package/plugins/huaweicloud-core/skills/huawei-dds-dcs/SKILL.md +70 -70
  28. package/plugins/huaweicloud-core/skills/huawei-deployment/SKILL.md +57 -56
  29. package/plugins/huaweicloud-core/skills/huawei-dew/SKILL.md +106 -97
  30. package/plugins/huaweicloud-core/skills/huawei-dew/references/csms-usage.md +36 -29
  31. package/plugins/huaweicloud-core/skills/huawei-dew/references/kms-usage.md +29 -23
  32. package/plugins/huaweicloud-core/skills/huawei-ecs/SKILL.md +188 -185
  33. package/plugins/huaweicloud-core/skills/huawei-ecs/references/create-instance.md +144 -133
  34. package/plugins/huaweicloud-core/skills/huawei-ecs/references/evs.md +31 -31
  35. package/plugins/huaweicloud-core/skills/huawei-ecs/references/flavors.md +57 -55
  36. package/plugins/huaweicloud-core/skills/huawei-ecs/references/troubleshooting.md +52 -52
  37. package/plugins/huaweicloud-core/skills/huawei-functiongraph/SKILL.md +132 -131
  38. package/plugins/huaweicloud-core/skills/huawei-functiongraph/references/apig-event-format.md +60 -58
  39. package/plugins/huaweicloud-core/skills/huawei-functiongraph/references/create-function.md +72 -71
  40. package/plugins/huaweicloud-core/skills/huawei-functiongraph/references/deploy-workflow.md +119 -119
  41. package/plugins/huaweicloud-core/skills/huawei-functiongraph/references/triggers.md +142 -142
  42. package/plugins/huaweicloud-core/skills/huawei-gaussdb/SKILL.md +56 -56
  43. package/plugins/huaweicloud-core/skills/huawei-getting-started/SKILL.md +69 -65
  44. package/plugins/huaweicloud-core/skills/huawei-iam/SKILL.md +111 -111
  45. package/plugins/huaweicloud-core/skills/huawei-iam/references/policy-examples.md +148 -122
  46. package/plugins/huaweicloud-core/skills/huawei-iam/references/quick-ref.md +56 -56
  47. package/plugins/huaweicloud-core/skills/huawei-modelarts/SKILL.md +65 -65
  48. package/plugins/huaweicloud-core/skills/huawei-obs/SKILL.md +134 -127
  49. package/plugins/huaweicloud-core/skills/huawei-obs/references/bucket-create.md +49 -49
  50. package/plugins/huaweicloud-core/skills/huawei-obs/references/bucket-lifecycle.md +31 -26
  51. package/plugins/huaweicloud-core/skills/huawei-obs/references/common-pitfalls.md +101 -100
  52. package/plugins/huaweicloud-core/skills/huawei-obs/references/single-file-share.md +40 -40
  53. package/plugins/huaweicloud-core/skills/huawei-obs/references/static-website.md +56 -56
  54. package/plugins/huaweicloud-core/skills/huawei-rds/SKILL.md +229 -224
  55. package/plugins/huaweicloud-core/skills/huawei-sandbox/SKILL.md +173 -134
  56. package/plugins/huaweicloud-core/skills/huawei-smn-dms/SKILL.md +69 -69
  57. package/plugins/huaweicloud-core/skills/huawei-vpc/SKILL.md +84 -84
  58. package/plugins/huaweicloud-core/skills/huawei-vpc/references/network.md +77 -76
  59. package/plugins/huaweicloud-core/skills/huawei-vpc/references/security-group.md +60 -59
  60. package/plugins/huaweicloud-core/skills/huawei-vpc/references/subnet.md +50 -50
  61. package/plugins/huaweicloud-core/skills/huawei-waf-aad/SKILL.md +63 -63
  62. package/plugins/huaweicloud-core/skills/huaweicloud-api-and-sdk/SKILL.md +56 -56
  63. package/plugins/huaweicloud-core/skills/huaweicloud-api-and-sdk/agents/openai.yaml +4 -4
  64. package/plugins/huaweicloud-core/skills/huaweicloud-capability-discovery/SKILL.md +56 -47
  65. package/plugins/huaweicloud-core/skills/huaweicloud-capability-discovery/agents/openai.yaml +4 -4
  66. package/plugins/huaweicloud-core/skills/huaweicloud-cli-and-auth/SKILL.md +138 -128
  67. package/plugins/huaweicloud-core/skills/huaweicloud-cli-and-auth/agents/openai.yaml +4 -4
  68. package/plugins/huaweicloud-core/skills/huaweicloud-core/SKILL.md +111 -96
  69. package/plugins/huaweicloud-core/skills/huaweicloud-core/agents/openai.yaml +4 -4
  70. package/plugins/huaweicloud-core/skills/huaweicloud-core/references/report-issue.md +20 -20
  71. package/plugins/huaweicloud-core/skills/huaweicloud-core/references/select.md +30 -28
  72. package/plugins/huaweicloud-core/skills/huaweicloud-safety/SKILL.md +59 -60
  73. package/plugins/huaweicloud-core/skills/huaweicloud-safety/agents/openai.yaml +4 -4
  74. package/plugins/huaweicloud-core/skills/huaweicloud-troubleshooting/SKILL.md +83 -83
  75. package/plugins/huaweicloud-core/skills/huaweicloud-troubleshooting/agents/openai.yaml +4 -4
  76. package/plugins/huaweicloud-core/src/auth/agent-registration.mjs +54 -1
  77. package/plugins/huaweicloud-core/src/auth/credentials.mjs +103 -95
  78. package/plugins/huaweicloud-core/src/auth/service.mjs +63 -63
  79. package/plugins/huaweicloud-core/src/data/icons-manifest.v1.json +3517 -0
  80. package/plugins/huaweicloud-core/src/hcloud-cli.mjs +283 -265
  81. package/plugins/huaweicloud-core/src/icon-library.mjs +171 -0
  82. package/plugins/huaweicloud-core/src/mcp-server.mjs +130 -129
  83. package/plugins/huaweicloud-core/src/proxy/proxy-agent.mjs +68 -0
  84. package/plugins/huaweicloud-core/src/proxy/proxy-config.mjs +94 -0
  85. package/plugins/huaweicloud-core/src/risk-rule-engine.mjs +140 -137
  86. package/plugins/huaweicloud-core/src/safety-policy.mjs +356 -302
  87. package/plugins/huaweicloud-core/src/sandbox/hdkitservice-api.mjs +86 -87
  88. package/plugins/huaweicloud-core/src/sandbox/hwlink-api.mjs +150 -153
  89. package/plugins/huaweicloud-core/src/sandbox/session-manager.mjs +196 -105
  90. package/plugins/huaweicloud-core/src/search-market.mjs +208 -169
  91. package/plugins/huaweicloud-core/src/setup-cli.mjs +2622 -1594
  92. package/plugins/huaweicloud-core/src/tools.mjs +463 -111
  93. package/plugins/huaweicloud-core/src/ws-exec/hwlink-exec-client.js +447 -427
  94. package/plugins/huaweicloud-core/src/ws-exec/hwlink-fair-queue.js +128 -132
  95. package/plugins/huaweicloud-core/src/ws-exec/hwlink-multiplexer.js +215 -227
  96. package/plugins/huaweicloud-core/src/ws-exec/hwlink-packet.js +189 -202
  97. package/plugins/huaweicloud-core/src/ws-exec/hwlink-terminal-channel.js +164 -158
  98. package/plugins/huaweicloud-core/src/ws-exec/index.js +19 -19
  99. package/plugins/huaweicloud-core/src/ws-exec/ws-exec-client.js +338 -338
@@ -1,14 +1,14 @@
1
- ---
2
- description: Self-check Huawei Cloud DevKit readiness — hcloud, MCP, skills, auth.
3
- ---
4
-
5
- Use HuaweiCloud Devkit tools and skills to perform a comprehensive readiness check:
6
-
7
- 1. Check if KooCLI `hcloud` is installed: `huaweicloud_check_cli`. If not, guide user to install.
8
- 2. Check if hcloud has active credentials: `hcloud configure list` (redacted).
9
- 3. List installed skills via `huaweicloud_search_docs` or count directories in `~/.config/opencode/skills/`.
10
- 4. Verify MCP server is reachable by calling any read-only tool.
11
- 5. Summarize: installed (OK) vs missing (action needed).
12
- 6. Do not print AK/SK, tokens, passwords, credential files, or raw profile secrets.
13
-
14
- If MCP tools are unavailable (fresh install), run `npx huaweicloud-devkit doctor` in terminal.
1
+ ---
2
+ description: Self-check Huawei Cloud DevKit readiness — hcloud, MCP, skills, auth.
3
+ ---
4
+
5
+ Use HuaweiCloud Devkit tools and skills to perform a comprehensive readiness check:
6
+
7
+ 1. Check if KooCLI `hcloud` is installed: `huaweicloud_check_cli`. If not, guide user to install.
8
+ 2. Check if hcloud has active credentials: `hcloud configure list` (redacted).
9
+ 3. List installed skills via `huaweicloud_search_docs` or count directories in `~/.config/opencode/skills/`.
10
+ 4. Verify MCP server is reachable by calling any read-only tool.
11
+ 5. Summarize: installed (OK) vs missing (action needed).
12
+ 6. Do not print AK/SK, tokens, passwords, credential files, or raw profile secrets.
13
+
14
+ If MCP tools are unavailable (fresh install), run `npx huaweicloud-devkit doctor` in terminal.
@@ -1,14 +1,11 @@
1
- {
2
- "$schema": "https://opencode.ai/config.json",
3
- "_note": "Merge this into ~/.config/opencode/opencode.jsonc. Replace the path with the absolute path to your mcp-server.mjs installation.",
4
- "mcp": {
5
- "huaweicloud-devkit": {
6
- "type": "local",
7
- "command": [
8
- "node",
9
- "<绝对路径>/plugins/huaweicloud-core/src/mcp-server.mjs"
10
- ],
11
- "enabled": true
12
- }
13
- }
14
- }
1
+ {
2
+ "$schema": "https://opencode.ai/config.json",
3
+ "_note": "Merge this into ~/.config/opencode/opencode.jsonc. Replace the path with the absolute path to your mcp-server.mjs installation.",
4
+ "mcp": {
5
+ "huaweicloud-devkit": {
6
+ "type": "local",
7
+ "command": ["node", "<绝对路径>/plugins/huaweicloud-core/src/mcp-server.mjs"],
8
+ "enabled": true
9
+ }
10
+ }
11
+ }
@@ -1,32 +1,32 @@
1
- ---
2
- name: huaweicloud-core
3
- description: OpenCode entry skill for HuaweiCloud Devkit. Use when a developer asks OpenCode to use Huawei Cloud Skills, KooCLI, APIs, SDKs, future MCP tools, or low-priority Terraform guidance.
4
- ---
5
-
6
- # Huawei Cloud Core For OpenCode
7
-
8
- Use this skill as the OpenCode entry point. Prefer the full skill set under `plugins/huaweicloud-core/skills/` when the repository is available, or install those skills into OpenCode's skill directory with `scripts/install-opencode-local.ps1`.
9
-
10
- ## Routing
11
-
12
- 1. Use Huawei Cloud Skills for scenario workflows.
13
- 2. Use KooCLI `hcloud` for local read-only inspection and reviewed commands.
14
- 3. Use official API docs for exact request and response contracts.
15
- 4. Use SDK docs when writing application integration code.
16
- 5. Use approved MCP tools when they exist.
17
- 6. Keep Terraform Provider low priority in V1; mention it for reviewed IaC only.
18
-
19
- ## Safety
20
-
21
- Never ask the user to paste credentials. Never read `.hcloud` or `.huaweicloud` files into context. Plan writes first, ask for explicit approval, then verify with read-only checks.
22
-
23
- For commands that assemble Huawei Cloud parameters through variables, string concatenation, subshells, encoded payloads, or generated scripts, inspect the final expanded command text before execution. If OpenCode cannot determine the final values, ask for explicit review or run the planning/check tool on the expanded command.
24
-
25
- ## KooCLI Basics
26
-
27
- - Install guide: `https://support.huaweicloud.com/qs-hcli/hcli_02_003.html`.
28
- - Verify with `hcloud version`; set `HCLOUD_BIN` if OpenCode cannot find `hcloud`.
29
- - Discover exact operations with `hcloud <Service> --help` before guessing.
30
- - Prefer `--param=value`; array indexes start at 1, for example `--server.nics.1.subnet_id=<subnet-id>`.
31
- - Respect region intent: Singapore -> `ap-southeast-3`, Hong Kong -> `ap-southeast-2`, Beijing -> `cn-north-4`. Do not scan all regions blindly.
32
- - Warn before commands containing `adminPass`, `password`, tokens, or other values that may remain in shell history.
1
+ ---
2
+ name: huaweicloud-core
3
+ description: OpenCode entry skill for HuaweiCloud Devkit. Use when a developer asks OpenCode to use Huawei Cloud Skills, KooCLI, APIs, SDKs, future MCP tools, or low-priority Terraform guidance.
4
+ ---
5
+
6
+ # Huawei Cloud Core For OpenCode
7
+
8
+ Use this skill as the OpenCode entry point. Prefer the full skill set under `plugins/huaweicloud-core/skills/` when the repository is available, or install those skills into OpenCode's skill directory with `scripts/install-opencode-local.ps1`.
9
+
10
+ ## Routing
11
+
12
+ 1. Use Huawei Cloud Skills for scenario workflows.
13
+ 2. Use KooCLI `hcloud` for local read-only inspection and reviewed commands.
14
+ 3. Use official API docs for exact request and response contracts.
15
+ 4. Use SDK docs when writing application integration code.
16
+ 5. Use approved MCP tools when they exist.
17
+ 6. Keep Terraform Provider low priority in V1; mention it for reviewed IaC only.
18
+
19
+ ## Safety
20
+
21
+ Never ask the user to paste credentials. Never read `.hcloud` or `.huaweicloud` files into context. Plan writes first, ask for explicit approval, then verify with read-only checks.
22
+
23
+ For commands that assemble Huawei Cloud parameters through variables, string concatenation, subshells, encoded payloads, or generated scripts, inspect the final expanded command text before execution. If OpenCode cannot determine the final values, ask for explicit review or run the planning/check tool on the expanded command.
24
+
25
+ ## KooCLI Basics
26
+
27
+ - Install guide: `https://support.huaweicloud.com/qs-hcli/hcli_02_003.html`.
28
+ - Verify with `hcloud version`; set `HCLOUD_BIN` if OpenCode cannot find `hcloud`.
29
+ - Discover exact operations with `hcloud <Service> --help` before guessing.
30
+ - Prefer `--param=value`; array indexes start at 1, for example `--server.nics.1.subnet_id=<subnet-id>`.
31
+ - Respect region intent: Singapore -> `ap-southeast-3`, Hong Kong -> `ap-southeast-2`, Beijing -> `cn-north-4`. Do not scan all regions blindly.
32
+ - Warn before commands containing `adminPass`, `password`, tokens, or other values that may remain in shell history.
package/package.json CHANGED
@@ -1,44 +1,60 @@
1
- {
2
- "name": "huaweicloud-devkit",
3
- "version": "1.0.2-dev.9",
4
- "description": "Agent toolkit that helps coding agents use Huawei Cloud Skills, KooCLI, APIs, SDKs, and future MCP capabilities safely and accurately.",
5
- "type": "module",
6
- "files": [
7
- "bin",
8
- ".agents",
9
- "plugins/huaweicloud-core",
10
- "integrations/opencode"
11
- ],
12
- "bin": {
13
- "huaweicloud-devkit": "./bin/setup.cjs"
14
- },
15
- "repository": {
16
- "type": "git",
17
- "url": "https://github.com/huaweicloud/HuaweiCloud-Devkit.git"
18
- },
19
- "scripts": {
20
- "test": "node --test",
21
- "lint:md": "markdownlint-cli2 \"**/*.md\" \"#node_modules\" \"#.git\" \"#test/**\" \"#docs/**\"",
22
- "lint": "npm run lint:md",
23
- "validate": "node ./scripts/validate-package.mjs",
24
- "postinstall": "node -e \"console.log('\\nHuaweiCloud DevKit installed. Run: npx huaweicloud-devkit install\\n')\""
25
- },
26
- "devDependencies": {
27
- "markdownlint-cli2": "^0.23.2"
28
- },
29
- "keywords": [
30
- "huaweicloud",
31
- "huawei-cloud",
32
- "agent",
33
- "codex",
34
- "opencode",
35
- "workbuddy",
36
- "mcp",
37
- "koocli",
38
- "hcloud"
39
- ],
40
- "license": "Apache-2.0",
41
- "engines": {
42
- "node": ">=20"
43
- }
44
- }
1
+ {
2
+ "name": "huaweicloud-devkit",
3
+ "version": "1.0.2-next.10",
4
+ "description": "Agent toolkit that helps coding agents use Huawei Cloud Skills, KooCLI, APIs, SDKs, and future MCP capabilities safely and accurately.",
5
+ "type": "module",
6
+ "files": [
7
+ "bin",
8
+ ".agents",
9
+ "plugins/huaweicloud-core",
10
+ "integrations/opencode"
11
+ ],
12
+ "bin": {
13
+ "huaweicloud-devkit": "./bin/setup.cjs",
14
+ "huaweicloud-devkit-mcp": "./plugins/huaweicloud-core/src/mcp-server.mjs"
15
+ },
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "https://github.com/huaweicloud/HuaweiCloud-Devkit.git"
19
+ },
20
+ "scripts": {
21
+ "test": "node --test",
22
+ "format": "prettier --write .",
23
+ "format:check": "prettier --check .",
24
+ "lint:md": "markdownlint-cli2 \"**/*.md\" \"#node_modules\" \"#.git\" \"#test/**\" \"#docs/**\"",
25
+ "lint:js": "eslint .",
26
+ "lint": "npm run lint:md && npm run lint:js",
27
+ "validate": "node ./scripts/validate-package.mjs",
28
+ "pack:verify": "node ./scripts/pack-verify.mjs",
29
+ "postinstall": "node -e \"console.log('\\nHuaweiCloud DevKit installed. Run: npx huaweicloud-devkit install\\n')\""
30
+ },
31
+ "dependencies": {},
32
+ "devDependencies": {
33
+ "@eslint/js": "^10.0.1",
34
+ "eslint": "^10.8.1",
35
+ "eslint-config-prettier": "^10.1.8",
36
+ "eslint-plugin-n": "^18.3.0",
37
+ "globals": "^17.11.0",
38
+ "markdownlint-cli2": "^0.23.2",
39
+ "prettier": "^3.9.6"
40
+ },
41
+ "keywords": [
42
+ "huaweicloud",
43
+ "huawei-cloud",
44
+ "agent",
45
+ "codex",
46
+ "opencode",
47
+ "officeace",
48
+ "office-claw",
49
+ "workbuddy",
50
+ "dsh",
51
+ "deepseek-harness",
52
+ "mcp",
53
+ "koocli",
54
+ "hcloud"
55
+ ],
56
+ "license": "Apache-2.0",
57
+ "engines": {
58
+ "node": ">=20"
59
+ }
60
+ }
@@ -1,44 +1,31 @@
1
- {
2
- "interface": {
3
- "displayName": "HuaweiCloud Devkit",
4
- "shortDescription": "HuaweiCloud Devkit - Huawei Cloud guidance, CLI/API/SDK routing, MCP tools, and safety for coding agents.",
5
- "longDescription": "HuaweiCloud Devkit helps coding agents choose and use Huawei Cloud Skills, KooCLI, APIs, SDKs, and MCP tools with less context, safer command execution, and more accurate cloud implementation decisions.",
6
- "developerName": "HuaweiCloud Mate",
7
- "category": "Cloud",
8
- "capabilities": [
9
- "Read",
10
- "Interactive"
11
- ],
12
- "websiteURL": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
13
- "brandColor": "#C7000B",
14
- "defaultPrompt": [
15
- "Help me choose the right Huawei Cloud capability.",
16
- "Check my Huawei Cloud CLI setup safely.",
17
- "Plan this Huawei Cloud API or SDK task."
18
- ]
19
- },
20
- "mcpServers": "./.mcp.json",
21
- "description": "Guide coding agents to use Huawei Cloud Skills, KooCLI, APIs, SDKs, and future MCP capabilities with safer execution and less context.",
22
- "skills": "./skills/",
23
- "version": "1.0.2-dev.9",
24
- "author": {
25
- "name": "HuaweiCloud Mate",
26
- "url": "https://github.com/huaweicloud"
27
- },
28
- "hooks": "./hooks/",
29
- "name": "huaweicloud-core",
30
- "homepage": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
31
- "repository": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
32
- "license": "Apache-2.0",
33
- "keywords": [
34
- "huaweicloud",
35
- "huawei-cloud",
36
- "koocli",
37
- "hcloud",
38
- "agent",
39
- "mcp",
40
- "api",
41
- "sdk",
42
- "skills"
43
- ]
44
- }
1
+ {
2
+ "interface": {
3
+ "displayName": "HuaweiCloud Devkit",
4
+ "shortDescription": "HuaweiCloud Devkit - Huawei Cloud guidance, CLI/API/SDK routing, MCP tools, and safety for coding agents.",
5
+ "longDescription": "HuaweiCloud Devkit helps coding agents choose and use Huawei Cloud Skills, KooCLI, APIs, SDKs, and MCP tools with less context, safer command execution, and more accurate cloud implementation decisions.",
6
+ "developerName": "HuaweiCloud Mate",
7
+ "category": "Cloud",
8
+ "capabilities": ["Read", "Interactive"],
9
+ "websiteURL": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
10
+ "brandColor": "#C7000B",
11
+ "defaultPrompt": [
12
+ "Help me choose the right Huawei Cloud capability.",
13
+ "Check my Huawei Cloud CLI setup safely.",
14
+ "Plan this Huawei Cloud API or SDK task."
15
+ ]
16
+ },
17
+ "mcpServers": "./.mcp.json",
18
+ "description": "Guide coding agents to use Huawei Cloud Skills, KooCLI, APIs, SDKs, and future MCP capabilities with safer execution and less context.",
19
+ "skills": "./skills/",
20
+ "version": "1.0.2-next.10",
21
+ "author": {
22
+ "name": "HuaweiCloud Mate",
23
+ "url": "https://github.com/huaweicloud"
24
+ },
25
+ "hooks": "./hooks/",
26
+ "name": "huaweicloud-core",
27
+ "homepage": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
28
+ "repository": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
29
+ "license": "Apache-2.0",
30
+ "keywords": ["huaweicloud", "huawei-cloud", "koocli", "hcloud", "agent", "mcp", "api", "sdk", "skills"]
31
+ }
@@ -1,43 +1,30 @@
1
- {
2
- "name": "huaweicloud-core",
3
- "version": "1.0.2-dev.9",
4
- "description": "Guide coding agents to use Huawei Cloud Skills, KooCLI, APIs, SDKs, and future MCP capabilities with safer execution and less context.",
5
- "author": {
6
- "name": "HuaweiCloud Mate",
7
- "url": "https://github.com/huaweicloud"
8
- },
9
- "homepage": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
10
- "repository": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
11
- "license": "Apache-2.0",
12
- "keywords": [
13
- "huaweicloud",
14
- "huawei-cloud",
15
- "koocli",
16
- "hcloud",
17
- "agent",
18
- "mcp",
19
- "api",
20
- "sdk",
21
- "skills"
22
- ],
23
- "skills": "./skills/",
24
- "mcpServers": "./.mcp.json",
25
- "interface": {
26
- "displayName": "HuaweiCloud Devkit",
27
- "shortDescription": "HuaweiCloud Devkit - Huawei Cloud guidance, CLI/API/SDK routing, MCP tools, and safety for coding agents.",
28
- "longDescription": "HuaweiCloud Devkit helps coding agents choose and use Huawei Cloud Skills, KooCLI, APIs, SDKs, and MCP tools with less context, safer command execution, and more accurate cloud implementation decisions.",
29
- "developerName": "HuaweiCloud Mate",
30
- "category": "Cloud",
31
- "capabilities": [
32
- "Read",
33
- "Interactive"
34
- ],
35
- "websiteURL": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
36
- "brandColor": "#C7000B",
37
- "defaultPrompt": [
38
- "Help me choose the right Huawei Cloud capability.",
39
- "Check my Huawei Cloud CLI setup safely.",
40
- "Plan this Huawei Cloud API or SDK task."
41
- ]
42
- }
43
- }
1
+ {
2
+ "name": "huaweicloud-core",
3
+ "version": "1.0.2-next.10",
4
+ "description": "Guide coding agents to use Huawei Cloud Skills, KooCLI, APIs, SDKs, and future MCP capabilities with safer execution and less context.",
5
+ "author": {
6
+ "name": "HuaweiCloud Mate",
7
+ "url": "https://github.com/huaweicloud"
8
+ },
9
+ "homepage": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
10
+ "repository": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
11
+ "license": "Apache-2.0",
12
+ "keywords": ["huaweicloud", "huawei-cloud", "koocli", "hcloud", "agent", "mcp", "api", "sdk", "skills"],
13
+ "skills": "./skills/",
14
+ "mcpServers": "./.mcp.json",
15
+ "interface": {
16
+ "displayName": "HuaweiCloud Devkit",
17
+ "shortDescription": "HuaweiCloud Devkit - Huawei Cloud guidance, CLI/API/SDK routing, MCP tools, and safety for coding agents.",
18
+ "longDescription": "HuaweiCloud Devkit helps coding agents choose and use Huawei Cloud Skills, KooCLI, APIs, SDKs, and MCP tools with less context, safer command execution, and more accurate cloud implementation decisions.",
19
+ "developerName": "HuaweiCloud Mate",
20
+ "category": "Cloud",
21
+ "capabilities": ["Read", "Interactive"],
22
+ "websiteURL": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
23
+ "brandColor": "#C7000B",
24
+ "defaultPrompt": [
25
+ "Help me choose the right Huawei Cloud capability.",
26
+ "Check my Huawei Cloud CLI setup safely.",
27
+ "Plan this Huawei Cloud API or SDK task."
28
+ ]
29
+ }
30
+ }
@@ -1,44 +1,31 @@
1
- {
2
- "interface": {
3
- "displayName": "HuaweiCloud Devkit",
4
- "shortDescription": "HuaweiCloud Devkit - Huawei Cloud guidance, CLI/API/SDK routing, MCP tools, and safety for coding agents.",
5
- "longDescription": "HuaweiCloud Devkit helps coding agents choose and use Huawei Cloud Skills, KooCLI, APIs, SDKs, and MCP tools with less context, safer command execution, and more accurate cloud implementation decisions.",
6
- "developerName": "HuaweiCloud Mate",
7
- "category": "Cloud",
8
- "capabilities": [
9
- "Read",
10
- "Interactive"
11
- ],
12
- "websiteURL": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
13
- "brandColor": "#C7000B",
14
- "defaultPrompt": [
15
- "Help me choose the right Huawei Cloud capability.",
16
- "Check my Huawei Cloud CLI setup safely.",
17
- "Plan this Huawei Cloud API or SDK task."
18
- ]
19
- },
20
- "mcpServers": "./.mcp.json",
21
- "description": "Guide coding agents to use Huawei Cloud Skills, KooCLI, APIs, SDKs, and future MCP capabilities with safer execution and less context.",
22
- "skills": "./skills/",
23
- "version": "1.0.2-dev.9",
24
- "author": {
25
- "name": "HuaweiCloud Mate",
26
- "url": "https://github.com/huaweicloud"
27
- },
28
- "hooks": "./hooks/",
29
- "name": "huaweicloud-core",
30
- "homepage": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
31
- "repository": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
32
- "license": "Apache-2.0",
33
- "keywords": [
34
- "huaweicloud",
35
- "huawei-cloud",
36
- "koocli",
37
- "hcloud",
38
- "agent",
39
- "mcp",
40
- "api",
41
- "sdk",
42
- "skills"
43
- ]
44
- }
1
+ {
2
+ "interface": {
3
+ "displayName": "HuaweiCloud Devkit",
4
+ "shortDescription": "HuaweiCloud Devkit - Huawei Cloud guidance, CLI/API/SDK routing, MCP tools, and safety for coding agents.",
5
+ "longDescription": "HuaweiCloud Devkit helps coding agents choose and use Huawei Cloud Skills, KooCLI, APIs, SDKs, and MCP tools with less context, safer command execution, and more accurate cloud implementation decisions.",
6
+ "developerName": "HuaweiCloud Mate",
7
+ "category": "Cloud",
8
+ "capabilities": ["Read", "Interactive"],
9
+ "websiteURL": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
10
+ "brandColor": "#C7000B",
11
+ "defaultPrompt": [
12
+ "Help me choose the right Huawei Cloud capability.",
13
+ "Check my Huawei Cloud CLI setup safely.",
14
+ "Plan this Huawei Cloud API or SDK task."
15
+ ]
16
+ },
17
+ "mcpServers": "./.mcp.json",
18
+ "description": "Guide coding agents to use Huawei Cloud Skills, KooCLI, APIs, SDKs, and future MCP capabilities with safer execution and less context.",
19
+ "skills": "./skills/",
20
+ "version": "1.0.2-next.10",
21
+ "author": {
22
+ "name": "HuaweiCloud Mate",
23
+ "url": "https://github.com/huaweicloud"
24
+ },
25
+ "hooks": "./hooks/",
26
+ "name": "huaweicloud-core",
27
+ "homepage": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
28
+ "repository": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
29
+ "license": "Apache-2.0",
30
+ "keywords": ["huaweicloud", "huawei-cloud", "koocli", "hcloud", "agent", "mcp", "api", "sdk", "skills"]
31
+ }
@@ -1,15 +1,13 @@
1
- {
2
- "mcpServers": {
3
- "huaweicloud-devkit": {
4
- "command": "node",
5
- "args": [
6
- "./src/mcp-server.mjs"
7
- ],
8
- "cwd": ".",
9
- "env": {
10
- "HUAWEICLOUD_AGENT_TOOLKIT_MODE": "local",
11
- "HDKITSERVICE_ENDPOINT": ""
12
- }
13
- }
14
- }
15
- }
1
+ {
2
+ "mcpServers": {
3
+ "huaweicloud-devkit": {
4
+ "command": "node",
5
+ "args": ["./src/mcp-server.mjs"],
6
+ "cwd": ".",
7
+ "env": {
8
+ "HUAWEICLOUD_AGENT_TOOLKIT_MODE": "local",
9
+ "HDKITSERVICE_ENDPOINT": ""
10
+ }
11
+ }
12
+ }
13
+ }
@@ -1,44 +1,31 @@
1
- {
2
- "name": "huaweicloud-core",
3
- "version": "1.0.0",
4
- "description": "Guide coding agents to use Huawei Cloud Skills, KooCLI, APIs, SDKs, and future MCP capabilities with safer execution and less context.",
5
- "author": {
6
- "name": "HuaweiCloud Mate",
7
- "url": "https://github.com/huaweicloud"
8
- },
9
- "homepage": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
10
- "repository": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
11
- "license": "Apache-2.0",
12
- "keywords": [
13
- "huaweicloud",
14
- "huawei-cloud",
15
- "koocli",
16
- "hcloud",
17
- "agent",
18
- "mcp",
19
- "api",
20
- "sdk",
21
- "skills"
22
- ],
23
- "skills": "./skills/",
24
- "mcpServers": "./.mcp.json",
25
- "hooks": "./hooks/",
26
- "interface": {
27
- "displayName": "HuaweiCloud Devkit",
28
- "shortDescription": "HuaweiCloud Devkit - Huawei Cloud guidance, CLI/API/SDK routing, MCP tools, and safety for coding agents.",
29
- "longDescription": "HuaweiCloud Devkit helps coding agents choose and use Huawei Cloud Skills, KooCLI, APIs, SDKs, and MCP tools with less context, safer command execution, and more accurate cloud implementation decisions.",
30
- "developerName": "HuaweiCloud Mate",
31
- "category": "Cloud",
32
- "capabilities": [
33
- "Read",
34
- "Interactive"
35
- ],
36
- "websiteURL": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
37
- "brandColor": "#C7000B",
38
- "defaultPrompt": [
39
- "Help me choose the right Huawei Cloud capability.",
40
- "Check my Huawei Cloud CLI setup safely.",
41
- "Plan this Huawei Cloud API or SDK task."
42
- ]
43
- }
44
- }
1
+ {
2
+ "name": "huaweicloud-core",
3
+ "version": "1.0.2-next.10",
4
+ "description": "Guide coding agents to use Huawei Cloud Skills, KooCLI, APIs, SDKs, and future MCP capabilities with safer execution and less context.",
5
+ "author": {
6
+ "name": "HuaweiCloud Mate",
7
+ "url": "https://github.com/huaweicloud"
8
+ },
9
+ "homepage": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
10
+ "repository": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
11
+ "license": "Apache-2.0",
12
+ "keywords": ["huaweicloud", "huawei-cloud", "koocli", "hcloud", "agent", "mcp", "api", "sdk", "skills"],
13
+ "skills": "./skills/",
14
+ "mcpServers": "./.mcp.json",
15
+ "hooks": "./hooks/",
16
+ "interface": {
17
+ "displayName": "HuaweiCloud Devkit",
18
+ "shortDescription": "HuaweiCloud Devkit - Huawei Cloud guidance, CLI/API/SDK routing, MCP tools, and safety for coding agents.",
19
+ "longDescription": "HuaweiCloud Devkit helps coding agents choose and use Huawei Cloud Skills, KooCLI, APIs, SDKs, and MCP tools with less context, safer command execution, and more accurate cloud implementation decisions.",
20
+ "developerName": "HuaweiCloud Mate",
21
+ "category": "Cloud",
22
+ "capabilities": ["Read", "Interactive"],
23
+ "websiteURL": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
24
+ "brandColor": "#C7000B",
25
+ "defaultPrompt": [
26
+ "Help me choose the right Huawei Cloud capability.",
27
+ "Check my Huawei Cloud CLI setup safely.",
28
+ "Plan this Huawei Cloud API or SDK task."
29
+ ]
30
+ }
31
+ }
@@ -1,26 +1,26 @@
1
- {
2
- "hooks": {
3
- "PreToolUse": [
4
- {
5
- "matcher": "Bash",
6
- "hooks": [
7
- {
8
- "type": "command",
9
- "command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/huaweicloud-safety.py\"",
10
- "timeout": 5
11
- }
12
- ]
13
- },
14
- {
15
- "matcher": "mcp__.*huaweicloud.*|huaweicloud_.*",
16
- "hooks": [
17
- {
18
- "type": "command",
19
- "command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/huaweicloud-safety.py\"",
20
- "timeout": 5
21
- }
22
- ]
23
- }
24
- ]
25
- }
26
- }
1
+ {
2
+ "hooks": {
3
+ "PreToolUse": [
4
+ {
5
+ "matcher": "Bash",
6
+ "hooks": [
7
+ {
8
+ "type": "command",
9
+ "command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/huaweicloud-safety.py\"",
10
+ "timeout": 5
11
+ }
12
+ ]
13
+ },
14
+ {
15
+ "matcher": "mcp__.*huaweicloud.*|huaweicloud_.*",
16
+ "hooks": [
17
+ {
18
+ "type": "command",
19
+ "command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/huaweicloud-safety.py\"",
20
+ "timeout": 5
21
+ }
22
+ ]
23
+ }
24
+ ]
25
+ }
26
+ }