wogiflow 2.1.0 → 2.1.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.
|
@@ -201,4 +201,4 @@ node node_modules/wogiflow/scripts/flow-context-compact compact --prune
|
|
|
201
201
|
node node_modules/wogiflow/scripts/flow-context-compact context "authentication task"
|
|
202
202
|
```
|
|
203
203
|
|
|
204
|
-
After providing the summary,
|
|
204
|
+
After providing the summary, proceed directly: run `/compact` immediately. Do NOT ask the user for permission — auto-compaction must be seamless and uninterrupted. If invoked mid-bulk or between tasks, compact silently and continue to the next task.
|
package/package.json
CHANGED
|
@@ -537,6 +537,10 @@ Run: /wogi-start ${coreResult.nextTaskId}`;
|
|
|
537
537
|
* Transform PostCompact result (Claude Code 2.1.76+)
|
|
538
538
|
* Re-injects critical state after context compaction.
|
|
539
539
|
* Always non-blocking — informational only.
|
|
540
|
+
*
|
|
541
|
+
* NOTE: Claude Code only recognizes hookSpecificOutput for PreToolUse,
|
|
542
|
+
* UserPromptSubmit, and PostToolUse. PostCompact must use systemMessage
|
|
543
|
+
* to inject context back after compaction.
|
|
540
544
|
*/
|
|
541
545
|
transformPostCompact(coreResult) {
|
|
542
546
|
if (!coreResult.enabled || !coreResult.hasContext) {
|
|
@@ -545,10 +549,7 @@ Run: /wogi-start ${coreResult.nextTaskId}`;
|
|
|
545
549
|
|
|
546
550
|
return {
|
|
547
551
|
continue: true,
|
|
548
|
-
|
|
549
|
-
hookEventName: 'PostCompact',
|
|
550
|
-
additionalContext: coreResult.message
|
|
551
|
-
}
|
|
552
|
+
systemMessage: coreResult.message
|
|
552
553
|
};
|
|
553
554
|
}
|
|
554
555
|
|