@company-semantics/contracts 16.0.0 → 17.0.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.
@@ -16,21 +16,72 @@ TypeScript types and functions for user identity and display name resolution.
16
16
  - `resolveDisplayName()` is the ONLY approved way to determine assistant addressing
17
17
  - Display name fallback: `preferredName ?? extractFirstWord(fullName)`
18
18
 
19
- ## Public API
19
+ <!-- BEGIN GENERATED: readme-public-api — derived from code by `pnpm readme-api`. Do not edit. -->
20
20
 
21
- ### Types
21
+ ## Public API
22
22
 
23
- - `ISODateString` — ISO 8601 date-time string alias
24
- - `NameSource` — `'self' | 'sso'` indicating name data source
25
- - `UserIdentity` — User identity with name fields, source, and timestamps
23
+ - `AccountCancelDeletionResponse` _(type)_
24
+ - `AccountCancelDeletionResponseSchema`
25
+ - `AccountConfirmDeletionResponse` _(type)_
26
+ - `AccountConfirmDeletionResponseSchema`
27
+ - `AccountDeleteResponse` _(type)_
28
+ - `AccountDeleteResponseSchema`
29
+ - `AccountDeletionEligibility` _(type)_
30
+ - `AccountDeletionEligibilityResponse` _(type)_
31
+ - `AccountDeletionEligibilityResponseSchema`
32
+ - `AccountSessionList` _(type)_
33
+ - `AccountSessionListSchema`
34
+ - `AccountSessionRevokeResponse` _(type)_
35
+ - `AccountSessionRevokeResponseSchema`
36
+ - `AuthStartResponse` _(type)_
37
+ - `AuthStartResponseSchema`
38
+ - `AuthVerifyResponse` _(type)_
39
+ - `AuthVerifyResponseSchema`
40
+ - `AvatarSource` _(type)_
41
+ - `BannerDismissResponse` _(type)_
42
+ - `BannerDismissResponseSchema`
43
+ - `BannerDismissedListResponse` _(type)_
44
+ - `BannerDismissedListResponseSchema`
45
+ - `DeletionBlocker` _(type)_
46
+ - `ISODateString` _(type)_
47
+ - `MeResponse` _(type)_
48
+ - `MeResponseSchema`
49
+ - `NameSource` _(type)_
50
+ - `PeopleOrgChartEdge` _(type)_
51
+ - `PeopleOrgChartEdgeSchema`
52
+ - `PeopleOrgChartNode` _(type)_
53
+ - `PeopleOrgChartNodeSchema`
54
+ - `PeopleOrgChartOpenRole` _(type)_
55
+ - `PeopleOrgChartOpenRoleSchema`
56
+ - `PeopleOrgChartResponse` _(type)_
57
+ - `PeopleOrgChartResponseSchema`
58
+ - `ProfileResponse` _(type)_
59
+ - `ProfileResponseSchema`
60
+ - `ReportingRelationshipType` _(type)_
61
+ - `ReportingRelationshipTypeSchema`
62
+ - `ResolvedAvatar` _(type)_
63
+ - `SsoConfigResponse` _(type)_
64
+ - `SsoConfigResponseSchema`
65
+ - `UserIdentity` _(type)_
66
+ - `UserLifecycleStatus` _(type)_
67
+ - `deriveFullName`
68
+ - `extractFirstWord`
69
+ - `generateInitials`
70
+ - `resolveAvatar`
71
+ - `resolveDisplayName`
26
72
 
27
- ### Functions
73
+ <!-- END GENERATED: readme-public-api -->
28
74
 
29
- - `extractFirstWord(fullName)` Extract first word from full name
30
- - `resolveDisplayName(identity)` — Get display name (preferredName or first word of fullName)
31
- - `deriveFullName(firstName, lastName?)` — **[DEPRECATED]** Kept for migration only
75
+ <!-- BEGIN GENERATED: readme-dependencies derived from code by `pnpm readme-api`. Do not edit. -->
32
76
 
33
77
  ## Dependencies
34
78
 
35
- **Imports from:** (none — leaf module)
36
- **Imported by:** company-semantics-backend, company-semantics-app
79
+ **Internal domains:**
80
+
81
+ _None._
82
+
83
+ **External packages:**
84
+
85
+ - `zod`
86
+
87
+ <!-- END GENERATED: readme-dependencies -->
@@ -20,16 +20,30 @@ attribute and supported-formats copy from the same data.
20
20
  - No normalizer-routing fields here (`canonicalKind`, `normalizerKey` are
21
21
  backend-only). This package stays pure vocabulary.
22
22
 
23
+ <!-- BEGIN GENERATED: readme-public-api — derived from code by `pnpm readme-api`. Do not edit. -->
24
+
23
25
  ## Public API
24
26
 
25
- - `IngestionFormat` — `{ mime, extensions, label, maxBytes }`.
26
- - `INGESTION_FORMATS: readonly IngestionFormat[]`.
27
- - `byMime(mime)`, `acceptExtensions()`, `humanLabels()`.
28
- - `INGEST_ACCEPT: string` — comma-joined extensions for an `accept` attribute.
29
- - `SUPPORTED_LABEL: string` — human-readable supported-formats summary.
27
+ - `INGESTION_FORMATS`
28
+ - `INGEST_ACCEPT`
29
+ - `IngestionFormat` _(type)_
30
+ - `SUPPORTED_LABEL`
31
+ - `acceptExtensions`
32
+ - `byMime`
33
+ - `humanLabels`
34
+
35
+ <!-- END GENERATED: readme-public-api -->
36
+
37
+ <!-- BEGIN GENERATED: readme-dependencies — derived from code by `pnpm readme-api`. Do not edit. -->
30
38
 
31
39
  ## Dependencies
32
40
 
33
- None beyond `./types`. (The backend registry at
34
- `company-semantics-backend/src/orgs/ingestion/normalize/format-registry.ts`
35
- consumes this and adds its private dispatch fields.)
41
+ **Internal domains:**
42
+
43
+ _None._
44
+
45
+ **External packages:**
46
+
47
+ _None._
48
+
49
+ <!-- END GENERATED: readme-dependencies -->
package/src/mcp/README.md CHANGED
@@ -15,24 +15,43 @@ Type vocabulary for MCP (Model Context Protocol) tool discovery, invocation meta
15
15
  - At most one FailureContext is active at a time (no stacking)
16
16
  - Capability graph is a pure derivation from produces/consumes metadata
17
17
 
18
+ <!-- BEGIN GENERATED: readme-public-api — derived from code by `pnpm readme-api`. Do not edit. -->
19
+
18
20
  ## Public API
19
21
 
20
- **Types:**
22
+ - `CapabilityGraph` _(type)_
23
+ - `CapabilityGraphEdge` _(type)_
24
+ - `FailureContext` _(type)_
25
+ - `MCPToolDescriptor` _(type)_
26
+ - `RecoveryAction` _(type)_
27
+ - `ResourceType` _(type)_
28
+ - `ToolCategory` _(type)_
29
+ - `ToolComplexity` _(type)_
30
+ - `ToolDiscoveryResponse` _(type)_
31
+ - `ToolDomain` _(type)_
32
+ - `ToolEffectClass` _(type)_
33
+ - `ToolIntegration` _(type)_
34
+ - `ToolIntent` _(type)_
35
+ - `ToolInvocationMode` _(type)_
36
+ - `ToolListDataPart` _(type)_
37
+ - `ToolListMessagePart` _(type)_
38
+ - `ToolStability` _(type)_
39
+ - `ToolVisibility` _(type)_
40
+ - `ToolWorkflow` _(type)_
41
+ - `buildCapabilityGraph`
42
+
43
+ <!-- END GENERATED: readme-public-api -->
44
+
45
+ <!-- BEGIN GENERATED: readme-dependencies — derived from code by `pnpm readme-api`. Do not edit. -->
46
+
47
+ ## Dependencies
21
48
 
22
- - `MCPToolDescriptor` — complete tool descriptor for discovery and invocation
23
- - `ToolDomain`, `ToolCategory` (deprecated), `ToolVisibility`, `ToolInvocationMode` — classification enums
24
- - `ToolEffectClass`, `ToolIntent`, `ToolStability`, `ToolComplexity` — tool metadata types
25
- - `ToolIntegration` — extensible integration provider tag
26
- - `ResourceType` — closed union of tool resource flow types
27
- - `CapabilityGraph`, `CapabilityGraphEdge`, `ToolWorkflow` — graph types
28
- - `ToolDiscoveryResponse` — HTTP transport for GET /api/capabilities/tools
29
- - `ToolListMessagePart`, `ToolListDataPart` — chat protocol and wire format parts
30
- - `FailureContext`, `RecoveryAction` — structured failure recovery types
49
+ **Internal domains:**
31
50
 
32
- **Runtime values:**
51
+ _None._
33
52
 
34
- - `buildCapabilityGraph(tools)` — pure function deriving graph from produces/consumes metadata
53
+ **External packages:**
35
54
 
36
- ## Dependencies
55
+ _None._
37
56
 
38
- - None (leaf domain in contracts; consumed by backend, app)
57
+ <!-- END GENERATED: readme-dependencies -->
@@ -15,27 +15,87 @@ Canonical vocabulary for structured assistant message output. Defines the type s
15
15
  - Execution results carry `state` resolved from ExecutionState (single authority, no redundant status)
16
16
  - Undo creates append-only audit rows — original execution is never mutated
17
17
 
18
- ## Public API
18
+ <!-- BEGIN GENERATED: readme-public-api — derived from code by `pnpm readme-api`. Do not edit. -->
19
19
 
20
- **Types:**
20
+ ## Public API
21
21
 
22
- - `TextPart`, `SurfacePart`, `AssistantMessagePart` — core part unions
23
- - `ToolListPart`, `StatusPanelPart`, `ChartPart`, `TablePart` — surface part variants
24
- - `PreviewData`, `PreviewArtifact`, `PreviewPart` — action preview surfaces
25
- - `ConfirmationData`, `ConfirmationRiskLevel`, `ConfirmationPart` — confirmation surfaces
26
- - `ExecutionResultData`, `ExecutionArtifactStatus`, `UndoResultData` — execution results
27
- - `StreamPhase`, `MessageLifecycleEvent` — message lifecycle events
28
- - `IntegrationKey`, `IntegrationProvider` — integration identifiers
22
+ - `AddPartResult` _(type)_
23
+ - `AssistantMessagePart` _(type)_
24
+ - `CONFIRMATION_LABELS`
25
+ - `CandidateSource` _(type)_
26
+ - `ChartDataPoint` _(type)_
27
+ - `ChartPart` _(type)_
28
+ - `ConfirmationChoice` _(type)_
29
+ - `ConfirmationData` _(type)_
30
+ - `ConfirmationDataPart` _(type)_
31
+ - `ConfirmationPart` _(type)_
32
+ - `ConfirmationResponseData` _(type)_
33
+ - `ConfirmationRiskLevel` _(type)_
34
+ - `ExecutionArtifactStatus` _(type)_
35
+ - `ExecutionResultData` _(type)_
36
+ - `ExecutionResultDataPart` _(type)_
37
+ - `ExecutionResultPart` _(type)_
38
+ - `ExecutionResultSummary` _(type)_
39
+ - `ExecutionUndoCapability` _(type)_
40
+ - `IntegrationArtifactContent` _(type)_
41
+ - `IntegrationKey` _(type)_
42
+ - `IntegrationProvider` _(type)_
43
+ - `InteractiveFieldDescriptor` _(type)_
44
+ - `InteractiveFieldType` _(type)_
45
+ - `InteractiveTaskData` _(type)_
46
+ - `InteractiveTaskDataPart` _(type)_
47
+ - `InteractiveTaskKind` _(type)_
48
+ - `InteractiveTaskPart` _(type)_
49
+ - `InteractiveTaskSubject` _(type)_
50
+ - `MessageCompleteDataPart` _(type)_
51
+ - `MessageCompleteEvent` _(type)_
52
+ - `MessageDeltaDataPart` _(type)_
53
+ - `MessageDeltaEvent` _(type)_
54
+ - `MessageLifecycleEvent` _(type)_
55
+ - `MessageLifecycleEventType` _(type)_
56
+ - `MessageStartDataPart` _(type)_
57
+ - `MessageStartEvent` _(type)_
58
+ - `PartBuilderState` _(type)_
59
+ - `PreviewArtifact` _(type)_
60
+ - `PreviewArtifactKind` _(type)_
61
+ - `PreviewData` _(type)_
62
+ - `PreviewDataPart` _(type)_
63
+ - `PreviewPart` _(type)_
64
+ - `StatusPanelEntry` _(type)_
65
+ - `StatusPanelPart` _(type)_
66
+ - `StreamPhase` _(type)_
67
+ - `SurfacePart` _(type)_
68
+ - `TablePart` _(type)_
69
+ - `TextPart` _(type)_
70
+ - `ToolListPart` _(type)_
71
+ - `ToolResultPart` _(type)_
72
+ - `ToolResultRenderClass` _(type)_
73
+ - `UndoResultData` _(type)_
74
+ - `UndoResultDataPart` _(type)_
75
+ - `WireSurfaceBuilder`
76
+ - `addPart`
77
+ - `addSurface`
78
+ - `addText`
79
+ - `buildParts`
80
+ - `createPartBuilder`
81
+ - `getConfirmationLabel`
82
+ - `getDroppedCount`
83
+ - `isSurfacePart`
84
+ - `isTextPart`
29
85
 
30
- **Runtime values:**
86
+ <!-- END GENERATED: readme-public-api -->
31
87
 
32
- - `CONFIRMATION_LABELS` exhaustive map of ExecutionKind to human-readable labels
33
- - `getConfirmationLabel(kind, fallback)` — label lookup with fallback
34
- - `WireSurfaceBuilder` — factory for creating wire-format data parts
35
- - `createPartBuilder()`, `addText()`, `addSurface()`, `buildParts()` — functional part builder
36
- - `isTextPart()`, `isSurfacePart()` — type guards
88
+ <!-- BEGIN GENERATED: readme-dependenciesderived from code by `pnpm readme-api`. Do not edit. -->
37
89
 
38
90
  ## Dependencies
39
91
 
40
- - `../execution/kinds` — ExecutionKind type for confirmation labels
41
- - `../mcp/index` — MCPToolDescriptor for tool list parts
92
+ **Internal domains:**
93
+
94
+ - `execution`
95
+ - `mcp`
96
+
97
+ **External packages:**
98
+
99
+ _None._
100
+
101
+ <!-- END GENERATED: readme-dependencies -->
package/src/org/README.md CHANGED
@@ -12,14 +12,300 @@ Shared type vocabulary for organization ownership, type classification, and tran
12
12
  - All types are vocabulary-only (no runtime behavior, no business logic)
13
13
  - Structural details (like `ownerUserId`) remain in backend; only public-facing fields here
14
14
 
15
+ <!-- BEGIN GENERATED: readme-public-api — derived from code by `pnpm readme-api`. Do not edit. -->
16
+
15
17
  ## Public API
16
18
 
17
- - `OrgType` - 'personal' | 'shared' organization classification
18
- - `ExecutionScope` - 'self' | 'org' execution identity scope
19
- - `OrganizationInfo` - Public organization details for API responses
20
- - `OwnershipTransferRequest` - Transfer initiation payload
21
- - `OwnershipTransferStatus` - Pending transfer status
19
+ - `AcceptInviteRequest` _(type)_
20
+ - `AccessExplanation` _(type)_
21
+ - `AccessLevel` _(type)_
22
+ - `AccessReason` _(type)_
23
+ - `AccessSource` _(type)_
24
+ - `AcknowledgeSystemEventResponse` _(type)_
25
+ - `AcknowledgeSystemEventResponseSchema`
26
+ - `AclEntry` _(type)_
27
+ - `ActionCapability` _(type)_
28
+ - `ActionCapabilitySchema`
29
+ - `AuthMethodConfig` _(type)_
30
+ - `AuthorityConfidence` _(type)_
31
+ - `AuthorityConfidenceSchema`
32
+ - `AuthorityLocality` _(type)_
33
+ - `AuthorityLocalitySchema`
34
+ - `AuthorityMechanism` _(type)_
35
+ - `AuthorityMechanismSchema`
36
+ - `AuthorityMutability` _(type)_
37
+ - `AuthorityMutabilitySchema`
38
+ - `AuthorityOrigin` _(type)_
39
+ - `AuthorityOriginSchema`
40
+ - `AuthoritySource` _(type)_
41
+ - `AuthoritySourceSchema`
42
+ - `AuthorizableView` _(type)_
43
+ - `CapabilitiesResponse` _(type)_
44
+ - `CapabilitiesResponseSchema`
45
+ - `ChangeMemberRoleRequest` _(type)_
46
+ - `ChangeMemberRoleResponse` _(type)_
47
+ - `ChangeMemberRoleResponseSchema`
48
+ - `CompanyMdContextBankItem` _(type)_
49
+ - `CompanyMdDependency` _(type)_
50
+ - `CompanyMdDoc` _(type)_
51
+ - `CompanyMdDocCollaborators` _(type)_
52
+ - `CompanyMdDocCore` _(type)_
53
+ - `CompanyMdDocKind` _(type)_
54
+ - `CompanyMdDocLevel` _(type)_
55
+ - `CompanyMdDocRelations` _(type)_
56
+ - `CompanyMdNodeIdentity` _(type)_
57
+ - `CompanyMdNodeType` _(type)_
58
+ - `CompanyMdSource` _(type)_
59
+ - `CompanyMdTreeNode` _(type)_
60
+ - `CompanyMdVisibility` _(type)_
61
+ - `CreateDelegationRequest` _(type)_
62
+ - `CreateDelegationRequestSchema`
63
+ - `CreateInviteRequest` _(type)_
64
+ - `CreateOpenRoleRequest` _(type)_
65
+ - `CreateOpenRoleRequestSchema`
66
+ - `Delegation` _(type)_
67
+ - `DelegationListResponse` _(type)_
68
+ - `DelegationListResponseSchema`
69
+ - `DelegationSchema`
70
+ - `DomainListResponse` _(type)_
71
+ - `DomainListResponseSchema`
72
+ - `DomainResponse` _(type)_
73
+ - `DomainResponseSchema`
74
+ - `DomainStatus` _(type)_
75
+ - `DomainVerificationMethod` _(type)_
76
+ - `EffectiveAccess` _(type)_
77
+ - `EvaluationStep` _(type)_
78
+ - `ExecutionScope` _(type)_
79
+ - `FACT_SOURCE_TIER_PRECEDENCE`
80
+ - `FactProvenance` _(type)_
81
+ - `FactProvenanceSchema`
82
+ - `FactSourceTier` _(type)_
83
+ - `FactSourceTierSchema`
84
+ - `FieldCapability` _(type)_
85
+ - `FieldCapabilitySchema`
86
+ - `FillOpenRoleRequest` _(type)_
87
+ - `FillOpenRoleRequestSchema`
88
+ - `HomeAssignment` _(type)_
89
+ - `HomeAssignmentSchema`
90
+ - `HomeUnitRole` _(type)_
91
+ - `HomeUnitRoleSchema`
92
+ - `IDENTITY_TRUST_LEVEL_LABELS`
93
+ - `IdentityTrustLevel` _(type)_
94
+ - `IntegrationRequest` _(type)_
95
+ - `IntegrationRequestStatus` _(type)_
96
+ - `InviteListResponse` _(type)_
97
+ - `InviteListResponseSchema`
98
+ - `InviteResponse` _(type)_
99
+ - `InviteResponseSchema`
100
+ - `LeaveOrgResponse` _(type)_
101
+ - `LeaveOrgResponseSchema`
102
+ - `ListOrgUnitPermissionsResponse` _(type)_
103
+ - `ListOrgUnitPermissionsResponseSchema`
104
+ - `MemberRecentAction` _(type)_
105
+ - `MissingAtNextLevel` _(type)_
106
+ - `MissingAtNextLevelSchema`
107
+ - `ORG_UNITS_ROUTES`
108
+ - `OidcValidationResult` _(type)_
109
+ - `OidcValidationResultDto` _(type)_
110
+ - `OidcValidationResultSchema`
111
+ - `OpenRole` _(type)_
112
+ - `OpenRoleListResponse` _(type)_
113
+ - `OpenRoleListResponseSchema`
114
+ - `OpenRoleResponse` _(type)_
115
+ - `OpenRoleResponseSchema`
116
+ - `OpenRoleSchema`
117
+ - `OpenRoleStatus` _(type)_
118
+ - `OpenRoleStatusSchema`
119
+ - `OrgAuthPolicy` _(type)_
120
+ - `OrgAuthPolicyDto` _(type)_
121
+ - `OrgAuthPolicySchema`
122
+ - `OrgBillingResponse` _(type)_
123
+ - `OrgBillingResponseSchema`
124
+ - `OrgBudgetConfig` _(type)_
125
+ - `OrgBudgetConfigSchema`
126
+ - `OrgDeletionStatus` _(type)_
127
+ - `OrgDeletionStatusSchema`
128
+ - `OrgDomain` _(type)_
129
+ - `OrgInvite` _(type)_
130
+ - `OrgInviteStatus` _(type)_
131
+ - `OrgLevelConfig` _(type)_
132
+ - `OrgLevelConfigResponse` _(type)_
133
+ - `OrgLevelConfigResponseSchema`
134
+ - `OrgLevelConfigSchema`
135
+ - `OrgLevelIcon` _(type)_
136
+ - `OrgLevelIconSchema`
137
+ - `OrgOwnerIcon` _(type)_
138
+ - `OrgOwnerIconSchema`
139
+ - `OrgScopedContext` _(type)_
140
+ - `OrgSystemEventsList` _(type)_
141
+ - `OrgSystemEventsListSchema`
142
+ - `OrgTreeResponse` _(type)_
143
+ - `OrgType` _(type)_
144
+ - `OrgUnit` _(type)_
145
+ - `OrgUnitAncestorsResponse` _(type)_
146
+ - `OrgUnitAncestorsResponseSchema`
147
+ - `OrgUnitChildrenResponse` _(type)_
148
+ - `OrgUnitChildrenResponseSchema`
149
+ - `OrgUnitClassification` _(type)_
150
+ - `OrgUnitClassificationSchema`
151
+ - `OrgUnitDescendantsResponse` _(type)_
152
+ - `OrgUnitDescendantsResponseSchema`
153
+ - `OrgUnitDesignation` _(type)_
154
+ - `OrgUnitDesignationSchema`
155
+ - `OrgUnitErrorCode` _(type)_
156
+ - `OrgUnitErrorCodeSchema`
157
+ - `OrgUnitMembership` _(type)_
158
+ - `OrgUnitMembershipListResponse` _(type)_
159
+ - `OrgUnitMembershipListResponseSchema`
160
+ - `OrgUnitMembershipResponse` _(type)_
161
+ - `OrgUnitMembershipResponseSchema`
162
+ - `OrgUnitMembershipSchema`
163
+ - `OrgUnitMembershipSource` _(type)_
164
+ - `OrgUnitMembershipSourceSchema`
165
+ - `OrgUnitMembershipStatus` _(type)_
166
+ - `OrgUnitMembershipStatusSchema`
167
+ - `OrgUnitOwner` _(type)_
168
+ - `OrgUnitOwnerSchema`
169
+ - `OrgUnitOwnersResponse` _(type)_
170
+ - `OrgUnitOwnersResponseSchema`
171
+ - `OrgUnitPermissionsEntry` _(type)_
172
+ - `OrgUnitPermissionsEntrySchema`
173
+ - `OrgUnitRelationship` _(type)_
174
+ - `OrgUnitRelationshipRole` _(type)_
175
+ - `OrgUnitRelationshipRoleSchema`
176
+ - `OrgUnitRelationshipSchema`
177
+ - `OrgUnitRelationshipType` _(type)_
178
+ - `OrgUnitRelationshipTypeSchema`
179
+ - `OrgUnitRelationshipsResponse` _(type)_
180
+ - `OrgUnitRelationshipsResponseSchema`
181
+ - `OrgUnitResponse` _(type)_
182
+ - `OrgUnitResponseSchema`
183
+ - `OrgUnitSchema`
184
+ - `OrgUnitSyncMode` _(type)_
185
+ - `OrgUnitSyncModeSchema`
186
+ - `OrgUnitTreeNode` _(type)_
187
+ - `OrgUnitTreeNodeSchema`
188
+ - `OrgUnitTreeResponse` _(type)_
189
+ - `OrgUnitTreeResponseSchema`
190
+ - `OrgUnitVisibility` _(type)_
191
+ - `OrgUnitVisibilitySchema`
192
+ - `OrgUsageResponse` _(type)_
193
+ - `OrgUsageResponseSchema`
194
+ - `OrganizationInfo` _(type)_
195
+ - `OwnerAuthority` _(type)_
196
+ - `OwnerAuthoritySchema`
197
+ - `OwnerIdentityInfo` _(type)_
198
+ - `OwnershipTransferPreview` _(type)_
199
+ - `OwnershipTransferPreviewSchema`
200
+ - `OwnershipTransferRequest` _(type)_
201
+ - `OwnershipTransferResponse` _(type)_
202
+ - `OwnershipTransferResponseSchema`
203
+ - `OwnershipTransferStatus` _(type)_
204
+ - `PermissionAuditEntry` _(type)_
205
+ - `Phase3AuditAction` _(type)_
206
+ - `Phase4AuditAction` _(type)_
207
+ - `ProviderStatus` _(type)_
208
+ - `ProviderSuggestion` _(type)_
209
+ - `RemoveMemberRequest` _(type)_
210
+ - `RemoveMemberResponse` _(type)_
211
+ - `RemoveMemberResponseSchema`
212
+ - `RoleCatalogEntry` _(type)_
213
+ - `RoleCatalogEntrySchema`
214
+ - `RoleCatalogResponseSchema`
215
+ - `ScopeCheckBatchResponse` _(type)_
216
+ - `ScopeCheckBatchResponseSchema`
217
+ - `ScopeCheckResponse` _(type)_
218
+ - `ScopeCheckResponseSchema`
219
+ - `SetActiveOrgResponse` _(type)_
220
+ - `SetActiveOrgResponseSchema`
221
+ - `SetMemberManagerResponse` _(type)_
222
+ - `SetMemberManagerResponseSchema`
223
+ - `SharePolicy` _(type)_
224
+ - `ShareState` _(type)_
225
+ - `SsoCredentialStatus` _(type)_
226
+ - `SsoDiscoveryConfig` _(type)_
227
+ - `SsoEnforcementStatus` _(type)_
228
+ - `SsoOperationalState` _(type)_
229
+ - `SsoReadiness` _(type)_
230
+ - `SsoReadinessCheck` _(type)_
231
+ - `SsoSetupInfo` _(type)_
232
+ - `SsoStepperStep` _(type)_
233
+ - `SubmitInteractiveTaskResponse` _(type)_
234
+ - `SubmitInteractiveTaskResponseSchema`
235
+ - `TRANSFER_RESPONSIBILITIES`
236
+ - `TestSsoInitiation` _(type)_
237
+ - `TestSsoInitiationDto` _(type)_
238
+ - `TestSsoInitiationSchema`
239
+ - `TestSsoResult` _(type)_
240
+ - `TestSsoResultDto` _(type)_
241
+ - `TestSsoResultSchema`
242
+ - `TransferAcceptanceView` _(type)_
243
+ - `TransferEligibilityResult` _(type)_
244
+ - `TransferInitiateRequest` _(type)_
245
+ - `TransferMemberEligibility` _(type)_
246
+ - `TransferResponsibility` _(type)_
247
+ - `TransferStatusResponse` _(type)_
248
+ - `TreeOrderableNode` _(type)_
249
+ - `UnitMembershipRole` _(type)_
250
+ - `UnitMembershipRoleSchema`
251
+ - `UpdateAuthPolicyRequest` _(type)_
252
+ - `UpdateDelegationRequest` _(type)_
253
+ - `UpdateDelegationRequestSchema`
254
+ - `UpdateOpenRoleStatusRequest` _(type)_
255
+ - `UpdateOpenRoleStatusRequestSchema`
256
+ - `UpdateOrgUnitRequest` _(type)_
257
+ - `UpdateOrgUnitRequestSchema`
258
+ - `UpdateOrgUnitResponse` _(type)_
259
+ - `UpdateOrgUnitResponseSchema`
260
+ - `UserOrgMembership` _(type)_
261
+ - `UserOrgsResponse` _(type)_
262
+ - `UserOrgsResponseSchema`
263
+ - `VIEW_SCOPE_MAP`
264
+ - `WorkspaceAccessResponse` _(type)_
265
+ - `WorkspaceAccessResponseSchema`
266
+ - `WorkspaceAuditEvent` _(type)_
267
+ - `WorkspaceAuditEventDto` _(type)_
268
+ - `WorkspaceAuditEventSchema`
269
+ - `WorkspaceAuditResponseSchema`
270
+ - `WorkspaceAuthConfig` _(type)_
271
+ - `WorkspaceAuthConfigDto` _(type)_
272
+ - `WorkspaceAuthConfigSchema`
273
+ - `WorkspaceInfoOverview` _(type)_
274
+ - `WorkspaceMember` _(type)_
275
+ - `WorkspaceMemberDetail` _(type)_
276
+ - `WorkspaceMemberDetailSchema`
277
+ - `WorkspaceMemberInviteStatus` _(type)_
278
+ - `WorkspaceMemberUnitDesignationEntry` _(type)_
279
+ - `WorkspaceMemberUnitDesignationEntrySchema`
280
+ - `WorkspaceMemberUnitSummary` _(type)_
281
+ - `WorkspaceMembersResponse` _(type)_
282
+ - `WorkspaceMembersResponseSchema`
283
+ - `WorkspaceOverview` _(type)_
284
+ - `WorkspaceOverviewDto` _(type)_
285
+ - `WorkspaceOverviewSchema`
286
+ - `WorkspaceResolvePathResponse` _(type)_
287
+ - `WorkspaceResolvePathResponseSchema`
288
+ - `WorkspaceResyncSlackLogoResponse` _(type)_
289
+ - `WorkspaceResyncSlackLogoResponseSchema`
290
+ - `WorkspaceSettingsOverview` _(type)_
291
+ - `WorkspaceSsoState` _(type)_
292
+ - `WorkspaceSurface` _(type)_
293
+ - `getViewScope`
294
+ - `orderTreeNodes`
295
+
296
+ <!-- END GENERATED: readme-public-api -->
297
+
298
+ <!-- BEGIN GENERATED: readme-dependencies — derived from code by `pnpm readme-api`. Do not edit. -->
22
299
 
23
300
  ## Dependencies
24
301
 
25
- None. This is a leaf vocabulary module.
302
+ **Internal domains:**
303
+
304
+ - `api`
305
+ - `permissions`
306
+
307
+ **External packages:**
308
+
309
+ - `zod`
310
+
311
+ <!-- END GENERATED: readme-dependencies -->
@@ -12,31 +12,44 @@ TypeScript types for Ralph, an autonomous AI coding loop with graduated trust le
12
12
  - PRD `passes` field is the only field Ralph should modify during execution
13
13
  - Orchestration, prompts, and trust logic live in company-semantics-control, not here
14
14
 
15
- ## Public API
15
+ <!-- BEGIN GENERATED: readme-public-api — derived from code by `pnpm readme-api`. Do not edit. -->
16
16
 
17
- ### PRD Types
17
+ ## Public API
18
18
 
19
- - `RalphPRDCategory` — Category of feature item (`functional`, `architectural`, `integration`, `polish`)
20
- - `RalphPRDPriority` — Priority level (`high`, `medium`, `low`)
21
- - `RalphPRDItem` — Single feature item in a PRD
22
- - `RalphPRD` — Complete PRD document
19
+ - `AllowedRepo` _(type)_
20
+ - `REPO_PRECEDENCE`
21
+ - `RalphAcceptanceCriteria` _(type)_
22
+ - `RalphAgentContract` _(type)_
23
+ - `RalphCapabilities` _(type)_
24
+ - `RalphCommitPolicy` _(type)_
25
+ - `RalphExecutionPolicy` _(type)_
26
+ - `RalphFailurePolicy` _(type)_
27
+ - `RalphFeatureGroup` _(type)_
28
+ - `RalphInteractionFlow` _(type)_
29
+ - `RalphIteration` _(type)_
30
+ - `RalphMeta` _(type)_
31
+ - `RalphMode` _(type)_
32
+ - `RalphPRD` _(type)_
33
+ - `RalphPRDCategory` _(type)_
34
+ - `RalphPRDItem` _(type)_
35
+ - `RalphPRDPriority` _(type)_
36
+ - `RalphProgress` _(type)_
37
+ - `RalphReferenceImplementation` _(type)_
38
+ - `RalphScope` _(type)_
39
+ - `RalphSuccessCriteria` _(type)_
40
+
41
+ <!-- END GENERATED: readme-public-api -->
42
+
43
+ <!-- BEGIN GENERATED: readme-dependencies — derived from code by `pnpm readme-api`. Do not edit. -->
23
44
 
24
- ### Progress Types
45
+ ## Dependencies
25
46
 
26
- - `RalphIteration` — Record of a single iteration
27
- - `RalphMode` — Operation mode (`hitl`, `afk`)
28
- - `RalphProgress` — Complete session progress state
47
+ **Internal domains:**
29
48
 
30
- ### Trust Types
49
+ _None._
31
50
 
32
- - `RalphTrustLevel` — Trust level (0-3)
33
- - `RalphRunResult` — Run outcome (`success`, `failure`)
34
- - `RalphCIStatus` — CI status (`green`, `red`, `skipped`)
35
- - `RalphTrustLog` — Run outcome record for audit
36
- - `RalphTrustPolicy` — Trust policy configuration
37
- - `RalphDemotionReason` — Reasons for automatic demotion
51
+ **External packages:**
38
52
 
39
- ## Dependencies
53
+ _None._
40
54
 
41
- **Imports from:** (none leaf module)
42
- **Imported by:** company-semantics-control
55
+ <!-- END GENERATED: readme-dependencies -->
@@ -49,3 +49,27 @@ This is the canonical semantic across all Company Semantics repos.
49
49
 
50
50
  - PRD-00012: Foundational rate limiting implementation
51
51
  - PRD-00013: Contracts integration (this promotion)
52
+
53
+ <!-- BEGIN GENERATED: readme-public-api — derived from code by `pnpm readme-api`. Do not edit. -->
54
+
55
+ ## Public API
56
+
57
+ - `RateLimitConfig` _(type)_
58
+ - `RateLimitResult` _(type)_
59
+ - `RateLimitTier`
60
+
61
+ <!-- END GENERATED: readme-public-api -->
62
+
63
+ <!-- BEGIN GENERATED: readme-dependencies — derived from code by `pnpm readme-api`. Do not edit. -->
64
+
65
+ ## Dependencies
66
+
67
+ **Internal domains:**
68
+
69
+ _None._
70
+
71
+ **External packages:**
72
+
73
+ _None._
74
+
75
+ <!-- END GENERATED: readme-dependencies -->