@exaudeus/workrail 3.24.4 → 3.26.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/dist/cli/commands/index.d.ts +6 -0
- package/dist/cli/commands/index.js +14 -1
- package/dist/cli/commands/version.d.ts +6 -0
- package/dist/cli/commands/version.js +14 -0
- package/dist/cli/commands/worktrain-await.d.ts +35 -0
- package/dist/cli/commands/worktrain-await.js +207 -0
- package/dist/cli/commands/worktrain-inbox.d.ts +23 -0
- package/dist/cli/commands/worktrain-inbox.js +82 -0
- package/dist/cli/commands/worktrain-init.d.ts +23 -0
- package/dist/cli/commands/worktrain-init.js +338 -0
- package/dist/cli/commands/worktrain-spawn.d.ts +28 -0
- package/dist/cli/commands/worktrain-spawn.js +106 -0
- package/dist/cli/commands/worktrain-tell.d.ts +25 -0
- package/dist/cli/commands/worktrain-tell.js +32 -0
- package/dist/cli-worktrain.d.ts +2 -0
- package/dist/cli-worktrain.js +169 -0
- package/dist/cli.js +100 -0
- package/dist/config/config-file.d.ts +2 -0
- package/dist/config/config-file.js +55 -0
- package/dist/console/assets/index-8dh0Psu-.css +1 -0
- package/dist/console/assets/{index-TMfptYpQ.js → index-HhtarvD5.js} +10 -10
- package/dist/console/index.html +2 -2
- package/dist/daemon/agent-loop.d.ts +90 -0
- package/dist/daemon/agent-loop.js +214 -0
- package/dist/daemon/pi-mono-loader.d.ts +0 -0
- package/dist/daemon/pi-mono-loader.js +1 -0
- package/dist/daemon/soul-template.d.ts +2 -0
- package/dist/daemon/soul-template.js +22 -0
- package/dist/daemon/workflow-runner.d.ts +63 -0
- package/dist/daemon/workflow-runner.js +689 -0
- package/dist/infrastructure/session/HttpServer.js +2 -2
- package/dist/manifest.json +226 -50
- package/dist/mcp/handlers/v2-execution/start.d.ts +2 -1
- package/dist/mcp/handlers/v2-execution/start.js +4 -3
- package/dist/mcp/output-schemas.d.ts +154 -154
- package/dist/mcp/server.js +1 -1
- package/dist/mcp/transports/bridge-entry.js +20 -2
- package/dist/mcp/transports/bridge-events.d.ts +34 -0
- package/dist/mcp/transports/bridge-events.js +24 -0
- package/dist/mcp/transports/fatal-exit.d.ts +5 -0
- package/dist/mcp/transports/fatal-exit.js +82 -0
- package/dist/mcp/transports/http-entry.js +3 -0
- package/dist/mcp/transports/stdio-entry.js +3 -7
- package/dist/mcp/v2/tools.d.ts +7 -7
- package/dist/trigger/delivery-action.d.ts +37 -0
- package/dist/trigger/delivery-action.js +204 -0
- package/dist/trigger/delivery-client.d.ts +11 -0
- package/dist/trigger/delivery-client.js +27 -0
- package/dist/trigger/index.d.ts +5 -0
- package/dist/trigger/index.js +8 -0
- package/dist/trigger/trigger-listener.d.ts +32 -0
- package/dist/trigger/trigger-listener.js +176 -0
- package/dist/trigger/trigger-router.d.ts +38 -0
- package/dist/trigger/trigger-router.js +343 -0
- package/dist/trigger/trigger-store.d.ts +39 -0
- package/dist/trigger/trigger-store.js +698 -0
- package/dist/trigger/types.d.ts +70 -0
- package/dist/trigger/types.js +10 -0
- package/dist/v2/durable-core/schemas/execution-snapshot/blocked-snapshot.d.ts +22 -22
- package/dist/v2/durable-core/schemas/execution-snapshot/execution-snapshot.v1.d.ts +114 -114
- package/dist/v2/durable-core/schemas/export-bundle/index.d.ts +454 -454
- package/dist/v2/durable-core/schemas/session/blockers.d.ts +14 -14
- package/dist/v2/durable-core/schemas/session/events.d.ts +93 -93
- package/dist/v2/durable-core/schemas/session/gaps.d.ts +2 -2
- package/dist/v2/durable-core/schemas/session/validation-event.d.ts +4 -4
- package/dist/v2/infra/in-memory/daemon-registry/index.d.ts +14 -0
- package/dist/v2/infra/in-memory/daemon-registry/index.js +32 -0
- package/dist/v2/infra/in-memory/keyed-async-queue/index.d.ts +5 -0
- package/dist/v2/infra/in-memory/keyed-async-queue/index.js +32 -0
- package/dist/v2/usecases/console-routes.d.ts +3 -1
- package/dist/v2/usecases/console-routes.js +132 -1
- package/dist/v2/usecases/console-service.d.ts +2 -0
- package/dist/v2/usecases/console-service.js +18 -2
- package/dist/v2/usecases/console-types.d.ts +2 -0
- package/package.json +6 -2
- package/spec/workflow-tags.json +1 -0
- package/workflows/classify-task-workflow.json +68 -0
- package/workflows/coding-task-workflow-agentic.lean.v2.json +43 -13
- package/workflows/workflow-for-workflows.json +4 -2
- package/workflows/workflow-for-workflows.v2.json +4 -2
- package/dist/console/assets/index-BXRk3te_.css +0 -1
- package/workflows/rich-object-contribution.json +0 -258
|
@@ -4,11 +4,11 @@ export declare const BlockerPointerSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
4
4
|
kind: z.ZodLiteral<"context_key">;
|
|
5
5
|
key: z.ZodString;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
key: string;
|
|
8
7
|
kind: "context_key";
|
|
9
|
-
}, {
|
|
10
8
|
key: string;
|
|
9
|
+
}, {
|
|
11
10
|
kind: "context_key";
|
|
11
|
+
key: string;
|
|
12
12
|
}>, z.ZodObject<{
|
|
13
13
|
kind: z.ZodLiteral<"context_budget">;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -49,11 +49,11 @@ export declare const BlockerSchema: z.ZodObject<{
|
|
|
49
49
|
kind: z.ZodLiteral<"context_key">;
|
|
50
50
|
key: z.ZodString;
|
|
51
51
|
}, "strip", z.ZodTypeAny, {
|
|
52
|
-
key: string;
|
|
53
52
|
kind: "context_key";
|
|
54
|
-
}, {
|
|
55
53
|
key: string;
|
|
54
|
+
}, {
|
|
56
55
|
kind: "context_key";
|
|
56
|
+
key: string;
|
|
57
57
|
}>, z.ZodObject<{
|
|
58
58
|
kind: z.ZodLiteral<"context_budget">;
|
|
59
59
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -94,8 +94,8 @@ export declare const BlockerSchema: z.ZodObject<{
|
|
|
94
94
|
message: string;
|
|
95
95
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
96
96
|
pointer: {
|
|
97
|
-
key: string;
|
|
98
97
|
kind: "context_key";
|
|
98
|
+
key: string;
|
|
99
99
|
} | {
|
|
100
100
|
kind: "context_budget";
|
|
101
101
|
} | {
|
|
@@ -113,8 +113,8 @@ export declare const BlockerSchema: z.ZodObject<{
|
|
|
113
113
|
message: string;
|
|
114
114
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
115
115
|
pointer: {
|
|
116
|
-
key: string;
|
|
117
116
|
kind: "context_key";
|
|
117
|
+
key: string;
|
|
118
118
|
} | {
|
|
119
119
|
kind: "context_budget";
|
|
120
120
|
} | {
|
|
@@ -136,11 +136,11 @@ export declare const BlockerReportV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
136
136
|
kind: z.ZodLiteral<"context_key">;
|
|
137
137
|
key: z.ZodString;
|
|
138
138
|
}, "strip", z.ZodTypeAny, {
|
|
139
|
-
key: string;
|
|
140
139
|
kind: "context_key";
|
|
141
|
-
}, {
|
|
142
140
|
key: string;
|
|
141
|
+
}, {
|
|
143
142
|
kind: "context_key";
|
|
143
|
+
key: string;
|
|
144
144
|
}>, z.ZodObject<{
|
|
145
145
|
kind: z.ZodLiteral<"context_budget">;
|
|
146
146
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -181,8 +181,8 @@ export declare const BlockerReportV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
181
181
|
message: string;
|
|
182
182
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
183
183
|
pointer: {
|
|
184
|
-
key: string;
|
|
185
184
|
kind: "context_key";
|
|
185
|
+
key: string;
|
|
186
186
|
} | {
|
|
187
187
|
kind: "context_budget";
|
|
188
188
|
} | {
|
|
@@ -200,8 +200,8 @@ export declare const BlockerReportV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
200
200
|
message: string;
|
|
201
201
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
202
202
|
pointer: {
|
|
203
|
-
key: string;
|
|
204
203
|
kind: "context_key";
|
|
204
|
+
key: string;
|
|
205
205
|
} | {
|
|
206
206
|
kind: "context_budget";
|
|
207
207
|
} | {
|
|
@@ -221,8 +221,8 @@ export declare const BlockerReportV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
221
221
|
message: string;
|
|
222
222
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
223
223
|
pointer: {
|
|
224
|
-
key: string;
|
|
225
224
|
kind: "context_key";
|
|
225
|
+
key: string;
|
|
226
226
|
} | {
|
|
227
227
|
kind: "context_budget";
|
|
228
228
|
} | {
|
|
@@ -242,8 +242,8 @@ export declare const BlockerReportV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
242
242
|
message: string;
|
|
243
243
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
244
244
|
pointer: {
|
|
245
|
-
key: string;
|
|
246
245
|
kind: "context_key";
|
|
246
|
+
key: string;
|
|
247
247
|
} | {
|
|
248
248
|
kind: "context_budget";
|
|
249
249
|
} | {
|
|
@@ -263,8 +263,8 @@ export declare const BlockerReportV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
263
263
|
message: string;
|
|
264
264
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
265
265
|
pointer: {
|
|
266
|
-
key: string;
|
|
267
266
|
kind: "context_key";
|
|
267
|
+
key: string;
|
|
268
268
|
} | {
|
|
269
269
|
kind: "context_budget";
|
|
270
270
|
} | {
|
|
@@ -284,8 +284,8 @@ export declare const BlockerReportV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
284
284
|
message: string;
|
|
285
285
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
286
286
|
pointer: {
|
|
287
|
-
key: string;
|
|
288
287
|
kind: "context_key";
|
|
288
|
+
key: string;
|
|
289
289
|
} | {
|
|
290
290
|
kind: "context_budget";
|
|
291
291
|
} | {
|