@wrongstack/core 0.302.2 → 0.303.0
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/README.md +1 -1
- package/dist/chronicle/index.js +117 -30
- package/dist/chronicle/project-server.js +12 -5
- package/dist/coordination/agents/index.js +4313 -3516
- package/dist/coordination/agents/project-agent-auto-optimize.d.ts +116 -0
- package/dist/coordination/agents/project-agent-capture-window.d.ts +29 -0
- package/dist/coordination/agents/project-agent-config-io.d.ts +11 -0
- package/dist/coordination/agents/project-agent-consolidation.d.ts +29 -2
- package/dist/coordination/agents/project-agent-files.d.ts +12 -3
- package/dist/coordination/agents/project-agent-identity-types.d.ts +4 -0
- package/dist/coordination/agents/project-agent-identity.d.ts +22 -9
- package/dist/coordination/agents/project-agent-learning-entries.d.ts +8 -2
- package/dist/coordination/agents/project-agent-learning-structured.d.ts +27 -1
- package/dist/coordination/agents/project-agent-optimizer.d.ts +49 -0
- package/dist/coordination/agents/project-agent-skill-layer.d.ts +101 -0
- package/dist/coordination/agents/role-skills.d.ts +11 -1
- package/dist/coordination/index.d.ts +1 -1
- package/dist/coordination/index.js +2322 -1526
- package/dist/coordination/mail-tools.d.ts +1 -1
- package/dist/core/context.d.ts +4 -0
- package/dist/core/index.js +9 -0
- package/dist/defaults/index.js +895 -597
- package/dist/execution/index.js +2915 -2621
- package/dist/goal/index.js +7 -0
- package/dist/index.js +2406 -1331
- package/dist/kernel/events/agent-events.d.ts +28 -0
- package/dist/plugin/index.js +10 -4
- package/dist/security/index.js +69 -3
- package/dist/security/kanban-boundary.d.ts +5 -1
- package/dist/session-catalog/index.js +24 -2
- package/dist/session-catalog/project-server.js +27 -4
- package/dist/session-catalog/protocol.d.ts +9 -0
- package/dist/session-catalog/store.d.ts +17 -1
- package/dist/storage/index.js +81 -2
- package/dist/storage/plan-store.d.ts +1 -1
- package/dist/tasking/index.js +5 -0
- package/dist/tools/index.js +2824 -2604
- package/dist/types/config/root.d.ts +11 -1
- package/dist/types/config/skills-fleet-brain.d.ts +34 -0
- package/dist/types/config/ui.d.ts +14 -0
- package/dist/types/config.d.ts +1 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +20 -0
- package/dist/types/multi-agent.d.ts +7 -0
- package/dist/types/task-graph.d.ts +2 -0
- package/dist/types/tool-executor.d.ts +2 -0
- package/dist/utils/index.js +3 -0
- package/instructions/system-lite.md +14 -8
- package/instructions/system-pro.md +17 -11
- package/instructions/system.md +17 -11
- package/package.json +3 -3
- package/skills/wrongstack-kanban/SKILL.md +39 -8
package/dist/goal/index.js
CHANGED
|
@@ -342,6 +342,11 @@ var TaskTracker = class _TaskTracker {
|
|
|
342
342
|
if (!this.graph) return false;
|
|
343
343
|
const node = this.graph.nodes.get(id);
|
|
344
344
|
if (!node) return false;
|
|
345
|
+
if (node.specRequirementId && this.graph.requiredRequirementIds?.includes(node.specRequirementId) && !Array.from(this.graph.nodes.values()).some(
|
|
346
|
+
(candidate) => candidate.id !== id && candidate.specRequirementId === node.specRequirementId
|
|
347
|
+
)) {
|
|
348
|
+
return false;
|
|
349
|
+
}
|
|
345
350
|
this.graph.nodes.delete(id);
|
|
346
351
|
this.graph.edges = this.graph.edges.filter((e) => e.from !== id && e.to !== id);
|
|
347
352
|
this.graph.rootNodes = this.graph.rootNodes.filter((r) => r !== id);
|
|
@@ -2667,6 +2672,7 @@ var PhaseStore = class {
|
|
|
2667
2672
|
return {
|
|
2668
2673
|
id: graph.id,
|
|
2669
2674
|
specId: graph.specId,
|
|
2675
|
+
requiredRequirementIds: graph.requiredRequirementIds,
|
|
2670
2676
|
title: graph.title,
|
|
2671
2677
|
nodes: Array.from(graph.nodes.values()).map((n) => this.serializeTaskNode(n)),
|
|
2672
2678
|
edges: graph.edges,
|
|
@@ -2735,6 +2741,7 @@ var PhaseStore = class {
|
|
|
2735
2741
|
return {
|
|
2736
2742
|
id: serialized.id,
|
|
2737
2743
|
specId: serialized.specId,
|
|
2744
|
+
requiredRequirementIds: serialized.requiredRequirementIds,
|
|
2738
2745
|
title: serialized.title,
|
|
2739
2746
|
nodes,
|
|
2740
2747
|
edges: serialized.edges ?? [],
|