@intutic/shared-types 1.0.1

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 (131) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +56 -0
  3. package/dist/agentPool.d.ts +40 -0
  4. package/dist/agentPool.d.ts.map +1 -0
  5. package/dist/agentPool.js +3 -0
  6. package/dist/agentPool.js.map +1 -0
  7. package/dist/annotation.d.ts +150 -0
  8. package/dist/annotation.d.ts.map +1 -0
  9. package/dist/annotation.js +6 -0
  10. package/dist/annotation.js.map +1 -0
  11. package/dist/anomaly.d.ts +227 -0
  12. package/dist/anomaly.d.ts.map +1 -0
  13. package/dist/anomaly.js +35 -0
  14. package/dist/anomaly.js.map +1 -0
  15. package/dist/api-contracts.d.ts +176 -0
  16. package/dist/api-contracts.d.ts.map +1 -0
  17. package/dist/api-contracts.js +110 -0
  18. package/dist/api-contracts.js.map +1 -0
  19. package/dist/attenuation.d.ts +115 -0
  20. package/dist/attenuation.d.ts.map +1 -0
  21. package/dist/attenuation.js +26 -0
  22. package/dist/attenuation.js.map +1 -0
  23. package/dist/auth.d.ts +340 -0
  24. package/dist/auth.d.ts.map +1 -0
  25. package/dist/auth.js +87 -0
  26. package/dist/auth.js.map +1 -0
  27. package/dist/benchmark.d.ts +76 -0
  28. package/dist/benchmark.d.ts.map +1 -0
  29. package/dist/benchmark.js +8 -0
  30. package/dist/benchmark.js.map +1 -0
  31. package/dist/billing.d.ts +173 -0
  32. package/dist/billing.d.ts.map +1 -0
  33. package/dist/billing.js +28 -0
  34. package/dist/billing.js.map +1 -0
  35. package/dist/cdc.d.ts +73 -0
  36. package/dist/cdc.d.ts.map +1 -0
  37. package/dist/cdc.js +13 -0
  38. package/dist/cdc.js.map +1 -0
  39. package/dist/cfo.d.ts +66 -0
  40. package/dist/cfo.d.ts.map +1 -0
  41. package/dist/cfo.js +3 -0
  42. package/dist/cfo.js.map +1 -0
  43. package/dist/connectors.d.ts +23 -0
  44. package/dist/connectors.d.ts.map +1 -0
  45. package/dist/connectors.js +6 -0
  46. package/dist/connectors.js.map +1 -0
  47. package/dist/enums.d.ts +238 -0
  48. package/dist/enums.d.ts.map +1 -0
  49. package/dist/enums.js +243 -0
  50. package/dist/enums.js.map +1 -0
  51. package/dist/errors.d.ts +122 -0
  52. package/dist/errors.d.ts.map +1 -0
  53. package/dist/errors.js +135 -0
  54. package/dist/errors.js.map +1 -0
  55. package/dist/evaluator.d.ts +70 -0
  56. package/dist/evaluator.d.ts.map +1 -0
  57. package/dist/evaluator.js +8 -0
  58. package/dist/evaluator.js.map +1 -0
  59. package/dist/finops.d.ts +185 -0
  60. package/dist/finops.d.ts.map +1 -0
  61. package/dist/finops.js +14 -0
  62. package/dist/finops.js.map +1 -0
  63. package/dist/hindsight.d.ts +49 -0
  64. package/dist/hindsight.d.ts.map +1 -0
  65. package/dist/hindsight.js +3 -0
  66. package/dist/hindsight.js.map +1 -0
  67. package/dist/identity.d.ts +101 -0
  68. package/dist/identity.d.ts.map +1 -0
  69. package/dist/identity.js +29 -0
  70. package/dist/identity.js.map +1 -0
  71. package/dist/index.d.ts +40 -0
  72. package/dist/index.d.ts.map +1 -0
  73. package/dist/index.js +120 -0
  74. package/dist/index.js.map +1 -0
  75. package/dist/intelligence.d.ts +325 -0
  76. package/dist/intelligence.d.ts.map +1 -0
  77. package/dist/intelligence.js +28 -0
  78. package/dist/intelligence.js.map +1 -0
  79. package/dist/marketplace.d.ts +76 -0
  80. package/dist/marketplace.d.ts.map +1 -0
  81. package/dist/marketplace.js +16 -0
  82. package/dist/marketplace.js.map +1 -0
  83. package/dist/notifications.d.ts +206 -0
  84. package/dist/notifications.d.ts.map +1 -0
  85. package/dist/notifications.js +6 -0
  86. package/dist/notifications.js.map +1 -0
  87. package/dist/observability.d.ts +45 -0
  88. package/dist/observability.d.ts.map +1 -0
  89. package/dist/observability.js +10 -0
  90. package/dist/observability.js.map +1 -0
  91. package/dist/policy.d.ts +104 -0
  92. package/dist/policy.d.ts.map +1 -0
  93. package/dist/policy.js +14 -0
  94. package/dist/policy.js.map +1 -0
  95. package/dist/prompt.d.ts +99 -0
  96. package/dist/prompt.d.ts.map +1 -0
  97. package/dist/prompt.js +3 -0
  98. package/dist/prompt.js.map +1 -0
  99. package/dist/session.d.ts +62 -0
  100. package/dist/session.d.ts.map +1 -0
  101. package/dist/session.js +14 -0
  102. package/dist/session.js.map +1 -0
  103. package/dist/sop.d.ts +387 -0
  104. package/dist/sop.d.ts.map +1 -0
  105. package/dist/sop.js +44 -0
  106. package/dist/sop.js.map +1 -0
  107. package/dist/sync.d.ts +374 -0
  108. package/dist/sync.d.ts.map +1 -0
  109. package/dist/sync.js +56 -0
  110. package/dist/sync.js.map +1 -0
  111. package/dist/taskManagement.d.ts +141 -0
  112. package/dist/taskManagement.d.ts.map +1 -0
  113. package/dist/taskManagement.js +14 -0
  114. package/dist/taskManagement.js.map +1 -0
  115. package/dist/trial.d.ts +34 -0
  116. package/dist/trial.d.ts.map +1 -0
  117. package/dist/trial.js +6 -0
  118. package/dist/trial.js.map +1 -0
  119. package/dist/usage.d.ts +34 -0
  120. package/dist/usage.d.ts.map +1 -0
  121. package/dist/usage.js +6 -0
  122. package/dist/usage.js.map +1 -0
  123. package/dist/warehouse.d.ts +49 -0
  124. package/dist/warehouse.d.ts.map +1 -0
  125. package/dist/warehouse.js +8 -0
  126. package/dist/warehouse.js.map +1 -0
  127. package/dist/workspaceSettings.d.ts +116 -0
  128. package/dist/workspaceSettings.d.ts.map +1 -0
  129. package/dist/workspaceSettings.js +50 -0
  130. package/dist/workspaceSettings.js.map +1 -0
  131. package/package.json +24 -0
@@ -0,0 +1,185 @@
1
+ /**
2
+ * FinOps ledger types for cost tracking and attribution.
3
+ *
4
+ * These types correspond to the `execution_traces` table and the
5
+ * `finops_attribution_4d` materialized view defined in
6
+ * LLD 01-data-architecture §3.1.
7
+ *
8
+ * HLD §3.6 (FinOps Ledger), §3.19 (4D Attribution)
9
+ *
10
+ * @module
11
+ */
12
+ import type { AnomalyType, EnforcementAction, RoutingTier, TokenUtility } from './enums.js';
13
+ /**
14
+ * A single row in the `execution_traces` table — the append-only FinOps ledger.
15
+ *
16
+ * This is the canonical financial audit trail for every LLM call flowing
17
+ * through the platform. INSERT only; UPDATE and DELETE are forbidden by
18
+ * a database trigger.
19
+ *
20
+ * LLD §3.1 — execution_traces table definition
21
+ */
22
+ export interface TraceEntry {
23
+ /** Unique trace identifier — `newId('tr')`. */
24
+ traceId: string;
25
+ /** Session that produced this trace — FK to `agent_sessions`. */
26
+ sessionId: string;
27
+ /** Idempotency key — UNIQUE constraint. */
28
+ requestId: string;
29
+ /** Timestamp of the trace event. */
30
+ timestamp: string;
31
+ /** Effective date of the SOP governing this call. */
32
+ sopEffectiveDate: string;
33
+ /** Model requested by the agent/user. */
34
+ requestedModel: string;
35
+ /** Model actually routed to after complexity scoring. */
36
+ actualModelRouted: string;
37
+ /** Routing tier for this call. */
38
+ routingTier: RoutingTier;
39
+ /** Complexity score used for routing (0.0–1.0). */
40
+ complexityScore: number;
41
+ /** Raw input tokens before compression. */
42
+ rawInputTokens: number;
43
+ /** Input tokens after compression. */
44
+ compressedInputTokens: number;
45
+ /** Output tokens generated. */
46
+ outputTokens: number;
47
+ /** Cost at the raw model rate (USD). */
48
+ rawCostUsd: number;
49
+ /** Actual cost after routing optimization (USD). */
50
+ actualCostUsd: number;
51
+ /** Savings from routing optimization (USD) — generated column. */
52
+ savingsUsd: number;
53
+ /** Whether the token spend was useful or wasted. */
54
+ tokenUtility: TokenUtility;
55
+ /** Utility confidence score (0.0–1.0). */
56
+ tokenUtilityScore: number;
57
+ /** Compliance score from policy evaluation (0.0–1.0). */
58
+ complianceScore: number;
59
+ /** Enforcement action applied to this call. */
60
+ enforcementAction: EnforcementAction;
61
+ /** Detected anomaly type, if any. */
62
+ anomalyDetected: AnomalyType | null;
63
+ /** Anomaly detection confidence score (0.0–1.0). */
64
+ anomalyConfidenceScore: number | null;
65
+ /** Additional anomaly taxonomy metadata. */
66
+ taxonomyMetadata: Record<string, unknown> | null;
67
+ /** Raw request/response payload for audit. SENSITIVE. */
68
+ rawPayloadJson: Record<string, unknown> | null;
69
+ /** Application identifier for attribution. */
70
+ appId: string | null;
71
+ /** Agent chain identifier for attribution. */
72
+ agentChainId: string | null;
73
+ /** Full agent delegation chain (JSON). */
74
+ agentChain: Record<string, unknown> | null;
75
+ /** Whether this call was served from cache. */
76
+ cacheHit: boolean;
77
+ /** Savings from cache hit (USD). */
78
+ cacheSavingsUsd: number;
79
+ /** Structured root cause attribution for anomalies. */
80
+ rootCauseAttribution: Record<string, unknown> | null;
81
+ /** Corrective prompt card generated for this anomaly. */
82
+ correctivePromptCard: Record<string, unknown> | null;
83
+ }
84
+ /**
85
+ * Summarized cost breakdown for a session, workspace, or time window.
86
+ *
87
+ * HLD §3.6 — FinOps cost accounting
88
+ */
89
+ export interface CostBreakdown {
90
+ /** Cost at raw model rates (USD). */
91
+ rawCost: number;
92
+ /** Actual cost after optimization (USD). */
93
+ actualCost: number;
94
+ /** Total savings from model routing (USD). */
95
+ savings: number;
96
+ /** Total savings from cache hits (USD). */
97
+ cacheSavings: number;
98
+ }
99
+ /**
100
+ * Four-dimensional attribution key for FinOps rollup.
101
+ *
102
+ * Maps to the `finops_attribution_4d` materialized view's grouping dimensions:
103
+ * Person × Harness × App × Agent Chain.
104
+ *
105
+ * HLD §3.19, LLD §3.1 — finops_attribution_4d materialized view
106
+ */
107
+ export interface Attribution4D {
108
+ /** User/person identifier. */
109
+ personId: string;
110
+ /** Harness/IDE type that produced the cost. */
111
+ harnessType: string;
112
+ /** Optional application identifier. */
113
+ appId?: string;
114
+ /** Optional agent chain identifier. */
115
+ agentChainId?: string;
116
+ }
117
+ /** Summary row for listing traces in the UI. */
118
+ export interface TraceSummary {
119
+ traceId: string;
120
+ timestamp: string;
121
+ requestedModel: string;
122
+ actualModelRouted: string;
123
+ enforcementAction: EnforcementAction | string;
124
+ complianceScore: number;
125
+ actualCostUsd: number;
126
+ anomalyDetected: AnomalyType | string | null;
127
+ }
128
+ /** Paginated result from trace listing. */
129
+ export interface TraceListResult {
130
+ traces: TraceSummary[];
131
+ total: number;
132
+ limit: number;
133
+ offset: number;
134
+ }
135
+ export interface TraceStep {
136
+ logId: string;
137
+ toolName: string;
138
+ toolArguments: unknown;
139
+ riskCategory: string | null;
140
+ verdict: string;
141
+ confidence: number;
142
+ reason: string;
143
+ loopDetected: boolean;
144
+ latencyMs: number | null;
145
+ timestamp: string;
146
+ }
147
+ /** Full detail of a single trace. */
148
+ export interface TraceDetail {
149
+ traceId: string;
150
+ sessionId: string;
151
+ requestId: string;
152
+ timestamp: string;
153
+ sopEffectiveDate: string;
154
+ requestedModel: string;
155
+ actualModelRouted: string;
156
+ routingTier: RoutingTier | string;
157
+ complexityScore: number;
158
+ rawInputTokens: number;
159
+ compressedInputTokens: number;
160
+ outputTokens: number;
161
+ rawCostUsd: number;
162
+ actualCostUsd: number;
163
+ savingsUsd: number;
164
+ tokenUtility: TokenUtility | string;
165
+ tokenUtilityScore: number;
166
+ complianceScore: number;
167
+ enforcementAction: EnforcementAction | string;
168
+ anomalyDetected: AnomalyType | string | null;
169
+ anomalyConfidenceScore: number | null;
170
+ taxonomyMetadata: unknown | null;
171
+ rootCauseAttribution: unknown | null;
172
+ correctivePromptCard: unknown | null;
173
+ reasoningTokens?: number | null;
174
+ toolCallMetrics?: unknown | null;
175
+ steps?: TraceStep[];
176
+ }
177
+ /** Filters for trace query. */
178
+ export interface TraceFilters {
179
+ enforcement?: string;
180
+ model?: string;
181
+ since?: string;
182
+ limit?: number;
183
+ offset?: number;
184
+ }
185
+ //# sourceMappingURL=finops.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"finops.d.ts","sourceRoot":"","sources":["../src/finops.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EACV,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,YAAY,EACb,MAAM,YA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CAAA;IAC7C,eAAe,EAAE,WAAW,GAAG,MAAM,GAAG,IAAI,CAAA;IAC5C,sBAAsB,EAAE,MAAM,GAAG,IAAI,CAAA;IACrC,gBAAgB,EAAE,OAAO,GAAG,IAAI,CAAA;IAChC,oBAAoB,EAAE,OAAO,GAAG,IAAI,CAAA;IACpC,oBAAoB,EAAE,OAAO,GAAG,IAAI,CAAA;IACpC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,eAAe,CAAC,EAAE,OAAO,GAAG,IAAI,CAAA;IAChC,KAAK,CAAC,EAAE,SAAS,EAAE,CAAA;CACpB;AAED,+BAA+B;AAC/B,MAAM,WAAW,YAAY;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB"}
package/dist/finops.js ADDED
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /**
3
+ * FinOps ledger types for cost tracking and attribution.
4
+ *
5
+ * These types correspond to the `execution_traces` table and the
6
+ * `finops_attribution_4d` materialized view defined in
7
+ * LLD 01-data-architecture §3.1.
8
+ *
9
+ * HLD §3.6 (FinOps Ledger), §3.19 (4D Attribution)
10
+ *
11
+ * @module
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ //# sourceMappingURL=finops.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"finops.js","sourceRoot":"","sources":["../src/finops.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
@@ -0,0 +1,49 @@
1
+ export interface HindsightPattern {
2
+ patternId: string;
3
+ workspaceId: string;
4
+ vectorId?: string | null;
5
+ tier: 'raw' | 'compressed' | 'institutional';
6
+ sourceType: 'anomaly_reflect' | 'decision_mining' | 'capability_gap';
7
+ sourceRefId?: string | null;
8
+ patternSummary: string;
9
+ occurrenceCount: number;
10
+ lastSeenAt: string;
11
+ promotedAt?: string | null;
12
+ promotedBy?: string | null;
13
+ createdAt: string;
14
+ similarity?: number;
15
+ }
16
+ export interface PatternIngestInput {
17
+ workspaceId: string;
18
+ sourceType: 'anomaly_reflect' | 'decision_mining' | 'capability_gap';
19
+ sourceRefId?: string | null;
20
+ patternSummary: string;
21
+ embedding?: number[];
22
+ }
23
+ export interface PatternIngestResult {
24
+ patternId: string;
25
+ tier: 'raw' | 'compressed' | 'institutional';
26
+ }
27
+ export interface SearchFirstResult {
28
+ hit: boolean;
29
+ pattern?: HindsightPattern;
30
+ llmSkipped: boolean;
31
+ bestSimilarity?: number;
32
+ }
33
+ export interface CompressionResult {
34
+ compressedMessages: any[];
35
+ originalTokens: number;
36
+ compressedTokens: number;
37
+ ratio: number;
38
+ }
39
+ export interface DistillationResult {
40
+ compressed: number;
41
+ promotionCandidates: number;
42
+ }
43
+ export interface MemoryConfig {
44
+ hindsightEnabled: boolean;
45
+ headroomEnabled: boolean;
46
+ searchFirstEnabled: boolean;
47
+ searchFirstThreshold: number;
48
+ }
49
+ //# sourceMappingURL=hindsight.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hindsight.d.ts","sourceRoot":"","sources":["../src/hindsight.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,IAAI,EAAE,KAAK,GAAG,YAAY,GAAG,eAAe,CAAA;IAC5C,UAAU,EAAE,iBAAiB,GAAG,iBAAiB,GAAG,gBAAgB,CAAA;IACpE,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,cAAc,EAAE,MAAM,CAAA;IACtB,eAAe,EAAE,MAAM,CAAA;IACvB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,iBAAiB,GAAG,iBAAiB,GAAG,gBAAgB,CAAA;IACpE,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,cAAc,EAAE,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;CACrB;AAED,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,KAAK,GAAG,YAAY,GAAG,eAAe,CAAA;CAC7C;AAED,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,OAAO,CAAA;IACZ,OAAO,CAAC,EAAE,gBAAgB,CAAA;IAC1B,UAAU,EAAE,OAAO,CAAA;IACnB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,MAAM,WAAW,iBAAiB;IAChC,kBAAkB,EAAE,GAAG,EAAE,CAAA;IACzB,cAAc,EAAE,MAAM,CAAA;IACtB,gBAAgB,EAAE,MAAM,CAAA;IACxB,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,MAAM,CAAA;IAClB,mBAAmB,EAAE,MAAM,CAAA;CAC5B;AAED,MAAM,WAAW,YAAY;IAC3B,gBAAgB,EAAE,OAAO,CAAA;IACzB,eAAe,EAAE,OAAO,CAAA;IACxB,kBAAkB,EAAE,OAAO,CAAA;IAC3B,oBAAoB,EAAE,MAAM,CAAA;CAC7B"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=hindsight.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hindsight.js","sourceRoot":"","sources":["../src/hindsight.ts"],"names":[],"mappings":""}
@@ -0,0 +1,101 @@
1
+ /**
2
+ * Identity Federation types — LLD #11
3
+ *
4
+ * Cross-workspace user identity, SSO/OIDC provider configuration,
5
+ * SCIM 2.0 provisioning resources, and offboarding cascade types.
6
+ *
7
+ * @module
8
+ */
9
+ import { z } from 'zod';
10
+ export interface User {
11
+ userId: string;
12
+ email: string;
13
+ displayName: string | null;
14
+ avatarUrl: string | null;
15
+ authProvider: 'email' | 'okta' | 'entra_id';
16
+ externalId: string | null;
17
+ isActive: boolean;
18
+ lastLoginAt: string | null;
19
+ createdAt: string;
20
+ updatedAt: string;
21
+ }
22
+ export interface UserInfo {
23
+ userId: string;
24
+ email: string;
25
+ displayName: string | null;
26
+ avatarUrl: string | null;
27
+ authProvider: string;
28
+ isActive: boolean;
29
+ lastLoginAt: string | null;
30
+ createdAt: string;
31
+ }
32
+ export interface SsoProvider {
33
+ providerId: string;
34
+ workspaceId: string;
35
+ name: string;
36
+ type: 'okta' | 'entra_id' | 'google' | 'custom_oidc' | 'ping_identity';
37
+ issuer: string;
38
+ clientId: string;
39
+ scopes: string[];
40
+ autoProvision: boolean;
41
+ defaultRole: string;
42
+ isEnabled: boolean;
43
+ createdAt: string;
44
+ updatedAt: string;
45
+ }
46
+ export declare const CreateSsoProviderSchema: z.ZodObject<{
47
+ name: z.ZodString;
48
+ type: z.ZodEnum<["okta", "entra_id", "google", "custom_oidc", "ping_identity"]>;
49
+ issuer: z.ZodString;
50
+ clientId: z.ZodString;
51
+ clientSecret: z.ZodString;
52
+ scopes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
53
+ autoProvision: z.ZodDefault<z.ZodBoolean>;
54
+ defaultRole: z.ZodDefault<z.ZodEnum<["ADMIN", "EM", "DEVELOPER", "VIEWER"]>>;
55
+ }, "strip", z.ZodTypeAny, {
56
+ type: "okta" | "entra_id" | "google" | "custom_oidc" | "ping_identity";
57
+ name: string;
58
+ scopes: string[];
59
+ issuer: string;
60
+ clientId: string;
61
+ clientSecret: string;
62
+ autoProvision: boolean;
63
+ defaultRole: "ADMIN" | "EM" | "DEVELOPER" | "VIEWER";
64
+ }, {
65
+ type: "okta" | "entra_id" | "google" | "custom_oidc" | "ping_identity";
66
+ name: string;
67
+ issuer: string;
68
+ clientId: string;
69
+ clientSecret: string;
70
+ scopes?: string[] | undefined;
71
+ autoProvision?: boolean | undefined;
72
+ defaultRole?: "ADMIN" | "EM" | "DEVELOPER" | "VIEWER" | undefined;
73
+ }>;
74
+ export type CreateSsoProviderInput = z.infer<typeof CreateSsoProviderSchema>;
75
+ export interface OidcClaims {
76
+ sub: string;
77
+ email: string;
78
+ email_verified?: boolean;
79
+ name?: string;
80
+ given_name?: string;
81
+ family_name?: string;
82
+ picture?: string;
83
+ groups?: string[];
84
+ iss: string;
85
+ aud: string | string[];
86
+ exp: number;
87
+ iat: number;
88
+ nonce?: string;
89
+ }
90
+ export declare const UpdateUserProfileSchema: z.ZodObject<{
91
+ displayName: z.ZodOptional<z.ZodString>;
92
+ avatarUrl: z.ZodOptional<z.ZodString>;
93
+ }, "strip", z.ZodTypeAny, {
94
+ displayName?: string | undefined;
95
+ avatarUrl?: string | undefined;
96
+ }, {
97
+ displayName?: string | undefined;
98
+ avatarUrl?: string | undefined;
99
+ }>;
100
+ export type UpdateUserProfileInput = z.infer<typeof UpdateUserProfileSchema>;
101
+ //# sourceMappingURL=identity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"identity.d.ts","sourceRoot":"","sources":["../src/identity.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAKvB,MAAM,WAAW,IAAI;IACnB,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,YAAY,EAAE,OAAO,GAAG,MA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IACxB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAID,eAAO,MAAM,uBAAuB;;;;;;;;;EAGlC,CAAA;AACF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Identity Federation types — LLD #11
4
+ *
5
+ * Cross-workspace user identity, SSO/OIDC provider configuration,
6
+ * SCIM 2.0 provisioning resources, and offboarding cascade types.
7
+ *
8
+ * @module
9
+ */
10
+ Object.defineProperty(exports, "__esModule", { value: true });
11
+ exports.UpdateUserProfileSchema = exports.CreateSsoProviderSchema = void 0;
12
+ const zod_1 = require("zod");
13
+ exports.CreateSsoProviderSchema = zod_1.z.object({
14
+ name: zod_1.z.string().min(1).max(255),
15
+ // TD-115: Added 'ping_identity' as the third standard OIDC adapter.
16
+ type: zod_1.z.enum(['okta', 'entra_id', 'google', 'custom_oidc', 'ping_identity']),
17
+ issuer: zod_1.z.string().url(),
18
+ clientId: zod_1.z.string().min(1),
19
+ clientSecret: zod_1.z.string().min(1),
20
+ scopes: zod_1.z.array(zod_1.z.string()).default(['openid', 'profile', 'email']),
21
+ autoProvision: zod_1.z.boolean().default(false),
22
+ defaultRole: zod_1.z.enum(['ADMIN', 'EM', 'DEVELOPER', 'VIEWER']).default('DEVELOPER'),
23
+ });
24
+ // ── User management ──
25
+ exports.UpdateUserProfileSchema = zod_1.z.object({
26
+ displayName: zod_1.z.string().min(1).max(255).optional(),
27
+ avatarUrl: zod_1.z.string().url().optional(),
28
+ });
29
+ //# sourceMappingURL=identity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"identity.js","sourceRoot":"","sources":["../src/identity.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;AAEH,6BAAuB;AA+CV,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IAChC,oEAAoE;IACpE,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,eAAe,CAAC,CAAC;IAC5E,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACxB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3B,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC/B,MAAM,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;IACnE,aAAa,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IACzC,WAAW,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC;CACjF,CAAC,CAAA;AAqBF,wBAAwB;AAEX,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IAClD,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAA"}
@@ -0,0 +1,40 @@
1
+ /**
2
+ * @intutic/shared-types — Shared TypeScript types, interfaces, and enums
3
+ *
4
+ * This package is the single source of truth for all types used by 2+ packages
5
+ * in the Intutic monorepo. Never duplicate type definitions across services.
6
+ *
7
+ * @packageDocumentation
8
+ */
9
+ export { RiskLevel, EnforcementAction, TokenUtility, BudgetTier, ComplexityTier, ChangeClassification, AnomalyType, HarnessType, ExecutionMode, IncidentStatus, PlanLifecycleState, SopLifecycleState, SopType, HookPhase, RoutingTier, WorkspaceRole, McpProxyFailBehavior, McpProxyMode, BypassEnforcementTier, } from './enums.js';
10
+ export { DEFAULT_WORKSPACE_SETTINGS, resolveWorkspaceSettings, } from './workspaceSettings.js';
11
+ export type { WorkspaceSettings, McpProxyFailBehavior as McpProxyFailBehaviorType, McpProxyMode as McpProxyModeType, BypassEnforcementTier as BypassEnforcementTierType, } from './workspaceSettings.js';
12
+ export type { PermissionSet, PolicyVerdict, DctToken, RiskCategory, InterventionMode, PluginVerdict, EvaluationCascadeResult, } from './policy.js';
13
+ export type { TraceEntry, CostBreakdown, Attribution4D, TraceSummary, TraceListResult, TraceDetail, TraceFilters, TraceStep, } from './finops.js';
14
+ export { ANOMALY_SEVERITY_MAP, } from './anomaly.js';
15
+ export type { AnomalyEvent, AnomalyClassification, AnomalySeverity, CorrectivePromptCard, ProbeType, ProbeResult, TrustScoreResult, TrustScoreUpdate, TrustEvent, GovernanceIncidentStatus, CapabilityMissEvent, CapabilityMissInput, DriftDirection, DriftEvent, } from './anomaly.js';
16
+ export type { Session, SessionCheckpoint, } from './session.js';
17
+ export type { Sop, SopProofTree, SopLifecycleTransition, SopHealthMetrics, DreamCycleQueueItem, DreamCycleEnqueueInput, GodelProbeResult, SopContentUpdate, SopLifecycleTransitionResult, CascadeImpactResult, CascadeInvalidationResult, AntiGamingResult, SopEdgeType, SopGraphEdge, DeviationType, PlanDeviation, PlanAdherenceScore, StoredPlan, DecisionRecommendation, DecisionMiningAnalysis, GodelGateResult, GodelScore, ProofTreeDiff, SopSummary, SopListResult, SopFilters, DecisionEntry, DecisionListResult, } from './sop.js';
18
+ export { VALID_SOP_TRANSITIONS, ENFORCEMENT_BY_STATE, } from './sop.js';
19
+ export { IntuticError, E_NOT_FOUND, E_CACHE_UNAVAILABLE, E_UNAUTHORIZED, E_FORBIDDEN, E_BUDGET_EXCEEDED, E_RATE_LIMITED, E_APPEND_ONLY_VIOLATION, E_APPROVAL_RATIONALE_REQUIRED, E_VALIDATION_FAILED, E_SSO_DISABLED, E_SSO_NO_MEMBERSHIP, E_OIDC_INVALID_STATE, E_OIDC_TOKEN_EXCHANGE_FAILED, E_OIDC_CLAIMS_MISSING, E_PROVIDER_DISABLED, E_PROVIDER_IN_USE, E_FEATURE_NOT_AVAILABLE, isIntuticError, } from './errors.js';
20
+ export type { IntuticErrorCode } from './errors.js';
21
+ export { CreateSessionSchema, CreateTraceSchema, PolicyVerdictSchema, } from './api-contracts.js';
22
+ export type { CreateSessionInput, CreateTraceInput, PolicyVerdictInput, } from './api-contracts.js';
23
+ export { LoginInputSchema, RegisterInputSchema, RefreshInputSchema, ChangePasswordInputSchema, InviteMemberInputSchema, UpdateRoleInputSchema, CreateApiKeyInputSchema, SignupInputSchema, VerifyEmailInputSchema, ResendVerificationInputSchema, MagicLinkRequestInputSchema, MagicLinkLoginInputSchema, } from './auth.js';
24
+ export type { AuthContext, JwtPayload, LoginInput, LoginResult, RegisterInput, RegisterResult, RefreshResult, WorkspaceMemberInfo, InviteMemberInput, CreateApiKeyInput, CreateApiKeyResult, ApiKeyInfo, DashboardSummary, SignupParams, SignupResult, MagicLinkRequestInput, MagicLinkLoginInput, } from './auth.js';
25
+ export { SopHashReportSchema, DaemonStatusSchema, BatchConfigCapturePayloadSchema, } from './sync.js';
26
+ export type { SyncSopEntry, SyncConfigPayload, SopFileHash, SopHashReport, DetectedHarness, DaemonStatus, IntuticCredentials, IntuticConfig, IntegrityStore, CapturedConfigFile, BatchConfigCapturePayload, ConfigDiff, } from './sync.js';
27
+ export { CreateSsoProviderSchema, UpdateUserProfileSchema, } from './identity.js';
28
+ export type { User, UserInfo, SsoProvider, CreateSsoProviderInput, OidcClaims, UpdateUserProfileInput, } from './identity.js';
29
+ export type { UsageSummary, UsageEvent, ModelBreakdown, } from './usage.js';
30
+ export { PromptEstimateInputSchema, } from './observability.js';
31
+ export type { PromptEstimateInput, PromptEstimateResult, CostHistoryEntry, CostHistoryResult, DriftReportResult, TraceDagNode, TraceDagResult, } from './observability.js';
32
+ export { IssueOboTokenInputSchema, AttenuateTokenInputSchema, } from './attenuation.js';
33
+ export type { OboTokenGrant, AttenuationResult, AttenuationChainLink, IssueOboTokenInput, AttenuateTokenInput, SsoGroupClearance, SsoGroupPolicy, } from './attenuation.js';
34
+ export { E_ATTENUATION_CAP_VIOLATION, E_OVERAGE_HARD_CAP_EXCEEDED, } from './errors.js';
35
+ export type { SslSchedulingContext, SslActivationResult, SslGraphJson, SslStep, SslToolCallContext, SslEnforcementResult, SslStepState, SslViolationEntry, SslComplianceReport, SslOutOfOrderEntry, ConstraintViolation, ConstraintEvalResult, SslStepReport, GovernanceNotification, NotificationConfig, ToolCallTokenBreakdown, CostPrediction, TokenBaseline, TokenUtilityResult, TraceClassificationContext, WastePattern, OptimizationRecommendation, LlmProbeResult, ProbeViolation, PromptQualityScore, PromptQualityContext, ContextGap, DedupHint, SlashCommandRequest, SlashCommandResponse, HarnessConfigSnapshot, ConfigEdit, ConfigEditWithTarget, SkillOptSuggestion, ConfigCapturePayload, } from './intelligence.js';
36
+ export { type NotificationPriority, type NotificationCategory, type InputTokenBucket, getInputBucket, type WasteCategory, type RecommendationType, } from './intelligence.js';
37
+ export * from './notifications.js';
38
+ export * from './billing.js';
39
+ export * from './taskManagement.js';
40
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,SAAS,EACT,iBAAiB,EACjB,YAAY,EACZ,UAAU,EACV,cAAc,EACd,oBAAoB,EACpB,WAAW,EACX,WAAW,EACX,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,iBAAiB,EACjB,OAAO,EACP,SAAS,EACT,WAAW,EACX,aAAa,EAEb,oBAAoB,EACpB,YAAY,EACZ,qBAAqB,GACtB,MAAM,YAAY,CAAA;AAEnB,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,GACzB,MAAM,wBAAwB,CAAA;AAE/B,YAAY,EACV,iBAAiB,EACjB,oBAAoB,IAAI,wBAAwB,EAChD,YAAY,IAAI,gBAAgB,EAChC,qBAAqB,IAAI,yBAAyB,GACnD,MAAM,wBAAwB,CAAA;AAE/B,YAAY,EACV,aAAa,EACb,aAAa,EACb,QAAQ,EACR,YAAY,EACZ,gBAAgB,EAChB,aAAa,EACb,uBAAuB,GACxB,MAAM,aAAa,CAAA;AAEpB,YAAY,EACV,UAAU,EACV,aAAa,EACb,aAAa,EACb,YAAY,EACZ,eAAe,EACf,WAAW,EACX,YAAY,EACZ,SAAS,GACV,MAAM,aAAa,CAAA;AAGpB,OAAO,EACL,oBAAoB,GACrB,MAAM,cAAc,CAAA;AAErB,YAAY,EACV,YAAY,EACZ,qBAAqB,EACrB,eAAe,EACf,oBAAoB,EACpB,SAAS,EACT,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EAChB,UAAU,EACV,wBAAwB,EACxB,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,EACd,UAAU,GACX,MAAM,cAAc,CAAA;AAErB,YAAY,EACV,OAAO,EACP,iBAAiB,GAClB,MAAM,cAAc,CAAA;AAErB,YAAY,EACV,GAAG,EACH,YAAY,EACZ,sBAAsB,EACtB,gBAAgB,EAChB,mBAAmB,EAC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,EACnB,oBAAoB,EACpB,aAAa,EAEb,sBAAsB,EACtB,kBAAkB,EAElB,sBAAsB,EACtB,cAAc,EACd,aAAa,EAEb,kBAAkB,EAClB,0BAA0B,EAC1B,YAAY,EACZ,0BAA0B,EAC1B,cAAc,EACd,cAAc,EAEd,kBAAkB,EAClB,oBAAoB,EACpB,UAAU,EACV,SAAS,EACT,mBAAmB,EACnB,oBAAoB,EAEpB,qBAAqB,EACrB,UAAU,EACV,oBAAoB,EACpB,kBAAkB,EAClB,oBAAoB,GACrB,MAAM,mBAAmB,CAAA;AAE1B,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EAEzB,KAAK,gBAAgB,EACrB,cAAc,EAEd,KAAK,aAAa,EAClB,KAAK,kBAAkB,GACxB,MAAM,mBAAmB,CAAA;AAG1B,cAAc,oBAAoB,CAAA;AAGlC,cAAc,cAAc,CAAA;AAG5B,cAAc,qBAAqB,CAAA"}
package/dist/index.js ADDED
@@ -0,0 +1,120 @@
1
+ "use strict";
2
+ /**
3
+ * @intutic/shared-types — Shared TypeScript types, interfaces, and enums
4
+ *
5
+ * This package is the single source of truth for all types used by 2+ packages
6
+ * in the Intutic monorepo. Never duplicate type definitions across services.
7
+ *
8
+ * @packageDocumentation
9
+ */
10
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ var desc = Object.getOwnPropertyDescriptor(m, k);
13
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
14
+ desc = { enumerable: true, get: function() { return m[k]; } };
15
+ }
16
+ Object.defineProperty(o, k2, desc);
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
22
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.ChangePasswordInputSchema = exports.RefreshInputSchema = exports.RegisterInputSchema = exports.LoginInputSchema = exports.PolicyVerdictSchema = exports.CreateTraceSchema = exports.CreateSessionSchema = exports.isIntuticError = exports.E_FEATURE_NOT_AVAILABLE = exports.E_PROVIDER_IN_USE = exports.E_PROVIDER_DISABLED = exports.E_OIDC_CLAIMS_MISSING = exports.E_OIDC_TOKEN_EXCHANGE_FAILED = exports.E_OIDC_INVALID_STATE = exports.E_SSO_NO_MEMBERSHIP = exports.E_SSO_DISABLED = exports.E_VALIDATION_FAILED = exports.E_APPROVAL_RATIONALE_REQUIRED = exports.E_APPEND_ONLY_VIOLATION = exports.E_RATE_LIMITED = exports.E_BUDGET_EXCEEDED = exports.E_FORBIDDEN = exports.E_UNAUTHORIZED = exports.E_CACHE_UNAVAILABLE = exports.E_NOT_FOUND = exports.IntuticError = exports.ENFORCEMENT_BY_STATE = exports.VALID_SOP_TRANSITIONS = exports.ANOMALY_SEVERITY_MAP = exports.resolveWorkspaceSettings = exports.DEFAULT_WORKSPACE_SETTINGS = exports.BypassEnforcementTier = exports.McpProxyMode = exports.McpProxyFailBehavior = exports.WorkspaceRole = exports.RoutingTier = exports.HookPhase = exports.SopType = exports.SopLifecycleState = exports.PlanLifecycleState = exports.IncidentStatus = exports.ExecutionMode = exports.HarnessType = exports.AnomalyType = exports.ChangeClassification = exports.ComplexityTier = exports.BudgetTier = exports.TokenUtility = exports.EnforcementAction = exports.RiskLevel = void 0;
26
+ exports.getInputBucket = exports.E_OVERAGE_HARD_CAP_EXCEEDED = exports.E_ATTENUATION_CAP_VIOLATION = exports.AttenuateTokenInputSchema = exports.IssueOboTokenInputSchema = exports.PromptEstimateInputSchema = exports.UpdateUserProfileSchema = exports.CreateSsoProviderSchema = exports.BatchConfigCapturePayloadSchema = exports.DaemonStatusSchema = exports.SopHashReportSchema = exports.MagicLinkLoginInputSchema = exports.MagicLinkRequestInputSchema = exports.ResendVerificationInputSchema = exports.VerifyEmailInputSchema = exports.SignupInputSchema = exports.CreateApiKeyInputSchema = exports.UpdateRoleInputSchema = exports.InviteMemberInputSchema = void 0;
27
+ var enums_js_1 = require("./enums.js");
28
+ Object.defineProperty(exports, "RiskLevel", { enumerable: true, get: function () { return enums_js_1.RiskLevel; } });
29
+ Object.defineProperty(exports, "EnforcementAction", { enumerable: true, get: function () { return enums_js_1.EnforcementAction; } });
30
+ Object.defineProperty(exports, "TokenUtility", { enumerable: true, get: function () { return enums_js_1.TokenUtility; } });
31
+ Object.defineProperty(exports, "BudgetTier", { enumerable: true, get: function () { return enums_js_1.BudgetTier; } });
32
+ Object.defineProperty(exports, "ComplexityTier", { enumerable: true, get: function () { return enums_js_1.ComplexityTier; } });
33
+ Object.defineProperty(exports, "ChangeClassification", { enumerable: true, get: function () { return enums_js_1.ChangeClassification; } });
34
+ Object.defineProperty(exports, "AnomalyType", { enumerable: true, get: function () { return enums_js_1.AnomalyType; } });
35
+ Object.defineProperty(exports, "HarnessType", { enumerable: true, get: function () { return enums_js_1.HarnessType; } });
36
+ Object.defineProperty(exports, "ExecutionMode", { enumerable: true, get: function () { return enums_js_1.ExecutionMode; } });
37
+ Object.defineProperty(exports, "IncidentStatus", { enumerable: true, get: function () { return enums_js_1.IncidentStatus; } });
38
+ Object.defineProperty(exports, "PlanLifecycleState", { enumerable: true, get: function () { return enums_js_1.PlanLifecycleState; } });
39
+ Object.defineProperty(exports, "SopLifecycleState", { enumerable: true, get: function () { return enums_js_1.SopLifecycleState; } });
40
+ Object.defineProperty(exports, "SopType", { enumerable: true, get: function () { return enums_js_1.SopType; } });
41
+ Object.defineProperty(exports, "HookPhase", { enumerable: true, get: function () { return enums_js_1.HookPhase; } });
42
+ Object.defineProperty(exports, "RoutingTier", { enumerable: true, get: function () { return enums_js_1.RoutingTier; } });
43
+ Object.defineProperty(exports, "WorkspaceRole", { enumerable: true, get: function () { return enums_js_1.WorkspaceRole; } });
44
+ // WS-5 — MCP proxy governance settings
45
+ Object.defineProperty(exports, "McpProxyFailBehavior", { enumerable: true, get: function () { return enums_js_1.McpProxyFailBehavior; } });
46
+ Object.defineProperty(exports, "McpProxyMode", { enumerable: true, get: function () { return enums_js_1.McpProxyMode; } });
47
+ Object.defineProperty(exports, "BypassEnforcementTier", { enumerable: true, get: function () { return enums_js_1.BypassEnforcementTier; } });
48
+ var workspaceSettings_js_1 = require("./workspaceSettings.js");
49
+ Object.defineProperty(exports, "DEFAULT_WORKSPACE_SETTINGS", { enumerable: true, get: function () { return workspaceSettings_js_1.DEFAULT_WORKSPACE_SETTINGS; } });
50
+ Object.defineProperty(exports, "resolveWorkspaceSettings", { enumerable: true, get: function () { return workspaceSettings_js_1.resolveWorkspaceSettings; } });
51
+ var anomaly_js_1 = require("./anomaly.js");
52
+ Object.defineProperty(exports, "ANOMALY_SEVERITY_MAP", { enumerable: true, get: function () { return anomaly_js_1.ANOMALY_SEVERITY_MAP; } });
53
+ var sop_js_1 = require("./sop.js");
54
+ Object.defineProperty(exports, "VALID_SOP_TRANSITIONS", { enumerable: true, get: function () { return sop_js_1.VALID_SOP_TRANSITIONS; } });
55
+ Object.defineProperty(exports, "ENFORCEMENT_BY_STATE", { enumerable: true, get: function () { return sop_js_1.ENFORCEMENT_BY_STATE; } });
56
+ var errors_js_1 = require("./errors.js");
57
+ Object.defineProperty(exports, "IntuticError", { enumerable: true, get: function () { return errors_js_1.IntuticError; } });
58
+ Object.defineProperty(exports, "E_NOT_FOUND", { enumerable: true, get: function () { return errors_js_1.E_NOT_FOUND; } });
59
+ Object.defineProperty(exports, "E_CACHE_UNAVAILABLE", { enumerable: true, get: function () { return errors_js_1.E_CACHE_UNAVAILABLE; } });
60
+ Object.defineProperty(exports, "E_UNAUTHORIZED", { enumerable: true, get: function () { return errors_js_1.E_UNAUTHORIZED; } });
61
+ Object.defineProperty(exports, "E_FORBIDDEN", { enumerable: true, get: function () { return errors_js_1.E_FORBIDDEN; } });
62
+ Object.defineProperty(exports, "E_BUDGET_EXCEEDED", { enumerable: true, get: function () { return errors_js_1.E_BUDGET_EXCEEDED; } });
63
+ Object.defineProperty(exports, "E_RATE_LIMITED", { enumerable: true, get: function () { return errors_js_1.E_RATE_LIMITED; } });
64
+ Object.defineProperty(exports, "E_APPEND_ONLY_VIOLATION", { enumerable: true, get: function () { return errors_js_1.E_APPEND_ONLY_VIOLATION; } });
65
+ Object.defineProperty(exports, "E_APPROVAL_RATIONALE_REQUIRED", { enumerable: true, get: function () { return errors_js_1.E_APPROVAL_RATIONALE_REQUIRED; } });
66
+ Object.defineProperty(exports, "E_VALIDATION_FAILED", { enumerable: true, get: function () { return errors_js_1.E_VALIDATION_FAILED; } });
67
+ // Identity Federation (LLD #11)
68
+ Object.defineProperty(exports, "E_SSO_DISABLED", { enumerable: true, get: function () { return errors_js_1.E_SSO_DISABLED; } });
69
+ Object.defineProperty(exports, "E_SSO_NO_MEMBERSHIP", { enumerable: true, get: function () { return errors_js_1.E_SSO_NO_MEMBERSHIP; } });
70
+ Object.defineProperty(exports, "E_OIDC_INVALID_STATE", { enumerable: true, get: function () { return errors_js_1.E_OIDC_INVALID_STATE; } });
71
+ Object.defineProperty(exports, "E_OIDC_TOKEN_EXCHANGE_FAILED", { enumerable: true, get: function () { return errors_js_1.E_OIDC_TOKEN_EXCHANGE_FAILED; } });
72
+ Object.defineProperty(exports, "E_OIDC_CLAIMS_MISSING", { enumerable: true, get: function () { return errors_js_1.E_OIDC_CLAIMS_MISSING; } });
73
+ Object.defineProperty(exports, "E_PROVIDER_DISABLED", { enumerable: true, get: function () { return errors_js_1.E_PROVIDER_DISABLED; } });
74
+ Object.defineProperty(exports, "E_PROVIDER_IN_USE", { enumerable: true, get: function () { return errors_js_1.E_PROVIDER_IN_USE; } });
75
+ Object.defineProperty(exports, "E_FEATURE_NOT_AVAILABLE", { enumerable: true, get: function () { return errors_js_1.E_FEATURE_NOT_AVAILABLE; } });
76
+ Object.defineProperty(exports, "isIntuticError", { enumerable: true, get: function () { return errors_js_1.isIntuticError; } });
77
+ var api_contracts_js_1 = require("./api-contracts.js");
78
+ Object.defineProperty(exports, "CreateSessionSchema", { enumerable: true, get: function () { return api_contracts_js_1.CreateSessionSchema; } });
79
+ Object.defineProperty(exports, "CreateTraceSchema", { enumerable: true, get: function () { return api_contracts_js_1.CreateTraceSchema; } });
80
+ Object.defineProperty(exports, "PolicyVerdictSchema", { enumerable: true, get: function () { return api_contracts_js_1.PolicyVerdictSchema; } });
81
+ var auth_js_1 = require("./auth.js");
82
+ Object.defineProperty(exports, "LoginInputSchema", { enumerable: true, get: function () { return auth_js_1.LoginInputSchema; } });
83
+ Object.defineProperty(exports, "RegisterInputSchema", { enumerable: true, get: function () { return auth_js_1.RegisterInputSchema; } });
84
+ Object.defineProperty(exports, "RefreshInputSchema", { enumerable: true, get: function () { return auth_js_1.RefreshInputSchema; } });
85
+ Object.defineProperty(exports, "ChangePasswordInputSchema", { enumerable: true, get: function () { return auth_js_1.ChangePasswordInputSchema; } });
86
+ Object.defineProperty(exports, "InviteMemberInputSchema", { enumerable: true, get: function () { return auth_js_1.InviteMemberInputSchema; } });
87
+ Object.defineProperty(exports, "UpdateRoleInputSchema", { enumerable: true, get: function () { return auth_js_1.UpdateRoleInputSchema; } });
88
+ Object.defineProperty(exports, "CreateApiKeyInputSchema", { enumerable: true, get: function () { return auth_js_1.CreateApiKeyInputSchema; } });
89
+ Object.defineProperty(exports, "SignupInputSchema", { enumerable: true, get: function () { return auth_js_1.SignupInputSchema; } });
90
+ Object.defineProperty(exports, "VerifyEmailInputSchema", { enumerable: true, get: function () { return auth_js_1.VerifyEmailInputSchema; } });
91
+ Object.defineProperty(exports, "ResendVerificationInputSchema", { enumerable: true, get: function () { return auth_js_1.ResendVerificationInputSchema; } });
92
+ Object.defineProperty(exports, "MagicLinkRequestInputSchema", { enumerable: true, get: function () { return auth_js_1.MagicLinkRequestInputSchema; } });
93
+ Object.defineProperty(exports, "MagicLinkLoginInputSchema", { enumerable: true, get: function () { return auth_js_1.MagicLinkLoginInputSchema; } });
94
+ var sync_js_1 = require("./sync.js");
95
+ Object.defineProperty(exports, "SopHashReportSchema", { enumerable: true, get: function () { return sync_js_1.SopHashReportSchema; } });
96
+ Object.defineProperty(exports, "DaemonStatusSchema", { enumerable: true, get: function () { return sync_js_1.DaemonStatusSchema; } });
97
+ Object.defineProperty(exports, "BatchConfigCapturePayloadSchema", { enumerable: true, get: function () { return sync_js_1.BatchConfigCapturePayloadSchema; } });
98
+ var identity_js_1 = require("./identity.js");
99
+ Object.defineProperty(exports, "CreateSsoProviderSchema", { enumerable: true, get: function () { return identity_js_1.CreateSsoProviderSchema; } });
100
+ Object.defineProperty(exports, "UpdateUserProfileSchema", { enumerable: true, get: function () { return identity_js_1.UpdateUserProfileSchema; } });
101
+ // WS2: Advanced Observability
102
+ var observability_js_1 = require("./observability.js");
103
+ Object.defineProperty(exports, "PromptEstimateInputSchema", { enumerable: true, get: function () { return observability_js_1.PromptEstimateInputSchema; } });
104
+ // WS4: Enterprise Identity & Compliance (LLD #19)
105
+ var attenuation_js_1 = require("./attenuation.js");
106
+ Object.defineProperty(exports, "IssueOboTokenInputSchema", { enumerable: true, get: function () { return attenuation_js_1.IssueOboTokenInputSchema; } });
107
+ Object.defineProperty(exports, "AttenuateTokenInputSchema", { enumerable: true, get: function () { return attenuation_js_1.AttenuateTokenInputSchema; } });
108
+ // WS4 + WS5 new error codes
109
+ var errors_js_2 = require("./errors.js");
110
+ Object.defineProperty(exports, "E_ATTENUATION_CAP_VIOLATION", { enumerable: true, get: function () { return errors_js_2.E_ATTENUATION_CAP_VIOLATION; } });
111
+ Object.defineProperty(exports, "E_OVERAGE_HARD_CAP_EXCEEDED", { enumerable: true, get: function () { return errors_js_2.E_OVERAGE_HARD_CAP_EXCEEDED; } });
112
+ var intelligence_js_1 = require("./intelligence.js");
113
+ Object.defineProperty(exports, "getInputBucket", { enumerable: true, get: function () { return intelligence_js_1.getInputBucket; } });
114
+ // LLD #45-slack: Notification Hub + Slack Adapter
115
+ __exportStar(require("./notifications.js"), exports);
116
+ // Restored Stripe billing & subscription types
117
+ __exportStar(require("./billing.js"), exports);
118
+ // Restored task management and alerting adapter types
119
+ __exportStar(require("./taskManagement.js"), exports);
120
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;;;;;;;;;;;;;;;;AAEH,uCAqBmB;AApBjB,qGAAA,SAAS,OAAA;AACT,6GAAA,iBAAiB,OAAA;AACjB,wGAAA,YAAY,OAAA;AACZ,sGAAA,UAAU,OAAA;AACV,0GAAA,cAAc,OAAA;AACd,gHAAA,oBAAoB,OAAA;AACpB,uGAAA,WAAW,OAAA;AACX,uGAAA,WAAW,OAAA;AACX,yGAAA,aAAa,OAAA;AACb,0GAAA,cAAc,OAAA;AACd,8GAAA,kBAAkB,OAAA;AAClB,6GAAA,iBAAiB,OAAA;AACjB,mGAAA,OAAO,OAAA;AACP,qGAAA,SAAS,OAAA;AACT,uGAAA,WAAW,OAAA;AACX,yGAAA,aAAa,OAAA;AACb,uCAAuC;AACvC,gHAAA,oBAAoB,OAAA;AACpB,wGAAA,YAAY,OAAA;AACZ,iHAAA,qBAAqB,OAAA;AAGvB,+DAG+B;AAF7B,kIAAA,0BAA0B,OAAA;AAC1B,gIAAA,wBAAwB,OAAA;AAgC1B,2CAEqB;AADnB,kHAAA,oBAAoB,OAAA;AAyDtB,mCAGiB;AAFf,+GAAA,qBAAqB,OAAA;AACrB,8GAAA,oBAAoB,OAAA;AAGtB,yCAqBoB;AApBlB,yGAAA,YAAY,OAAA;AACZ,wGAAA,WAAW,OAAA;AACX,gHAAA,mBAAmB,OAAA;AACnB,2GAAA,cAAc,OAAA;AACd,wGAAA,WAAW,OAAA;AACX,8GAAA,iBAAiB,OAAA;AACjB,2GAAA,cAAc,OAAA;AACd,oHAAA,uBAAuB,OAAA;AACvB,0HAAA,6BAA6B,OAAA;AAC7B,g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