@divaltor/academy 0.4.2 → 0.4.6
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 +7 -5
- package/package.json +1 -1
- package/src/agents/agnes.txt +1 -1
- package/src/agents/cafe.txt +1 -1
- package/src/agents/dantsu.txt +1 -1
- package/src/agents.ts +3 -3
- package/src/index.ts +3 -1
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ An OpenCode plugin that turns coding agents into a Tracen Academy roster: specia
|
|
|
14
14
|
|
|
15
15
|
## Configuration
|
|
16
16
|
|
|
17
|
-
Add Academy to `opencode.jsonc`. All options are optional:
|
|
17
|
+
Add Academy to `opencode.jsonc`. All options are optional. Omit the version to track `latest`; append `@x.y.z` to pin a release:
|
|
18
18
|
|
|
19
19
|
```jsonc
|
|
20
20
|
{
|
|
@@ -45,15 +45,17 @@ Add Academy to `opencode.jsonc`. All options are optional:
|
|
|
45
45
|
|
|
46
46
|
Each agent under `agents` accepts `name`, `color`, and `model`. Colors may be six-digit hex values or OpenCode theme colors. Model references use `provider/model` or `provider/model#variant`.
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
Without a version suffix OpenCode resolves `latest` on install; run `opencode plugin update` to pull newer releases.
|
|
49
|
+
|
|
50
|
+
`use_fff` replaces OpenCode's built-in `glob` and `grep` tools globally with [FFF](https://github.com/dmtrKovalenko/fff) for every agent. Enabled by default; set to `false` to keep the built-in tools. This requires a platform supported by `@ff-labs/fff-bun`.
|
|
49
51
|
|
|
50
52
|
| Agent | Default model |
|
|
51
53
|
| ------ | ----------------------------- |
|
|
52
54
|
| Rudolf | OpenCode's configured default |
|
|
53
55
|
| Agnes | `openai/gpt-6-astra#xhigh` |
|
|
54
|
-
| Cafe | `openai/gpt-
|
|
55
|
-
| Dantsu | `openai/gpt-
|
|
56
|
-
| Bellno | `openai/gpt-
|
|
56
|
+
| Cafe | `openai/gpt-6-sol#none` |
|
|
57
|
+
| Dantsu | `openai/gpt-6-luna#high` |
|
|
58
|
+
| Bellno | `openai/gpt-6-sol#high` |
|
|
57
59
|
|
|
58
60
|
> [!WARNING]
|
|
59
61
|
>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@divaltor/academy",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6",
|
|
4
4
|
"description": "An OpenCode plugin that trains a Tracen Academy roster of specialist coding agents to research, build, and review.",
|
|
5
5
|
"homepage": "https://github.com/divaltor/academy#readme",
|
|
6
6
|
"bugs": {
|
package/src/agents/agnes.txt
CHANGED
|
@@ -2,7 +2,7 @@ You are **Agnes**, a read-only technical advisor for difficult judgment calls. I
|
|
|
2
2
|
|
|
3
3
|
# Principles
|
|
4
4
|
|
|
5
|
-
-
|
|
5
|
+
- Read the decisive files or diff and relevant callers, validation, and boundary adapters before making code-specific claims or recommendations. Distinguish what the evidence proves from what you infer. If decisive evidence is unavailable, state the limitation and keep the recommendation conditional.
|
|
6
6
|
- Prefer the simplest viable change; reuse existing code, patterns, and dependencies. Resist hypothetical future needs.
|
|
7
7
|
- Give one recommended path; mention an alternative only when the trade-off materially matters. Stop when the intent, decisive implementation path, contract to preserve, material risks, and smallest viable recommendation are clear.
|
|
8
8
|
- For reviews, infer intended behavior and report only high-confidence actionable findings. For debugging, trace the bad value or behavior to where it is first produced. For plans, state the observable behavior or test that would prove the change correct.
|
package/src/agents/cafe.txt
CHANGED
|
@@ -14,4 +14,4 @@ You are **Cafe**, an external research subagent. Return evidence-backed answers
|
|
|
14
14
|
|
|
15
15
|
# Response
|
|
16
16
|
|
|
17
|
-
Lead with the answer. Support material claims with linked sources; use versioned documentation anchors and commit-pinned repository links when relevant. Distinguish documented behavior, source-confirmed behavior, observed practice, and inference when the distinction matters. Include code only when it clarifies the requested usage, and language-tag it. Omit generic preambles and raw URLs.
|
|
17
|
+
Lead with the answer. Support material claims with linked sources; use versioned documentation anchors and commit-pinned repository links when relevant. Distinguish documented behavior, source-confirmed behavior, observed practice, and inference when the distinction matters. Include code only when it clarifies the requested usage, and language-tag it. Omit generic preambles and raw URLs. Default to a flat list of roughly 250 words or fewer; use short sections or additional detail only when needed to answer the question completely.
|
package/src/agents/dantsu.txt
CHANGED
|
@@ -14,4 +14,4 @@ Use grep for workspace content, glob for workspace paths, and read to confirm.
|
|
|
14
14
|
|
|
15
15
|
# Response
|
|
16
16
|
|
|
17
|
-
Lead with the direct answer
|
|
17
|
+
Lead with the direct answer and briefly explain the mechanism or call/data flow when relevant. List absolute paths and line ranges for the decisive definition and only the callers or tests needed to support the answer; say what each establishes. For cited tests, state what their assertions check. Keep the evidence map concise. State material scope limits or uncertainty.
|
package/src/agents.ts
CHANGED
|
@@ -90,7 +90,7 @@ export const agents: readonly AcademyAgent[] = [
|
|
|
90
90
|
"Librarian-style external research for official docs, API behavior, dependency internals, and remote repositories.",
|
|
91
91
|
id: "cafe",
|
|
92
92
|
mode: "subagent",
|
|
93
|
-
model: "openai/gpt-
|
|
93
|
+
model: "openai/gpt-6-sol#none",
|
|
94
94
|
name: "Cafe",
|
|
95
95
|
permissions: [
|
|
96
96
|
...defaultPermissions,
|
|
@@ -113,7 +113,7 @@ export const agents: readonly AcademyAgent[] = [
|
|
|
113
113
|
"Finder-style local codebase discovery by behavior, ownership boundary, and call or data flow.",
|
|
114
114
|
id: "dantsu",
|
|
115
115
|
mode: "subagent",
|
|
116
|
-
model: "openai/gpt-
|
|
116
|
+
model: "openai/gpt-6-luna#high",
|
|
117
117
|
name: "Dantsu",
|
|
118
118
|
permissions: [
|
|
119
119
|
...defaultPermissions,
|
|
@@ -135,7 +135,7 @@ export const agents: readonly AcademyAgent[] = [
|
|
|
135
135
|
"Read-only general reviewer for complete, systematic reviews of diffs, commits, branches, and pull requests.",
|
|
136
136
|
id: "bellno",
|
|
137
137
|
mode: "subagent",
|
|
138
|
-
model: "openai/gpt-
|
|
138
|
+
model: "openai/gpt-6-sol#high",
|
|
139
139
|
name: "Bellno",
|
|
140
140
|
permissions: [
|
|
141
141
|
...defaultPermissions,
|
package/src/index.ts
CHANGED
|
@@ -84,7 +84,9 @@ const setup = Effect.fn("Academy.setup")(function* setup(ctx: Plugin.Context) {
|
|
|
84
84
|
|
|
85
85
|
yield* ctx.agent.transform((editor) => {
|
|
86
86
|
for (const id of ["build", "plan", "explore", "general"]) {
|
|
87
|
-
editor.
|
|
87
|
+
editor.update(id, (agent) => {
|
|
88
|
+
agent.hidden = true;
|
|
89
|
+
});
|
|
88
90
|
}
|
|
89
91
|
|
|
90
92
|
for (const definition of agents) {
|