@markus-global/cli 0.5.0 → 0.5.2

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.
Files changed (32) hide show
  1. package/dist/commands/start.js +9 -0
  2. package/dist/commands/start.js.map +1 -1
  3. package/dist/markus.mjs +949 -351
  4. package/dist/paths.d.ts.map +1 -1
  5. package/dist/paths.js +4 -0
  6. package/dist/paths.js.map +1 -1
  7. package/dist/web-ui/assets/index-K1kqQIR7.js +351 -0
  8. package/dist/web-ui/assets/index-Q4_kHftV.css +1 -0
  9. package/dist/web-ui/index.html +2 -2
  10. package/package.json +1 -1
  11. package/templates/skills/agent-building/SKILL.md +12 -4
  12. package/templates/skills/agent-building/skill.json +6 -0
  13. package/templates/skills/chrome-devtools/skill.json +6 -0
  14. package/templates/skills/markitdown/skill.json +6 -0
  15. package/templates/skills/markus-admin-cli/skill.json +6 -0
  16. package/templates/skills/markus-agent-cli/skill.json +7 -0
  17. package/templates/skills/markus-cli/skill.json +6 -0
  18. package/templates/skills/markus-hub-connector/skill.json +6 -0
  19. package/templates/skills/markus-project-cli/skill.json +7 -0
  20. package/templates/skills/markus-skill-cli/skill.json +7 -0
  21. package/templates/skills/markus-team-cli/skill.json +7 -0
  22. package/templates/skills/self-evolution/skill.json +6 -0
  23. package/templates/skills/skill-building/skill.json +6 -0
  24. package/templates/skills/team-building/SKILL.md +14 -6
  25. package/templates/skills/team-building/skill.json +6 -0
  26. package/templates/teams/content-team/team.json +12 -0
  27. package/templates/teams/dev-squad/team.json +13 -0
  28. package/templates/teams/engineering-pod/team.json +13 -0
  29. package/templates/teams/research-lab/team.json +12 -0
  30. package/templates/teams/startup-team/team.json +11 -0
  31. package/dist/web-ui/assets/index-C6Wd5E5i.css +0 -1
  32. package/dist/web-ui/assets/index-CJje74ac.js +0 -342
@@ -7,6 +7,12 @@
7
7
  "author": "markus",
8
8
  "category": "platform",
9
9
  "tags": ["cli", "platform", "management", "api"],
10
+ "i18n": {
11
+ "zh-CN": {
12
+ "displayName": "Markus 命令行",
13
+ "description": "通过 CLI 命令操作 Markus 平台的核心知识,是所有 markus-*-cli 技能的前置依赖。"
14
+ }
15
+ },
10
16
  "skill": {
11
17
  "skillFile": "SKILL.md",
12
18
  "alwaysOn": false
@@ -7,6 +7,12 @@
7
7
  "author": "markus",
8
8
  "category": "productivity",
9
9
  "tags": ["hub", "marketplace", "community", "share"],
10
+ "i18n": {
11
+ "zh-CN": {
12
+ "displayName": "Markus Hub 连接器",
13
+ "description": "在 Markus Hub 社区市场上搜索、下载和发布智能体/团队/技能"
14
+ }
15
+ },
10
16
  "skill": {
11
17
  "skillFile": "SKILL.md",
12
18
  "requiredPermissions": ["network"],
@@ -7,6 +7,13 @@
7
7
  "author": "markus",
8
8
  "category": "platform",
9
9
  "tags": ["cli", "projects", "requirements", "deliverables", "reports"],
10
+ "hidden": true,
11
+ "i18n": {
12
+ "zh-CN": {
13
+ "displayName": "Markus 项目命令行",
14
+ "description": "通过 markus CLI 管理项目、需求、交付物、报告和代码审查。"
15
+ }
16
+ },
10
17
  "skill": {
11
18
  "skillFile": "SKILL.md",
12
19
  "alwaysOn": false
@@ -7,6 +7,13 @@
7
7
  "author": "markus",
8
8
  "category": "platform",
9
9
  "tags": ["cli", "skills", "registry"],
10
+ "hidden": true,
11
+ "i18n": {
12
+ "zh-CN": {
13
+ "displayName": "Markus 技能命令行",
14
+ "description": "通过 markus CLI 管理技能 — 列出、安装、卸载、搜索、脚手架。"
15
+ }
16
+ },
10
17
  "skill": {
11
18
  "skillFile": "SKILL.md",
12
19
  "alwaysOn": false
@@ -7,6 +7,13 @@
7
7
  "author": "markus",
8
8
  "category": "platform",
9
9
  "tags": ["cli", "teams", "management"],
10
+ "hidden": true,
11
+ "i18n": {
12
+ "zh-CN": {
13
+ "displayName": "Markus 团队命令行",
14
+ "description": "通过 markus CLI 管理团队 — 创建、成员管理、生命周期、导出。"
15
+ }
16
+ },
10
17
  "skill": {
11
18
  "skillFile": "SKILL.md",
12
19
  "alwaysOn": false
@@ -7,6 +7,12 @@
7
7
  "author": "markus",
8
8
  "category": "productivity",
9
9
  "tags": ["learning", "reflection", "memory", "self-improvement", "evolution"],
10
+ "i18n": {
11
+ "zh-CN": {
12
+ "displayName": "自我进化",
13
+ "description": "从经验中学习 — 捕获教训、演进 SOP、分享最佳实践技能,并逐步优化自身角色"
14
+ }
15
+ },
10
16
  "skill": {
11
17
  "skillFile": "SKILL.md",
12
18
  "alwaysOn": true
@@ -7,6 +7,12 @@
7
7
  "author": "markus",
8
8
  "category": "development",
9
9
  "tags": ["builder", "skill", "design", "manifest", "mcp"],
10
+ "i18n": {
11
+ "zh-CN": {
12
+ "displayName": "技能构建",
13
+ "description": "设计和创建智能体技能包 — 基于指令和基于 MCP 的技能、清单格式和 Markus 技能工件目录结构"
14
+ }
15
+ },
10
16
  "skill": {
11
17
  "skillFile": "SKILL.md"
12
18
  }
@@ -18,6 +18,7 @@ This skill teaches you how to create Markus team packages — self-contained dir
18
18
  ```
19
19
  ~/.markus/builder-artifacts/teams/{team-name}/
20
20
  ├── team.json # Manifest (auto-created from your JSON output)
21
+ ├── README.md # Public-facing team overview for Hub/Builder (REQUIRED)
21
22
  ├── ANNOUNCEMENT.md # Team announcement (you write via file_write)
22
23
  ├── NORMS.md # Working norms (you write via file_write)
23
24
  └── members/
@@ -106,16 +107,22 @@ After the JSON is saved, write each file individually using `file_write`. The ba
106
107
 
107
108
  **Write files in this order:**
108
109
 
109
- 1. **ANNOUNCEMENT.md** — Team mission, member introduction, how the team works, key capabilities. At least 3 paragraphs.
110
+ 1. **README.md** (REQUIRED) The public-facing overview displayed on Markus Hub and the Builder detail page. This is what users see first when browsing the team. Write 2-4 paragraphs covering:
111
+ - What this team does and what problem it solves
112
+ - Team composition overview (who the key members are)
113
+ - Key capabilities and workflow highlights
114
+ - Example use cases or when to deploy this team
110
115
 
111
- 2. **NORMS.md** — Phase-based workflow documentation aligned with `team.workflow.phases`. This is critical for team effectiveness. Structure it as:
116
+ 2. **ANNOUNCEMENT.md** — Team mission, member introduction, how the team works, key capabilities. At least 3 paragraphs.
117
+
118
+ 3. **NORMS.md** — Phase-based workflow documentation aligned with `team.workflow.phases`. This is critical for team effectiveness. Structure it as:
112
119
  - A section for each workflow phase (e.g., "### 1. Plan", "### 2. Implement", "### 3. Review & Merge")
113
120
  - Each phase explains what happens, who is responsible, and which platform capabilities to use
114
121
  - Include file/module ownership rules if the team does parallel development
115
122
  - Include communication protocols (when to use `agent_send_message`, `agent_broadcast_status`)
116
123
  - Reference platform capabilities: `spawn_subagent`, `background_exec`, `shell_execute` (git/gh), worktree isolation, `deliverable_create`, etc.
117
124
 
118
- 3. **Each member's ROLE.md** — Write one at a time. **Before writing, read the existing base role template** via `file_read` to understand the expected depth and conventions. Each ROLE.md should be at least 5 paragraphs, covering:
125
+ 4. **Each member's ROLE.md** — Write one at a time. **Before writing, read the existing base role template** via `file_read` to understand the expected depth and conventions. Each ROLE.md should be at least 5 paragraphs, covering:
119
126
  - Who this agent is (identity, personality)
120
127
  - Core expertise and responsibilities
121
128
  - **Workflow with platform capabilities** — when to use `spawn_subagent`, `background_exec`, `shell_execute`, etc.
@@ -125,20 +132,21 @@ After the JSON is saved, write each file individually using `file_write`. The ba
125
132
  - For reviewers: review-then-merge workflow (git merge or gh pr)
126
133
  - For managers: file ownership planning, dependency graphs, `spawn_subagent` for analysis
127
134
 
128
- 4. **Each member's HEARTBEAT.md** (RECOMMENDED) — Defines what the agent proactively checks every ~30 minutes. Without this file, the agent is purely reactive and will only respond to direct messages. Write a role-specific checklist covering:
135
+ 5. **Each member's HEARTBEAT.md** (RECOMMENDED) — Defines what the agent proactively checks every ~30 minutes. Without this file, the agent is purely reactive and will only respond to direct messages. Write a role-specific checklist covering:
129
136
  - Check mailbox for new messages and respond to urgent items
130
137
  - Review assigned tasks — update progress, unblock if possible
131
138
  - Check team announcements and norms for updates
132
139
  - Role-specific patrol items (e.g., managers: check team task board and unblock members; developers: check build status and PR reviews; reviewers: check tasks awaiting review)
133
140
  - Scan recent channel messages for anything requiring attention
134
141
 
135
- 5. **POLICIES.md** (optional) — For members that need specific constraints.
142
+ 6. **POLICIES.md** (optional) — For members that need specific constraints.
136
143
 
137
- 6. **CONTEXT.md** (optional) — Additional domain context, references, or knowledge specific to a member.
144
+ 7. **CONTEXT.md** (optional) — Additional domain context, references, or knowledge specific to a member.
138
145
 
139
146
  **Example file_write calls:**
140
147
 
141
148
  ```
149
+ file_write("~/.markus/builder-artifacts/teams/research-team/README.md", "# Research Team\n\nA collaborative AI research team that...\n\n## Team Composition\n- Research Director (manager)...\n- Senior Researcher (worker)...\n\n## Use Cases\n- Academic literature review and synthesis...")
142
150
  file_write("~/.markus/builder-artifacts/teams/research-team/ANNOUNCEMENT.md", "# Research Team — Team Announcement\n\n...")
143
151
  file_write("~/.markus/builder-artifacts/teams/research-team/NORMS.md", "# Research Team — Working Norms\n\n...")
144
152
  file_write("~/.markus/builder-artifacts/teams/research-team/members/research-director/ROLE.md", "# Research Director\n\nYou are **Research Director** — ...\n\n...")
@@ -7,6 +7,12 @@
7
7
  "author": "markus",
8
8
  "category": "development",
9
9
  "tags": ["builder", "team", "design", "manifest"],
10
+ "i18n": {
11
+ "zh-CN": {
12
+ "displayName": "团队构建",
13
+ "description": "设计和创建 AI 团队包 — 清单格式、成员结构、目录布局和 Markus 团队工件部署"
14
+ }
15
+ },
10
16
  "skill": {
11
17
  "skillFile": "SKILL.md"
12
18
  }
@@ -8,6 +8,18 @@
8
8
  "category": "productivity",
9
9
  "tags": ["content", "writing", "marketing", "documentation", "creative", "editorial"],
10
10
  "icon": "edit",
11
+ "i18n": {
12
+ "zh-CN": {
13
+ "displayName": "内容创作团队",
14
+ "description": "以研究驱动的内容团队,具有结构化的流水线:调研 → 简报 → 草稿 → 编辑 → 发布。支持并行写作、事实核查和编辑审核。适用于文档项目、营销活动、技术写作和内容运营。",
15
+ "members": {
16
+ "Editor-in-Chief": "主编",
17
+ "Senior Writer": "高级作者",
18
+ "Technical Writer": "技术文档工程师",
19
+ "Research Analyst": "研究分析师"
20
+ }
21
+ }
22
+ },
11
23
  "team": {
12
24
  "members": [
13
25
  {
@@ -8,6 +8,19 @@
8
8
  "category": "development",
9
9
  "tags": ["development", "agile", "sprint", "feature", "software", "tdd", "code-review"],
10
10
  "icon": "users",
11
+ "i18n": {
12
+ "zh-CN": {
13
+ "displayName": "开发小队",
14
+ "description": "高效能开发团队,遵循计划 → 实现 → 审查 → 验证的工作流。支持并行实现、两阶段审查(代码 + QA)、依赖感知的任务调度。适用于功能冲刺、重构和生产级软件交付。",
15
+ "members": {
16
+ "Tech Lead": "技术负责人",
17
+ "Backend Developer": "后端开发",
18
+ "Frontend Developer": "前端开发",
19
+ "Code Reviewer": "代码审查员",
20
+ "QA Engineer": "QA 工程师"
21
+ }
22
+ }
23
+ },
11
24
  "team": {
12
25
  "members": [
13
26
  {
@@ -8,6 +8,19 @@
8
8
  "category": "development",
9
9
  "tags": ["engineering", "full-stack", "architecture", "devops", "deployment", "multi-layer"],
10
10
  "icon": "server",
11
+ "i18n": {
12
+ "zh-CN": {
13
+ "displayName": "工程小组",
14
+ "description": "全功能工程团队,由架构师设计、多位开发者跨层并行实现(后端、前端、基础设施),配备专职审查员和 DevOps 工程师。适用于需要跨层协调、API 契约和生产部署的复杂多层项目。",
15
+ "members": {
16
+ "Architect": "架构师",
17
+ "Backend Engineer": "后端工程师",
18
+ "Frontend Engineer": "前端工程师",
19
+ "Infra Engineer": "基础设施工程师",
20
+ "Senior Reviewer": "高级审查员"
21
+ }
22
+ }
23
+ },
11
24
  "team": {
12
25
  "members": [
13
26
  {
@@ -8,6 +8,18 @@
8
8
  "category": "research",
9
9
  "tags": ["research", "investigation", "debugging", "analysis", "competing-hypotheses", "audit"],
10
10
  "icon": "search",
11
+ "i18n": {
12
+ "zh-CN": {
13
+ "displayName": "研究实验室",
14
+ "description": "结构化研究团队,用于调查复杂问题:通过竞争性假设进行调试、技术评估、安全审计和深度分析。多位研究员并行探索不同角度,相互质疑发现,由综合分析师产出高质量交付物。",
15
+ "members": {
16
+ "Research Lead": "研究负责人",
17
+ "Researcher Alpha": "研究员 Alpha",
18
+ "Researcher Beta": "研究员 Beta",
19
+ "Synthesizer": "综合分析师"
20
+ }
21
+ }
22
+ },
11
23
  "team": {
12
24
  "members": [
13
25
  {
@@ -8,6 +8,17 @@
8
8
  "category": "startup",
9
9
  "tags": ["startup", "lean", "mvp", "product", "growth", "iteration", "agile"],
10
10
  "icon": "zap",
11
+ "i18n": {
12
+ "zh-CN": {
13
+ "displayName": "创业全能团队",
14
+ "description": "精益创业团队,注重速度。产品经理驱动策略,全栈开发快速交付功能,增长负责人处理营销和数据分析。适用于 MVP 开发、快速迭代和增长实验。",
15
+ "members": {
16
+ "Product Manager": "产品经理",
17
+ "Full-Stack Developer": "全栈开发",
18
+ "Growth Lead": "增长负责人"
19
+ }
20
+ }
21
+ },
11
22
  "team": {
12
23
  "members": [
13
24
  {