@objectstack/spec 0.8.1 → 0.9.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 (197) hide show
  1. package/dist/ai/devops-agent.zod.d.ts +1 -1
  2. package/dist/ai/feedback-loop.zod.d.ts +4293 -0
  3. package/dist/ai/feedback-loop.zod.d.ts.map +1 -0
  4. package/dist/ai/feedback-loop.zod.js +53 -0
  5. package/dist/ai/index.d.ts +1 -0
  6. package/dist/ai/index.d.ts.map +1 -1
  7. package/dist/ai/index.js +1 -0
  8. package/dist/api/documentation.zod.d.ts +1073 -0
  9. package/dist/api/documentation.zod.d.ts.map +1 -0
  10. package/dist/api/documentation.zod.js +487 -0
  11. package/dist/api/errors.zod.d.ts +6 -6
  12. package/dist/api/graphql.zod.d.ts +3 -3
  13. package/dist/api/hub.zod.d.ts +5239 -0
  14. package/dist/api/hub.zod.d.ts.map +1 -0
  15. package/dist/api/hub.zod.js +784 -0
  16. package/dist/api/index.d.ts +4 -2
  17. package/dist/api/index.d.ts.map +1 -1
  18. package/dist/api/index.js +4 -2
  19. package/dist/api/odata.zod.d.ts +1 -1
  20. package/dist/api/protocol.zod.d.ts +2 -1143
  21. package/dist/api/protocol.zod.d.ts.map +1 -1
  22. package/dist/api/protocol.zod.js +2 -49
  23. package/dist/api/registry.example.d.ts +411 -0
  24. package/dist/api/registry.example.d.ts.map +1 -0
  25. package/dist/api/registry.example.js +470 -0
  26. package/dist/api/registry.zod.d.ts +2095 -0
  27. package/dist/api/registry.zod.d.ts.map +1 -0
  28. package/dist/api/registry.zod.js +755 -0
  29. package/dist/api/websocket.zod.d.ts +8 -8
  30. package/dist/auth/scim.zod.d.ts +3 -3
  31. package/dist/automation/flow.zod.d.ts +3 -3
  32. package/dist/contracts/index.d.ts +1 -0
  33. package/dist/contracts/index.d.ts.map +1 -1
  34. package/dist/contracts/index.js +1 -0
  35. package/dist/contracts/schema-driver.d.ts +21 -0
  36. package/dist/contracts/schema-driver.d.ts.map +1 -0
  37. package/dist/contracts/schema-driver.js +2 -0
  38. package/dist/hub/composer.zod.d.ts +226 -0
  39. package/dist/hub/composer.zod.d.ts.map +1 -1
  40. package/dist/hub/hub-federation.zod.d.ts +764 -0
  41. package/dist/hub/hub-federation.zod.d.ts.map +1 -0
  42. package/dist/hub/hub-federation.zod.js +441 -0
  43. package/dist/hub/index.d.ts +2 -0
  44. package/dist/hub/index.d.ts.map +1 -1
  45. package/dist/hub/index.js +3 -0
  46. package/dist/hub/plugin-security.zod.d.ts +1029 -0
  47. package/dist/hub/plugin-security.zod.d.ts.map +1 -0
  48. package/dist/hub/plugin-security.zod.js +637 -0
  49. package/dist/index.d.ts +1 -0
  50. package/dist/index.d.ts.map +1 -1
  51. package/dist/index.js +2 -1
  52. package/dist/integration/connector/vercel.zod.d.ts +2 -2
  53. package/dist/qa/index.d.ts +11 -0
  54. package/dist/qa/index.d.ts.map +1 -0
  55. package/dist/qa/index.js +26 -0
  56. package/dist/qa/testing.zod.d.ts +345 -0
  57. package/dist/qa/testing.zod.d.ts.map +1 -0
  58. package/dist/qa/testing.zod.js +69 -0
  59. package/dist/stack.zod.d.ts +576 -3
  60. package/dist/stack.zod.d.ts.map +1 -1
  61. package/dist/system/index.d.ts +2 -0
  62. package/dist/system/index.d.ts.map +1 -1
  63. package/dist/system/index.js +2 -0
  64. package/dist/system/manifest.zod.d.ts +226 -0
  65. package/dist/system/manifest.zod.d.ts.map +1 -1
  66. package/dist/system/manifest.zod.js +8 -0
  67. package/dist/system/message-queue.zod.d.ts +2 -2
  68. package/dist/system/metadata-loader.zod.d.ts +1 -1
  69. package/dist/system/migration.zod.d.ts +4205 -0
  70. package/dist/system/migration.zod.d.ts.map +1 -0
  71. package/dist/system/migration.zod.js +70 -0
  72. package/dist/system/plugin-loading.zod.d.ts +575 -0
  73. package/dist/system/plugin-loading.zod.d.ts.map +1 -0
  74. package/dist/system/plugin-loading.zod.js +612 -0
  75. package/json-schema/{api/ViewResponse.json → ai/FeedbackLoop.json} +2 -2
  76. package/json-schema/{api/ViewType.json → ai/Issue.json} +2 -2
  77. package/json-schema/{api/GetViewRequest.json → ai/MetadataSource.json} +2 -2
  78. package/json-schema/{api/ViewColumn.json → ai/Resolution.json} +2 -2
  79. package/json-schema/api/{DeleteViewRequest.json → ApiChangelogEntry.json} +2 -2
  80. package/json-schema/api/{CreateViewRequest.json → ApiDiscoveryQuery.json} +2 -2
  81. package/json-schema/api/ApiDiscoveryResponse.json +7 -0
  82. package/json-schema/api/ApiDocumentationConfig.json +7 -0
  83. package/json-schema/api/ApiEndpointRegistration.json +7 -0
  84. package/json-schema/api/ApiMetadata.json +7 -0
  85. package/json-schema/api/ApiParameter.json +7 -0
  86. package/json-schema/api/{GetViewResponse.json → ApiProtocolType.json} +2 -2
  87. package/json-schema/api/ApiRegistry.json +7 -0
  88. package/json-schema/api/{ListViewsRequest.json → ApiRegistryEntry.json} +2 -2
  89. package/json-schema/api/ApiResponse.json +7 -0
  90. package/json-schema/api/ApiTestCollection.json +7 -0
  91. package/json-schema/api/ApiTestRequest.json +7 -0
  92. package/json-schema/api/{DeleteViewResponse.json → ApiTestingUiConfig.json} +2 -2
  93. package/json-schema/api/ApiTestingUiType.json +7 -0
  94. package/json-schema/api/BuildStatusResponse.json +7 -0
  95. package/json-schema/api/CodeGenerationTemplate.json +7 -0
  96. package/json-schema/api/CompileManifestRequest.json +7 -0
  97. package/json-schema/api/CompileManifestResponse.json +7 -0
  98. package/json-schema/api/ConflictResolutionStrategy.json +7 -0
  99. package/json-schema/api/CreateSpaceRequest.json +7 -0
  100. package/json-schema/api/CreateTenantRequest.json +7 -0
  101. package/json-schema/api/GeneratedApiDocumentation.json +7 -0
  102. package/json-schema/api/GetBuildStatusRequest.json +7 -0
  103. package/json-schema/api/GetMarketplacePluginRequest.json +7 -0
  104. package/json-schema/api/GetPluginVersionsRequest.json +7 -0
  105. package/json-schema/api/GetPluginVersionsResponse.json +7 -0
  106. package/json-schema/api/HttpStatusCode.json +7 -0
  107. package/json-schema/api/HubHealthResponse.json +7 -0
  108. package/json-schema/api/HubMetricsResponse.json +7 -0
  109. package/json-schema/api/IssueLicenseRequest.json +7 -0
  110. package/json-schema/api/LicenseResponse.json +7 -0
  111. package/json-schema/api/ListLicensesRequest.json +7 -0
  112. package/json-schema/api/ListLicensesResponse.json +7 -0
  113. package/json-schema/api/ListMarketplaceRequest.json +7 -0
  114. package/json-schema/api/ListMarketplaceResponse.json +7 -0
  115. package/json-schema/api/ListSpacesRequest.json +7 -0
  116. package/json-schema/api/ListSpacesResponse.json +7 -0
  117. package/json-schema/api/ListTenantsRequest.json +7 -0
  118. package/json-schema/api/ListTenantsResponse.json +7 -0
  119. package/json-schema/api/MarketplacePluginResponse.json +7 -0
  120. package/json-schema/api/ObjectQLReference.json +7 -0
  121. package/json-schema/api/OpenApiSecurityScheme.json +7 -0
  122. package/json-schema/api/OpenApiServer.json +7 -0
  123. package/json-schema/api/OpenApiSpec.json +7 -0
  124. package/json-schema/api/PaginationRequest.json +7 -0
  125. package/json-schema/api/PaginationResponse.json +7 -0
  126. package/json-schema/api/PluginResponse.json +7 -0
  127. package/json-schema/api/PluginVersionInfo.json +7 -0
  128. package/json-schema/api/PublishPluginRequest.json +7 -0
  129. package/json-schema/api/RevokeLicenseRequest.json +7 -0
  130. package/json-schema/api/SchemaDefinition.json +7 -0
  131. package/json-schema/api/SearchPluginsRequest.json +7 -0
  132. package/json-schema/api/SearchPluginsResponse.json +7 -0
  133. package/json-schema/api/SpaceResponse.json +7 -0
  134. package/json-schema/api/TenantResponse.json +7 -0
  135. package/json-schema/api/UpdatePluginRequest.json +7 -0
  136. package/json-schema/api/UpdateSpaceRequest.json +7 -0
  137. package/json-schema/api/UpdateTenantRequest.json +7 -0
  138. package/json-schema/api/ValidateLicenseRequest.json +7 -0
  139. package/json-schema/api/ValidateLicenseResponse.json +7 -0
  140. package/json-schema/hub/DependencyConflict.json +7 -0
  141. package/json-schema/hub/DependencyGraph.json +7 -0
  142. package/json-schema/hub/DependencyGraphNode.json +7 -0
  143. package/json-schema/hub/DependencyResolutionResult.json +7 -0
  144. package/json-schema/hub/EdgeLocation.json +7 -0
  145. package/json-schema/hub/FederationTopology.json +7 -0
  146. package/json-schema/hub/GlobalRegistryEntry.json +7 -0
  147. package/json-schema/hub/HubInstance.json +7 -0
  148. package/json-schema/hub/PackageDependency.json +7 -0
  149. package/json-schema/hub/PluginProvenance.json +7 -0
  150. package/json-schema/hub/PluginTrustScore.json +7 -0
  151. package/json-schema/{api/SavedView.json → hub/Region.json} +2 -2
  152. package/json-schema/hub/ReplicationJob.json +7 -0
  153. package/json-schema/{api/ViewLayout.json → hub/SBOM.json} +2 -2
  154. package/json-schema/hub/SBOMEntry.json +7 -0
  155. package/json-schema/hub/SecurityPolicy.json +7 -0
  156. package/json-schema/hub/SecurityScanResult.json +7 -0
  157. package/json-schema/hub/SecurityVulnerability.json +7 -0
  158. package/json-schema/hub/TenantPlacementPolicy.json +7 -0
  159. package/json-schema/hub/VulnerabilitySeverity.json +7 -0
  160. package/json-schema/qa/TestAction.json +7 -0
  161. package/json-schema/qa/TestActionType.json +7 -0
  162. package/json-schema/qa/TestAssertion.json +7 -0
  163. package/json-schema/qa/TestAssertionType.json +7 -0
  164. package/json-schema/qa/TestContext.json +7 -0
  165. package/json-schema/qa/TestScenario.json +7 -0
  166. package/json-schema/qa/TestStep.json +7 -0
  167. package/json-schema/qa/TestSuite.json +7 -0
  168. package/json-schema/system/AddFieldOperation.json +7 -0
  169. package/json-schema/system/ChangeSet.json +7 -0
  170. package/json-schema/system/CreateObjectOperation.json +7 -0
  171. package/json-schema/system/DeleteObjectOperation.json +7 -0
  172. package/json-schema/system/ExecuteSqlOperation.json +7 -0
  173. package/json-schema/system/MigrationDependency.json +7 -0
  174. package/json-schema/system/MigrationOperation.json +7 -0
  175. package/json-schema/system/ModifyFieldOperation.json +7 -0
  176. package/json-schema/system/PluginCaching.json +7 -0
  177. package/json-schema/system/PluginCodeSplitting.json +7 -0
  178. package/json-schema/system/PluginDependencyResolution.json +7 -0
  179. package/json-schema/system/PluginDynamicImport.json +7 -0
  180. package/json-schema/system/PluginHotReload.json +7 -0
  181. package/json-schema/system/PluginInitialization.json +7 -0
  182. package/json-schema/system/PluginLoadingConfig.json +7 -0
  183. package/json-schema/system/PluginLoadingEvent.json +7 -0
  184. package/json-schema/system/PluginLoadingState.json +7 -0
  185. package/json-schema/system/PluginLoadingStrategy.json +7 -0
  186. package/json-schema/system/PluginPerformanceMonitoring.json +7 -0
  187. package/json-schema/system/PluginPreloadConfig.json +7 -0
  188. package/json-schema/system/PluginSandboxing.json +7 -0
  189. package/json-schema/system/RemoveFieldOperation.json +7 -0
  190. package/json-schema/system/RenameObjectOperation.json +7 -0
  191. package/package.json +1 -1
  192. package/dist/api/view-storage.zod.d.ts +0 -2054
  193. package/dist/api/view-storage.zod.d.ts.map +0 -1
  194. package/dist/api/view-storage.zod.js +0 -243
  195. package/json-schema/api/ListViewsResponse.json +0 -7
  196. package/json-schema/api/UpdateViewRequest.json +0 -7
  197. package/json-schema/api/ViewVisibility.json +0 -7
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-security.zod.d.ts","sourceRoot":"","sources":["../../src/hub/plugin-security.zod.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,637 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PluginSecurityProtocol = exports.PluginTrustScoreSchema = exports.PluginProvenanceSchema = exports.SBOMSchema = exports.SBOMEntrySchema = exports.DependencyResolutionResultSchema = exports.DependencyConflictSchema = exports.DependencyGraphSchema = exports.DependencyGraphNodeSchema = exports.PackageDependencySchema = exports.SecurityPolicySchema = exports.SecurityScanResultSchema = exports.SecurityVulnerabilitySchema = exports.VulnerabilitySeverity = void 0;
4
+ const zod_1 = require("zod");
5
+ /**
6
+ * # Plugin Security & Dependency Resolution Protocol
7
+ *
8
+ * Provides comprehensive security scanning, vulnerability management,
9
+ * and dependency resolution for the ObjectStack plugin ecosystem.
10
+ *
11
+ * Features:
12
+ * - CVE/vulnerability scanning
13
+ * - Dependency graph resolution
14
+ * - Semantic version conflict detection
15
+ * - Supply chain security
16
+ * - Plugin sandboxing policies
17
+ * - Trust and verification workflows
18
+ */
19
+ // ============================================================================
20
+ // Security Scanning
21
+ // ============================================================================
22
+ /**
23
+ * Vulnerability Severity
24
+ */
25
+ exports.VulnerabilitySeverity = zod_1.z.enum([
26
+ 'critical',
27
+ 'high',
28
+ 'medium',
29
+ 'low',
30
+ 'info',
31
+ ]);
32
+ /**
33
+ * Security Vulnerability
34
+ */
35
+ exports.SecurityVulnerabilitySchema = zod_1.z.object({
36
+ /**
37
+ * CVE identifier (if applicable)
38
+ */
39
+ cve: zod_1.z.string().regex(/^CVE-\d{4}-\d+$/).optional().describe('CVE identifier'),
40
+ /**
41
+ * Vulnerability identifier (GHSA, SNYK, etc.)
42
+ */
43
+ id: zod_1.z.string().describe('Vulnerability ID'),
44
+ /**
45
+ * Title
46
+ */
47
+ title: zod_1.z.string(),
48
+ /**
49
+ * Description
50
+ */
51
+ description: zod_1.z.string(),
52
+ /**
53
+ * Severity
54
+ */
55
+ severity: exports.VulnerabilitySeverity,
56
+ /**
57
+ * CVSS score (0-10)
58
+ */
59
+ cvss: zod_1.z.number().min(0).max(10).optional(),
60
+ /**
61
+ * Affected package
62
+ */
63
+ package: zod_1.z.object({
64
+ name: zod_1.z.string(),
65
+ version: zod_1.z.string(),
66
+ ecosystem: zod_1.z.string().optional(),
67
+ }),
68
+ /**
69
+ * Vulnerable version range
70
+ */
71
+ vulnerableVersions: zod_1.z.string().describe('Semver range of vulnerable versions'),
72
+ /**
73
+ * Patched versions
74
+ */
75
+ patchedVersions: zod_1.z.string().optional().describe('Semver range of patched versions'),
76
+ /**
77
+ * References
78
+ */
79
+ references: zod_1.z.array(zod_1.z.object({
80
+ type: zod_1.z.enum(['advisory', 'article', 'report', 'web']),
81
+ url: zod_1.z.string().url(),
82
+ })).default([]),
83
+ /**
84
+ * CWE (Common Weakness Enumeration)
85
+ */
86
+ cwe: zod_1.z.array(zod_1.z.string()).default([]),
87
+ /**
88
+ * Published date
89
+ */
90
+ publishedAt: zod_1.z.string().datetime().optional(),
91
+ /**
92
+ * Mitigation advice
93
+ */
94
+ mitigation: zod_1.z.string().optional(),
95
+ });
96
+ /**
97
+ * Security Scan Result
98
+ */
99
+ exports.SecurityScanResultSchema = zod_1.z.object({
100
+ /**
101
+ * Scan identifier
102
+ */
103
+ scanId: zod_1.z.string().uuid(),
104
+ /**
105
+ * Plugin being scanned
106
+ */
107
+ plugin: zod_1.z.object({
108
+ id: zod_1.z.string(),
109
+ version: zod_1.z.string(),
110
+ }),
111
+ /**
112
+ * Scan timestamp
113
+ */
114
+ scannedAt: zod_1.z.string().datetime(),
115
+ /**
116
+ * Scanner information
117
+ */
118
+ scanner: zod_1.z.object({
119
+ name: zod_1.z.string().describe('Scanner name (e.g., snyk, osv, trivy)'),
120
+ version: zod_1.z.string(),
121
+ }),
122
+ /**
123
+ * Scan status
124
+ */
125
+ status: zod_1.z.enum(['passed', 'failed', 'warning']),
126
+ /**
127
+ * Vulnerabilities found
128
+ */
129
+ vulnerabilities: zod_1.z.array(exports.SecurityVulnerabilitySchema),
130
+ /**
131
+ * Vulnerability summary
132
+ */
133
+ summary: zod_1.z.object({
134
+ critical: zod_1.z.number().int().min(0).default(0),
135
+ high: zod_1.z.number().int().min(0).default(0),
136
+ medium: zod_1.z.number().int().min(0).default(0),
137
+ low: zod_1.z.number().int().min(0).default(0),
138
+ info: zod_1.z.number().int().min(0).default(0),
139
+ total: zod_1.z.number().int().min(0).default(0),
140
+ }),
141
+ /**
142
+ * License compliance issues
143
+ */
144
+ licenseIssues: zod_1.z.array(zod_1.z.object({
145
+ package: zod_1.z.string(),
146
+ license: zod_1.z.string(),
147
+ reason: zod_1.z.string(),
148
+ severity: zod_1.z.enum(['error', 'warning', 'info']),
149
+ })).default([]),
150
+ /**
151
+ * Code quality issues
152
+ */
153
+ codeQuality: zod_1.z.object({
154
+ score: zod_1.z.number().min(0).max(100).optional(),
155
+ issues: zod_1.z.array(zod_1.z.object({
156
+ type: zod_1.z.enum(['security', 'quality', 'style']),
157
+ severity: zod_1.z.enum(['error', 'warning', 'info']),
158
+ message: zod_1.z.string(),
159
+ file: zod_1.z.string().optional(),
160
+ line: zod_1.z.number().int().optional(),
161
+ })).default([]),
162
+ }).optional(),
163
+ /**
164
+ * Next scan scheduled
165
+ */
166
+ nextScanAt: zod_1.z.string().datetime().optional(),
167
+ });
168
+ /**
169
+ * Security Policy
170
+ */
171
+ exports.SecurityPolicySchema = zod_1.z.object({
172
+ /**
173
+ * Policy identifier
174
+ */
175
+ id: zod_1.z.string(),
176
+ /**
177
+ * Policy name
178
+ */
179
+ name: zod_1.z.string(),
180
+ /**
181
+ * Automatic scanning
182
+ */
183
+ autoScan: zod_1.z.object({
184
+ enabled: zod_1.z.boolean().default(true),
185
+ frequency: zod_1.z.enum(['on-publish', 'daily', 'weekly', 'monthly']).default('daily'),
186
+ }),
187
+ /**
188
+ * Vulnerability thresholds
189
+ */
190
+ thresholds: zod_1.z.object({
191
+ /**
192
+ * Block plugin if critical vulnerabilities exceed this
193
+ */
194
+ maxCritical: zod_1.z.number().int().min(0).default(0),
195
+ /**
196
+ * Block plugin if high vulnerabilities exceed this
197
+ */
198
+ maxHigh: zod_1.z.number().int().min(0).default(0),
199
+ /**
200
+ * Warn if medium vulnerabilities exceed this
201
+ */
202
+ maxMedium: zod_1.z.number().int().min(0).default(5),
203
+ }),
204
+ /**
205
+ * Allowed licenses
206
+ */
207
+ allowedLicenses: zod_1.z.array(zod_1.z.string()).default([
208
+ 'MIT',
209
+ 'Apache-2.0',
210
+ 'BSD-3-Clause',
211
+ 'BSD-2-Clause',
212
+ 'ISC',
213
+ ]),
214
+ /**
215
+ * Prohibited licenses
216
+ */
217
+ prohibitedLicenses: zod_1.z.array(zod_1.z.string()).default([
218
+ 'GPL-3.0',
219
+ 'AGPL-3.0',
220
+ ]),
221
+ /**
222
+ * Code signing requirements
223
+ */
224
+ codeSigning: zod_1.z.object({
225
+ required: zod_1.z.boolean().default(false),
226
+ allowedSigners: zod_1.z.array(zod_1.z.string()).default([]),
227
+ }).optional(),
228
+ /**
229
+ * Sandbox restrictions
230
+ */
231
+ sandbox: zod_1.z.object({
232
+ /**
233
+ * Restrict network access
234
+ */
235
+ networkAccess: zod_1.z.enum(['none', 'localhost', 'allowlist', 'all']).default('all'),
236
+ /**
237
+ * Allowed network destinations (if allowlist)
238
+ */
239
+ allowedDestinations: zod_1.z.array(zod_1.z.string()).default([]),
240
+ /**
241
+ * File system access
242
+ */
243
+ filesystemAccess: zod_1.z.enum(['none', 'read-only', 'temp-only', 'full']).default('full'),
244
+ /**
245
+ * Maximum memory (MB)
246
+ */
247
+ maxMemoryMB: zod_1.z.number().int().positive().optional(),
248
+ /**
249
+ * Maximum CPU time (seconds)
250
+ */
251
+ maxCPUSeconds: zod_1.z.number().int().positive().optional(),
252
+ }).optional(),
253
+ });
254
+ // ============================================================================
255
+ // Dependency Resolution
256
+ // ============================================================================
257
+ /**
258
+ * Package Dependency
259
+ */
260
+ exports.PackageDependencySchema = zod_1.z.object({
261
+ /**
262
+ * Package name/ID
263
+ */
264
+ name: zod_1.z.string(),
265
+ /**
266
+ * Version constraint (semver range)
267
+ */
268
+ versionConstraint: zod_1.z.string().describe('Semver range (e.g., ^1.0.0, >=2.0.0 <3.0.0)'),
269
+ /**
270
+ * Dependency type
271
+ */
272
+ type: zod_1.z.enum(['required', 'optional', 'peer', 'dev']).default('required'),
273
+ /**
274
+ * Resolved version (filled during resolution)
275
+ */
276
+ resolvedVersion: zod_1.z.string().optional(),
277
+ });
278
+ /**
279
+ * Dependency Graph Node
280
+ */
281
+ exports.DependencyGraphNodeSchema = zod_1.z.object({
282
+ /**
283
+ * Package identifier
284
+ */
285
+ id: zod_1.z.string(),
286
+ /**
287
+ * Package version
288
+ */
289
+ version: zod_1.z.string(),
290
+ /**
291
+ * Dependencies of this package
292
+ */
293
+ dependencies: zod_1.z.array(exports.PackageDependencySchema).default([]),
294
+ /**
295
+ * Depth in dependency tree
296
+ */
297
+ depth: zod_1.z.number().int().min(0),
298
+ /**
299
+ * Whether this is a direct dependency
300
+ */
301
+ isDirect: zod_1.z.boolean(),
302
+ /**
303
+ * Package metadata
304
+ */
305
+ metadata: zod_1.z.object({
306
+ name: zod_1.z.string(),
307
+ description: zod_1.z.string().optional(),
308
+ license: zod_1.z.string().optional(),
309
+ homepage: zod_1.z.string().url().optional(),
310
+ }).optional(),
311
+ });
312
+ /**
313
+ * Dependency Graph
314
+ */
315
+ exports.DependencyGraphSchema = zod_1.z.object({
316
+ /**
317
+ * Root package
318
+ */
319
+ root: zod_1.z.object({
320
+ id: zod_1.z.string(),
321
+ version: zod_1.z.string(),
322
+ }),
323
+ /**
324
+ * All nodes in the graph
325
+ */
326
+ nodes: zod_1.z.array(exports.DependencyGraphNodeSchema),
327
+ /**
328
+ * Edges (dependency relationships)
329
+ */
330
+ edges: zod_1.z.array(zod_1.z.object({
331
+ from: zod_1.z.string().describe('Package ID'),
332
+ to: zod_1.z.string().describe('Package ID'),
333
+ constraint: zod_1.z.string().describe('Version constraint'),
334
+ })),
335
+ /**
336
+ * Resolution statistics
337
+ */
338
+ stats: zod_1.z.object({
339
+ totalDependencies: zod_1.z.number().int().min(0),
340
+ directDependencies: zod_1.z.number().int().min(0),
341
+ maxDepth: zod_1.z.number().int().min(0),
342
+ }),
343
+ });
344
+ /**
345
+ * Dependency Conflict
346
+ */
347
+ exports.DependencyConflictSchema = zod_1.z.object({
348
+ /**
349
+ * Package with conflict
350
+ */
351
+ package: zod_1.z.string(),
352
+ /**
353
+ * Conflicting versions
354
+ */
355
+ conflicts: zod_1.z.array(zod_1.z.object({
356
+ version: zod_1.z.string(),
357
+ requestedBy: zod_1.z.array(zod_1.z.string()).describe('Packages that require this version'),
358
+ constraint: zod_1.z.string(),
359
+ })),
360
+ /**
361
+ * Suggested resolution
362
+ */
363
+ resolution: zod_1.z.object({
364
+ strategy: zod_1.z.enum(['pick-highest', 'pick-lowest', 'manual']),
365
+ version: zod_1.z.string().optional(),
366
+ reason: zod_1.z.string().optional(),
367
+ }).optional(),
368
+ /**
369
+ * Severity
370
+ */
371
+ severity: zod_1.z.enum(['error', 'warning', 'info']),
372
+ });
373
+ /**
374
+ * Dependency Resolution Result
375
+ */
376
+ exports.DependencyResolutionResultSchema = zod_1.z.object({
377
+ /**
378
+ * Resolution status
379
+ */
380
+ status: zod_1.z.enum(['success', 'conflict', 'error']),
381
+ /**
382
+ * Resolved dependency graph
383
+ */
384
+ graph: exports.DependencyGraphSchema.optional(),
385
+ /**
386
+ * Conflicts detected
387
+ */
388
+ conflicts: zod_1.z.array(exports.DependencyConflictSchema).default([]),
389
+ /**
390
+ * Errors encountered
391
+ */
392
+ errors: zod_1.z.array(zod_1.z.object({
393
+ package: zod_1.z.string(),
394
+ error: zod_1.z.string(),
395
+ })).default([]),
396
+ /**
397
+ * Installation order (topological sort)
398
+ */
399
+ installOrder: zod_1.z.array(zod_1.z.string()).default([]),
400
+ /**
401
+ * Resolution time (ms)
402
+ */
403
+ resolvedIn: zod_1.z.number().int().min(0).optional(),
404
+ });
405
+ // ============================================================================
406
+ // Supply Chain Security
407
+ // ============================================================================
408
+ /**
409
+ * SBOM (Software Bill of Materials) Entry
410
+ */
411
+ exports.SBOMEntrySchema = zod_1.z.object({
412
+ /**
413
+ * Component name
414
+ */
415
+ name: zod_1.z.string(),
416
+ /**
417
+ * Component version
418
+ */
419
+ version: zod_1.z.string(),
420
+ /**
421
+ * Package URL (purl)
422
+ */
423
+ purl: zod_1.z.string().optional().describe('Package URL identifier'),
424
+ /**
425
+ * License
426
+ */
427
+ license: zod_1.z.string().optional(),
428
+ /**
429
+ * Hashes
430
+ */
431
+ hashes: zod_1.z.object({
432
+ sha256: zod_1.z.string().optional(),
433
+ sha512: zod_1.z.string().optional(),
434
+ }).optional(),
435
+ /**
436
+ * Supplier
437
+ */
438
+ supplier: zod_1.z.object({
439
+ name: zod_1.z.string(),
440
+ url: zod_1.z.string().url().optional(),
441
+ }).optional(),
442
+ /**
443
+ * External references
444
+ */
445
+ externalRefs: zod_1.z.array(zod_1.z.object({
446
+ type: zod_1.z.enum(['website', 'repository', 'documentation', 'issue-tracker']),
447
+ url: zod_1.z.string().url(),
448
+ })).default([]),
449
+ });
450
+ /**
451
+ * Software Bill of Materials (SBOM)
452
+ */
453
+ exports.SBOMSchema = zod_1.z.object({
454
+ /**
455
+ * SBOM format
456
+ */
457
+ format: zod_1.z.enum(['spdx', 'cyclonedx']).default('cyclonedx'),
458
+ /**
459
+ * SBOM version
460
+ */
461
+ version: zod_1.z.string(),
462
+ /**
463
+ * Plugin metadata
464
+ */
465
+ plugin: zod_1.z.object({
466
+ id: zod_1.z.string(),
467
+ version: zod_1.z.string(),
468
+ name: zod_1.z.string(),
469
+ }),
470
+ /**
471
+ * Components (dependencies)
472
+ */
473
+ components: zod_1.z.array(exports.SBOMEntrySchema),
474
+ /**
475
+ * Generation timestamp
476
+ */
477
+ generatedAt: zod_1.z.string().datetime(),
478
+ /**
479
+ * Generator tool
480
+ */
481
+ generator: zod_1.z.object({
482
+ name: zod_1.z.string(),
483
+ version: zod_1.z.string(),
484
+ }).optional(),
485
+ });
486
+ /**
487
+ * Plugin Provenance
488
+ * Verifiable chain of custody for plugin artifacts
489
+ */
490
+ exports.PluginProvenanceSchema = zod_1.z.object({
491
+ /**
492
+ * Plugin identifier
493
+ */
494
+ pluginId: zod_1.z.string(),
495
+ /**
496
+ * Plugin version
497
+ */
498
+ version: zod_1.z.string(),
499
+ /**
500
+ * Build information
501
+ */
502
+ build: zod_1.z.object({
503
+ /**
504
+ * Build timestamp
505
+ */
506
+ timestamp: zod_1.z.string().datetime(),
507
+ /**
508
+ * Build environment
509
+ */
510
+ environment: zod_1.z.object({
511
+ os: zod_1.z.string(),
512
+ arch: zod_1.z.string(),
513
+ nodeVersion: zod_1.z.string(),
514
+ }).optional(),
515
+ /**
516
+ * Source repository
517
+ */
518
+ source: zod_1.z.object({
519
+ repository: zod_1.z.string().url(),
520
+ commit: zod_1.z.string().regex(/^[a-f0-9]{40}$/),
521
+ branch: zod_1.z.string().optional(),
522
+ tag: zod_1.z.string().optional(),
523
+ }).optional(),
524
+ /**
525
+ * Builder identity
526
+ */
527
+ builder: zod_1.z.object({
528
+ name: zod_1.z.string(),
529
+ email: zod_1.z.string().email().optional(),
530
+ }).optional(),
531
+ }),
532
+ /**
533
+ * Artifact hashes
534
+ */
535
+ artifacts: zod_1.z.array(zod_1.z.object({
536
+ filename: zod_1.z.string(),
537
+ sha256: zod_1.z.string(),
538
+ size: zod_1.z.number().int().positive(),
539
+ })),
540
+ /**
541
+ * Signatures
542
+ */
543
+ signatures: zod_1.z.array(zod_1.z.object({
544
+ algorithm: zod_1.z.enum(['rsa', 'ecdsa', 'ed25519']),
545
+ publicKey: zod_1.z.string(),
546
+ signature: zod_1.z.string(),
547
+ signedBy: zod_1.z.string(),
548
+ timestamp: zod_1.z.string().datetime(),
549
+ })).default([]),
550
+ /**
551
+ * Attestations
552
+ */
553
+ attestations: zod_1.z.array(zod_1.z.object({
554
+ type: zod_1.z.enum(['code-review', 'security-scan', 'test-results', 'ci-build']),
555
+ status: zod_1.z.enum(['passed', 'failed']),
556
+ url: zod_1.z.string().url().optional(),
557
+ timestamp: zod_1.z.string().datetime(),
558
+ })).default([]),
559
+ });
560
+ // ============================================================================
561
+ // Trust & Verification
562
+ // ============================================================================
563
+ /**
564
+ * Plugin Trust Score
565
+ */
566
+ exports.PluginTrustScoreSchema = zod_1.z.object({
567
+ /**
568
+ * Plugin identifier
569
+ */
570
+ pluginId: zod_1.z.string(),
571
+ /**
572
+ * Overall trust score (0-100)
573
+ */
574
+ score: zod_1.z.number().min(0).max(100),
575
+ /**
576
+ * Score components
577
+ */
578
+ components: zod_1.z.object({
579
+ /**
580
+ * Vendor reputation (0-100)
581
+ */
582
+ vendorReputation: zod_1.z.number().min(0).max(100),
583
+ /**
584
+ * Security scan results (0-100)
585
+ */
586
+ securityScore: zod_1.z.number().min(0).max(100),
587
+ /**
588
+ * Code quality (0-100)
589
+ */
590
+ codeQuality: zod_1.z.number().min(0).max(100),
591
+ /**
592
+ * Community engagement (0-100)
593
+ */
594
+ communityScore: zod_1.z.number().min(0).max(100),
595
+ /**
596
+ * Update frequency (0-100)
597
+ */
598
+ maintenanceScore: zod_1.z.number().min(0).max(100),
599
+ }),
600
+ /**
601
+ * Trust level
602
+ */
603
+ level: zod_1.z.enum(['verified', 'trusted', 'neutral', 'untrusted', 'blocked']),
604
+ /**
605
+ * Verification badges
606
+ */
607
+ badges: zod_1.z.array(zod_1.z.enum([
608
+ 'official', // Official ObjectStack plugin
609
+ 'verified-vendor', // Verified vendor
610
+ 'security-scanned', // Passed security scan
611
+ 'code-signed', // Digitally signed
612
+ 'open-source', // Open source
613
+ 'popular', // High downloads
614
+ ])).default([]),
615
+ /**
616
+ * Last updated
617
+ */
618
+ updatedAt: zod_1.z.string().datetime(),
619
+ });
620
+ // ============================================================================
621
+ // Export All
622
+ // ============================================================================
623
+ exports.PluginSecurityProtocol = {
624
+ VulnerabilitySeverity: exports.VulnerabilitySeverity,
625
+ SecurityVulnerability: exports.SecurityVulnerabilitySchema,
626
+ SecurityScanResult: exports.SecurityScanResultSchema,
627
+ SecurityPolicy: exports.SecurityPolicySchema,
628
+ PackageDependency: exports.PackageDependencySchema,
629
+ DependencyGraphNode: exports.DependencyGraphNodeSchema,
630
+ DependencyGraph: exports.DependencyGraphSchema,
631
+ DependencyConflict: exports.DependencyConflictSchema,
632
+ DependencyResolutionResult: exports.DependencyResolutionResultSchema,
633
+ SBOMEntry: exports.SBOMEntrySchema,
634
+ SBOM: exports.SBOMSchema,
635
+ PluginProvenance: exports.PluginProvenanceSchema,
636
+ PluginTrustScore: exports.PluginTrustScoreSchema,
637
+ };
package/dist/index.d.ts CHANGED
@@ -41,6 +41,7 @@ export * as Data from './data';
41
41
  export * as Permission from './permission';
42
42
  export * as UI from './ui';
43
43
  export * as System from './system';
44
+ export * as QA from './qa';
44
45
  export * as Auth from './auth';
45
46
  export * as Hub from './hub';
46
47
  export * as AI from './ai';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAOH,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,WAAW,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AAEzC,OAAO,EACL,WAAW,EACX,2BAA2B,EAC3B,iBAAiB,EACjB,6BAA6B,EAC7B,0BAA0B,EAC1B,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,aAAa,CAAC;AAErB,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAOH,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,WAAW,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AAEzC,OAAO,EACL,WAAW,EACX,2BAA2B,EAC3B,iBAAiB,EACjB,6BAA6B,EAC7B,0BAA0B,EAC1B,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,aAAa,CAAC;AAErB,cAAc,aAAa,CAAC"}
package/dist/index.js CHANGED
@@ -74,7 +74,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
74
74
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
75
75
  };
76
76
  Object.defineProperty(exports, "__esModule", { value: true });
77
- exports.ObjectOSCapabilitiesSchema = exports.ObjectUICapabilitiesSchema = exports.ObjectQLCapabilitiesSchema = exports.ObjectStackCapabilitiesSchema = exports.ObjectStackSchema = exports.ObjectStackDefinitionSchema = exports.defineStack = exports.Contracts = exports.Integration = exports.Automation = exports.API = exports.AI = exports.Hub = exports.Auth = exports.System = exports.UI = exports.Permission = exports.Data = exports.Shared = void 0;
77
+ exports.ObjectOSCapabilitiesSchema = exports.ObjectUICapabilitiesSchema = exports.ObjectQLCapabilitiesSchema = exports.ObjectStackCapabilitiesSchema = exports.ObjectStackSchema = exports.ObjectStackDefinitionSchema = exports.defineStack = exports.Contracts = exports.Integration = exports.Automation = exports.API = exports.AI = exports.Hub = exports.Auth = exports.QA = exports.System = exports.UI = exports.Permission = exports.Data = exports.Shared = void 0;
78
78
  // ============================================================================
79
79
  // NAMESPACE EXPORTS
80
80
  // ============================================================================
@@ -85,6 +85,7 @@ exports.Data = __importStar(require("./data"));
85
85
  exports.Permission = __importStar(require("./permission"));
86
86
  exports.UI = __importStar(require("./ui"));
87
87
  exports.System = __importStar(require("./system"));
88
+ exports.QA = __importStar(require("./qa"));
88
89
  exports.Auth = __importStar(require("./auth"));
89
90
  exports.Hub = __importStar(require("./hub"));
90
91
  exports.AI = __importStar(require("./ai"));
@@ -261,8 +261,8 @@ export declare const VercelMonitoringSchema: z.ZodObject<{
261
261
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
262
262
  sources: z.ZodOptional<z.ZodArray<z.ZodEnum<{
263
263
  static: "static";
264
- lambda: "lambda";
265
264
  edge: "edge";
265
+ lambda: "lambda";
266
266
  }>>>;
267
267
  }, z.core.$strip>>>;
268
268
  }, z.core.$strip>;
@@ -625,8 +625,8 @@ export declare const VercelConnectorSchema: z.ZodObject<{
625
625
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
626
626
  sources: z.ZodOptional<z.ZodArray<z.ZodEnum<{
627
627
  static: "static";
628
- lambda: "lambda";
629
628
  edge: "edge";
629
+ lambda: "lambda";
630
630
  }>>>;
631
631
  }, z.core.$strip>>>;
632
632
  }, z.core.$strip>>;