@xpert-ai/contracts 3.35.0 → 3.37.0

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 (105) hide show
  1. package/context-event.cjs.default.js +1 -0
  2. package/context-event.cjs.js +26 -0
  3. package/context-event.cjs.mjs +2 -0
  4. package/context-event.d.ts +1 -0
  5. package/context-event.esm.js +24 -0
  6. package/index.cjs.default.js +1 -0
  7. package/index.cjs.js +1165 -805
  8. package/index.cjs.mjs +2 -0
  9. package/index.esm.js +1140 -801
  10. package/package.json +18 -2
  11. package/src/agent-plugin.d.ts +4 -29
  12. package/src/ai/agent-output-delivery.model.d.ts +22 -1
  13. package/src/ai/agent-runtime.model.d.ts +4 -4
  14. package/src/ai/assistant-capability.model.d.ts +0 -1
  15. package/src/ai/assistant-template-manifest.model.d.ts +272 -308
  16. package/src/ai/assistant-template-overview.model.d.ts +0 -4
  17. package/src/ai/assistant-template.model.d.ts +0 -4
  18. package/src/ai/bosi.model.d.ts +1 -1
  19. package/src/ai/chat-activity.model.d.ts +13 -0
  20. package/src/ai/chat-message.model.d.ts +0 -11
  21. package/src/ai/chat.model.d.ts +3 -0
  22. package/src/ai/cli-execution.model.d.ts +88 -0
  23. package/src/ai/conversation-trail.model.d.ts +274 -274
  24. package/src/ai/copilot-store.model.d.ts +0 -13
  25. package/src/ai/evolution/entities.d.ts +164 -0
  26. package/src/ai/evolution/evaluation.d.ts +7 -0
  27. package/src/ai/evolution/execution-review.d.ts +68 -0
  28. package/src/ai/evolution/index.d.ts +2 -0
  29. package/src/ai/evolution/provider.d.ts +1 -0
  30. package/src/ai/evolution/target.d.ts +5 -0
  31. package/src/ai/execution-activity.model.d.ts +362 -362
  32. package/src/ai/execution-control-evidence.schema.d.ts +26 -26
  33. package/src/ai/execution-observability.model.d.ts +160 -160
  34. package/src/ai/execution-source.model.d.ts +45 -0
  35. package/src/ai/index.d.ts +2 -0
  36. package/src/ai/middleware.model.d.ts +1 -0
  37. package/src/ai/model-execution.model.d.ts +5 -108
  38. package/src/ai/model-replacement.model.d.ts +12 -12
  39. package/src/ai/project-configuration-view.model.d.ts +1 -0
  40. package/src/ai/project-pipeline/analytics.d.ts +288 -288
  41. package/src/ai/project-pipeline/budget.schema.d.ts +4 -4
  42. package/src/ai/project-pipeline/commands.schema.d.ts +519 -476
  43. package/src/ai/project-pipeline/configuration-declaration.schema.d.ts +3815 -0
  44. package/src/ai/project-pipeline/configuration-form.d.ts +1903 -1759
  45. package/src/ai/project-pipeline/configuration.schema.d.ts +425 -388
  46. package/src/ai/project-pipeline/contribution.schema.d.ts +764 -612
  47. package/src/ai/project-pipeline/definition.schema.d.ts +382 -338
  48. package/src/ai/project-pipeline/execution-statistics.d.ts +30 -30
  49. package/src/ai/project-pipeline/graph.model.d.ts +7 -2
  50. package/src/ai/project-pipeline/human-wait-statistics.d.ts +2 -2
  51. package/src/ai/project-pipeline/index.d.ts +1 -0
  52. package/src/ai/project-pipeline/model-usage-statistics.d.ts +6 -6
  53. package/src/ai/project-pipeline/node.schema.d.ts +57 -44
  54. package/src/ai/project-pipeline/operation.schema.d.ts +378 -378
  55. package/src/ai/project-pipeline/plugin-deployment.schema.d.ts +6 -6
  56. package/src/ai/project-pipeline/portfolio.schema.d.ts +684 -684
  57. package/src/ai/project-pipeline/primitives.schema.d.ts +4 -4
  58. package/src/ai/project-pipeline/projection.schema.d.ts +674 -637
  59. package/src/ai/project-pipeline/provider-actions.schema.d.ts +120 -120
  60. package/src/ai/project-pipeline/queue-statistics.d.ts +34 -34
  61. package/src/ai/project-pipeline/runtime.schema.d.ts +89 -89
  62. package/src/ai/project-pipeline/statistics.d.ts +142 -142
  63. package/src/ai/project-task-runtime.model.d.ts +265 -789
  64. package/src/ai/sandbox-execution-control.schema.d.ts +6 -6
  65. package/src/ai/template-installation.model.d.ts +13 -13
  66. package/src/ai/template-lifecycle.model.d.ts +4 -4
  67. package/src/ai/xpert-agent-execution.model.d.ts +33 -0
  68. package/src/ai/xpert-project.model.d.ts +2 -1
  69. package/src/ai/xpert-tool.model.d.ts +12 -0
  70. package/src/ai/xpert.model.d.ts +0 -34
  71. package/src/ai/xpert.utils.d.ts +0 -1
  72. package/src/always-on/agent-event.model.d.ts +121 -0
  73. package/src/always-on/agent-event.schema.d.ts +139 -0
  74. package/src/always-on/agent-output-reference.schema.d.ts +27 -0
  75. package/src/always-on/agent-output.model.d.ts +411 -0
  76. package/src/always-on/human-decision.model.d.ts +204 -0
  77. package/src/always-on/index.d.ts +3 -0
  78. package/src/always-on/output-workbench.schema.d.ts +154 -0
  79. package/src/analytics/analysis-evidence.model.d.ts +29 -0
  80. package/src/analytics/analytics-certification.model.d.ts +17 -0
  81. package/src/{analytics-definition.model.d.ts → analytics/analytics-definition.model.d.ts} +1 -1
  82. package/src/{analytics-diagnostic.d.ts → analytics/analytics-diagnostic.d.ts} +8 -8
  83. package/src/{analytics-query.model.d.ts → analytics/analytics-query.model.d.ts} +9 -1
  84. package/src/analytics/index.d.ts +7 -0
  85. package/src/{resource-analysis.model.d.ts → analytics/resource-analysis.model.d.ts} +6 -1
  86. package/src/app-platform.d.ts +14 -14
  87. package/src/{artifact-group-reference.model.d.ts → artifacts/artifact-group-reference.model.d.ts} +1 -1
  88. package/src/{artifact-presentation.model.d.ts → artifacts/artifact-presentation.model.d.ts} +1 -1
  89. package/src/{artifact-use-grant-command.d.ts → artifacts/artifact-use-grant-command.d.ts} +1 -1
  90. package/src/{artifact-use-grant.model.d.ts → artifacts/artifact-use-grant.model.d.ts} +2 -2
  91. package/src/{artifact.model.d.ts → artifacts/artifact.model.d.ts} +4 -2
  92. package/src/artifacts/index.d.ts +5 -0
  93. package/src/collaboration.model.d.ts +31 -11
  94. package/src/{content-document.model.d.ts → content/content-document.model.d.ts} +2 -0
  95. package/src/{content-resource.model.d.ts → content/content-resource.model.d.ts} +7 -3
  96. package/src/content/content-transfer.model.d.ts +21 -0
  97. package/src/content/index.d.ts +4 -0
  98. package/src/execution-control-admission.schema.d.ts +2 -2
  99. package/src/icon-definition.schema.d.ts +6 -10
  100. package/src/index.d.ts +5 -14
  101. package/src/secret-token.model.d.ts +4 -4
  102. package/src/user-notification.schema.d.ts +1300 -471
  103. package/src/view-extension/client-commands.d.ts +24 -0
  104. /package/src/{analytics-source.model.d.ts → analytics/analytics-source.model.d.ts} +0 -0
  105. /package/src/{content-reference.model.d.ts → content/content-reference.model.d.ts} +0 -0
@@ -0,0 +1,4 @@
1
+ export * from './content-document.model';
2
+ export * from './content-reference.model';
3
+ export * from './content-resource.model';
4
+ export * from './content-transfer.model';
@@ -76,8 +76,8 @@ export declare const executionControlCapabilitiesSchema: z.ZodObject<{
76
76
  controlContract?: string;
77
77
  }>, "many">;
78
78
  }, "strict", z.ZodTypeAny, {
79
- version?: 1;
80
79
  validUntil?: number;
80
+ version?: 1;
81
81
  protocols?: {
82
82
  taskControl?: 2;
83
83
  managedQueue?: 3;
@@ -96,8 +96,8 @@ export declare const executionControlCapabilitiesSchema: z.ZodObject<{
96
96
  controlContract?: string;
97
97
  }[];
98
98
  }, {
99
- version?: 1;
100
99
  validUntil?: number;
100
+ version?: 1;
101
101
  protocols?: {
102
102
  taskControl?: 2;
103
103
  managedQueue?: 3;
@@ -1,5 +1,8 @@
1
1
  import { z } from 'zod/v3';
2
- /** Public presentation metadata only. Renderers retain their own sandbox and URL policies. */
2
+ import type { IconDefinition } from './types';
3
+ /** Public presentation metadata only. Renderers retain their own sandbox and URL policies.
4
+ * Explicit output keeps required fields when contracts build without strictNullChecks,
5
+ * while retaining the object schema's composition methods for existing consumers. */
3
6
  export declare const iconDefinitionSchema: z.ZodObject<{
4
7
  type: z.ZodEnum<["image", "svg", "font", "emoji", "lottie"]>;
5
8
  value: z.ZodString;
@@ -7,18 +10,11 @@ export declare const iconDefinitionSchema: z.ZodObject<{
7
10
  size: z.ZodOptional<z.ZodNumber>;
8
11
  alt: z.ZodOptional<z.ZodString>;
9
12
  style: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
10
- }, "strip", z.ZodTypeAny, {
11
- value?: string;
12
- type?: "image" | "svg" | "font" | "emoji" | "lottie";
13
+ }, "strip", z.ZodTypeAny, IconDefinition, {
13
14
  size?: number;
14
15
  color?: string;
15
- alt?: string;
16
- style?: Record<string, string>;
17
- }, {
18
- value?: string;
19
16
  type?: "image" | "svg" | "font" | "emoji" | "lottie";
20
- size?: number;
21
- color?: string;
17
+ value?: string;
22
18
  alt?: string;
23
19
  style?: Record<string, string>;
24
20
  }>;
package/src/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from './always-on';
1
2
  export * from './task-control.model';
2
3
  export * from './app-platform';
3
4
  export * from './execution-control-admission.schema';
@@ -47,8 +48,7 @@ export * from './user-directory.model';
47
48
  export * from './custom-smtp.model';
48
49
  export * from './date-picker.model';
49
50
  export * from './data-source.model';
50
- export * from './analytics-query.model';
51
- export * from './analytics-source.model';
51
+ export * from './analytics';
52
52
  export * from './data-source-type.model';
53
53
  export * from './integration.model';
54
54
  export * from './integration-sharing.model';
@@ -64,11 +64,7 @@ export * from './ai/index';
64
64
  export * from './agent/index';
65
65
  export * from './api-key.model';
66
66
  export * from './personal-api-key.model';
67
- export * from './artifact.model';
68
- export * from './artifact-use-grant.model';
69
- export * from './artifact-use-grant-command';
70
- export * from './artifact-group-reference.model';
71
- export * from './resource-analysis.model';
67
+ export * from './artifacts';
72
68
  export * from './business-area.model';
73
69
  export * from './collaboration.model';
74
70
  export * from './schedule';
@@ -77,22 +73,17 @@ export * from './plain-object.model';
77
73
  export * from './plugin';
78
74
  export * from './view-extension';
79
75
  export * from './runtime-control';
80
- export type { RuntimeResourceKind, AgentPluginRole, RuntimeResourceCatalogPurpose, RuntimeResourceStatus, RuntimeResourceReference, TemplateAgentSource, RuntimeResourcesSelection, AgentPluginDiagnostic, AgentPluginStorageErrorCode, RuntimeResourceCatalogItem, RuntimeResourceView, RuntimeResourceCatalog, AgentPluginXpertExtension, AgentPluginCommand, AgentPluginCommandPresentation, RuntimeResourceCommand, RuntimeResourceSkillReference, AgentPluginConnectorAuth, AgentPluginConnectorBinding, RuntimeResourceDefinition, RuntimeResourceBindingInput, WorkspaceAgentPlugin, WorkspaceAgentPluginOptions, WorkspaceAgentPluginAddInput, WorkspaceAgentPluginAddResult, InstalledAgentPlugin } from './agent-plugin';
76
+ export type { RuntimeResourceKind, AgentPluginRole, RuntimeResourceCatalogPurpose, RuntimeResourceStatus, RuntimeResourceReference, TemplateAgentSource, RuntimeResourcesSelection, AgentPluginDiagnostic, AgentPluginStorageErrorCode, RuntimeResourceCatalogItem, RuntimeResourceView, RuntimeResourceCatalog, AgentPluginXpertExtension, AgentPluginCommand, AgentPluginCommandPresentation, RuntimeResourceCommand, RuntimeResourceSkillReference, AgentPluginConnectorAuth, AgentPluginConnectorBinding, RuntimeResourceDefinition, RuntimeResourceBindingInput, InstalledAgentPlugin } from './agent-plugin';
81
77
  export * from './desktop-shell.model';
82
78
  export * from './ai/agent-output-delivery.model';
83
79
  export * from './ai/execution-activity.model';
84
80
  export * from './ai/conversation-trail.model';
85
81
  export * from './setup-plugins';
86
82
  export * from './default-agent-plugins';
87
- export * from './content-document.model';
88
- export * from './content-reference.model';
83
+ export * from './content';
89
84
  export * from './agent-plugin-maintenance';
90
85
  export * from './assistant-sharing.model';
91
- export * from './artifact-presentation.model';
92
- export * from './analytics-definition.model';
93
- export * from './analytics-diagnostic';
94
86
  export * from './data-retention.model';
95
- export * from './content-resource.model';
96
87
  export * from './ai/mcp-execution-control.schema';
97
88
  export * from './ai/thread-control-view.schema';
98
89
  export * from './ai/thread-control-projection.model';
@@ -17,22 +17,22 @@ export declare const clientSecretGrantSourceSchema: z.ZodDiscriminatedUnion<"kin
17
17
  kind: z.ZodLiteral<"project">;
18
18
  projectId: z.ZodString;
19
19
  }, "strict", z.ZodTypeAny, {
20
- kind?: "project";
21
20
  projectId?: string;
22
- }, {
23
21
  kind?: "project";
22
+ }, {
24
23
  projectId?: string;
24
+ kind?: "project";
25
25
  }>, z.ZodObject<{
26
26
  kind: z.ZodLiteral<"conversation">;
27
27
  conversationId: z.ZodString;
28
28
  requesterXpertId: z.ZodString;
29
29
  }, "strict", z.ZodTypeAny, {
30
- kind?: "conversation";
31
30
  conversationId?: string;
31
+ kind?: "conversation";
32
32
  requesterXpertId?: string;
33
33
  }, {
34
- kind?: "conversation";
35
34
  conversationId?: string;
35
+ kind?: "conversation";
36
36
  requesterXpertId?: string;
37
37
  }>]>;
38
38
  export type TClientSecretGrantSource = z.infer<typeof clientSecretGrantSourceSchema>;