@wrongstack/core 0.6.5 → 0.6.6
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/dist/defaults/index.d.ts +2 -2
- package/dist/defaults/index.js +36 -0
- package/dist/defaults/index.js.map +1 -1
- package/dist/execution/index.d.ts +36 -2
- package/dist/execution/index.js +15 -0
- package/dist/execution/index.js.map +1 -1
- package/dist/{goal-store-_Er467ya.d.ts → goal-store-HHgaq5ue.d.ts} +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +39 -4
- package/dist/index.js.map +1 -1
- package/dist/sdd/index.d.ts +6 -1
- package/dist/sdd/index.js +21 -0
- package/dist/sdd/index.js.map +1 -1
- package/dist/storage/index.d.ts +1 -1
- package/dist/storage/index.js +2 -1
- package/dist/storage/index.js.map +1 -1
- package/dist/{task-graph-BITvWt4t.d.ts → task-graph-D1YQbpxF.d.ts} +1 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
- package/skills/sdd/SKILL.md +122 -106
package/dist/storage/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export { A as AbandonedSession, a as AttachmentStoreOptions, C as ConfigLoaderOp
|
|
|
2
2
|
export { D as DefaultSessionReader } from '../session-reader-B9nVkziM.js';
|
|
3
3
|
import { S as SessionRewinder, C as CheckpointInfo, a as RewindResultExtended } from '../session-rewinder-C9HnMkhP.js';
|
|
4
4
|
export { D as DirectorStateCheckpoint, a as DirectorStateSnapshot, b as DirectorSubagentState, c as DirectorTaskState, l as loadDirectorState } from '../director-state-BmYi3DGA.js';
|
|
5
|
-
export { G as GoalFile, J as JournalEntry, M as MAX_JOURNAL_ENTRIES, a as appendJournal, e as emptyGoal, f as formatGoal, g as goalFilePath, l as loadGoal, s as saveGoal, b as summarizeUsage } from '../goal-store-
|
|
5
|
+
export { G as GoalFile, J as JournalEntry, M as MAX_JOURNAL_ENTRIES, a as appendJournal, e as emptyGoal, f as formatGoal, g as goalFilePath, l as loadGoal, s as saveGoal, b as summarizeUsage } from '../goal-store-HHgaq5ue.js';
|
|
6
6
|
import '../events-CJqwQl8G.js';
|
|
7
7
|
import '../context-DN5v-uQX.js';
|
|
8
8
|
import '../memory-CEXuo7sz.js';
|
package/dist/storage/index.js
CHANGED
|
@@ -2624,7 +2624,8 @@ function formatGoal(goal, journalLimit = 10) {
|
|
|
2624
2624
|
lines.push(`Set: ${goal.setAt}`);
|
|
2625
2625
|
lines.push(`Last activity: ${goal.lastActivityAt}`);
|
|
2626
2626
|
lines.push(`Iterations: ${goal.iterations}`);
|
|
2627
|
-
|
|
2627
|
+
const stateLabel = goal.goalState ?? "active";
|
|
2628
|
+
lines.push(`State: ${stateLabel}${goal.iterations > 0 ? ` (iteration #${goal.iterations})` : ""}`);
|
|
2628
2629
|
lines.push(`Engine: ${goal.engineState}`);
|
|
2629
2630
|
const usage = summarizeUsage(goal);
|
|
2630
2631
|
if (usage.iterationsWithUsage > 0) {
|