@inf-monkeys-tech/monkeys 1.0.49 → 1.0.50
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/lib/contracts/capability.d.ts +0 -4
- package/lib/contracts/capability.d.ts.map +1 -1
- package/lib/contracts/menu.d.ts +0 -1
- package/lib/contracts/menu.d.ts.map +1 -1
- package/lib/contracts/page.d.ts +0 -4
- package/lib/contracts/page.d.ts.map +1 -1
- package/lib/contracts/page.js +2 -2
- package/lib/contracts/page.js.map +1 -1
- package/lib/contracts/render.d.ts +0 -6
- package/lib/contracts/render.d.ts.map +1 -1
- package/lib/contracts/render.js +1 -1
- package/lib/contracts/render.js.map +1 -1
- package/lib/contracts/semantic.d.ts +0 -3
- package/lib/contracts/semantic.d.ts.map +1 -1
- package/lib/contracts/semantic.js +1 -1
- package/lib/contracts/semantic.js.map +1 -1
- package/lib/contracts/tenant.d.ts +3 -8
- package/lib/contracts/tenant.d.ts.map +1 -1
- package/lib/contracts/tenant.js +1 -1
- package/lib/contracts/tenant.js.map +1 -1
- package/lib/esm/contracts/index.mjs +5 -5
- package/lib/esm/contracts/index.mjs.map +1 -1
- package/lib/esm/index.mjs +6 -6
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +6 -6
- package/lib/esm/runtime/index.mjs.map +1 -1
- package/lib/esm/schemas/index.mjs +5 -5
- package/lib/esm/schemas/index.mjs.map +1 -1
- package/lib/json-schema/application-handoff.schema.json +3 -6
- package/lib/json-schema/capability-manifest.schema.json +1 -2
- package/lib/json-schema/capability-registry.schema.json +1 -2
- package/lib/json-schema/domain-command.schema.json +0 -1
- package/lib/json-schema/page-definition.schema.json +1 -2
- package/lib/json-schema/page-runtime-descriptor.schema.json +1 -2
- package/lib/json-schema/page-runtime-projection.schema.json +1 -2
- package/lib/json-schema/product-declaration.schema.json +2 -4
- package/lib/json-schema/render-tree.schema.json +1 -2
- package/lib/json-schema/tenant-product-config.schema.json +2 -3
- package/lib/json-schema/tenant-runtime-config.schema.json +2 -3
- package/lib/runtime/view-provider-registry.js +1 -1
- package/lib/runtime/view-provider-registry.js.map +1 -1
- package/lib/schemas/index.d.ts +2 -16
- package/lib/schemas/index.d.ts.map +1 -1
- package/lib/theme-tokens/core.d.ts +1 -1
- package/lib/theme-tokens/core.d.ts.map +1 -1
- package/lib/theme-tokens/core.js +1 -1
- package/lib/theme-tokens/core.js.map +1 -1
- package/package.json +1 -1
- package/test/fixtures/tenant-product-config.public.json +2 -2
package/lib/esm/index.mjs
CHANGED
|
@@ -7712,7 +7712,7 @@ import { z as z6 } from "zod";
|
|
|
7712
7712
|
|
|
7713
7713
|
// src/contracts/render.ts
|
|
7714
7714
|
import { z as z5 } from "zod";
|
|
7715
|
-
var ProductContextSchema = z5.enum(["studio", "kernel"
|
|
7715
|
+
var ProductContextSchema = z5.enum(["studio", "kernel"]);
|
|
7716
7716
|
var RenderNodeStateSchema = z5.enum([
|
|
7717
7717
|
"idle",
|
|
7718
7718
|
"loading",
|
|
@@ -8410,7 +8410,7 @@ var PageVisibilitySchema = z10.object({
|
|
|
8410
8410
|
permissionAllOf: z10.array(ContractIdentifierSchema).default([]),
|
|
8411
8411
|
permissionAnyOf: z10.array(ContractIdentifierSchema).default([]),
|
|
8412
8412
|
featureFlags: z10.array(ContractIdentifierSchema).default([]),
|
|
8413
|
-
productContexts: z10.array(z10.enum(["studio", "kernel"
|
|
8413
|
+
productContexts: z10.array(z10.enum(["studio", "kernel"])).min(1)
|
|
8414
8414
|
}).strict();
|
|
8415
8415
|
var PageRoutePathSchema = z10.string().trim().regex(/^\/(?!\/)/, "Expected an application-relative route path.");
|
|
8416
8416
|
var requireCapabilityReference = (reference, path, context) => {
|
|
@@ -8602,7 +8602,7 @@ var duplicateProjectionIdentity = (values, identity) => {
|
|
|
8602
8602
|
};
|
|
8603
8603
|
var PageRuntimeProjectionSchema = z10.object({
|
|
8604
8604
|
contract: z10.literal("PageRuntimeProjection"),
|
|
8605
|
-
product: z10.enum(["studio", "kernel"
|
|
8605
|
+
product: z10.enum(["studio", "kernel"]),
|
|
8606
8606
|
routes: z10.array(PageRouteProjectionSchema),
|
|
8607
8607
|
navigation: z10.array(PageNavigationProjectionSchema),
|
|
8608
8608
|
guards: z10.array(PageGuardProjectionSchema),
|
|
@@ -8979,7 +8979,7 @@ var DomainCommandSchema = z12.object({
|
|
|
8979
8979
|
targetRef: EntityRefSchema,
|
|
8980
8980
|
actorRef: EntityRefSchema,
|
|
8981
8981
|
source: z12.object({
|
|
8982
|
-
product: z12.enum(["studio", "kernel", "
|
|
8982
|
+
product: z12.enum(["studio", "kernel", "agent", "mcp", "service"]),
|
|
8983
8983
|
pageId: ContractIdentifierSchema.optional(),
|
|
8984
8984
|
capabilityId: ContractIdentifierSchema.optional()
|
|
8985
8985
|
}).strict(),
|
|
@@ -11880,7 +11880,7 @@ var TenantApplicationConfigSchema = z14.object({
|
|
|
11880
11880
|
}).strict().optional()
|
|
11881
11881
|
}).strict().optional()
|
|
11882
11882
|
}).strict().optional(),
|
|
11883
|
-
|
|
11883
|
+
kernelRuntime: z14.object({
|
|
11884
11884
|
integrations: z14.object({
|
|
11885
11885
|
harbor: z14.object({ endpoint: z14.string().optional(), projectScopes: z14.array(z14.string()).optional(), authMode: z14.string().optional(), principal: z14.string().optional(), autoSync: z14.boolean().optional(), proxyUrl: z14.string().optional() }).strict().optional(),
|
|
11886
11886
|
gitlab: z14.object({ baseUrl: z14.string().optional(), groupScopes: z14.array(z14.string()).optional(), tokenMode: z14.string().optional(), deployProjectPath: z14.string().optional(), deploymentReportsEnabled: z14.boolean().optional(), proxyUrl: z14.string().optional() }).strict().optional(),
|
|
@@ -14095,7 +14095,7 @@ var compileViewProviderRegistry = (input) => {
|
|
|
14095
14095
|
throw new Error(`View capability ${capability.id} references missing provider ${providerRef.id}.`);
|
|
14096
14096
|
}
|
|
14097
14097
|
}
|
|
14098
|
-
for (const product of ["studio", "kernel"
|
|
14098
|
+
for (const product of ["studio", "kernel"]) {
|
|
14099
14099
|
const candidates = capability.runtime.providerBindings.filter((binding) => binding.productContexts.length === 0 || binding.productContexts.includes(product));
|
|
14100
14100
|
const priorities = candidates.map((binding) => binding.priority).sort((left, right) => right - left);
|
|
14101
14101
|
if (priorities.length > 1 && priorities[0] === priorities[1]) {
|