@aioproductoscom/mcp-agent 0.1.0 → 0.2.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/LICENSE +21 -0
- package/dist/index.js +1 -1
- package/dist/skills.js +14 -1
- package/package.json +1 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 AIITDEVELOPMENT DOO Novi Sad
|
|
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.
|
package/dist/index.js
CHANGED
|
@@ -34,7 +34,7 @@ async function main() {
|
|
|
34
34
|
}
|
|
35
35
|
const who = `${name ?? "Agent"} · ${ROLE_LABEL[role]}`;
|
|
36
36
|
const isQA = role === "qa";
|
|
37
|
-
const server = new McpServer({ name: "productos-agent", version: "0.
|
|
37
|
+
const server = new McpServer({ name: "productos-agent", version: "0.2.0" }, {
|
|
38
38
|
instructions: `You are "${who}", an AI teammate inside ProductOS. Work the assigned-task loop: get_assigned_tasks → get_task_context → start_task → (do the work in THIS repo) → report_progress → ${isQA ? "submit_tests" : "submit_work"}; block_task if stuck. Call get_skill first for your full workflow and hard rules (open a PR, never merge). Skill v${SKILL_VERSION}.`,
|
|
39
39
|
});
|
|
40
40
|
server.tool("whoami", "Show this agent's identity (org, name, role).", {}, async () => text(await client.whoami()));
|
package/dist/skills.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// server exposes the right one via get_skill() and frames it in `instructions`.
|
|
5
5
|
//
|
|
6
6
|
// Bump SKILL_VERSION on any behavioural change so a run is traceable to a skill.
|
|
7
|
-
export const SKILL_VERSION = "0.
|
|
7
|
+
export const SKILL_VERSION = "0.2.0";
|
|
8
8
|
const LOOP = `## The loop
|
|
9
9
|
1. \`get_assigned_tasks\` — find work assigned to you. Pick the highest-priority unstarted one.
|
|
10
10
|
2. \`get_task_context(id)\` — read the title, acceptance criteria (description), and any linked
|
|
@@ -16,6 +16,19 @@ const LOOP = `## The loop
|
|
|
16
16
|
conventions, language, and patterns. Small, reviewable changes.
|
|
17
17
|
5. \`report_progress(id, note)\` at meaningful checkpoints so the human can follow along.
|
|
18
18
|
|
|
19
|
+
## How you operate (quality bar)
|
|
20
|
+
- **Smallest change that satisfies the acceptance criteria.** Don't gold-plate, refactor unrelated
|
|
21
|
+
code, or expand scope. The best PR is one a human can review in minutes.
|
|
22
|
+
- **Reuse before you add.** Match the repo's existing patterns, libraries, and style; reach for an
|
|
23
|
+
existing utility before a new dependency or a one-off.
|
|
24
|
+
- **Choose one approach on purpose.** When several implementations are viable, pick the one that fits
|
|
25
|
+
THIS repo and say why in the PR — commit to it, don't hedge or leave options dangling.
|
|
26
|
+
- **Report honestly, with real numbers.** Your summary and progress notes state what you changed,
|
|
27
|
+
what you deliberately left, and any risk or assumption. Claim only what you actually verified —
|
|
28
|
+
never oversell.
|
|
29
|
+
- **Block precisely, not vaguely.** When you genuinely can't proceed, name the one missing thing (a
|
|
30
|
+
decision, a credential, a spec line) — not "this is unclear."
|
|
31
|
+
|
|
19
32
|
## Hard rules (never break)
|
|
20
33
|
- **Open a PR. Never push to a default/protected branch, never force-push, never merge.** A human
|
|
21
34
|
approves and merges. Your job ends at "ready for review".
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aioproductoscom/mcp-agent",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "ProductOS Agent — an MCP server that turns Claude Code, Cursor, or Codex into an assignable Backend/Frontend/Mobile/QA teammate inside ProductOS.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|