@osovv/vv-opencode 0.29.1 → 0.30.1

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 (74) hide show
  1. package/README.md +5 -10
  2. package/dist/commands/doctor.js +0 -1
  3. package/dist/commands/doctor.js.map +1 -1
  4. package/dist/commands/plugin-list.js +3 -0
  5. package/dist/commands/plugin-list.js.map +1 -1
  6. package/dist/commands/status.js +0 -1
  7. package/dist/commands/status.js.map +1 -1
  8. package/dist/commands/upgrade.js +4 -0
  9. package/dist/commands/upgrade.js.map +1 -1
  10. package/dist/index.d.ts +0 -1
  11. package/dist/index.js +6 -6
  12. package/dist/index.js.map +1 -1
  13. package/dist/lib/agent-models.d.ts +1 -1
  14. package/dist/lib/agent-models.js +7 -1
  15. package/dist/lib/agent-models.js.map +1 -1
  16. package/dist/lib/managed-agents.d.ts +1 -1
  17. package/dist/lib/managed-agents.js +3 -8
  18. package/dist/lib/managed-agents.js.map +1 -1
  19. package/dist/lib/model-roles.d.ts +0 -1
  20. package/dist/lib/model-roles.js +7 -4
  21. package/dist/lib/model-roles.js.map +1 -1
  22. package/dist/lib/opencode.d.ts +1 -8
  23. package/dist/lib/opencode.js +9 -19
  24. package/dist/lib/opencode.js.map +1 -1
  25. package/dist/lib/vvoc-config.d.ts +0 -28
  26. package/dist/lib/vvoc-config.js +21 -97
  27. package/dist/lib/vvoc-config.js.map +1 -1
  28. package/dist/lib/vvoc-paths.js +1 -1
  29. package/dist/lib/vvoc-paths.js.map +1 -1
  30. package/dist/lib/vvoc-preset-registry.d.ts +12 -3
  31. package/dist/lib/vvoc-preset-registry.js +11 -2
  32. package/dist/lib/vvoc-preset-registry.js.map +1 -1
  33. package/dist/plugins/hashline-edit/autocorrect-replacement-lines.js +4 -0
  34. package/dist/plugins/hashline-edit/autocorrect-replacement-lines.js.map +1 -1
  35. package/dist/plugins/hashline-edit/edit-operation-primitives.js +4 -0
  36. package/dist/plugins/hashline-edit/edit-operation-primitives.js.map +1 -1
  37. package/dist/plugins/hashline-edit/file-text-canonicalization.js +4 -0
  38. package/dist/plugins/hashline-edit/file-text-canonicalization.js.map +1 -1
  39. package/dist/plugins/hashline-edit/normalize-edits.js +4 -0
  40. package/dist/plugins/hashline-edit/normalize-edits.js.map +1 -1
  41. package/dist/plugins/hashline-edit/types.js +4 -0
  42. package/dist/plugins/hashline-edit/types.js.map +1 -1
  43. package/dist/plugins/secrets-redaction/config.js +2 -0
  44. package/dist/plugins/secrets-redaction/config.js.map +1 -1
  45. package/dist/plugins/secrets-redaction/deep.js +4 -0
  46. package/dist/plugins/secrets-redaction/deep.js.map +1 -1
  47. package/dist/plugins/secrets-redaction/engine.js +3 -0
  48. package/dist/plugins/secrets-redaction/engine.js.map +1 -1
  49. package/dist/plugins/secrets-redaction/index.js +4 -0
  50. package/dist/plugins/secrets-redaction/index.js.map +1 -1
  51. package/dist/plugins/secrets-redaction/patterns.js +8 -0
  52. package/dist/plugins/secrets-redaction/patterns.js.map +1 -1
  53. package/dist/plugins/secrets-redaction/restore.js +4 -0
  54. package/dist/plugins/secrets-redaction/restore.js.map +1 -1
  55. package/dist/plugins/secrets-redaction/session.js +8 -0
  56. package/dist/plugins/secrets-redaction/session.js.map +1 -1
  57. package/dist/plugins/secrets-redaction.js +4 -0
  58. package/dist/plugins/secrets-redaction.js.map +1 -1
  59. package/dist/plugins/system-context-injection/index.js +1 -1
  60. package/dist/plugins/system-context-injection/index.js.map +1 -1
  61. package/dist/plugins/workflow/index.js +1 -1
  62. package/dist/plugins/workflow/index.js.map +1 -1
  63. package/package.json +3 -8
  64. package/schemas/vvoc/v3.json +2 -13
  65. package/dist/plugins/memory/index.d.ts +0 -2
  66. package/dist/plugins/memory/index.js +0 -440
  67. package/dist/plugins/memory/index.js.map +0 -1
  68. package/dist/plugins/memory/system-instruction.md +0 -8
  69. package/dist/plugins/memory-store.d.ts +0 -51
  70. package/dist/plugins/memory-store.js +0 -461
  71. package/dist/plugins/memory-store.js.map +0 -1
  72. package/schemas/vvoc/v1.json +0 -94
  73. package/schemas/vvoc/v2.json +0 -124
  74. package/templates/agents/memory-reviewer.md +0 -40
@@ -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>