Skip to content

Commit c96ae9e

Browse files
authored
Merge pull request #150 from GCWing/gcwing/harmony-live-app-runtime
refactor: restructure app system to component-based architecture
2 parents 6643e8d + a1df14c commit c96ae9e

493 files changed

Lines changed: 16707 additions & 17499 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ futures-util = "0.3"
3838
serde = { version = "1", features = ["derive"] }
3939
serde_json = "1"
4040
serde_yaml = "0.9"
41+
semver = "1"
4142

4243
# Error handling
4344
anyhow = "1.0"

README.md

Lines changed: 10 additions & 10 deletions

bundles/README.md

Lines changed: 6 additions & 6 deletions

bundles/agent-apps/harmonyos-dev-agent/agent.md renamed to bundles/agent-components/harmonyos-dev-agent/agent.md

Lines changed: 8 additions & 8 deletions
File renamed without changes.

bundles/agent-apps/harmonyos-dev-agent/evals/cases.json renamed to bundles/agent-components/harmonyos-dev-agent/evals/cases.json

File renamed without changes.

bundles/agent-apps/harmonyos-dev-agent/manifest.json renamed to bundles/agent-components/harmonyos-dev-agent/manifest.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"schemaVersion": 1,
33
"id": "harmonyos-dev-agent",
44
"name": "HarmonyOS Dev Agent",
@@ -25,12 +25,12 @@
2525
"Write",
2626
"GetFileDiff",
2727
"Bash",
28-
"agentapp__harmonyos-dev-agent__detect_project",
29-
"agentapp__harmonyos-dev-agent__get_runtime_context",
30-
"agentapp__harmonyos-dev-agent__build_project",
31-
"agentapp__harmonyos-dev-agent__install_and_launch",
32-
"agentapp__harmonyos-dev-agent__capture_screen",
33-
"agentapp__harmonyos-dev-agent__dump_hierarchy"
28+
"agentcomponent__harmonyos-dev-agent__detect_project",
29+
"agentcomponent__harmonyos-dev-agent__get_runtime_context",
30+
"agentcomponent__harmonyos-dev-agent__build_project",
31+
"agentcomponent__harmonyos-dev-agent__install_and_launch",
32+
"agentcomponent__harmonyos-dev-agent__capture_screen",
33+
"agentcomponent__harmonyos-dev-agent__dump_hierarchy"
3434
],
3535
"skills": [
3636
"harmony-fundamentals",
@@ -55,8 +55,8 @@
5555
"name": "understandHarmonyProject",
5656
"description": "Detect the HarmonyOS project, bundle, module, ability, target SDK, signing status, and likely ArkUI source files.",
5757
"toolPolicy": [
58-
"agentapp__harmonyos-dev-agent__detect_project",
59-
"agentapp__harmonyos-dev-agent__get_runtime_context",
58+
"agentcomponent__harmonyos-dev-agent__detect_project",
59+
"agentcomponent__harmonyos-dev-agent__get_runtime_context",
6060
"Glob",
6161
"Grep",
6262
"Read"
@@ -76,26 +76,26 @@
7676
"Edit",
7777
"Write",
7878
"GetFileDiff",
79-
"agentapp__harmonyos-dev-agent__get_runtime_context"
79+
"agentcomponent__harmonyos-dev-agent__get_runtime_context"
8080
]
8181
},
8282
{
8383
"name": "buildInstallVerify",
8484
"description": "Build the HarmonyOS project, install and launch when a target is available, then capture screenshot and UI hierarchy evidence.",
8585
"toolPolicy": [
86-
"agentapp__harmonyos-dev-agent__build_project",
87-
"agentapp__harmonyos-dev-agent__install_and_launch",
88-
"agentapp__harmonyos-dev-agent__capture_screen",
89-
"agentapp__harmonyos-dev-agent__dump_hierarchy",
86+
"agentcomponent__harmonyos-dev-agent__build_project",
87+
"agentcomponent__harmonyos-dev-agent__install_and_launch",
88+
"agentcomponent__harmonyos-dev-agent__capture_screen",
89+
"agentcomponent__harmonyos-dev-agent__dump_hierarchy",
9090
"GetFileDiff"
9191
]
9292
},
9393
{
9494
"name": "diagnoseHarmonyFailure",
9595
"description": "Use redacted runtime diagnostics, build logs, HDC target state, and project source to explain and repair HarmonyOS failures.",
9696
"toolPolicy": [
97-
"agentapp__harmonyos-dev-agent__get_runtime_context",
98-
"agentapp__harmonyos-dev-agent__detect_project",
97+
"agentcomponent__harmonyos-dev-agent__get_runtime_context",
98+
"agentcomponent__harmonyos-dev-agent__detect_project",
9999
"Read",
100100
"Grep",
101101
"Edit",

bundles/agent-apps/harmonyos-dev-agent/routing.md renamed to bundles/agent-components/harmonyos-dev-agent/routing.md

Lines changed: 1 addition & 1 deletion

bundles/agent-apps/harmonyos-dev-agent/schemas/action-output.schema.json renamed to bundles/agent-components/harmonyos-dev-agent/schemas/action-output.schema.json

File renamed without changes.

0 commit comments

Comments
 (0)