@inf-monkeys-tech/monkeys 1.1.16 → 1.1.18

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 (55) hide show
  1. package/README.md +20 -0
  2. package/lib/contracts/action-program-http.d.ts +1021 -0
  3. package/lib/contracts/action-program-http.d.ts.map +1 -0
  4. package/lib/contracts/action-program-http.js +42 -0
  5. package/lib/contracts/action-program-http.js.map +1 -0
  6. package/lib/contracts/declarative-control-http.d.ts +11365 -18
  7. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  8. package/lib/contracts/declarative-control.d.ts +3263 -1022
  9. package/lib/contracts/declarative-control.d.ts.map +1 -1
  10. package/lib/contracts/declarative-control.js +278 -5
  11. package/lib/contracts/declarative-control.js.map +1 -1
  12. package/lib/contracts/declarative-publication-job.d.ts +3356 -8
  13. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  14. package/lib/contracts/index.d.ts +1 -0
  15. package/lib/contracts/index.d.ts.map +1 -1
  16. package/lib/contracts/index.js +1 -0
  17. package/lib/contracts/index.js.map +1 -1
  18. package/lib/esm/contracts/index.mjs +342 -3
  19. package/lib/esm/contracts/index.mjs.map +1 -1
  20. package/lib/esm/index.mjs +689 -29
  21. package/lib/esm/index.mjs.map +1 -1
  22. package/lib/esm/runtime/index.mjs +639 -29
  23. package/lib/esm/runtime/index.mjs.map +1 -1
  24. package/lib/esm/schemas/index.mjs +4088 -3797
  25. package/lib/esm/schemas/index.mjs.map +1 -1
  26. package/lib/json-schema/action-program-artifact.schema.json +1226 -0
  27. package/lib/json-schema/action-program-definition.schema.json +1205 -0
  28. package/lib/json-schema/index.json +2 -0
  29. package/lib/json-schema/navigation-release.schema.json +1 -0
  30. package/lib/json-schema/navigation-runtime-bundle.schema.json +1 -0
  31. package/lib/json-schema/page-release.schema.json +1 -0
  32. package/lib/json-schema/page-runtime-bundle.schema.json +2436 -0
  33. package/lib/json-schema/page.schema.json +941 -0
  34. package/lib/json-schema/workbench-release.schema.json +1 -0
  35. package/lib/json-schema/workbench-runtime-bundle.schema.json +1 -0
  36. package/lib/runtime/action-program-author.d.ts +40 -0
  37. package/lib/runtime/action-program-author.d.ts.map +1 -0
  38. package/lib/runtime/action-program-author.js +178 -0
  39. package/lib/runtime/action-program-author.js.map +1 -0
  40. package/lib/runtime/declarative-control-compiler.d.ts +9 -1
  41. package/lib/runtime/declarative-control-compiler.d.ts.map +1 -1
  42. package/lib/runtime/declarative-control-compiler.js +123 -7
  43. package/lib/runtime/declarative-control-compiler.js.map +1 -1
  44. package/lib/runtime/declarative-runtime-contract.d.ts.map +1 -1
  45. package/lib/runtime/declarative-runtime-contract.js +40 -2
  46. package/lib/runtime/declarative-runtime-contract.js.map +1 -1
  47. package/lib/runtime/index.d.ts +1 -0
  48. package/lib/runtime/index.d.ts.map +1 -1
  49. package/lib/runtime/index.js +1 -0
  50. package/lib/runtime/index.js.map +1 -1
  51. package/lib/schemas/index.d.ts +2216 -1232
  52. package/lib/schemas/index.d.ts.map +1 -1
  53. package/lib/schemas/index.js +116 -111
  54. package/lib/schemas/index.js.map +1 -1
  55. package/package.json +4 -2
@@ -1085,6 +1085,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
1085
1085
  "projection-spec": "projection-spec";
1086
1086
  "query-definition": "query-definition";
1087
1087
  projection: "projection";
1088
+ "action-program": "action-program";
1088
1089
  token: "token";
1089
1090
  schema: "schema";
1090
1091
  compiler: "compiler";
@@ -1726,6 +1727,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
1726
1727
  "projection-spec": "projection-spec";
1727
1728
  "query-definition": "query-definition";
1728
1729
  projection: "projection";
1730
+ "action-program": "action-program";
1729
1731
  token: "token";
1730
1732
  schema: "schema";
1731
1733
  compiler: "compiler";
@@ -2493,6 +2495,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
2493
2495
  "projection-spec": "projection-spec";
2494
2496
  "query-definition": "query-definition";
2495
2497
  projection: "projection";
2498
+ "action-program": "action-program";
2496
2499
  token: "token";
2497
2500
  schema: "schema";
2498
2501
  compiler: "compiler";
@@ -4510,7 +4513,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
4510
4513
  };
4511
4514
  generation: number;
4512
4515
  dependencySnapshot: {
4513
- role: "workflow" | "action" | "provider" | "shell" | "capability" | "agent" | "page" | "navigation" | "view" | "route-space" | "page-release" | "workbench" | "workbench-release" | "navigation-release" | "menu-action" | "application-menu-catalog" | "ontology-definition" | "projection-spec" | "query-definition" | "projection" | "token" | "schema" | "compiler" | "built-in-application" | "design" | "layout-policy" | "performance-budget" | "observation-policy";
4516
+ role: "workflow" | "action" | "provider" | "shell" | "capability" | "agent" | "page" | "navigation" | "view" | "route-space" | "page-release" | "workbench" | "workbench-release" | "navigation-release" | "menu-action" | "application-menu-catalog" | "ontology-definition" | "projection-spec" | "query-definition" | "projection" | "action-program" | "token" | "schema" | "compiler" | "built-in-application" | "design" | "layout-policy" | "performance-budget" | "observation-policy";
4514
4517
  revisionRef: {
4515
4518
  revision: number;
4516
4519
  schemaVersion: number;
@@ -4765,6 +4768,422 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
4765
4768
  queries: Record<string, string>;
4766
4769
  writeInteractions: string[];
4767
4770
  }[] | undefined;
4771
+ programBindings?: {
4772
+ source: {
4773
+ capabilityInstanceId: string;
4774
+ port: string;
4775
+ };
4776
+ sourceIntentSchemaRevisionRef: {
4777
+ revision: number;
4778
+ schemaVersion: number;
4779
+ contentHash: string;
4780
+ kind: string;
4781
+ id: string;
4782
+ ownerRepo: string;
4783
+ visibility: "tenant" | "public" | "global";
4784
+ tenantScope?: {
4785
+ tenantRef: {
4786
+ kind: string;
4787
+ id: string;
4788
+ ownerRepo: string;
4789
+ };
4790
+ dataSpaceRef: {
4791
+ kind: string;
4792
+ id: string;
4793
+ ownerRepo: string;
4794
+ };
4795
+ teamRef?: {
4796
+ kind: string;
4797
+ id: string;
4798
+ ownerRepo: string;
4799
+ } | undefined;
4800
+ } | undefined;
4801
+ };
4802
+ programRevisionRef: {
4803
+ revision: number;
4804
+ schemaVersion: number;
4805
+ contentHash: string;
4806
+ kind: string;
4807
+ id: string;
4808
+ ownerRepo: string;
4809
+ visibility: "tenant" | "public" | "global";
4810
+ tenantScope?: {
4811
+ tenantRef: {
4812
+ kind: string;
4813
+ id: string;
4814
+ ownerRepo: string;
4815
+ };
4816
+ dataSpaceRef: {
4817
+ kind: string;
4818
+ id: string;
4819
+ ownerRepo: string;
4820
+ };
4821
+ teamRef?: {
4822
+ kind: string;
4823
+ id: string;
4824
+ ownerRepo: string;
4825
+ } | undefined;
4826
+ } | undefined;
4827
+ };
4828
+ definition: {
4829
+ contract: "ActionProgramDefinition";
4830
+ schemaVersion: 1;
4831
+ programId: string;
4832
+ ownerRepo: string;
4833
+ tenantScope: {
4834
+ tenantRef: {
4835
+ kind: string;
4836
+ id: string;
4837
+ ownerRepo: string;
4838
+ };
4839
+ dataSpaceRef: {
4840
+ kind: string;
4841
+ id: string;
4842
+ ownerRepo: string;
4843
+ };
4844
+ teamRef?: {
4845
+ kind: string;
4846
+ id: string;
4847
+ ownerRepo: string;
4848
+ } | undefined;
4849
+ };
4850
+ supportedSurface: "studio";
4851
+ inputSchemaRevisionRef: {
4852
+ revision: number;
4853
+ schemaVersion: number;
4854
+ contentHash: string;
4855
+ kind: string;
4856
+ id: string;
4857
+ ownerRepo: string;
4858
+ visibility: "tenant" | "public" | "global";
4859
+ tenantScope?: {
4860
+ tenantRef: {
4861
+ kind: string;
4862
+ id: string;
4863
+ ownerRepo: string;
4864
+ };
4865
+ dataSpaceRef: {
4866
+ kind: string;
4867
+ id: string;
4868
+ ownerRepo: string;
4869
+ };
4870
+ teamRef?: {
4871
+ kind: string;
4872
+ id: string;
4873
+ ownerRepo: string;
4874
+ } | undefined;
4875
+ } | undefined;
4876
+ };
4877
+ resultSchemaRevisionRef: {
4878
+ revision: number;
4879
+ schemaVersion: number;
4880
+ contentHash: string;
4881
+ kind: string;
4882
+ id: string;
4883
+ ownerRepo: string;
4884
+ visibility: "tenant" | "public" | "global";
4885
+ tenantScope?: {
4886
+ tenantRef: {
4887
+ kind: string;
4888
+ id: string;
4889
+ ownerRepo: string;
4890
+ };
4891
+ dataSpaceRef: {
4892
+ kind: string;
4893
+ id: string;
4894
+ ownerRepo: string;
4895
+ };
4896
+ teamRef?: {
4897
+ kind: string;
4898
+ id: string;
4899
+ ownerRepo: string;
4900
+ } | undefined;
4901
+ } | undefined;
4902
+ };
4903
+ entry: "main";
4904
+ abi: "monkeys.action-program/2";
4905
+ compiler: string;
4906
+ target: "browser-worker-es2020";
4907
+ sourceHash: string;
4908
+ compiledHash: string;
4909
+ sourceMapHash: string;
4910
+ dependencies: {
4911
+ kind: "query" | "command";
4912
+ revisionRef: {
4913
+ revision: number;
4914
+ schemaVersion: number;
4915
+ contentHash: string;
4916
+ kind: string;
4917
+ id: string;
4918
+ ownerRepo: string;
4919
+ visibility: "tenant" | "public" | "global";
4920
+ tenantScope?: {
4921
+ tenantRef: {
4922
+ kind: string;
4923
+ id: string;
4924
+ ownerRepo: string;
4925
+ };
4926
+ dataSpaceRef: {
4927
+ kind: string;
4928
+ id: string;
4929
+ ownerRepo: string;
4930
+ };
4931
+ teamRef?: {
4932
+ kind: string;
4933
+ id: string;
4934
+ ownerRepo: string;
4935
+ } | undefined;
4936
+ } | undefined;
4937
+ };
4938
+ inputSchemaRevisionRef: {
4939
+ revision: number;
4940
+ schemaVersion: number;
4941
+ contentHash: string;
4942
+ kind: string;
4943
+ id: string;
4944
+ ownerRepo: string;
4945
+ visibility: "tenant" | "public" | "global";
4946
+ tenantScope?: {
4947
+ tenantRef: {
4948
+ kind: string;
4949
+ id: string;
4950
+ ownerRepo: string;
4951
+ };
4952
+ dataSpaceRef: {
4953
+ kind: string;
4954
+ id: string;
4955
+ ownerRepo: string;
4956
+ };
4957
+ teamRef?: {
4958
+ kind: string;
4959
+ id: string;
4960
+ ownerRepo: string;
4961
+ } | undefined;
4962
+ } | undefined;
4963
+ };
4964
+ resultSchemaRevisionRef: {
4965
+ revision: number;
4966
+ schemaVersion: number;
4967
+ contentHash: string;
4968
+ kind: string;
4969
+ id: string;
4970
+ ownerRepo: string;
4971
+ visibility: "tenant" | "public" | "global";
4972
+ tenantScope?: {
4973
+ tenantRef: {
4974
+ kind: string;
4975
+ id: string;
4976
+ ownerRepo: string;
4977
+ };
4978
+ dataSpaceRef: {
4979
+ kind: string;
4980
+ id: string;
4981
+ ownerRepo: string;
4982
+ };
4983
+ teamRef?: {
4984
+ kind: string;
4985
+ id: string;
4986
+ ownerRepo: string;
4987
+ } | undefined;
4988
+ } | undefined;
4989
+ };
4990
+ dynamicInputKeys: string[];
4991
+ download?: {
4992
+ kind: "native";
4993
+ } | {
4994
+ kind: "text-artifact";
4995
+ fileNamePath: string[];
4996
+ mimeTypePath: string[];
4997
+ contentPath: string[];
4998
+ maxBytes: number;
4999
+ } | undefined;
5000
+ }[];
5001
+ effects: ("download" | "toast" | "form" | "refresh" | "state.get" | "state.set")[];
5002
+ refreshAliases: string[];
5003
+ stateAliases: {
5004
+ alias: string;
5005
+ schemaRevisionRef: {
5006
+ revision: number;
5007
+ schemaVersion: number;
5008
+ contentHash: string;
5009
+ kind: string;
5010
+ id: string;
5011
+ ownerRepo: string;
5012
+ visibility: "tenant" | "public" | "global";
5013
+ tenantScope?: {
5014
+ tenantRef: {
5015
+ kind: string;
5016
+ id: string;
5017
+ ownerRepo: string;
5018
+ };
5019
+ dataSpaceRef: {
5020
+ kind: string;
5021
+ id: string;
5022
+ ownerRepo: string;
5023
+ };
5024
+ teamRef?: {
5025
+ kind: string;
5026
+ id: string;
5027
+ ownerRepo: string;
5028
+ } | undefined;
5029
+ } | undefined;
5030
+ };
5031
+ }[];
5032
+ budgets: {
5033
+ rpcMs: number;
5034
+ concurrentCalls: number;
5035
+ calls: number;
5036
+ messageBytes: number;
5037
+ activeMs: number;
5038
+ formMs: number;
5039
+ wallMs: number;
5040
+ };
5041
+ };
5042
+ bindingId: string;
5043
+ inputMapping: Record<string, {
5044
+ kind: "scope-field";
5045
+ path: string;
5046
+ } | {
5047
+ kind: "binding-field";
5048
+ bindingId: string;
5049
+ path: string;
5050
+ } | {
5051
+ kind: "constant";
5052
+ value: string | number | boolean | null;
5053
+ } | {
5054
+ kind: "route-parameter";
5055
+ name: string;
5056
+ } | {
5057
+ kind: "query-parameter";
5058
+ name: string;
5059
+ } | {
5060
+ kind: "identity";
5061
+ name: "tenantId" | "teamId" | "userId";
5062
+ } | {
5063
+ kind: "intent-field";
5064
+ path: string;
5065
+ } | {
5066
+ kind: "page-state";
5067
+ stateId: string;
5068
+ } | {
5069
+ kind: "expression";
5070
+ expression: import("./page-expression").PageExpression;
5071
+ }>;
5072
+ dependencyInputs: Record<string, Record<string, {
5073
+ kind: "scope-field";
5074
+ path: string;
5075
+ } | {
5076
+ kind: "binding-field";
5077
+ bindingId: string;
5078
+ path: string;
5079
+ } | {
5080
+ kind: "constant";
5081
+ value: string | number | boolean | null;
5082
+ } | {
5083
+ kind: "route-parameter";
5084
+ name: string;
5085
+ } | {
5086
+ kind: "query-parameter";
5087
+ name: string;
5088
+ } | {
5089
+ kind: "identity";
5090
+ name: "tenantId" | "teamId" | "userId";
5091
+ } | {
5092
+ kind: "intent-field";
5093
+ path: string;
5094
+ } | {
5095
+ kind: "page-state";
5096
+ stateId: string;
5097
+ } | {
5098
+ kind: "expression";
5099
+ expression: import("./page-expression").PageExpression;
5100
+ }>>;
5101
+ accessPolicy: {
5102
+ authenticated: boolean;
5103
+ groupAllOf: {
5104
+ kind: string;
5105
+ id: string;
5106
+ ownerRepo: string;
5107
+ visibility: "tenant" | "public" | "global";
5108
+ tenantScope?: {
5109
+ tenantRef: {
5110
+ kind: string;
5111
+ id: string;
5112
+ ownerRepo: string;
5113
+ };
5114
+ dataSpaceRef: {
5115
+ kind: string;
5116
+ id: string;
5117
+ ownerRepo: string;
5118
+ };
5119
+ teamRef?: {
5120
+ kind: string;
5121
+ id: string;
5122
+ ownerRepo: string;
5123
+ } | undefined;
5124
+ } | undefined;
5125
+ }[];
5126
+ groupAnyOf: {
5127
+ kind: string;
5128
+ id: string;
5129
+ ownerRepo: string;
5130
+ visibility: "tenant" | "public" | "global";
5131
+ tenantScope?: {
5132
+ tenantRef: {
5133
+ kind: string;
5134
+ id: string;
5135
+ ownerRepo: string;
5136
+ };
5137
+ dataSpaceRef: {
5138
+ kind: string;
5139
+ id: string;
5140
+ ownerRepo: string;
5141
+ };
5142
+ teamRef?: {
5143
+ kind: string;
5144
+ id: string;
5145
+ ownerRepo: string;
5146
+ } | undefined;
5147
+ } | undefined;
5148
+ }[];
5149
+ permissionAllOf: string[];
5150
+ permissionAnyOf: string[];
5151
+ conditionAllOf: {
5152
+ revision: number;
5153
+ schemaVersion: number;
5154
+ contentHash: string;
5155
+ kind: string;
5156
+ id: string;
5157
+ ownerRepo: string;
5158
+ visibility: "tenant" | "public" | "global";
5159
+ tenantScope?: {
5160
+ tenantRef: {
5161
+ kind: string;
5162
+ id: string;
5163
+ ownerRepo: string;
5164
+ };
5165
+ dataSpaceRef: {
5166
+ kind: string;
5167
+ id: string;
5168
+ ownerRepo: string;
5169
+ };
5170
+ teamRef?: {
5171
+ kind: string;
5172
+ id: string;
5173
+ ownerRepo: string;
5174
+ } | undefined;
5175
+ } | undefined;
5176
+ }[];
5177
+ };
5178
+ concurrencyKeyPath: string[];
5179
+ refreshAliases: Record<string, string[]>;
5180
+ stateAliases: Record<string, string>;
5181
+ confirmation?: {
5182
+ defaultLocale: string;
5183
+ values: Record<string, string>;
5184
+ } | undefined;
5185
+ when?: import("./page-expression").PageExpression | undefined;
5186
+ }[] | undefined;
4768
5187
  } | import("./declarative-control").LegacyPageRuntimeBundle, unknown, z.core.$ZodTypeInternals<{
4769
5188
  pageId: string;
4770
5189
  pageRevisionRef: {
@@ -6524,7 +6943,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
6524
6943
  };
6525
6944
  generation: number;
6526
6945
  dependencySnapshot: {
6527
- role: "workflow" | "action" | "provider" | "shell" | "capability" | "agent" | "page" | "navigation" | "view" | "route-space" | "page-release" | "workbench" | "workbench-release" | "navigation-release" | "menu-action" | "application-menu-catalog" | "ontology-definition" | "projection-spec" | "query-definition" | "projection" | "token" | "schema" | "compiler" | "built-in-application" | "design" | "layout-policy" | "performance-budget" | "observation-policy";
6946
+ role: "workflow" | "action" | "provider" | "shell" | "capability" | "agent" | "page" | "navigation" | "view" | "route-space" | "page-release" | "workbench" | "workbench-release" | "navigation-release" | "menu-action" | "application-menu-catalog" | "ontology-definition" | "projection-spec" | "query-definition" | "projection" | "action-program" | "token" | "schema" | "compiler" | "built-in-application" | "design" | "layout-policy" | "performance-budget" | "observation-policy";
6528
6947
  revisionRef: {
6529
6948
  revision: number;
6530
6949
  schemaVersion: number;
@@ -6779,6 +7198,422 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
6779
7198
  queries: Record<string, string>;
6780
7199
  writeInteractions: string[];
6781
7200
  }[] | undefined;
7201
+ programBindings?: {
7202
+ source: {
7203
+ capabilityInstanceId: string;
7204
+ port: string;
7205
+ };
7206
+ sourceIntentSchemaRevisionRef: {
7207
+ revision: number;
7208
+ schemaVersion: number;
7209
+ contentHash: string;
7210
+ kind: string;
7211
+ id: string;
7212
+ ownerRepo: string;
7213
+ visibility: "tenant" | "public" | "global";
7214
+ tenantScope?: {
7215
+ tenantRef: {
7216
+ kind: string;
7217
+ id: string;
7218
+ ownerRepo: string;
7219
+ };
7220
+ dataSpaceRef: {
7221
+ kind: string;
7222
+ id: string;
7223
+ ownerRepo: string;
7224
+ };
7225
+ teamRef?: {
7226
+ kind: string;
7227
+ id: string;
7228
+ ownerRepo: string;
7229
+ } | undefined;
7230
+ } | undefined;
7231
+ };
7232
+ programRevisionRef: {
7233
+ revision: number;
7234
+ schemaVersion: number;
7235
+ contentHash: string;
7236
+ kind: string;
7237
+ id: string;
7238
+ ownerRepo: string;
7239
+ visibility: "tenant" | "public" | "global";
7240
+ tenantScope?: {
7241
+ tenantRef: {
7242
+ kind: string;
7243
+ id: string;
7244
+ ownerRepo: string;
7245
+ };
7246
+ dataSpaceRef: {
7247
+ kind: string;
7248
+ id: string;
7249
+ ownerRepo: string;
7250
+ };
7251
+ teamRef?: {
7252
+ kind: string;
7253
+ id: string;
7254
+ ownerRepo: string;
7255
+ } | undefined;
7256
+ } | undefined;
7257
+ };
7258
+ definition: {
7259
+ contract: "ActionProgramDefinition";
7260
+ schemaVersion: 1;
7261
+ programId: string;
7262
+ ownerRepo: string;
7263
+ tenantScope: {
7264
+ tenantRef: {
7265
+ kind: string;
7266
+ id: string;
7267
+ ownerRepo: string;
7268
+ };
7269
+ dataSpaceRef: {
7270
+ kind: string;
7271
+ id: string;
7272
+ ownerRepo: string;
7273
+ };
7274
+ teamRef?: {
7275
+ kind: string;
7276
+ id: string;
7277
+ ownerRepo: string;
7278
+ } | undefined;
7279
+ };
7280
+ supportedSurface: "studio";
7281
+ inputSchemaRevisionRef: {
7282
+ revision: number;
7283
+ schemaVersion: number;
7284
+ contentHash: string;
7285
+ kind: string;
7286
+ id: string;
7287
+ ownerRepo: string;
7288
+ visibility: "tenant" | "public" | "global";
7289
+ tenantScope?: {
7290
+ tenantRef: {
7291
+ kind: string;
7292
+ id: string;
7293
+ ownerRepo: string;
7294
+ };
7295
+ dataSpaceRef: {
7296
+ kind: string;
7297
+ id: string;
7298
+ ownerRepo: string;
7299
+ };
7300
+ teamRef?: {
7301
+ kind: string;
7302
+ id: string;
7303
+ ownerRepo: string;
7304
+ } | undefined;
7305
+ } | undefined;
7306
+ };
7307
+ resultSchemaRevisionRef: {
7308
+ revision: number;
7309
+ schemaVersion: number;
7310
+ contentHash: string;
7311
+ kind: string;
7312
+ id: string;
7313
+ ownerRepo: string;
7314
+ visibility: "tenant" | "public" | "global";
7315
+ tenantScope?: {
7316
+ tenantRef: {
7317
+ kind: string;
7318
+ id: string;
7319
+ ownerRepo: string;
7320
+ };
7321
+ dataSpaceRef: {
7322
+ kind: string;
7323
+ id: string;
7324
+ ownerRepo: string;
7325
+ };
7326
+ teamRef?: {
7327
+ kind: string;
7328
+ id: string;
7329
+ ownerRepo: string;
7330
+ } | undefined;
7331
+ } | undefined;
7332
+ };
7333
+ entry: "main";
7334
+ abi: "monkeys.action-program/2";
7335
+ compiler: string;
7336
+ target: "browser-worker-es2020";
7337
+ sourceHash: string;
7338
+ compiledHash: string;
7339
+ sourceMapHash: string;
7340
+ dependencies: {
7341
+ kind: "query" | "command";
7342
+ revisionRef: {
7343
+ revision: number;
7344
+ schemaVersion: number;
7345
+ contentHash: string;
7346
+ kind: string;
7347
+ id: string;
7348
+ ownerRepo: string;
7349
+ visibility: "tenant" | "public" | "global";
7350
+ tenantScope?: {
7351
+ tenantRef: {
7352
+ kind: string;
7353
+ id: string;
7354
+ ownerRepo: string;
7355
+ };
7356
+ dataSpaceRef: {
7357
+ kind: string;
7358
+ id: string;
7359
+ ownerRepo: string;
7360
+ };
7361
+ teamRef?: {
7362
+ kind: string;
7363
+ id: string;
7364
+ ownerRepo: string;
7365
+ } | undefined;
7366
+ } | undefined;
7367
+ };
7368
+ inputSchemaRevisionRef: {
7369
+ revision: number;
7370
+ schemaVersion: number;
7371
+ contentHash: string;
7372
+ kind: string;
7373
+ id: string;
7374
+ ownerRepo: string;
7375
+ visibility: "tenant" | "public" | "global";
7376
+ tenantScope?: {
7377
+ tenantRef: {
7378
+ kind: string;
7379
+ id: string;
7380
+ ownerRepo: string;
7381
+ };
7382
+ dataSpaceRef: {
7383
+ kind: string;
7384
+ id: string;
7385
+ ownerRepo: string;
7386
+ };
7387
+ teamRef?: {
7388
+ kind: string;
7389
+ id: string;
7390
+ ownerRepo: string;
7391
+ } | undefined;
7392
+ } | undefined;
7393
+ };
7394
+ resultSchemaRevisionRef: {
7395
+ revision: number;
7396
+ schemaVersion: number;
7397
+ contentHash: string;
7398
+ kind: string;
7399
+ id: string;
7400
+ ownerRepo: string;
7401
+ visibility: "tenant" | "public" | "global";
7402
+ tenantScope?: {
7403
+ tenantRef: {
7404
+ kind: string;
7405
+ id: string;
7406
+ ownerRepo: string;
7407
+ };
7408
+ dataSpaceRef: {
7409
+ kind: string;
7410
+ id: string;
7411
+ ownerRepo: string;
7412
+ };
7413
+ teamRef?: {
7414
+ kind: string;
7415
+ id: string;
7416
+ ownerRepo: string;
7417
+ } | undefined;
7418
+ } | undefined;
7419
+ };
7420
+ dynamicInputKeys: string[];
7421
+ download?: {
7422
+ kind: "native";
7423
+ } | {
7424
+ kind: "text-artifact";
7425
+ fileNamePath: string[];
7426
+ mimeTypePath: string[];
7427
+ contentPath: string[];
7428
+ maxBytes: number;
7429
+ } | undefined;
7430
+ }[];
7431
+ effects: ("download" | "toast" | "form" | "refresh" | "state.get" | "state.set")[];
7432
+ refreshAliases: string[];
7433
+ stateAliases: {
7434
+ alias: string;
7435
+ schemaRevisionRef: {
7436
+ revision: number;
7437
+ schemaVersion: number;
7438
+ contentHash: string;
7439
+ kind: string;
7440
+ id: string;
7441
+ ownerRepo: string;
7442
+ visibility: "tenant" | "public" | "global";
7443
+ tenantScope?: {
7444
+ tenantRef: {
7445
+ kind: string;
7446
+ id: string;
7447
+ ownerRepo: string;
7448
+ };
7449
+ dataSpaceRef: {
7450
+ kind: string;
7451
+ id: string;
7452
+ ownerRepo: string;
7453
+ };
7454
+ teamRef?: {
7455
+ kind: string;
7456
+ id: string;
7457
+ ownerRepo: string;
7458
+ } | undefined;
7459
+ } | undefined;
7460
+ };
7461
+ }[];
7462
+ budgets: {
7463
+ rpcMs: number;
7464
+ concurrentCalls: number;
7465
+ calls: number;
7466
+ messageBytes: number;
7467
+ activeMs: number;
7468
+ formMs: number;
7469
+ wallMs: number;
7470
+ };
7471
+ };
7472
+ bindingId: string;
7473
+ inputMapping: Record<string, {
7474
+ kind: "scope-field";
7475
+ path: string;
7476
+ } | {
7477
+ kind: "binding-field";
7478
+ bindingId: string;
7479
+ path: string;
7480
+ } | {
7481
+ kind: "constant";
7482
+ value: string | number | boolean | null;
7483
+ } | {
7484
+ kind: "route-parameter";
7485
+ name: string;
7486
+ } | {
7487
+ kind: "query-parameter";
7488
+ name: string;
7489
+ } | {
7490
+ kind: "identity";
7491
+ name: "tenantId" | "teamId" | "userId";
7492
+ } | {
7493
+ kind: "intent-field";
7494
+ path: string;
7495
+ } | {
7496
+ kind: "page-state";
7497
+ stateId: string;
7498
+ } | {
7499
+ kind: "expression";
7500
+ expression: import("./page-expression").PageExpression;
7501
+ }>;
7502
+ dependencyInputs: Record<string, Record<string, {
7503
+ kind: "scope-field";
7504
+ path: string;
7505
+ } | {
7506
+ kind: "binding-field";
7507
+ bindingId: string;
7508
+ path: string;
7509
+ } | {
7510
+ kind: "constant";
7511
+ value: string | number | boolean | null;
7512
+ } | {
7513
+ kind: "route-parameter";
7514
+ name: string;
7515
+ } | {
7516
+ kind: "query-parameter";
7517
+ name: string;
7518
+ } | {
7519
+ kind: "identity";
7520
+ name: "tenantId" | "teamId" | "userId";
7521
+ } | {
7522
+ kind: "intent-field";
7523
+ path: string;
7524
+ } | {
7525
+ kind: "page-state";
7526
+ stateId: string;
7527
+ } | {
7528
+ kind: "expression";
7529
+ expression: import("./page-expression").PageExpression;
7530
+ }>>;
7531
+ accessPolicy: {
7532
+ authenticated: boolean;
7533
+ groupAllOf: {
7534
+ kind: string;
7535
+ id: string;
7536
+ ownerRepo: string;
7537
+ visibility: "tenant" | "public" | "global";
7538
+ tenantScope?: {
7539
+ tenantRef: {
7540
+ kind: string;
7541
+ id: string;
7542
+ ownerRepo: string;
7543
+ };
7544
+ dataSpaceRef: {
7545
+ kind: string;
7546
+ id: string;
7547
+ ownerRepo: string;
7548
+ };
7549
+ teamRef?: {
7550
+ kind: string;
7551
+ id: string;
7552
+ ownerRepo: string;
7553
+ } | undefined;
7554
+ } | undefined;
7555
+ }[];
7556
+ groupAnyOf: {
7557
+ kind: string;
7558
+ id: string;
7559
+ ownerRepo: string;
7560
+ visibility: "tenant" | "public" | "global";
7561
+ tenantScope?: {
7562
+ tenantRef: {
7563
+ kind: string;
7564
+ id: string;
7565
+ ownerRepo: string;
7566
+ };
7567
+ dataSpaceRef: {
7568
+ kind: string;
7569
+ id: string;
7570
+ ownerRepo: string;
7571
+ };
7572
+ teamRef?: {
7573
+ kind: string;
7574
+ id: string;
7575
+ ownerRepo: string;
7576
+ } | undefined;
7577
+ } | undefined;
7578
+ }[];
7579
+ permissionAllOf: string[];
7580
+ permissionAnyOf: string[];
7581
+ conditionAllOf: {
7582
+ revision: number;
7583
+ schemaVersion: number;
7584
+ contentHash: string;
7585
+ kind: string;
7586
+ id: string;
7587
+ ownerRepo: string;
7588
+ visibility: "tenant" | "public" | "global";
7589
+ tenantScope?: {
7590
+ tenantRef: {
7591
+ kind: string;
7592
+ id: string;
7593
+ ownerRepo: string;
7594
+ };
7595
+ dataSpaceRef: {
7596
+ kind: string;
7597
+ id: string;
7598
+ ownerRepo: string;
7599
+ };
7600
+ teamRef?: {
7601
+ kind: string;
7602
+ id: string;
7603
+ ownerRepo: string;
7604
+ } | undefined;
7605
+ } | undefined;
7606
+ }[];
7607
+ };
7608
+ concurrencyKeyPath: string[];
7609
+ refreshAliases: Record<string, string[]>;
7610
+ stateAliases: Record<string, string>;
7611
+ confirmation?: {
7612
+ defaultLocale: string;
7613
+ values: Record<string, string>;
7614
+ } | undefined;
7615
+ when?: import("./page-expression").PageExpression | undefined;
7616
+ }[] | undefined;
6782
7617
  } | import("./declarative-control").LegacyPageRuntimeBundle, unknown>>, z.ZodObject<{
6783
7618
  navigationId: z.ZodString;
6784
7619
  navigationRevisionRef: z.ZodObject<{
@@ -8441,6 +9276,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
8441
9276
  "projection-spec": "projection-spec";
8442
9277
  "query-definition": "query-definition";
8443
9278
  projection: "projection";
9279
+ "action-program": "action-program";
8444
9280
  token: "token";
8445
9281
  schema: "schema";
8446
9282
  compiler: "compiler";
@@ -9761,6 +10597,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
9761
10597
  "projection-spec": "projection-spec";
9762
10598
  "query-definition": "query-definition";
9763
10599
  projection: "projection";
10600
+ "action-program": "action-program";
9764
10601
  token: "token";
9765
10602
  schema: "schema";
9766
10603
  compiler: "compiler";
@@ -10403,6 +11240,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
10403
11240
  "projection-spec": "projection-spec";
10404
11241
  "query-definition": "query-definition";
10405
11242
  projection: "projection";
11243
+ "action-program": "action-program";
10406
11244
  token: "token";
10407
11245
  schema: "schema";
10408
11246
  compiler: "compiler";
@@ -11044,6 +11882,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
11044
11882
  "projection-spec": "projection-spec";
11045
11883
  "query-definition": "query-definition";
11046
11884
  projection: "projection";
11885
+ "action-program": "action-program";
11047
11886
  token: "token";
11048
11887
  schema: "schema";
11049
11888
  compiler: "compiler";
@@ -11811,6 +12650,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
11811
12650
  "projection-spec": "projection-spec";
11812
12651
  "query-definition": "query-definition";
11813
12652
  projection: "projection";
12653
+ "action-program": "action-program";
11814
12654
  token: "token";
11815
12655
  schema: "schema";
11816
12656
  compiler: "compiler";
@@ -13828,7 +14668,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
13828
14668
  };
13829
14669
  generation: number;
13830
14670
  dependencySnapshot: {
13831
- role: "workflow" | "action" | "provider" | "shell" | "capability" | "agent" | "page" | "navigation" | "view" | "route-space" | "page-release" | "workbench" | "workbench-release" | "navigation-release" | "menu-action" | "application-menu-catalog" | "ontology-definition" | "projection-spec" | "query-definition" | "projection" | "token" | "schema" | "compiler" | "built-in-application" | "design" | "layout-policy" | "performance-budget" | "observation-policy";
14671
+ role: "workflow" | "action" | "provider" | "shell" | "capability" | "agent" | "page" | "navigation" | "view" | "route-space" | "page-release" | "workbench" | "workbench-release" | "navigation-release" | "menu-action" | "application-menu-catalog" | "ontology-definition" | "projection-spec" | "query-definition" | "projection" | "action-program" | "token" | "schema" | "compiler" | "built-in-application" | "design" | "layout-policy" | "performance-budget" | "observation-policy";
13832
14672
  revisionRef: {
13833
14673
  revision: number;
13834
14674
  schemaVersion: number;
@@ -14083,6 +14923,422 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
14083
14923
  queries: Record<string, string>;
14084
14924
  writeInteractions: string[];
14085
14925
  }[] | undefined;
14926
+ programBindings?: {
14927
+ source: {
14928
+ capabilityInstanceId: string;
14929
+ port: string;
14930
+ };
14931
+ sourceIntentSchemaRevisionRef: {
14932
+ revision: number;
14933
+ schemaVersion: number;
14934
+ contentHash: string;
14935
+ kind: string;
14936
+ id: string;
14937
+ ownerRepo: string;
14938
+ visibility: "tenant" | "public" | "global";
14939
+ tenantScope?: {
14940
+ tenantRef: {
14941
+ kind: string;
14942
+ id: string;
14943
+ ownerRepo: string;
14944
+ };
14945
+ dataSpaceRef: {
14946
+ kind: string;
14947
+ id: string;
14948
+ ownerRepo: string;
14949
+ };
14950
+ teamRef?: {
14951
+ kind: string;
14952
+ id: string;
14953
+ ownerRepo: string;
14954
+ } | undefined;
14955
+ } | undefined;
14956
+ };
14957
+ programRevisionRef: {
14958
+ revision: number;
14959
+ schemaVersion: number;
14960
+ contentHash: string;
14961
+ kind: string;
14962
+ id: string;
14963
+ ownerRepo: string;
14964
+ visibility: "tenant" | "public" | "global";
14965
+ tenantScope?: {
14966
+ tenantRef: {
14967
+ kind: string;
14968
+ id: string;
14969
+ ownerRepo: string;
14970
+ };
14971
+ dataSpaceRef: {
14972
+ kind: string;
14973
+ id: string;
14974
+ ownerRepo: string;
14975
+ };
14976
+ teamRef?: {
14977
+ kind: string;
14978
+ id: string;
14979
+ ownerRepo: string;
14980
+ } | undefined;
14981
+ } | undefined;
14982
+ };
14983
+ definition: {
14984
+ contract: "ActionProgramDefinition";
14985
+ schemaVersion: 1;
14986
+ programId: string;
14987
+ ownerRepo: string;
14988
+ tenantScope: {
14989
+ tenantRef: {
14990
+ kind: string;
14991
+ id: string;
14992
+ ownerRepo: string;
14993
+ };
14994
+ dataSpaceRef: {
14995
+ kind: string;
14996
+ id: string;
14997
+ ownerRepo: string;
14998
+ };
14999
+ teamRef?: {
15000
+ kind: string;
15001
+ id: string;
15002
+ ownerRepo: string;
15003
+ } | undefined;
15004
+ };
15005
+ supportedSurface: "studio";
15006
+ inputSchemaRevisionRef: {
15007
+ revision: number;
15008
+ schemaVersion: number;
15009
+ contentHash: string;
15010
+ kind: string;
15011
+ id: string;
15012
+ ownerRepo: string;
15013
+ visibility: "tenant" | "public" | "global";
15014
+ tenantScope?: {
15015
+ tenantRef: {
15016
+ kind: string;
15017
+ id: string;
15018
+ ownerRepo: string;
15019
+ };
15020
+ dataSpaceRef: {
15021
+ kind: string;
15022
+ id: string;
15023
+ ownerRepo: string;
15024
+ };
15025
+ teamRef?: {
15026
+ kind: string;
15027
+ id: string;
15028
+ ownerRepo: string;
15029
+ } | undefined;
15030
+ } | undefined;
15031
+ };
15032
+ resultSchemaRevisionRef: {
15033
+ revision: number;
15034
+ schemaVersion: number;
15035
+ contentHash: string;
15036
+ kind: string;
15037
+ id: string;
15038
+ ownerRepo: string;
15039
+ visibility: "tenant" | "public" | "global";
15040
+ tenantScope?: {
15041
+ tenantRef: {
15042
+ kind: string;
15043
+ id: string;
15044
+ ownerRepo: string;
15045
+ };
15046
+ dataSpaceRef: {
15047
+ kind: string;
15048
+ id: string;
15049
+ ownerRepo: string;
15050
+ };
15051
+ teamRef?: {
15052
+ kind: string;
15053
+ id: string;
15054
+ ownerRepo: string;
15055
+ } | undefined;
15056
+ } | undefined;
15057
+ };
15058
+ entry: "main";
15059
+ abi: "monkeys.action-program/2";
15060
+ compiler: string;
15061
+ target: "browser-worker-es2020";
15062
+ sourceHash: string;
15063
+ compiledHash: string;
15064
+ sourceMapHash: string;
15065
+ dependencies: {
15066
+ kind: "query" | "command";
15067
+ revisionRef: {
15068
+ revision: number;
15069
+ schemaVersion: number;
15070
+ contentHash: string;
15071
+ kind: string;
15072
+ id: string;
15073
+ ownerRepo: string;
15074
+ visibility: "tenant" | "public" | "global";
15075
+ tenantScope?: {
15076
+ tenantRef: {
15077
+ kind: string;
15078
+ id: string;
15079
+ ownerRepo: string;
15080
+ };
15081
+ dataSpaceRef: {
15082
+ kind: string;
15083
+ id: string;
15084
+ ownerRepo: string;
15085
+ };
15086
+ teamRef?: {
15087
+ kind: string;
15088
+ id: string;
15089
+ ownerRepo: string;
15090
+ } | undefined;
15091
+ } | undefined;
15092
+ };
15093
+ inputSchemaRevisionRef: {
15094
+ revision: number;
15095
+ schemaVersion: number;
15096
+ contentHash: string;
15097
+ kind: string;
15098
+ id: string;
15099
+ ownerRepo: string;
15100
+ visibility: "tenant" | "public" | "global";
15101
+ tenantScope?: {
15102
+ tenantRef: {
15103
+ kind: string;
15104
+ id: string;
15105
+ ownerRepo: string;
15106
+ };
15107
+ dataSpaceRef: {
15108
+ kind: string;
15109
+ id: string;
15110
+ ownerRepo: string;
15111
+ };
15112
+ teamRef?: {
15113
+ kind: string;
15114
+ id: string;
15115
+ ownerRepo: string;
15116
+ } | undefined;
15117
+ } | undefined;
15118
+ };
15119
+ resultSchemaRevisionRef: {
15120
+ revision: number;
15121
+ schemaVersion: number;
15122
+ contentHash: string;
15123
+ kind: string;
15124
+ id: string;
15125
+ ownerRepo: string;
15126
+ visibility: "tenant" | "public" | "global";
15127
+ tenantScope?: {
15128
+ tenantRef: {
15129
+ kind: string;
15130
+ id: string;
15131
+ ownerRepo: string;
15132
+ };
15133
+ dataSpaceRef: {
15134
+ kind: string;
15135
+ id: string;
15136
+ ownerRepo: string;
15137
+ };
15138
+ teamRef?: {
15139
+ kind: string;
15140
+ id: string;
15141
+ ownerRepo: string;
15142
+ } | undefined;
15143
+ } | undefined;
15144
+ };
15145
+ dynamicInputKeys: string[];
15146
+ download?: {
15147
+ kind: "native";
15148
+ } | {
15149
+ kind: "text-artifact";
15150
+ fileNamePath: string[];
15151
+ mimeTypePath: string[];
15152
+ contentPath: string[];
15153
+ maxBytes: number;
15154
+ } | undefined;
15155
+ }[];
15156
+ effects: ("download" | "toast" | "form" | "refresh" | "state.get" | "state.set")[];
15157
+ refreshAliases: string[];
15158
+ stateAliases: {
15159
+ alias: string;
15160
+ schemaRevisionRef: {
15161
+ revision: number;
15162
+ schemaVersion: number;
15163
+ contentHash: string;
15164
+ kind: string;
15165
+ id: string;
15166
+ ownerRepo: string;
15167
+ visibility: "tenant" | "public" | "global";
15168
+ tenantScope?: {
15169
+ tenantRef: {
15170
+ kind: string;
15171
+ id: string;
15172
+ ownerRepo: string;
15173
+ };
15174
+ dataSpaceRef: {
15175
+ kind: string;
15176
+ id: string;
15177
+ ownerRepo: string;
15178
+ };
15179
+ teamRef?: {
15180
+ kind: string;
15181
+ id: string;
15182
+ ownerRepo: string;
15183
+ } | undefined;
15184
+ } | undefined;
15185
+ };
15186
+ }[];
15187
+ budgets: {
15188
+ rpcMs: number;
15189
+ concurrentCalls: number;
15190
+ calls: number;
15191
+ messageBytes: number;
15192
+ activeMs: number;
15193
+ formMs: number;
15194
+ wallMs: number;
15195
+ };
15196
+ };
15197
+ bindingId: string;
15198
+ inputMapping: Record<string, {
15199
+ kind: "scope-field";
15200
+ path: string;
15201
+ } | {
15202
+ kind: "binding-field";
15203
+ bindingId: string;
15204
+ path: string;
15205
+ } | {
15206
+ kind: "constant";
15207
+ value: string | number | boolean | null;
15208
+ } | {
15209
+ kind: "route-parameter";
15210
+ name: string;
15211
+ } | {
15212
+ kind: "query-parameter";
15213
+ name: string;
15214
+ } | {
15215
+ kind: "identity";
15216
+ name: "tenantId" | "teamId" | "userId";
15217
+ } | {
15218
+ kind: "intent-field";
15219
+ path: string;
15220
+ } | {
15221
+ kind: "page-state";
15222
+ stateId: string;
15223
+ } | {
15224
+ kind: "expression";
15225
+ expression: import("./page-expression").PageExpression;
15226
+ }>;
15227
+ dependencyInputs: Record<string, Record<string, {
15228
+ kind: "scope-field";
15229
+ path: string;
15230
+ } | {
15231
+ kind: "binding-field";
15232
+ bindingId: string;
15233
+ path: string;
15234
+ } | {
15235
+ kind: "constant";
15236
+ value: string | number | boolean | null;
15237
+ } | {
15238
+ kind: "route-parameter";
15239
+ name: string;
15240
+ } | {
15241
+ kind: "query-parameter";
15242
+ name: string;
15243
+ } | {
15244
+ kind: "identity";
15245
+ name: "tenantId" | "teamId" | "userId";
15246
+ } | {
15247
+ kind: "intent-field";
15248
+ path: string;
15249
+ } | {
15250
+ kind: "page-state";
15251
+ stateId: string;
15252
+ } | {
15253
+ kind: "expression";
15254
+ expression: import("./page-expression").PageExpression;
15255
+ }>>;
15256
+ accessPolicy: {
15257
+ authenticated: boolean;
15258
+ groupAllOf: {
15259
+ kind: string;
15260
+ id: string;
15261
+ ownerRepo: string;
15262
+ visibility: "tenant" | "public" | "global";
15263
+ tenantScope?: {
15264
+ tenantRef: {
15265
+ kind: string;
15266
+ id: string;
15267
+ ownerRepo: string;
15268
+ };
15269
+ dataSpaceRef: {
15270
+ kind: string;
15271
+ id: string;
15272
+ ownerRepo: string;
15273
+ };
15274
+ teamRef?: {
15275
+ kind: string;
15276
+ id: string;
15277
+ ownerRepo: string;
15278
+ } | undefined;
15279
+ } | undefined;
15280
+ }[];
15281
+ groupAnyOf: {
15282
+ kind: string;
15283
+ id: string;
15284
+ ownerRepo: string;
15285
+ visibility: "tenant" | "public" | "global";
15286
+ tenantScope?: {
15287
+ tenantRef: {
15288
+ kind: string;
15289
+ id: string;
15290
+ ownerRepo: string;
15291
+ };
15292
+ dataSpaceRef: {
15293
+ kind: string;
15294
+ id: string;
15295
+ ownerRepo: string;
15296
+ };
15297
+ teamRef?: {
15298
+ kind: string;
15299
+ id: string;
15300
+ ownerRepo: string;
15301
+ } | undefined;
15302
+ } | undefined;
15303
+ }[];
15304
+ permissionAllOf: string[];
15305
+ permissionAnyOf: string[];
15306
+ conditionAllOf: {
15307
+ revision: number;
15308
+ schemaVersion: number;
15309
+ contentHash: string;
15310
+ kind: string;
15311
+ id: string;
15312
+ ownerRepo: string;
15313
+ visibility: "tenant" | "public" | "global";
15314
+ tenantScope?: {
15315
+ tenantRef: {
15316
+ kind: string;
15317
+ id: string;
15318
+ ownerRepo: string;
15319
+ };
15320
+ dataSpaceRef: {
15321
+ kind: string;
15322
+ id: string;
15323
+ ownerRepo: string;
15324
+ };
15325
+ teamRef?: {
15326
+ kind: string;
15327
+ id: string;
15328
+ ownerRepo: string;
15329
+ } | undefined;
15330
+ } | undefined;
15331
+ }[];
15332
+ };
15333
+ concurrencyKeyPath: string[];
15334
+ refreshAliases: Record<string, string[]>;
15335
+ stateAliases: Record<string, string>;
15336
+ confirmation?: {
15337
+ defaultLocale: string;
15338
+ values: Record<string, string>;
15339
+ } | undefined;
15340
+ when?: import("./page-expression").PageExpression | undefined;
15341
+ }[] | undefined;
14086
15342
  } | import("./declarative-control").LegacyPageRuntimeBundle, unknown, z.core.$ZodTypeInternals<{
14087
15343
  pageId: string;
14088
15344
  pageRevisionRef: {
@@ -15842,7 +17098,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
15842
17098
  };
15843
17099
  generation: number;
15844
17100
  dependencySnapshot: {
15845
- role: "workflow" | "action" | "provider" | "shell" | "capability" | "agent" | "page" | "navigation" | "view" | "route-space" | "page-release" | "workbench" | "workbench-release" | "navigation-release" | "menu-action" | "application-menu-catalog" | "ontology-definition" | "projection-spec" | "query-definition" | "projection" | "token" | "schema" | "compiler" | "built-in-application" | "design" | "layout-policy" | "performance-budget" | "observation-policy";
17101
+ role: "workflow" | "action" | "provider" | "shell" | "capability" | "agent" | "page" | "navigation" | "view" | "route-space" | "page-release" | "workbench" | "workbench-release" | "navigation-release" | "menu-action" | "application-menu-catalog" | "ontology-definition" | "projection-spec" | "query-definition" | "projection" | "action-program" | "token" | "schema" | "compiler" | "built-in-application" | "design" | "layout-policy" | "performance-budget" | "observation-policy";
15846
17102
  revisionRef: {
15847
17103
  revision: number;
15848
17104
  schemaVersion: number;
@@ -16097,6 +17353,422 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
16097
17353
  queries: Record<string, string>;
16098
17354
  writeInteractions: string[];
16099
17355
  }[] | undefined;
17356
+ programBindings?: {
17357
+ source: {
17358
+ capabilityInstanceId: string;
17359
+ port: string;
17360
+ };
17361
+ sourceIntentSchemaRevisionRef: {
17362
+ revision: number;
17363
+ schemaVersion: number;
17364
+ contentHash: string;
17365
+ kind: string;
17366
+ id: string;
17367
+ ownerRepo: string;
17368
+ visibility: "tenant" | "public" | "global";
17369
+ tenantScope?: {
17370
+ tenantRef: {
17371
+ kind: string;
17372
+ id: string;
17373
+ ownerRepo: string;
17374
+ };
17375
+ dataSpaceRef: {
17376
+ kind: string;
17377
+ id: string;
17378
+ ownerRepo: string;
17379
+ };
17380
+ teamRef?: {
17381
+ kind: string;
17382
+ id: string;
17383
+ ownerRepo: string;
17384
+ } | undefined;
17385
+ } | undefined;
17386
+ };
17387
+ programRevisionRef: {
17388
+ revision: number;
17389
+ schemaVersion: number;
17390
+ contentHash: string;
17391
+ kind: string;
17392
+ id: string;
17393
+ ownerRepo: string;
17394
+ visibility: "tenant" | "public" | "global";
17395
+ tenantScope?: {
17396
+ tenantRef: {
17397
+ kind: string;
17398
+ id: string;
17399
+ ownerRepo: string;
17400
+ };
17401
+ dataSpaceRef: {
17402
+ kind: string;
17403
+ id: string;
17404
+ ownerRepo: string;
17405
+ };
17406
+ teamRef?: {
17407
+ kind: string;
17408
+ id: string;
17409
+ ownerRepo: string;
17410
+ } | undefined;
17411
+ } | undefined;
17412
+ };
17413
+ definition: {
17414
+ contract: "ActionProgramDefinition";
17415
+ schemaVersion: 1;
17416
+ programId: string;
17417
+ ownerRepo: string;
17418
+ tenantScope: {
17419
+ tenantRef: {
17420
+ kind: string;
17421
+ id: string;
17422
+ ownerRepo: string;
17423
+ };
17424
+ dataSpaceRef: {
17425
+ kind: string;
17426
+ id: string;
17427
+ ownerRepo: string;
17428
+ };
17429
+ teamRef?: {
17430
+ kind: string;
17431
+ id: string;
17432
+ ownerRepo: string;
17433
+ } | undefined;
17434
+ };
17435
+ supportedSurface: "studio";
17436
+ inputSchemaRevisionRef: {
17437
+ revision: number;
17438
+ schemaVersion: number;
17439
+ contentHash: string;
17440
+ kind: string;
17441
+ id: string;
17442
+ ownerRepo: string;
17443
+ visibility: "tenant" | "public" | "global";
17444
+ tenantScope?: {
17445
+ tenantRef: {
17446
+ kind: string;
17447
+ id: string;
17448
+ ownerRepo: string;
17449
+ };
17450
+ dataSpaceRef: {
17451
+ kind: string;
17452
+ id: string;
17453
+ ownerRepo: string;
17454
+ };
17455
+ teamRef?: {
17456
+ kind: string;
17457
+ id: string;
17458
+ ownerRepo: string;
17459
+ } | undefined;
17460
+ } | undefined;
17461
+ };
17462
+ resultSchemaRevisionRef: {
17463
+ revision: number;
17464
+ schemaVersion: number;
17465
+ contentHash: string;
17466
+ kind: string;
17467
+ id: string;
17468
+ ownerRepo: string;
17469
+ visibility: "tenant" | "public" | "global";
17470
+ tenantScope?: {
17471
+ tenantRef: {
17472
+ kind: string;
17473
+ id: string;
17474
+ ownerRepo: string;
17475
+ };
17476
+ dataSpaceRef: {
17477
+ kind: string;
17478
+ id: string;
17479
+ ownerRepo: string;
17480
+ };
17481
+ teamRef?: {
17482
+ kind: string;
17483
+ id: string;
17484
+ ownerRepo: string;
17485
+ } | undefined;
17486
+ } | undefined;
17487
+ };
17488
+ entry: "main";
17489
+ abi: "monkeys.action-program/2";
17490
+ compiler: string;
17491
+ target: "browser-worker-es2020";
17492
+ sourceHash: string;
17493
+ compiledHash: string;
17494
+ sourceMapHash: string;
17495
+ dependencies: {
17496
+ kind: "query" | "command";
17497
+ revisionRef: {
17498
+ revision: number;
17499
+ schemaVersion: number;
17500
+ contentHash: string;
17501
+ kind: string;
17502
+ id: string;
17503
+ ownerRepo: string;
17504
+ visibility: "tenant" | "public" | "global";
17505
+ tenantScope?: {
17506
+ tenantRef: {
17507
+ kind: string;
17508
+ id: string;
17509
+ ownerRepo: string;
17510
+ };
17511
+ dataSpaceRef: {
17512
+ kind: string;
17513
+ id: string;
17514
+ ownerRepo: string;
17515
+ };
17516
+ teamRef?: {
17517
+ kind: string;
17518
+ id: string;
17519
+ ownerRepo: string;
17520
+ } | undefined;
17521
+ } | undefined;
17522
+ };
17523
+ inputSchemaRevisionRef: {
17524
+ revision: number;
17525
+ schemaVersion: number;
17526
+ contentHash: string;
17527
+ kind: string;
17528
+ id: string;
17529
+ ownerRepo: string;
17530
+ visibility: "tenant" | "public" | "global";
17531
+ tenantScope?: {
17532
+ tenantRef: {
17533
+ kind: string;
17534
+ id: string;
17535
+ ownerRepo: string;
17536
+ };
17537
+ dataSpaceRef: {
17538
+ kind: string;
17539
+ id: string;
17540
+ ownerRepo: string;
17541
+ };
17542
+ teamRef?: {
17543
+ kind: string;
17544
+ id: string;
17545
+ ownerRepo: string;
17546
+ } | undefined;
17547
+ } | undefined;
17548
+ };
17549
+ resultSchemaRevisionRef: {
17550
+ revision: number;
17551
+ schemaVersion: number;
17552
+ contentHash: string;
17553
+ kind: string;
17554
+ id: string;
17555
+ ownerRepo: string;
17556
+ visibility: "tenant" | "public" | "global";
17557
+ tenantScope?: {
17558
+ tenantRef: {
17559
+ kind: string;
17560
+ id: string;
17561
+ ownerRepo: string;
17562
+ };
17563
+ dataSpaceRef: {
17564
+ kind: string;
17565
+ id: string;
17566
+ ownerRepo: string;
17567
+ };
17568
+ teamRef?: {
17569
+ kind: string;
17570
+ id: string;
17571
+ ownerRepo: string;
17572
+ } | undefined;
17573
+ } | undefined;
17574
+ };
17575
+ dynamicInputKeys: string[];
17576
+ download?: {
17577
+ kind: "native";
17578
+ } | {
17579
+ kind: "text-artifact";
17580
+ fileNamePath: string[];
17581
+ mimeTypePath: string[];
17582
+ contentPath: string[];
17583
+ maxBytes: number;
17584
+ } | undefined;
17585
+ }[];
17586
+ effects: ("download" | "toast" | "form" | "refresh" | "state.get" | "state.set")[];
17587
+ refreshAliases: string[];
17588
+ stateAliases: {
17589
+ alias: string;
17590
+ schemaRevisionRef: {
17591
+ revision: number;
17592
+ schemaVersion: number;
17593
+ contentHash: string;
17594
+ kind: string;
17595
+ id: string;
17596
+ ownerRepo: string;
17597
+ visibility: "tenant" | "public" | "global";
17598
+ tenantScope?: {
17599
+ tenantRef: {
17600
+ kind: string;
17601
+ id: string;
17602
+ ownerRepo: string;
17603
+ };
17604
+ dataSpaceRef: {
17605
+ kind: string;
17606
+ id: string;
17607
+ ownerRepo: string;
17608
+ };
17609
+ teamRef?: {
17610
+ kind: string;
17611
+ id: string;
17612
+ ownerRepo: string;
17613
+ } | undefined;
17614
+ } | undefined;
17615
+ };
17616
+ }[];
17617
+ budgets: {
17618
+ rpcMs: number;
17619
+ concurrentCalls: number;
17620
+ calls: number;
17621
+ messageBytes: number;
17622
+ activeMs: number;
17623
+ formMs: number;
17624
+ wallMs: number;
17625
+ };
17626
+ };
17627
+ bindingId: string;
17628
+ inputMapping: Record<string, {
17629
+ kind: "scope-field";
17630
+ path: string;
17631
+ } | {
17632
+ kind: "binding-field";
17633
+ bindingId: string;
17634
+ path: string;
17635
+ } | {
17636
+ kind: "constant";
17637
+ value: string | number | boolean | null;
17638
+ } | {
17639
+ kind: "route-parameter";
17640
+ name: string;
17641
+ } | {
17642
+ kind: "query-parameter";
17643
+ name: string;
17644
+ } | {
17645
+ kind: "identity";
17646
+ name: "tenantId" | "teamId" | "userId";
17647
+ } | {
17648
+ kind: "intent-field";
17649
+ path: string;
17650
+ } | {
17651
+ kind: "page-state";
17652
+ stateId: string;
17653
+ } | {
17654
+ kind: "expression";
17655
+ expression: import("./page-expression").PageExpression;
17656
+ }>;
17657
+ dependencyInputs: Record<string, Record<string, {
17658
+ kind: "scope-field";
17659
+ path: string;
17660
+ } | {
17661
+ kind: "binding-field";
17662
+ bindingId: string;
17663
+ path: string;
17664
+ } | {
17665
+ kind: "constant";
17666
+ value: string | number | boolean | null;
17667
+ } | {
17668
+ kind: "route-parameter";
17669
+ name: string;
17670
+ } | {
17671
+ kind: "query-parameter";
17672
+ name: string;
17673
+ } | {
17674
+ kind: "identity";
17675
+ name: "tenantId" | "teamId" | "userId";
17676
+ } | {
17677
+ kind: "intent-field";
17678
+ path: string;
17679
+ } | {
17680
+ kind: "page-state";
17681
+ stateId: string;
17682
+ } | {
17683
+ kind: "expression";
17684
+ expression: import("./page-expression").PageExpression;
17685
+ }>>;
17686
+ accessPolicy: {
17687
+ authenticated: boolean;
17688
+ groupAllOf: {
17689
+ kind: string;
17690
+ id: string;
17691
+ ownerRepo: string;
17692
+ visibility: "tenant" | "public" | "global";
17693
+ tenantScope?: {
17694
+ tenantRef: {
17695
+ kind: string;
17696
+ id: string;
17697
+ ownerRepo: string;
17698
+ };
17699
+ dataSpaceRef: {
17700
+ kind: string;
17701
+ id: string;
17702
+ ownerRepo: string;
17703
+ };
17704
+ teamRef?: {
17705
+ kind: string;
17706
+ id: string;
17707
+ ownerRepo: string;
17708
+ } | undefined;
17709
+ } | undefined;
17710
+ }[];
17711
+ groupAnyOf: {
17712
+ kind: string;
17713
+ id: string;
17714
+ ownerRepo: string;
17715
+ visibility: "tenant" | "public" | "global";
17716
+ tenantScope?: {
17717
+ tenantRef: {
17718
+ kind: string;
17719
+ id: string;
17720
+ ownerRepo: string;
17721
+ };
17722
+ dataSpaceRef: {
17723
+ kind: string;
17724
+ id: string;
17725
+ ownerRepo: string;
17726
+ };
17727
+ teamRef?: {
17728
+ kind: string;
17729
+ id: string;
17730
+ ownerRepo: string;
17731
+ } | undefined;
17732
+ } | undefined;
17733
+ }[];
17734
+ permissionAllOf: string[];
17735
+ permissionAnyOf: string[];
17736
+ conditionAllOf: {
17737
+ revision: number;
17738
+ schemaVersion: number;
17739
+ contentHash: string;
17740
+ kind: string;
17741
+ id: string;
17742
+ ownerRepo: string;
17743
+ visibility: "tenant" | "public" | "global";
17744
+ tenantScope?: {
17745
+ tenantRef: {
17746
+ kind: string;
17747
+ id: string;
17748
+ ownerRepo: string;
17749
+ };
17750
+ dataSpaceRef: {
17751
+ kind: string;
17752
+ id: string;
17753
+ ownerRepo: string;
17754
+ };
17755
+ teamRef?: {
17756
+ kind: string;
17757
+ id: string;
17758
+ ownerRepo: string;
17759
+ } | undefined;
17760
+ } | undefined;
17761
+ }[];
17762
+ };
17763
+ concurrencyKeyPath: string[];
17764
+ refreshAliases: Record<string, string[]>;
17765
+ stateAliases: Record<string, string>;
17766
+ confirmation?: {
17767
+ defaultLocale: string;
17768
+ values: Record<string, string>;
17769
+ } | undefined;
17770
+ when?: import("./page-expression").PageExpression | undefined;
17771
+ }[] | undefined;
16100
17772
  } | import("./declarative-control").LegacyPageRuntimeBundle, unknown>>, z.ZodObject<{
16101
17773
  navigationId: z.ZodString;
16102
17774
  navigationRevisionRef: z.ZodObject<{
@@ -17759,6 +19431,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
17759
19431
  "projection-spec": "projection-spec";
17760
19432
  "query-definition": "query-definition";
17761
19433
  projection: "projection";
19434
+ "action-program": "action-program";
17762
19435
  token: "token";
17763
19436
  schema: "schema";
17764
19437
  compiler: "compiler";
@@ -19079,6 +20752,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
19079
20752
  "projection-spec": "projection-spec";
19080
20753
  "query-definition": "query-definition";
19081
20754
  projection: "projection";
20755
+ "action-program": "action-program";
19082
20756
  token: "token";
19083
20757
  schema: "schema";
19084
20758
  compiler: "compiler";
@@ -20006,6 +21680,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
20006
21680
  "projection-spec": "projection-spec";
20007
21681
  "query-definition": "query-definition";
20008
21682
  projection: "projection";
21683
+ "action-program": "action-program";
20009
21684
  token: "token";
20010
21685
  schema: "schema";
20011
21686
  compiler: "compiler";
@@ -20647,6 +22322,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
20647
22322
  "projection-spec": "projection-spec";
20648
22323
  "query-definition": "query-definition";
20649
22324
  projection: "projection";
22325
+ "action-program": "action-program";
20650
22326
  token: "token";
20651
22327
  schema: "schema";
20652
22328
  compiler: "compiler";
@@ -21414,6 +23090,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
21414
23090
  "projection-spec": "projection-spec";
21415
23091
  "query-definition": "query-definition";
21416
23092
  projection: "projection";
23093
+ "action-program": "action-program";
21417
23094
  token: "token";
21418
23095
  schema: "schema";
21419
23096
  compiler: "compiler";
@@ -23431,7 +25108,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
23431
25108
  };
23432
25109
  generation: number;
23433
25110
  dependencySnapshot: {
23434
- role: "workflow" | "action" | "provider" | "shell" | "capability" | "agent" | "page" | "navigation" | "view" | "route-space" | "page-release" | "workbench" | "workbench-release" | "navigation-release" | "menu-action" | "application-menu-catalog" | "ontology-definition" | "projection-spec" | "query-definition" | "projection" | "token" | "schema" | "compiler" | "built-in-application" | "design" | "layout-policy" | "performance-budget" | "observation-policy";
25111
+ role: "workflow" | "action" | "provider" | "shell" | "capability" | "agent" | "page" | "navigation" | "view" | "route-space" | "page-release" | "workbench" | "workbench-release" | "navigation-release" | "menu-action" | "application-menu-catalog" | "ontology-definition" | "projection-spec" | "query-definition" | "projection" | "action-program" | "token" | "schema" | "compiler" | "built-in-application" | "design" | "layout-policy" | "performance-budget" | "observation-policy";
23435
25112
  revisionRef: {
23436
25113
  revision: number;
23437
25114
  schemaVersion: number;
@@ -23686,6 +25363,422 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
23686
25363
  queries: Record<string, string>;
23687
25364
  writeInteractions: string[];
23688
25365
  }[] | undefined;
25366
+ programBindings?: {
25367
+ source: {
25368
+ capabilityInstanceId: string;
25369
+ port: string;
25370
+ };
25371
+ sourceIntentSchemaRevisionRef: {
25372
+ revision: number;
25373
+ schemaVersion: number;
25374
+ contentHash: string;
25375
+ kind: string;
25376
+ id: string;
25377
+ ownerRepo: string;
25378
+ visibility: "tenant" | "public" | "global";
25379
+ tenantScope?: {
25380
+ tenantRef: {
25381
+ kind: string;
25382
+ id: string;
25383
+ ownerRepo: string;
25384
+ };
25385
+ dataSpaceRef: {
25386
+ kind: string;
25387
+ id: string;
25388
+ ownerRepo: string;
25389
+ };
25390
+ teamRef?: {
25391
+ kind: string;
25392
+ id: string;
25393
+ ownerRepo: string;
25394
+ } | undefined;
25395
+ } | undefined;
25396
+ };
25397
+ programRevisionRef: {
25398
+ revision: number;
25399
+ schemaVersion: number;
25400
+ contentHash: string;
25401
+ kind: string;
25402
+ id: string;
25403
+ ownerRepo: string;
25404
+ visibility: "tenant" | "public" | "global";
25405
+ tenantScope?: {
25406
+ tenantRef: {
25407
+ kind: string;
25408
+ id: string;
25409
+ ownerRepo: string;
25410
+ };
25411
+ dataSpaceRef: {
25412
+ kind: string;
25413
+ id: string;
25414
+ ownerRepo: string;
25415
+ };
25416
+ teamRef?: {
25417
+ kind: string;
25418
+ id: string;
25419
+ ownerRepo: string;
25420
+ } | undefined;
25421
+ } | undefined;
25422
+ };
25423
+ definition: {
25424
+ contract: "ActionProgramDefinition";
25425
+ schemaVersion: 1;
25426
+ programId: string;
25427
+ ownerRepo: string;
25428
+ tenantScope: {
25429
+ tenantRef: {
25430
+ kind: string;
25431
+ id: string;
25432
+ ownerRepo: string;
25433
+ };
25434
+ dataSpaceRef: {
25435
+ kind: string;
25436
+ id: string;
25437
+ ownerRepo: string;
25438
+ };
25439
+ teamRef?: {
25440
+ kind: string;
25441
+ id: string;
25442
+ ownerRepo: string;
25443
+ } | undefined;
25444
+ };
25445
+ supportedSurface: "studio";
25446
+ inputSchemaRevisionRef: {
25447
+ revision: number;
25448
+ schemaVersion: number;
25449
+ contentHash: string;
25450
+ kind: string;
25451
+ id: string;
25452
+ ownerRepo: string;
25453
+ visibility: "tenant" | "public" | "global";
25454
+ tenantScope?: {
25455
+ tenantRef: {
25456
+ kind: string;
25457
+ id: string;
25458
+ ownerRepo: string;
25459
+ };
25460
+ dataSpaceRef: {
25461
+ kind: string;
25462
+ id: string;
25463
+ ownerRepo: string;
25464
+ };
25465
+ teamRef?: {
25466
+ kind: string;
25467
+ id: string;
25468
+ ownerRepo: string;
25469
+ } | undefined;
25470
+ } | undefined;
25471
+ };
25472
+ resultSchemaRevisionRef: {
25473
+ revision: number;
25474
+ schemaVersion: number;
25475
+ contentHash: string;
25476
+ kind: string;
25477
+ id: string;
25478
+ ownerRepo: string;
25479
+ visibility: "tenant" | "public" | "global";
25480
+ tenantScope?: {
25481
+ tenantRef: {
25482
+ kind: string;
25483
+ id: string;
25484
+ ownerRepo: string;
25485
+ };
25486
+ dataSpaceRef: {
25487
+ kind: string;
25488
+ id: string;
25489
+ ownerRepo: string;
25490
+ };
25491
+ teamRef?: {
25492
+ kind: string;
25493
+ id: string;
25494
+ ownerRepo: string;
25495
+ } | undefined;
25496
+ } | undefined;
25497
+ };
25498
+ entry: "main";
25499
+ abi: "monkeys.action-program/2";
25500
+ compiler: string;
25501
+ target: "browser-worker-es2020";
25502
+ sourceHash: string;
25503
+ compiledHash: string;
25504
+ sourceMapHash: string;
25505
+ dependencies: {
25506
+ kind: "query" | "command";
25507
+ revisionRef: {
25508
+ revision: number;
25509
+ schemaVersion: number;
25510
+ contentHash: string;
25511
+ kind: string;
25512
+ id: string;
25513
+ ownerRepo: string;
25514
+ visibility: "tenant" | "public" | "global";
25515
+ tenantScope?: {
25516
+ tenantRef: {
25517
+ kind: string;
25518
+ id: string;
25519
+ ownerRepo: string;
25520
+ };
25521
+ dataSpaceRef: {
25522
+ kind: string;
25523
+ id: string;
25524
+ ownerRepo: string;
25525
+ };
25526
+ teamRef?: {
25527
+ kind: string;
25528
+ id: string;
25529
+ ownerRepo: string;
25530
+ } | undefined;
25531
+ } | undefined;
25532
+ };
25533
+ inputSchemaRevisionRef: {
25534
+ revision: number;
25535
+ schemaVersion: number;
25536
+ contentHash: string;
25537
+ kind: string;
25538
+ id: string;
25539
+ ownerRepo: string;
25540
+ visibility: "tenant" | "public" | "global";
25541
+ tenantScope?: {
25542
+ tenantRef: {
25543
+ kind: string;
25544
+ id: string;
25545
+ ownerRepo: string;
25546
+ };
25547
+ dataSpaceRef: {
25548
+ kind: string;
25549
+ id: string;
25550
+ ownerRepo: string;
25551
+ };
25552
+ teamRef?: {
25553
+ kind: string;
25554
+ id: string;
25555
+ ownerRepo: string;
25556
+ } | undefined;
25557
+ } | undefined;
25558
+ };
25559
+ resultSchemaRevisionRef: {
25560
+ revision: number;
25561
+ schemaVersion: number;
25562
+ contentHash: string;
25563
+ kind: string;
25564
+ id: string;
25565
+ ownerRepo: string;
25566
+ visibility: "tenant" | "public" | "global";
25567
+ tenantScope?: {
25568
+ tenantRef: {
25569
+ kind: string;
25570
+ id: string;
25571
+ ownerRepo: string;
25572
+ };
25573
+ dataSpaceRef: {
25574
+ kind: string;
25575
+ id: string;
25576
+ ownerRepo: string;
25577
+ };
25578
+ teamRef?: {
25579
+ kind: string;
25580
+ id: string;
25581
+ ownerRepo: string;
25582
+ } | undefined;
25583
+ } | undefined;
25584
+ };
25585
+ dynamicInputKeys: string[];
25586
+ download?: {
25587
+ kind: "native";
25588
+ } | {
25589
+ kind: "text-artifact";
25590
+ fileNamePath: string[];
25591
+ mimeTypePath: string[];
25592
+ contentPath: string[];
25593
+ maxBytes: number;
25594
+ } | undefined;
25595
+ }[];
25596
+ effects: ("download" | "toast" | "form" | "refresh" | "state.get" | "state.set")[];
25597
+ refreshAliases: string[];
25598
+ stateAliases: {
25599
+ alias: string;
25600
+ schemaRevisionRef: {
25601
+ revision: number;
25602
+ schemaVersion: number;
25603
+ contentHash: string;
25604
+ kind: string;
25605
+ id: string;
25606
+ ownerRepo: string;
25607
+ visibility: "tenant" | "public" | "global";
25608
+ tenantScope?: {
25609
+ tenantRef: {
25610
+ kind: string;
25611
+ id: string;
25612
+ ownerRepo: string;
25613
+ };
25614
+ dataSpaceRef: {
25615
+ kind: string;
25616
+ id: string;
25617
+ ownerRepo: string;
25618
+ };
25619
+ teamRef?: {
25620
+ kind: string;
25621
+ id: string;
25622
+ ownerRepo: string;
25623
+ } | undefined;
25624
+ } | undefined;
25625
+ };
25626
+ }[];
25627
+ budgets: {
25628
+ rpcMs: number;
25629
+ concurrentCalls: number;
25630
+ calls: number;
25631
+ messageBytes: number;
25632
+ activeMs: number;
25633
+ formMs: number;
25634
+ wallMs: number;
25635
+ };
25636
+ };
25637
+ bindingId: string;
25638
+ inputMapping: Record<string, {
25639
+ kind: "scope-field";
25640
+ path: string;
25641
+ } | {
25642
+ kind: "binding-field";
25643
+ bindingId: string;
25644
+ path: string;
25645
+ } | {
25646
+ kind: "constant";
25647
+ value: string | number | boolean | null;
25648
+ } | {
25649
+ kind: "route-parameter";
25650
+ name: string;
25651
+ } | {
25652
+ kind: "query-parameter";
25653
+ name: string;
25654
+ } | {
25655
+ kind: "identity";
25656
+ name: "tenantId" | "teamId" | "userId";
25657
+ } | {
25658
+ kind: "intent-field";
25659
+ path: string;
25660
+ } | {
25661
+ kind: "page-state";
25662
+ stateId: string;
25663
+ } | {
25664
+ kind: "expression";
25665
+ expression: import("./page-expression").PageExpression;
25666
+ }>;
25667
+ dependencyInputs: Record<string, Record<string, {
25668
+ kind: "scope-field";
25669
+ path: string;
25670
+ } | {
25671
+ kind: "binding-field";
25672
+ bindingId: string;
25673
+ path: string;
25674
+ } | {
25675
+ kind: "constant";
25676
+ value: string | number | boolean | null;
25677
+ } | {
25678
+ kind: "route-parameter";
25679
+ name: string;
25680
+ } | {
25681
+ kind: "query-parameter";
25682
+ name: string;
25683
+ } | {
25684
+ kind: "identity";
25685
+ name: "tenantId" | "teamId" | "userId";
25686
+ } | {
25687
+ kind: "intent-field";
25688
+ path: string;
25689
+ } | {
25690
+ kind: "page-state";
25691
+ stateId: string;
25692
+ } | {
25693
+ kind: "expression";
25694
+ expression: import("./page-expression").PageExpression;
25695
+ }>>;
25696
+ accessPolicy: {
25697
+ authenticated: boolean;
25698
+ groupAllOf: {
25699
+ kind: string;
25700
+ id: string;
25701
+ ownerRepo: string;
25702
+ visibility: "tenant" | "public" | "global";
25703
+ tenantScope?: {
25704
+ tenantRef: {
25705
+ kind: string;
25706
+ id: string;
25707
+ ownerRepo: string;
25708
+ };
25709
+ dataSpaceRef: {
25710
+ kind: string;
25711
+ id: string;
25712
+ ownerRepo: string;
25713
+ };
25714
+ teamRef?: {
25715
+ kind: string;
25716
+ id: string;
25717
+ ownerRepo: string;
25718
+ } | undefined;
25719
+ } | undefined;
25720
+ }[];
25721
+ groupAnyOf: {
25722
+ kind: string;
25723
+ id: string;
25724
+ ownerRepo: string;
25725
+ visibility: "tenant" | "public" | "global";
25726
+ tenantScope?: {
25727
+ tenantRef: {
25728
+ kind: string;
25729
+ id: string;
25730
+ ownerRepo: string;
25731
+ };
25732
+ dataSpaceRef: {
25733
+ kind: string;
25734
+ id: string;
25735
+ ownerRepo: string;
25736
+ };
25737
+ teamRef?: {
25738
+ kind: string;
25739
+ id: string;
25740
+ ownerRepo: string;
25741
+ } | undefined;
25742
+ } | undefined;
25743
+ }[];
25744
+ permissionAllOf: string[];
25745
+ permissionAnyOf: string[];
25746
+ conditionAllOf: {
25747
+ revision: number;
25748
+ schemaVersion: number;
25749
+ contentHash: string;
25750
+ kind: string;
25751
+ id: string;
25752
+ ownerRepo: string;
25753
+ visibility: "tenant" | "public" | "global";
25754
+ tenantScope?: {
25755
+ tenantRef: {
25756
+ kind: string;
25757
+ id: string;
25758
+ ownerRepo: string;
25759
+ };
25760
+ dataSpaceRef: {
25761
+ kind: string;
25762
+ id: string;
25763
+ ownerRepo: string;
25764
+ };
25765
+ teamRef?: {
25766
+ kind: string;
25767
+ id: string;
25768
+ ownerRepo: string;
25769
+ } | undefined;
25770
+ } | undefined;
25771
+ }[];
25772
+ };
25773
+ concurrencyKeyPath: string[];
25774
+ refreshAliases: Record<string, string[]>;
25775
+ stateAliases: Record<string, string>;
25776
+ confirmation?: {
25777
+ defaultLocale: string;
25778
+ values: Record<string, string>;
25779
+ } | undefined;
25780
+ when?: import("./page-expression").PageExpression | undefined;
25781
+ }[] | undefined;
23689
25782
  } | import("./declarative-control").LegacyPageRuntimeBundle, unknown, z.core.$ZodTypeInternals<{
23690
25783
  pageId: string;
23691
25784
  pageRevisionRef: {
@@ -25445,7 +27538,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
25445
27538
  };
25446
27539
  generation: number;
25447
27540
  dependencySnapshot: {
25448
- role: "workflow" | "action" | "provider" | "shell" | "capability" | "agent" | "page" | "navigation" | "view" | "route-space" | "page-release" | "workbench" | "workbench-release" | "navigation-release" | "menu-action" | "application-menu-catalog" | "ontology-definition" | "projection-spec" | "query-definition" | "projection" | "token" | "schema" | "compiler" | "built-in-application" | "design" | "layout-policy" | "performance-budget" | "observation-policy";
27541
+ role: "workflow" | "action" | "provider" | "shell" | "capability" | "agent" | "page" | "navigation" | "view" | "route-space" | "page-release" | "workbench" | "workbench-release" | "navigation-release" | "menu-action" | "application-menu-catalog" | "ontology-definition" | "projection-spec" | "query-definition" | "projection" | "action-program" | "token" | "schema" | "compiler" | "built-in-application" | "design" | "layout-policy" | "performance-budget" | "observation-policy";
25449
27542
  revisionRef: {
25450
27543
  revision: number;
25451
27544
  schemaVersion: number;
@@ -25700,6 +27793,422 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
25700
27793
  queries: Record<string, string>;
25701
27794
  writeInteractions: string[];
25702
27795
  }[] | undefined;
27796
+ programBindings?: {
27797
+ source: {
27798
+ capabilityInstanceId: string;
27799
+ port: string;
27800
+ };
27801
+ sourceIntentSchemaRevisionRef: {
27802
+ revision: number;
27803
+ schemaVersion: number;
27804
+ contentHash: string;
27805
+ kind: string;
27806
+ id: string;
27807
+ ownerRepo: string;
27808
+ visibility: "tenant" | "public" | "global";
27809
+ tenantScope?: {
27810
+ tenantRef: {
27811
+ kind: string;
27812
+ id: string;
27813
+ ownerRepo: string;
27814
+ };
27815
+ dataSpaceRef: {
27816
+ kind: string;
27817
+ id: string;
27818
+ ownerRepo: string;
27819
+ };
27820
+ teamRef?: {
27821
+ kind: string;
27822
+ id: string;
27823
+ ownerRepo: string;
27824
+ } | undefined;
27825
+ } | undefined;
27826
+ };
27827
+ programRevisionRef: {
27828
+ revision: number;
27829
+ schemaVersion: number;
27830
+ contentHash: string;
27831
+ kind: string;
27832
+ id: string;
27833
+ ownerRepo: string;
27834
+ visibility: "tenant" | "public" | "global";
27835
+ tenantScope?: {
27836
+ tenantRef: {
27837
+ kind: string;
27838
+ id: string;
27839
+ ownerRepo: string;
27840
+ };
27841
+ dataSpaceRef: {
27842
+ kind: string;
27843
+ id: string;
27844
+ ownerRepo: string;
27845
+ };
27846
+ teamRef?: {
27847
+ kind: string;
27848
+ id: string;
27849
+ ownerRepo: string;
27850
+ } | undefined;
27851
+ } | undefined;
27852
+ };
27853
+ definition: {
27854
+ contract: "ActionProgramDefinition";
27855
+ schemaVersion: 1;
27856
+ programId: string;
27857
+ ownerRepo: string;
27858
+ tenantScope: {
27859
+ tenantRef: {
27860
+ kind: string;
27861
+ id: string;
27862
+ ownerRepo: string;
27863
+ };
27864
+ dataSpaceRef: {
27865
+ kind: string;
27866
+ id: string;
27867
+ ownerRepo: string;
27868
+ };
27869
+ teamRef?: {
27870
+ kind: string;
27871
+ id: string;
27872
+ ownerRepo: string;
27873
+ } | undefined;
27874
+ };
27875
+ supportedSurface: "studio";
27876
+ inputSchemaRevisionRef: {
27877
+ revision: number;
27878
+ schemaVersion: number;
27879
+ contentHash: string;
27880
+ kind: string;
27881
+ id: string;
27882
+ ownerRepo: string;
27883
+ visibility: "tenant" | "public" | "global";
27884
+ tenantScope?: {
27885
+ tenantRef: {
27886
+ kind: string;
27887
+ id: string;
27888
+ ownerRepo: string;
27889
+ };
27890
+ dataSpaceRef: {
27891
+ kind: string;
27892
+ id: string;
27893
+ ownerRepo: string;
27894
+ };
27895
+ teamRef?: {
27896
+ kind: string;
27897
+ id: string;
27898
+ ownerRepo: string;
27899
+ } | undefined;
27900
+ } | undefined;
27901
+ };
27902
+ resultSchemaRevisionRef: {
27903
+ revision: number;
27904
+ schemaVersion: number;
27905
+ contentHash: string;
27906
+ kind: string;
27907
+ id: string;
27908
+ ownerRepo: string;
27909
+ visibility: "tenant" | "public" | "global";
27910
+ tenantScope?: {
27911
+ tenantRef: {
27912
+ kind: string;
27913
+ id: string;
27914
+ ownerRepo: string;
27915
+ };
27916
+ dataSpaceRef: {
27917
+ kind: string;
27918
+ id: string;
27919
+ ownerRepo: string;
27920
+ };
27921
+ teamRef?: {
27922
+ kind: string;
27923
+ id: string;
27924
+ ownerRepo: string;
27925
+ } | undefined;
27926
+ } | undefined;
27927
+ };
27928
+ entry: "main";
27929
+ abi: "monkeys.action-program/2";
27930
+ compiler: string;
27931
+ target: "browser-worker-es2020";
27932
+ sourceHash: string;
27933
+ compiledHash: string;
27934
+ sourceMapHash: string;
27935
+ dependencies: {
27936
+ kind: "query" | "command";
27937
+ revisionRef: {
27938
+ revision: number;
27939
+ schemaVersion: number;
27940
+ contentHash: string;
27941
+ kind: string;
27942
+ id: string;
27943
+ ownerRepo: string;
27944
+ visibility: "tenant" | "public" | "global";
27945
+ tenantScope?: {
27946
+ tenantRef: {
27947
+ kind: string;
27948
+ id: string;
27949
+ ownerRepo: string;
27950
+ };
27951
+ dataSpaceRef: {
27952
+ kind: string;
27953
+ id: string;
27954
+ ownerRepo: string;
27955
+ };
27956
+ teamRef?: {
27957
+ kind: string;
27958
+ id: string;
27959
+ ownerRepo: string;
27960
+ } | undefined;
27961
+ } | undefined;
27962
+ };
27963
+ inputSchemaRevisionRef: {
27964
+ revision: number;
27965
+ schemaVersion: number;
27966
+ contentHash: string;
27967
+ kind: string;
27968
+ id: string;
27969
+ ownerRepo: string;
27970
+ visibility: "tenant" | "public" | "global";
27971
+ tenantScope?: {
27972
+ tenantRef: {
27973
+ kind: string;
27974
+ id: string;
27975
+ ownerRepo: string;
27976
+ };
27977
+ dataSpaceRef: {
27978
+ kind: string;
27979
+ id: string;
27980
+ ownerRepo: string;
27981
+ };
27982
+ teamRef?: {
27983
+ kind: string;
27984
+ id: string;
27985
+ ownerRepo: string;
27986
+ } | undefined;
27987
+ } | undefined;
27988
+ };
27989
+ resultSchemaRevisionRef: {
27990
+ revision: number;
27991
+ schemaVersion: number;
27992
+ contentHash: string;
27993
+ kind: string;
27994
+ id: string;
27995
+ ownerRepo: string;
27996
+ visibility: "tenant" | "public" | "global";
27997
+ tenantScope?: {
27998
+ tenantRef: {
27999
+ kind: string;
28000
+ id: string;
28001
+ ownerRepo: string;
28002
+ };
28003
+ dataSpaceRef: {
28004
+ kind: string;
28005
+ id: string;
28006
+ ownerRepo: string;
28007
+ };
28008
+ teamRef?: {
28009
+ kind: string;
28010
+ id: string;
28011
+ ownerRepo: string;
28012
+ } | undefined;
28013
+ } | undefined;
28014
+ };
28015
+ dynamicInputKeys: string[];
28016
+ download?: {
28017
+ kind: "native";
28018
+ } | {
28019
+ kind: "text-artifact";
28020
+ fileNamePath: string[];
28021
+ mimeTypePath: string[];
28022
+ contentPath: string[];
28023
+ maxBytes: number;
28024
+ } | undefined;
28025
+ }[];
28026
+ effects: ("download" | "toast" | "form" | "refresh" | "state.get" | "state.set")[];
28027
+ refreshAliases: string[];
28028
+ stateAliases: {
28029
+ alias: string;
28030
+ schemaRevisionRef: {
28031
+ revision: number;
28032
+ schemaVersion: number;
28033
+ contentHash: string;
28034
+ kind: string;
28035
+ id: string;
28036
+ ownerRepo: string;
28037
+ visibility: "tenant" | "public" | "global";
28038
+ tenantScope?: {
28039
+ tenantRef: {
28040
+ kind: string;
28041
+ id: string;
28042
+ ownerRepo: string;
28043
+ };
28044
+ dataSpaceRef: {
28045
+ kind: string;
28046
+ id: string;
28047
+ ownerRepo: string;
28048
+ };
28049
+ teamRef?: {
28050
+ kind: string;
28051
+ id: string;
28052
+ ownerRepo: string;
28053
+ } | undefined;
28054
+ } | undefined;
28055
+ };
28056
+ }[];
28057
+ budgets: {
28058
+ rpcMs: number;
28059
+ concurrentCalls: number;
28060
+ calls: number;
28061
+ messageBytes: number;
28062
+ activeMs: number;
28063
+ formMs: number;
28064
+ wallMs: number;
28065
+ };
28066
+ };
28067
+ bindingId: string;
28068
+ inputMapping: Record<string, {
28069
+ kind: "scope-field";
28070
+ path: string;
28071
+ } | {
28072
+ kind: "binding-field";
28073
+ bindingId: string;
28074
+ path: string;
28075
+ } | {
28076
+ kind: "constant";
28077
+ value: string | number | boolean | null;
28078
+ } | {
28079
+ kind: "route-parameter";
28080
+ name: string;
28081
+ } | {
28082
+ kind: "query-parameter";
28083
+ name: string;
28084
+ } | {
28085
+ kind: "identity";
28086
+ name: "tenantId" | "teamId" | "userId";
28087
+ } | {
28088
+ kind: "intent-field";
28089
+ path: string;
28090
+ } | {
28091
+ kind: "page-state";
28092
+ stateId: string;
28093
+ } | {
28094
+ kind: "expression";
28095
+ expression: import("./page-expression").PageExpression;
28096
+ }>;
28097
+ dependencyInputs: Record<string, Record<string, {
28098
+ kind: "scope-field";
28099
+ path: string;
28100
+ } | {
28101
+ kind: "binding-field";
28102
+ bindingId: string;
28103
+ path: string;
28104
+ } | {
28105
+ kind: "constant";
28106
+ value: string | number | boolean | null;
28107
+ } | {
28108
+ kind: "route-parameter";
28109
+ name: string;
28110
+ } | {
28111
+ kind: "query-parameter";
28112
+ name: string;
28113
+ } | {
28114
+ kind: "identity";
28115
+ name: "tenantId" | "teamId" | "userId";
28116
+ } | {
28117
+ kind: "intent-field";
28118
+ path: string;
28119
+ } | {
28120
+ kind: "page-state";
28121
+ stateId: string;
28122
+ } | {
28123
+ kind: "expression";
28124
+ expression: import("./page-expression").PageExpression;
28125
+ }>>;
28126
+ accessPolicy: {
28127
+ authenticated: boolean;
28128
+ groupAllOf: {
28129
+ kind: string;
28130
+ id: string;
28131
+ ownerRepo: string;
28132
+ visibility: "tenant" | "public" | "global";
28133
+ tenantScope?: {
28134
+ tenantRef: {
28135
+ kind: string;
28136
+ id: string;
28137
+ ownerRepo: string;
28138
+ };
28139
+ dataSpaceRef: {
28140
+ kind: string;
28141
+ id: string;
28142
+ ownerRepo: string;
28143
+ };
28144
+ teamRef?: {
28145
+ kind: string;
28146
+ id: string;
28147
+ ownerRepo: string;
28148
+ } | undefined;
28149
+ } | undefined;
28150
+ }[];
28151
+ groupAnyOf: {
28152
+ kind: string;
28153
+ id: string;
28154
+ ownerRepo: string;
28155
+ visibility: "tenant" | "public" | "global";
28156
+ tenantScope?: {
28157
+ tenantRef: {
28158
+ kind: string;
28159
+ id: string;
28160
+ ownerRepo: string;
28161
+ };
28162
+ dataSpaceRef: {
28163
+ kind: string;
28164
+ id: string;
28165
+ ownerRepo: string;
28166
+ };
28167
+ teamRef?: {
28168
+ kind: string;
28169
+ id: string;
28170
+ ownerRepo: string;
28171
+ } | undefined;
28172
+ } | undefined;
28173
+ }[];
28174
+ permissionAllOf: string[];
28175
+ permissionAnyOf: string[];
28176
+ conditionAllOf: {
28177
+ revision: number;
28178
+ schemaVersion: number;
28179
+ contentHash: string;
28180
+ kind: string;
28181
+ id: string;
28182
+ ownerRepo: string;
28183
+ visibility: "tenant" | "public" | "global";
28184
+ tenantScope?: {
28185
+ tenantRef: {
28186
+ kind: string;
28187
+ id: string;
28188
+ ownerRepo: string;
28189
+ };
28190
+ dataSpaceRef: {
28191
+ kind: string;
28192
+ id: string;
28193
+ ownerRepo: string;
28194
+ };
28195
+ teamRef?: {
28196
+ kind: string;
28197
+ id: string;
28198
+ ownerRepo: string;
28199
+ } | undefined;
28200
+ } | undefined;
28201
+ }[];
28202
+ };
28203
+ concurrencyKeyPath: string[];
28204
+ refreshAliases: Record<string, string[]>;
28205
+ stateAliases: Record<string, string>;
28206
+ confirmation?: {
28207
+ defaultLocale: string;
28208
+ values: Record<string, string>;
28209
+ } | undefined;
28210
+ when?: import("./page-expression").PageExpression | undefined;
28211
+ }[] | undefined;
25703
28212
  } | import("./declarative-control").LegacyPageRuntimeBundle, unknown>>, z.ZodObject<{
25704
28213
  navigationId: z.ZodString;
25705
28214
  navigationRevisionRef: z.ZodObject<{
@@ -27362,6 +29871,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
27362
29871
  "projection-spec": "projection-spec";
27363
29872
  "query-definition": "query-definition";
27364
29873
  projection: "projection";
29874
+ "action-program": "action-program";
27365
29875
  token: "token";
27366
29876
  schema: "schema";
27367
29877
  compiler: "compiler";
@@ -28682,6 +31192,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
28682
31192
  "projection-spec": "projection-spec";
28683
31193
  "query-definition": "query-definition";
28684
31194
  projection: "projection";
31195
+ "action-program": "action-program";
28685
31196
  token: "token";
28686
31197
  schema: "schema";
28687
31198
  compiler: "compiler";
@@ -29324,6 +31835,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
29324
31835
  "projection-spec": "projection-spec";
29325
31836
  "query-definition": "query-definition";
29326
31837
  projection: "projection";
31838
+ "action-program": "action-program";
29327
31839
  token: "token";
29328
31840
  schema: "schema";
29329
31841
  compiler: "compiler";
@@ -29965,6 +32477,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
29965
32477
  "projection-spec": "projection-spec";
29966
32478
  "query-definition": "query-definition";
29967
32479
  projection: "projection";
32480
+ "action-program": "action-program";
29968
32481
  token: "token";
29969
32482
  schema: "schema";
29970
32483
  compiler: "compiler";
@@ -30732,6 +33245,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
30732
33245
  "projection-spec": "projection-spec";
30733
33246
  "query-definition": "query-definition";
30734
33247
  projection: "projection";
33248
+ "action-program": "action-program";
30735
33249
  token: "token";
30736
33250
  schema: "schema";
30737
33251
  compiler: "compiler";
@@ -32749,7 +35263,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
32749
35263
  };
32750
35264
  generation: number;
32751
35265
  dependencySnapshot: {
32752
- role: "workflow" | "action" | "provider" | "shell" | "capability" | "agent" | "page" | "navigation" | "view" | "route-space" | "page-release" | "workbench" | "workbench-release" | "navigation-release" | "menu-action" | "application-menu-catalog" | "ontology-definition" | "projection-spec" | "query-definition" | "projection" | "token" | "schema" | "compiler" | "built-in-application" | "design" | "layout-policy" | "performance-budget" | "observation-policy";
35266
+ role: "workflow" | "action" | "provider" | "shell" | "capability" | "agent" | "page" | "navigation" | "view" | "route-space" | "page-release" | "workbench" | "workbench-release" | "navigation-release" | "menu-action" | "application-menu-catalog" | "ontology-definition" | "projection-spec" | "query-definition" | "projection" | "action-program" | "token" | "schema" | "compiler" | "built-in-application" | "design" | "layout-policy" | "performance-budget" | "observation-policy";
32753
35267
  revisionRef: {
32754
35268
  revision: number;
32755
35269
  schemaVersion: number;
@@ -33004,6 +35518,422 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
33004
35518
  queries: Record<string, string>;
33005
35519
  writeInteractions: string[];
33006
35520
  }[] | undefined;
35521
+ programBindings?: {
35522
+ source: {
35523
+ capabilityInstanceId: string;
35524
+ port: string;
35525
+ };
35526
+ sourceIntentSchemaRevisionRef: {
35527
+ revision: number;
35528
+ schemaVersion: number;
35529
+ contentHash: string;
35530
+ kind: string;
35531
+ id: string;
35532
+ ownerRepo: string;
35533
+ visibility: "tenant" | "public" | "global";
35534
+ tenantScope?: {
35535
+ tenantRef: {
35536
+ kind: string;
35537
+ id: string;
35538
+ ownerRepo: string;
35539
+ };
35540
+ dataSpaceRef: {
35541
+ kind: string;
35542
+ id: string;
35543
+ ownerRepo: string;
35544
+ };
35545
+ teamRef?: {
35546
+ kind: string;
35547
+ id: string;
35548
+ ownerRepo: string;
35549
+ } | undefined;
35550
+ } | undefined;
35551
+ };
35552
+ programRevisionRef: {
35553
+ revision: number;
35554
+ schemaVersion: number;
35555
+ contentHash: string;
35556
+ kind: string;
35557
+ id: string;
35558
+ ownerRepo: string;
35559
+ visibility: "tenant" | "public" | "global";
35560
+ tenantScope?: {
35561
+ tenantRef: {
35562
+ kind: string;
35563
+ id: string;
35564
+ ownerRepo: string;
35565
+ };
35566
+ dataSpaceRef: {
35567
+ kind: string;
35568
+ id: string;
35569
+ ownerRepo: string;
35570
+ };
35571
+ teamRef?: {
35572
+ kind: string;
35573
+ id: string;
35574
+ ownerRepo: string;
35575
+ } | undefined;
35576
+ } | undefined;
35577
+ };
35578
+ definition: {
35579
+ contract: "ActionProgramDefinition";
35580
+ schemaVersion: 1;
35581
+ programId: string;
35582
+ ownerRepo: string;
35583
+ tenantScope: {
35584
+ tenantRef: {
35585
+ kind: string;
35586
+ id: string;
35587
+ ownerRepo: string;
35588
+ };
35589
+ dataSpaceRef: {
35590
+ kind: string;
35591
+ id: string;
35592
+ ownerRepo: string;
35593
+ };
35594
+ teamRef?: {
35595
+ kind: string;
35596
+ id: string;
35597
+ ownerRepo: string;
35598
+ } | undefined;
35599
+ };
35600
+ supportedSurface: "studio";
35601
+ inputSchemaRevisionRef: {
35602
+ revision: number;
35603
+ schemaVersion: number;
35604
+ contentHash: string;
35605
+ kind: string;
35606
+ id: string;
35607
+ ownerRepo: string;
35608
+ visibility: "tenant" | "public" | "global";
35609
+ tenantScope?: {
35610
+ tenantRef: {
35611
+ kind: string;
35612
+ id: string;
35613
+ ownerRepo: string;
35614
+ };
35615
+ dataSpaceRef: {
35616
+ kind: string;
35617
+ id: string;
35618
+ ownerRepo: string;
35619
+ };
35620
+ teamRef?: {
35621
+ kind: string;
35622
+ id: string;
35623
+ ownerRepo: string;
35624
+ } | undefined;
35625
+ } | undefined;
35626
+ };
35627
+ resultSchemaRevisionRef: {
35628
+ revision: number;
35629
+ schemaVersion: number;
35630
+ contentHash: string;
35631
+ kind: string;
35632
+ id: string;
35633
+ ownerRepo: string;
35634
+ visibility: "tenant" | "public" | "global";
35635
+ tenantScope?: {
35636
+ tenantRef: {
35637
+ kind: string;
35638
+ id: string;
35639
+ ownerRepo: string;
35640
+ };
35641
+ dataSpaceRef: {
35642
+ kind: string;
35643
+ id: string;
35644
+ ownerRepo: string;
35645
+ };
35646
+ teamRef?: {
35647
+ kind: string;
35648
+ id: string;
35649
+ ownerRepo: string;
35650
+ } | undefined;
35651
+ } | undefined;
35652
+ };
35653
+ entry: "main";
35654
+ abi: "monkeys.action-program/2";
35655
+ compiler: string;
35656
+ target: "browser-worker-es2020";
35657
+ sourceHash: string;
35658
+ compiledHash: string;
35659
+ sourceMapHash: string;
35660
+ dependencies: {
35661
+ kind: "query" | "command";
35662
+ revisionRef: {
35663
+ revision: number;
35664
+ schemaVersion: number;
35665
+ contentHash: string;
35666
+ kind: string;
35667
+ id: string;
35668
+ ownerRepo: string;
35669
+ visibility: "tenant" | "public" | "global";
35670
+ tenantScope?: {
35671
+ tenantRef: {
35672
+ kind: string;
35673
+ id: string;
35674
+ ownerRepo: string;
35675
+ };
35676
+ dataSpaceRef: {
35677
+ kind: string;
35678
+ id: string;
35679
+ ownerRepo: string;
35680
+ };
35681
+ teamRef?: {
35682
+ kind: string;
35683
+ id: string;
35684
+ ownerRepo: string;
35685
+ } | undefined;
35686
+ } | undefined;
35687
+ };
35688
+ inputSchemaRevisionRef: {
35689
+ revision: number;
35690
+ schemaVersion: number;
35691
+ contentHash: string;
35692
+ kind: string;
35693
+ id: string;
35694
+ ownerRepo: string;
35695
+ visibility: "tenant" | "public" | "global";
35696
+ tenantScope?: {
35697
+ tenantRef: {
35698
+ kind: string;
35699
+ id: string;
35700
+ ownerRepo: string;
35701
+ };
35702
+ dataSpaceRef: {
35703
+ kind: string;
35704
+ id: string;
35705
+ ownerRepo: string;
35706
+ };
35707
+ teamRef?: {
35708
+ kind: string;
35709
+ id: string;
35710
+ ownerRepo: string;
35711
+ } | undefined;
35712
+ } | undefined;
35713
+ };
35714
+ resultSchemaRevisionRef: {
35715
+ revision: number;
35716
+ schemaVersion: number;
35717
+ contentHash: string;
35718
+ kind: string;
35719
+ id: string;
35720
+ ownerRepo: string;
35721
+ visibility: "tenant" | "public" | "global";
35722
+ tenantScope?: {
35723
+ tenantRef: {
35724
+ kind: string;
35725
+ id: string;
35726
+ ownerRepo: string;
35727
+ };
35728
+ dataSpaceRef: {
35729
+ kind: string;
35730
+ id: string;
35731
+ ownerRepo: string;
35732
+ };
35733
+ teamRef?: {
35734
+ kind: string;
35735
+ id: string;
35736
+ ownerRepo: string;
35737
+ } | undefined;
35738
+ } | undefined;
35739
+ };
35740
+ dynamicInputKeys: string[];
35741
+ download?: {
35742
+ kind: "native";
35743
+ } | {
35744
+ kind: "text-artifact";
35745
+ fileNamePath: string[];
35746
+ mimeTypePath: string[];
35747
+ contentPath: string[];
35748
+ maxBytes: number;
35749
+ } | undefined;
35750
+ }[];
35751
+ effects: ("download" | "toast" | "form" | "refresh" | "state.get" | "state.set")[];
35752
+ refreshAliases: string[];
35753
+ stateAliases: {
35754
+ alias: string;
35755
+ schemaRevisionRef: {
35756
+ revision: number;
35757
+ schemaVersion: number;
35758
+ contentHash: string;
35759
+ kind: string;
35760
+ id: string;
35761
+ ownerRepo: string;
35762
+ visibility: "tenant" | "public" | "global";
35763
+ tenantScope?: {
35764
+ tenantRef: {
35765
+ kind: string;
35766
+ id: string;
35767
+ ownerRepo: string;
35768
+ };
35769
+ dataSpaceRef: {
35770
+ kind: string;
35771
+ id: string;
35772
+ ownerRepo: string;
35773
+ };
35774
+ teamRef?: {
35775
+ kind: string;
35776
+ id: string;
35777
+ ownerRepo: string;
35778
+ } | undefined;
35779
+ } | undefined;
35780
+ };
35781
+ }[];
35782
+ budgets: {
35783
+ rpcMs: number;
35784
+ concurrentCalls: number;
35785
+ calls: number;
35786
+ messageBytes: number;
35787
+ activeMs: number;
35788
+ formMs: number;
35789
+ wallMs: number;
35790
+ };
35791
+ };
35792
+ bindingId: string;
35793
+ inputMapping: Record<string, {
35794
+ kind: "scope-field";
35795
+ path: string;
35796
+ } | {
35797
+ kind: "binding-field";
35798
+ bindingId: string;
35799
+ path: string;
35800
+ } | {
35801
+ kind: "constant";
35802
+ value: string | number | boolean | null;
35803
+ } | {
35804
+ kind: "route-parameter";
35805
+ name: string;
35806
+ } | {
35807
+ kind: "query-parameter";
35808
+ name: string;
35809
+ } | {
35810
+ kind: "identity";
35811
+ name: "tenantId" | "teamId" | "userId";
35812
+ } | {
35813
+ kind: "intent-field";
35814
+ path: string;
35815
+ } | {
35816
+ kind: "page-state";
35817
+ stateId: string;
35818
+ } | {
35819
+ kind: "expression";
35820
+ expression: import("./page-expression").PageExpression;
35821
+ }>;
35822
+ dependencyInputs: Record<string, Record<string, {
35823
+ kind: "scope-field";
35824
+ path: string;
35825
+ } | {
35826
+ kind: "binding-field";
35827
+ bindingId: string;
35828
+ path: string;
35829
+ } | {
35830
+ kind: "constant";
35831
+ value: string | number | boolean | null;
35832
+ } | {
35833
+ kind: "route-parameter";
35834
+ name: string;
35835
+ } | {
35836
+ kind: "query-parameter";
35837
+ name: string;
35838
+ } | {
35839
+ kind: "identity";
35840
+ name: "tenantId" | "teamId" | "userId";
35841
+ } | {
35842
+ kind: "intent-field";
35843
+ path: string;
35844
+ } | {
35845
+ kind: "page-state";
35846
+ stateId: string;
35847
+ } | {
35848
+ kind: "expression";
35849
+ expression: import("./page-expression").PageExpression;
35850
+ }>>;
35851
+ accessPolicy: {
35852
+ authenticated: boolean;
35853
+ groupAllOf: {
35854
+ kind: string;
35855
+ id: string;
35856
+ ownerRepo: string;
35857
+ visibility: "tenant" | "public" | "global";
35858
+ tenantScope?: {
35859
+ tenantRef: {
35860
+ kind: string;
35861
+ id: string;
35862
+ ownerRepo: string;
35863
+ };
35864
+ dataSpaceRef: {
35865
+ kind: string;
35866
+ id: string;
35867
+ ownerRepo: string;
35868
+ };
35869
+ teamRef?: {
35870
+ kind: string;
35871
+ id: string;
35872
+ ownerRepo: string;
35873
+ } | undefined;
35874
+ } | undefined;
35875
+ }[];
35876
+ groupAnyOf: {
35877
+ kind: string;
35878
+ id: string;
35879
+ ownerRepo: string;
35880
+ visibility: "tenant" | "public" | "global";
35881
+ tenantScope?: {
35882
+ tenantRef: {
35883
+ kind: string;
35884
+ id: string;
35885
+ ownerRepo: string;
35886
+ };
35887
+ dataSpaceRef: {
35888
+ kind: string;
35889
+ id: string;
35890
+ ownerRepo: string;
35891
+ };
35892
+ teamRef?: {
35893
+ kind: string;
35894
+ id: string;
35895
+ ownerRepo: string;
35896
+ } | undefined;
35897
+ } | undefined;
35898
+ }[];
35899
+ permissionAllOf: string[];
35900
+ permissionAnyOf: string[];
35901
+ conditionAllOf: {
35902
+ revision: number;
35903
+ schemaVersion: number;
35904
+ contentHash: string;
35905
+ kind: string;
35906
+ id: string;
35907
+ ownerRepo: string;
35908
+ visibility: "tenant" | "public" | "global";
35909
+ tenantScope?: {
35910
+ tenantRef: {
35911
+ kind: string;
35912
+ id: string;
35913
+ ownerRepo: string;
35914
+ };
35915
+ dataSpaceRef: {
35916
+ kind: string;
35917
+ id: string;
35918
+ ownerRepo: string;
35919
+ };
35920
+ teamRef?: {
35921
+ kind: string;
35922
+ id: string;
35923
+ ownerRepo: string;
35924
+ } | undefined;
35925
+ } | undefined;
35926
+ }[];
35927
+ };
35928
+ concurrencyKeyPath: string[];
35929
+ refreshAliases: Record<string, string[]>;
35930
+ stateAliases: Record<string, string>;
35931
+ confirmation?: {
35932
+ defaultLocale: string;
35933
+ values: Record<string, string>;
35934
+ } | undefined;
35935
+ when?: import("./page-expression").PageExpression | undefined;
35936
+ }[] | undefined;
33007
35937
  } | import("./declarative-control").LegacyPageRuntimeBundle, unknown, z.core.$ZodTypeInternals<{
33008
35938
  pageId: string;
33009
35939
  pageRevisionRef: {
@@ -34763,7 +37693,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
34763
37693
  };
34764
37694
  generation: number;
34765
37695
  dependencySnapshot: {
34766
- role: "workflow" | "action" | "provider" | "shell" | "capability" | "agent" | "page" | "navigation" | "view" | "route-space" | "page-release" | "workbench" | "workbench-release" | "navigation-release" | "menu-action" | "application-menu-catalog" | "ontology-definition" | "projection-spec" | "query-definition" | "projection" | "token" | "schema" | "compiler" | "built-in-application" | "design" | "layout-policy" | "performance-budget" | "observation-policy";
37696
+ role: "workflow" | "action" | "provider" | "shell" | "capability" | "agent" | "page" | "navigation" | "view" | "route-space" | "page-release" | "workbench" | "workbench-release" | "navigation-release" | "menu-action" | "application-menu-catalog" | "ontology-definition" | "projection-spec" | "query-definition" | "projection" | "action-program" | "token" | "schema" | "compiler" | "built-in-application" | "design" | "layout-policy" | "performance-budget" | "observation-policy";
34767
37697
  revisionRef: {
34768
37698
  revision: number;
34769
37699
  schemaVersion: number;
@@ -35018,6 +37948,422 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
35018
37948
  queries: Record<string, string>;
35019
37949
  writeInteractions: string[];
35020
37950
  }[] | undefined;
37951
+ programBindings?: {
37952
+ source: {
37953
+ capabilityInstanceId: string;
37954
+ port: string;
37955
+ };
37956
+ sourceIntentSchemaRevisionRef: {
37957
+ revision: number;
37958
+ schemaVersion: number;
37959
+ contentHash: string;
37960
+ kind: string;
37961
+ id: string;
37962
+ ownerRepo: string;
37963
+ visibility: "tenant" | "public" | "global";
37964
+ tenantScope?: {
37965
+ tenantRef: {
37966
+ kind: string;
37967
+ id: string;
37968
+ ownerRepo: string;
37969
+ };
37970
+ dataSpaceRef: {
37971
+ kind: string;
37972
+ id: string;
37973
+ ownerRepo: string;
37974
+ };
37975
+ teamRef?: {
37976
+ kind: string;
37977
+ id: string;
37978
+ ownerRepo: string;
37979
+ } | undefined;
37980
+ } | undefined;
37981
+ };
37982
+ programRevisionRef: {
37983
+ revision: number;
37984
+ schemaVersion: number;
37985
+ contentHash: string;
37986
+ kind: string;
37987
+ id: string;
37988
+ ownerRepo: string;
37989
+ visibility: "tenant" | "public" | "global";
37990
+ tenantScope?: {
37991
+ tenantRef: {
37992
+ kind: string;
37993
+ id: string;
37994
+ ownerRepo: string;
37995
+ };
37996
+ dataSpaceRef: {
37997
+ kind: string;
37998
+ id: string;
37999
+ ownerRepo: string;
38000
+ };
38001
+ teamRef?: {
38002
+ kind: string;
38003
+ id: string;
38004
+ ownerRepo: string;
38005
+ } | undefined;
38006
+ } | undefined;
38007
+ };
38008
+ definition: {
38009
+ contract: "ActionProgramDefinition";
38010
+ schemaVersion: 1;
38011
+ programId: string;
38012
+ ownerRepo: string;
38013
+ tenantScope: {
38014
+ tenantRef: {
38015
+ kind: string;
38016
+ id: string;
38017
+ ownerRepo: string;
38018
+ };
38019
+ dataSpaceRef: {
38020
+ kind: string;
38021
+ id: string;
38022
+ ownerRepo: string;
38023
+ };
38024
+ teamRef?: {
38025
+ kind: string;
38026
+ id: string;
38027
+ ownerRepo: string;
38028
+ } | undefined;
38029
+ };
38030
+ supportedSurface: "studio";
38031
+ inputSchemaRevisionRef: {
38032
+ revision: number;
38033
+ schemaVersion: number;
38034
+ contentHash: string;
38035
+ kind: string;
38036
+ id: string;
38037
+ ownerRepo: string;
38038
+ visibility: "tenant" | "public" | "global";
38039
+ tenantScope?: {
38040
+ tenantRef: {
38041
+ kind: string;
38042
+ id: string;
38043
+ ownerRepo: string;
38044
+ };
38045
+ dataSpaceRef: {
38046
+ kind: string;
38047
+ id: string;
38048
+ ownerRepo: string;
38049
+ };
38050
+ teamRef?: {
38051
+ kind: string;
38052
+ id: string;
38053
+ ownerRepo: string;
38054
+ } | undefined;
38055
+ } | undefined;
38056
+ };
38057
+ resultSchemaRevisionRef: {
38058
+ revision: number;
38059
+ schemaVersion: number;
38060
+ contentHash: string;
38061
+ kind: string;
38062
+ id: string;
38063
+ ownerRepo: string;
38064
+ visibility: "tenant" | "public" | "global";
38065
+ tenantScope?: {
38066
+ tenantRef: {
38067
+ kind: string;
38068
+ id: string;
38069
+ ownerRepo: string;
38070
+ };
38071
+ dataSpaceRef: {
38072
+ kind: string;
38073
+ id: string;
38074
+ ownerRepo: string;
38075
+ };
38076
+ teamRef?: {
38077
+ kind: string;
38078
+ id: string;
38079
+ ownerRepo: string;
38080
+ } | undefined;
38081
+ } | undefined;
38082
+ };
38083
+ entry: "main";
38084
+ abi: "monkeys.action-program/2";
38085
+ compiler: string;
38086
+ target: "browser-worker-es2020";
38087
+ sourceHash: string;
38088
+ compiledHash: string;
38089
+ sourceMapHash: string;
38090
+ dependencies: {
38091
+ kind: "query" | "command";
38092
+ revisionRef: {
38093
+ revision: number;
38094
+ schemaVersion: number;
38095
+ contentHash: string;
38096
+ kind: string;
38097
+ id: string;
38098
+ ownerRepo: string;
38099
+ visibility: "tenant" | "public" | "global";
38100
+ tenantScope?: {
38101
+ tenantRef: {
38102
+ kind: string;
38103
+ id: string;
38104
+ ownerRepo: string;
38105
+ };
38106
+ dataSpaceRef: {
38107
+ kind: string;
38108
+ id: string;
38109
+ ownerRepo: string;
38110
+ };
38111
+ teamRef?: {
38112
+ kind: string;
38113
+ id: string;
38114
+ ownerRepo: string;
38115
+ } | undefined;
38116
+ } | undefined;
38117
+ };
38118
+ inputSchemaRevisionRef: {
38119
+ revision: number;
38120
+ schemaVersion: number;
38121
+ contentHash: string;
38122
+ kind: string;
38123
+ id: string;
38124
+ ownerRepo: string;
38125
+ visibility: "tenant" | "public" | "global";
38126
+ tenantScope?: {
38127
+ tenantRef: {
38128
+ kind: string;
38129
+ id: string;
38130
+ ownerRepo: string;
38131
+ };
38132
+ dataSpaceRef: {
38133
+ kind: string;
38134
+ id: string;
38135
+ ownerRepo: string;
38136
+ };
38137
+ teamRef?: {
38138
+ kind: string;
38139
+ id: string;
38140
+ ownerRepo: string;
38141
+ } | undefined;
38142
+ } | undefined;
38143
+ };
38144
+ resultSchemaRevisionRef: {
38145
+ revision: number;
38146
+ schemaVersion: number;
38147
+ contentHash: string;
38148
+ kind: string;
38149
+ id: string;
38150
+ ownerRepo: string;
38151
+ visibility: "tenant" | "public" | "global";
38152
+ tenantScope?: {
38153
+ tenantRef: {
38154
+ kind: string;
38155
+ id: string;
38156
+ ownerRepo: string;
38157
+ };
38158
+ dataSpaceRef: {
38159
+ kind: string;
38160
+ id: string;
38161
+ ownerRepo: string;
38162
+ };
38163
+ teamRef?: {
38164
+ kind: string;
38165
+ id: string;
38166
+ ownerRepo: string;
38167
+ } | undefined;
38168
+ } | undefined;
38169
+ };
38170
+ dynamicInputKeys: string[];
38171
+ download?: {
38172
+ kind: "native";
38173
+ } | {
38174
+ kind: "text-artifact";
38175
+ fileNamePath: string[];
38176
+ mimeTypePath: string[];
38177
+ contentPath: string[];
38178
+ maxBytes: number;
38179
+ } | undefined;
38180
+ }[];
38181
+ effects: ("download" | "toast" | "form" | "refresh" | "state.get" | "state.set")[];
38182
+ refreshAliases: string[];
38183
+ stateAliases: {
38184
+ alias: string;
38185
+ schemaRevisionRef: {
38186
+ revision: number;
38187
+ schemaVersion: number;
38188
+ contentHash: string;
38189
+ kind: string;
38190
+ id: string;
38191
+ ownerRepo: string;
38192
+ visibility: "tenant" | "public" | "global";
38193
+ tenantScope?: {
38194
+ tenantRef: {
38195
+ kind: string;
38196
+ id: string;
38197
+ ownerRepo: string;
38198
+ };
38199
+ dataSpaceRef: {
38200
+ kind: string;
38201
+ id: string;
38202
+ ownerRepo: string;
38203
+ };
38204
+ teamRef?: {
38205
+ kind: string;
38206
+ id: string;
38207
+ ownerRepo: string;
38208
+ } | undefined;
38209
+ } | undefined;
38210
+ };
38211
+ }[];
38212
+ budgets: {
38213
+ rpcMs: number;
38214
+ concurrentCalls: number;
38215
+ calls: number;
38216
+ messageBytes: number;
38217
+ activeMs: number;
38218
+ formMs: number;
38219
+ wallMs: number;
38220
+ };
38221
+ };
38222
+ bindingId: string;
38223
+ inputMapping: Record<string, {
38224
+ kind: "scope-field";
38225
+ path: string;
38226
+ } | {
38227
+ kind: "binding-field";
38228
+ bindingId: string;
38229
+ path: string;
38230
+ } | {
38231
+ kind: "constant";
38232
+ value: string | number | boolean | null;
38233
+ } | {
38234
+ kind: "route-parameter";
38235
+ name: string;
38236
+ } | {
38237
+ kind: "query-parameter";
38238
+ name: string;
38239
+ } | {
38240
+ kind: "identity";
38241
+ name: "tenantId" | "teamId" | "userId";
38242
+ } | {
38243
+ kind: "intent-field";
38244
+ path: string;
38245
+ } | {
38246
+ kind: "page-state";
38247
+ stateId: string;
38248
+ } | {
38249
+ kind: "expression";
38250
+ expression: import("./page-expression").PageExpression;
38251
+ }>;
38252
+ dependencyInputs: Record<string, Record<string, {
38253
+ kind: "scope-field";
38254
+ path: string;
38255
+ } | {
38256
+ kind: "binding-field";
38257
+ bindingId: string;
38258
+ path: string;
38259
+ } | {
38260
+ kind: "constant";
38261
+ value: string | number | boolean | null;
38262
+ } | {
38263
+ kind: "route-parameter";
38264
+ name: string;
38265
+ } | {
38266
+ kind: "query-parameter";
38267
+ name: string;
38268
+ } | {
38269
+ kind: "identity";
38270
+ name: "tenantId" | "teamId" | "userId";
38271
+ } | {
38272
+ kind: "intent-field";
38273
+ path: string;
38274
+ } | {
38275
+ kind: "page-state";
38276
+ stateId: string;
38277
+ } | {
38278
+ kind: "expression";
38279
+ expression: import("./page-expression").PageExpression;
38280
+ }>>;
38281
+ accessPolicy: {
38282
+ authenticated: boolean;
38283
+ groupAllOf: {
38284
+ kind: string;
38285
+ id: string;
38286
+ ownerRepo: string;
38287
+ visibility: "tenant" | "public" | "global";
38288
+ tenantScope?: {
38289
+ tenantRef: {
38290
+ kind: string;
38291
+ id: string;
38292
+ ownerRepo: string;
38293
+ };
38294
+ dataSpaceRef: {
38295
+ kind: string;
38296
+ id: string;
38297
+ ownerRepo: string;
38298
+ };
38299
+ teamRef?: {
38300
+ kind: string;
38301
+ id: string;
38302
+ ownerRepo: string;
38303
+ } | undefined;
38304
+ } | undefined;
38305
+ }[];
38306
+ groupAnyOf: {
38307
+ kind: string;
38308
+ id: string;
38309
+ ownerRepo: string;
38310
+ visibility: "tenant" | "public" | "global";
38311
+ tenantScope?: {
38312
+ tenantRef: {
38313
+ kind: string;
38314
+ id: string;
38315
+ ownerRepo: string;
38316
+ };
38317
+ dataSpaceRef: {
38318
+ kind: string;
38319
+ id: string;
38320
+ ownerRepo: string;
38321
+ };
38322
+ teamRef?: {
38323
+ kind: string;
38324
+ id: string;
38325
+ ownerRepo: string;
38326
+ } | undefined;
38327
+ } | undefined;
38328
+ }[];
38329
+ permissionAllOf: string[];
38330
+ permissionAnyOf: string[];
38331
+ conditionAllOf: {
38332
+ revision: number;
38333
+ schemaVersion: number;
38334
+ contentHash: string;
38335
+ kind: string;
38336
+ id: string;
38337
+ ownerRepo: string;
38338
+ visibility: "tenant" | "public" | "global";
38339
+ tenantScope?: {
38340
+ tenantRef: {
38341
+ kind: string;
38342
+ id: string;
38343
+ ownerRepo: string;
38344
+ };
38345
+ dataSpaceRef: {
38346
+ kind: string;
38347
+ id: string;
38348
+ ownerRepo: string;
38349
+ };
38350
+ teamRef?: {
38351
+ kind: string;
38352
+ id: string;
38353
+ ownerRepo: string;
38354
+ } | undefined;
38355
+ } | undefined;
38356
+ }[];
38357
+ };
38358
+ concurrencyKeyPath: string[];
38359
+ refreshAliases: Record<string, string[]>;
38360
+ stateAliases: Record<string, string>;
38361
+ confirmation?: {
38362
+ defaultLocale: string;
38363
+ values: Record<string, string>;
38364
+ } | undefined;
38365
+ when?: import("./page-expression").PageExpression | undefined;
38366
+ }[] | undefined;
35021
38367
  } | import("./declarative-control").LegacyPageRuntimeBundle, unknown>>, z.ZodObject<{
35022
38368
  navigationId: z.ZodString;
35023
38369
  navigationRevisionRef: z.ZodObject<{
@@ -36680,6 +40026,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
36680
40026
  "projection-spec": "projection-spec";
36681
40027
  "query-definition": "query-definition";
36682
40028
  projection: "projection";
40029
+ "action-program": "action-program";
36683
40030
  token: "token";
36684
40031
  schema: "schema";
36685
40032
  compiler: "compiler";
@@ -38000,6 +41347,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
38000
41347
  "projection-spec": "projection-spec";
38001
41348
  "query-definition": "query-definition";
38002
41349
  projection: "projection";
41350
+ "action-program": "action-program";
38003
41351
  token: "token";
38004
41352
  schema: "schema";
38005
41353
  compiler: "compiler";