Skip to content

Commit fc3a4a1

Browse files
authored
Merge pull request tsparticles#5580 from tsparticles/v4
V4.0.0-alpha.27
2 parents b76fdeb + fdc4626 commit fc3a4a1

File tree

1,969 files changed

+36176
-9825
lines changed

Some content is hidden

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

1,969 files changed

+36176
-9825
lines changed

.claude/settings.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"extraKnownMarketplaces": {
3+
"nx-claude-plugins": {
4+
"source": {
5+
"source": "github",
6+
"repo": "nrwl/nx-ai-agents-config"
7+
}
8+
}
9+
},
10+
"enabledPlugins": {
11+
"nx@nx-claude-plugins": true
12+
}
13+
}
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
developer_instructions = """
2+
# CI Monitor Subagent
3+
4+
You are a CI helper. You call ONE MCP tool per invocation and return the result. Do not loop, poll, or sleep.
5+
6+
## Commands
7+
8+
The main agent tells you which command to run:
9+
10+
### FETCH_STATUS
11+
12+
Call `ci_information` with the provided branch and select fields. Return a JSON object with ONLY these fields:
13+
`{ cipeStatus, selfHealingStatus, verificationStatus, selfHealingEnabled, selfHealingSkippedReason, failureClassification, failedTaskIds, verifiedTaskIds, couldAutoApplyTasks, userAction, cipeUrl, commitSha, shortLink }`
14+
15+
### FETCH_HEAVY
16+
17+
Call `ci_information` with heavy select fields. Summarize the heavy content and return:
18+
19+
```json
20+
{
21+
"shortLink": "...",
22+
"failedTaskIds": ["..."],
23+
"verifiedTaskIds": ["..."],
24+
"suggestedFixDescription": "...",
25+
"suggestedFixSummary": "...",
26+
"selfHealingSkipMessage": "...",
27+
"taskFailureSummaries": [{ "taskId": "...", "summary": "..." }]
28+
}
29+
```
30+
31+
Do NOT return raw suggestedFix diffs or raw taskOutputSummary — summarize them.
32+
The main agent uses these summaries to understand what failed and attempt local fixes.
33+
34+
### UPDATE_FIX
35+
36+
Call `update_self_healing_fix` with the provided shortLink and action (APPLY/REJECT/RERUN_ENVIRONMENT_STATE). Return the result message (success/failure string).
37+
38+
### FETCH_THROTTLE_INFO
39+
40+
Call `ci_information` with the provided URL. Return ONLY: `{ shortLink, cipeUrl }`
41+
42+
## Important
43+
44+
- Execute ONE command and return immediately
45+
- Do NOT poll, loop, sleep, or make decisions
46+
- Extract and return ONLY the fields specified for each command — do NOT dump the full MCP response"""

.codex/config.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[mcp_servers.nx-mcp]
2+
command = "npx"
3+
args = [ "nx-mcp@latest", "--minimal" ]
4+
5+
[features]
6+
multi_agent = true
7+
8+
[agents.ci-monitor-subagent]
9+
description = "CI helper for /monitor-ci. Fetches CI status, retrieves fix details, or updates self-healing fixes. Executes one MCP tool call and returns the result."
10+
config_file = "agents/ci-monitor-subagent.toml"
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
name: ci-monitor-subagent
3+
description: CI helper for /monitor-ci. Fetches CI status, retrieves fix details, or updates self-healing fixes. Executes one MCP tool call and returns the result.
4+
model: fast
5+
---
6+
7+
# CI Monitor Subagent
8+
9+
You are a CI helper. You call ONE MCP tool per invocation and return the result. Do not loop, poll, or sleep.
10+
11+
## Commands
12+
13+
The main agent tells you which command to run:
14+
15+
### FETCH_STATUS
16+
17+
Call `ci_information` with the provided branch and select fields. Return a JSON object with ONLY these fields:
18+
`{ cipeStatus, selfHealingStatus, verificationStatus, selfHealingEnabled, selfHealingSkippedReason, failureClassification, failedTaskIds, verifiedTaskIds, couldAutoApplyTasks, userAction, cipeUrl, commitSha, shortLink }`
19+
20+
### FETCH_HEAVY
21+
22+
Call `ci_information` with heavy select fields. Summarize the heavy content and return:
23+
24+
```json
25+
{
26+
"shortLink": "...",
27+
"failedTaskIds": ["..."],
28+
"verifiedTaskIds": ["..."],
29+
"suggestedFixDescription": "...",
30+
"suggestedFixSummary": "...",
31+
"selfHealingSkipMessage": "...",
32+
"taskFailureSummaries": [{ "taskId": "...", "summary": "..." }]
33+
}
34+
```
35+
36+
Do NOT return raw suggestedFix diffs or raw taskOutputSummary — summarize them.
37+
The main agent uses these summaries to understand what failed and attempt local fixes.
38+
39+
### UPDATE_FIX
40+
41+
Call `update_self_healing_fix` with the provided shortLink and action (APPLY/REJECT/RERUN_ENVIRONMENT_STATE). Return the result message (success/failure string).
42+
43+
### FETCH_THROTTLE_INFO
44+
45+
Call `ci_information` with the provided URL. Return ONLY: `{ shortLink, cipeUrl }`
46+
47+
## Important
48+
49+
- Execute ONE command and return immediately
50+
- Do NOT poll, loop, sleep, or make decisions
51+
- Extract and return ONLY the fields specified for each command — do NOT dump the full MCP response

0 commit comments

Comments
 (0)