opencode-codegraph 0.1.32 → 0.1.33
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/CHANGELOG.md +4 -0
- package/README.md +1 -0
- package/package.json +1 -1
- package/src/util.ts +10 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.33 - 2026-03-21
|
|
4
|
+
|
|
5
|
+
- expose workflow policy transparency in plugin summaries via `policy_version` and `priority_reason`
|
|
6
|
+
|
|
3
7
|
## 0.1.32 - 2026-03-21
|
|
4
8
|
|
|
5
9
|
- align workflow-update blocks with the same closure-oriented framing used by other status-oriented surfaces
|
package/README.md
CHANGED
package/package.json
CHANGED
package/src/util.ts
CHANGED
|
@@ -46,6 +46,8 @@ export type DogfoodStatusSnapshot = {
|
|
|
46
46
|
}
|
|
47
47
|
review_trace?: ReviewTraceSnapshot | null
|
|
48
48
|
workflow_state?: string
|
|
49
|
+
policy_version?: string
|
|
50
|
+
priority_reason?: string
|
|
49
51
|
recommended_next_action?: string
|
|
50
52
|
recommended_command?: string
|
|
51
53
|
primary_issue?: string
|
|
@@ -61,6 +63,8 @@ export type DogfoodStatusSnapshot = {
|
|
|
61
63
|
|
|
62
64
|
function workflowSummaryLines(snapshot: DogfoodStatusSnapshot): string[] {
|
|
63
65
|
const workflowState = snapshot.workflow_state
|
|
66
|
+
const policyVersion = snapshot.policy_version
|
|
67
|
+
const priorityReason = snapshot.priority_reason
|
|
64
68
|
const nextAction = snapshot.recommended_next_action
|
|
65
69
|
const nextCommand = snapshot.recommended_command
|
|
66
70
|
const primaryIssue = snapshot.primary_issue
|
|
@@ -77,6 +81,12 @@ function workflowSummaryLines(snapshot: DogfoodStatusSnapshot): string[] {
|
|
|
77
81
|
if (workflowState) {
|
|
78
82
|
lines.push(`- Workflow state: ${workflowState}`)
|
|
79
83
|
}
|
|
84
|
+
if (policyVersion) {
|
|
85
|
+
lines.push(`- Policy version: ${policyVersion}`)
|
|
86
|
+
}
|
|
87
|
+
if (priorityReason) {
|
|
88
|
+
lines.push(`- Priority reason: ${priorityReason}`)
|
|
89
|
+
}
|
|
80
90
|
if (nextAction) {
|
|
81
91
|
lines.push(`- Next action: ${nextAction}`)
|
|
82
92
|
}
|