opencode-sa-assistant 0.2.7 → 0.2.8
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/README.md +18 -0
- package/package.json +1 -1
- package/src/index.ts +18 -6
package/README.md
CHANGED
|
@@ -198,6 +198,24 @@ Contributions are welcome! Please ensure:
|
|
|
198
198
|
|
|
199
199
|
## Changelog
|
|
200
200
|
|
|
201
|
+
### v0.2.7 (2026-02-06)
|
|
202
|
+
|
|
203
|
+
**Phase 2 & 3 Improvements:**
|
|
204
|
+
|
|
205
|
+
- **Naval Guru**: Added concrete AWS cost examples (RI vs On-Demand, Serverless crossover, IaC ROI)
|
|
206
|
+
- **PPTX Skill**: Implemented `move` slide operation in rearrange.py
|
|
207
|
+
- **Orchestrator**: Added cross-agent communication pattern for Guru conflict resolution
|
|
208
|
+
- **MCP Skill**: Added error handling documentation and `aws-docs_recommend` tool docs
|
|
209
|
+
- **Explorer**: Added confidence levels (🟢 HIGH / 🟡 MEDIUM / 🔴 LOW)
|
|
210
|
+
- **Reviewer**: Added Well-Architected Pillar tradeoff guide
|
|
211
|
+
- **DOCX Skill**: Added Header/Footer/ToC (Table of Contents) examples
|
|
212
|
+
|
|
213
|
+
### v0.2.6 (2026-02-05)
|
|
214
|
+
|
|
215
|
+
- feat(docx-skill): Add diagram, code block, and table improvements
|
|
216
|
+
- feat(pptx-skill): Add missing scripts (inventory, replace, thumbnail, ooxml) and documentation
|
|
217
|
+
- Version bump for npm publish
|
|
218
|
+
|
|
201
219
|
### v0.2.5 (2026-02-05)
|
|
202
220
|
|
|
203
221
|
- Fix: Skills now installed to global location (`~/.config/opencode/skills/`)
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
import type { Plugin } from "@opencode-ai/plugin";
|
|
2
2
|
import { chatMessageHook, systemTransformHook } from "./hooks/wadd-mode";
|
|
3
|
-
import {
|
|
3
|
+
import { installSASkills, SA_AGENTS } from "./agents";
|
|
4
4
|
|
|
5
5
|
export const SaAssistantPlugin: Plugin = async (ctx) => {
|
|
6
|
-
const agentResult = installSAAgents();
|
|
7
6
|
const skillResult = installSASkills();
|
|
8
7
|
|
|
9
|
-
if (agentResult.installed.length > 0) {
|
|
10
|
-
console.log(`[SA Assistant] Installed agents: ${agentResult.installed.join(", ")}`);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
8
|
if (skillResult.installed.length > 0) {
|
|
14
9
|
console.log(`[SA Assistant] Installed skills: ${skillResult.installed.join(", ")}`);
|
|
15
10
|
}
|
|
@@ -19,6 +14,23 @@ export const SaAssistantPlugin: Plugin = async (ctx) => {
|
|
|
19
14
|
}
|
|
20
15
|
|
|
21
16
|
return {
|
|
17
|
+
config: async (config) => {
|
|
18
|
+
if (!config.agent) {
|
|
19
|
+
(config as any).agent = {};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
for (const agent of SA_AGENTS) {
|
|
23
|
+
(config as any).agent[agent.name] = {
|
|
24
|
+
description: agent.description,
|
|
25
|
+
prompt: agent.prompt,
|
|
26
|
+
mode: agent.mode,
|
|
27
|
+
...(agent.tools && { tools: agent.tools }),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
console.log(`[SA Assistant] Registered ${SA_AGENTS.length} agents via config hook`);
|
|
32
|
+
},
|
|
33
|
+
|
|
22
34
|
"chat.message": chatMessageHook,
|
|
23
35
|
"experimental.chat.system.transform": systemTransformHook,
|
|
24
36
|
};
|