@exaudeus/workrail 3.16.0 → 3.17.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/application/use-cases/raw-workflow-file-scanner.js +10 -13
- package/dist/cli/commands/index.d.ts +1 -1
- package/dist/cli/commands/index.js +2 -1
- package/dist/cli/commands/init.d.ts +10 -0
- package/dist/cli/commands/init.js +72 -0
- package/dist/cli.js +13 -1
- package/dist/config/config-file.d.ts +8 -0
- package/dist/config/config-file.js +141 -0
- package/dist/config/feature-flags.js +8 -0
- package/dist/console/assets/index-BwJelCXK.js +28 -0
- package/dist/console/index.html +1 -1
- package/dist/di/container.d.ts +1 -0
- package/dist/di/container.js +24 -7
- package/dist/infrastructure/session/HttpServer.d.ts +0 -1
- package/dist/infrastructure/session/HttpServer.js +4 -46
- package/dist/manifest.json +101 -109
- package/dist/mcp/assert-output.js +2 -1
- package/dist/mcp/dev-mode.d.ts +1 -0
- package/dist/mcp/dev-mode.js +12 -0
- package/dist/mcp/handler-factory.d.ts +1 -1
- package/dist/mcp/handler-factory.js +8 -7
- package/dist/mcp/handlers/shared/request-workflow-reader.d.ts +1 -0
- package/dist/mcp/handlers/shared/request-workflow-reader.js +90 -20
- package/dist/mcp/handlers/v2-execution/continue-advance.d.ts +1 -0
- package/dist/mcp/handlers/v2-execution/continue-advance.js +3 -1
- package/dist/mcp/handlers/v2-execution/continue-rehydrate.d.ts +1 -0
- package/dist/mcp/handlers/v2-execution/continue-rehydrate.js +2 -1
- package/dist/mcp/handlers/v2-execution/index.js +2 -0
- package/dist/mcp/handlers/v2-execution/replay.d.ts +2 -0
- package/dist/mcp/handlers/v2-execution/replay.js +3 -0
- package/dist/mcp/handlers/v2-execution/start.js +48 -20
- package/dist/mcp/handlers/v2-workflow.js +4 -2
- package/dist/mcp/output-schemas.d.ts +5 -0
- package/dist/mcp/output-schemas.js +2 -0
- package/dist/mcp/server.js +3 -2
- package/dist/mcp/v2-response-formatter.d.ts +1 -1
- package/dist/mcp/v2-response-formatter.js +2 -3
- package/dist/types/workflow-definition.d.ts +3 -1
- package/dist/types/workflow-definition.js +2 -0
- package/dist/v2/durable-core/domain/prompt-renderer.d.ts +1 -0
- package/dist/v2/durable-core/domain/prompt-renderer.js +1 -2
- package/dist/v2/durable-core/schemas/compiled-workflow/index.js +4 -3
- package/dist/v2/infra/local/pinned-workflow-store/index.d.ts +2 -0
- package/dist/v2/infra/local/pinned-workflow-store/index.js +49 -0
- package/dist/v2/infra/local/remembered-roots-store/index.d.ts +3 -1
- package/dist/v2/infra/local/remembered-roots-store/index.js +6 -3
- package/dist/v2/infra/local/workspace-anchor/index.js +4 -2
- package/dist/v2/ports/pinned-workflow-store.port.d.ts +2 -0
- package/dist/v2/usecases/console-routes.js +3 -2
- package/package.json +1 -1
- package/dist/console/assets/index-BE5PAgPO.js +0 -28
- package/dist/env-flags.d.ts +0 -1
- package/dist/env-flags.js +0 -4
- package/dist/mcp/handlers/v2-resolve-refs-envelope.d.ts +0 -5
- package/dist/mcp/handlers/v2-resolve-refs-envelope.js +0 -17
package/dist/env-flags.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const CLEAN_RESPONSE_FORMAT: boolean;
|
package/dist/env-flags.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ResultAsync as RA } from 'neverthrow';
|
|
2
|
-
import type { WorkflowReference } from '../../types/workflow-definition.js';
|
|
3
|
-
import type { StepMetadata } from '../../v2/durable-core/domain/prompt-renderer.js';
|
|
4
|
-
import { type StepContentEnvelope } from '../step-content-envelope.js';
|
|
5
|
-
export declare function resolveRefsAndBuildEnvelope<E>(meta: StepMetadata, workflowRefs: readonly WorkflowReference[], workspacePath: string, toError: () => E): RA<StepContentEnvelope, E>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveRefsAndBuildEnvelope = resolveRefsAndBuildEnvelope;
|
|
4
|
-
const neverthrow_1 = require("neverthrow");
|
|
5
|
-
const v2_reference_resolver_js_1 = require("./v2-reference-resolver.js");
|
|
6
|
-
const step_content_envelope_js_1 = require("../step-content-envelope.js");
|
|
7
|
-
function resolveRefsAndBuildEnvelope(meta, workflowRefs, workspacePath, toError) {
|
|
8
|
-
return neverthrow_1.ResultAsync.fromPromise((0, v2_reference_resolver_js_1.resolveWorkflowReferences)(workflowRefs, workspacePath), toError).andThen((refResult) => {
|
|
9
|
-
for (const warning of refResult.warnings) {
|
|
10
|
-
console.warn(`[workrail:reference-resolution] ${warning.message}`);
|
|
11
|
-
}
|
|
12
|
-
return (0, neverthrow_1.okAsync)((0, step_content_envelope_js_1.buildStepContentEnvelope)({
|
|
13
|
-
meta,
|
|
14
|
-
references: refResult.resolved,
|
|
15
|
-
}));
|
|
16
|
-
});
|
|
17
|
-
}
|