@cat-factory/orchestration 0.290.2 → 0.291.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.
- package/dist/container/content-library-dependencies.d.ts +212 -0
- package/dist/container/content-library-dependencies.d.ts.map +1 -0
- package/dist/container/content-library-dependencies.js +2 -0
- package/dist/container/content-library-dependencies.js.map +1 -0
- package/dist/container/dependencies.d.ts +13 -181
- package/dist/container/dependencies.d.ts.map +1 -1
- package/dist/container-content-libraries.d.ts +16 -1
- package/dist/container-content-libraries.d.ts.map +1 -1
- package/dist/container-content-libraries.js +44 -1
- package/dist/container-content-libraries.js.map +1 -1
- package/dist/modules/execution/run-foundational-services.d.ts +8 -0
- package/dist/modules/execution/run-foundational-services.d.ts.map +1 -1
- package/dist/modules/execution/run-foundational-services.js +30 -2
- package/dist/modules/execution/run-foundational-services.js.map +1 -1
- package/dist/modules/observability/LlmObservabilityService.d.ts +8 -0
- package/dist/modules/observability/LlmObservabilityService.d.ts.map +1 -1
- package/dist/modules/observability/LlmObservabilityService.js +8 -0
- package/dist/modules/observability/LlmObservabilityService.js.map +1 -1
- package/package.json +11 -11
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import type { AgentKindSource, ResolveFragmentInstallationId, ResolveSkillInstallationId } from '@cat-factory/agents';
|
|
2
|
+
import type { AccountSkillRepository, ApiContractRepository, AppCaches, BinaryGeneratorRegistry, BinaryGeneratorSource, BinaryStoreRegistry, DeploymentDocumentResolver, DocumentContentResolver, FoundationalBuiltinSource, FoundationalServiceRegistry, FoundationalServiceRepository, FoundationalServiceSourceRepository, FoundationalSourceResyncRequest, FragmentBriefGenerator, FragmentBriefRepository, FragmentSelector, FragmentSourceRepository, PromptFragmentRegistry, PromptFragmentRepository, PromptFragmentSource, SecretCipher, ServiceCatalogConnectionRepository, SkillSourceRepository, SkillSourceResyncRequest, UrlSafetyPolicy } from '@cat-factory/kernel';
|
|
3
|
+
/**
|
|
4
|
+
* The three tenant-scoped content libraries a deployment can opt into, and the developer portal
|
|
5
|
+
* that imports into the third.
|
|
6
|
+
*
|
|
7
|
+
* Every member is optional and each library assembles only when its own repositories are present,
|
|
8
|
+
* which is what keeps a deployment that wants none of them byte-for-byte unchanged.
|
|
9
|
+
*/
|
|
10
|
+
export interface ContentLibraryDependencies {
|
|
11
|
+
/**
|
|
12
|
+
* The app-owned cache bag (docs/initiatives/caching-layer.md). A facade builds
|
|
13
|
+
* it once per process via `createAppCaches`: Node threads in the Redis-backed
|
|
14
|
+
* invalidation notifications in multi-node deployments, the Worker passes the
|
|
15
|
+
* isolate-safe profile. Absent (tests / harnesses) ⇒ `createCore` builds bare
|
|
16
|
+
* in-memory defaults, whose coherence the services' own invalidation calls keep.
|
|
17
|
+
*/
|
|
18
|
+
caches?: AppCaches;
|
|
19
|
+
promptFragmentRepository?: PromptFragmentRepository;
|
|
20
|
+
fragmentSourceRepository?: FragmentSourceRepository;
|
|
21
|
+
fragmentSelector?: FragmentSelector;
|
|
22
|
+
resolveFragmentInstallationId?: ResolveFragmentInstallationId;
|
|
23
|
+
/**
|
|
24
|
+
* Persisted store for MODEL-GENERATED condensed briefs: the short variant an implementer
|
|
25
|
+
* kind folds when a long standard has no linked one. Absent ⇒ only authored/linked briefs
|
|
26
|
+
* are folded and every other long standard is sent in full (the pre-feature behaviour).
|
|
27
|
+
*/
|
|
28
|
+
fragmentBriefRepository?: FragmentBriefRepository;
|
|
29
|
+
/**
|
|
30
|
+
* The condensation model behind those generated briefs. A facade leaves this unset and
|
|
31
|
+
* gets the inline `LlmFragmentBriefGenerator` built from its own model provider; a
|
|
32
|
+
* test/conformance harness injects a deterministic one instead (the same
|
|
33
|
+
* "explicitly-injected wins" seam `documentContentResolver` uses).
|
|
34
|
+
*/
|
|
35
|
+
fragmentBriefGenerator?: FragmentBriefGenerator;
|
|
36
|
+
/**
|
|
37
|
+
* Live document reader for **document-backed** fragments (Confluence/Notion/
|
|
38
|
+
* GitHub files linked as living best-practice fragments). Wired by a facade
|
|
39
|
+
* from its document-source registry + connection service; absent → linking a
|
|
40
|
+
* document as a fragment is rejected and run resolution uses cached bodies.
|
|
41
|
+
*/
|
|
42
|
+
documentContentResolver?: DocumentContentResolver;
|
|
43
|
+
/**
|
|
44
|
+
* Live document reader for the DEPLOYMENT's own documents: the living standard a code-registered
|
|
45
|
+
* (`builtin`-tier) prompt fragment names, authenticated with credentials this deployment
|
|
46
|
+
* configured centrally rather than with any tenant's connection.
|
|
47
|
+
*
|
|
48
|
+
* Its own field beside {@link documentContentResolver} because the difference is the CREDENTIAL
|
|
49
|
+
* HOME, not an argument: that one resolves a workspace's stored connection, this one reads
|
|
50
|
+
* deployment configuration and caches under one deployment-wide group. In MOTHERSHIP mode it is
|
|
51
|
+
* REMOTE (the credentials live on the mothership and never reach a node, so the node reads the
|
|
52
|
+
* resolved body over `/internal/prompt-fragments/document-bodies`).
|
|
53
|
+
*
|
|
54
|
+
* Absent ⇒ this deployment configured no document source of its own, and boot validation refuses
|
|
55
|
+
* a code-registered `documentRef` rather than letting it render as live and fold something stale.
|
|
56
|
+
*/
|
|
57
|
+
deploymentDocumentResolver?: DeploymentDocumentResolver;
|
|
58
|
+
accountSkillRepository?: AccountSkillRepository;
|
|
59
|
+
skillSourceRepository?: SkillSourceRepository;
|
|
60
|
+
resolveSkillInstallationId?: ResolveSkillInstallationId;
|
|
61
|
+
/**
|
|
62
|
+
* Enqueues a targeted skill-source resync onto the runtime's GitHub-sync queue, for the
|
|
63
|
+
* push-webhook freshness fan-out (slice 4). Facade-provided (Worker Queue / Node pg-boss);
|
|
64
|
+
* absent (no queue, or a pure-logic test) ⇒ no proactive resync, and freshness is guaranteed
|
|
65
|
+
* at dispatch by the resolver's head-commit probe instead.
|
|
66
|
+
*/
|
|
67
|
+
enqueueSkillResync?: (request: SkillSourceResyncRequest) => Promise<void>;
|
|
68
|
+
foundationalServiceRepository?: FoundationalServiceRepository;
|
|
69
|
+
apiContractRepository?: ApiContractRepository;
|
|
70
|
+
foundationalServiceSourceRepository?: FoundationalServiceSourceRepository;
|
|
71
|
+
/**
|
|
72
|
+
* The workspace's SERVICE CATALOG connection: the developer portal (Backstage) whose services
|
|
73
|
+
* are imported into the catalog above as `workspace`-tier rows. The import assembles only
|
|
74
|
+
* alongside {@link serviceCatalogSecretCipher}, because the credential is sealed and a
|
|
75
|
+
* connection nothing can open is a connection nothing can import through.
|
|
76
|
+
*/
|
|
77
|
+
serviceCatalogConnectionRepository?: ServiceCatalogConnectionRepository;
|
|
78
|
+
/**
|
|
79
|
+
* The cipher the portal credential is sealed with, on its OWN HKDF domain
|
|
80
|
+
* (`cat-factory:service-catalog`) exactly as the runner-pool and email ones are: widening or
|
|
81
|
+
* rotating one integration's key must not reach another's rows.
|
|
82
|
+
*/
|
|
83
|
+
serviceCatalogSecretCipher?: SecretCipher;
|
|
84
|
+
/**
|
|
85
|
+
* URL/host safety policy for the SERVICE-CATALOG integration (the portal base URL and any
|
|
86
|
+
* OAuth token endpoint). Absent ⇒ strict (https-only, no private/internal hosts).
|
|
87
|
+
*
|
|
88
|
+
* Widening it is the normal case for this integration rather than an exception: a self-hosted
|
|
89
|
+
* developer portal usually lives on an internal host. It is still scoped independently of the
|
|
90
|
+
* environment and runner policies, so admitting `.corp.internal` here admits nothing there.
|
|
91
|
+
*/
|
|
92
|
+
serviceCatalogUrlSafetyPolicy?: UrlSafetyPolicy;
|
|
93
|
+
/**
|
|
94
|
+
* The app-owned registry of foundational services a DEPLOYMENT ships in CODE: the `builtin`
|
|
95
|
+
* tier of the catalog merge, mirroring `pipelineRegistry` / `taskTypeRegistry`. Optional +
|
|
96
|
+
* defaulted to `defaultFoundationalServiceRegistry()`, which ships exactly ONE service: the
|
|
97
|
+
* platform's own asset storage, so a binary-output step has a target on a deployment that runs
|
|
98
|
+
* no object store of its own. A facade injects the SAME instance it registers its estate on,
|
|
99
|
+
* and boot validation reads it back so a malformed definition fails the deployment rather than
|
|
100
|
+
* a design dispatch.
|
|
101
|
+
*/
|
|
102
|
+
foundationalServiceRegistry?: FoundationalServiceRegistry;
|
|
103
|
+
/**
|
|
104
|
+
* The app-owned registry of GENERATIVE BINARY INTEGRATIONS a DEPLOYMENT ships in CODE: the
|
|
105
|
+
* image / music / video generation APIs a binary-generating step may call
|
|
106
|
+
* (`stepOptions.binaryOutput.generatorIds`). Optional + defaulted to
|
|
107
|
+
* `defaultBinaryGeneratorRegistry()` (EMPTY, because the platform ships none and every one of them is
|
|
108
|
+
* a metered vendor), so existing construction sites behave exactly as before; a facade injects
|
|
109
|
+
* the SAME instance it registers its integrations on, and boot validation reads it back so a
|
|
110
|
+
* malformed definition or an unusable credential name fails the deployment rather than a
|
|
111
|
+
* dispatch. Deliberately NOT the foundational-service registry: that catalog is what a design
|
|
112
|
+
* is expected to build ON, while an integration is an instrument a specific step is pointed at.
|
|
113
|
+
*/
|
|
114
|
+
binaryGeneratorRegistry?: BinaryGeneratorRegistry;
|
|
115
|
+
/**
|
|
116
|
+
* The app-owned registry of BINARY ARTIFACT STORES a DEPLOYMENT ships in CODE: its own
|
|
117
|
+
* implementations of the `BinaryBlobBackend` port, selectable per account beside the platform's
|
|
118
|
+
* `fs` / `db` / `s3` / `r2` backends. Optional + defaulted to `defaultBinaryStoreRegistry()`
|
|
119
|
+
* (EMPTY: the platform's own stores are not registry entries), so every existing construction
|
|
120
|
+
* site behaves exactly as before.
|
|
121
|
+
*
|
|
122
|
+
* Unlike its generative sibling above this one does NOT get a mothership `Source`, and the
|
|
123
|
+
* asymmetry is the point: a generator definition is DATA a run resolves, so a node reading its
|
|
124
|
+
* own copy can disagree with the picker the mothership fed; a store is a live client that only
|
|
125
|
+
* the process about to write the bytes can construct, so the process that answers the settings
|
|
126
|
+
* picker is by construction the one that stores. There is nothing here for a machine API to
|
|
127
|
+
* carry, and a `Source` would only invite pointing one node at another's credentials.
|
|
128
|
+
*/
|
|
129
|
+
binaryStoreRegistry?: BinaryStoreRegistry;
|
|
130
|
+
/**
|
|
131
|
+
* Where those integrations are READ from, when that is not this process's own registry.
|
|
132
|
+
* Defaulted to `registryBinaryGeneratorSource(binaryGeneratorRegistry)`, i.e. exactly the
|
|
133
|
+
* behaviour above, and overridden by ONE caller: a MOTHERSHIP-MODE node, which reads the
|
|
134
|
+
* mothership's registry over `GET /internal/binary-generators`.
|
|
135
|
+
*
|
|
136
|
+
* The sibling of {@link foundationalBuiltinSource}, and it exists for the same reason with a
|
|
137
|
+
* louder symptom. A mothership deployment is TWO processes, so a deployment had to register
|
|
138
|
+
* its integrations on both entry points; a node one build behind (the normal state of a local
|
|
139
|
+
* node) then refuses a step the mothership's own picker offered, with `unknown_generator`
|
|
140
|
+
* naming a configuration that is correct. See `kernel/src/ports/binary-generators.ts`.
|
|
141
|
+
*
|
|
142
|
+
* When it is set, this process's own `binaryGeneratorRegistry` is NOT consulted for a run (the
|
|
143
|
+
* facade warns at boot if it is non-empty). The two are alternatives, never a merge: a merge
|
|
144
|
+
* would reinstate the drift, since a stale local copy would win by id over the authoritative
|
|
145
|
+
* one. The registry is still read for BOOT VALIDATION and for serving
|
|
146
|
+
* `/internal/binary-generators` when this process is itself a mothership.
|
|
147
|
+
*/
|
|
148
|
+
binaryGeneratorSource?: BinaryGeneratorSource;
|
|
149
|
+
/**
|
|
150
|
+
* Where the `builtin` tier is READ from, when that is not this process's own registry.
|
|
151
|
+
* Defaulted to `registryBuiltinSource(foundationalServiceRegistry)`, i.e. exactly the
|
|
152
|
+
* behaviour above, and overridden by ONE caller: a MOTHERSHIP-MODE node, which reads the
|
|
153
|
+
* mothership's registry over `GET /internal/foundational-services`.
|
|
154
|
+
*
|
|
155
|
+
* It exists because a mothership deployment is TWO processes and the estate is org state: with
|
|
156
|
+
* the registry as the only route, a deployment had to register the same estate on both entry
|
|
157
|
+
* points, and a node one build behind (the normal state of a local node) silently resolved a
|
|
158
|
+
* catalog missing whatever the mothership had since added. A run then simply does not consider
|
|
159
|
+
* that service, which is indistinguishable from an Architect judging it irrelevant. See
|
|
160
|
+
* `kernel/src/ports/foundational-builtins.ts`.
|
|
161
|
+
*
|
|
162
|
+
* When it is set, this process's own `foundationalServiceRegistry` is NOT consulted for the
|
|
163
|
+
* tier (the facade warns at boot if it is non-empty). The two are alternatives, never a merge:
|
|
164
|
+
* a merge would reinstate the drift, since a stale local copy would win by id over the
|
|
165
|
+
* authoritative one.
|
|
166
|
+
*/
|
|
167
|
+
foundationalBuiltinSource?: FoundationalBuiltinSource;
|
|
168
|
+
/**
|
|
169
|
+
* The app-owned registry a deployment registers its best-practice PROMPT FRAGMENTS on, plus the
|
|
170
|
+
* per-task-type default sets that select them. Optional + defaulted to
|
|
171
|
+
* `defaultPromptFragmentRegistry()` (EMPTY, because the shipped catalog installs onto one through
|
|
172
|
+
* `promptFragmentRegistryWithBuiltins()`, which is what each facade injects, so a caller that
|
|
173
|
+
* passes nothing gets no standards rather than a silently different second pool).
|
|
174
|
+
*
|
|
175
|
+
* It replaced two module globals in `@cat-factory/prompt-fragments`, whose correctness depended
|
|
176
|
+
* on every reader resolving the same physical copy of that package. The published graph does not
|
|
177
|
+
* guarantee that, and the failure was silent: registrations landed in one copy, readers saw the
|
|
178
|
+
* other, and every task of the deployment's operation was seeded with ids that folded nothing.
|
|
179
|
+
*/
|
|
180
|
+
promptFragmentRegistry?: PromptFragmentRegistry;
|
|
181
|
+
/**
|
|
182
|
+
* Where the fragment POOL is READ from, when that is not this process's own registry. The exact
|
|
183
|
+
* sibling of {@link foundationalBuiltinSource}, with the same one overriding caller (a
|
|
184
|
+
* mothership-mode node, over `GET /internal/prompt-fragments`) and the same alternatives-never-a-
|
|
185
|
+
* merge rule: a merge would let a stale local copy win by id over the authoritative one, which is
|
|
186
|
+
* the drift the source exists to remove.
|
|
187
|
+
*/
|
|
188
|
+
promptFragmentSource?: PromptFragmentSource;
|
|
189
|
+
/**
|
|
190
|
+
* Where the deployment's AGENT-KIND CAPABILITY layer is read from, when that is not this
|
|
191
|
+
* process's own registry. Overridden by ONE caller: a mothership-mode node, over
|
|
192
|
+
* `GET /internal/agent-kinds`.
|
|
193
|
+
*
|
|
194
|
+
* The fourth of the same family, and the only one that MERGES rather than replaces. Its three
|
|
195
|
+
* siblings serve a set the node also registers, so a merge would let a stale local copy win by
|
|
196
|
+
* id. Here the halves are different things: a KIND's own declarations belong to the code that
|
|
197
|
+
* implements it (which cannot cross a wire, so the kind CATALOG stays node-local, exactly like
|
|
198
|
+
* task types and pipelines, and a step naming an unknown kind still fails loudly at admission),
|
|
199
|
+
* while `assignSkills`/`assignToolServers` are the DEPLOYMENT's layer on top: pure data whose
|
|
200
|
+
* absence on a node one build behind is silent, since the agent simply works without the org's
|
|
201
|
+
* playbook. Absent ⇒ the local registry answers alone.
|
|
202
|
+
*/
|
|
203
|
+
agentKindSource?: AgentKindSource;
|
|
204
|
+
/**
|
|
205
|
+
* Enqueues a targeted foundational-source resync onto the runtime's GitHub-sync queue, for the
|
|
206
|
+
* push-webhook freshness fan-out, the twin of {@link CoreDependencies.enqueueSkillResync}.
|
|
207
|
+
* Facade-provided (Worker Queue / Node pg-boss); absent (no queue, or a pure-logic test) ⇒ no
|
|
208
|
+
* proactive resync, and the autorefresh sweep bounds staleness instead.
|
|
209
|
+
*/
|
|
210
|
+
enqueueFoundationalResync?: (request: FoundationalSourceResyncRequest) => Promise<void>;
|
|
211
|
+
}
|
|
212
|
+
//# sourceMappingURL=content-library-dependencies.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-library-dependencies.d.ts","sourceRoot":"","sources":["../../src/container/content-library-dependencies.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,6BAA6B,EAC7B,0BAA0B,EAC3B,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EACV,sBAAsB,EACtB,qBAAqB,EACrB,SAAS,EACT,uBAAuB,EACvB,qBAAqB,EACrB,mBAAmB,EACnB,0BAA0B,EAC1B,uBAAuB,EACvB,yBAAyB,EACzB,2BAA2B,EAC3B,6BAA6B,EAC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eAAe,CAAA;IAC/C;;;;;;;;OAQG;IACH,2BAA2B,CAAC,EAAE,2BAA2B,CAAA;IACzD;;;;;;;;;;OAUG;IACH,uBAAuB,CAAC,EAAE,uBAAuB,CAAA;IACjD;;;;;;;;;;;;;OAaG;IACH,mBAAmB,CAAC,EAAE,mBAAmB,CAAA;IACzC;;;;;;;;;;;;;;;;;OAiBG;IACH,qBAAqB,CAAC,EAAE,qBAAqB,CAAA;IAC7C;;;;;;;;;;;;;;;;;OAiBG;IACH,yBAAyB,CAAC,EAAE,yBAAyB,CAAA;IACrD;;;;;;;;;;;OAWG;IACH,sBAAsB,CAAC,EAAE,sBAAsB,CAAA;IAC/C;;;;;;OAMG;IACH,oBAAoB,CAAC,EAAE,oBAAoB,CAAA;IAC3C;;;;;;;;;;;;;OAaG;IACH,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC;;;;;OAKG;IACH,yBAAyB,CAAC,EAAE,CAAC,OAAO,EAAE,+BAA+B,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;CACxF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-library-dependencies.js","sourceRoot":"","sources":["../../src/container/content-library-dependencies.ts"],"names":[],"mappings":""}
|
|
@@ -1,13 +1,23 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ContentLibraryDependencies } from './content-library-dependencies.js';
|
|
2
|
+
import type { AgentKindRegistry } from '@cat-factory/agents';
|
|
2
3
|
import type { OpenRouterModelMeta, ResolvedValidationChecks } from '@cat-factory/contracts';
|
|
3
4
|
import type { AccountSettingsService, ComposeRuntime, CustomManifestTypeRegistry, DeployJobClient, DetectionConventions, EnvironmentBackendRegistry, RegisterHandlerInput, RunnerBackendRegistry, UserSecretKindRegistry, VcsPatConnectionService } from '@cat-factory/integrations';
|
|
4
|
-
import type { AccountInvitationRepository, AccountRepository,
|
|
5
|
+
import type { AccountInvitationRepository, AccountRepository, AgentContextSnapshotRepository, AgentExecutor, AgentPromptRepository, AgentSearchQueryRepository, AgentToolCallRepository, AuditLogReader, AuditRecorder, BlockRepository, BootstrapJobRepository, BootstrapRunner, BrainstormSessionRepository, BranchProjectionRepository, BranchUpdater, BugHuntAssessor, CheckRunProjectionRepository, ClarityReviewRepository, Clock, CommitProjectionRepository, ConsensusGroupRepository, CreateSharedStackInput, CustomManifestTypeRepository, DeployCloneTarget, DocInterviewRepository, DocumentConnectionRepository, DocumentConnectionStore, DocumentRepository, DocumentSourceProvider, EmailConnectionRepository, EmailSender, EnvConfigRepairJobRepository, EnvConfigRepairRunner, EnvConfigRepairer, EnvironmentConnectionRepository, EnvironmentProvider, EnvironmentRegistryRepository, EnvironmentTestRunRepository, EnvironmentTestRunner, EnvironmentUserHandlerRepository, ExecutionEventPublisher, ExecutionRepository, GateOutcomeRepository, GateRegistry, GitHubClient, GitHubInstallation, GitHubInstallationRepository, GitHubProvisioningClient, IdGenerator, IncidentEnrichmentConnectionRepository, InitiativePresetRegistry, InitiativeRepository, IssueProjectionRepository, IssueWritebackProvider, JudgeAssessor, JudgeRegistry, KaizenGradingRepository, KaizenVerifiedComboRepository, LlmCallMetricRepository, LlmTraceSink, LocalModelEndpointRepository, Logger, MembershipRepository, MergeTrackRecordRepository, ModelPresetRepository, ModelProvider, ModelProviderResolver, ModelRef, NotificationChannel, NotificationRepository, NotificationSettingsRepository, ObservabilityConnectionRepository, OperationalMetrics, PackageRegistryConnectionRepository, PasswordHasher, PasswordResetTokenRepository, PipelineRegistry, PipelineRepository, PipelineScheduleRepository, PlatformMetricsRepository, PrVerificationReportPublisher, PreflightHostProbes, PreviewTransport, ProviderCapabilities, ProviderRegistry, ProvisioningLogRepository, PullRequestMerger, PullRequestProjectionRepository, ReferenceArchitectureRepository, ReleaseHealthConfigRepository, RepoBootstrapper, RepoProjectionRepository, ReportsRepository, ResolveRunInitiatorToken, SpendRollupRepository, RequirementReviewRepository, ResolveBinaryArtifactStore, ResolveRepoFilesForCoords, ResolveRunRepoContext, AccountRiskPolicyRepository, RiskPolicyRepository, RiskPolicySuppressionRepository, RunInitiatorScope, RunLifecycleSink, RunnerPoolConnectionRepository, RunnerPoolProvider, SandboxExperimentRepository, SandboxFixtureRepository, SandboxGradeRepository, SandboxPromptVersionRepository, SandboxRunRepository, SecretCipher, SecretDelegate, ServiceFragmentDefaultsRepository, ServiceRepository, SharedStackRepository, SlackConnectionRepository, SlackMemberMappingRepository, SlackSettingsRepository, StepResolverRegistry, SubscriptionActivationRepository, TaskConnectionRepository, TaskConnectionStore, TaskRepository, TaskSourceProvider, TaskSourceSettingsRepository, TaskTypeRegistry, InlineUseCaseGenerator, InlineUseCaseRegistry, TestSecretRef, TicketTrackerProvider, TokenUsageRepository, TrackerCommentIngestRepository, TrackerSettingsRepository, UrlSafetyPolicy, UserRepoAccessRepository, UserRepository, TutorialProgressRepository, UserSettingsRepository, VcsProviderRegistry, VcsWebUrls, WebhookVerifier, WorkRunner, TaskTypeSuppressionRepository, WorkspaceAgentSettingsRepository, WorkspaceMemberRepository, WorkspaceMountRepository, WorkspaceRepository, WorkspaceSettingsRepository } from '@cat-factory/kernel';
|
|
5
6
|
import type { SpendPricing } from '@cat-factory/spend';
|
|
6
7
|
import type { TesterQualityReviewer } from '../modules/execution/TesterQualityReviewService.js';
|
|
7
8
|
import type { AgentContextObservabilityService } from '../modules/observability/AgentContextObservabilityService.js';
|
|
8
9
|
import type { SearchQueryObservabilityService } from '../modules/observability/SearchQueryObservabilityService.js';
|
|
9
10
|
import type { BuildPreviewJob } from '../modules/preview/PreviewService.js';
|
|
10
|
-
|
|
11
|
+
/**
|
|
12
|
+
* The application's dependency bag: every port, registry and facade-provided seam `createCore`
|
|
13
|
+
* assembles the container from.
|
|
14
|
+
*
|
|
15
|
+
* It EXTENDS {@link ContentLibraryDependencies}, whose members are declared next door: the three
|
|
16
|
+
* content libraries are a cohesive group with their own module factory file, and holding their
|
|
17
|
+
* declarations here is what pushed this one past its size budget. A facade populates one flat
|
|
18
|
+
* object exactly as before.
|
|
19
|
+
*/
|
|
20
|
+
export interface CoreDependencies extends ContentLibraryDependencies {
|
|
11
21
|
workspaceRepository: WorkspaceRepository;
|
|
12
22
|
/**
|
|
13
23
|
* Workspace-level RBAC roster (workspace-rbac initiative). Threaded into
|
|
@@ -705,184 +715,6 @@ export interface CoreDependencies {
|
|
|
705
715
|
* `config.agents.inlineHarnessRef`; absent on Node/Worker (no inline harness path).
|
|
706
716
|
*/
|
|
707
717
|
inlineHarnessRef?: (ref: ModelRef) => boolean;
|
|
708
|
-
/**
|
|
709
|
-
* The app-owned cache bag (docs/initiatives/caching-layer.md). A facade builds
|
|
710
|
-
* it once per process via `createAppCaches` — Node threads in the Redis-backed
|
|
711
|
-
* invalidation notifications in multi-node deployments, the Worker passes the
|
|
712
|
-
* isolate-safe profile. Absent (tests / harnesses) ⇒ `createCore` builds bare
|
|
713
|
-
* in-memory defaults, whose coherence the services' own invalidation calls keep.
|
|
714
|
-
*/
|
|
715
|
-
caches?: AppCaches;
|
|
716
|
-
promptFragmentRepository?: PromptFragmentRepository;
|
|
717
|
-
fragmentSourceRepository?: FragmentSourceRepository;
|
|
718
|
-
fragmentSelector?: FragmentSelector;
|
|
719
|
-
resolveFragmentInstallationId?: ResolveFragmentInstallationId;
|
|
720
|
-
/**
|
|
721
|
-
* Persisted store for MODEL-GENERATED condensed briefs — the short variant an implementer
|
|
722
|
-
* kind folds when a long standard has no linked one. Absent ⇒ only authored/linked briefs
|
|
723
|
-
* are folded and every other long standard is sent in full (the pre-feature behaviour).
|
|
724
|
-
*/
|
|
725
|
-
fragmentBriefRepository?: FragmentBriefRepository;
|
|
726
|
-
/**
|
|
727
|
-
* The condensation model behind those generated briefs. A facade leaves this unset and
|
|
728
|
-
* gets the inline `LlmFragmentBriefGenerator` built from its own model provider; a
|
|
729
|
-
* test/conformance harness injects a deterministic one instead (the same
|
|
730
|
-
* "explicitly-injected wins" seam `documentContentResolver` uses).
|
|
731
|
-
*/
|
|
732
|
-
fragmentBriefGenerator?: FragmentBriefGenerator;
|
|
733
|
-
/**
|
|
734
|
-
* Live document reader for **document-backed** fragments (Confluence/Notion/
|
|
735
|
-
* GitHub files linked as living best-practice fragments). Wired by a facade
|
|
736
|
-
* from its document-source registry + connection service; absent → linking a
|
|
737
|
-
* document as a fragment is rejected and run resolution uses cached bodies.
|
|
738
|
-
*/
|
|
739
|
-
documentContentResolver?: DocumentContentResolver;
|
|
740
|
-
/**
|
|
741
|
-
* Live document reader for the DEPLOYMENT's own documents: the living standard a code-registered
|
|
742
|
-
* (`builtin`-tier) prompt fragment names, authenticated with credentials this deployment
|
|
743
|
-
* configured centrally rather than with any tenant's connection.
|
|
744
|
-
*
|
|
745
|
-
* Its own field beside {@link documentContentResolver} because the difference is the CREDENTIAL
|
|
746
|
-
* HOME, not an argument: that one resolves a workspace's stored connection, this one reads
|
|
747
|
-
* deployment configuration and caches under one deployment-wide group. In MOTHERSHIP mode it is
|
|
748
|
-
* REMOTE (the credentials live on the mothership and never reach a node, so the node reads the
|
|
749
|
-
* resolved body over `/internal/prompt-fragments/document-bodies`).
|
|
750
|
-
*
|
|
751
|
-
* Absent ⇒ this deployment configured no document source of its own, and boot validation refuses
|
|
752
|
-
* a code-registered `documentRef` rather than letting it render as live and fold something stale.
|
|
753
|
-
*/
|
|
754
|
-
deploymentDocumentResolver?: DeploymentDocumentResolver;
|
|
755
|
-
accountSkillRepository?: AccountSkillRepository;
|
|
756
|
-
skillSourceRepository?: SkillSourceRepository;
|
|
757
|
-
resolveSkillInstallationId?: ResolveSkillInstallationId;
|
|
758
|
-
/**
|
|
759
|
-
* Enqueues a targeted skill-source resync onto the runtime's GitHub-sync queue — the
|
|
760
|
-
* push-webhook freshness fan-out (slice 4). Facade-provided (Worker Queue / Node pg-boss);
|
|
761
|
-
* absent (no queue, or a pure-logic test) ⇒ no proactive resync, and freshness is guaranteed
|
|
762
|
-
* at dispatch by the resolver's head-commit probe instead.
|
|
763
|
-
*/
|
|
764
|
-
enqueueSkillResync?: (request: SkillSourceResyncRequest) => Promise<void>;
|
|
765
|
-
foundationalServiceRepository?: FoundationalServiceRepository;
|
|
766
|
-
apiContractRepository?: ApiContractRepository;
|
|
767
|
-
foundationalServiceSourceRepository?: FoundationalServiceSourceRepository;
|
|
768
|
-
/**
|
|
769
|
-
* The app-owned registry of foundational services a DEPLOYMENT ships in CODE — the `builtin`
|
|
770
|
-
* tier of the catalog merge, mirroring `pipelineRegistry` / `taskTypeRegistry`. Optional +
|
|
771
|
-
* defaulted to `defaultFoundationalServiceRegistry()`, which ships exactly ONE service: the
|
|
772
|
-
* platform's own asset storage, so a binary-output step has a target on a deployment that runs
|
|
773
|
-
* no object store of its own. A facade injects the SAME instance it registers its estate on,
|
|
774
|
-
* and boot validation reads it back so a malformed definition fails the deployment rather than
|
|
775
|
-
* a design dispatch.
|
|
776
|
-
*/
|
|
777
|
-
foundationalServiceRegistry?: FoundationalServiceRegistry;
|
|
778
|
-
/**
|
|
779
|
-
* The app-owned registry of GENERATIVE BINARY INTEGRATIONS a DEPLOYMENT ships in CODE — the
|
|
780
|
-
* image / music / video generation APIs a binary-generating step may call
|
|
781
|
-
* (`stepOptions.binaryOutput.generatorIds`). Optional + defaulted to
|
|
782
|
-
* `defaultBinaryGeneratorRegistry()` (EMPTY — the platform ships none, and every one of them is
|
|
783
|
-
* a metered vendor), so existing construction sites behave exactly as before; a facade injects
|
|
784
|
-
* the SAME instance it registers its integrations on, and boot validation reads it back so a
|
|
785
|
-
* malformed definition or an unusable credential name fails the deployment rather than a
|
|
786
|
-
* dispatch. Deliberately NOT the foundational-service registry: that catalog is what a design
|
|
787
|
-
* is expected to build ON, while an integration is an instrument a specific step is pointed at.
|
|
788
|
-
*/
|
|
789
|
-
binaryGeneratorRegistry?: BinaryGeneratorRegistry;
|
|
790
|
-
/**
|
|
791
|
-
* The app-owned registry of BINARY ARTIFACT STORES a DEPLOYMENT ships in CODE: its own
|
|
792
|
-
* implementations of the `BinaryBlobBackend` port, selectable per account beside the platform's
|
|
793
|
-
* `fs` / `db` / `s3` / `r2` backends. Optional + defaulted to `defaultBinaryStoreRegistry()`
|
|
794
|
-
* (EMPTY: the platform's own stores are not registry entries), so every existing construction
|
|
795
|
-
* site behaves exactly as before.
|
|
796
|
-
*
|
|
797
|
-
* Unlike its generative sibling above this one does NOT get a mothership `Source`, and the
|
|
798
|
-
* asymmetry is the point: a generator definition is DATA a run resolves, so a node reading its
|
|
799
|
-
* own copy can disagree with the picker the mothership fed; a store is a live client that only
|
|
800
|
-
* the process about to write the bytes can construct, so the process that answers the settings
|
|
801
|
-
* picker is by construction the one that stores. There is nothing here for a machine API to
|
|
802
|
-
* carry, and a `Source` would only invite pointing one node at another's credentials.
|
|
803
|
-
*/
|
|
804
|
-
binaryStoreRegistry?: BinaryStoreRegistry;
|
|
805
|
-
/**
|
|
806
|
-
* Where those integrations are READ from, when that is not this process's own registry.
|
|
807
|
-
* Defaulted to `registryBinaryGeneratorSource(binaryGeneratorRegistry)` — i.e. exactly the
|
|
808
|
-
* behaviour above — and overridden by ONE caller: a MOTHERSHIP-MODE node, which reads the
|
|
809
|
-
* mothership's registry over `GET /internal/binary-generators`.
|
|
810
|
-
*
|
|
811
|
-
* The sibling of {@link foundationalBuiltinSource}, and it exists for the same reason with a
|
|
812
|
-
* louder symptom. A mothership deployment is TWO processes, so a deployment had to register
|
|
813
|
-
* its integrations on both entry points; a node one build behind — the normal state of a local
|
|
814
|
-
* node — then refuses a step the mothership's own picker offered, with `unknown_generator`
|
|
815
|
-
* naming a configuration that is correct. See `kernel/src/ports/binary-generators.ts`.
|
|
816
|
-
*
|
|
817
|
-
* When it is set, this process's own `binaryGeneratorRegistry` is NOT consulted for a run (the
|
|
818
|
-
* facade warns at boot if it is non-empty) — the two are alternatives, never a merge: a merge
|
|
819
|
-
* would reinstate the drift, since a stale local copy would win by id over the authoritative
|
|
820
|
-
* one. The registry is still read for BOOT VALIDATION and for serving
|
|
821
|
-
* `/internal/binary-generators` when this process is itself a mothership.
|
|
822
|
-
*/
|
|
823
|
-
binaryGeneratorSource?: BinaryGeneratorSource;
|
|
824
|
-
/**
|
|
825
|
-
* Where the `builtin` tier is READ from, when that is not this process's own registry.
|
|
826
|
-
* Defaulted to `registryBuiltinSource(foundationalServiceRegistry)` — i.e. exactly the
|
|
827
|
-
* behaviour above — and overridden by ONE caller: a MOTHERSHIP-MODE node, which reads the
|
|
828
|
-
* mothership's registry over `GET /internal/foundational-services`.
|
|
829
|
-
*
|
|
830
|
-
* It exists because a mothership deployment is TWO processes and the estate is org state: with
|
|
831
|
-
* the registry as the only route, a deployment had to register the same estate on both entry
|
|
832
|
-
* points, and a node one build behind — the normal state of a local node — silently resolved a
|
|
833
|
-
* catalog missing whatever the mothership had since added. A run then simply does not consider
|
|
834
|
-
* that service, which is indistinguishable from an Architect judging it irrelevant. See
|
|
835
|
-
* `kernel/src/ports/foundational-builtins.ts`.
|
|
836
|
-
*
|
|
837
|
-
* When it is set, this process's own `foundationalServiceRegistry` is NOT consulted for the
|
|
838
|
-
* tier (the facade warns at boot if it is non-empty) — the two are alternatives, never a merge:
|
|
839
|
-
* a merge would reinstate the drift, since a stale local copy would win by id over the
|
|
840
|
-
* authoritative one.
|
|
841
|
-
*/
|
|
842
|
-
foundationalBuiltinSource?: FoundationalBuiltinSource;
|
|
843
|
-
/**
|
|
844
|
-
* The app-owned registry a deployment registers its best-practice PROMPT FRAGMENTS on, plus the
|
|
845
|
-
* per-task-type default sets that select them. Optional + defaulted to
|
|
846
|
-
* `defaultPromptFragmentRegistry()` (EMPTY, because the shipped catalog installs onto one through
|
|
847
|
-
* `promptFragmentRegistryWithBuiltins()`, which is what each facade injects, so a caller that
|
|
848
|
-
* passes nothing gets no standards rather than a silently different second pool).
|
|
849
|
-
*
|
|
850
|
-
* It replaced two module globals in `@cat-factory/prompt-fragments`, whose correctness depended
|
|
851
|
-
* on every reader resolving the same physical copy of that package. The published graph does not
|
|
852
|
-
* guarantee that, and the failure was silent: registrations landed in one copy, readers saw the
|
|
853
|
-
* other, and every task of the deployment's operation was seeded with ids that folded nothing.
|
|
854
|
-
*/
|
|
855
|
-
promptFragmentRegistry?: PromptFragmentRegistry;
|
|
856
|
-
/**
|
|
857
|
-
* Where the fragment POOL is READ from, when that is not this process's own registry. The exact
|
|
858
|
-
* sibling of {@link foundationalBuiltinSource}, with the same one overriding caller (a
|
|
859
|
-
* mothership-mode node, over `GET /internal/prompt-fragments`) and the same alternatives-never-a-
|
|
860
|
-
* merge rule: a merge would let a stale local copy win by id over the authoritative one, which is
|
|
861
|
-
* the drift the source exists to remove.
|
|
862
|
-
*/
|
|
863
|
-
promptFragmentSource?: PromptFragmentSource;
|
|
864
|
-
/**
|
|
865
|
-
* Where the deployment's AGENT-KIND CAPABILITY layer is read from, when that is not this
|
|
866
|
-
* process's own registry. Overridden by ONE caller: a mothership-mode node, over
|
|
867
|
-
* `GET /internal/agent-kinds`.
|
|
868
|
-
*
|
|
869
|
-
* The fourth of the same family, and the only one that MERGES rather than replaces. Its three
|
|
870
|
-
* siblings serve a set the node also registers, so a merge would let a stale local copy win by
|
|
871
|
-
* id. Here the halves are different things: a KIND's own declarations belong to the code that
|
|
872
|
-
* implements it (which cannot cross a wire, so the kind CATALOG stays node-local, exactly like
|
|
873
|
-
* task types and pipelines, and a step naming an unknown kind still fails loudly at admission),
|
|
874
|
-
* while `assignSkills`/`assignToolServers` are the DEPLOYMENT's layer on top — pure data whose
|
|
875
|
-
* absence on a node one build behind is silent, since the agent simply works without the org's
|
|
876
|
-
* playbook. Absent ⇒ the local registry answers alone.
|
|
877
|
-
*/
|
|
878
|
-
agentKindSource?: AgentKindSource;
|
|
879
|
-
/**
|
|
880
|
-
* Enqueues a targeted foundational-source resync onto the runtime's GitHub-sync queue — the
|
|
881
|
-
* push-webhook freshness fan-out, the twin of {@link CoreDependencies.enqueueSkillResync}.
|
|
882
|
-
* Facade-provided (Worker Queue / Node pg-boss); absent (no queue, or a pure-logic test) ⇒ no
|
|
883
|
-
* proactive resync, and the autorefresh sweep bounds staleness instead.
|
|
884
|
-
*/
|
|
885
|
-
enqueueFoundationalResync?: (request: FoundationalSourceResyncRequest) => Promise<void>;
|
|
886
718
|
notificationRepository?: NotificationRepository;
|
|
887
719
|
notificationChannel?: NotificationChannel;
|
|
888
720
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependencies.d.ts","sourceRoot":"","sources":["../../src/container/dependencies.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,iBAAiB,EACjB,eAAe,EACf,6BAA6B,EAC7B,0BAA0B,EAC3B,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAA;AAC3F,OAAO,KAAK,EACV,sBAAsB,EACtB,cAAc,EACd,0BAA0B,EAC1B,eAAe,EACf,oBAAoB,EACpB,0BAA0B,EAC1B,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,uBAAuB,EACxB,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EACV,2BAA2B,EAC3B,iBAAiB,EACjB,sBAAsB,EACtB,8BAA8B,EAC9B,aAAa,EACb,qBAAqB,EACrB,0BAA0B,EAC1B,uBAAuB,EACvB,qBAAqB,EACrB,SAAS,EACT,cAAc,EACd,aAAa,EACb,uBAAuB,EACvB,qBAAqB,EACrB,mBAAmB,EACnB,eAAe,EACf,sBAAsB,EACtB,eAAe,EACf,2BAA2B,EAC3B,0BAA0B,EAC1B,aAAa,EACb,eAAe,EACf,4BAA4B,EAC5B,uBAAuB,EACvB,KAAK,EACL,0BAA0B,EAC1B,wBAAwB,EACxB,sBAAsB,EACtB,4BAA4B,EAC5B,iBAAiB,EACjB,0BAA0B,EAC1B,sBAAsB,EACtB,4BAA4B,EAC5B,uBAAuB,EACvB,uBAAuB,EACvB,kBAAkB,EAClB,sBAAsB,EACtB,yBAAyB,EACzB,WAAW,EACX,4BAA4B,EAC5B,qBAAqB,EACrB,iBAAiB,EACjB,+BAA+B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aAAa,CAAC,EAAE,MAAM,KACnB,OAAO,CAAC,oBAAoB,CAAC,CAAA;IAClC;;;;;OAKG;IACH,iCAAiC,CAAC,EAAE,iCAAiC,CAAA;IAGrE;;;;;OAKG;IACH,oBAAoB,CAAC,EAAE,oBAAoB,CAAA;IAU3C,0BAA0B,CAAC,EAAE,0BAA0B,CAAA;IACvD,yBAAyB,CAAC,EAAE,yBAAyB,CAAA;IACrD,qBAAqB,CAAC,EAAE,qBAAqB,CAAA;IAI7C,sBAAsB,CAAC,EAAE,sBAAsB,CAAA;IAG/C;;;;OAIG;IACH,4BAA4B,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;CACtE"}
|
|
1
|
+
{"version":3,"file":"dependencies.d.ts","sourceRoot":"","sources":["../../src/container/dependencies.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAA;AACnF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAA;AAC3F,OAAO,KAAK,EACV,sBAAsB,EACtB,cAAc,EACd,0BAA0B,EAC1B,eAAe,EACf,oBAAoB,EACpB,0BAA0B,EAC1B,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,uBAAuB,EACxB,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EACV,2BAA2B,EAC3B,iBAAiB,EACjB,8BAA8B,EAC9B,aAAa,EACb,qBAAqB,EACrB,0BAA0B,EAC1B,uBAAuB,EACvB,cAAc,EACd,aAAa,EACb,eAAe,EACf,sBAAsB,EACtB,eAAe,EACf,2BAA2B,EAC3B,0BAA0B,EAC1B,aAAa,EACb,eAAe,EACf,4BAA4B,EAC5B,uBAAuB,EACvB,KAAK,EACL,0BAA0B,EAC1B,wBAAwB,EACxB,sBAAsB,EACtB,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AC,EAAE,0BAA0B,CAAA;IACvD,yBAAyB,CAAC,EAAE,yBAAyB,CAAA;IACrD,qBAAqB,CAAC,EAAE,qBAAqB,CAAA;IAI7C,sBAAsB,CAAC,EAAE,sBAAsB,CAAA;IAG/C;;;;OAIG;IACH,4BAA4B,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;CACtE"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { FoundationalServiceCatalogService, FoundationalServiceRunResolver, FoundationalServiceSourceService, FragmentBriefService, FragmentLibraryService, FragmentSourceService, SkillCatalogService, SkillRunResolver, SkillSourceService } from '@cat-factory/agents';
|
|
1
|
+
import { FoundationalServiceCatalogService, FoundationalServiceRunResolver, FoundationalServiceSourceService, FragmentBriefService, FragmentLibraryService, FragmentSourceService, ServiceCatalogSyncService, SkillCatalogService, SkillRunResolver, SkillSourceService } from '@cat-factory/agents';
|
|
2
|
+
import { ServiceCatalogConnectionService } from '@cat-factory/integrations';
|
|
2
3
|
import type { AppCaches, DocumentContentResolver, FoundationalBuiltinSource, PromptFragmentSource } from '@cat-factory/kernel';
|
|
3
4
|
import type { CoreDependencies } from './container.js';
|
|
4
5
|
import { FragmentTitleService } from './modules/fragmentLibrary/FragmentTitleService.js';
|
|
@@ -60,6 +61,20 @@ export interface FoundationalServiceModule {
|
|
|
60
61
|
* sync (or a direct upload) already persisted.
|
|
61
62
|
*/
|
|
62
63
|
runResolver: FoundationalServiceRunResolver;
|
|
64
|
+
/**
|
|
65
|
+
* The workspace's DEVELOPER PORTAL connection (Backstage) and the import that turns its
|
|
66
|
+
* services into `workspace`-tier catalog rows. A THIRD member of this module rather than a
|
|
67
|
+
* module of its own, because what it produces is this catalog: keeping it here is what makes
|
|
68
|
+
* the connection surface, the import and the reads share one cache-invalidation seam.
|
|
69
|
+
*
|
|
70
|
+
* Present only when the connection repository and its secret cipher are wired. Absent ⇒ the
|
|
71
|
+
* controller answers 503 and the catalog holds only what was uploaded or linked, which is
|
|
72
|
+
* byte-for-byte the behaviour before the integration existed.
|
|
73
|
+
*/
|
|
74
|
+
serviceCatalog?: {
|
|
75
|
+
connectionService: ServiceCatalogConnectionService;
|
|
76
|
+
syncService: ServiceCatalogSyncService;
|
|
77
|
+
};
|
|
63
78
|
}
|
|
64
79
|
/**
|
|
65
80
|
* Assemble the foundational-services catalog when its repositories are present. The catalog +
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container-content-libraries.d.ts","sourceRoot":"","sources":["../src/container-content-libraries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iCAAiC,EACjC,8BAA8B,EAC9B,gCAAgC,EAChC,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,EAErB,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EACV,SAAS,EACT,uBAAuB,EACvB,yBAAyB,EACzB,oBAAoB,EACrB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAA;AASxF,uFAAuF;AACvF,MAAM,WAAW,qBAAqB;IACpC;;;;;;OAMG;IACH,cAAc,EAAE,sBAAsB,CAAA;IACtC,2FAA2F;IAC3F,aAAa,CAAC,EAAE,qBAAqB,CAAA;IACrC;;;OAGG;IACH,YAAY,CAAC,EAAE,oBAAoB,CAAA;IACnC;;;;OAIG;IACH,YAAY,CAAC,EAAE,oBAAoB,CAAA;CACpC;AAED;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC,kGAAkG;IAClG,cAAc,EAAE,mBAAmB,CAAA;IACnC,qFAAqF;IACrF,aAAa,CAAC,EAAE,kBAAkB,CAAA;IAClC;;;;;OAKG;IACH,WAAW,CAAC,EAAE,gBAAgB,CAAA;CAC/B;AAED;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACxC,sFAAsF;IACtF,cAAc,EAAE,iCAAiC,CAAA;IACjD,6FAA6F;IAC7F,aAAa,CAAC,EAAE,gCAAgC,CAAA;IAChD;;;;;OAKG;IACH,WAAW,EAAE,8BAA8B,CAAA;
|
|
1
|
+
{"version":3,"file":"container-content-libraries.d.ts","sourceRoot":"","sources":["../src/container-content-libraries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iCAAiC,EACjC,8BAA8B,EAC9B,gCAAgC,EAChC,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,EAErB,yBAAyB,EACzB,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,+BAA+B,EAAE,MAAM,2BAA2B,CAAA;AAC3E,OAAO,KAAK,EACV,SAAS,EACT,uBAAuB,EACvB,yBAAyB,EACzB,oBAAoB,EACrB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAA;AASxF,uFAAuF;AACvF,MAAM,WAAW,qBAAqB;IACpC;;;;;;OAMG;IACH,cAAc,EAAE,sBAAsB,CAAA;IACtC,2FAA2F;IAC3F,aAAa,CAAC,EAAE,qBAAqB,CAAA;IACrC;;;OAGG;IACH,YAAY,CAAC,EAAE,oBAAoB,CAAA;IACnC;;;;OAIG;IACH,YAAY,CAAC,EAAE,oBAAoB,CAAA;CACpC;AAED;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC,kGAAkG;IAClG,cAAc,EAAE,mBAAmB,CAAA;IACnC,qFAAqF;IACrF,aAAa,CAAC,EAAE,kBAAkB,CAAA;IAClC;;;;;OAKG;IACH,WAAW,CAAC,EAAE,gBAAgB,CAAA;CAC/B;AAED;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACxC,sFAAsF;IACtF,cAAc,EAAE,iCAAiC,CAAA;IACjD,6FAA6F;IAC7F,aAAa,CAAC,EAAE,gCAAgC,CAAA;IAChD;;;;;OAKG;IACH,WAAW,EAAE,8BAA8B,CAAA;IAC3C;;;;;;;;;OASG;IACH,cAAc,CAAC,EAAE;QACf,iBAAiB,EAAE,+BAA+B,CAAA;QAClD,WAAW,EAAE,yBAAyB,CAAA;KACvC,CAAA;CACF;AAED;;;;;;;GAOG;AACH,wBAAgB,+BAA+B,CAC7C,IAAI,EAAE,gBAAgB,EACtB,MAAM,EAAE,SAAS,EACjB,QAAQ,EAAE,yBAAyB,GAClC,yBAAyB,GAAG,SAAS,CAgDvC;AAuDD;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,gBAAgB,EACtB,uBAAuB,EAAE,uBAAuB,GAAG,SAAS,EAC5D,MAAM,EAAE,SAAS;AACjB;;;;GAIG;AACH,oBAAoB,EAAE,oBAAoB,GACzC,qBAAqB,GAAG,SAAS,CA4EnC;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACtC,IAAI,EAAE,gBAAgB,EACtB,MAAM,EAAE,SAAS,GAChB,kBAAkB,GAAG,SAAS,CA4ChC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { FoundationalServiceCatalogService, FoundationalServiceRunResolver, FoundationalServiceSourceService, FragmentBriefService, FragmentLibraryService, FragmentSourceService, LlmFragmentBriefGenerator, SkillCatalogService, SkillRunResolver, SkillSourceService, } from '@cat-factory/agents';
|
|
1
|
+
import { FoundationalServiceCatalogService, FoundationalServiceRunResolver, FoundationalServiceSourceService, FragmentBriefService, FragmentLibraryService, FragmentSourceService, LlmFragmentBriefGenerator, ServiceCatalogSyncService, SkillCatalogService, SkillRunResolver, SkillSourceService, } from '@cat-factory/agents';
|
|
2
|
+
import { ServiceCatalogConnectionService } from '@cat-factory/integrations';
|
|
2
3
|
import { FragmentTitleService } from './modules/fragmentLibrary/FragmentTitleService.js';
|
|
3
4
|
/**
|
|
4
5
|
* Assemble the foundational-services catalog when its repositories are present. The catalog +
|
|
@@ -44,10 +45,52 @@ export function createFoundationalServiceModule(deps, caches, builtins) {
|
|
|
44
45
|
invalidateCatalog: (ownerKind, ownerId) => catalogService.invalidate(ownerKind, ownerId),
|
|
45
46
|
})
|
|
46
47
|
: undefined;
|
|
48
|
+
const serviceCatalog = buildServiceCatalog(deps, (ownerKind, ownerId) => catalogService.invalidate(ownerKind, ownerId));
|
|
47
49
|
return {
|
|
48
50
|
catalogService,
|
|
49
51
|
sourceService,
|
|
50
52
|
runResolver: new FoundationalServiceRunResolver(catalogService),
|
|
53
|
+
...(serviceCatalog ? { serviceCatalog } : {}),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Assemble the service-catalog connection + import when both halves are wired.
|
|
58
|
+
*
|
|
59
|
+
* The connection service is built FIRST and its `resolveClient` handed to the import, so the
|
|
60
|
+
* import never opens a credential bag: it depends on the kernel's
|
|
61
|
+
* `ResolveServiceCatalogClient` port and stays testable with a fake that holds no secret. The
|
|
62
|
+
* invalidation is threaded in from the catalog service for the same reason the repo source's is:
|
|
63
|
+
* the eviction policy for this catalog lives in exactly one place.
|
|
64
|
+
*/
|
|
65
|
+
function buildServiceCatalog(deps, invalidateCatalog) {
|
|
66
|
+
const { serviceCatalogConnectionRepository, serviceCatalogSecretCipher, foundationalServiceRepository, apiContractRepository, } = deps;
|
|
67
|
+
if (!serviceCatalogConnectionRepository ||
|
|
68
|
+
!serviceCatalogSecretCipher ||
|
|
69
|
+
!foundationalServiceRepository ||
|
|
70
|
+
!apiContractRepository) {
|
|
71
|
+
return undefined;
|
|
72
|
+
}
|
|
73
|
+
const connectionService = new ServiceCatalogConnectionService({
|
|
74
|
+
serviceCatalogConnectionRepository,
|
|
75
|
+
secretCipher: serviceCatalogSecretCipher,
|
|
76
|
+
...(deps.secretDelegate ? { secretDelegate: deps.secretDelegate } : {}),
|
|
77
|
+
clock: deps.clock,
|
|
78
|
+
logger: deps.logger,
|
|
79
|
+
...(deps.serviceCatalogUrlSafetyPolicy
|
|
80
|
+
? { urlPolicy: deps.serviceCatalogUrlSafetyPolicy }
|
|
81
|
+
: {}),
|
|
82
|
+
});
|
|
83
|
+
return {
|
|
84
|
+
connectionService,
|
|
85
|
+
syncService: new ServiceCatalogSyncService({
|
|
86
|
+
serviceCatalogConnectionRepository,
|
|
87
|
+
resolveServiceCatalogClient: connectionService.resolveClient,
|
|
88
|
+
foundationalServiceRepository,
|
|
89
|
+
apiContractRepository,
|
|
90
|
+
clock: deps.clock,
|
|
91
|
+
logger: deps.logger,
|
|
92
|
+
invalidateCatalog,
|
|
93
|
+
}),
|
|
51
94
|
};
|
|
52
95
|
}
|
|
53
96
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container-content-libraries.js","sourceRoot":"","sources":["../src/container-content-libraries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iCAAiC,EACjC,8BAA8B,EAC9B,gCAAgC,EAChC,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,EACrB,yBAAyB,EACzB,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"container-content-libraries.js","sourceRoot":"","sources":["../src/container-content-libraries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iCAAiC,EACjC,8BAA8B,EAC9B,gCAAgC,EAChC,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,EACrB,yBAAyB,EACzB,yBAAyB,EACzB,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,+BAA+B,EAAE,MAAM,2BAA2B,CAAA;AAQ3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAA;AAqFxF;;;;;;;GAOG;AACH,MAAM,UAAU,+BAA+B,CAC7C,IAAsB,EACtB,MAAiB,EACjB,QAAmC;IAEnC,MAAM,E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,MAAM,aAAa,GACjB,IAAI,CAAC,qBAAqB,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,0BAA0B;QAChF,CAAC,CAAC,IAAI,kBAAkB,CAAC;YACrB,qBAAqB,EAAE,IAAI,CAAC,qBAAqB;YACjD,sBAAsB;YACtB,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,qBAAqB,EAAE,IAAI,CAAC,0BAA0B;YACtD,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,qEAAqE;YACrE,sFAAsF;YACtF,iBAAiB,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,cAAc,CAAC,UAAU,CAAC,SAAS,CAAC;SACvE,CAAC;QACJ,CAAC,CAAC,SAAS,CAAA;IAEf,8FAA8F;IAC9F,6FAA6F;IAC7F,8FAA8F;IAC9F,6FAA6F;IAC7F,gDAAgD;IAChD,MAAM,WAAW,GACf,IAAI,CAAC,qBAAqB,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,0BAA0B;QAChF,CAAC,CAAC,IAAI,gBAAgB,CAAC;YACnB,mBAAmB,EAAE,IAAI,CAAC,mBAAmB;YAC7C,cAAc;YACd,qBAAqB,EAAE,IAAI,CAAC,qBAAqB;YACjD,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,qBAAqB,EAAE,IAAI,CAAC,0BAA0B;YACtD,UAAU,EAAE,aAAa;gBACvB,CAAC,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC;gBAClE,CAAC,CAAC,SAAS;SACd,CAAC;QACJ,CAAC,CAAC,SAAS,CAAA;IAEf,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,WAAW,EAAE,CAAA;AACvD,CAAC"}
|
|
@@ -63,8 +63,16 @@ export interface ResolveFoundationalContextInput {
|
|
|
63
63
|
* capabilities and operation names for every registered service, no document bodies;
|
|
64
64
|
* - a kind carrying `foundational-contracts` (the researcher, the coder) gets the full API
|
|
65
65
|
* CONTRACTS, for exactly the ids a prior design step declared;
|
|
66
|
+
* - a kind carrying `service-estate` (the bug investigator, on-call) gets the ESTATE: the same
|
|
67
|
+
* rows as the catalog under an orientation framing: who owns each service and what it exposes,
|
|
68
|
+
* with no preference to express and nothing to declare back;
|
|
66
69
|
* - anything else gets nothing, and pays for nothing.
|
|
67
70
|
*
|
|
71
|
+
* The three are EXCLUSIVE in that order, which is a statement about cost rather than about
|
|
72
|
+
* capability: a kind that designs or implements against declared services already has a richer,
|
|
73
|
+
* more targeted read of the same catalog, so injecting the estate file beside it would put a
|
|
74
|
+
* second, broader copy of the same information into one prompt.
|
|
75
|
+
*
|
|
68
76
|
* BEST-EFFORT as a whole: the catalog is enrichment, and an unreachable store must not fail a
|
|
69
77
|
* run that would otherwise proceed exactly as it did before the feature existed. A failure is
|
|
70
78
|
* logged with its cause rather than swallowed.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-foundational-services.d.ts","sourceRoot":"","sources":["../../../src/modules/execution/run-foundational-services.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"run-foundational-services.d.ts","sourceRoot":"","sources":["../../../src/modules/execution/run-foundational-services.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAO5D,OAAO,KAAK,EACV,wBAAwB,EACxB,kBAAkB,EAClB,4BAA4B,EAC5B,YAAY,EACb,MAAM,wBAAwB,CAAA;AAC/B,OAAO,KAAK,EACV,SAAS,EACT,qBAAqB,EACrB,uBAAuB,EACvB,mBAAmB,EACnB,MAAM,EACN,0BAA0B,EAC3B,MAAM,qBAAqB,CAAA;AA0B5B;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IAC1C,UAAU,CAAC,WAAW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C5C,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,YAAY;AAClB;sEACsE;AACtE,MAAM,EAAE,MAAM,GAAG,SAAS,KACvB,OAAO,CAAC,IAAI,CAAC,CAAA;AAElB;;;;GAIG;AACH,wBAAgB,qCAAqC,CAAC,IAAI,EAAE;IAC1D,iBAAiB,EAAE,iBAAiB,CAAA;IACpC,2BAA2B,CAAC,EAAE,2BAA2B,CAAA;IACzD,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,GAAG,+BAA+B,CAelC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FOUNDATIONAL_CATALOG_TRAIT, FOUNDATIONAL_CONTRACTS_TRAIT, hasTrait, } from '@cat-factory/agents';
|
|
2
|
-
import { FOUNDATIONAL_CATALOG_FILE, FOUNDATIONAL_INDEX_FILE, noopLogger, parseFoundationalDeclaration, renderFoundationalCatalog, renderFoundationalIndex, runBestEffort, } from '@cat-factory/kernel';
|
|
1
|
+
import { FOUNDATIONAL_CATALOG_TRAIT, FOUNDATIONAL_CONTRACTS_TRAIT, SERVICE_ESTATE_TRAIT, hasTrait, } from '@cat-factory/agents';
|
|
2
|
+
import { FOUNDATIONAL_CATALOG_FILE, FOUNDATIONAL_ESTATE_FILE, FOUNDATIONAL_INDEX_FILE, noopLogger, parseFoundationalDeclaration, renderFoundationalCatalog, renderFoundationalIndex, renderServiceEstate, runBestEffort, } from '@cat-factory/kernel';
|
|
3
3
|
/**
|
|
4
4
|
* The `.cat-context/` files this dispatch gets from the foundational-services catalog:
|
|
5
5
|
*
|
|
@@ -7,8 +7,16 @@ import { FOUNDATIONAL_CATALOG_FILE, FOUNDATIONAL_INDEX_FILE, noopLogger, parseFo
|
|
|
7
7
|
* capabilities and operation names for every registered service, no document bodies;
|
|
8
8
|
* - a kind carrying `foundational-contracts` (the researcher, the coder) gets the full API
|
|
9
9
|
* CONTRACTS, for exactly the ids a prior design step declared;
|
|
10
|
+
* - a kind carrying `service-estate` (the bug investigator, on-call) gets the ESTATE: the same
|
|
11
|
+
* rows as the catalog under an orientation framing: who owns each service and what it exposes,
|
|
12
|
+
* with no preference to express and nothing to declare back;
|
|
10
13
|
* - anything else gets nothing, and pays for nothing.
|
|
11
14
|
*
|
|
15
|
+
* The three are EXCLUSIVE in that order, which is a statement about cost rather than about
|
|
16
|
+
* capability: a kind that designs or implements against declared services already has a richer,
|
|
17
|
+
* more targeted read of the same catalog, so injecting the estate file beside it would put a
|
|
18
|
+
* second, broader copy of the same information into one prompt.
|
|
19
|
+
*
|
|
12
20
|
* BEST-EFFORT as a whole: the catalog is enrichment, and an unreachable store must not fail a
|
|
13
21
|
* run that would otherwise proceed exactly as it did before the feature existed. A failure is
|
|
14
22
|
* logged with its cause rather than swallowed.
|
|
@@ -64,6 +72,26 @@ export async function resolveFoundationalContext(input) {
|
|
|
64
72
|
},
|
|
65
73
|
]);
|
|
66
74
|
}
|
|
75
|
+
if (hasTrait(agentKind, SERVICE_ESTATE_TRAIT, agentKindRegistry)) {
|
|
76
|
+
const files = await runBestEffort(input.logger ?? noopLogger, 'foundationalServices.estate', async () => {
|
|
77
|
+
const catalog = await resolver.catalogFor(input.workspaceId);
|
|
78
|
+
return [
|
|
79
|
+
{
|
|
80
|
+
path: FOUNDATIONAL_ESTATE_FILE,
|
|
81
|
+
content: renderServiceEstate({ status: 'resolved', services: catalog }),
|
|
82
|
+
},
|
|
83
|
+
];
|
|
84
|
+
}, { workspaceId: input.workspaceId, agentKind });
|
|
85
|
+
// The same three-state discipline the catalog branch keeps, and it matters MORE here: an
|
|
86
|
+
// orientation kind that read an empty estate file concludes the organisation runs nothing it
|
|
87
|
+
// needs to attribute a fault to, and an unreadable read must not produce that conclusion.
|
|
88
|
+
return (files ?? [
|
|
89
|
+
{
|
|
90
|
+
path: FOUNDATIONAL_ESTATE_FILE,
|
|
91
|
+
content: renderServiceEstate({ status: 'unavailable' }),
|
|
92
|
+
},
|
|
93
|
+
]);
|
|
94
|
+
}
|
|
67
95
|
return [];
|
|
68
96
|
}
|
|
69
97
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-foundational-services.js","sourceRoot":"","sources":["../../../src/modules/execution/run-foundational-services.ts"],"names":[],"mappings":"AACA,OAAO,EACL,0BAA0B,EAC1B,4BAA4B,EAC5B,QAAQ,GACT,MAAM,qBAAqB,CAAA;AAe5B,OAAO,EACL,yBAAyB,EACzB,uBAAuB,EACvB,UAAU,EACV,4BAA4B,EAC5B,yBAAyB,EACzB,uBAAuB,EACvB,aAAa,GACd,MAAM,qBAAqB,CAAA;AAkF5B
|
|
1
|
+
{"version":3,"file":"run-foundational-services.js","sourceRoot":"","sources":["../../../src/modules/execution/run-foundational-services.ts"],"names":[],"mappings":"AACA,OAAO,EACL,0BAA0B,EAC1B,4BAA4B,EAC5B,oBAAoB,EACpB,QAAQ,GACT,MAAM,qBAAqB,CAAA;AAe5B,OAAO,EACL,yBAAyB,EACzB,wBAAwB,EACxB,uBAAuB,EACvB,UAAU,EACV,4BAA4B,EAC5B,yBAAyB,EACzB,uBAAuB,EACvB,mBAAmB,EACnB,aAAa,GACd,MAAM,qBAAqB,CAAA;AAkF5B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,CAAC,KAAK,UAAU,0BAA0B,CAC9C,KAAsC;IAEtC,MAAM,QAAQ,GAAG,KAAK,CAAC,2BAA2B,CAAA;IAClD,IAAI,CAAC,QAAQ;QAAE,OAAO,EAAE,CAAA;IACxB,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAA;IAC9C,IAAI,QAAQ,CAAC,SAAS,EAAE,0BAA0B,EAAE,iBAAiB,CAAC,EAAE,CAAC;QACvE,MAAM,KAAK,GAAG,MAAM,aAAa,CAC/B,KAAK,CAAC,MAAM,IAAI,UAAU,EAC1B,8BAA8B,EAC9B,KAAK,IAAI,EAAE;YACT,MAAM,OAAO,GAAG,MAAM,QAAQ,CAAC,UAAU,CAAC,KAAK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I,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,EAAE,0BAA0B,EAAE,IAAI,CAAC,iBAAiB,CAAC;YAAE,OAAM;QACzF,MAAM,aAAa,CACjB,IAAI,CAAC,MAAM,IAAI,UAAU,EACzB,wCAAwC,EACxC,KAAK,IAAI,EAAE;YACT,MAAM,KAAK,GAAG,MAAM,QAAQ,CAAC,aAAa,CAAC,WAAW,CAAC,CAAA;YACvD,IAAI,CAAC,oBAAoB,GAAG,4BAA4B,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;QACzE,CAAC,EACD,EAAE,WAAW,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,CAC3C,CAAA;IACH,CAAC,CAAA;AACH,CAAC"}
|
|
@@ -114,6 +114,14 @@ export interface RecordLlmCallInput {
|
|
|
114
114
|
* producer with no shortfall concept files calls.
|
|
115
115
|
*/
|
|
116
116
|
spendOnly?: boolean;
|
|
117
|
+
/**
|
|
118
|
+
* The gateway's own USD cost for this call, when the provider reports one (OpenRouter with
|
|
119
|
+
* usage accounting on). Absent from every producer that does not report a cost, and absent is
|
|
120
|
+
* NOT zero: see {@link LlmCallMetric.reportedCostUsd}.
|
|
121
|
+
*/
|
|
122
|
+
reportedCostUsd?: number | null;
|
|
123
|
+
/** The upstream a gateway routed to; see {@link LlmCallMetric.upstreamProvider}. */
|
|
124
|
+
upstreamProvider?: string | null;
|
|
117
125
|
messageCount: number;
|
|
118
126
|
toolCount: number;
|
|
119
127
|
requestMaxTokens: number | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LlmObservabilityService.d.ts","sourceRoot":"","sources":["../../../src/modules/observability/LlmObservabilityService.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,KAAK,EACV,KAAK,WAAW,EAQjB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EACV,gBAAgB,EAChB,aAAa,EACb,MAAM,EACN,iBAAiB,EACjB,aAAa,EACb,uBAAuB,EACvB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,EACpB,SAAS,EACT,2BAA2B,EAC3B,sBAAsB,EACtB,MAAM,EACN,UAAU,EACV,YAAY,GACb,EAAE,mCAAmC,EAarC;IAED;;;OAGG;IACH,IAAI,cAAc,IAAI,MAAM,GAAG,IAAI,CAElC;IAED;;;;;;;;;;;OAWG;IACG,MAAM,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"LlmObservabilityService.d.ts","sourceRoot":"","sources":["../../../src/modules/observability/LlmObservabilityService.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,KAAK,EACV,KAAK,WAAW,EAQjB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EACV,gBAAgB,EAChB,aAAa,EACb,MAAM,EACN,iBAAiB,EACjB,aAAa,EACb,uBAAuB,EACvB,aAAa,EACb,eAAe,EACf,YAAY,EACZ,2BAA2B,EAC3B,2BAA2B,EAC5B,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAKjF,MAAM,WAAW,mCAAmC;IAClD,uBAAuB,EAAE,uBAAuB,CAAA;IAChD,WAAW,EAAE,WAAW,CAAA;IACxB,KAAK,EAAE,KAAK,CAAA;IACZ;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,YAAY,CAAA;IACxB;;;;;;OAMG;IACH,2BAA2B,CAAC,EAAE,2BAA2B,CAAA;IACzD;;;;;OAKG;IACH,sBAAsB,CAAC,EAAE,gBAAgB,CAAC,2BAA2B,CAAC,CAAA;IACtE;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,eAAe,CAAA;IAC5B;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED;;;;;;GAMG;AACH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;;OAQG;IACG,oBAAoB,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC,CAM7F;IAED;;;;OAIG;IACG,kBAAkB,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAgB5F;CACF;AAED,kGAAkG;AAClG,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,SAAS,EAAE,MAAM,CAAA;IACjB,gEAAgE;IAChE,QAAQ,EAAE,MAAM,CAAA;IAChB,wFAAwF;IACxF,KAAK,EAAE,MAAM,CAAA;IACb;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,iBAAiB,EAAE,CAAA;CAC3B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,uBAAuB,GAC/B,CAAC,KAAK,EAAE,uBAAuB,KAAK,OAAO,CAAC,IAAI,CAAC,CA2CnD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,uBAAuB,GAC/B,CAAC,IAAI,EAAE,aAAa,KAAK,OAAO,CAAC,IAAI,CAAC,CA+BxC"}
|
|
@@ -121,6 +121,12 @@ export class LlmObservabilityService {
|
|
|
121
121
|
// rather than being spread in as `undefined`.
|
|
122
122
|
id: input.id ?? this.idGenerator.next('llm'),
|
|
123
123
|
overheadMs,
|
|
124
|
+
// Normalised to null rather than left as `undefined`: the row is persisted by two
|
|
125
|
+
// repositories whose column is nullable, and an absent key would bind as SQL NULL on one
|
|
126
|
+
// and be rejected on the other. `??` and not a truthiness test, because a genuinely free
|
|
127
|
+
// call reports 0 and that is a fact worth keeping apart from "nobody said".
|
|
128
|
+
reportedCostUsd: input.reportedCostUsd ?? null,
|
|
129
|
+
upstreamProvider: input.upstreamProvider ?? null,
|
|
124
130
|
phase: normalizeCallPhase(input.phase),
|
|
125
131
|
turnIndex: input.turnIndex ?? null,
|
|
126
132
|
spendOnly: input.spendOnly === true,
|
|
@@ -383,6 +389,8 @@ export function makeInlineCallRecorder(service) {
|
|
|
383
389
|
streaming: false,
|
|
384
390
|
turnIndex: call.turnIndex ?? null,
|
|
385
391
|
spendOnly: call.spendOnly === true,
|
|
392
|
+
reportedCostUsd: call.reportedCostUsd ?? null,
|
|
393
|
+
upstreamProvider: call.upstreamProvider ?? null,
|
|
386
394
|
messageCount: call.messageCount,
|
|
387
395
|
toolCount: call.toolCount,
|
|
388
396
|
requestMaxTokens: call.requestMaxTokens,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LlmObservabilityService.js","sourceRoot":"","sources":["../../../src/modules/observability/LlmObservabilityService.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,2BAA2B,EAC3B,UAAU,EACV,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,aAAa,GACd,MAAM,qBAAqB,CAAA;AAgB5B,OAAO,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AA2D7D;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,GAAG,IAAI,CAAA;AAExC,sEAAsE;AACtE,SAAS,SAAS,CAAC,IAAY;IAC7B,IAAI,IAAI,CAAC,MAAM,IAAI,cAAc;QAAE,OAAO,IAAI,CAAA;IAC9C,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,cAAc,CAAC,iBAAiB,IAAI,CAAC,MAAM,GAAG,cAAc,SAAS,CAAA;AAC/F,CAAC;AAED,oEAAoE;AACpE,MAAM,kBAAkB,GAAG,IAAI,CAAA;AAE/B,sFAAsF;AACtF,MAAM,mBAAmB,GAAiB,EAAE,UAAU,EAAE,EAAE,EAAE,iBAAiB,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,CAAA;AAelG,yFAAyF;AACzF,SAAS,WAAW,CAAC,IAAiB;IACpC,OAAO,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,EAAE,CAAA;AACjD,CAAC;
|
|
1
|
+
{"version":3,"file":"LlmObservabilityService.js","sourceRoot":"","sources":["../../../src/modules/observability/LlmObservabilityService.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,2BAA2B,EAC3B,UAAU,EACV,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,aAAa,GACd,MAAM,qBAAqB,CAAA;AAgB5B,OAAO,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AA2D7D;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,GAAG,IAAI,CAAA;AAExC,sEAAsE;AACtE,SAAS,SAAS,CAAC,IAAY;IAC7B,IAAI,IAAI,CAAC,MAAM,IAAI,cAAc;QAAE,OAAO,IAAI,CAAA;IAC9C,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,cAAc,CAAC,iBAAiB,IAAI,CAAC,MAAM,GAAG,cAAc,SAAS,CAAA;AAC/F,CAAC;AAED,oEAAoE;AACpE,MAAM,kBAAkB,GAAG,IAAI,CAAA;AAE/B,sFAAsF;AACtF,MAAM,mBAAmB,GAAiB,EAAE,UAAU,EAAE,EAAE,EAAE,iBAAiB,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,CAAA;AAelG,yFAAyF;AACzF,SAAS,WAAW,CAAC,IAAiB;IACpC,OAAO,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,C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K,EAAE,IAAI,CAAC,KAAK;QACjB,SAAS,EAAE,KAAK;QAChB,SAAS,EAAE,IAAI,CAAC,SAAS,IAAI,IAAI;QACjC,SAAS,EAAE,IAAI,CAAC,SAAS,KAAK,IAAI;QAClC,eAAe,EAAE,IAAI,CAAC,eAAe,IAAI,IAAI;QAC7C,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,IAAI,IAAI;QAC/C,YAAY,EAAE,IAAI,CAAC,YAAY;QAC/B,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;QACvC,YAAY,EAAE,IAAI,CAAC,YAAY;QAC/B,eAAe,EAAE,IAAI,CAAC,eAAe;QACrC,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;QACvC,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;QACvC,WAAW,EAAE,IAAI,CAAC,WAAW;QAC7B,YAAY,EAAE,IAAI,CAAC,YAAY;QAC/B,OAAO,EAAE,IAAI,CAAC,UAAU;QACxB,UAAU,EAAE,IAAI,CAAC,UAAU;QAC3B,EAAE,EAAE,IAAI,CAAC,EAAE;QACX,UAAU,EAAE,IAAI;QAChB,YAAY,EAAE,IAAI,CAAC,YAAY;QAC/B,UAAU,EAAE,IAAI,CAAC,UAAU;QAC3B,YAAY,EAAE,IAAI,CAAC,YAAY;QAC/B,aAAa,EAAE,IAAI,CAAC,aAAa;KAClC,CAAC,CAAA;AACN,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cat-factory/orchestration",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.291.0",
|
|
4
4
|
"description": "Delivery-workflow engine for the Agent Architecture Board (execution, bootstrap, pipelines, board, boardScan, requirements, and composition root).",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,19 +24,19 @@
|
|
|
24
24
|
"access": "public"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@cat-factory/agents": "0.
|
|
28
|
-
"@cat-factory/caching": "0.20.
|
|
29
|
-
"@cat-factory/contracts": "0.
|
|
30
|
-
"@cat-factory/integrations": "0.
|
|
31
|
-
"@cat-factory/kernel": "0.
|
|
32
|
-
"@cat-factory/prompt-fragments": "1.1.
|
|
33
|
-
"@cat-factory/sandbox": "0.12.
|
|
34
|
-
"@cat-factory/spend": "0.
|
|
35
|
-
"@cat-factory/workspaces": "0.28.
|
|
27
|
+
"@cat-factory/agents": "0.147.0",
|
|
28
|
+
"@cat-factory/caching": "0.20.56",
|
|
29
|
+
"@cat-factory/contracts": "0.335.0",
|
|
30
|
+
"@cat-factory/integrations": "0.167.0",
|
|
31
|
+
"@cat-factory/kernel": "0.324.0",
|
|
32
|
+
"@cat-factory/prompt-fragments": "1.1.18",
|
|
33
|
+
"@cat-factory/sandbox": "0.12.30",
|
|
34
|
+
"@cat-factory/spend": "0.17.0",
|
|
35
|
+
"@cat-factory/workspaces": "0.28.44",
|
|
36
36
|
"ai": "^7.0.85"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@cat-factory/sandbox-fixtures": "0.8.
|
|
39
|
+
"@cat-factory/sandbox-fixtures": "0.8.16",
|
|
40
40
|
"typescript": "7.0.2",
|
|
41
41
|
"vitest": "^4.1.11"
|
|
42
42
|
},
|