@bdayadev/flutter-ultra-mcp 0.0.0 → 1.0.0
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/.claude-plugin/marketplace.json +23 -0
- package/.claude-plugin/plugin.json +14 -14
- package/.mcp.json +67 -67
- package/CODE_OF_CONDUCT.md +83 -83
- package/CONTRIBUTING.md +108 -108
- package/LICENSE +201 -201
- package/README.md +77 -77
- package/SECURITY.md +19 -19
- package/dart/ultra_flutter/CHANGELOG.md +34 -34
- package/dart/ultra_flutter/EXTENSIONS.md +61 -61
- package/dart/ultra_flutter/README.md +109 -109
- package/dart/ultra_flutter/pubspec.yaml +37 -37
- package/dart/ultra_flutter_devtools/README.md +7 -7
- package/dart/ultra_flutter_devtools/pubspec.yaml +27 -27
- package/docs/UPSTREAM-PATROL-PRS.md +5 -5
- package/docs/UPSTREAM-SENTRY-PR.md +62 -62
- package/docs/discovery-empirics.md +435 -435
- package/examples/counter-app/README.md +24 -24
- package/examples/counter-app/pubspec.yaml +23 -23
- package/examples/oidc-app/README.md +48 -48
- package/examples/oidc-app/pubspec.yaml +24 -24
- package/package.json +82 -82
- package/packages/flutter-ultra-browser/README.md +29 -29
- package/packages/flutter-ultra-browser/package.json +39 -39
- package/packages/flutter-ultra-build/README.md +60 -60
- package/packages/flutter-ultra-build/package.json +38 -38
- package/packages/flutter-ultra-devtools/README.md +7 -7
- package/packages/flutter-ultra-devtools/package.json +36 -36
- package/packages/flutter-ultra-gesture/README.md +51 -51
- package/packages/flutter-ultra-gesture/package.json +58 -58
- package/packages/flutter-ultra-native-desktop/README.md +131 -131
- package/packages/flutter-ultra-native-desktop/package.json +81 -81
- package/packages/flutter-ultra-native-mobile/README.md +103 -103
- package/packages/flutter-ultra-native-mobile/package.json +72 -72
- package/packages/flutter-ultra-patrol/README.md +40 -40
- package/packages/flutter-ultra-patrol/package.json +38 -38
- package/packages/flutter-ultra-runtime/README.md +63 -63
- package/packages/flutter-ultra-runtime/package.json +69 -69
- package/shared/contracts/package.json +31 -31
- package/shared/device-router/README.md +51 -51
- package/shared/device-router/package.json +62 -62
- package/shared/keyring/README.md +7 -7
- package/shared/keyring/package.json +24 -24
- package/shared/mcp-runtime/README.md +116 -116
- package/shared/mcp-runtime/package.json +58 -58
- package/shared/state-store/README.md +66 -66
- package/shared/state-store/package.json +60 -60
- package/shared/vm-service-client/README.md +135 -135
- package/shared/vm-service-client/package.json +62 -62
- package/skills/_internal-on-tool-failure/SKILL.md +13 -13
- package/skills/_internal-session-bootstrap/SKILL.md +18 -18
- package/skills/debug/SKILL.md +20 -20
- package/skills/devtools/SKILL.md +21 -21
- package/skills/drive/SKILL.md +20 -20
- package/skills/scaffold/SKILL.md +21 -21
- package/skills/setup/SKILL.md +26 -26
- package/skills/test/SKILL.md +19 -19
- package/skills/tour/SKILL.md +22 -22
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://anthropic.com/claude-code/marketplace.schema.json",
|
|
3
|
+
"name": "flutter-ultra-mcp",
|
|
4
|
+
"description": "The ultimate Flutter MCP plugin — 8 specialized servers, 214 tools, cross-platform automation for Claude Code",
|
|
5
|
+
"owner": {
|
|
6
|
+
"name": "Bdaya-Dev",
|
|
7
|
+
"email": "ahmednfwela@digrum.com"
|
|
8
|
+
},
|
|
9
|
+
"plugins": [
|
|
10
|
+
{
|
|
11
|
+
"name": "flutter",
|
|
12
|
+
"description": "Durable cross-platform Flutter automation via 8 specialized MCP servers, in-app mixin binding, and an optional DevTools panel. Replaces marionette_mcp and the official dart mcp-server for Claude Code.",
|
|
13
|
+
"version": "0.0.1",
|
|
14
|
+
"author": {
|
|
15
|
+
"name": "Bdaya-Dev",
|
|
16
|
+
"url": "https://github.com/Bdaya-Dev"
|
|
17
|
+
},
|
|
18
|
+
"repository": "https://github.com/Bdaya-Dev/flutter-ultra-mcp",
|
|
19
|
+
"homepage": "https://github.com/Bdaya-Dev/flutter-ultra-mcp",
|
|
20
|
+
"license": "Apache-2.0"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json",
|
|
3
|
-
"name": "flutter",
|
|
4
|
-
"version": "0.1.0",
|
|
5
|
-
"description": "Durable cross-platform Flutter automation via 8 specialized MCP servers, in-app mixin binding, and an optional DevTools panel. Replaces marionette_mcp and the official dart mcp-server for Claude Code.",
|
|
6
|
-
"author": {
|
|
7
|
-
"name": "Bdaya-Dev",
|
|
8
|
-
"url": "https://github.com/Bdaya-Dev"
|
|
9
|
-
},
|
|
10
|
-
"homepage": "https://github.com/Bdaya-Dev/flutter-ultra-mcp",
|
|
11
|
-
"repository": "https://github.com/Bdaya-Dev/flutter-ultra-mcp",
|
|
12
|
-
"license": "Apache-2.0",
|
|
13
|
-
"keywords": ["flutter", "dart", "mcp", "automation", "testing", "devtools", "claude-code"]
|
|
14
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json",
|
|
3
|
+
"name": "flutter",
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"description": "Durable cross-platform Flutter automation via 8 specialized MCP servers, in-app mixin binding, and an optional DevTools panel. Replaces marionette_mcp and the official dart mcp-server for Claude Code.",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "Bdaya-Dev",
|
|
8
|
+
"url": "https://github.com/Bdaya-Dev"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://github.com/Bdaya-Dev/flutter-ultra-mcp",
|
|
11
|
+
"repository": "https://github.com/Bdaya-Dev/flutter-ultra-mcp",
|
|
12
|
+
"license": "Apache-2.0",
|
|
13
|
+
"keywords": ["flutter", "dart", "mcp", "automation", "testing", "devtools", "claude-code"]
|
|
14
|
+
}
|
package/.mcp.json
CHANGED
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
{
|
|
2
|
-
"mcpServers": {
|
|
3
|
-
"flutter-ultra-build": {
|
|
4
|
-
"command": "node",
|
|
5
|
-
"args": ["${CLAUDE_PLUGIN_ROOT}/packages/flutter-ultra-build/dist/index.js"],
|
|
6
|
-
"env": {
|
|
7
|
-
"FLUTTER_ULTRA_DATA": "${CLAUDE_PLUGIN_DATA}"
|
|
8
|
-
}
|
|
9
|
-
},
|
|
10
|
-
"flutter-ultra-runtime": {
|
|
11
|
-
"command": "node",
|
|
12
|
-
"args": ["${CLAUDE_PLUGIN_ROOT}/packages/flutter-ultra-runtime/dist/bin.js"],
|
|
13
|
-
"env": {
|
|
14
|
-
"FLUTTER_ULTRA_DATA": "${CLAUDE_PLUGIN_DATA}",
|
|
15
|
-
"FLUTTER_ULTRA_STATE_DIR": "${CLAUDE_PLUGIN_DATA}/state"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"flutter-ultra-gesture": {
|
|
19
|
-
"command": "node",
|
|
20
|
-
"args": ["${CLAUDE_PLUGIN_ROOT}/packages/flutter-ultra-gesture/dist/bin.js"],
|
|
21
|
-
"env": {
|
|
22
|
-
"FLUTTER_ULTRA_STATE_DIR": "${CLAUDE_PLUGIN_DATA}/state"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"flutter-ultra-browser": {
|
|
26
|
-
"command": "node",
|
|
27
|
-
"args": ["${CLAUDE_PLUGIN_ROOT}/packages/flutter-ultra-browser/dist/bin.js"],
|
|
28
|
-
"env": {
|
|
29
|
-
"PLAYWRIGHT_BROWSERS_PATH": "${CLAUDE_PLUGIN_DATA}/browsers",
|
|
30
|
-
"FLUTTER_ULTRA_STATE_DIR": "${CLAUDE_PLUGIN_DATA}/state"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"flutter-ultra-native-mobile": {
|
|
34
|
-
"command": "node",
|
|
35
|
-
"args": ["${CLAUDE_PLUGIN_ROOT}/packages/flutter-ultra-native-mobile/dist/bin.js"],
|
|
36
|
-
"env": {
|
|
37
|
-
"FLUTTER_ULTRA_GO_IOS_BIN": "${CLAUDE_PLUGIN_ROOT}/sidecars/go-ios",
|
|
38
|
-
"FLUTTER_ULTRA_STATE_DIR": "${CLAUDE_PLUGIN_DATA}/state"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"flutter-ultra-native-desktop": {
|
|
42
|
-
"command": "node",
|
|
43
|
-
"args": ["${CLAUDE_PLUGIN_ROOT}/packages/flutter-ultra-native-desktop/dist/bin.js"],
|
|
44
|
-
"env": {
|
|
45
|
-
"FLUTTER_ULTRA_MAC_HELPER": "${CLAUDE_PLUGIN_ROOT}/sidecars/mac-helper/flutter-ultra-mac",
|
|
46
|
-
"FLUTTER_ULTRA_LINUX_HELPER": "${CLAUDE_PLUGIN_ROOT}/sidecars/linux-helper/at-spi-bridge.py",
|
|
47
|
-
"FLUTTER_ULTRA_STATE_DIR": "${CLAUDE_PLUGIN_DATA}/state"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"flutter-ultra-devtools": {
|
|
51
|
-
"command": "node",
|
|
52
|
-
"args": ["${CLAUDE_PLUGIN_ROOT}/packages/flutter-ultra-devtools/dist/index.js"],
|
|
53
|
-
"env": {
|
|
54
|
-
"FLUTTER_ULTRA_STATE_DIR": "${CLAUDE_PLUGIN_DATA}/state"
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
"flutter-ultra-patrol": {
|
|
58
|
-
"command": "node",
|
|
59
|
-
"args": ["${CLAUDE_PLUGIN_ROOT}/packages/flutter-ultra-patrol/dist/bin.js"],
|
|
60
|
-
"env": {
|
|
61
|
-
"FLUTTER_ULTRA_STATE_DIR": "${CLAUDE_PLUGIN_DATA}/state",
|
|
62
|
-
"FLUTTER_ULTRA_PATROL_FORK": "${CLAUDE_PLUGIN_ROOT}/vendor/patrol",
|
|
63
|
-
"PATROL_WEB_BROWSER_ARGS": "--enable-unsafe-swiftshader,--disable-renderer-backgrounding,--disable-background-timer-throttling"
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"mcpServers": {
|
|
3
|
+
"flutter-ultra-build": {
|
|
4
|
+
"command": "node",
|
|
5
|
+
"args": ["${CLAUDE_PLUGIN_ROOT}/packages/flutter-ultra-build/dist/index.js"],
|
|
6
|
+
"env": {
|
|
7
|
+
"FLUTTER_ULTRA_DATA": "${CLAUDE_PLUGIN_DATA}"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"flutter-ultra-runtime": {
|
|
11
|
+
"command": "node",
|
|
12
|
+
"args": ["${CLAUDE_PLUGIN_ROOT}/packages/flutter-ultra-runtime/dist/bin.js"],
|
|
13
|
+
"env": {
|
|
14
|
+
"FLUTTER_ULTRA_DATA": "${CLAUDE_PLUGIN_DATA}",
|
|
15
|
+
"FLUTTER_ULTRA_STATE_DIR": "${CLAUDE_PLUGIN_DATA}/state"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"flutter-ultra-gesture": {
|
|
19
|
+
"command": "node",
|
|
20
|
+
"args": ["${CLAUDE_PLUGIN_ROOT}/packages/flutter-ultra-gesture/dist/bin.js"],
|
|
21
|
+
"env": {
|
|
22
|
+
"FLUTTER_ULTRA_STATE_DIR": "${CLAUDE_PLUGIN_DATA}/state"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"flutter-ultra-browser": {
|
|
26
|
+
"command": "node",
|
|
27
|
+
"args": ["${CLAUDE_PLUGIN_ROOT}/packages/flutter-ultra-browser/dist/bin.js"],
|
|
28
|
+
"env": {
|
|
29
|
+
"PLAYWRIGHT_BROWSERS_PATH": "${CLAUDE_PLUGIN_DATA}/browsers",
|
|
30
|
+
"FLUTTER_ULTRA_STATE_DIR": "${CLAUDE_PLUGIN_DATA}/state"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"flutter-ultra-native-mobile": {
|
|
34
|
+
"command": "node",
|
|
35
|
+
"args": ["${CLAUDE_PLUGIN_ROOT}/packages/flutter-ultra-native-mobile/dist/bin.js"],
|
|
36
|
+
"env": {
|
|
37
|
+
"FLUTTER_ULTRA_GO_IOS_BIN": "${CLAUDE_PLUGIN_ROOT}/sidecars/go-ios",
|
|
38
|
+
"FLUTTER_ULTRA_STATE_DIR": "${CLAUDE_PLUGIN_DATA}/state"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"flutter-ultra-native-desktop": {
|
|
42
|
+
"command": "node",
|
|
43
|
+
"args": ["${CLAUDE_PLUGIN_ROOT}/packages/flutter-ultra-native-desktop/dist/bin.js"],
|
|
44
|
+
"env": {
|
|
45
|
+
"FLUTTER_ULTRA_MAC_HELPER": "${CLAUDE_PLUGIN_ROOT}/sidecars/mac-helper/flutter-ultra-mac",
|
|
46
|
+
"FLUTTER_ULTRA_LINUX_HELPER": "${CLAUDE_PLUGIN_ROOT}/sidecars/linux-helper/at-spi-bridge.py",
|
|
47
|
+
"FLUTTER_ULTRA_STATE_DIR": "${CLAUDE_PLUGIN_DATA}/state"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"flutter-ultra-devtools": {
|
|
51
|
+
"command": "node",
|
|
52
|
+
"args": ["${CLAUDE_PLUGIN_ROOT}/packages/flutter-ultra-devtools/dist/index.js"],
|
|
53
|
+
"env": {
|
|
54
|
+
"FLUTTER_ULTRA_STATE_DIR": "${CLAUDE_PLUGIN_DATA}/state"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"flutter-ultra-patrol": {
|
|
58
|
+
"command": "node",
|
|
59
|
+
"args": ["${CLAUDE_PLUGIN_ROOT}/packages/flutter-ultra-patrol/dist/bin.js"],
|
|
60
|
+
"env": {
|
|
61
|
+
"FLUTTER_ULTRA_STATE_DIR": "${CLAUDE_PLUGIN_DATA}/state",
|
|
62
|
+
"FLUTTER_ULTRA_PATROL_FORK": "${CLAUDE_PLUGIN_ROOT}/vendor/patrol",
|
|
63
|
+
"PATROL_WEB_BROWSER_ARGS": "--enable-unsafe-swiftshader,--disable-renderer-backgrounding,--disable-background-timer-throttling"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
package/CODE_OF_CONDUCT.md
CHANGED
|
@@ -1,83 +1,83 @@
|
|
|
1
|
-
# Contributor Covenant Code of Conduct
|
|
2
|
-
|
|
3
|
-
## Our Pledge
|
|
4
|
-
|
|
5
|
-
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.
|
|
6
|
-
|
|
7
|
-
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
|
|
8
|
-
|
|
9
|
-
## Our Standards
|
|
10
|
-
|
|
11
|
-
Examples of behavior that contributes to a positive environment for our community include:
|
|
12
|
-
|
|
13
|
-
- Demonstrating empathy and kindness toward other people
|
|
14
|
-
- Being respectful of differing opinions, viewpoints, and experiences
|
|
15
|
-
- Giving and gracefully accepting constructive feedback
|
|
16
|
-
- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
|
|
17
|
-
- Focusing on what is best not just for us as individuals, but for the overall community
|
|
18
|
-
|
|
19
|
-
Examples of unacceptable behavior include:
|
|
20
|
-
|
|
21
|
-
- The use of sexualized language or imagery, and sexual attention or advances of any kind
|
|
22
|
-
- Trolling, insulting or derogatory comments, and personal or political attacks
|
|
23
|
-
- Public or private harassment
|
|
24
|
-
- Publishing others' private information, such as a physical or email address, without their explicit permission
|
|
25
|
-
- Other conduct which could reasonably be considered inappropriate in a professional setting
|
|
26
|
-
|
|
27
|
-
## Enforcement Responsibilities
|
|
28
|
-
|
|
29
|
-
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
|
|
30
|
-
|
|
31
|
-
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
|
|
32
|
-
|
|
33
|
-
## Scope
|
|
34
|
-
|
|
35
|
-
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
|
|
36
|
-
|
|
37
|
-
## Enforcement
|
|
38
|
-
|
|
39
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at https://github.com/Bdaya-Dev/flutter-ultra-mcp/security/advisories/new. All complaints will be reviewed and investigated promptly and fairly.
|
|
40
|
-
|
|
41
|
-
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
|
|
42
|
-
|
|
43
|
-
## Enforcement Guidelines
|
|
44
|
-
|
|
45
|
-
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
|
|
46
|
-
|
|
47
|
-
### 1. Correction
|
|
48
|
-
|
|
49
|
-
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
|
|
50
|
-
|
|
51
|
-
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
|
|
52
|
-
|
|
53
|
-
### 2. Warning
|
|
54
|
-
|
|
55
|
-
**Community Impact**: A violation through a single incident or series of actions.
|
|
56
|
-
|
|
57
|
-
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
|
|
58
|
-
|
|
59
|
-
### 3. Temporary Ban
|
|
60
|
-
|
|
61
|
-
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
|
|
62
|
-
|
|
63
|
-
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
|
|
64
|
-
|
|
65
|
-
### 4. Permanent Ban
|
|
66
|
-
|
|
67
|
-
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
|
|
68
|
-
|
|
69
|
-
**Consequence**: A permanent ban from any sort of public interaction within the community.
|
|
70
|
-
|
|
71
|
-
## Attribution
|
|
72
|
-
|
|
73
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.1, available at [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
|
|
74
|
-
|
|
75
|
-
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
|
|
76
|
-
|
|
77
|
-
For answers to common questions about this code of conduct, see the FAQ at [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at [https://www.contributor-covenant.org/translations][translations].
|
|
78
|
-
|
|
79
|
-
[homepage]: https://www.contributor-covenant.org
|
|
80
|
-
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
|
|
81
|
-
[Mozilla CoC]: https://github.com/mozilla/diversity
|
|
82
|
-
[FAQ]: https://www.contributor-covenant.org/faq
|
|
83
|
-
[translations]: https://www.contributor-covenant.org/translations
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.
|
|
6
|
+
|
|
7
|
+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
|
|
8
|
+
|
|
9
|
+
## Our Standards
|
|
10
|
+
|
|
11
|
+
Examples of behavior that contributes to a positive environment for our community include:
|
|
12
|
+
|
|
13
|
+
- Demonstrating empathy and kindness toward other people
|
|
14
|
+
- Being respectful of differing opinions, viewpoints, and experiences
|
|
15
|
+
- Giving and gracefully accepting constructive feedback
|
|
16
|
+
- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
|
|
17
|
+
- Focusing on what is best not just for us as individuals, but for the overall community
|
|
18
|
+
|
|
19
|
+
Examples of unacceptable behavior include:
|
|
20
|
+
|
|
21
|
+
- The use of sexualized language or imagery, and sexual attention or advances of any kind
|
|
22
|
+
- Trolling, insulting or derogatory comments, and personal or political attacks
|
|
23
|
+
- Public or private harassment
|
|
24
|
+
- Publishing others' private information, such as a physical or email address, without their explicit permission
|
|
25
|
+
- Other conduct which could reasonably be considered inappropriate in a professional setting
|
|
26
|
+
|
|
27
|
+
## Enforcement Responsibilities
|
|
28
|
+
|
|
29
|
+
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
|
|
30
|
+
|
|
31
|
+
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
|
|
32
|
+
|
|
33
|
+
## Scope
|
|
34
|
+
|
|
35
|
+
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
|
|
36
|
+
|
|
37
|
+
## Enforcement
|
|
38
|
+
|
|
39
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at https://github.com/Bdaya-Dev/flutter-ultra-mcp/security/advisories/new. All complaints will be reviewed and investigated promptly and fairly.
|
|
40
|
+
|
|
41
|
+
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
|
|
42
|
+
|
|
43
|
+
## Enforcement Guidelines
|
|
44
|
+
|
|
45
|
+
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
|
|
46
|
+
|
|
47
|
+
### 1. Correction
|
|
48
|
+
|
|
49
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
|
|
50
|
+
|
|
51
|
+
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
|
|
52
|
+
|
|
53
|
+
### 2. Warning
|
|
54
|
+
|
|
55
|
+
**Community Impact**: A violation through a single incident or series of actions.
|
|
56
|
+
|
|
57
|
+
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
|
|
58
|
+
|
|
59
|
+
### 3. Temporary Ban
|
|
60
|
+
|
|
61
|
+
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
|
|
62
|
+
|
|
63
|
+
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
|
|
64
|
+
|
|
65
|
+
### 4. Permanent Ban
|
|
66
|
+
|
|
67
|
+
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
|
|
68
|
+
|
|
69
|
+
**Consequence**: A permanent ban from any sort of public interaction within the community.
|
|
70
|
+
|
|
71
|
+
## Attribution
|
|
72
|
+
|
|
73
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.1, available at [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
|
|
74
|
+
|
|
75
|
+
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
|
|
76
|
+
|
|
77
|
+
For answers to common questions about this code of conduct, see the FAQ at [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at [https://www.contributor-covenant.org/translations][translations].
|
|
78
|
+
|
|
79
|
+
[homepage]: https://www.contributor-covenant.org
|
|
80
|
+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
|
|
81
|
+
[Mozilla CoC]: https://github.com/mozilla/diversity
|
|
82
|
+
[FAQ]: https://www.contributor-covenant.org/faq
|
|
83
|
+
[translations]: https://www.contributor-covenant.org/translations
|
package/CONTRIBUTING.md
CHANGED
|
@@ -1,108 +1,108 @@
|
|
|
1
|
-
# Contributing to flutter-ultra-mcp
|
|
2
|
-
|
|
3
|
-
Thanks for considering a contribution! This guide covers everything you need to develop, test, and ship changes.
|
|
4
|
-
|
|
5
|
-
## Prerequisites
|
|
6
|
-
|
|
7
|
-
- **Node.js** 20 or 22 (LTS)
|
|
8
|
-
- **Flutter** stable channel
|
|
9
|
-
- **Dart** 3.5+
|
|
10
|
-
- Git with submodule support
|
|
11
|
-
- Platform-specific tooling for the server you're working on (e.g. Android SDK + `adb` for `flutter-ultra-native-mobile`)
|
|
12
|
-
|
|
13
|
-
You do not need any Bdaya internal resources. This plugin is fully self-sufficient — a fresh clone, `npm install`, and `npm test` is enough.
|
|
14
|
-
|
|
15
|
-
## Clone
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
git clone https://github.com/Bdaya-Dev/flutter-ultra-mcp.git
|
|
19
|
-
cd flutter-ultra-mcp
|
|
20
|
-
git submodule update --init --recursive
|
|
21
|
-
npm install
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## Repository layout
|
|
25
|
-
|
|
26
|
-
```
|
|
27
|
-
.claude-plugin/ Plugin manifest
|
|
28
|
-
.mcp.json Declares all 8 MCP servers
|
|
29
|
-
packages/ 8 MCP server packages + 3 Dart packages
|
|
30
|
-
shared/ TS shared libs (vm-service-client, mcp-runtime, state-store, keyring)
|
|
31
|
-
skills/ Claude Code skills (one folder per skill)
|
|
32
|
-
hooks/ PreToolUse / SessionStart / Stop hook configs
|
|
33
|
-
sidecars/ Bundled native helpers (signed/notarized in CI)
|
|
34
|
-
vendor/ Plugin-owned dependencies (e.g. patrol fork submodule)
|
|
35
|
-
scripts/ Cross-platform helper scripts referenced by hooks
|
|
36
|
-
docs/ Architecture + contracts + platform matrix
|
|
37
|
-
.github/workflows/ GitHub Actions CI (per §18.12 of plan)
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
## Conventional Commits — mandatory
|
|
41
|
-
|
|
42
|
-
Every commit must follow [Conventional Commits 1.0](https://www.conventionalcommits.org/).
|
|
43
|
-
|
|
44
|
-
```
|
|
45
|
-
<type>(<scope>)?: <subject>
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
| Type | Effect on version | Example |
|
|
49
|
-
| ----------------------------------------------------------- | ----------------- | -------------------------------------------------- |
|
|
50
|
-
| `feat` | minor bump | `feat(gesture): add scroll_until_visible` |
|
|
51
|
-
| `fix` | patch bump | `fix(runtime): handle DDS reconnect race` |
|
|
52
|
-
| `feat!` / `fix!` / `BREAKING CHANGE:` footer | major bump | `feat(api)!: rename screenshot to take_screenshot` |
|
|
53
|
-
| `perf` | patch bump | `perf(browser): cache Playwright contexts` |
|
|
54
|
-
| `refactor`, `docs`, `test`, `chore`, `build`, `ci`, `style` | no version change | `chore(deps): bump zod to 3.25` |
|
|
55
|
-
|
|
56
|
-
`commitlint` runs as a `commit-msg` hook (installed by `husky`) and as a PR-blocking CI check.
|
|
57
|
-
|
|
58
|
-
## Branches
|
|
59
|
-
|
|
60
|
-
- **`main`** — production
|
|
61
|
-
- **`next`** — pre-release (prerelease tag `next`)
|
|
62
|
-
- **`alpha`** / **`beta`** — unstable channels
|
|
63
|
-
|
|
64
|
-
## Adding a new MCP server
|
|
65
|
-
|
|
66
|
-
1. Copy the layout of an existing `packages/flutter-ultra-*/` package
|
|
67
|
-
2. Add an entry to `.mcp.json` at the repo root
|
|
68
|
-
3. Add a `tsconfig.json` project reference in the root `tsconfig.json`
|
|
69
|
-
4. Implement tools using `@flutter-ultra/mcp-runtime` scaffolding
|
|
70
|
-
5. Add unit + integration tests under `packages/<name>/tests/`
|
|
71
|
-
6. Update `skills/` for any user-facing workflows
|
|
72
|
-
|
|
73
|
-
## Adding a new skill
|
|
74
|
-
|
|
75
|
-
Skills are markdown files at `skills/<name>/SKILL.md`. Follow the conventions in plan §16.8.
|
|
76
|
-
|
|
77
|
-
## Local testing
|
|
78
|
-
|
|
79
|
-
```bash
|
|
80
|
-
# Build all packages
|
|
81
|
-
npm run build
|
|
82
|
-
|
|
83
|
-
# Run all unit + integration tests
|
|
84
|
-
npm test
|
|
85
|
-
|
|
86
|
-
# Run a single package's tests
|
|
87
|
-
npm test --workspace=@flutter-ultra/runtime
|
|
88
|
-
|
|
89
|
-
# Lint + format
|
|
90
|
-
npm run lint
|
|
91
|
-
npm run format
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
Use `npx @modelcontextprotocol/inspector --cli node packages/<name>/dist/index.js --method tools/list` to smoke-test a built server.
|
|
95
|
-
|
|
96
|
-
## Pull requests
|
|
97
|
-
|
|
98
|
-
1. Add a [changeset](https://github.com/changesets/changesets): `npm run changeset`
|
|
99
|
-
2. All CI gates must pass (lint, unit, integration, contract, coverage thresholds, MCP Inspector smoke).
|
|
100
|
-
3. Squash-merge with a Conventional Commits subject. Reviewers will preserve the conventional commit by editing the merge subject if needed.
|
|
101
|
-
|
|
102
|
-
## Code of Conduct
|
|
103
|
-
|
|
104
|
-
This project adopts the [Contributor Covenant 2.1](CODE_OF_CONDUCT.md). By participating you agree to abide by its terms.
|
|
105
|
-
|
|
106
|
-
## License
|
|
107
|
-
|
|
108
|
-
Contributions are licensed under Apache-2.0 (see [LICENSE](LICENSE)).
|
|
1
|
+
# Contributing to flutter-ultra-mcp
|
|
2
|
+
|
|
3
|
+
Thanks for considering a contribution! This guide covers everything you need to develop, test, and ship changes.
|
|
4
|
+
|
|
5
|
+
## Prerequisites
|
|
6
|
+
|
|
7
|
+
- **Node.js** 20 or 22 (LTS)
|
|
8
|
+
- **Flutter** stable channel
|
|
9
|
+
- **Dart** 3.5+
|
|
10
|
+
- Git with submodule support
|
|
11
|
+
- Platform-specific tooling for the server you're working on (e.g. Android SDK + `adb` for `flutter-ultra-native-mobile`)
|
|
12
|
+
|
|
13
|
+
You do not need any Bdaya internal resources. This plugin is fully self-sufficient — a fresh clone, `npm install`, and `npm test` is enough.
|
|
14
|
+
|
|
15
|
+
## Clone
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
git clone https://github.com/Bdaya-Dev/flutter-ultra-mcp.git
|
|
19
|
+
cd flutter-ultra-mcp
|
|
20
|
+
git submodule update --init --recursive
|
|
21
|
+
npm install
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Repository layout
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
.claude-plugin/ Plugin manifest
|
|
28
|
+
.mcp.json Declares all 8 MCP servers
|
|
29
|
+
packages/ 8 MCP server packages + 3 Dart packages
|
|
30
|
+
shared/ TS shared libs (vm-service-client, mcp-runtime, state-store, keyring)
|
|
31
|
+
skills/ Claude Code skills (one folder per skill)
|
|
32
|
+
hooks/ PreToolUse / SessionStart / Stop hook configs
|
|
33
|
+
sidecars/ Bundled native helpers (signed/notarized in CI)
|
|
34
|
+
vendor/ Plugin-owned dependencies (e.g. patrol fork submodule)
|
|
35
|
+
scripts/ Cross-platform helper scripts referenced by hooks
|
|
36
|
+
docs/ Architecture + contracts + platform matrix
|
|
37
|
+
.github/workflows/ GitHub Actions CI (per §18.12 of plan)
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Conventional Commits — mandatory
|
|
41
|
+
|
|
42
|
+
Every commit must follow [Conventional Commits 1.0](https://www.conventionalcommits.org/).
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
<type>(<scope>)?: <subject>
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
| Type | Effect on version | Example |
|
|
49
|
+
| ----------------------------------------------------------- | ----------------- | -------------------------------------------------- |
|
|
50
|
+
| `feat` | minor bump | `feat(gesture): add scroll_until_visible` |
|
|
51
|
+
| `fix` | patch bump | `fix(runtime): handle DDS reconnect race` |
|
|
52
|
+
| `feat!` / `fix!` / `BREAKING CHANGE:` footer | major bump | `feat(api)!: rename screenshot to take_screenshot` |
|
|
53
|
+
| `perf` | patch bump | `perf(browser): cache Playwright contexts` |
|
|
54
|
+
| `refactor`, `docs`, `test`, `chore`, `build`, `ci`, `style` | no version change | `chore(deps): bump zod to 3.25` |
|
|
55
|
+
|
|
56
|
+
`commitlint` runs as a `commit-msg` hook (installed by `husky`) and as a PR-blocking CI check.
|
|
57
|
+
|
|
58
|
+
## Branches
|
|
59
|
+
|
|
60
|
+
- **`main`** — production
|
|
61
|
+
- **`next`** — pre-release (prerelease tag `next`)
|
|
62
|
+
- **`alpha`** / **`beta`** — unstable channels
|
|
63
|
+
|
|
64
|
+
## Adding a new MCP server
|
|
65
|
+
|
|
66
|
+
1. Copy the layout of an existing `packages/flutter-ultra-*/` package
|
|
67
|
+
2. Add an entry to `.mcp.json` at the repo root
|
|
68
|
+
3. Add a `tsconfig.json` project reference in the root `tsconfig.json`
|
|
69
|
+
4. Implement tools using `@flutter-ultra/mcp-runtime` scaffolding
|
|
70
|
+
5. Add unit + integration tests under `packages/<name>/tests/`
|
|
71
|
+
6. Update `skills/` for any user-facing workflows
|
|
72
|
+
|
|
73
|
+
## Adding a new skill
|
|
74
|
+
|
|
75
|
+
Skills are markdown files at `skills/<name>/SKILL.md`. Follow the conventions in plan §16.8.
|
|
76
|
+
|
|
77
|
+
## Local testing
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
# Build all packages
|
|
81
|
+
npm run build
|
|
82
|
+
|
|
83
|
+
# Run all unit + integration tests
|
|
84
|
+
npm test
|
|
85
|
+
|
|
86
|
+
# Run a single package's tests
|
|
87
|
+
npm test --workspace=@flutter-ultra/runtime
|
|
88
|
+
|
|
89
|
+
# Lint + format
|
|
90
|
+
npm run lint
|
|
91
|
+
npm run format
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Use `npx @modelcontextprotocol/inspector --cli node packages/<name>/dist/index.js --method tools/list` to smoke-test a built server.
|
|
95
|
+
|
|
96
|
+
## Pull requests
|
|
97
|
+
|
|
98
|
+
1. Add a [changeset](https://github.com/changesets/changesets): `npm run changeset`
|
|
99
|
+
2. All CI gates must pass (lint, unit, integration, contract, coverage thresholds, MCP Inspector smoke).
|
|
100
|
+
3. Squash-merge with a Conventional Commits subject. Reviewers will preserve the conventional commit by editing the merge subject if needed.
|
|
101
|
+
|
|
102
|
+
## Code of Conduct
|
|
103
|
+
|
|
104
|
+
This project adopts the [Contributor Covenant 2.1](CODE_OF_CONDUCT.md). By participating you agree to abide by its terms.
|
|
105
|
+
|
|
106
|
+
## License
|
|
107
|
+
|
|
108
|
+
Contributions are licensed under Apache-2.0 (see [LICENSE](LICENSE)).
|