@makaio/framework 1.0.0-dev-1790772200584 → 1.0.0-dev-1791396836202
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-BbNQHNDL.mjs +1 -0
- package/dist/bus/index.d.mts +39 -9
- package/dist/bus/index.mjs +1 -1
- package/dist/{bus--m38BS3i.mjs → bus-CtT6XeB_.mjs} +4 -4
- package/dist/contracts/artifact/index.d.mts +3 -3
- 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/index.d.mts +32 -32
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +2 -2
- package/dist/contracts/materialization/index.mjs +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/worker/index.d.mts +1 -1
- package/dist/contracts/worker/index.mjs +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/fast-connection-FG3yAA7o.mjs +1 -0
- package/dist/{framework-packages-blqho6Nk.mjs → framework-packages-CdpSqDeo.mjs} +1 -1
- package/dist/inbound-hooks/fast-connection.d.mts +1 -1
- package/dist/inbound-hooks/fast-connection.mjs +1 -1
- package/dist/inbound-hooks/index.mjs +1 -1
- package/dist/{index-CBzHX2vt.d.mts → index-BXaNt9GP.d.mts} +1 -1
- package/dist/{index-21Tx9_N1.d.mts → index-CgcMrxhm.d.mts} +24 -24
- package/dist/{index-Dj60LBqi2.d.mts → index-ChwEMUbc2.d.mts} +3 -3
- package/dist/{index-DeSmhDs9.d.mts → index-CjM6Fi-N.d.mts} +1 -1
- package/dist/{index-v1-To1jx.d.mts → index-D5eIy_qx.d.mts} +4 -4
- package/dist/{index-CMmUS-p2.d.mts → index-DBkmFhrn.d.mts} +160 -38
- package/dist/{index-DulipRwg.d.mts → index-DnsMV2xK.d.mts} +10 -10
- package/dist/{index-vARKBSt9.d.mts → index-Rd9Teoza.d.mts} +16 -16
- package/dist/{index-Bxm5RUGG2.d.mts → index-chwNKVMu2.d.mts} +33 -33
- package/dist/{index-BPoX2Q9Z.d.mts → index-y6zuCdvH.d.mts} +58 -58
- 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-BzSgnv2R.mjs → materialization-C1qlFBV2.mjs} +1 -1
- package/dist/{namespace-u4eoUCLp.d.mts → namespace-DZooy1DW.d.mts} +18 -18
- package/dist/node/transports/index.mjs +2 -2
- package/dist/package.json +1 -1
- package/dist/packages-BOM7wECe.mjs +1 -0
- package/dist/{packages-Fy4a6vQy.d.mts → packages-g6BtlUF9.d.mts} +9 -6
- package/dist/{schemas-BKE3qw_w.d.mts → schemas-DnrIc9g7.d.mts} +49 -10
- package/dist/{schemas-BQhtYuCM.d.mts → schemas-Y3EJu698.d.mts} +8 -8
- package/dist/{schemas-BvDsO8Is.mjs → schemas-uNzmiLso.mjs} +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 +9 -9
- package/dist/services/index.mjs +1 -1
- package/dist/services/materialization/index.d.mts +1 -1
- package/dist/services/materialization/index.mjs +1 -1
- package/dist/services/session/index.d.mts +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/settings/namespace.d.mts +8 -8
- package/dist/services/subagent-template/index.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tools/index.mjs +1 -1
- package/dist/services/workflow-transitions/index.mjs +1 -1
- package/dist/{tools-Cbuj-ClQ.mjs → tools-EK2HiPee.mjs} +1 -1
- package/dist/{transition-DNNBGMtx.d.mts → transition-yohyGRmc.d.mts} +1 -1
- package/dist/{types-DsZBnL7z.d.mts → types-CRKyrt5_.d.mts} +12 -12
- package/dist/{view-builder-HU_v1Jg7.d.mts → view-builder-BjVjGZAI.d.mts} +2 -2
- package/dist/{worker-toBnRJ0A.mjs → worker-DulBFC0P.mjs} +1 -1
- package/dist/{workflow-BDDB6EJi.mjs → workflow-Dvv_8Xu6.mjs} +1 -1
- package/dist/workflow-engine/index.d.mts +39 -39
- package/dist/{workflow-transitions-CvT6P03B.mjs → workflow-transitions-ztq90FUj.mjs} +1 -1
- package/package.json +1 -1
- package/dist/artifact-XE82Q2bH.mjs +0 -1
- package/dist/fast-connection-CIZ6nL7o.mjs +0 -1
- package/dist/packages-CZ2x-Ver.mjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x as ArtifactRevision$1 } from "./schemas-
|
|
1
|
+
import { x as ArtifactRevision$1 } from "./schemas-DnrIc9g7.mjs";
|
|
2
2
|
import { a as JsonObjectContractSchema, l as JsonValue$1 } from "./json-value-B2gMynW3.mjs";
|
|
3
3
|
import { n as AutomationTriggerBinding$1, o as AutomationTriggerParams, u as DefinedAutomationTrigger } from "./definition-i4PufQpo.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
@@ -814,8 +814,8 @@ declare const ExecutionStatusSchema$1: z.ZodEnum<{
|
|
|
814
814
|
completed: "completed";
|
|
815
815
|
cancelled: "cancelled";
|
|
816
816
|
failed: "failed";
|
|
817
|
-
paused: "paused";
|
|
818
817
|
running: "running";
|
|
818
|
+
paused: "paused";
|
|
819
819
|
finalizing: "finalizing";
|
|
820
820
|
}>;
|
|
821
821
|
type ExecutionStatus = z.infer<typeof ExecutionStatusSchema$1>;
|
|
@@ -831,8 +831,8 @@ declare const WorkflowExecutionSchema$1: z.ZodObject<{
|
|
|
831
831
|
completed: "completed";
|
|
832
832
|
cancelled: "cancelled";
|
|
833
833
|
failed: "failed";
|
|
834
|
-
paused: "paused";
|
|
835
834
|
running: "running";
|
|
835
|
+
paused: "paused";
|
|
836
836
|
finalizing: "finalizing";
|
|
837
837
|
}>;
|
|
838
838
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
|
|
@@ -890,8 +890,8 @@ declare const WorkflowFrameStateSchema$1: z.ZodObject<{
|
|
|
890
890
|
cancelled: "cancelled";
|
|
891
891
|
failed: "failed";
|
|
892
892
|
running: "running";
|
|
893
|
-
skipped: "skipped";
|
|
894
893
|
waiting: "waiting";
|
|
894
|
+
skipped: "skipped";
|
|
895
895
|
}>;
|
|
896
896
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
897
897
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -906,8 +906,8 @@ type WorkflowFrameState$1 = z.infer<typeof WorkflowFrameStateSchema$1>;
|
|
|
906
906
|
declare const WorkflowGateStatusSchema: z.ZodEnum<{
|
|
907
907
|
cancelled: "cancelled";
|
|
908
908
|
rejected: "rejected";
|
|
909
|
-
resumed: "resumed";
|
|
910
909
|
waiting: "waiting";
|
|
910
|
+
resumed: "resumed";
|
|
911
911
|
"timed-out": "timed-out";
|
|
912
912
|
}>;
|
|
913
913
|
type WorkflowGateStatus = z.infer<typeof WorkflowGateStatusSchema>;
|
|
@@ -928,8 +928,8 @@ declare const WorkflowGateInstanceSchema$1: z.ZodObject<{
|
|
|
928
928
|
status: z.ZodEnum<{
|
|
929
929
|
cancelled: "cancelled";
|
|
930
930
|
rejected: "rejected";
|
|
931
|
-
resumed: "resumed";
|
|
932
931
|
waiting: "waiting";
|
|
932
|
+
resumed: "resumed";
|
|
933
933
|
"timed-out": "timed-out";
|
|
934
934
|
}>;
|
|
935
935
|
autoAction: z.ZodEnum<{
|
|
@@ -965,8 +965,8 @@ declare const WorkflowResolvedRoleSchema: z.ZodObject<{
|
|
|
965
965
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
966
966
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
967
967
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
968
|
-
fork: "fork";
|
|
969
968
|
fresh: "fresh";
|
|
969
|
+
fork: "fork";
|
|
970
970
|
}>>;
|
|
971
971
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
972
972
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -1076,8 +1076,8 @@ declare const WorkflowResolvedAgentSchema: z.ZodObject<{
|
|
|
1076
1076
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
1077
1077
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
1078
1078
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
1079
|
-
fork: "fork";
|
|
1080
1079
|
fresh: "fresh";
|
|
1080
|
+
fork: "fork";
|
|
1081
1081
|
}>>;
|
|
1082
1082
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1083
1083
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -1228,8 +1228,8 @@ declare const ExecutionListQuerySchema$1: z.ZodObject<{
|
|
|
1228
1228
|
completed: "completed";
|
|
1229
1229
|
cancelled: "cancelled";
|
|
1230
1230
|
failed: "failed";
|
|
1231
|
-
paused: "paused";
|
|
1232
1231
|
running: "running";
|
|
1232
|
+
paused: "paused";
|
|
1233
1233
|
finalizing: "finalizing";
|
|
1234
1234
|
}>>;
|
|
1235
1235
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
@@ -1279,8 +1279,8 @@ declare const GateInstanceListQuerySchema$1: z.ZodObject<{
|
|
|
1279
1279
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1280
1280
|
cancelled: "cancelled";
|
|
1281
1281
|
rejected: "rejected";
|
|
1282
|
-
resumed: "resumed";
|
|
1283
1282
|
waiting: "waiting";
|
|
1283
|
+
resumed: "resumed";
|
|
1284
1284
|
"timed-out": "timed-out";
|
|
1285
1285
|
}>>;
|
|
1286
1286
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -3729,8 +3729,8 @@ declare const WorkflowSchemas: {
|
|
|
3729
3729
|
completed: "completed";
|
|
3730
3730
|
cancelled: "cancelled";
|
|
3731
3731
|
failed: "failed";
|
|
3732
|
-
paused: "paused";
|
|
3733
3732
|
running: "running";
|
|
3733
|
+
paused: "paused";
|
|
3734
3734
|
finalizing: "finalizing";
|
|
3735
3735
|
}>;
|
|
3736
3736
|
}, z.core.$strip>;
|
|
@@ -3808,8 +3808,8 @@ declare const WorkflowSchemas: {
|
|
|
3808
3808
|
completed: "completed";
|
|
3809
3809
|
cancelled: "cancelled";
|
|
3810
3810
|
failed: "failed";
|
|
3811
|
-
paused: "paused";
|
|
3812
3811
|
running: "running";
|
|
3812
|
+
paused: "paused";
|
|
3813
3813
|
finalizing: "finalizing";
|
|
3814
3814
|
}>;
|
|
3815
3815
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
|
|
@@ -3866,8 +3866,8 @@ declare const WorkflowSchemas: {
|
|
|
3866
3866
|
completed: "completed";
|
|
3867
3867
|
cancelled: "cancelled";
|
|
3868
3868
|
failed: "failed";
|
|
3869
|
-
paused: "paused";
|
|
3870
3869
|
running: "running";
|
|
3870
|
+
paused: "paused";
|
|
3871
3871
|
finalizing: "finalizing";
|
|
3872
3872
|
}>>;
|
|
3873
3873
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
@@ -3890,8 +3890,8 @@ declare const WorkflowSchemas: {
|
|
|
3890
3890
|
completed: "completed";
|
|
3891
3891
|
cancelled: "cancelled";
|
|
3892
3892
|
failed: "failed";
|
|
3893
|
-
paused: "paused";
|
|
3894
3893
|
running: "running";
|
|
3894
|
+
paused: "paused";
|
|
3895
3895
|
finalizing: "finalizing";
|
|
3896
3896
|
}>;
|
|
3897
3897
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
|
|
@@ -3947,8 +3947,8 @@ declare const WorkflowSchemas: {
|
|
|
3947
3947
|
completed: "completed";
|
|
3948
3948
|
cancelled: "cancelled";
|
|
3949
3949
|
failed: "failed";
|
|
3950
|
-
paused: "paused";
|
|
3951
3950
|
running: "running";
|
|
3951
|
+
paused: "paused";
|
|
3952
3952
|
finalizing: "finalizing";
|
|
3953
3953
|
}>;
|
|
3954
3954
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
|
|
@@ -4032,8 +4032,8 @@ declare const WorkflowSchemas: {
|
|
|
4032
4032
|
status: z.ZodOptional<z.ZodEnum<{
|
|
4033
4033
|
cancelled: "cancelled";
|
|
4034
4034
|
rejected: "rejected";
|
|
4035
|
-
resumed: "resumed";
|
|
4036
4035
|
waiting: "waiting";
|
|
4036
|
+
resumed: "resumed";
|
|
4037
4037
|
"timed-out": "timed-out";
|
|
4038
4038
|
}>>;
|
|
4039
4039
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -4049,8 +4049,8 @@ declare const WorkflowSchemas: {
|
|
|
4049
4049
|
status: z.ZodEnum<{
|
|
4050
4050
|
cancelled: "cancelled";
|
|
4051
4051
|
rejected: "rejected";
|
|
4052
|
-
resumed: "resumed";
|
|
4053
4052
|
waiting: "waiting";
|
|
4053
|
+
resumed: "resumed";
|
|
4054
4054
|
"timed-out": "timed-out";
|
|
4055
4055
|
}>;
|
|
4056
4056
|
autoAction: z.ZodEnum<{
|
|
@@ -4147,8 +4147,8 @@ declare const WorkflowSchemas: {
|
|
|
4147
4147
|
cancelled: "cancelled";
|
|
4148
4148
|
failed: "failed";
|
|
4149
4149
|
running: "running";
|
|
4150
|
-
skipped: "skipped";
|
|
4151
4150
|
waiting: "waiting";
|
|
4151
|
+
skipped: "skipped";
|
|
4152
4152
|
}>;
|
|
4153
4153
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
4154
4154
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4334,8 +4334,8 @@ declare const WorkflowSchemas: {
|
|
|
4334
4334
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
4335
4335
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
4336
4336
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
4337
|
-
fork: "fork";
|
|
4338
4337
|
fresh: "fresh";
|
|
4338
|
+
fork: "fork";
|
|
4339
4339
|
}>>;
|
|
4340
4340
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4341
4341
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -4445,8 +4445,8 @@ declare const WorkflowSchemas: {
|
|
|
4445
4445
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
4446
4446
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
4447
4447
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
4448
|
-
fork: "fork";
|
|
4449
4448
|
fresh: "fresh";
|
|
4449
|
+
fork: "fork";
|
|
4450
4450
|
}>>;
|
|
4451
4451
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4452
4452
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -5081,8 +5081,8 @@ declare const WorkflowSchemas: {
|
|
|
5081
5081
|
completed: "completed";
|
|
5082
5082
|
cancelled: "cancelled";
|
|
5083
5083
|
failed: "failed";
|
|
5084
|
-
paused: "paused";
|
|
5085
5084
|
running: "running";
|
|
5085
|
+
paused: "paused";
|
|
5086
5086
|
finalizing: "finalizing";
|
|
5087
5087
|
}>;
|
|
5088
5088
|
startedAt: z.ZodNumber;
|
|
@@ -5129,8 +5129,8 @@ declare const WorkflowSchemas: {
|
|
|
5129
5129
|
cancelled: "cancelled";
|
|
5130
5130
|
failed: "failed";
|
|
5131
5131
|
running: "running";
|
|
5132
|
-
skipped: "skipped";
|
|
5133
5132
|
waiting: "waiting";
|
|
5133
|
+
skipped: "skipped";
|
|
5134
5134
|
}>;
|
|
5135
5135
|
attempt: z.ZodNumber;
|
|
5136
5136
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5159,8 +5159,8 @@ declare const WorkflowSchemas: {
|
|
|
5159
5159
|
completed: "completed";
|
|
5160
5160
|
cancelled: "cancelled";
|
|
5161
5161
|
failed: "failed";
|
|
5162
|
-
paused: "paused";
|
|
5163
5162
|
running: "running";
|
|
5163
|
+
paused: "paused";
|
|
5164
5164
|
finalizing: "finalizing";
|
|
5165
5165
|
}>>;
|
|
5166
5166
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5176,8 +5176,8 @@ declare const WorkflowSchemas: {
|
|
|
5176
5176
|
completed: "completed";
|
|
5177
5177
|
cancelled: "cancelled";
|
|
5178
5178
|
failed: "failed";
|
|
5179
|
-
paused: "paused";
|
|
5180
5179
|
running: "running";
|
|
5180
|
+
paused: "paused";
|
|
5181
5181
|
finalizing: "finalizing";
|
|
5182
5182
|
}>;
|
|
5183
5183
|
startedAt: z.ZodNumber;
|
|
@@ -6711,8 +6711,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6711
6711
|
completed: "completed";
|
|
6712
6712
|
cancelled: "cancelled";
|
|
6713
6713
|
failed: "failed";
|
|
6714
|
-
paused: "paused";
|
|
6715
6714
|
running: "running";
|
|
6715
|
+
paused: "paused";
|
|
6716
6716
|
finalizing: "finalizing";
|
|
6717
6717
|
}>;
|
|
6718
6718
|
}, z.core.$strip>;
|
|
@@ -6790,8 +6790,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6790
6790
|
completed: "completed";
|
|
6791
6791
|
cancelled: "cancelled";
|
|
6792
6792
|
failed: "failed";
|
|
6793
|
-
paused: "paused";
|
|
6794
6793
|
running: "running";
|
|
6794
|
+
paused: "paused";
|
|
6795
6795
|
finalizing: "finalizing";
|
|
6796
6796
|
}>;
|
|
6797
6797
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
|
|
@@ -6848,8 +6848,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6848
6848
|
completed: "completed";
|
|
6849
6849
|
cancelled: "cancelled";
|
|
6850
6850
|
failed: "failed";
|
|
6851
|
-
paused: "paused";
|
|
6852
6851
|
running: "running";
|
|
6852
|
+
paused: "paused";
|
|
6853
6853
|
finalizing: "finalizing";
|
|
6854
6854
|
}>>;
|
|
6855
6855
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
@@ -6872,8 +6872,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6872
6872
|
completed: "completed";
|
|
6873
6873
|
cancelled: "cancelled";
|
|
6874
6874
|
failed: "failed";
|
|
6875
|
-
paused: "paused";
|
|
6876
6875
|
running: "running";
|
|
6876
|
+
paused: "paused";
|
|
6877
6877
|
finalizing: "finalizing";
|
|
6878
6878
|
}>;
|
|
6879
6879
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
|
|
@@ -6929,8 +6929,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6929
6929
|
completed: "completed";
|
|
6930
6930
|
cancelled: "cancelled";
|
|
6931
6931
|
failed: "failed";
|
|
6932
|
-
paused: "paused";
|
|
6933
6932
|
running: "running";
|
|
6933
|
+
paused: "paused";
|
|
6934
6934
|
finalizing: "finalizing";
|
|
6935
6935
|
}>;
|
|
6936
6936
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
|
|
@@ -7014,8 +7014,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7014
7014
|
status: z.ZodOptional<z.ZodEnum<{
|
|
7015
7015
|
cancelled: "cancelled";
|
|
7016
7016
|
rejected: "rejected";
|
|
7017
|
-
resumed: "resumed";
|
|
7018
7017
|
waiting: "waiting";
|
|
7018
|
+
resumed: "resumed";
|
|
7019
7019
|
"timed-out": "timed-out";
|
|
7020
7020
|
}>>;
|
|
7021
7021
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -7031,8 +7031,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7031
7031
|
status: z.ZodEnum<{
|
|
7032
7032
|
cancelled: "cancelled";
|
|
7033
7033
|
rejected: "rejected";
|
|
7034
|
-
resumed: "resumed";
|
|
7035
7034
|
waiting: "waiting";
|
|
7035
|
+
resumed: "resumed";
|
|
7036
7036
|
"timed-out": "timed-out";
|
|
7037
7037
|
}>;
|
|
7038
7038
|
autoAction: z.ZodEnum<{
|
|
@@ -7129,8 +7129,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7129
7129
|
cancelled: "cancelled";
|
|
7130
7130
|
failed: "failed";
|
|
7131
7131
|
running: "running";
|
|
7132
|
-
skipped: "skipped";
|
|
7133
7132
|
waiting: "waiting";
|
|
7133
|
+
skipped: "skipped";
|
|
7134
7134
|
}>;
|
|
7135
7135
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
7136
7136
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7316,8 +7316,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7316
7316
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
7317
7317
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
7318
7318
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
7319
|
-
fork: "fork";
|
|
7320
7319
|
fresh: "fresh";
|
|
7320
|
+
fork: "fork";
|
|
7321
7321
|
}>>;
|
|
7322
7322
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7323
7323
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -7427,8 +7427,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7427
7427
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
7428
7428
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
7429
7429
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
7430
|
-
fork: "fork";
|
|
7431
7430
|
fresh: "fresh";
|
|
7431
|
+
fork: "fork";
|
|
7432
7432
|
}>>;
|
|
7433
7433
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7434
7434
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -8063,8 +8063,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
8063
8063
|
completed: "completed";
|
|
8064
8064
|
cancelled: "cancelled";
|
|
8065
8065
|
failed: "failed";
|
|
8066
|
-
paused: "paused";
|
|
8067
8066
|
running: "running";
|
|
8067
|
+
paused: "paused";
|
|
8068
8068
|
finalizing: "finalizing";
|
|
8069
8069
|
}>;
|
|
8070
8070
|
startedAt: z.ZodNumber;
|
|
@@ -8111,8 +8111,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
8111
8111
|
cancelled: "cancelled";
|
|
8112
8112
|
failed: "failed";
|
|
8113
8113
|
running: "running";
|
|
8114
|
-
skipped: "skipped";
|
|
8115
8114
|
waiting: "waiting";
|
|
8115
|
+
skipped: "skipped";
|
|
8116
8116
|
}>;
|
|
8117
8117
|
attempt: z.ZodNumber;
|
|
8118
8118
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8141,8 +8141,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
8141
8141
|
completed: "completed";
|
|
8142
8142
|
cancelled: "cancelled";
|
|
8143
8143
|
failed: "failed";
|
|
8144
|
-
paused: "paused";
|
|
8145
8144
|
running: "running";
|
|
8145
|
+
paused: "paused";
|
|
8146
8146
|
finalizing: "finalizing";
|
|
8147
8147
|
}>>;
|
|
8148
8148
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8158,8 +8158,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
8158
8158
|
completed: "completed";
|
|
8159
8159
|
cancelled: "cancelled";
|
|
8160
8160
|
failed: "failed";
|
|
8161
|
-
paused: "paused";
|
|
8162
8161
|
running: "running";
|
|
8162
|
+
paused: "paused";
|
|
8163
8163
|
finalizing: "finalizing";
|
|
8164
8164
|
}>;
|
|
8165
8165
|
startedAt: z.ZodNumber;
|
|
@@ -9693,8 +9693,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9693
9693
|
completed: "completed";
|
|
9694
9694
|
cancelled: "cancelled";
|
|
9695
9695
|
failed: "failed";
|
|
9696
|
-
paused: "paused";
|
|
9697
9696
|
running: "running";
|
|
9697
|
+
paused: "paused";
|
|
9698
9698
|
finalizing: "finalizing";
|
|
9699
9699
|
}>;
|
|
9700
9700
|
}, z.core.$strip>;
|
|
@@ -9772,8 +9772,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9772
9772
|
completed: "completed";
|
|
9773
9773
|
cancelled: "cancelled";
|
|
9774
9774
|
failed: "failed";
|
|
9775
|
-
paused: "paused";
|
|
9776
9775
|
running: "running";
|
|
9776
|
+
paused: "paused";
|
|
9777
9777
|
finalizing: "finalizing";
|
|
9778
9778
|
}>;
|
|
9779
9779
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
|
|
@@ -9830,8 +9830,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9830
9830
|
completed: "completed";
|
|
9831
9831
|
cancelled: "cancelled";
|
|
9832
9832
|
failed: "failed";
|
|
9833
|
-
paused: "paused";
|
|
9834
9833
|
running: "running";
|
|
9834
|
+
paused: "paused";
|
|
9835
9835
|
finalizing: "finalizing";
|
|
9836
9836
|
}>>;
|
|
9837
9837
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
@@ -9854,8 +9854,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9854
9854
|
completed: "completed";
|
|
9855
9855
|
cancelled: "cancelled";
|
|
9856
9856
|
failed: "failed";
|
|
9857
|
-
paused: "paused";
|
|
9858
9857
|
running: "running";
|
|
9858
|
+
paused: "paused";
|
|
9859
9859
|
finalizing: "finalizing";
|
|
9860
9860
|
}>;
|
|
9861
9861
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
|
|
@@ -9911,8 +9911,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9911
9911
|
completed: "completed";
|
|
9912
9912
|
cancelled: "cancelled";
|
|
9913
9913
|
failed: "failed";
|
|
9914
|
-
paused: "paused";
|
|
9915
9914
|
running: "running";
|
|
9915
|
+
paused: "paused";
|
|
9916
9916
|
finalizing: "finalizing";
|
|
9917
9917
|
}>;
|
|
9918
9918
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
|
|
@@ -9996,8 +9996,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9996
9996
|
status: z.ZodOptional<z.ZodEnum<{
|
|
9997
9997
|
cancelled: "cancelled";
|
|
9998
9998
|
rejected: "rejected";
|
|
9999
|
-
resumed: "resumed";
|
|
10000
9999
|
waiting: "waiting";
|
|
10000
|
+
resumed: "resumed";
|
|
10001
10001
|
"timed-out": "timed-out";
|
|
10002
10002
|
}>>;
|
|
10003
10003
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -10013,8 +10013,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
10013
10013
|
status: z.ZodEnum<{
|
|
10014
10014
|
cancelled: "cancelled";
|
|
10015
10015
|
rejected: "rejected";
|
|
10016
|
-
resumed: "resumed";
|
|
10017
10016
|
waiting: "waiting";
|
|
10017
|
+
resumed: "resumed";
|
|
10018
10018
|
"timed-out": "timed-out";
|
|
10019
10019
|
}>;
|
|
10020
10020
|
autoAction: z.ZodEnum<{
|
|
@@ -10111,8 +10111,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
10111
10111
|
cancelled: "cancelled";
|
|
10112
10112
|
failed: "failed";
|
|
10113
10113
|
running: "running";
|
|
10114
|
-
skipped: "skipped";
|
|
10115
10114
|
waiting: "waiting";
|
|
10115
|
+
skipped: "skipped";
|
|
10116
10116
|
}>;
|
|
10117
10117
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
10118
10118
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -10298,8 +10298,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
10298
10298
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
10299
10299
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
10300
10300
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
10301
|
-
fork: "fork";
|
|
10302
10301
|
fresh: "fresh";
|
|
10302
|
+
fork: "fork";
|
|
10303
10303
|
}>>;
|
|
10304
10304
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10305
10305
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -10409,8 +10409,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
10409
10409
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
10410
10410
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
10411
10411
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
10412
|
-
fork: "fork";
|
|
10413
10412
|
fresh: "fresh";
|
|
10413
|
+
fork: "fork";
|
|
10414
10414
|
}>>;
|
|
10415
10415
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10416
10416
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -11045,8 +11045,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
11045
11045
|
completed: "completed";
|
|
11046
11046
|
cancelled: "cancelled";
|
|
11047
11047
|
failed: "failed";
|
|
11048
|
-
paused: "paused";
|
|
11049
11048
|
running: "running";
|
|
11049
|
+
paused: "paused";
|
|
11050
11050
|
finalizing: "finalizing";
|
|
11051
11051
|
}>;
|
|
11052
11052
|
startedAt: z.ZodNumber;
|
|
@@ -11093,8 +11093,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
11093
11093
|
cancelled: "cancelled";
|
|
11094
11094
|
failed: "failed";
|
|
11095
11095
|
running: "running";
|
|
11096
|
-
skipped: "skipped";
|
|
11097
11096
|
waiting: "waiting";
|
|
11097
|
+
skipped: "skipped";
|
|
11098
11098
|
}>;
|
|
11099
11099
|
attempt: z.ZodNumber;
|
|
11100
11100
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11123,8 +11123,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
11123
11123
|
completed: "completed";
|
|
11124
11124
|
cancelled: "cancelled";
|
|
11125
11125
|
failed: "failed";
|
|
11126
|
-
paused: "paused";
|
|
11127
11126
|
running: "running";
|
|
11127
|
+
paused: "paused";
|
|
11128
11128
|
finalizing: "finalizing";
|
|
11129
11129
|
}>>;
|
|
11130
11130
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11140,8 +11140,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
11140
11140
|
completed: "completed";
|
|
11141
11141
|
cancelled: "cancelled";
|
|
11142
11142
|
failed: "failed";
|
|
11143
|
-
paused: "paused";
|
|
11144
11143
|
running: "running";
|
|
11144
|
+
paused: "paused";
|
|
11145
11145
|
finalizing: "finalizing";
|
|
11146
11146
|
}>;
|
|
11147
11147
|
startedAt: z.ZodNumber;
|
|
@@ -12707,8 +12707,8 @@ declare const WorkLogExecutionSummarySchema: z.ZodObject<{
|
|
|
12707
12707
|
completed: "completed";
|
|
12708
12708
|
cancelled: "cancelled";
|
|
12709
12709
|
failed: "failed";
|
|
12710
|
-
paused: "paused";
|
|
12711
12710
|
running: "running";
|
|
12711
|
+
paused: "paused";
|
|
12712
12712
|
finalizing: "finalizing";
|
|
12713
12713
|
}>;
|
|
12714
12714
|
startedAt: z.ZodNumber;
|
|
@@ -12751,8 +12751,8 @@ declare const WorkLogFrameEntrySchema$1: z.ZodObject<{
|
|
|
12751
12751
|
cancelled: "cancelled";
|
|
12752
12752
|
failed: "failed";
|
|
12753
12753
|
running: "running";
|
|
12754
|
-
skipped: "skipped";
|
|
12755
12754
|
waiting: "waiting";
|
|
12755
|
+
skipped: "skipped";
|
|
12756
12756
|
}>;
|
|
12757
12757
|
attempt: z.ZodNumber;
|
|
12758
12758
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -12805,8 +12805,8 @@ declare const WorkLogGateEventSchema: z.ZodObject<{
|
|
|
12805
12805
|
status: z.ZodEnum<{
|
|
12806
12806
|
cancelled: "cancelled";
|
|
12807
12807
|
rejected: "rejected";
|
|
12808
|
-
resumed: "resumed";
|
|
12809
12808
|
waiting: "waiting";
|
|
12809
|
+
resumed: "resumed";
|
|
12810
12810
|
"timed-out": "timed-out";
|
|
12811
12811
|
}>;
|
|
12812
12812
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -13282,8 +13282,8 @@ type IterateHandler<TTrigger = unknown, TPreviousSteps extends Record<string, Pr
|
|
|
13282
13282
|
* - fresh: Start with clean context
|
|
13283
13283
|
*/
|
|
13284
13284
|
declare const ContextModeSchema$1: z.ZodEnum<{
|
|
13285
|
-
fork: "fork";
|
|
13286
13285
|
fresh: "fresh";
|
|
13286
|
+
fork: "fork";
|
|
13287
13287
|
}>;
|
|
13288
13288
|
type ContextMode = z.infer<typeof ContextModeSchema$1>;
|
|
13289
13289
|
/**
|
|
@@ -13418,8 +13418,8 @@ declare const SubagentConfigSchema$1: z.ZodObject<{
|
|
|
13418
13418
|
"extra-high": "extra-high";
|
|
13419
13419
|
}>>;
|
|
13420
13420
|
contextMode: z.ZodDefault<z.ZodEnum<{
|
|
13421
|
-
fork: "fork";
|
|
13422
13421
|
fresh: "fresh";
|
|
13422
|
+
fork: "fork";
|
|
13423
13423
|
}>>;
|
|
13424
13424
|
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13425
13425
|
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -13588,8 +13588,8 @@ declare const SpawnSubagentRpcRequestSchema$1: z.ZodObject<{
|
|
|
13588
13588
|
"extra-high": "extra-high";
|
|
13589
13589
|
}>>;
|
|
13590
13590
|
contextMode: z.ZodDefault<z.ZodEnum<{
|
|
13591
|
-
fork: "fork";
|
|
13592
13591
|
fresh: "fresh";
|
|
13592
|
+
fork: "fork";
|
|
13593
13593
|
}>>;
|
|
13594
13594
|
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13595
13595
|
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { d as TransitionOutcome } from "../../index-
|
|
2
|
-
import { a as SetEnabledResult, c as ContributionProcessor, d as InstalledExtensionCatalogSource, f as KernelExtensionContext, h as RuntimeEnvironment, i as ExtensionCoordinator, l as ExtensionCoordinatorOptions, m as RuntimeCapability, n as coalesceExtensionOverrides, o as ExtensionConfigResolution, p as KernelMakaioExtension, r as filterEligibleExtensions, s as ExtensionOperatorConfigError, t as resolveInstalledExtensionRecord, u as ExtensionRuntimeSurface } from "../../index-
|
|
1
|
+
import { d as TransitionOutcome } from "../../index-CgcMrxhm.mjs";
|
|
2
|
+
import { a as SetEnabledResult, c as ContributionProcessor, d as InstalledExtensionCatalogSource, f as KernelExtensionContext, h as RuntimeEnvironment, i as ExtensionCoordinator, l as ExtensionCoordinatorOptions, m as RuntimeCapability, n as coalesceExtensionOverrides, o as ExtensionConfigResolution, p as KernelMakaioExtension, r as filterEligibleExtensions, s as ExtensionOperatorConfigError, t as resolveInstalledExtensionRecord, u as ExtensionRuntimeSurface } from "../../index-CjM6Fi-N.mjs";
|
|
3
3
|
export { ContributionProcessor, ExtensionConfigResolution, ExtensionCoordinator, ExtensionCoordinatorOptions, ExtensionOperatorConfigError, ExtensionRuntimeSurface, InstalledExtensionCatalogSource, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, RuntimeEnvironment, SetEnabledResult, TransitionOutcome, coalesceExtensionOverrides, filterEligibleExtensions, resolveInstalledExtensionRecord };
|
package/dist/kernel/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ServiceInfoSchema, S as ServiceInfo, _ as ComponentStateSchema, a as InstalledExtensionRecord, c as ExtensionSubjects, d as TransitionOutcome, g as ComponentState, l as SetEnabledReason, m as ComponentInfo, n as InstalledExtensionCatalogEntrySchema, o as InstalledExtensionRecordSchema, r as InstalledExtensionOrigin, s as ExtensionNamespace, t as InstalledExtensionCatalogEntry, v as ExtensionInfo, y as ExtensionInfoSchema } from "../index-
|
|
2
|
-
import { a as SetEnabledResult, c as ContributionProcessor, d as InstalledExtensionCatalogSource, f as KernelExtensionContext, h as RuntimeEnvironment, i as ExtensionCoordinator, m as RuntimeCapability, n as coalesceExtensionOverrides, o as ExtensionConfigResolution, p as KernelMakaioExtension, r as filterEligibleExtensions, s as ExtensionOperatorConfigError, t as resolveInstalledExtensionRecord, u as ExtensionRuntimeSurface } from "../index-
|
|
1
|
+
import { C as ServiceInfoSchema, S as ServiceInfo, _ as ComponentStateSchema, a as InstalledExtensionRecord, c as ExtensionSubjects, d as TransitionOutcome, g as ComponentState, l as SetEnabledReason, m as ComponentInfo, n as InstalledExtensionCatalogEntrySchema, o as InstalledExtensionRecordSchema, r as InstalledExtensionOrigin, s as ExtensionNamespace, t as InstalledExtensionCatalogEntry, v as ExtensionInfo, y as ExtensionInfoSchema } from "../index-CgcMrxhm.mjs";
|
|
2
|
+
import { a as SetEnabledResult, c as ContributionProcessor, d as InstalledExtensionCatalogSource, f as KernelExtensionContext, h as RuntimeEnvironment, i as ExtensionCoordinator, m as RuntimeCapability, n as coalesceExtensionOverrides, o as ExtensionConfigResolution, p as KernelMakaioExtension, r as filterEligibleExtensions, s as ExtensionOperatorConfigError, t as resolveInstalledExtensionRecord, u as ExtensionRuntimeSurface } from "../index-CjM6Fi-N.mjs";
|
|
3
3
|
import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-DqVHgb6Y.mjs";
|
|
4
4
|
import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../index-DJZZS_H0.mjs";
|
|
5
5
|
import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../index-Cc5kDe9y.mjs";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as ServiceInfoSchema, S as ServiceInfo, _ as ComponentStateSchema, a as InstalledExtensionRecord, b as ExtensionWarningEntry, c as ExtensionSubjects, d as TransitionOutcome, f as TransitionOutcomeSchema, g as ComponentState, h as ComponentInfoSchema, i as InstalledExtensionOriginSchema, l as SetEnabledReason, m as ComponentInfo, n as InstalledExtensionCatalogEntrySchema, o as InstalledExtensionRecordSchema, p as ComponentIdentitySchema, r as InstalledExtensionOrigin, s as ExtensionNamespace, t as InstalledExtensionCatalogEntry, u as SetEnabledReasonSchema, v as ExtensionInfo, x as ExtensionWarningEntrySchema, y as ExtensionInfoSchema } from "../../index-
|
|
1
|
+
import { C as ServiceInfoSchema, S as ServiceInfo, _ as ComponentStateSchema, a as InstalledExtensionRecord, b as ExtensionWarningEntry, c as ExtensionSubjects, d as TransitionOutcome, f as TransitionOutcomeSchema, g as ComponentState, h as ComponentInfoSchema, i as InstalledExtensionOriginSchema, l as SetEnabledReason, m as ComponentInfo, n as InstalledExtensionCatalogEntrySchema, o as InstalledExtensionRecordSchema, p as ComponentIdentitySchema, r as InstalledExtensionOrigin, s as ExtensionNamespace, t as InstalledExtensionCatalogEntry, u as SetEnabledReasonSchema, v as ExtensionInfo, x as ExtensionWarningEntrySchema, y as ExtensionInfoSchema } from "../../index-CgcMrxhm.mjs";
|
|
2
2
|
export { ComponentIdentitySchema, ComponentInfo, ComponentInfoSchema, ComponentState, ComponentStateSchema, ExtensionInfo, ExtensionInfoSchema, ExtensionNamespace, ExtensionSubjects, ExtensionWarningEntry, ExtensionWarningEntrySchema, InstalledExtensionCatalogEntry, InstalledExtensionCatalogEntrySchema, InstalledExtensionOrigin, InstalledExtensionOriginSchema, InstalledExtensionRecord, InstalledExtensionRecordSchema, ServiceInfo, ServiceInfoSchema, SetEnabledReason, SetEnabledReasonSchema, TransitionOutcome, TransitionOutcomeSchema };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as e,o as t}from"./json-value-DM-EjTC1.mjs";import{
|
|
1
|
+
import{n as e,o as t}from"./json-value-DM-EjTC1.mjs";import{T as n,c as r}from"./schemas-uNzmiLso.mjs";import{z as i}from"zod";import{createBusNamespace as a}from"@makaio/framework/core";const o=i.enum([`link`,`summary`,`full`]),s=i.object({artifactId:i.string().min(1).optional(),url:i.string().min(1).optional(),label:i.string().min(1),sourceLocalId:r.shape.sourceLocalId}),c=i.object({id:i.string().min(1),kind:i.string().min(1),revision:i.string().min(1),status:i.string().min(1).optional()}),l=i.object({breadcrumbs:i.array(s),related:i.array(s)}),u=i.object({dashboard:i.string().min(1).optional(),materialized:i.string().min(1).optional()}),d=i.object({type:i.literal(`summary`),title:i.string().min(1),text:i.string().min(1)}),f=i.object({type:i.literal(`properties`),title:i.string().min(1),rows:i.array(i.object({label:i.string().min(1),value:i.string()}))}),p=i.object({type:i.literal(`table`),title:i.string().min(1),columns:i.array(i.string().min(1)),rows:i.array(i.object({cells:i.array(i.string()),link:s.optional()}))}),m=i.object({type:i.literal(`relations`),title:i.string().min(1),groups:i.array(i.object({type:i.string().min(1),items:i.array(s)}))}),h=i.object({type:i.literal(`evidence`),title:i.string().min(1),items:i.array(i.object({kind:i.string().min(1),id:i.string().min(1),locator:i.string().min(1).optional()}))}),g=i.object({type:i.literal(`raw`),title:i.string().min(1),json:t}),_=i.object({type:i.literal(`code`),title:i.string().min(1),language:i.string().min(1),content:i.string()}),v=i.object({type:i.literal(`diagram`),title:i.string().min(1),notation:i.literal(`mermaid`),source:i.string().min(1)}),y=i.discriminatedUnion(`type`,[d,f,p,m,h,g,_,v]),b=i.object({title:i.string().min(1),artifact:c,navigation:l,sections:i.array(y),links:u}),x=e,S=i.object({level:o,params:x.optional()}),C=i.object({kind:i.literal(`entry`),via:i.string().min(1).optional(),collection:i.string().min(1).optional()});function w(e){return(t,n)=>{t.via!==void 0==(t.collection!==void 0)&&n.addIssue({code:i.ZodIssueCode.custom,message:`Entry ${e} must have exactly one of via or collection`})}}const T=i.discriminatedUnion(`kind`,[i.object({kind:i.literal(`own-view`)}),i.object({kind:i.literal(`inline`),hostRelation:i.string().min(1),as:o.optional()}),C.extend({title:i.string().min(1).optional(),hostRelation:i.string().min(1).optional()}).superRefine(w(`affordance`))]),E=i.discriminatedUnion(`kind`,[i.object({kind:i.literal(`own-view`)}),i.object({kind:i.literal(`inline`),hostRelation:i.string().min(1)}),C.superRefine(w(`request`))]);function D(e){return e}const O=i.enum([`title`,`summary`]),k=i.discriminatedUnion(`kind`,[i.object({kind:i.literal(`label`),prefix:i.string().min(1).optional()}),i.object({kind:i.literal(`field`),name:i.string().min(1),fieldId:i.string().min(1).optional()}),i.object({kind:i.literal(`issue-type`),name:i.string().min(1),typeId:i.string().min(1).optional()}),i.object({kind:i.literal(`body-fragment`),slot:i.string().min(1)}),i.object({kind:i.literal(`comment`),template:i.string().min(1)})]),A=i.object({id:i.string().min(1),provider:i.string().min(1),namespace:i.string().min(1),target:k,appliesTo:i.array(i.enum([`workpiece`,`artifact`,`surface`])).min(1),valueMapping:i.record(i.string(),i.string()).optional(),description:i.string().min(1).optional(),params:e.optional()}),j=i.enum([`status`,`workflow`,`priority`]),M=i.object({path:i.string().min(1),semantic:j.optional(),fromLevel:o.optional(),viewRole:O.optional()}),N=i.object({mode:i.enum([`none`,`surface`,`comment`]),defaultRole:i.enum([`workpiece`,`artifact`]).optional(),semanticEvents:i.array(i.enum([`created`,`revised`,`status-changed`,`observation-added`])).optional(),projectedFields:i.array(M).optional(),affordances:i.array(T).optional()}).superRefine((e,t)=>{if(!e.projectedFields)return;let n=0,r=0;for(let t of e.projectedFields)t.viewRole===`title`&&n++,t.viewRole===`summary`&&r++;n>1&&t.addIssue({code:i.ZodIssueCode.custom,path:[`projectedFields`],message:`At most one projected field may declare viewRole: title`}),r>1&&t.addIssue({code:i.ZodIssueCode.custom,path:[`projectedFields`],message:`At most one projected field may declare viewRole: summary`})}),P=i.object({artifactId:i.string().min(1),provider:i.string().min(1),externalId:i.string().min(1),externalUrl:i.string().optional(),surfaceRole:i.enum([`workpiece`,`artifact`]),lastSyncedRevision:i.string().optional(),metadata:i.record(i.string(),i.unknown()).optional()}),F=S.extend({ref:n,affordance:E}),I=i.discriminatedUnion(`status`,[i.object({status:i.literal(`ok`),view:b,builderVersion:i.number().int().positive(),sourceRevision:i.string().min(1)}),i.object({status:i.literal(`artifact-not-found`),view:i.null()}),i.object({status:i.literal(`not-rendered`),view:i.null()})]),L={"surfaceBinding.register":{request:A,response:i.object({registered:i.boolean()})},"surfaceBinding.list":{request:i.object({id:i.string().min(1).optional(),provider:i.string().min(1).optional(),namespace:i.string().min(1).optional()}),response:i.object({bindings:i.array(A)})},"surfaceBinding.changed":i.object({id:i.string().min(1),provider:i.string().min(1)}),"ref.changed":i.object({artifactId:i.string().min(1),provider:i.string().min(1),externalId:i.string().min(1),operation:i.enum([`upserted`,`deleted`]),origin:i.enum([`factory`,`external`]).optional()}),"capability.resolved":i.object({provider:i.string().min(1),surface:i.string().min(1),capabilities:i.record(i.string().min(1),i.boolean()),degraded:i.boolean()}),"artifact.view.resolve":{request:F,response:I}},R=a(`materialization`,L),ee=R.subjects;function z(e){return{id:e.id,toRegistration:()=>({id:e.id,provider:e.provider,namespace:e.namespace,target:structuredClone(e.target),appliesTo:[...e.appliesTo],...e.valueMapping===void 0?{}:{valueMapping:{...e.valueMapping}},...e.description===void 0?{}:{description:e.description},...e.params===void 0?{}:{params:structuredClone(e.params)}})}}const B=8;function V(e){let t=0,n=0;for(let r=0;r<e.length;r++)e[r]==="`"?(n++,n>t&&(t=n)):n=0;let r=Math.max(3,t+1);return"`".repeat(r)}function H(e){return e.replace(/`/g,``)}function U(e){return e.replace(/\]/g,`\\]`)}function W(e){let t=``;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n),i=e[n];t+=r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122||i===`-`?i:`%${r.toString(16).toUpperCase().padStart(4,`0`)}`}return t}function G(e){return e.replace(/\(/g,`%28`).replace(/\)/g,`%29`)}function K(e){let t=e.sourceLocalId?W(e.sourceLocalId):void 0,n=t?`${e.label} (from part: ${t})`:e.label;return e.url?`[${U(n)}](${G(e.url)})`:t?`${e.label} (from part: ${U(t)})`:n}function q(e){let t=[];if(e.breadcrumbs.length>0&&t.push(`**Breadcrumbs:** ${e.breadcrumbs.map(K).join(` › `)}`),e.related.length>0){t.length>0&&t.push(``),t.push(`**Related:**`);for(let n of e.related)t.push(`- ${K(n)}`)}return t}function J(e){return e.replace(/\|/g,`\\|`).replace(/[\r\n]+/g,` `)}function Y(e){return[`### ${e.title}`,``,e.text]}function X(e){let t=[`### ${e.title}`,``];for(let n of e.rows)n.value.length>0?t.push(`**${n.label}:** ${n.value}`):t.push(`**${n.label}:**`);return t}function Z(e){let t=[`### ${e.title}`,``],n=e.rows.some(e=>e.link!==void 0),r=e.columns.map(J);n&&r.push(``);let i=r.length;t.push(`| ${r.join(` | `)} |`),t.push(`| ${r.map(()=>`---`).join(` | `)} |`);for(let r of e.rows){let e=r.cells.map(J);for(n&&e.push(r.link?J(K(r.link)):``);e.length<i;)e.push(``);t.push(`| ${e.join(` | `)} |`)}return t}function Q(e){let t=[`### ${e.title}`,``];for(let n of e.groups){t.push(`**${n.type}**`,``);for(let e of n.items)t.push(`- ${K(e)}`);t.push(``)}return t}function te(e){let t=[`### ${e.title}`,``];for(let n of e.items){let e=n.locator?` (${n.locator})`:``;t.push(`- **${n.kind}:** ${n.id}${e}`)}return t}function $(e,t,n){let r=V(t);return[`### ${e}`,``,`${r}${H(n)}`,t,r]}function ne(e){return $(e.title,JSON.stringify(e.json,null,2),`json`)}function re(e){return $(e.title,e.content,e.language)}function ie(e){return $(e.title,e.source,e.notation)}function ae(e){switch(e.type){case`summary`:return Y(e);case`properties`:return X(e);case`table`:return Z(e);case`relations`:return Q(e);case`evidence`:return te(e);case`raw`:return ne(e);case`code`:return re(e);case`diagram`:return ie(e)}}function oe(e,t={}){let n=[];t.includeTitle!==!1&&n.push([`## ${e.title}`]);let r=q(e.navigation);r.length>0&&n.push(r);for(let t of e.sections)n.push(ae(t));return n.map(e=>e.join(`
|
|
2
2
|
`)).join(`
|
|
3
3
|
|
|
4
4
|
`)}export{g as A,h as C,b as D,s as E,p as F,y as M,d as N,l as O,u as P,v as S,o as T,E as _,I as a,D as b,ee as c,M as d,j as f,T as g,k as h,F as i,m as j,f as k,P as l,A as m,oe as n,R as o,O as p,z as r,L as s,B as t,N as u,x as v,c as w,_ as x,S as y};
|