@massa-ai/opencode-plugin 1.25.0 → 1.26.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.
Files changed (122) hide show
  1. package/agent-profiles/balanced/massa-ai-architecture-specialist.md +64 -0
  2. package/agent-profiles/balanced/massa-ai-audit-specialist.md +80 -0
  3. package/agent-profiles/balanced/massa-ai-builder.md +66 -0
  4. package/agent-profiles/balanced/massa-ai-context-curator.md +66 -0
  5. package/agent-profiles/balanced/massa-ai-documentation-agent.md +64 -0
  6. package/agent-profiles/balanced/massa-ai-furps-analyst.md +70 -0
  7. package/agent-profiles/balanced/massa-ai-investigator.md +67 -0
  8. package/agent-profiles/balanced/massa-ai-judge.md +101 -0
  9. package/agent-profiles/balanced/massa-ai-meta-judge.md +88 -0
  10. package/agent-profiles/balanced/massa-ai-mobile-specialist.md +81 -0
  11. package/agent-profiles/balanced/massa-ai-navigator.md +74 -0
  12. package/agent-profiles/balanced/massa-ai-plan-critic.md +89 -0
  13. package/agent-profiles/balanced/massa-ai-planner.md +64 -0
  14. package/agent-profiles/balanced/massa-ai-requirements-analyst.md +63 -0
  15. package/agent-profiles/balanced/massa-ai-reviewer.md +65 -0
  16. package/agent-profiles/balanced/massa-ai-test-engineer.md +65 -0
  17. package/agent-profiles/balanced/massa-ai-verification-agent.md +64 -0
  18. package/agent-profiles/cheap/massa-ai-architecture-specialist.md +64 -0
  19. package/agent-profiles/cheap/massa-ai-audit-specialist.md +80 -0
  20. package/agent-profiles/cheap/massa-ai-builder.md +66 -0
  21. package/agent-profiles/cheap/massa-ai-context-curator.md +66 -0
  22. package/agent-profiles/cheap/massa-ai-documentation-agent.md +64 -0
  23. package/agent-profiles/cheap/massa-ai-furps-analyst.md +70 -0
  24. package/agent-profiles/cheap/massa-ai-investigator.md +67 -0
  25. package/agent-profiles/cheap/massa-ai-judge.md +101 -0
  26. package/agent-profiles/cheap/massa-ai-meta-judge.md +88 -0
  27. package/agent-profiles/cheap/massa-ai-mobile-specialist.md +81 -0
  28. package/agent-profiles/cheap/massa-ai-navigator.md +74 -0
  29. package/agent-profiles/cheap/massa-ai-plan-critic.md +89 -0
  30. package/agent-profiles/cheap/massa-ai-planner.md +64 -0
  31. package/agent-profiles/cheap/massa-ai-requirements-analyst.md +63 -0
  32. package/agent-profiles/cheap/massa-ai-reviewer.md +65 -0
  33. package/agent-profiles/cheap/massa-ai-test-engineer.md +65 -0
  34. package/agent-profiles/cheap/massa-ai-verification-agent.md +64 -0
  35. package/agent-profiles/heavy/massa-ai-architecture-specialist.md +64 -0
  36. package/agent-profiles/heavy/massa-ai-audit-specialist.md +80 -0
  37. package/agent-profiles/heavy/massa-ai-builder.md +66 -0
  38. package/agent-profiles/heavy/massa-ai-context-curator.md +66 -0
  39. package/agent-profiles/heavy/massa-ai-documentation-agent.md +64 -0
  40. package/agent-profiles/heavy/massa-ai-furps-analyst.md +70 -0
  41. package/agent-profiles/heavy/massa-ai-investigator.md +67 -0
  42. package/agent-profiles/heavy/massa-ai-judge.md +101 -0
  43. package/agent-profiles/heavy/massa-ai-meta-judge.md +88 -0
  44. package/agent-profiles/heavy/massa-ai-mobile-specialist.md +81 -0
  45. package/agent-profiles/heavy/massa-ai-navigator.md +74 -0
  46. package/agent-profiles/heavy/massa-ai-plan-critic.md +89 -0
  47. package/agent-profiles/heavy/massa-ai-planner.md +64 -0
  48. package/agent-profiles/heavy/massa-ai-requirements-analyst.md +63 -0
  49. package/agent-profiles/heavy/massa-ai-reviewer.md +65 -0
  50. package/agent-profiles/heavy/massa-ai-test-engineer.md +65 -0
  51. package/agent-profiles/heavy/massa-ai-verification-agent.md +64 -0
  52. package/agent-profiles/home/massa-ai-architecture-specialist.md +64 -0
  53. package/agent-profiles/home/massa-ai-audit-specialist.md +80 -0
  54. package/agent-profiles/home/massa-ai-builder.md +66 -0
  55. package/agent-profiles/home/massa-ai-context-curator.md +66 -0
  56. package/agent-profiles/home/massa-ai-documentation-agent.md +64 -0
  57. package/agent-profiles/home/massa-ai-furps-analyst.md +70 -0
  58. package/agent-profiles/home/massa-ai-investigator.md +67 -0
  59. package/agent-profiles/home/massa-ai-judge.md +101 -0
  60. package/agent-profiles/home/massa-ai-meta-judge.md +88 -0
  61. package/agent-profiles/home/massa-ai-mobile-specialist.md +81 -0
  62. package/agent-profiles/home/massa-ai-navigator.md +74 -0
  63. package/agent-profiles/home/massa-ai-plan-critic.md +89 -0
  64. package/agent-profiles/home/massa-ai-planner.md +64 -0
  65. package/agent-profiles/home/massa-ai-requirements-analyst.md +63 -0
  66. package/agent-profiles/home/massa-ai-reviewer.md +65 -0
  67. package/agent-profiles/home/massa-ai-test-engineer.md +65 -0
  68. package/agent-profiles/home/massa-ai-verification-agent.md +64 -0
  69. package/agent-profiles/local_models/massa-ai-architecture-specialist.md +64 -0
  70. package/agent-profiles/local_models/massa-ai-audit-specialist.md +80 -0
  71. package/agent-profiles/local_models/massa-ai-builder.md +66 -0
  72. package/agent-profiles/local_models/massa-ai-context-curator.md +66 -0
  73. package/agent-profiles/local_models/massa-ai-documentation-agent.md +64 -0
  74. package/agent-profiles/local_models/massa-ai-furps-analyst.md +70 -0
  75. package/agent-profiles/local_models/massa-ai-investigator.md +67 -0
  76. package/agent-profiles/local_models/massa-ai-judge.md +101 -0
  77. package/agent-profiles/local_models/massa-ai-meta-judge.md +88 -0
  78. package/agent-profiles/local_models/massa-ai-mobile-specialist.md +81 -0
  79. package/agent-profiles/local_models/massa-ai-navigator.md +74 -0
  80. package/agent-profiles/local_models/massa-ai-plan-critic.md +89 -0
  81. package/agent-profiles/local_models/massa-ai-planner.md +64 -0
  82. package/agent-profiles/local_models/massa-ai-requirements-analyst.md +63 -0
  83. package/agent-profiles/local_models/massa-ai-reviewer.md +65 -0
  84. package/agent-profiles/local_models/massa-ai-test-engineer.md +65 -0
  85. package/agent-profiles/local_models/massa-ai-verification-agent.md +64 -0
  86. package/agent-profiles/open_models/massa-ai-architecture-specialist.md +64 -0
  87. package/agent-profiles/open_models/massa-ai-audit-specialist.md +80 -0
  88. package/agent-profiles/open_models/massa-ai-builder.md +66 -0
  89. package/agent-profiles/open_models/massa-ai-context-curator.md +66 -0
  90. package/agent-profiles/open_models/massa-ai-documentation-agent.md +64 -0
  91. package/agent-profiles/open_models/massa-ai-furps-analyst.md +70 -0
  92. package/agent-profiles/open_models/massa-ai-investigator.md +67 -0
  93. package/agent-profiles/open_models/massa-ai-judge.md +101 -0
  94. package/agent-profiles/open_models/massa-ai-meta-judge.md +88 -0
  95. package/agent-profiles/open_models/massa-ai-mobile-specialist.md +81 -0
  96. package/agent-profiles/open_models/massa-ai-navigator.md +74 -0
  97. package/agent-profiles/open_models/massa-ai-plan-critic.md +89 -0
  98. package/agent-profiles/open_models/massa-ai-planner.md +64 -0
  99. package/agent-profiles/open_models/massa-ai-requirements-analyst.md +63 -0
  100. package/agent-profiles/open_models/massa-ai-reviewer.md +65 -0
  101. package/agent-profiles/open_models/massa-ai-test-engineer.md +65 -0
  102. package/agent-profiles/open_models/massa-ai-verification-agent.md +64 -0
  103. package/agent-profiles/work/massa-ai-architecture-specialist.md +64 -0
  104. package/agent-profiles/work/massa-ai-audit-specialist.md +80 -0
  105. package/agent-profiles/work/massa-ai-builder.md +66 -0
  106. package/agent-profiles/work/massa-ai-context-curator.md +66 -0
  107. package/agent-profiles/work/massa-ai-documentation-agent.md +64 -0
  108. package/agent-profiles/work/massa-ai-furps-analyst.md +70 -0
  109. package/agent-profiles/work/massa-ai-investigator.md +67 -0
  110. package/agent-profiles/work/massa-ai-judge.md +101 -0
  111. package/agent-profiles/work/massa-ai-meta-judge.md +88 -0
  112. package/agent-profiles/work/massa-ai-mobile-specialist.md +81 -0
  113. package/agent-profiles/work/massa-ai-navigator.md +74 -0
  114. package/agent-profiles/work/massa-ai-plan-critic.md +89 -0
  115. package/agent-profiles/work/massa-ai-planner.md +64 -0
  116. package/agent-profiles/work/massa-ai-requirements-analyst.md +63 -0
  117. package/agent-profiles/work/massa-ai-reviewer.md +65 -0
  118. package/agent-profiles/work/massa-ai-test-engineer.md +65 -0
  119. package/agent-profiles/work/massa-ai-verification-agent.md +64 -0
  120. package/dist/config-cli.js +821 -15
  121. package/dist/index.js +24 -0
  122. package/package.json +5 -4
package/dist/index.js CHANGED
@@ -14105,6 +14105,30 @@ var MassaAiPlugin = async ({ project, directory, worktree, client }) => {
14105
14105
  });
14106
14106
  return JSON.stringify(result);
14107
14107
  }
14108
+ }),
14109
+ profile: tool({
14110
+ description: "List shipped model profiles or switch the installed massa-ai agents to one. Local trust model \u2014 " + "same as any tool that mutates local state: 'set' replaces the active installed agent files on the " + "machine this host runs on and requires a session restart to take effect. Use action:'list' first " + "to see available profiles and each host's current state.",
14111
+ args: {
14112
+ action: tool.schema.enum(["list", "set"]).describe("'list' reports profiles/state; 'set' switches"),
14113
+ profile: tool.schema.string().optional().describe("Target profile name \u2014 required when action is 'set'"),
14114
+ host: tool.schema.enum(["claude", "codex", "cursor", "opencode"]).optional().describe("Limit to a single host. Omit to cover every detected host."),
14115
+ dryRun: tool.schema.boolean().optional().default(false).describe("With action:'set' \u2014 preview the per-host plan; change nothing")
14116
+ },
14117
+ async execute(args) {
14118
+ if (args.action === "list") {
14119
+ const result2 = await massaAiGetWithQuery("/api/v1/profiles", { host: args.host });
14120
+ return JSON.stringify(result2);
14121
+ }
14122
+ if (!args.profile) {
14123
+ return JSON.stringify({ success: false, error: { code: "InvalidRequest", message: "profile is required when action is 'set'" } });
14124
+ }
14125
+ const result = await massaAiFetch("/api/v1/profiles/switch", {
14126
+ profile: args.profile,
14127
+ host: args.host,
14128
+ dryRun: args.dryRun ?? false
14129
+ });
14130
+ return JSON.stringify(result);
14131
+ }
14108
14132
  })
14109
14133
  },
14110
14134
  "session.created": async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@massa-ai/opencode-plugin",
3
- "version": "1.25.0",
3
+ "version": "1.26.0",
4
4
  "description": "massa-ai plugin for OpenCode - Semantic code search, memory, and context compression",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -9,7 +9,8 @@
9
9
  },
10
10
  "files": [
11
11
  "dist",
12
- "agents/*.md"
12
+ "agents/*.md",
13
+ "agent-profiles/**/*.md"
13
14
  ],
14
15
  "scripts": {
15
16
  "dev": "bun run --watch src/index.ts",
@@ -21,8 +22,8 @@
21
22
  "dependencies": {
22
23
  "@opencode-ai/plugin": "^1.2.15",
23
24
  "@opencode-ai/sdk": "^1.2.15",
24
- "@massa-ai/core": "^1.25.0",
25
- "@massa-ai/shared": "^1.25.0"
25
+ "@massa-ai/core": "^1.26.0",
26
+ "@massa-ai/shared": "^1.26.0"
26
27
  },
27
28
  "devDependencies": {
28
29
  "@types/node": "^22.10.5",