@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.
- package/dist/__tests__/operation-def.test.js +5 -1
- package/dist/__tests__/operation-def.test.js.map +1 -1
- package/dist/__tests__/provider-def.test.d.ts +12 -0
- package/dist/__tests__/provider-def.test.d.ts.map +1 -0
- package/dist/__tests__/provider-def.test.js +84 -0
- package/dist/__tests__/provider-def.test.js.map +1 -0
- package/dist/__tests__/sealed-credential.test.d.ts +19 -0
- package/dist/__tests__/sealed-credential.test.d.ts.map +1 -0
- package/dist/__tests__/sealed-credential.test.js +74 -0
- package/dist/__tests__/sealed-credential.test.js.map +1 -0
- package/dist/__tests__/service-provider.test.d.ts +17 -0
- package/dist/__tests__/service-provider.test.d.ts.map +1 -0
- package/dist/__tests__/service-provider.test.js +108 -0
- package/dist/__tests__/service-provider.test.js.map +1 -0
- package/dist/__tests__/skill-executor-contract.test.js +3 -0
- package/dist/__tests__/skill-executor-contract.test.js.map +1 -1
- package/dist/acceptance-gate.d.ts +2 -3
- package/dist/acceptance-gate.d.ts.map +1 -1
- package/dist/boundary.d.ts +52 -0
- package/dist/boundary.d.ts.map +1 -1
- package/dist/boundary.js +24 -19
- package/dist/boundary.js.map +1 -1
- package/dist/conduit.d.ts +171 -0
- package/dist/conduit.d.ts.map +1 -1
- package/dist/config/index.d.ts +23 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +22 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config.d.ts +104 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/data-accessor.d.ts +21 -1
- package/dist/data-accessor.d.ts.map +1 -1
- package/dist/data-accessor.js.map +1 -1
- package/dist/dispatch/__tests__/tasks-gateway-crud-ops.test.d.ts +21 -0
- package/dist/dispatch/__tests__/tasks-gateway-crud-ops.test.d.ts.map +1 -0
- package/dist/dispatch/__tests__/tasks-gateway-crud-ops.test.js +84 -0
- package/dist/dispatch/__tests__/tasks-gateway-crud-ops.test.js.map +1 -0
- package/dist/dispatch/identity.d.ts +1 -1
- package/dist/dispatch/identity.d.ts.map +1 -1
- package/dist/dispatch/identity.js +25 -0
- package/dist/dispatch/identity.js.map +1 -1
- package/dist/dispatch/operation-def.d.ts +20 -0
- package/dist/dispatch/operation-def.d.ts.map +1 -1
- package/dist/dispatch/operations-registry.d.ts.map +1 -1
- package/dist/dispatch/operations-registry.js +1044 -182
- package/dist/dispatch/operations-registry.js.map +1 -1
- package/dist/docs/read.d.ts +2 -2
- package/dist/index.d.ts +25 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -1
- package/dist/index.js.map +1 -1
- package/dist/lease-ipc/__tests__/freeze.test.d.ts +15 -0
- package/dist/lease-ipc/__tests__/freeze.test.d.ts.map +1 -0
- package/dist/lease-ipc/__tests__/freeze.test.js +313 -0
- package/dist/lease-ipc/__tests__/freeze.test.js.map +1 -0
- package/dist/lease-ipc/index.d.ts +17 -0
- package/dist/lease-ipc/index.d.ts.map +1 -0
- package/dist/lease-ipc/index.js +16 -0
- package/dist/lease-ipc/index.js.map +1 -0
- package/dist/lease-ipc/messages.d.ts +918 -0
- package/dist/lease-ipc/messages.d.ts.map +1 -0
- package/dist/lease-ipc/messages.js +476 -0
- package/dist/lease-ipc/messages.js.map +1 -0
- package/dist/lease-ipc/version.d.ts +41 -0
- package/dist/lease-ipc/version.d.ts.map +1 -0
- package/dist/lease-ipc/version.js +43 -0
- package/dist/lease-ipc/version.js.map +1 -0
- package/dist/llm/catalog-schema.d.ts +242 -0
- package/dist/llm/catalog-schema.d.ts.map +1 -0
- package/dist/llm/catalog-schema.js +153 -0
- package/dist/llm/catalog-schema.js.map +1 -0
- package/dist/llm/catalog-schema.json +139 -0
- package/dist/llm/index.d.ts +15 -0
- package/dist/llm/index.d.ts.map +1 -0
- package/dist/llm/index.js +14 -0
- package/dist/llm/index.js.map +1 -0
- package/dist/llm/interfaces.d.ts +23 -0
- package/dist/llm/interfaces.d.ts.map +1 -1
- package/dist/llm/oauth.d.ts +16 -2
- package/dist/llm/oauth.d.ts.map +1 -1
- package/dist/llm/onboarding.d.ts +126 -0
- package/dist/llm/onboarding.d.ts.map +1 -0
- package/dist/llm/onboarding.js +34 -0
- package/dist/llm/onboarding.js.map +1 -0
- package/dist/llm/provider-def.d.ts +254 -0
- package/dist/llm/provider-def.d.ts.map +1 -0
- package/dist/llm/provider-def.js +93 -0
- package/dist/llm/provider-def.js.map +1 -0
- package/dist/llm/sealed-credential.d.ts +164 -0
- package/dist/llm/sealed-credential.d.ts.map +1 -0
- package/dist/llm/sealed-credential.js +43 -0
- package/dist/llm/sealed-credential.js.map +1 -0
- package/dist/llm/system-of-use.d.ts +383 -0
- package/dist/llm/system-of-use.d.ts.map +1 -0
- package/dist/llm/system-of-use.js +238 -0
- package/dist/llm/system-of-use.js.map +1 -0
- package/dist/llm/system-resolver.d.ts +87 -11
- package/dist/llm/system-resolver.d.ts.map +1 -1
- package/dist/llm/system-resolver.js +14 -7
- package/dist/llm/system-resolver.js.map +1 -1
- package/dist/operations/__tests__/ensures-schema-registry.test.d.ts +17 -0
- package/dist/operations/__tests__/ensures-schema-registry.test.d.ts.map +1 -0
- package/dist/operations/__tests__/ensures-schema-registry.test.js +113 -0
- package/dist/operations/__tests__/ensures-schema-registry.test.js.map +1 -0
- package/dist/operations/admin.d.ts +124 -1
- package/dist/operations/admin.d.ts.map +1 -1
- package/dist/operations/ensures-schema-registry.d.ts +172 -0
- package/dist/operations/ensures-schema-registry.d.ts.map +1 -0
- package/dist/operations/ensures-schema-registry.js +226 -0
- package/dist/operations/ensures-schema-registry.js.map +1 -0
- package/dist/operations/entities.d.ts +110 -0
- package/dist/operations/entities.d.ts.map +1 -0
- package/dist/operations/entities.js +695 -0
- package/dist/operations/entities.js.map +1 -0
- package/dist/operations/llm.d.ts +116 -9
- package/dist/operations/llm.d.ts.map +1 -1
- package/dist/operations/output-contracts-data.d.ts.map +1 -1
- package/dist/operations/output-contracts-data.js +230 -0
- package/dist/operations/output-contracts-data.js.map +1 -1
- package/dist/operations/service.d.ts +68 -0
- package/dist/operations/service.d.ts.map +1 -0
- package/dist/operations/service.js +336 -0
- package/dist/operations/service.js.map +1 -0
- package/dist/operations/tasks.d.ts +109 -0
- package/dist/operations/tasks.d.ts.map +1 -1
- package/dist/operations/tasks.js.map +1 -1
- package/dist/operations/validate.d.ts +1 -12
- package/dist/operations/validate.d.ts.map +1 -1
- package/dist/operations/validate.js +1 -1
- package/dist/playbook.d.ts +116 -0
- package/dist/playbook.d.ts.map +1 -1
- package/dist/release/plan.d.ts +5 -5
- package/dist/session.d.ts +11 -0
- package/dist/session.d.ts.map +1 -1
- package/dist/session.js.map +1 -1
- package/dist/templates/manifest.d.ts +1 -1
- package/dist/tools/agent-tools.d.ts +231 -0
- package/dist/tools/agent-tools.d.ts.map +1 -0
- package/dist/tools/agent-tools.js +25 -0
- package/dist/tools/agent-tools.js.map +1 -0
- package/dist/tools/atomic.d.ts +19 -0
- package/dist/tools/atomic.d.ts.map +1 -1
- package/dist/tools/atomic.js +17 -0
- package/dist/tools/atomic.js.map +1 -1
- package/dist/tools/index.d.ts +2 -0
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/skill-executor.d.ts +7 -0
- package/dist/tools/skill-executor.d.ts.map +1 -1
- package/dist/tools/web-tools.d.ts +217 -0
- package/dist/tools/web-tools.d.ts.map +1 -0
- package/dist/tools/web-tools.js +31 -0
- package/dist/tools/web-tools.js.map +1 -0
- package/dist/vault/service-provider.d.ts +343 -0
- package/dist/vault/service-provider.d.ts.map +1 -0
- package/dist/vault/service-provider.js +857 -0
- package/dist/vault/service-provider.js.map +1 -0
- package/dist/workgraph.d.ts +12 -12
- package/package.json +14 -2
- package/src/__tests__/__snapshots__/operations-registry.test.ts.snap +1 -1
- package/src/__tests__/operation-def.test.ts +7 -1
- package/src/__tests__/provider-def.test.ts +93 -0
- package/src/__tests__/sealed-credential.test.ts +100 -0
- package/src/__tests__/service-provider.test.ts +129 -0
- package/src/__tests__/skill-executor-contract.test.ts +3 -0
- package/src/acceptance-gate.ts +2 -3
- package/src/boundary.ts +70 -20
- package/src/conduit.ts +200 -0
- package/src/config/index.ts +35 -0
- package/src/config.ts +106 -1
- package/src/data-accessor.ts +22 -1
- package/src/dispatch/__tests__/tasks-gateway-crud-ops.test.ts +99 -0
- package/src/dispatch/identity.ts +25 -0
- package/src/dispatch/operation-def.ts +21 -0
- package/src/dispatch/operations-registry.ts +1083 -176
- package/src/index.ts +240 -25
- package/src/lease-ipc/__tests__/freeze.test.ts +342 -0
- package/src/lease-ipc/index.ts +75 -0
- package/src/lease-ipc/messages.ts +588 -0
- package/src/lease-ipc/version.ts +46 -0
- package/src/llm/catalog-schema.json +139 -0
- package/src/llm/catalog-schema.ts +184 -0
- package/src/llm/index.ts +29 -0
- package/src/llm/interfaces.ts +23 -0
- package/src/llm/oauth.ts +16 -2
- package/src/llm/onboarding.ts +131 -0
- package/src/llm/provider-def.ts +291 -0
- package/src/llm/sealed-credential.ts +166 -0
- package/src/llm/system-of-use.ts +503 -0
- package/src/llm/system-resolver.ts +91 -11
- package/src/operations/__tests__/ensures-schema-registry.test.ts +169 -0
- package/src/operations/admin.ts +144 -0
- package/src/operations/ensures-schema-registry.ts +260 -0
- package/src/operations/entities.ts +758 -0
- package/src/operations/llm.ts +120 -8
- package/src/operations/output-contracts-data.ts +264 -0
- package/src/operations/service.ts +360 -0
- package/src/operations/tasks.ts +119 -0
- package/src/operations/validate.ts +1 -14
- package/src/playbook.ts +117 -0
- package/src/session.ts +11 -0
- package/src/tools/agent-tools.ts +270 -0
- package/src/tools/atomic.ts +21 -0
- package/src/tools/index.ts +46 -0
- package/src/tools/skill-executor.ts +7 -0
- package/src/tools/web-tools.ts +247 -0
- package/src/vault/service-provider.ts +1137 -0
- package/dist/tessera.d.ts +0 -32
- package/dist/tessera.d.ts.map +0 -1
- package/dist/tessera.js +0 -11
- package/dist/tessera.js.map +0 -1
- package/dist/warp-chain.d.ts +0 -129
- package/dist/warp-chain.d.ts.map +0 -1
- package/dist/warp-chain.js +0 -13
- package/dist/warp-chain.js.map +0 -1
- package/src/tessera.ts +0 -35
- 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
|
-
|
|
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
|
-
// ===
|
|
2295
|
-
export type {
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
} from './
|
|
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,
|