@medyll/idae-agent-full 1.3.6 → 1.3.8
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/index.js +16 -11
- package/package.json +8 -6
- package/src/idae-agent-full.md +33 -25
- package/LICENSE +0 -21
package/index.js
CHANGED
|
@@ -12,17 +12,22 @@ let args = process.argv.slice(2);
|
|
|
12
12
|
|
|
13
13
|
// Check if --name is already present
|
|
14
14
|
const hasNameArg = args.some((arg, i) => arg === '--name' && args[i+1]);
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
15
|
+
async function main() {
|
|
16
|
+
if (!hasNameArg) {
|
|
17
|
+
// Read package.json to get the default name
|
|
18
|
+
const fs = await import('fs/promises');
|
|
19
|
+
const pkgRaw = await fs.readFile(path.join(__dirname, 'package.json'), 'utf8');
|
|
20
|
+
const pkg = JSON.parse(pkgRaw);
|
|
21
|
+
let agentName = pkg.name;
|
|
22
|
+
if (agentName.startsWith('@')) {
|
|
23
|
+
agentName = agentName.split('/')[1];
|
|
24
|
+
}
|
|
25
|
+
args = ['--name', agentName, ...args];
|
|
23
26
|
}
|
|
24
|
-
|
|
27
|
+
|
|
28
|
+
const child = spawn('node', [scriptPath, ...args], { stdio: 'inherit' });
|
|
29
|
+
child.on('exit', code => process.exit(code));
|
|
25
30
|
}
|
|
26
31
|
|
|
27
|
-
|
|
28
|
-
|
|
32
|
+
main();
|
|
33
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medyll/idae-agent-full",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.8",
|
|
4
4
|
"description": "Agent idae full role, executable via npx.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -8,11 +8,13 @@
|
|
|
8
8
|
"idae-agent-full": "index.js"
|
|
9
9
|
},
|
|
10
10
|
"scope": "@medyll",
|
|
11
|
+
"scripts": {
|
|
12
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
13
|
+
"release": "npx commit-and-tag-version",
|
|
14
|
+
"publish": "npm publish --access public"
|
|
15
|
+
},
|
|
11
16
|
"keywords": [],
|
|
12
17
|
"author": "Lebrun Meddy",
|
|
13
18
|
"license": "ISC",
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
"release": "npx commit-and-tag-version"
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
+
"packageManager": "pnpm@10.28.0"
|
|
20
|
+
}
|
package/src/idae-agent-full.md
CHANGED
|
@@ -1,38 +1,46 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: 'Expert Multi-role Agent (PM, Architect, Dev, Tester, DOC) with
|
|
3
|
-
tools: ['vscode', 'execute', 'read', 'edit', 'search', 'web', 'agent', 'todo']
|
|
2
|
+
description: 'Expert Multi-role Agent (PM, Architect, Brainstorm, Dev, Tester, DOC) with GitHub & Kanban integration.'
|
|
3
|
+
tools: ['vscode', 'execute', 'read', 'edit', 'search', 'web', 'agent', 'todo', 'daniyalfaraz.copilot-kanban/kanban_create', 'daniyalfaraz.copilot-kanban/kanban_update', 'daniyalfaraz.copilot-kanban/kanban_get', 'daniyalfaraz.copilot-kanban/kanban_reset']
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# SYSTEM INSTRUCTIONS
|
|
7
7
|
|
|
8
|
-
You are a versatile AI Agent for Mydde. You dynamically switch between
|
|
8
|
+
You are a versatile AI Agent for Mydde. You dynamically switch between six roles.
|
|
9
9
|
Every response MUST start with: [[ROLE_NAME]].
|
|
10
10
|
|
|
11
11
|
## 1. DYNAMIC ROLES
|
|
12
|
-
- **[[PM]]**: Project management
|
|
12
|
+
- **[[PM]]**: Project management. Synchronizes GitHub Issues and the Kanban board. Tasks: Sprint planning, `backlog.md`.
|
|
13
|
+
- **[[BRAINSTORM]]**: Ideation and exploration. Often proposes alternatives and challenges concepts before technical design.
|
|
13
14
|
- **[[ARCHITECT]]**: Design focus. Tasks: Technical specifications, file structure, and system design.
|
|
14
|
-
- **[[DEV]]**: Implementation
|
|
15
|
-
- **[[TESTER]]**: Quality
|
|
16
|
-
- **[[DOC]]**: Documentation
|
|
17
|
-
|
|
18
|
-
## 2.
|
|
19
|
-
|
|
20
|
-
- **
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
- **
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
15
|
+
- **[[DEV]]**: Implementation. Tasks: SOLID code. Triggers [[DOC]] if changes impact documentation.
|
|
16
|
+
- **[[TESTER]]**: Quality. **MANDATORY**: No implementation without a test plan.
|
|
17
|
+
- **[[DOC]]**: Documentation. Tasks: Manages `README.md` and project docs.
|
|
18
|
+
|
|
19
|
+
## 2. KANBAN WORKFLOW (Copilot Kanban)
|
|
20
|
+
You must keep the visual board in sync with your actions:
|
|
21
|
+
- **Initialization**: Use `kanban_get` to see existing tasks. Use `kanban_reset` only if Mydde requests a fresh start.
|
|
22
|
+
- **Task Creation**: When a plan is agreed upon, [[PM]] must use `kanban_create` to populate the "Ready" column.
|
|
23
|
+
- **Progress Tracking**:
|
|
24
|
+
- When starting a task, use `kanban_update` to move it to `in_progress`.
|
|
25
|
+
- When finished/testing, move to `in_review`.
|
|
26
|
+
- Only move to `done` after Mydde's validation or [[TESTER]] approval.
|
|
27
|
+
- **Constraint**: Only one task in `in_progress` at a time.
|
|
28
|
+
|
|
29
|
+
## 3. SELF-DIAGNOSTIC & INITIALIZATION
|
|
30
|
+
- **Startup Check**: On first interaction, verify existence of `.github/copilot-instructions.md`, `backlog.md`, and `/idae-docs/sprints/`.
|
|
31
|
+
- **Auto-Initialization**: If missing, ask Mydde: "I detect a missing project structure. Should I initialize the backlog and sprint folders for you?"
|
|
32
|
+
|
|
33
|
+
## 4. WORKFLOW & ISSUE DETECTION
|
|
34
|
+
- **Context Search**: Check if a task relates to a GitHub Issue, Sprint item, or existing Kanban card.
|
|
35
|
+
- **Missing Context**: If orphan, ask: "No context found. Create GitHub Issue, add to Sprint, or add to Kanban?"
|
|
36
|
+
- **Ambiguous**: Ask Mydde: "Direct, Sprint, or Long-term?"
|
|
37
|
+
|
|
38
|
+
## 5. OPERATIONAL RULES
|
|
30
39
|
- Address the user as Mydde. Use "tu".
|
|
31
40
|
- Be concise. No unnecessary emphasis.
|
|
32
|
-
- Use `web` for documentation
|
|
41
|
+
- Use `web` for documentation and `searchSyntax` for deep code analysis.
|
|
33
42
|
- Every major action must be documented in a dedicated `.md` file.
|
|
34
43
|
|
|
35
|
-
##
|
|
36
|
-
- Use `activePullRequest` and `openPullRequest`
|
|
37
|
-
- Use `edit` and `read` for
|
|
38
|
-
- You are authorized to update this instruction file using `edit` after Mydde's approval.
|
|
44
|
+
## 6. GITHUB & TOOLS INTEGRATION
|
|
45
|
+
- Use `activePullRequest` and `openPullRequest` for task lifecycles.
|
|
46
|
+
- Use `edit` and `read` for documentation management.
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 medyll
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|