kibi-agent-core 0.8.0 → 0.8.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.
- package/CHANGELOG.md +8 -0
- package/dist/decision-guard.js +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# kibi-agent-core
|
|
2
2
|
|
|
3
|
+
## 0.8.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f4c5822: After a migration, the `kb_apply_plan` digest of the remaining plan now says when an automatic action in it is blocked: it waits for the actions in its `dependsOn` and needs no approval until a later plan shows it ready. Before, a blocked automatic action looked like something left to approve. The Claude hook's firm-edit question no longer prints a double full stop after a requirement title that ends in one.
|
|
8
|
+
|
|
9
|
+
The digest's `next` text appends a count of blocked automatic actions when there are any. `firmEditConfirmation` in `kibi-agent-core/decision-guard` trims a trailing full stop from the named requirements before closing the sentence.
|
|
10
|
+
|
|
3
11
|
## 0.8.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
package/dist/decision-guard.js
CHANGED
|
@@ -52,7 +52,9 @@ export function firmEditConfirmation(where, requirements) {
|
|
|
52
52
|
? ` (+${requirements.length - shown.length} more)`
|
|
53
53
|
: "";
|
|
54
54
|
const noun = requirements.length === 1 ? "a firm requirement" : "firm requirements";
|
|
55
|
-
|
|
55
|
+
// A title that ends in a full stop would read "preference.. Allow".
|
|
56
|
+
const named = `${shown.join("; ")}${more}`.replace(/\.+$/, "");
|
|
57
|
+
return `Kibi: this edit changes ${where}, which implements ${noun} recorded in the knowledge base: ${named}. Allow it if the change keeps ${requirements.length === 1 ? "that requirement" : "them"}, or if you mean to change ${requirements.length === 1 ? "the requirement" : "them"} too.`;
|
|
56
58
|
}
|
|
57
59
|
// implements REQ-claude-firm-edit-confirmation
|
|
58
60
|
/** What the agent is told when its edit was put to the person. */
|