huaweicloud-devkit 1.0.2-next.0 → 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.
- package/.agents/plugins/marketplace.json +18 -18
- package/README.md +16 -1
- package/README.zh-CN.md +16 -1
- package/bin/setup.cjs +5 -3
- package/integrations/opencode/opencode.json +1 -4
- package/package.json +58 -44
- package/plugins/huaweicloud-core/.claude-plugin/plugin.json +3 -16
- package/plugins/huaweicloud-core/.codex-plugin/plugin.json +3 -16
- package/plugins/huaweicloud-core/.cursor-plugin/plugin.json +3 -16
- package/plugins/huaweicloud-core/.mcp.json +1 -3
- package/plugins/huaweicloud-core/.workbuddy-plugin/plugin.json +3 -16
- package/plugins/huaweicloud-core/safety/policy.json +75 -99
- package/plugins/huaweicloud-core/safety/rules/cloud-risk-rules.json +41 -13
- package/plugins/huaweicloud-core/skills/huawei-apig/SKILL.md +34 -34
- package/plugins/huaweicloud-core/skills/huawei-billing/SKILL.md +18 -18
- package/plugins/huaweicloud-core/skills/huawei-cbr/SKILL.md +19 -19
- package/plugins/huaweicloud-core/skills/huawei-cce/SKILL.md +34 -32
- package/plugins/huaweicloud-core/skills/huawei-cloud-eye/SKILL.md +30 -30
- package/plugins/huaweicloud-core/skills/huawei-cloud-find-skills/SKILL.md +12 -11
- package/plugins/huaweicloud-core/skills/huawei-cloud-find-skills/scripts/search-skills.mjs +64 -17
- package/plugins/huaweicloud-core/skills/huawei-cts/SKILL.md +20 -20
- package/plugins/huaweicloud-core/skills/huawei-dds-dcs/SKILL.md +31 -31
- package/plugins/huaweicloud-core/skills/huawei-deployment/SKILL.md +21 -20
- package/plugins/huaweicloud-core/skills/huawei-dew/SKILL.md +39 -30
- package/plugins/huaweicloud-core/skills/huawei-dew/references/csms-usage.md +8 -1
- package/plugins/huaweicloud-core/skills/huawei-dew/references/kms-usage.md +6 -0
- package/plugins/huaweicloud-core/skills/huawei-ecs/SKILL.md +39 -36
- package/plugins/huaweicloud-core/skills/huawei-ecs/references/create-instance.md +15 -4
- package/plugins/huaweicloud-core/skills/huawei-ecs/references/flavors.md +11 -9
- package/plugins/huaweicloud-core/skills/huawei-ecs/references/troubleshooting.md +13 -13
- package/plugins/huaweicloud-core/skills/huawei-functiongraph/SKILL.md +40 -39
- package/plugins/huaweicloud-core/skills/huawei-functiongraph/references/apig-event-format.md +12 -10
- package/plugins/huaweicloud-core/skills/huawei-functiongraph/references/create-function.md +21 -20
- package/plugins/huaweicloud-core/skills/huawei-functiongraph/references/triggers.md +19 -19
- package/plugins/huaweicloud-core/skills/huawei-gaussdb/SKILL.md +20 -20
- package/plugins/huaweicloud-core/skills/huawei-getting-started/SKILL.md +27 -23
- package/plugins/huaweicloud-core/skills/huawei-iam/SKILL.md +27 -27
- package/plugins/huaweicloud-core/skills/huawei-iam/references/policy-examples.md +65 -39
- package/plugins/huaweicloud-core/skills/huawei-iam/references/quick-ref.md +9 -9
- package/plugins/huaweicloud-core/skills/huawei-modelarts/SKILL.md +25 -25
- package/plugins/huaweicloud-core/skills/huawei-obs/SKILL.md +45 -44
- package/plugins/huaweicloud-core/skills/huawei-obs/references/bucket-create.md +19 -19
- package/plugins/huaweicloud-core/skills/huawei-obs/references/bucket-lifecycle.md +12 -7
- package/plugins/huaweicloud-core/skills/huawei-obs/references/common-pitfalls.md +13 -12
- package/plugins/huaweicloud-core/skills/huawei-obs/references/single-file-share.md +4 -4
- package/plugins/huaweicloud-core/skills/huawei-rds/SKILL.md +63 -58
- package/plugins/huaweicloud-core/skills/huawei-sandbox/SKILL.md +79 -41
- package/plugins/huaweicloud-core/skills/huawei-smn-dms/SKILL.md +26 -26
- package/plugins/huaweicloud-core/skills/huawei-vpc/SKILL.md +39 -39
- package/plugins/huaweicloud-core/skills/huawei-vpc/references/network.md +13 -12
- package/plugins/huaweicloud-core/skills/huawei-vpc/references/security-group.md +20 -19
- package/plugins/huaweicloud-core/skills/huawei-vpc/references/subnet.md +15 -15
- package/plugins/huaweicloud-core/skills/huawei-waf-aad/SKILL.md +18 -18
- package/plugins/huaweicloud-core/skills/huaweicloud-api-and-sdk/SKILL.md +13 -13
- package/plugins/huaweicloud-core/skills/huaweicloud-api-and-sdk/agents/openai.yaml +3 -3
- package/plugins/huaweicloud-core/skills/huaweicloud-capability-discovery/SKILL.md +6 -1
- package/plugins/huaweicloud-core/skills/huaweicloud-capability-discovery/agents/openai.yaml +3 -3
- package/plugins/huaweicloud-core/skills/huaweicloud-cli-and-auth/SKILL.md +11 -1
- package/plugins/huaweicloud-core/skills/huaweicloud-cli-and-auth/agents/openai.yaml +3 -3
- package/plugins/huaweicloud-core/skills/huaweicloud-core/SKILL.md +53 -53
- package/plugins/huaweicloud-core/skills/huaweicloud-core/agents/openai.yaml +3 -3
- package/plugins/huaweicloud-core/skills/huaweicloud-core/references/report-issue.md +6 -6
- package/plugins/huaweicloud-core/skills/huaweicloud-core/references/select.md +3 -1
- package/plugins/huaweicloud-core/skills/huaweicloud-safety/SKILL.md +0 -1
- package/plugins/huaweicloud-core/skills/huaweicloud-safety/agents/openai.yaml +3 -3
- package/plugins/huaweicloud-core/skills/huaweicloud-troubleshooting/SKILL.md +33 -33
- package/plugins/huaweicloud-core/skills/huaweicloud-troubleshooting/agents/openai.yaml +3 -3
- package/plugins/huaweicloud-core/src/auth/agent-registration.mjs +140 -105
- package/plugins/huaweicloud-core/src/auth/credentials.mjs +12 -4
- package/plugins/huaweicloud-core/src/auth/service.mjs +1 -1
- package/plugins/huaweicloud-core/src/data/icons-manifest.v1.json +3517 -0
- package/plugins/huaweicloud-core/src/hcloud-cli.mjs +25 -7
- package/plugins/huaweicloud-core/src/icon-library.mjs +171 -0
- package/plugins/huaweicloud-core/src/mcp-server.mjs +1 -0
- package/plugins/huaweicloud-core/src/proxy/proxy-agent.mjs +15 -102
- package/plugins/huaweicloud-core/src/proxy/proxy-config.mjs +11 -4
- package/plugins/huaweicloud-core/src/risk-rule-engine.mjs +4 -1
- package/plugins/huaweicloud-core/src/safety-policy.mjs +122 -68
- package/plugins/huaweicloud-core/src/sandbox/hdkitservice-api.mjs +2 -7
- package/plugins/huaweicloud-core/src/sandbox/hwlink-api.mjs +10 -22
- package/plugins/huaweicloud-core/src/sandbox/session-manager.mjs +90 -6
- package/plugins/huaweicloud-core/src/search-market.mjs +46 -12
- package/plugins/huaweicloud-core/src/setup-cli.mjs +776 -171
- package/plugins/huaweicloud-core/src/tools.mjs +1345 -1008
- package/plugins/huaweicloud-core/src/ws-exec/hwlink-exec-client.js +54 -34
- package/plugins/huaweicloud-core/src/ws-exec/hwlink-fair-queue.js +1 -5
- package/plugins/huaweicloud-core/src/ws-exec/hwlink-multiplexer.js +3 -15
- package/plugins/huaweicloud-core/src/ws-exec/hwlink-packet.js +3 -16
- package/plugins/huaweicloud-core/src/ws-exec/hwlink-terminal-channel.js +37 -31
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
2
|
+
"name": "huaweicloud-devkit",
|
|
3
|
+
"interface": {
|
|
4
|
+
"displayName": "HuaweiCloud Devkit"
|
|
5
|
+
},
|
|
6
|
+
"plugins": [
|
|
7
|
+
{
|
|
8
|
+
"name": "huaweicloud-core",
|
|
9
|
+
"source": {
|
|
10
|
+
"source": "local",
|
|
11
|
+
"path": "./plugins/huaweicloud-core"
|
|
12
|
+
},
|
|
13
|
+
"policy": {
|
|
14
|
+
"installation": "AVAILABLE",
|
|
15
|
+
"authentication": "ON_USE"
|
|
16
|
+
},
|
|
17
|
+
"category": "Cloud"
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
20
|
}
|
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
Help AI coding agents use Huawei Cloud safely and accurately — a single integration that gives agents cloud knowledge, CLI tooling, and safety guardrails.
|
|
10
10
|
|
|
11
|
-
Supports OpenCode, Codex, CodeArts Agent, WorkBuddy,
|
|
11
|
+
Supports OpenCode, Codex, CodeArts Agent, WorkBuddy, DeepSeek Harness (DSH), and OfficeAce.
|
|
12
12
|
|
|
13
13
|
## Prerequisites
|
|
14
14
|
|
|
@@ -108,6 +108,21 @@ npx --yes huaweicloud-devkit uninstall --target dsh
|
|
|
108
108
|
> client is not detected, run:
|
|
109
109
|
> `npx @deepseek-ai/dsh plugin --profile web add @deepseek-ai/dsh-mcp-client`.
|
|
110
110
|
|
|
111
|
+
### OfficeAce
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
npx --yes huaweicloud-devkit install --target officeace
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
**Restart OfficeAce** after installation.
|
|
118
|
+
|
|
119
|
+
```bash
|
|
120
|
+
npx --yes huaweicloud-devkit doctor
|
|
121
|
+
npx --yes huaweicloud-devkit status --target officeace
|
|
122
|
+
npx --yes huaweicloud-devkit update --target officeace
|
|
123
|
+
npx --yes huaweicloud-devkit uninstall --target officeace
|
|
124
|
+
```
|
|
125
|
+
|
|
111
126
|
### Other Agents
|
|
112
127
|
|
|
113
128
|
For agents that support the Model Context Protocol (MCP):
|
package/README.zh-CN.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
帮助 AI 编码助手安全、准确地使用华为云——一站式集成云知识、CLI 工具和安全护栏。
|
|
10
10
|
|
|
11
|
-
支持 OpenCode、Codex、码道(CodeArts Agent)、WorkBuddy、DeepSeek Harness(DSH
|
|
11
|
+
支持 OpenCode、Codex、码道(CodeArts Agent)、WorkBuddy、DeepSeek Harness(DSH)、OfficeAce。
|
|
12
12
|
|
|
13
13
|
## 前置条件
|
|
14
14
|
|
|
@@ -106,6 +106,21 @@ npx --yes huaweicloud-devkit uninstall --target dsh
|
|
|
106
106
|
> 如果安装器提示 DSH MCP 客户端未检测到,请按提示执行
|
|
107
107
|
> `npx @deepseek-ai/dsh plugin --profile web add @deepseek-ai/dsh-mcp-client`。
|
|
108
108
|
|
|
109
|
+
### OfficeAce
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
npx --yes huaweicloud-devkit install --target officeace
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
安装后**重启 OfficeAce**。
|
|
116
|
+
|
|
117
|
+
```bash
|
|
118
|
+
npx --yes huaweicloud-devkit doctor
|
|
119
|
+
npx --yes huaweicloud-devkit status --target officeace
|
|
120
|
+
npx --yes huaweicloud-devkit update --target officeace
|
|
121
|
+
npx --yes huaweicloud-devkit uninstall --target officeace
|
|
122
|
+
```
|
|
123
|
+
|
|
109
124
|
### 其他 Agent
|
|
110
125
|
|
|
111
126
|
支持 MCP 协议的 Agent,手动配置:
|
package/bin/setup.cjs
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
|
-
const path = require('path');
|
|
4
|
-
const fileUrl = require('url').pathToFileURL(
|
|
5
|
-
|
|
3
|
+
const path = require('node:path');
|
|
4
|
+
const fileUrl = require('node:url').pathToFileURL(
|
|
5
|
+
path.join(__dirname, '..', 'plugins', 'huaweicloud-core', 'src', 'setup-cli.mjs'),
|
|
6
|
+
).href;
|
|
7
|
+
import(fileUrl).catch((e) => {
|
|
6
8
|
console.error(e.message);
|
|
7
9
|
process.exit(1);
|
|
8
10
|
});
|
package/package.json
CHANGED
|
@@ -1,46 +1,60 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
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
|
+
}
|
|
46
60
|
}
|
|
@@ -5,10 +5,7 @@
|
|
|
5
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
6
|
"developerName": "HuaweiCloud Mate",
|
|
7
7
|
"category": "Cloud",
|
|
8
|
-
"capabilities": [
|
|
9
|
-
"Read",
|
|
10
|
-
"Interactive"
|
|
11
|
-
],
|
|
8
|
+
"capabilities": ["Read", "Interactive"],
|
|
12
9
|
"websiteURL": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
|
|
13
10
|
"brandColor": "#C7000B",
|
|
14
11
|
"defaultPrompt": [
|
|
@@ -20,7 +17,7 @@
|
|
|
20
17
|
"mcpServers": "./.mcp.json",
|
|
21
18
|
"description": "Guide coding agents to use Huawei Cloud Skills, KooCLI, APIs, SDKs, and future MCP capabilities with safer execution and less context.",
|
|
22
19
|
"skills": "./skills/",
|
|
23
|
-
"version": "1.0.2-next.
|
|
20
|
+
"version": "1.0.2-next.10",
|
|
24
21
|
"author": {
|
|
25
22
|
"name": "HuaweiCloud Mate",
|
|
26
23
|
"url": "https://github.com/huaweicloud"
|
|
@@ -30,15 +27,5 @@
|
|
|
30
27
|
"homepage": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
|
|
31
28
|
"repository": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
|
|
32
29
|
"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
|
-
]
|
|
30
|
+
"keywords": ["huaweicloud", "huawei-cloud", "koocli", "hcloud", "agent", "mcp", "api", "sdk", "skills"]
|
|
44
31
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "huaweicloud-core",
|
|
3
|
-
"version": "1.0.2-next.
|
|
3
|
+
"version": "1.0.2-next.10",
|
|
4
4
|
"description": "Guide coding agents to use Huawei Cloud Skills, KooCLI, APIs, SDKs, and future MCP capabilities with safer execution and less context.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "HuaweiCloud Mate",
|
|
@@ -9,17 +9,7 @@
|
|
|
9
9
|
"homepage": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
|
|
10
10
|
"repository": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
|
|
11
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
|
-
],
|
|
12
|
+
"keywords": ["huaweicloud", "huawei-cloud", "koocli", "hcloud", "agent", "mcp", "api", "sdk", "skills"],
|
|
23
13
|
"skills": "./skills/",
|
|
24
14
|
"mcpServers": "./.mcp.json",
|
|
25
15
|
"interface": {
|
|
@@ -28,10 +18,7 @@
|
|
|
28
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.",
|
|
29
19
|
"developerName": "HuaweiCloud Mate",
|
|
30
20
|
"category": "Cloud",
|
|
31
|
-
"capabilities": [
|
|
32
|
-
"Read",
|
|
33
|
-
"Interactive"
|
|
34
|
-
],
|
|
21
|
+
"capabilities": ["Read", "Interactive"],
|
|
35
22
|
"websiteURL": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
|
|
36
23
|
"brandColor": "#C7000B",
|
|
37
24
|
"defaultPrompt": [
|
|
@@ -5,10 +5,7 @@
|
|
|
5
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
6
|
"developerName": "HuaweiCloud Mate",
|
|
7
7
|
"category": "Cloud",
|
|
8
|
-
"capabilities": [
|
|
9
|
-
"Read",
|
|
10
|
-
"Interactive"
|
|
11
|
-
],
|
|
8
|
+
"capabilities": ["Read", "Interactive"],
|
|
12
9
|
"websiteURL": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
|
|
13
10
|
"brandColor": "#C7000B",
|
|
14
11
|
"defaultPrompt": [
|
|
@@ -20,7 +17,7 @@
|
|
|
20
17
|
"mcpServers": "./.mcp.json",
|
|
21
18
|
"description": "Guide coding agents to use Huawei Cloud Skills, KooCLI, APIs, SDKs, and future MCP capabilities with safer execution and less context.",
|
|
22
19
|
"skills": "./skills/",
|
|
23
|
-
"version": "1.0.2-next.
|
|
20
|
+
"version": "1.0.2-next.10",
|
|
24
21
|
"author": {
|
|
25
22
|
"name": "HuaweiCloud Mate",
|
|
26
23
|
"url": "https://github.com/huaweicloud"
|
|
@@ -30,15 +27,5 @@
|
|
|
30
27
|
"homepage": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
|
|
31
28
|
"repository": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
|
|
32
29
|
"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
|
-
]
|
|
30
|
+
"keywords": ["huaweicloud", "huawei-cloud", "koocli", "hcloud", "agent", "mcp", "api", "sdk", "skills"]
|
|
44
31
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "huaweicloud-core",
|
|
3
|
-
"version": "1.0.2-next.
|
|
3
|
+
"version": "1.0.2-next.10",
|
|
4
4
|
"description": "Guide coding agents to use Huawei Cloud Skills, KooCLI, APIs, SDKs, and future MCP capabilities with safer execution and less context.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "HuaweiCloud Mate",
|
|
@@ -9,17 +9,7 @@
|
|
|
9
9
|
"homepage": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
|
|
10
10
|
"repository": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
|
|
11
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
|
-
],
|
|
12
|
+
"keywords": ["huaweicloud", "huawei-cloud", "koocli", "hcloud", "agent", "mcp", "api", "sdk", "skills"],
|
|
23
13
|
"skills": "./skills/",
|
|
24
14
|
"mcpServers": "./.mcp.json",
|
|
25
15
|
"hooks": "./hooks/",
|
|
@@ -29,10 +19,7 @@
|
|
|
29
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.",
|
|
30
20
|
"developerName": "HuaweiCloud Mate",
|
|
31
21
|
"category": "Cloud",
|
|
32
|
-
"capabilities": [
|
|
33
|
-
"Read",
|
|
34
|
-
"Interactive"
|
|
35
|
-
],
|
|
22
|
+
"capabilities": ["Read", "Interactive"],
|
|
36
23
|
"websiteURL": "https://github.com/huaweicloud/HuaweiCloud-Devkit",
|
|
37
24
|
"brandColor": "#C7000B",
|
|
38
25
|
"defaultPrompt": [
|
|
@@ -1,100 +1,76 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
"
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
"safeTextReadCommands": [
|
|
78
|
-
"rg",
|
|
79
|
-
"grep",
|
|
80
|
-
"findstr",
|
|
81
|
-
"git",
|
|
82
|
-
"ls",
|
|
83
|
-
"dir",
|
|
84
|
-
"Get-ChildItem"
|
|
85
|
-
],
|
|
86
|
-
"blockedSandboxCommands": [
|
|
87
|
-
"rm\\s+-rf\\s+/",
|
|
88
|
-
"mkfs",
|
|
89
|
-
"dd\\s+if=",
|
|
90
|
-
":\\(\\)\\{:\\|:&\\};:",
|
|
91
|
-
"shutdown",
|
|
92
|
-
"reboot",
|
|
93
|
-
"init\\s+[06]",
|
|
94
|
-
"fdisk"
|
|
95
|
-
],
|
|
96
|
-
"sandboxWriteTools": [
|
|
97
|
-
"huaweicloud_sandbox_connect",
|
|
98
|
-
"huaweicloud_sandbox_credentials"
|
|
99
|
-
]
|
|
100
|
-
}
|
|
2
|
+
"version": "0.1.0",
|
|
3
|
+
"secretKeyNamePatterns": [
|
|
4
|
+
"access[_-]?key",
|
|
5
|
+
"secret[_-]?key",
|
|
6
|
+
"security[_-]?token",
|
|
7
|
+
"x[_-]?auth[_-]?token",
|
|
8
|
+
"authorization",
|
|
9
|
+
"password",
|
|
10
|
+
"passwd",
|
|
11
|
+
"token",
|
|
12
|
+
"credential",
|
|
13
|
+
"private[_-]?key",
|
|
14
|
+
"ak",
|
|
15
|
+
"sk"
|
|
16
|
+
],
|
|
17
|
+
"credentialFilePatterns": [
|
|
18
|
+
"\\.hcloud",
|
|
19
|
+
"\\.huaweicloud",
|
|
20
|
+
"hcloud[/\\\\](config|credentials)",
|
|
21
|
+
"huaweicloud[/\\\\](config|credentials)"
|
|
22
|
+
],
|
|
23
|
+
"blockedConfigureSubcommands": ["show", "get", "list", "export", "init"],
|
|
24
|
+
"blockedSecretOperations": ["ShowSecretVersion", "DownloadSecret", "GetSecretValue"],
|
|
25
|
+
"writeOperationPrefixes": [
|
|
26
|
+
"Create",
|
|
27
|
+
"BatchCreate",
|
|
28
|
+
"Delete",
|
|
29
|
+
"BatchDelete",
|
|
30
|
+
"Update",
|
|
31
|
+
"Modify",
|
|
32
|
+
"Resize",
|
|
33
|
+
"Reboot",
|
|
34
|
+
"Stop",
|
|
35
|
+
"Start",
|
|
36
|
+
"Restart",
|
|
37
|
+
"Authorize",
|
|
38
|
+
"Revoke",
|
|
39
|
+
"Add",
|
|
40
|
+
"Remove",
|
|
41
|
+
"Associate",
|
|
42
|
+
"Disassociate",
|
|
43
|
+
"Attach",
|
|
44
|
+
"Detach",
|
|
45
|
+
"Enable",
|
|
46
|
+
"Disable",
|
|
47
|
+
"Set",
|
|
48
|
+
"Put",
|
|
49
|
+
"Upload",
|
|
50
|
+
"Install",
|
|
51
|
+
"Publish",
|
|
52
|
+
"Bind",
|
|
53
|
+
"Unbind",
|
|
54
|
+
"Invoke",
|
|
55
|
+
"Execute",
|
|
56
|
+
"Trigger",
|
|
57
|
+
"Deploy"
|
|
58
|
+
],
|
|
59
|
+
"readOperationPrefixes": ["List", "Show", "Get", "Describe", "NovaList", "NovaShow"],
|
|
60
|
+
"safeTextReadCommands": ["rg", "grep", "findstr", "git", "ls", "dir", "Get-ChildItem"],
|
|
61
|
+
"blockedSandboxCommands": [
|
|
62
|
+
"rm\\s+-rf\\s+/",
|
|
63
|
+
"mkfs",
|
|
64
|
+
"dd\\s+if=",
|
|
65
|
+
":\\(\\)\\{:\\|:&\\};:",
|
|
66
|
+
"shutdown",
|
|
67
|
+
"reboot",
|
|
68
|
+
"init\\s+[06]",
|
|
69
|
+
"fdisk"
|
|
70
|
+
],
|
|
71
|
+
"sandboxWriteTools": [
|
|
72
|
+
"huaweicloud_sandbox_connect",
|
|
73
|
+
"huaweicloud_sandbox_credentials",
|
|
74
|
+
"huaweicloud_sandbox_upload_file"
|
|
75
|
+
]
|
|
76
|
+
}
|