@inf-monkeys-tech/monkeys 1.1.60 → 1.1.61

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.
Files changed (44) hide show
  1. package/lib/contracts/declarative-control-http.d.ts +276 -153
  2. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  3. package/lib/contracts/declarative-control.d.ts +60 -45
  4. package/lib/contracts/declarative-control.d.ts.map +1 -1
  5. package/lib/contracts/declarative-control.js +26 -1
  6. package/lib/contracts/declarative-control.js.map +1 -1
  7. package/lib/contracts/declarative-document-import.d.ts +60 -45
  8. package/lib/contracts/declarative-document-import.d.ts.map +1 -1
  9. package/lib/contracts/declarative-publication-job.d.ts +24 -0
  10. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  11. package/lib/contracts/menu.d.ts +12 -9
  12. package/lib/contracts/menu.d.ts.map +1 -1
  13. package/lib/contracts/page.d.ts +36 -27
  14. package/lib/contracts/page.d.ts.map +1 -1
  15. package/lib/contracts/semantic.d.ts +12 -9
  16. package/lib/contracts/semantic.d.ts.map +1 -1
  17. package/lib/contracts/tenant.d.ts +60 -45
  18. package/lib/contracts/tenant.d.ts.map +1 -1
  19. package/lib/esm/{chunk-POHBVHPL.mjs → chunk-43N4Q3U7.mjs} +2 -2
  20. package/lib/esm/{chunk-L7WP57HT.mjs → chunk-7MUE4GTZ.mjs} +2 -2
  21. package/lib/esm/{chunk-QM3K7CWF.mjs → chunk-DPHV7ES3.mjs} +3 -3
  22. package/lib/esm/{chunk-5IWBM5FS.mjs → chunk-NKTRUUOP.mjs} +21 -2
  23. package/lib/esm/{chunk-5IWBM5FS.mjs.map → chunk-NKTRUUOP.mjs.map} +1 -1
  24. package/lib/esm/contracts/index.mjs +2 -2
  25. package/lib/esm/index.mjs +4 -4
  26. package/lib/esm/runtime/index.mjs +3 -3
  27. package/lib/esm/schemas/index.mjs +2 -2
  28. package/lib/json-schema/page-definition.schema.json +51 -64
  29. package/lib/json-schema/page-runtime-bundle.schema.json +97 -110
  30. package/lib/json-schema/page-runtime-descriptor.schema.json +51 -64
  31. package/lib/json-schema/page.schema.json +61 -74
  32. package/lib/json-schema/product-declaration.schema.json +17 -30
  33. package/lib/json-schema/tenant-product-config.schema.json +17 -30
  34. package/lib/json-schema/tenant-runtime-config.schema.json +17 -30
  35. package/lib/runtime/native-page-composition.d.ts +3 -0
  36. package/lib/runtime/native-page-composition.d.ts.map +1 -1
  37. package/lib/runtime/runtime-definition-wire.d.ts +12 -0
  38. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  39. package/lib/schemas/index.d.ts +84 -63
  40. package/lib/schemas/index.d.ts.map +1 -1
  41. package/package.json +2 -2
  42. /package/lib/esm/{chunk-POHBVHPL.mjs.map → chunk-43N4Q3U7.mjs.map} +0 -0
  43. /package/lib/esm/{chunk-L7WP57HT.mjs.map → chunk-7MUE4GTZ.mjs.map} +0 -0
  44. /package/lib/esm/{chunk-QM3K7CWF.mjs.map → chunk-DPHV7ES3.mjs.map} +0 -0
@@ -100,7 +100,7 @@ import {
100
100
  WorkflowCompletionReceiptSchema,
101
101
  WorkflowDefinitionSchema,
102
102
  WorkflowPublicationSchema
103
- } from "./chunk-5IWBM5FS.mjs";
103
+ } from "./chunk-NKTRUUOP.mjs";
104
104
 
105
105
  // src/schemas/index.ts
106
106
  var canonicalContractSchemas = {
@@ -210,4 +210,4 @@ var canonicalContractSchemas = {
210
210
  export {
211
211
  canonicalContractSchemas
212
212
  };
213
- //# sourceMappingURL=chunk-POHBVHPL.mjs.map
213
+ //# sourceMappingURL=chunk-43N4Q3U7.mjs.map
@@ -15,7 +15,7 @@ import {
15
15
  ManagedFileUriSchema,
16
16
  RevisionRefSchema,
17
17
  Sha256Schema
18
- } from "./chunk-5IWBM5FS.mjs";
18
+ } from "./chunk-NKTRUUOP.mjs";
19
19
 
20
20
  // src/contracts/agent-data.ts
21
21
  import { z } from "zod";
@@ -688,4 +688,4 @@ export {
688
688
  PlatformNotificationSnapshotSchema,
689
689
  platformNotificationRoutes
690
690
  };
691
- //# sourceMappingURL=chunk-L7WP57HT.mjs.map
691
+ //# sourceMappingURL=chunk-7MUE4GTZ.mjs.map
@@ -4,7 +4,7 @@ import {
4
4
  PAGE_STREAM_MAX_FRAME_BYTES,
5
5
  PageStreamDescriptorSchema,
6
6
  PageStreamEventSchema
7
- } from "./chunk-L7WP57HT.mjs";
7
+ } from "./chunk-7MUE4GTZ.mjs";
8
8
  import {
9
9
  AccessPolicySchema,
10
10
  ActionProgramDefinitionSchema,
@@ -119,7 +119,7 @@ import {
119
119
  require_validation,
120
120
  require_validation_error,
121
121
  resolveThemeTokens
122
- } from "./chunk-5IWBM5FS.mjs";
122
+ } from "./chunk-NKTRUUOP.mjs";
123
123
  import {
124
124
  __commonJS,
125
125
  __toESM
@@ -8116,4 +8116,4 @@ export {
8116
8116
  resolveViewHostShell,
8117
8117
  attenuateViewCapabilities
8118
8118
  };
8119
- //# sourceMappingURL=chunk-QM3K7CWF.mjs.map
8119
+ //# sourceMappingURL=chunk-DPHV7ES3.mjs.map
@@ -12156,12 +12156,31 @@ var PageMountRouteSchema = z18.object({
12156
12156
  if (new Set(inputs).size !== inputs.length)
12157
12157
  context.addIssue({ code: "custom", message: "A route input must have one URL owner." });
12158
12158
  });
12159
+ var PageMountBindingSourceSchema = z18.discriminatedUnion("kind", [
12160
+ z18.object({ kind: z18.literal("constant"), value: z18.unknown().superRefine((value, context) => {
12161
+ if (!value || typeof value !== "object") return;
12162
+ try {
12163
+ assertPageValueBudget(value);
12164
+ const pending = [value];
12165
+ while (pending.length) {
12166
+ const current = pending.pop();
12167
+ if (!current || typeof current !== "object") continue;
12168
+ if (!Array.isArray(current) && ![Object.prototype, null].includes(Object.getPrototypeOf(current)))
12169
+ throw new Error("Page mount constants require plain JSON objects.");
12170
+ pending.push(...Object.values(current));
12171
+ }
12172
+ } catch (error) {
12173
+ context.addIssue({ code: "custom", message: error instanceof Error ? error.message : "PAGE_EXPRESSION_BUDGET" });
12174
+ }
12175
+ }).pipe(JsonValueSchema) }).strict(),
12176
+ ...BindingSourceSchema.options.filter((source) => source.shape.kind.value !== "constant")
12177
+ ]);
12159
12178
  var PageMountSchema = z18.object({
12160
12179
  mountId: ContractIdentifierSchema,
12161
12180
  target: z18.object({ kind: z18.literal("page"), id: ContractIdentifierSchema }).strict(),
12162
12181
  slot: ContractIdentifierSchema,
12163
12182
  presentation: z18.enum(["inline", "panel", "drawer", "modal", "fullscreen"]),
12164
- inputs: z18.record(ContractIdentifierSchema, BindingSourceSchema),
12183
+ inputs: z18.record(ContractIdentifierSchema, PageMountBindingSourceSchema),
12165
12184
  instanceKey: z18.array(ContractIdentifierSchema).max(16).optional(),
12166
12185
  route: PageMountRouteSchema.optional(),
12167
12186
  activeWhen: PageStateActivationSchema.optional(),
@@ -22789,4 +22808,4 @@ export {
22789
22808
  ViewShareLinkPolicySchema,
22790
22809
  ViewOntologyRecordSchema
22791
22810
  };
22792
- //# sourceMappingURL=chunk-5IWBM5FS.mjs.map
22811
+ //# sourceMappingURL=chunk-NKTRUUOP.mjs.map