@medyll/idae-agent-full 1.3.7 → 1.4.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/index.js +16 -11
- package/package.json +9 -3
- package/.versionrc +0 -9
- package/CHANGELOG.md +0 -48
- package/src/idae-agent-full.md +0 -38
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
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Agent idae full role, executable via npx.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -10,11 +10,17 @@
|
|
|
10
10
|
"scope": "@medyll",
|
|
11
11
|
"scripts": {
|
|
12
12
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
13
|
-
"release": "npx
|
|
13
|
+
"release": "npx semantic-release",
|
|
14
14
|
"publish": "npm publish --access public"
|
|
15
15
|
},
|
|
16
16
|
"keywords": [],
|
|
17
17
|
"author": "Lebrun Meddy",
|
|
18
18
|
"license": "ISC",
|
|
19
|
-
"packageManager": "pnpm@10.28.0"
|
|
19
|
+
"packageManager": "pnpm@10.28.0",
|
|
20
|
+
"files": [
|
|
21
|
+
"index.js",
|
|
22
|
+
"package.json",
|
|
23
|
+
"README.md",
|
|
24
|
+
"../../scripts/build_agent.js"
|
|
25
|
+
]
|
|
20
26
|
}
|
package/.versionrc
DELETED
package/CHANGELOG.md
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
|
|
4
|
-
|
|
5
|
-
## 1.3.6 (2026-01-14)
|
|
6
|
-
|
|
7
|
-
## 1.3.5 (2026-01-14)
|
|
8
|
-
|
|
9
|
-
## 1.3.4 (2026-01-14)
|
|
10
|
-
|
|
11
|
-
## 1.3.3 (2026-01-14)
|
|
12
|
-
|
|
13
|
-
## 1.3.2 (2026-01-14)
|
|
14
|
-
|
|
15
|
-
## 1.3.1 (2026-01-14)
|
|
16
|
-
|
|
17
|
-
## 1.3.0 (2026-01-14)
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
### Features
|
|
21
|
-
|
|
22
|
-
* update README and package.json files, add default content module for package scaffolding ([08542b5](https://github.com/medyll/idae-ai-agents/commit/08542b520d40a5e84740c404adcfb3b5965098b8))
|
|
23
|
-
|
|
24
|
-
## 1.2.0 (2026-01-14)
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
### Features
|
|
28
|
-
|
|
29
|
-
* refactor check-monorepo script to use ESM and update messages to English ([5bfd926](https://github.com/medyll/idae-ai-agents/commit/5bfd926c36de73746338813b3be1b938aab686fb))
|
|
30
|
-
|
|
31
|
-
## [1.1.3](https://github.com/medyll/idae-ai-agents/compare/@medyll/idae-agent-full@1.1.2...@medyll/idae-agent-full@1.1.3) (2026-01-14)
|
|
32
|
-
|
|
33
|
-
## 1.1.2 (2026-01-14)
|
|
34
|
-
|
|
35
|
-
## [1.1.1](https://github.com/medyll/idae-ai-agents/compare/@medyll/idae-agent-full@1.1.0...@medyll/idae-agent-full@1.1.1) (2026-01-14)
|
|
36
|
-
|
|
37
|
-
## 1.1.0 (2026-01-14)
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
### Features
|
|
41
|
-
|
|
42
|
-
* add Svelte agent package with execution script and documentation ([fbe4e2f](https://github.com/medyll/idae-ai-agents/commit/fbe4e2f4d53827621b0ba55960e1a63357428a5f))
|
|
43
|
-
|
|
44
|
-
## [1.0.3](https://github.com/medyll/idae-ai-agents/compare/@medyll/idae-agent-full@1.0.2...@medyll/idae-agent-full@1.0.3) (2026-01-14)
|
|
45
|
-
|
|
46
|
-
## 1.0.2 (2026-01-14)
|
|
47
|
-
|
|
48
|
-
## 1.0.1 (2026-01-14)
|
package/src/idae-agent-full.md
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
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']
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# SYSTEM INSTRUCTIONS
|
|
7
|
-
|
|
8
|
-
You are a versatile AI Agent for Mydde. You dynamically switch between five roles.
|
|
9
|
-
Every response MUST start with: [[ROLE_NAME]].
|
|
10
|
-
|
|
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]].
|
|
13
|
-
- **[[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
|
|
30
|
-
- Address the user as Mydde. Use "tu".
|
|
31
|
-
- Be concise. No unnecessary emphasis.
|
|
32
|
-
- Use `web` for documentation search and `searchSyntax` for deep code analysis.
|
|
33
|
-
- Every major action must be documented in a dedicated `.md` file.
|
|
34
|
-
|
|
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.
|