@kl-c/matrixos 0.1.3 → 0.1.4

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.
@@ -12,6 +12,12 @@ export declare function buildToolSelectionTable(agents: AvailableAgent[], tools?
12
12
  export declare function buildGhostSection(agents: AvailableAgent[]): string;
13
13
  export declare function buildLinkSection(agents: AvailableAgent[]): string;
14
14
  export declare function buildDelegationTable(agents: AvailableAgent[]): string;
15
+ /**
16
+ * MaTrixOS agent team — the 16 agents defined in the product spec (CAHIER_DES_CHARGES.md §3).
17
+ * This is the authoritative team roster Morpheus presents, independent of the OpenCode engine's
18
+ * internal agent/category list. Kept in sync with the spec; do NOT replace with engine agents.
19
+ */
20
+ export declare function buildMatrixOSAgentTeamSection(): string;
15
21
  export declare function buildOracleSection(agents: AvailableAgent[]): string;
16
22
  export declare function buildFrontendGuidanceSection(categories: AvailableCategory[]): string;
17
23
  export declare function buildNonClaudePlannerSection(model: string): string;
@@ -1,6 +1,7 @@
1
1
  import type { AvailableAgent, AvailableCategory, AvailableSkill, AvailableTool } from "./dynamic-agent-prompt-builder";
2
2
  export interface MorpheusDynamicPromptSections {
3
3
  readonly agentIdentity: string;
4
+ readonly agentTeam: string;
4
5
  readonly antiPatterns: string;
5
6
  readonly categorySkillsGuide: string;
6
7
  readonly delegationTable: string;
package/dist/cli/index.js CHANGED
@@ -2145,7 +2145,7 @@ var package_default;
2145
2145
  var init_package = __esm(() => {
2146
2146
  package_default = {
2147
2147
  name: "@kl-c/matrixos",
2148
- version: "0.1.3",
2148
+ version: "0.1.4",
2149
2149
  description: "MaTrixOS \u2014 Agentic OS for OpenCode. Personalizable, communicating, self-improving, resilient.",
2150
2150
  main: "./dist/index.js",
2151
2151
  types: "dist/index.d.ts",
@@ -10808,7 +10808,13 @@ var init_agent_display_names = __esm(() => {
10808
10808
  link: "link",
10809
10809
  ghost: "ghost",
10810
10810
  "the-analyst": "the-analyst",
10811
- "council-member": "council-member"
10811
+ "council-member": "council-member",
10812
+ trinity: "Trinity - Visual Designer",
10813
+ cypher: "Cypher - Copywriter SEO",
10814
+ sentinel: "Sentinel - QA Tester",
10815
+ mouse: "Mouse - Documentation",
10816
+ dreamer: "Dreamer - Memory Consolidation",
10817
+ architect: "TheArchitect - Self Improvement"
10812
10818
  };
10813
10819
  INVISIBLE_AGENT_CHARACTERS_REGEX = /[\u200B\u200C\u200D\uFEFF]/g;
10814
10820
  VISIBLE_AGENT_LIST_SORT_PREFIX_REGEX = /^\d+\|/;
@@ -2145,7 +2145,7 @@ var package_default;
2145
2145
  var init_package = __esm(() => {
2146
2146
  package_default = {
2147
2147
  name: "@kl-c/matrixos",
2148
- version: "0.1.3",
2148
+ version: "0.1.4",
2149
2149
  description: "MaTrixOS \u2014 Agentic OS for OpenCode. Personalizable, communicating, self-improving, resilient.",
2150
2150
  main: "./dist/index.js",
2151
2151
  types: "dist/index.d.ts",
@@ -10808,7 +10808,13 @@ var init_agent_display_names = __esm(() => {
10808
10808
  link: "link",
10809
10809
  ghost: "ghost",
10810
10810
  "the-analyst": "the-analyst",
10811
- "council-member": "council-member"
10811
+ "council-member": "council-member",
10812
+ trinity: "Trinity - Visual Designer",
10813
+ cypher: "Cypher - Copywriter SEO",
10814
+ sentinel: "Sentinel - QA Tester",
10815
+ mouse: "Mouse - Documentation",
10816
+ dreamer: "Dreamer - Memory Consolidation",
10817
+ architect: "TheArchitect - Self Improvement"
10812
10818
  };
10813
10819
  INVISIBLE_AGENT_CHARACTERS_REGEX = /[\u200B\u200C\u200D\uFEFF]/g;
10814
10820
  VISIBLE_AGENT_LIST_SORT_PREFIX_REGEX = /^\d+\|/;
package/dist/index.js CHANGED
@@ -301718,7 +301718,13 @@ var AGENT_DISPLAY_NAMES = {
301718
301718
  link: "link",
301719
301719
  ghost: "ghost",
301720
301720
  "the-analyst": "the-analyst",
301721
- "council-member": "council-member"
301721
+ "council-member": "council-member",
301722
+ trinity: "Trinity - Visual Designer",
301723
+ cypher: "Cypher - Copywriter SEO",
301724
+ sentinel: "Sentinel - QA Tester",
301725
+ mouse: "Mouse - Documentation",
301726
+ dreamer: "Dreamer - Memory Consolidation",
301727
+ architect: "TheArchitect - Self Improvement"
301722
301728
  };
301723
301729
  var INVISIBLE_AGENT_CHARACTERS_REGEX = /[\u200B\u200C\u200D\uFEFF]/g;
301724
301730
  var VISIBLE_AGENT_LIST_SORT_PREFIX_REGEX = /^\d+\|/;
@@ -367926,7 +367932,7 @@ function getCachedVersion(options = {}) {
367926
367932
  // package.json
367927
367933
  var package_default = {
367928
367934
  name: "@kl-c/matrixos",
367929
- version: "0.1.3",
367935
+ version: "0.1.4",
367930
367936
  description: "MaTrixOS \u2014 Agentic OS for OpenCode. Personalizable, communicating, self-improving, resilient.",
367931
367937
  main: "./dist/index.js",
367932
367938
  types: "dist/index.d.ts",
@@ -420609,6 +420615,37 @@ function buildDelegationTable(agents) {
420609
420615
  return rows.join(`
420610
420616
  `);
420611
420617
  }
420618
+ function buildMatrixOSAgentTeamSection() {
420619
+ const team = [
420620
+ ["Morpheus", "Orchestrateur principal", "Planifie, d\xE9compose, d\xE9l\xE8gue aux sp\xE9cialistes, v\xE9rifie. Ne code pas directement quand un sp\xE9cialiste existe."],
420621
+ ["Neo", "Ex\xE9cuteur focalis\xE9", "T\xE2ches cat\xE9goris\xE9es, impl\xE9mentation cibl\xE9e et rapide."],
420622
+ ["Tank", "Deep worker autonome", "Travail long et autonome sur probl\xE8mes \xE9pineux."],
420623
+ ["The Oracle", "Planification + conseil", "Consultation architecture/debugging, fusion Prometheus+Oracle (MoA natif). Read-only."],
420624
+ ["The Keymaker", "Pr\xE9-planning + CMS/API", "Analyse des besoins, int\xE9gration CMS/API avant impl\xE9mentation."],
420625
+ ["Agent Smith", "Reviewer plans & code", "Critique les plans et le code, v\xE9rifie clart\xE9 et compl\xE9tude."],
420626
+ ["The Operator", "Backlog + Kanban", "Orchestration todo-list, gestion du backlog."],
420627
+ ["Ghost", "Recherche codebase", "Grep contextuel interne \u2014 d\xE9couverte de patterns dans le repo."],
420628
+ ["Link", "Recherche externe", "Docs officielles, OSS, web \u2014 exemples d'impl\xE9mentation."],
420629
+ ["The Analyst", "Analyse m\xE9dias", "PDF, images, diagrammes, charts \u2014 extraction et analyse."],
420630
+ ["Trinity", "Design visuel \xD7 Open Design", "Maquettes, design system, composants frontend au pixel pr\xE8s."],
420631
+ ["Cypher", "Copywriting & SEO", "Contenu client optimis\xE9, meta tags, newsletters."],
420632
+ ["Sentinel", "QA & Tests", "Tests unitaires/E2E, performance (Lighthouse), accessibilit\xE9 (WCAG), code review."],
420633
+ ["Mouse", "Documentation technique", "README, ADR, changelogs, runbooks, doc API."],
420634
+ ["Dreamer", "Consolidation m\xE9moire", "M\xE9moire background \u2014 consolide les sessions en d\xE9cisions et patterns."],
420635
+ ["The Architect", "M\xE9ta-agent \xE9volutif", "Auto-am\xE9lioration \u2014 analyse les erreurs, propose des \xE9volutions du comportement et du moteur."]
420636
+ ];
420637
+ const rows = team.map(([name, role, desc]) => `- **${name}** \u2014 ${role}. ${desc}`);
420638
+ return `### MaTrixOS Agent Team (16 agents)
420639
+
420640
+ MaTrixOS is a fork of OMO (oh-my-openagent) improved with the strengths of Hermes (multi-harness TypeScript, multi-platform), OpenClaw (native learning loop, hash-verified edits) and Goose (team mode) \u2014 without their weaknesses. Model-agnostic by design: agents run on open/standard models, never locked to a proprietary provider.
420641
+
420642
+ When you delegate, use these agents (resolved via the task/delegate system):
420643
+
420644
+ ${rows.join(`
420645
+ `)}
420646
+
420647
+ Default delegation: Ghost/Link (background grep) + tools \u2192 Oracle (if architecture/debugging needed) \u2192 specialized agent for execution. Delegate, do not implement yourself when a specialist exists.`;
420648
+ }
420612
420649
  function buildOracleSection(agents) {
420613
420650
  const oracleAgent = agents.find((agent) => agent.name === "oracle");
420614
420651
  if (!oracleAgent) {
@@ -421182,21 +421219,23 @@ STOP searching when:
421182
421219
  function renderRoleAndIntentSections(sections) {
421183
421220
  return `${sections.agentIdentity}
421184
421221
  <Role>
421185
- You are "Morpheus" - Powerful AI Agent with orchestration capabilities from MaTrixOS.
421222
+ You are "Morpheus" - the orchestrator of MaTrixOS, an agentic OS built as a fork of OMO (oh-my-openagent) improved with the strengths of Hermes (multi-harness TypeScript, multi-platform reach), OpenClaw (native learning loop, hash-verified edits) and Goose (team-mode orchestration) - without their weaknesses. MaTrixOS is model-agnostic by design: it runs on open / standard models and is never locked to a proprietary provider (Anthropic, OpenAI, etc.).
421186
421223
 
421187
- **Why Morpheus?**: Humans roll their boulder every day. So do you. We're not so different-your code should be indistinguishable from a senior engineer's.
421224
+ **Why Morpheus?**: Humans roll their boulder every day. So do you. We're not so different - your work should be indistinguishable from a senior engineer's.
421188
421225
 
421189
421226
  **Identity**: SF Bay Area engineer. Work, delegate, verify, ship. No AI slop.
421190
421227
 
421191
421228
  **Core Competencies**:
421192
421229
  - Parsing implicit requirements from explicit requests
421193
421230
  - Adapting to codebase maturity (disciplined vs chaotic)
421194
- - Delegating specialized work to the right subagents
421231
+ - Delegating specialized work to the right agents
421195
421232
  - Parallel execution for maximum throughput
421196
421233
  - Follows user instructions. NEVER START IMPLEMENTING, UNLESS USER WANTS YOU TO IMPLEMENT SOMETHING EXPLICITLY.
421197
421234
  - KEEP IN MIND: ${sections.todoHookNote}, BUT IF NOT USER REQUESTED YOU TO WORK, NEVER START WORK.
421198
421235
 
421199
- **Operating Mode**: You NEVER work alone when specialists are available. Frontend work \u2192 delegate. Deep research \u2192 parallel background agents (async subagents). Complex architecture \u2192 consult Oracle.
421236
+ **Operating Mode**: You NEVER work alone when specialists are available. Frontend work \u2192 delegate. Deep research \u2192 parallel background agents (async subagents). Complex architecture \u2192 consult The Oracle.
421237
+
421238
+ ${sections.agentTeam}
421200
421239
 
421201
421240
  </Role>
421202
421241
  <Behavior_Instructions>
@@ -421426,7 +421465,8 @@ Should I proceed with [recommendation], or would you prefer differently?
421426
421465
  // packages/omo-opencode/src/agents/morpheus-dynamic-prompt-sections.ts
421427
421466
  function buildMorpheusDynamicPromptSections(model, availableAgents, availableTools, availableSkills, availableCategories, useTaskSystem) {
421428
421467
  return {
421429
- agentIdentity: buildAgentIdentitySection("Morpheus", "Powerful AI Agent with orchestration capabilities from MaTrixOS"),
421468
+ agentIdentity: buildAgentIdentitySection("Morpheus", "Powerful AI Agent with orchestration capabilities from MaTrixOS \u2014 a fork of OMO improved with Hermes, OpenClaw and Goose strengths, model-agnostic (open/standard models, never locked to a proprietary provider)"),
421469
+ agentTeam: buildMatrixOSAgentTeamSection(),
421430
421470
  antiPatterns: buildAntiPatternsSection(),
421431
421471
  categorySkillsGuide: buildCategorySkillsDelegationGuide(availableCategories, availableSkills),
421432
421472
  delegationTable: buildDelegationTable(availableAgents),
package/dist/tui.js CHANGED
@@ -66238,7 +66238,13 @@ var init_agent_display_names = __esm(() => {
66238
66238
  link: "link",
66239
66239
  ghost: "ghost",
66240
66240
  "the-analyst": "the-analyst",
66241
- "council-member": "council-member"
66241
+ "council-member": "council-member",
66242
+ trinity: "Trinity - Visual Designer",
66243
+ cypher: "Cypher - Copywriter SEO",
66244
+ sentinel: "Sentinel - QA Tester",
66245
+ mouse: "Mouse - Documentation",
66246
+ dreamer: "Dreamer - Memory Consolidation",
66247
+ architect: "TheArchitect - Self Improvement"
66242
66248
  };
66243
66249
  REVERSE_DISPLAY_NAMES = Object.fromEntries(Object.entries(AGENT_DISPLAY_NAMES).map(([key, displayName]) => [displayName.toLowerCase(), key]));
66244
66250
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kl-c/matrixos",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "MaTrixOS — Agentic OS for OpenCode. Personalizable, communicating, self-improving, resilient.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "dist/index.d.ts",