@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
|
@@ -75,12 +75,12 @@ export declare function makeMailSendTool(opts?: MailToolsOptions): {
|
|
|
75
75
|
required: string[];
|
|
76
76
|
};
|
|
77
77
|
execute(input: unknown, ctx: Context): Promise<{
|
|
78
|
-
summary?: never;
|
|
79
78
|
ok: boolean;
|
|
80
79
|
error: string;
|
|
81
80
|
messageId?: never;
|
|
82
81
|
from?: never;
|
|
83
82
|
to?: never;
|
|
83
|
+
summary?: never;
|
|
84
84
|
} | {
|
|
85
85
|
error?: never;
|
|
86
86
|
ok: boolean;
|
package/dist/core/context.d.ts
CHANGED
|
@@ -17,6 +17,10 @@ export interface TodoItem {
|
|
|
17
17
|
promotedFromPlan?: string | undefined;
|
|
18
18
|
/** When promoted from a task, stores the task's id. */
|
|
19
19
|
promotedFromTask?: string | undefined;
|
|
20
|
+
/** Durable Kanban owner when the todo row is a UI projection of a real card. */
|
|
21
|
+
kanbanBoardId?: string | undefined;
|
|
22
|
+
/** Durable Kanban card represented by this todo row. */
|
|
23
|
+
kanbanTaskId?: string | undefined;
|
|
20
24
|
}
|
|
21
25
|
export interface RunOptions {
|
|
22
26
|
signal?: AbortSignal | undefined;
|
package/dist/core/index.js
CHANGED
|
@@ -5369,6 +5369,12 @@ var Context = class _Context {
|
|
|
5369
5369
|
setCurrentKanbanTask(taskId, boardId) {
|
|
5370
5370
|
this.currentKanbanTaskId = taskId;
|
|
5371
5371
|
this.currentKanbanBoardId = boardId;
|
|
5372
|
+
const existing = this.meta["kanban"] && typeof this.meta["kanban"] === "object" ? this.meta["kanban"] : {};
|
|
5373
|
+
this.state.setMeta("kanban", {
|
|
5374
|
+
...existing,
|
|
5375
|
+
...taskId ? { taskId } : { taskId: void 0 },
|
|
5376
|
+
...boardId ? { boardId } : { boardId: void 0 }
|
|
5377
|
+
});
|
|
5372
5378
|
}
|
|
5373
5379
|
/**
|
|
5374
5380
|
* Record a comprehensive file event for the audit trail.
|
|
@@ -7087,6 +7093,9 @@ ${text}` : text;
|
|
|
7087
7093
|
const responseProvider = providerBoundToRequest(req) ?? requestProvider;
|
|
7088
7094
|
const responseResult = await handlers.response.processResponse(res, req, responseProvider);
|
|
7089
7095
|
await refreshProviderContextLimit(responseProvider, req.model, { probe: false });
|
|
7096
|
+
if (responseResult.finalText) {
|
|
7097
|
+
a.ctx.meta["lastAgentOutput"] = responseResult.finalText;
|
|
7098
|
+
}
|
|
7090
7099
|
if (responseResult.aborted) {
|
|
7091
7100
|
return {
|
|
7092
7101
|
status: "aborted",
|