@makaio/framework 1.0.0-dev-1790175294701 → 1.0.0-dev-1790248497521
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/.makaio-build.json +2 -2
- package/dist/artifact-DF2UJsjP.mjs +1 -0
- package/dist/bus/index.mjs +1 -1
- package/dist/bus-DgpPEPoM.mjs +9 -0
- package/dist/contracts/adapter/index.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +2 -2
- package/dist/contracts/artifact/index.mjs +1 -1
- package/dist/contracts/capabilities/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +1 -1
- package/dist/contracts/extension/index.d.mts +2 -2
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +69 -69
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +3 -3
- package/dist/contracts/materialization/index.mjs +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/worker/index.d.mts +1 -1
- package/dist/contracts/worker/index.mjs +1 -1
- package/dist/contracts/workflow/index.d.mts +1 -1
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/{index-9O8N514B2.d.mts → index-6UlianLY2.d.mts} +4 -4
- package/dist/{index-CVRQS5jk.d.mts → index-BM53WQaQ.d.mts} +1 -1
- package/dist/{index-oE2q0pTG.d.mts → index-BZQ3OviE.d.mts} +1 -1
- package/dist/{index-Csua5M_M2.d.mts → index-Bmb7jPIe2.d.mts} +8 -8
- package/dist/{index-BusmMFMN.d.mts → index-Bon00c4i.d.mts} +48 -11
- package/dist/{index-7pt_bh4z.d.mts → index-BrMihjbI.d.mts} +68 -68
- package/dist/{index-DWKSiTxX.d.mts → index-C4VB63lu.d.mts} +18 -18
- package/dist/{index-Bgz81LHZ.d.mts → index-CEX9qfLa.d.mts} +1 -1
- package/dist/{index-DxtUM-qd.d.mts → index-CLwnkYRD.d.mts} +1 -1
- package/dist/{index-BMr77str2.d.mts → index-CydQ1dLS2.d.mts} +12 -12
- package/dist/{index-BgkQiruC.d.mts → index-D5BLD2Pw.d.mts} +7 -7
- package/dist/{index-B1iXL1pW.d.mts → index-D5Lw1UsO.d.mts} +8 -8
- package/dist/{index-Cu8k2ZGe.d.mts → index-DJLRXASA.d.mts} +24 -24
- package/dist/{index-D8V1DhrY.d.mts → index-Dcwee5Cl.d.mts} +90 -14
- package/dist/{index-DIEnLLhi2.d.mts → index-LCumcYK12.d.mts} +37 -37
- package/dist/{index-Mk478DlF.d.mts → index-QgSmUedN.d.mts} +4 -4
- package/dist/{index-BVN64wQx.d.mts → index-rkN_9bde.d.mts} +24 -24
- package/dist/kernel/extension/index.d.mts +2 -2
- package/dist/kernel/index.d.mts +2 -2
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/{materialization-iFhpbs1s.mjs → materialization-CIrHHspa.mjs} +4 -1
- package/dist/{namespace-Bz0ZDWhE.d.mts → namespace-BEi98VfQ.d.mts} +18 -18
- package/dist/{namespace-B9iQN3FQ.d.mts → namespace-C5tKjqgb.d.mts} +4 -4
- package/dist/{namespace-h7gq_v5U.d.mts → namespace-CHSwZhH7.d.mts} +2 -2
- package/dist/{namespace-DAzOxaux.d.mts → namespace-D6W4Erwp.d.mts} +2 -2
- package/dist/{namespace-C1-ZAKEG.d.mts → namespace-D8oTiLLo.d.mts} +6 -6
- package/dist/package.json +1 -1
- package/dist/{schemas-BTJvvq9Y.d.mts → schemas-BXkSHQaF.d.mts} +2 -2
- package/dist/{schemas-CBDNnyz4.d.mts → schemas-Cb9OJ9va.d.mts} +1 -1
- package/dist/{schemas-Dec5VtBU.d.mts → schemas-CrOeGZHg.d.mts} +10 -10
- package/dist/{schemas-Dyp3rHZ7.d.mts → schemas-__oTCzF6.d.mts} +4 -4
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- package/dist/services/adapter-runtime/namespace.d.mts +1 -1
- package/dist/services/adapter-runtime/schemas.d.mts +1 -1
- package/dist/services/adapter-subsystem/index.d.mts +2 -2
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/execution-target/index.d.mts +2 -2
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/index.d.mts +32 -28
- package/dist/services/index.mjs +1 -1
- package/dist/services/provider-context/index.d.mts +1 -1
- package/dist/services/session/handlers/index.d.mts +1 -1
- package/dist/services/session/index.d.mts +5 -5
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/settings/namespace.d.mts +10 -10
- package/dist/services/subagent-template/index.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/{types-DTpwvvY9.d.mts → types-BP_P1izV.d.mts} +15 -15
- package/dist/{view-builder-cjQZJmTY.d.mts → view-builder-2cR7vI7R.d.mts} +10 -10
- package/dist/{worker-B72n8bse.mjs → worker-YKEWHrx5.mjs} +1 -1
- package/dist/{workflow-D-X3rPsl.mjs → workflow-01evBylF.mjs} +1 -1
- package/dist/workflow-engine/index.d.mts +9 -9
- package/package.json +1 -1
- package/dist/artifact-CKz9YQPu.mjs +0 -1
- package/dist/bus-30AlabEz.mjs +0 -9
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { D as ArtifactViewModel$1 } from "./view-builder-2cR7vI7R.mjs";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
3
4
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
@@ -18,8 +19,8 @@ import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
|
18
19
|
declare const ArtifactViewResolveRequestSchema$1: z.ZodObject<{
|
|
19
20
|
level: z.ZodEnum<{
|
|
20
21
|
link: "link";
|
|
21
|
-
full: "full";
|
|
22
22
|
summary: "summary";
|
|
23
|
+
full: "full";
|
|
23
24
|
}>;
|
|
24
25
|
params: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
25
26
|
ref: z.ZodObject<{
|
|
@@ -197,8 +198,8 @@ declare const MaterializationSchemas: {
|
|
|
197
198
|
template: z.ZodString;
|
|
198
199
|
}, z.core.$strip>], "kind">;
|
|
199
200
|
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
200
|
-
workpiece: "workpiece";
|
|
201
201
|
artifact: "artifact";
|
|
202
|
+
workpiece: "workpiece";
|
|
202
203
|
surface: "surface";
|
|
203
204
|
}>>;
|
|
204
205
|
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -239,8 +240,8 @@ declare const MaterializationSchemas: {
|
|
|
239
240
|
template: z.ZodString;
|
|
240
241
|
}, z.core.$strip>], "kind">;
|
|
241
242
|
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
242
|
-
workpiece: "workpiece";
|
|
243
243
|
artifact: "artifact";
|
|
244
|
+
workpiece: "workpiece";
|
|
244
245
|
surface: "surface";
|
|
245
246
|
}>>;
|
|
246
247
|
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -283,8 +284,8 @@ declare const MaterializationSchemas: {
|
|
|
283
284
|
request: z.ZodObject<{
|
|
284
285
|
level: z.ZodEnum<{
|
|
285
286
|
link: "link";
|
|
286
|
-
full: "full";
|
|
287
287
|
summary: "summary";
|
|
288
|
+
full: "full";
|
|
288
289
|
}>;
|
|
289
290
|
params: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
290
291
|
ref: z.ZodObject<{
|
|
@@ -439,8 +440,8 @@ declare const MaterializationNamespace: _$_makaio_core0.BusNamespaceDefinition<"
|
|
|
439
440
|
template: z.ZodString;
|
|
440
441
|
}, z.core.$strip>], "kind">;
|
|
441
442
|
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
442
|
-
workpiece: "workpiece";
|
|
443
443
|
artifact: "artifact";
|
|
444
|
+
workpiece: "workpiece";
|
|
444
445
|
surface: "surface";
|
|
445
446
|
}>>;
|
|
446
447
|
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -481,8 +482,8 @@ declare const MaterializationNamespace: _$_makaio_core0.BusNamespaceDefinition<"
|
|
|
481
482
|
template: z.ZodString;
|
|
482
483
|
}, z.core.$strip>], "kind">;
|
|
483
484
|
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
484
|
-
workpiece: "workpiece";
|
|
485
485
|
artifact: "artifact";
|
|
486
|
+
workpiece: "workpiece";
|
|
486
487
|
surface: "surface";
|
|
487
488
|
}>>;
|
|
488
489
|
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -525,8 +526,8 @@ declare const MaterializationNamespace: _$_makaio_core0.BusNamespaceDefinition<"
|
|
|
525
526
|
request: z.ZodObject<{
|
|
526
527
|
level: z.ZodEnum<{
|
|
527
528
|
link: "link";
|
|
528
|
-
full: "full";
|
|
529
529
|
summary: "summary";
|
|
530
|
+
full: "full";
|
|
530
531
|
}>;
|
|
531
532
|
params: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
532
533
|
ref: z.ZodObject<{
|
|
@@ -693,8 +694,8 @@ declare const MaterializationSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_c
|
|
|
693
694
|
template: z.ZodString;
|
|
694
695
|
}, z.core.$strip>], "kind">;
|
|
695
696
|
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
696
|
-
workpiece: "workpiece";
|
|
697
697
|
artifact: "artifact";
|
|
698
|
+
workpiece: "workpiece";
|
|
698
699
|
surface: "surface";
|
|
699
700
|
}>>;
|
|
700
701
|
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -735,8 +736,8 @@ declare const MaterializationSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_c
|
|
|
735
736
|
template: z.ZodString;
|
|
736
737
|
}, z.core.$strip>], "kind">;
|
|
737
738
|
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
738
|
-
workpiece: "workpiece";
|
|
739
739
|
artifact: "artifact";
|
|
740
|
+
workpiece: "workpiece";
|
|
740
741
|
surface: "surface";
|
|
741
742
|
}>>;
|
|
742
743
|
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -779,8 +780,8 @@ declare const MaterializationSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_c
|
|
|
779
780
|
request: z.ZodObject<{
|
|
780
781
|
level: z.ZodEnum<{
|
|
781
782
|
link: "link";
|
|
782
|
-
full: "full";
|
|
783
783
|
summary: "summary";
|
|
784
|
+
full: "full";
|
|
784
785
|
}>;
|
|
785
786
|
params: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
786
787
|
ref: z.ZodObject<{
|
|
@@ -914,4 +915,40 @@ type MaterializationRefChangedPayload = z.infer<(typeof MaterializationSchemas)[
|
|
|
914
915
|
/** Payload for the materialization capability resolved event. */
|
|
915
916
|
type MaterializationCapabilityResolvedPayload = z.infer<(typeof MaterializationSchemas)['capability.resolved']>;
|
|
916
917
|
//#endregion
|
|
917
|
-
|
|
918
|
+
//#region core/contracts/src/materialization/artifact-view-markdown.d.ts
|
|
919
|
+
/**
|
|
920
|
+
* Monotonically increasing renderer version.
|
|
921
|
+
*
|
|
922
|
+
* Bump this when the Markdown output format changes so that surfaces which
|
|
923
|
+
* fingerprint rendered output can detect the need to re-render.
|
|
924
|
+
*/
|
|
925
|
+
declare const ARTIFACT_VIEW_MARKDOWN_RENDERER_VERSION = 8;
|
|
926
|
+
/**
|
|
927
|
+
* Options for {@link renderArtifactViewMarkdown}.
|
|
928
|
+
*/
|
|
929
|
+
interface ArtifactViewMarkdownOptions {
|
|
930
|
+
/**
|
|
931
|
+
* Whether to emit the view title as a leading level-2 heading.
|
|
932
|
+
*
|
|
933
|
+
* Surfaces that already display the title outside the body (for example a
|
|
934
|
+
* page title) pass `false` to avoid a duplicated heading. Defaults to `true`.
|
|
935
|
+
*/
|
|
936
|
+
readonly includeTitle?: boolean;
|
|
937
|
+
}
|
|
938
|
+
/**
|
|
939
|
+
* Render an artifact view model as GitHub-flavored Markdown.
|
|
940
|
+
*
|
|
941
|
+
* The renderer is pure and deterministic: identical view models always produce
|
|
942
|
+
* identical Markdown output. It never inspects Artifact data or provider
|
|
943
|
+
* planning — only the validated {@link ArtifactViewModel} is consumed.
|
|
944
|
+
*
|
|
945
|
+
* Section variants are dispatched by their `type` discriminant. Fenced code
|
|
946
|
+
* blocks dynamically extend the fence length when the content itself contains
|
|
947
|
+
* backtick runs.
|
|
948
|
+
* @param view - Validated artifact view model.
|
|
949
|
+
* @param options - Rendering options; see {@link ArtifactViewMarkdownOptions}.
|
|
950
|
+
* @returns Complete Markdown document.
|
|
951
|
+
*/
|
|
952
|
+
declare function renderArtifactViewMarkdown(view: ArtifactViewModel$1, options?: ArtifactViewMarkdownOptions): string;
|
|
953
|
+
//#endregion
|
|
954
|
+
export { SurfaceBindingRegisterResponse as _, ArtifactViewResolveRequestSchema$1 as a, MaterializationCapabilityResolvedPayload as c, MaterializationSchemas as d, MaterializationSubjects$1 as f, SurfaceBindingRegisterRequest as g, SurfaceBindingListResponse as h, ArtifactViewResolveRequest as i, MaterializationNamespace as l, SurfaceBindingListRequest as m, ArtifactViewMarkdownOptions as n, ArtifactViewResolveResponse as o, SurfaceBindingChangedPayload as p, renderArtifactViewMarkdown as r, ArtifactViewResolveResponseSchema as s, ARTIFACT_VIEW_MARKDOWN_RENDERER_VERSION as t, MaterializationRefChangedPayload as u };
|