@osovv/vv-opencode 0.29.1 → 0.30.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.
- package/README.md +5 -10
- package/dist/commands/doctor.js +0 -1
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/plugin-list.js +3 -0
- package/dist/commands/plugin-list.js.map +1 -1
- package/dist/commands/status.js +0 -1
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/upgrade.js +4 -0
- package/dist/commands/upgrade.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/lib/agent-models.d.ts +1 -1
- package/dist/lib/agent-models.js +7 -1
- package/dist/lib/agent-models.js.map +1 -1
- package/dist/lib/managed-agents.d.ts +1 -1
- package/dist/lib/managed-agents.js +3 -8
- package/dist/lib/managed-agents.js.map +1 -1
- package/dist/lib/model-roles.d.ts +0 -1
- package/dist/lib/model-roles.js +7 -4
- package/dist/lib/model-roles.js.map +1 -1
- package/dist/lib/opencode.d.ts +1 -8
- package/dist/lib/opencode.js +9 -19
- package/dist/lib/opencode.js.map +1 -1
- package/dist/lib/vvoc-config.d.ts +0 -28
- package/dist/lib/vvoc-config.js +21 -97
- package/dist/lib/vvoc-config.js.map +1 -1
- package/dist/lib/vvoc-paths.js +1 -1
- package/dist/lib/vvoc-paths.js.map +1 -1
- package/dist/lib/vvoc-preset-registry.d.ts +12 -3
- package/dist/lib/vvoc-preset-registry.js +11 -2
- package/dist/lib/vvoc-preset-registry.js.map +1 -1
- package/dist/plugins/hashline-edit/autocorrect-replacement-lines.js +4 -0
- package/dist/plugins/hashline-edit/autocorrect-replacement-lines.js.map +1 -1
- package/dist/plugins/hashline-edit/edit-operation-primitives.js +4 -0
- package/dist/plugins/hashline-edit/edit-operation-primitives.js.map +1 -1
- package/dist/plugins/hashline-edit/file-text-canonicalization.js +4 -0
- package/dist/plugins/hashline-edit/file-text-canonicalization.js.map +1 -1
- package/dist/plugins/hashline-edit/normalize-edits.js +4 -0
- package/dist/plugins/hashline-edit/normalize-edits.js.map +1 -1
- package/dist/plugins/hashline-edit/types.js +4 -0
- package/dist/plugins/hashline-edit/types.js.map +1 -1
- package/dist/plugins/secrets-redaction/config.js +2 -0
- package/dist/plugins/secrets-redaction/config.js.map +1 -1
- package/dist/plugins/secrets-redaction/deep.js +4 -0
- package/dist/plugins/secrets-redaction/deep.js.map +1 -1
- package/dist/plugins/secrets-redaction/engine.js +3 -0
- package/dist/plugins/secrets-redaction/engine.js.map +1 -1
- package/dist/plugins/secrets-redaction/index.js +4 -0
- package/dist/plugins/secrets-redaction/index.js.map +1 -1
- package/dist/plugins/secrets-redaction/patterns.js +8 -0
- package/dist/plugins/secrets-redaction/patterns.js.map +1 -1
- package/dist/plugins/secrets-redaction/restore.js +4 -0
- package/dist/plugins/secrets-redaction/restore.js.map +1 -1
- package/dist/plugins/secrets-redaction/session.js +8 -0
- package/dist/plugins/secrets-redaction/session.js.map +1 -1
- package/dist/plugins/secrets-redaction.js +4 -0
- package/dist/plugins/secrets-redaction.js.map +1 -1
- package/dist/plugins/system-context-injection/index.js +1 -1
- package/dist/plugins/system-context-injection/index.js.map +1 -1
- package/dist/plugins/workflow/index.js +1 -1
- package/dist/plugins/workflow/index.js.map +1 -1
- package/package.json +3 -8
- package/schemas/vvoc/v3.json +2 -13
- package/templates/agents/vv-controller.md +7 -7
- package/dist/plugins/memory/index.d.ts +0 -2
- package/dist/plugins/memory/index.js +0 -440
- package/dist/plugins/memory/index.js.map +0 -1
- package/dist/plugins/memory/system-instruction.md +0 -8
- package/dist/plugins/memory-store.d.ts +0 -51
- package/dist/plugins/memory-store.js +0 -461
- package/dist/plugins/memory-store.js.map +0 -1
- package/schemas/vvoc/v1.json +0 -94
- package/schemas/vvoc/v2.json +0 -124
- package/templates/agents/memory-reviewer.md +0 -40
package/schemas/vvoc/v2.json
DELETED
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://cdn.jsdelivr.net/npm/@osovv/vv-opencode@0.29.0/schemas/vvoc/v2.json",
|
|
4
|
-
"title": "vvoc config",
|
|
5
|
-
"description": "Canonical vvoc configuration document.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"additionalProperties": false,
|
|
8
|
-
"required": ["$schema", "version", "guardian", "memory", "secretsRedaction", "presets"],
|
|
9
|
-
"properties": {
|
|
10
|
-
"$schema": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"minLength": 1,
|
|
13
|
-
"description": "Hosted JSON Schema URL for vvoc.json."
|
|
14
|
-
},
|
|
15
|
-
"version": {
|
|
16
|
-
"type": "integer",
|
|
17
|
-
"const": 2
|
|
18
|
-
},
|
|
19
|
-
"guardian": {
|
|
20
|
-
"type": "object",
|
|
21
|
-
"additionalProperties": false,
|
|
22
|
-
"required": ["timeoutMs", "approvalRiskThreshold", "reviewToastDurationMs"],
|
|
23
|
-
"properties": {
|
|
24
|
-
"model": { "type": "string", "minLength": 1 },
|
|
25
|
-
"variant": { "type": "string", "minLength": 1 },
|
|
26
|
-
"timeoutMs": { "type": "integer", "minimum": 1 },
|
|
27
|
-
"approvalRiskThreshold": { "type": "integer", "minimum": 0, "maximum": 100 },
|
|
28
|
-
"reviewToastDurationMs": { "type": "integer", "minimum": 1 }
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"memory": {
|
|
32
|
-
"type": "object",
|
|
33
|
-
"additionalProperties": false,
|
|
34
|
-
"required": ["enabled", "defaultSearchLimit"],
|
|
35
|
-
"properties": {
|
|
36
|
-
"enabled": { "type": "boolean" },
|
|
37
|
-
"defaultSearchLimit": { "type": "integer", "minimum": 1 },
|
|
38
|
-
"reviewerModel": { "type": "string", "minLength": 1 },
|
|
39
|
-
"reviewerVariant": { "type": "string", "minLength": 1 }
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
"secretsRedaction": {
|
|
43
|
-
"type": "object",
|
|
44
|
-
"additionalProperties": false,
|
|
45
|
-
"required": ["enabled", "secret", "ttlMs", "maxMappings", "patterns", "debug"],
|
|
46
|
-
"properties": {
|
|
47
|
-
"enabled": { "type": "boolean" },
|
|
48
|
-
"secret": { "type": "string", "minLength": 1 },
|
|
49
|
-
"ttlMs": { "type": "integer", "minimum": 0 },
|
|
50
|
-
"maxMappings": { "type": "integer", "minimum": 1 },
|
|
51
|
-
"debug": { "type": "boolean" },
|
|
52
|
-
"patterns": {
|
|
53
|
-
"type": "object",
|
|
54
|
-
"additionalProperties": false,
|
|
55
|
-
"required": ["keywords", "regex", "builtin", "exclude"],
|
|
56
|
-
"properties": {
|
|
57
|
-
"keywords": {
|
|
58
|
-
"type": "array",
|
|
59
|
-
"items": {
|
|
60
|
-
"type": "object",
|
|
61
|
-
"additionalProperties": false,
|
|
62
|
-
"required": ["value"],
|
|
63
|
-
"properties": {
|
|
64
|
-
"value": { "type": "string", "minLength": 1 },
|
|
65
|
-
"category": { "type": "string", "minLength": 1 }
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
"regex": {
|
|
70
|
-
"type": "array",
|
|
71
|
-
"items": {
|
|
72
|
-
"type": "object",
|
|
73
|
-
"additionalProperties": false,
|
|
74
|
-
"required": ["pattern", "category"],
|
|
75
|
-
"properties": {
|
|
76
|
-
"pattern": { "type": "string", "minLength": 1 },
|
|
77
|
-
"category": { "type": "string", "minLength": 1 }
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
"builtin": {
|
|
82
|
-
"type": "array",
|
|
83
|
-
"items": { "type": "string", "minLength": 1 }
|
|
84
|
-
},
|
|
85
|
-
"exclude": {
|
|
86
|
-
"type": "array",
|
|
87
|
-
"items": { "type": "string", "minLength": 1 }
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
"presets": {
|
|
94
|
-
"type": "object",
|
|
95
|
-
"propertyNames": { "minLength": 1 },
|
|
96
|
-
"additionalProperties": {
|
|
97
|
-
"type": "object",
|
|
98
|
-
"additionalProperties": false,
|
|
99
|
-
"required": ["agents"],
|
|
100
|
-
"properties": {
|
|
101
|
-
"description": { "type": "string", "minLength": 1 },
|
|
102
|
-
"agents": {
|
|
103
|
-
"type": "object",
|
|
104
|
-
"additionalProperties": false,
|
|
105
|
-
"minProperties": 1,
|
|
106
|
-
"properties": {
|
|
107
|
-
"default": { "type": "string", "minLength": 1 },
|
|
108
|
-
"small-model": { "type": "string", "minLength": 1 },
|
|
109
|
-
"guardian": { "type": "string", "minLength": 1 },
|
|
110
|
-
"memory-reviewer": { "type": "string", "minLength": 1 },
|
|
111
|
-
"general": { "type": "string", "minLength": 1 },
|
|
112
|
-
"explore": { "type": "string", "minLength": 1 },
|
|
113
|
-
"enhancer": { "type": "string", "minLength": 1 },
|
|
114
|
-
"implementer": { "type": "string", "minLength": 1 },
|
|
115
|
-
"spec-reviewer": { "type": "string", "minLength": 1 },
|
|
116
|
-
"code-reviewer": { "type": "string", "minLength": 1 },
|
|
117
|
-
"investigator": { "type": "string", "minLength": 1 }
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Reviews stored vvoc memory and suggests cleanup actions without modifying entries.
|
|
3
|
-
mode: subagent
|
|
4
|
-
permission:
|
|
5
|
-
edit: deny
|
|
6
|
-
webfetch: deny
|
|
7
|
-
bash:
|
|
8
|
-
"*": deny
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
You review explicit persistent memory managed by vvoc.
|
|
12
|
-
|
|
13
|
-
Rules:
|
|
14
|
-
|
|
15
|
-
- Memory is explicit-only. Nothing is automatically loaded into the prompt.
|
|
16
|
-
- Shared scope is global across projects. Session, branch, and project scopes are local to the current project.
|
|
17
|
-
- Start with memory_list for the relevant scopes.
|
|
18
|
-
- Use memory_get for exact ids.
|
|
19
|
-
- Use memory_search to confirm overlap, duplicates, or scope mistakes.
|
|
20
|
-
- Do not create, update, or delete memory.
|
|
21
|
-
- Produce a report only.
|
|
22
|
-
|
|
23
|
-
Return sections in this order:
|
|
24
|
-
|
|
25
|
-
## Keep
|
|
26
|
-
|
|
27
|
-
## Update
|
|
28
|
-
|
|
29
|
-
## Merge
|
|
30
|
-
|
|
31
|
-
## Delete
|
|
32
|
-
|
|
33
|
-
## Questions
|
|
34
|
-
|
|
35
|
-
## Summary
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
<task>
|
|
39
|
-
Your current task is the memory scopes above. Review entries and produce a cleanup report.
|
|
40
|
-
</task>
|