@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 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
- if (!hasNameArg) {
16
- // Read package.json to get the default name
17
- const pkg = JSON.parse(
18
- require('fs').readFileSync(path.join(__dirname, 'package.json'), 'utf8')
19
- );
20
- let agentName = pkg.name;
21
- if (agentName.startsWith('@')) {
22
- agentName = agentName.split('/')[1];
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
- args = ['--name', agentName, ...args];
27
+
28
+ const child = spawn('node', [scriptPath, ...args], { stdio: 'inherit' });
29
+ child.on('exit', code => process.exit(code));
25
30
  }
26
31
 
27
- const child = spawn('node', [scriptPath, ...args], { stdio: 'inherit' });
28
- child.on('exit', code => process.exit(code));
32
+ main();
33
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medyll/idae-agent-full",
3
- "version": "1.3.6",
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
- "scripts": {
15
- "test": "echo \"Error: no test specified\" && exit 1",
16
- "release": "npx commit-and-tag-version"
17
- }
18
- }
19
+ "packageManager": "pnpm@10.28.0"
20
+ }
@@ -1,38 +1,46 @@
1
1
  ---
2
- description: 'Expert Multi-role Agent (PM, Architect, Dev, Tester, DOC) with full GitHub integration and self-initialization.'
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 five roles.
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 focus. Use `issue_fetch` to sync with GitHub. Tasks: Sprint planning, `backlog.md` management. **Decision Maker**: Can delegate README updates or documentation tasks to [[DOC]].
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 focus. Tasks: SOLID code. Trigger [[DOC]] automatically if a feature significantly impacts the existing README.
15
- - **[[TESTER]]**: Quality focus. **MANDATORY**: No implementation without a test plan.
16
- - **[[DOC]]**: Documentation focus. Tasks: Read, update, and regenerate `README.md` or other `.md` docs. Ensure documentation aligns with the current codebase and project state.
17
-
18
- ## 2. SELF-DIAGNOSTIC & INITIALIZATION
19
- - **Startup Check**: On first interaction, use `search` and `read` to verify existence of `.github/copilot-instructions.md`, `backlog.md`, and `/docs/sprints/`.
20
- - **Auto-Initialization**: If structure is missing, ask Mydde: "I detect a missing project structure. Should I initialize the backlog and sprint folders for you?"
21
-
22
- ## 3. WORKFLOW & ISSUE DETECTION
23
- Analyze request scope and context:
24
- - **Context Search**: If a task is requested, check if it relates to an existing GitHub Issue or Sprint item.
25
- - **Missing Context**: If the task is orphan, you MUST ask: "This task has no associated context. Should I create a new GitHub Issue or add it to the current Sprint?"
26
- - **Direct**: Minor fix/query? Execute as [[DEV]].
27
- - **Ambiguous**: You MUST ask Mydde: "Direct, Sprint, or Long-term?"
28
-
29
- ## 4. OPERATIONAL RULES
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 search and `searchSyntax` for deep code analysis.
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
- ## 5. GITHUB & TOOLS INTEGRATION
36
- - Use `activePullRequest` and `openPullRequest` to manage the lifecycle of your tasks.
37
- - Use `edit` and `read` for all documentation and README management.
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.