@cleocode/contracts 2026.6.12 → 2026.6.14

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 (216) hide show
  1. package/dist/__tests__/operation-def.test.js +5 -1
  2. package/dist/__tests__/operation-def.test.js.map +1 -1
  3. package/dist/__tests__/provider-def.test.d.ts +12 -0
  4. package/dist/__tests__/provider-def.test.d.ts.map +1 -0
  5. package/dist/__tests__/provider-def.test.js +84 -0
  6. package/dist/__tests__/provider-def.test.js.map +1 -0
  7. package/dist/__tests__/sealed-credential.test.d.ts +19 -0
  8. package/dist/__tests__/sealed-credential.test.d.ts.map +1 -0
  9. package/dist/__tests__/sealed-credential.test.js +74 -0
  10. package/dist/__tests__/sealed-credential.test.js.map +1 -0
  11. package/dist/__tests__/service-provider.test.d.ts +17 -0
  12. package/dist/__tests__/service-provider.test.d.ts.map +1 -0
  13. package/dist/__tests__/service-provider.test.js +108 -0
  14. package/dist/__tests__/service-provider.test.js.map +1 -0
  15. package/dist/__tests__/skill-executor-contract.test.js +3 -0
  16. package/dist/__tests__/skill-executor-contract.test.js.map +1 -1
  17. package/dist/acceptance-gate.d.ts +2 -3
  18. package/dist/acceptance-gate.d.ts.map +1 -1
  19. package/dist/boundary.d.ts +52 -0
  20. package/dist/boundary.d.ts.map +1 -1
  21. package/dist/boundary.js +24 -19
  22. package/dist/boundary.js.map +1 -1
  23. package/dist/conduit.d.ts +171 -0
  24. package/dist/conduit.d.ts.map +1 -1
  25. package/dist/config/index.d.ts +23 -0
  26. package/dist/config/index.d.ts.map +1 -0
  27. package/dist/config/index.js +22 -0
  28. package/dist/config/index.js.map +1 -0
  29. package/dist/config.d.ts +104 -1
  30. package/dist/config.d.ts.map +1 -1
  31. package/dist/data-accessor.d.ts +21 -1
  32. package/dist/data-accessor.d.ts.map +1 -1
  33. package/dist/data-accessor.js.map +1 -1
  34. package/dist/dispatch/__tests__/tasks-gateway-crud-ops.test.d.ts +21 -0
  35. package/dist/dispatch/__tests__/tasks-gateway-crud-ops.test.d.ts.map +1 -0
  36. package/dist/dispatch/__tests__/tasks-gateway-crud-ops.test.js +84 -0
  37. package/dist/dispatch/__tests__/tasks-gateway-crud-ops.test.js.map +1 -0
  38. package/dist/dispatch/identity.d.ts +1 -1
  39. package/dist/dispatch/identity.d.ts.map +1 -1
  40. package/dist/dispatch/identity.js +25 -0
  41. package/dist/dispatch/identity.js.map +1 -1
  42. package/dist/dispatch/operation-def.d.ts +20 -0
  43. package/dist/dispatch/operation-def.d.ts.map +1 -1
  44. package/dist/dispatch/operations-registry.d.ts.map +1 -1
  45. package/dist/dispatch/operations-registry.js +1044 -182
  46. package/dist/dispatch/operations-registry.js.map +1 -1
  47. package/dist/docs/read.d.ts +2 -2
  48. package/dist/index.d.ts +25 -11
  49. package/dist/index.d.ts.map +1 -1
  50. package/dist/index.js +17 -1
  51. package/dist/index.js.map +1 -1
  52. package/dist/lease-ipc/__tests__/freeze.test.d.ts +15 -0
  53. package/dist/lease-ipc/__tests__/freeze.test.d.ts.map +1 -0
  54. package/dist/lease-ipc/__tests__/freeze.test.js +313 -0
  55. package/dist/lease-ipc/__tests__/freeze.test.js.map +1 -0
  56. package/dist/lease-ipc/index.d.ts +17 -0
  57. package/dist/lease-ipc/index.d.ts.map +1 -0
  58. package/dist/lease-ipc/index.js +16 -0
  59. package/dist/lease-ipc/index.js.map +1 -0
  60. package/dist/lease-ipc/messages.d.ts +918 -0
  61. package/dist/lease-ipc/messages.d.ts.map +1 -0
  62. package/dist/lease-ipc/messages.js +476 -0
  63. package/dist/lease-ipc/messages.js.map +1 -0
  64. package/dist/lease-ipc/version.d.ts +41 -0
  65. package/dist/lease-ipc/version.d.ts.map +1 -0
  66. package/dist/lease-ipc/version.js +43 -0
  67. package/dist/lease-ipc/version.js.map +1 -0
  68. package/dist/llm/catalog-schema.d.ts +242 -0
  69. package/dist/llm/catalog-schema.d.ts.map +1 -0
  70. package/dist/llm/catalog-schema.js +153 -0
  71. package/dist/llm/catalog-schema.js.map +1 -0
  72. package/dist/llm/catalog-schema.json +139 -0
  73. package/dist/llm/index.d.ts +15 -0
  74. package/dist/llm/index.d.ts.map +1 -0
  75. package/dist/llm/index.js +14 -0
  76. package/dist/llm/index.js.map +1 -0
  77. package/dist/llm/interfaces.d.ts +23 -0
  78. package/dist/llm/interfaces.d.ts.map +1 -1
  79. package/dist/llm/oauth.d.ts +16 -2
  80. package/dist/llm/oauth.d.ts.map +1 -1
  81. package/dist/llm/onboarding.d.ts +126 -0
  82. package/dist/llm/onboarding.d.ts.map +1 -0
  83. package/dist/llm/onboarding.js +34 -0
  84. package/dist/llm/onboarding.js.map +1 -0
  85. package/dist/llm/provider-def.d.ts +254 -0
  86. package/dist/llm/provider-def.d.ts.map +1 -0
  87. package/dist/llm/provider-def.js +93 -0
  88. package/dist/llm/provider-def.js.map +1 -0
  89. package/dist/llm/sealed-credential.d.ts +164 -0
  90. package/dist/llm/sealed-credential.d.ts.map +1 -0
  91. package/dist/llm/sealed-credential.js +43 -0
  92. package/dist/llm/sealed-credential.js.map +1 -0
  93. package/dist/llm/system-of-use.d.ts +383 -0
  94. package/dist/llm/system-of-use.d.ts.map +1 -0
  95. package/dist/llm/system-of-use.js +238 -0
  96. package/dist/llm/system-of-use.js.map +1 -0
  97. package/dist/llm/system-resolver.d.ts +87 -11
  98. package/dist/llm/system-resolver.d.ts.map +1 -1
  99. package/dist/llm/system-resolver.js +14 -7
  100. package/dist/llm/system-resolver.js.map +1 -1
  101. package/dist/operations/__tests__/ensures-schema-registry.test.d.ts +17 -0
  102. package/dist/operations/__tests__/ensures-schema-registry.test.d.ts.map +1 -0
  103. package/dist/operations/__tests__/ensures-schema-registry.test.js +113 -0
  104. package/dist/operations/__tests__/ensures-schema-registry.test.js.map +1 -0
  105. package/dist/operations/admin.d.ts +124 -1
  106. package/dist/operations/admin.d.ts.map +1 -1
  107. package/dist/operations/ensures-schema-registry.d.ts +172 -0
  108. package/dist/operations/ensures-schema-registry.d.ts.map +1 -0
  109. package/dist/operations/ensures-schema-registry.js +226 -0
  110. package/dist/operations/ensures-schema-registry.js.map +1 -0
  111. package/dist/operations/entities.d.ts +110 -0
  112. package/dist/operations/entities.d.ts.map +1 -0
  113. package/dist/operations/entities.js +695 -0
  114. package/dist/operations/entities.js.map +1 -0
  115. package/dist/operations/llm.d.ts +116 -9
  116. package/dist/operations/llm.d.ts.map +1 -1
  117. package/dist/operations/output-contracts-data.d.ts.map +1 -1
  118. package/dist/operations/output-contracts-data.js +230 -0
  119. package/dist/operations/output-contracts-data.js.map +1 -1
  120. package/dist/operations/service.d.ts +68 -0
  121. package/dist/operations/service.d.ts.map +1 -0
  122. package/dist/operations/service.js +336 -0
  123. package/dist/operations/service.js.map +1 -0
  124. package/dist/operations/tasks.d.ts +109 -0
  125. package/dist/operations/tasks.d.ts.map +1 -1
  126. package/dist/operations/tasks.js.map +1 -1
  127. package/dist/operations/validate.d.ts +1 -12
  128. package/dist/operations/validate.d.ts.map +1 -1
  129. package/dist/operations/validate.js +1 -1
  130. package/dist/playbook.d.ts +116 -0
  131. package/dist/playbook.d.ts.map +1 -1
  132. package/dist/release/plan.d.ts +5 -5
  133. package/dist/session.d.ts +11 -0
  134. package/dist/session.d.ts.map +1 -1
  135. package/dist/session.js.map +1 -1
  136. package/dist/templates/manifest.d.ts +1 -1
  137. package/dist/tools/agent-tools.d.ts +231 -0
  138. package/dist/tools/agent-tools.d.ts.map +1 -0
  139. package/dist/tools/agent-tools.js +25 -0
  140. package/dist/tools/agent-tools.js.map +1 -0
  141. package/dist/tools/atomic.d.ts +19 -0
  142. package/dist/tools/atomic.d.ts.map +1 -1
  143. package/dist/tools/atomic.js +17 -0
  144. package/dist/tools/atomic.js.map +1 -1
  145. package/dist/tools/index.d.ts +2 -0
  146. package/dist/tools/index.d.ts.map +1 -1
  147. package/dist/tools/skill-executor.d.ts +7 -0
  148. package/dist/tools/skill-executor.d.ts.map +1 -1
  149. package/dist/tools/web-tools.d.ts +217 -0
  150. package/dist/tools/web-tools.d.ts.map +1 -0
  151. package/dist/tools/web-tools.js +31 -0
  152. package/dist/tools/web-tools.js.map +1 -0
  153. package/dist/vault/service-provider.d.ts +343 -0
  154. package/dist/vault/service-provider.d.ts.map +1 -0
  155. package/dist/vault/service-provider.js +857 -0
  156. package/dist/vault/service-provider.js.map +1 -0
  157. package/dist/workgraph.d.ts +12 -12
  158. package/package.json +14 -2
  159. package/src/__tests__/__snapshots__/operations-registry.test.ts.snap +1 -1
  160. package/src/__tests__/operation-def.test.ts +7 -1
  161. package/src/__tests__/provider-def.test.ts +93 -0
  162. package/src/__tests__/sealed-credential.test.ts +100 -0
  163. package/src/__tests__/service-provider.test.ts +129 -0
  164. package/src/__tests__/skill-executor-contract.test.ts +3 -0
  165. package/src/acceptance-gate.ts +2 -3
  166. package/src/boundary.ts +70 -20
  167. package/src/conduit.ts +200 -0
  168. package/src/config/index.ts +35 -0
  169. package/src/config.ts +106 -1
  170. package/src/data-accessor.ts +22 -1
  171. package/src/dispatch/__tests__/tasks-gateway-crud-ops.test.ts +99 -0
  172. package/src/dispatch/identity.ts +25 -0
  173. package/src/dispatch/operation-def.ts +21 -0
  174. package/src/dispatch/operations-registry.ts +1083 -176
  175. package/src/index.ts +240 -25
  176. package/src/lease-ipc/__tests__/freeze.test.ts +342 -0
  177. package/src/lease-ipc/index.ts +75 -0
  178. package/src/lease-ipc/messages.ts +588 -0
  179. package/src/lease-ipc/version.ts +46 -0
  180. package/src/llm/catalog-schema.json +139 -0
  181. package/src/llm/catalog-schema.ts +184 -0
  182. package/src/llm/index.ts +29 -0
  183. package/src/llm/interfaces.ts +23 -0
  184. package/src/llm/oauth.ts +16 -2
  185. package/src/llm/onboarding.ts +131 -0
  186. package/src/llm/provider-def.ts +291 -0
  187. package/src/llm/sealed-credential.ts +166 -0
  188. package/src/llm/system-of-use.ts +503 -0
  189. package/src/llm/system-resolver.ts +91 -11
  190. package/src/operations/__tests__/ensures-schema-registry.test.ts +169 -0
  191. package/src/operations/admin.ts +144 -0
  192. package/src/operations/ensures-schema-registry.ts +260 -0
  193. package/src/operations/entities.ts +758 -0
  194. package/src/operations/llm.ts +120 -8
  195. package/src/operations/output-contracts-data.ts +264 -0
  196. package/src/operations/service.ts +360 -0
  197. package/src/operations/tasks.ts +119 -0
  198. package/src/operations/validate.ts +1 -14
  199. package/src/playbook.ts +117 -0
  200. package/src/session.ts +11 -0
  201. package/src/tools/agent-tools.ts +270 -0
  202. package/src/tools/atomic.ts +21 -0
  203. package/src/tools/index.ts +46 -0
  204. package/src/tools/skill-executor.ts +7 -0
  205. package/src/tools/web-tools.ts +247 -0
  206. package/src/vault/service-provider.ts +1137 -0
  207. package/dist/tessera.d.ts +0 -32
  208. package/dist/tessera.d.ts.map +0 -1
  209. package/dist/tessera.js +0 -11
  210. package/dist/tessera.js.map +0 -1
  211. package/dist/warp-chain.d.ts +0 -129
  212. package/dist/warp-chain.d.ts.map +0 -1
  213. package/dist/warp-chain.js +0 -13
  214. package/dist/warp-chain.js.map +0 -1
  215. package/src/tessera.ts +0 -35
  216. package/src/warp-chain.ts +0 -185
package/src/index.ts CHANGED
@@ -140,12 +140,14 @@ export type {
140
140
  export type {
141
141
  BoundaryEntry,
142
142
  CanonicalHome,
143
+ ChannelBoundaryEntry,
144
+ ChannelTrustPosture,
143
145
  PerfBudget,
144
146
  SafetyBudget,
145
147
  ThroughputThreshold,
146
148
  WorkloadIntent,
147
149
  } from './boundary.js';
148
- export { BOUNDARY_REGISTRY } from './boundary.js';
150
+ export { BOUNDARY_REGISTRY, CHANNEL_BOUNDARY_REGISTRY } from './boundary.js';
149
151
  // === Brain/Memory Types ===
150
152
  export type {
151
153
  BackupRecoverBrainResult,
@@ -213,6 +215,11 @@ export type {
213
215
  } from './code-symbol.js';
214
216
  // === Conduit Protocol (agent-to-agent communication) ===
215
217
  export type {
218
+ ChannelAdapter,
219
+ ChannelConfig,
220
+ ChannelHealth,
221
+ ChannelHealthStatus,
222
+ ChannelSession,
216
223
  Conduit,
217
224
  ConduitConfig,
218
225
  ConduitMessage,
@@ -223,6 +230,8 @@ export type {
223
230
  ConduitTopicPublishOptions,
224
231
  ConduitTopicSubscribeOptions,
225
232
  ConduitUnsubscribe,
233
+ InboundMsg,
234
+ OutboundReply,
226
235
  } from './conduit.js';
227
236
  // === Config Manifest (T9876 / Saga T9855) ===
228
237
  export type {
@@ -264,6 +273,7 @@ export type {
264
273
  LlmConfig,
265
274
  LlmDefaultConfig,
266
275
  LlmProfileConfig,
276
+ LlmProfileTier,
267
277
  LlmProfileTuning,
268
278
  LlmProviderEntry,
269
279
  LlmProviderTransport,
@@ -282,6 +292,7 @@ export type {
282
292
  SharingMode,
283
293
  SignalDockConfig,
284
294
  SignalDockMode,
295
+ SystemBinding,
285
296
  } from './config.js';
286
297
  export type { AdapterContextMonitorProvider } from './context-monitor.js';
287
298
  // === Claude Code credential parsing (T9307 — pure helper, no core imports) ===
@@ -739,6 +750,87 @@ export {
739
750
  isLafsError,
740
751
  isLafsSuccess,
741
752
  } from './lafs.js';
753
+ // === Lease-IPC v1.1 (PARALLEL DbWriterLease contract — T11627 · SG-RUNTIME-UNIFICATION) ===
754
+ export type {
755
+ ChildKilledUnresponsiveResponse,
756
+ LeaseAcquireRequest,
757
+ LeaseDeniedResponse,
758
+ LeaseErrorResponse,
759
+ LeaseGrantedResponse,
760
+ LeaseIpcEnvelope,
761
+ LeaseIpcRequest,
762
+ LeaseIpcRequestEnvelope,
763
+ LeaseIpcResponse,
764
+ LeaseIpcResponseEnvelope,
765
+ LeaseLane,
766
+ LeaseQueuedResponse,
767
+ LeaseReleaseRequest,
768
+ LeaseRenewRequest,
769
+ LeaseRevokedResponse,
770
+ LeaseScope,
771
+ QueueAdmitDisposition,
772
+ QueueAdmitRequest,
773
+ QueueAdmitResultResponse,
774
+ QueuePriorityClass,
775
+ RateCheckRequest,
776
+ RateResultResponse,
777
+ ToolGrantedResponse,
778
+ ToolGrantRequest,
779
+ } from './lease-ipc/index.js';
780
+ export {
781
+ ChildKilledUnresponsiveResponseSchema,
782
+ isFrozenLeaseIpcVersion,
783
+ LEASE_IPC_MESSAGE_KINDS,
784
+ LEASE_IPC_PROTOCOL_VERSION,
785
+ LEASE_IPC_REQUEST_KINDS,
786
+ LEASE_IPC_RESPONSE_KINDS,
787
+ LeaseAcquireRequestSchema,
788
+ LeaseDeniedResponseSchema,
789
+ LeaseErrorResponseSchema,
790
+ LeaseGrantedResponseSchema,
791
+ LeaseIpcEnvelopeSchema,
792
+ LeaseIpcRequestEnvelopeSchema,
793
+ LeaseIpcRequestSchema,
794
+ LeaseIpcResponseEnvelopeSchema,
795
+ LeaseIpcResponseSchema,
796
+ LeaseLaneSchema,
797
+ LeaseQueuedResponseSchema,
798
+ LeaseReleaseRequestSchema,
799
+ LeaseRenewRequestSchema,
800
+ LeaseRevokedResponseSchema,
801
+ LeaseScopeSchema,
802
+ QueueAdmitDispositionSchema,
803
+ QueueAdmitRequestSchema,
804
+ QueueAdmitResultResponseSchema,
805
+ QueuePriorityClassSchema,
806
+ RateCheckRequestSchema,
807
+ RateResultResponseSchema,
808
+ ToolGrantedResponseSchema,
809
+ ToolGrantRequestSchema,
810
+ } from './lease-ipc/index.js';
811
+ export type {
812
+ CatalogAuthType,
813
+ CatalogModelEntry,
814
+ CatalogModelStatus,
815
+ CatalogProvider,
816
+ CuratedCatalog,
817
+ ModelsCatalogRowInsert,
818
+ ModelsCatalogRowSelect,
819
+ } from './llm/catalog-schema.js';
820
+ // === E8 Curated Models Catalog (T11731 · offline-first catalog SSoT) ===
821
+ export {
822
+ CATALOG_AUTH_TYPES,
823
+ CATALOG_MODEL_STATUSES,
824
+ catalogCostSchema,
825
+ catalogLimitSchema,
826
+ catalogModalitiesSchema,
827
+ catalogModelEntrySchema,
828
+ catalogModelProviderSchema,
829
+ catalogProviderSchema,
830
+ curatedCatalogSchema,
831
+ modelsCatalogRowInsertSchema,
832
+ modelsCatalogRowSelectSchema,
833
+ } from './llm/catalog-schema.js';
742
834
  // === LLM Error Taxonomy (T9270 — Hermes FailoverReason port) ===
743
835
  export type { ClassifiedError, FailoverReason } from './llm/failover-reason.js';
744
836
  // === Phase 4 Unified Architecture (T9281 / ADR-072) — Session + Executor interfaces ===
@@ -774,6 +866,14 @@ export type {
774
866
  } from './llm/normalized-response.js';
775
867
  // === OAuth types — SSoT shared between core and cleo (T9302) ===
776
868
  export type { OAuthMode, OAuthTokens, PkceFlowConfig, ProviderOAuthConfig } from './llm/oauth.js';
869
+ // === Onboarding login engine result envelope (T11724 · M3) ===
870
+ export type {
871
+ OnboardingAuthMode,
872
+ OnboardingResult,
873
+ OnboardingStepName,
874
+ OnboardingStepResult,
875
+ OnboardingStepStatus,
876
+ } from './llm/onboarding.js';
777
877
  // === Phase 4/5 Plugin LLM facade types (T9305 / T9313) ===
778
878
  export type { PluginLlmComplete, PluginLlmContext } from './llm/plugin-llm.js';
779
879
  export {
@@ -782,6 +882,23 @@ export {
782
882
  PluginModelGateError,
783
883
  PluginRateLimitedError,
784
884
  } from './llm/plugin-llm.js';
885
+ export type {
886
+ AiSdkEndpoint,
887
+ AnthropicMessagesEndpoint,
888
+ OAuthFlowDef,
889
+ OpenAICompletionsEndpoint,
890
+ OpenAIResponsesEndpoint,
891
+ ProviderDef,
892
+ ProviderEndpoint,
893
+ ProviderTransport,
894
+ RequestQuirk,
895
+ RequestQuirkKind,
896
+ } from './llm/provider-def.js';
897
+ // === M3 Provider SSoT (T11702 · epic T11667) — declarative ProviderDef ===
898
+ export {
899
+ PROVIDER_TRANSPORTS,
900
+ REQUEST_QUIRK_KINDS,
901
+ } from './llm/provider-def.js';
785
902
  // === Phase 4 Unified Architecture (T9281 / ADR-072) — Provider identity ===
786
903
  export type { ApiMode, BuiltinProviderId, ProviderId } from './llm/provider-id.js';
787
904
  // === Provider Profile + Plugin Contracts (T9262 — Phase 3 T-LLM-CRED) ===
@@ -794,10 +911,42 @@ export type {
794
911
  export type { ResolvedCredential } from './llm/resolved-credential.js';
795
912
  // === E9 SSoT resolution descriptor (T11745 / T11761) ===
796
913
  export type { ModelCaps, ResolvedLLMDescriptor } from './llm/resolved-descriptor.js';
914
+ // === E10 Sealed credential handle (T11752 / T11746) — on-demand decrypt at the wire ===
915
+ export type { DecryptedToken, SealedCredential } from './llm/sealed-credential.js';
916
+ // === E9 System-of-Use taxonomy + registry (T11747 · hermes _AUX_TASKS analog) ===
917
+ export type {
918
+ AuxSystem,
919
+ AuxSystemId,
920
+ CantbookNodeSystem,
921
+ OpenSystemKind,
922
+ OrchestrationSystem,
923
+ RegisteredSystemOfUse,
924
+ RoleSystem,
925
+ SkillSystem,
926
+ SpawnUnitSystem,
927
+ SystemOfUse,
928
+ SystemOfUseDefaults,
929
+ SystemOfUseKind,
930
+ SystemOfUsePickerEntry,
931
+ ToolSystem,
932
+ WhoamiRoleId,
933
+ } from './llm/system-of-use.js';
934
+ export {
935
+ AUX_SYSTEM_IDS,
936
+ BUILTIN_SYSTEMS_OF_USE,
937
+ isBuiltinSystemOfUse,
938
+ isOpenSystemKind,
939
+ isSystemOfUse,
940
+ OPEN_SYSTEM_KEY_PREFIXES,
941
+ ORCHESTRATION_TIER_IDS,
942
+ ROLE_SYSTEM_IDS,
943
+ WHOAMI_ROLE_IDS,
944
+ } from './llm/system-of-use.js';
797
945
  // === E9 System-of-Use chokepoint contract (T11749) ===
798
946
  export type {
799
947
  ResolveLLMForSystemOptions,
800
- SystemOfUse,
948
+ SystemOfUseLabel,
949
+ SystemResolverInput,
801
950
  } from './llm/system-resolver.js';
802
951
  export { SYSTEM_ROLE_MAP } from './llm/system-resolver.js';
803
952
  // === Logger contract (T9766 — centralized from @cleocode/core) ===
@@ -961,10 +1110,19 @@ export type {
961
1110
  AdminBackupListParams,
962
1111
  AdminBackupMutateParams,
963
1112
  AdminCleanupParams,
1113
+ AdminConfigGetParams,
1114
+ AdminConfigGetResult,
1115
+ AdminConfigListParams,
1116
+ AdminConfigListResult,
964
1117
  AdminConfigPresetsParams,
1118
+ AdminConfigScope,
965
1119
  AdminConfigSetParams,
966
1120
  AdminConfigSetPresetParams,
967
1121
  AdminConfigShowParams,
1122
+ AdminConfigUnsetParams,
1123
+ AdminConfigUnsetResult,
1124
+ AdminConfigValidateParams,
1125
+ AdminConfigValidateResult,
968
1126
  AdminContextInjectParams,
969
1127
  AdminContextParams,
970
1128
  AdminContextPullParams,
@@ -1045,6 +1203,49 @@ export {
1045
1203
  type DocsLifecycleStatus,
1046
1204
  type DocsUpdateParams,
1047
1205
  } from './operations/docs.js';
1206
+ // === Ensures-schema Zod registry (T11762 ST-1 / T11900 — cantbook ensures.schema SSoT) ===
1207
+ // Named Zod validators for cantbook `ensures.schema` shapes (task_tree, evidence)
1208
+ // + the registry DATA. Bodied accessors live in @cleocode/core (ST-1b) to keep
1209
+ // contracts Gate-10-pure. The runtime resolves a schema name → validator here
1210
+ // instead of hardcoding `if (schema === 'task_tree') … else if (=== 'evidence')`.
1211
+ export type { EnsuresSchemaSpec } from './operations/ensures-schema-registry.js';
1212
+ export {
1213
+ ENSURES_SCHEMA_REGISTRY,
1214
+ evidenceSchema,
1215
+ LEGACY_PASSTHROUGH_SCHEMA_NAMES,
1216
+ passthroughSchema,
1217
+ taskTreeEntrySchema,
1218
+ taskTreeSchema,
1219
+ } from './operations/ensures-schema-registry.js';
1220
+ // 5-entity provider-experience op contracts (T11700 · epic T11666) — INPUT
1221
+ // contracts consumed by core's INPUT_CONTRACTS registry; OUTPUT contracts already
1222
+ // register into OUTPUT_CONTRACTS above.
1223
+ export {
1224
+ accountAddInputContract,
1225
+ accountAddOutputContract,
1226
+ accountListInputContract,
1227
+ accountListOutputContract,
1228
+ accountRemoveInputContract,
1229
+ accountRemoveOutputContract,
1230
+ modelQueryInputContract,
1231
+ modelQueryOutputContract,
1232
+ modelShowInputContract,
1233
+ modelShowOutputContract,
1234
+ profileCreateInputContract,
1235
+ profileCreateOutputContract,
1236
+ profileListInputContract,
1237
+ profileListOutputContract,
1238
+ profilePinInputContract,
1239
+ profilePinOutputContract,
1240
+ profileUseInputContract,
1241
+ profileUseOutputContract,
1242
+ providerConnectInputContract,
1243
+ providerConnectOutputContract,
1244
+ providerListInputContract,
1245
+ providerListOutputContract,
1246
+ providerShowInputContract,
1247
+ providerShowOutputContract,
1248
+ } from './operations/entities.js';
1048
1249
  // === Operations Types (API wire format, namespaced to avoid collision with domain types) ===
1049
1250
  export * as ops from './operations/index.js';
1050
1251
  // === Operation Input Contracts (T9914 / Saga T9855 / E7) ===
@@ -1091,6 +1292,7 @@ export type {
1091
1292
  // === LLM Credential + Role-Resolver Wire Types (T-LLM-CRED Phase 1/2 — T9255) ===
1092
1293
  export type {
1093
1294
  AuthTypeWire,
1295
+ CredentialMetadataWire,
1094
1296
  CredentialResultWire,
1095
1297
  CredentialSourceWire,
1096
1298
  CredentialsStoreStrategyWire,
@@ -1110,6 +1312,8 @@ export type {
1110
1312
  LlmRemoveResult,
1111
1313
  LlmStatusResult,
1112
1314
  LlmStoredCredentialView,
1315
+ LlmSystemsOfUseParams,
1316
+ LlmSystemsOfUseResult,
1113
1317
  LlmTestParams,
1114
1318
  LlmTestResult,
1115
1319
  LlmUseParams,
@@ -1372,6 +1576,19 @@ export type {
1372
1576
  ProposeRunResult,
1373
1577
  SentientOps,
1374
1578
  } from './operations/sentient.js';
1579
+ // Service-vault CLI op contracts (T11941 · epic T11765 · M2-W4) — INPUT contracts
1580
+ // consumed by core's INPUT_CONTRACTS registry; OUTPUT contracts already register
1581
+ // into OUTPUT_CONTRACTS above.
1582
+ export {
1583
+ serviceConnectInputContract,
1584
+ serviceConnectOutputContract,
1585
+ serviceListInputContract,
1586
+ serviceListOutputContract,
1587
+ serviceRevokeInputContract,
1588
+ serviceRevokeOutputContract,
1589
+ serviceStatusInputContract,
1590
+ serviceStatusOutputContract,
1591
+ } from './operations/service.js';
1375
1592
  // Session operation param/result types — re-exported at top level for typed-dispatch consumers
1376
1593
  // (T975 Wave D · ADR-051 migration)
1377
1594
  export type {
@@ -1550,8 +1767,6 @@ export type {
1550
1767
  ValidateCanonDocsResult,
1551
1768
  ValidateCanonParams,
1552
1769
  ValidateCanonResult,
1553
- ValidateChainParams,
1554
- ValidateChainResult,
1555
1770
  ValidateCoherenceParams,
1556
1771
  ValidateCoherenceResult,
1557
1772
  ValidateComplianceRecordParams,
@@ -1658,6 +1873,7 @@ export type {
1658
1873
  PlaybookDefinition,
1659
1874
  PlaybookDeterministicNode,
1660
1875
  PlaybookEdge,
1876
+ PlaybookEdgeCondition,
1661
1877
  PlaybookEnsures,
1662
1878
  PlaybookErrorHandler,
1663
1879
  PlaybookInput,
@@ -2220,12 +2436,6 @@ export {
2220
2436
  TEMPLATE_UPDATE_STRATEGIES,
2221
2437
  TemplateManifestEntrySchema,
2222
2438
  } from './templates/manifest.js';
2223
- // === Tessera Types ===
2224
- export type {
2225
- TesseraInstantiationInput,
2226
- TesseraTemplate,
2227
- TesseraVariable,
2228
- } from './tessera.js';
2229
2439
  export type { FetchBrainEntriesInput, FetchBrainEntriesOutput } from './tools/brain-fetch.js';
2230
2440
  export type { ObserveBrainInput, ObserveBrainOutput } from './tools/brain-observe.js';
2231
2441
  // === SDK Tool Contracts (T10068 / T10070 / T9835) ===
@@ -2291,21 +2501,26 @@ export {
2291
2501
  validatorRejectionSchema,
2292
2502
  validatorVerdictSchema,
2293
2503
  } from './validator/index.js';
2294
- // === WarpChain Types ===
2295
- export type {
2296
- ChainShape,
2297
- ChainValidation,
2298
- GateCheck,
2299
- GateContract,
2300
- GateName,
2301
- GateResult,
2302
- ProtocolType,
2303
- WarpChain,
2304
- WarpChainExecution,
2305
- WarpChainInstance,
2306
- WarpLink,
2307
- WarpStage,
2308
- } from './warp-chain.js';
2504
+ // === Universal Service Vault — declarative service-provider registry (T11937 seed + T11938 breadth, epic T11765) ===
2505
+ export type {
2506
+ CredentialHeaderRule,
2507
+ HostAuthStrategy,
2508
+ InjectionRule,
2509
+ InjectionValueSource,
2510
+ MetadataHeaderRule,
2511
+ RefreshBodyFormat,
2512
+ RefreshClientAuth,
2513
+ RefreshConfig,
2514
+ RefreshKind,
2515
+ ServiceAuthKind,
2516
+ ServiceHostRule,
2517
+ ServiceProviderDef,
2518
+ } from './vault/service-provider.js';
2519
+ export {
2520
+ REFRESH_KINDS,
2521
+ SERVICE_AUTH_KINDS,
2522
+ SERVICE_PROVIDERS,
2523
+ } from './vault/service-provider.js';
2309
2524
  export type {
2310
2525
  TasksFrontierParamsInput,
2311
2526
  TasksRollupParamsInput,