@xemahq/platform-common 0.29.0 → 0.30.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/database/biome-database.d.ts +2 -11
- package/dist/database/biome-database.d.ts.map +1 -1
- package/dist/database/biome-database.js +4 -24
- package/dist/database/biome-database.js.map +1 -1
- package/dist/database/idempotency-record-schema.d.ts +6 -0
- package/dist/database/idempotency-record-schema.d.ts.map +1 -0
- package/dist/database/idempotency-record-schema.js +102 -0
- package/dist/database/idempotency-record-schema.js.map +1 -0
- package/dist/database/release-intent-schema.d.ts +6 -0
- package/dist/database/release-intent-schema.d.ts.map +1 -0
- package/dist/database/release-intent-schema.js +129 -0
- package/dist/database/release-intent-schema.js.map +1 -0
- package/dist/database/schema-source-reader.d.ts +7 -0
- package/dist/database/schema-source-reader.d.ts.map +1 -0
- package/dist/database/schema-source-reader.js +49 -0
- package/dist/database/schema-source-reader.js.map +1 -0
- package/dist/index.d.ts +4 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -29
- package/dist/index.js.map +1 -1
- package/dist/lib/agent-session.types.d.ts +0 -9
- package/dist/lib/agent-session.types.d.ts.map +1 -1
- package/dist/lib/agent-session.types.js +1 -11
- package/dist/lib/agent-session.types.js.map +1 -1
- package/dist/lib/auth/org-authority-observations.d.ts +2 -0
- package/dist/lib/auth/org-authority-observations.d.ts.map +1 -1
- package/dist/lib/auth/org-authority-observations.js +31 -12
- package/dist/lib/auth/org-authority-observations.js.map +1 -1
- package/dist/lib/auth/org-authority.d.ts +8 -11
- package/dist/lib/auth/org-authority.d.ts.map +1 -1
- package/dist/lib/auth/org-authority.js +12 -31
- package/dist/lib/auth/org-authority.js.map +1 -1
- package/dist/lib/auth/org-claim.d.ts.map +1 -1
- package/dist/lib/auth/org-claim.js.map +1 -1
- package/dist/lib/auth/org-role.d.ts +2 -6
- package/dist/lib/auth/org-role.d.ts.map +1 -1
- package/dist/lib/auth/org-role.js +10 -19
- package/dist/lib/auth/org-role.js.map +1 -1
- package/dist/lib/edge-stream/index.d.ts.map +1 -1
- package/dist/lib/edge-stream/index.js.map +1 -1
- package/dist/lib/errors/artifact-store-errors.d.ts +14 -0
- package/dist/lib/errors/artifact-store-errors.d.ts.map +1 -0
- package/dist/lib/errors/artifact-store-errors.js +41 -0
- package/dist/lib/errors/artifact-store-errors.js.map +1 -0
- package/dist/lib/errors/index.d.ts +3 -0
- package/dist/lib/errors/index.d.ts.map +1 -0
- package/dist/lib/{interaction-widgets → errors}/index.js +2 -3
- package/dist/lib/errors/index.js.map +1 -0
- package/dist/lib/errors/knowledge-graph-errors.d.ts +5 -0
- package/dist/lib/errors/knowledge-graph-errors.d.ts.map +1 -0
- package/dist/lib/errors/knowledge-graph-errors.js +17 -0
- package/dist/lib/errors/knowledge-graph-errors.js.map +1 -0
- package/dist/lib/manifest/manifest.enums.d.ts.map +1 -1
- package/dist/lib/manifest/manifest.enums.js.map +1 -1
- package/dist/lib/mcp-bridge-token.d.ts +0 -2
- package/dist/lib/mcp-bridge-token.d.ts.map +1 -1
- package/dist/lib/mcp-bridge-token.js +0 -8
- package/dist/lib/mcp-bridge-token.js.map +1 -1
- package/dist/lib/request-context.d.ts.map +1 -1
- package/dist/lib/request-context.js.map +1 -1
- package/dist/lib/to-json-column-value.d.ts +6 -0
- package/dist/lib/to-json-column-value.d.ts.map +1 -1
- package/dist/lib/to-json-column-value.js +19 -2
- package/dist/lib/to-json-column-value.js.map +1 -1
- package/dist/nestjs/auth/actor-classification.d.ts +4 -4
- package/dist/nestjs/auth/actor-classification.d.ts.map +1 -1
- package/dist/nestjs/auth/actor-classification.js +19 -11
- package/dist/nestjs/auth/actor-classification.js.map +1 -1
- package/dist/nestjs/auth/holds-org-authority.d.ts +12 -0
- package/dist/nestjs/auth/holds-org-authority.d.ts.map +1 -0
- package/dist/nestjs/auth/holds-org-authority.js +20 -0
- package/dist/nestjs/auth/holds-org-authority.js.map +1 -0
- package/dist/nestjs/auth/index.d.ts +4 -3
- package/dist/nestjs/auth/index.d.ts.map +1 -1
- package/dist/nestjs/auth/index.js +8 -6
- package/dist/nestjs/auth/index.js.map +1 -1
- package/dist/nestjs/auth/org-role.guard.d.ts.map +1 -1
- package/dist/nestjs/auth/org-role.guard.js +2 -2
- package/dist/nestjs/auth/org-role.guard.js.map +1 -1
- package/dist/nestjs/auth/service-or-org-role.guard.d.ts.map +1 -1
- package/dist/nestjs/auth/service-or-org-role.guard.js +2 -2
- package/dist/nestjs/auth/service-or-org-role.guard.js.map +1 -1
- package/dist/nestjs/capability-edge-tenancy.d.ts +16 -0
- package/dist/nestjs/capability-edge-tenancy.d.ts.map +1 -0
- package/dist/nestjs/capability-edge-tenancy.js +44 -0
- package/dist/nestjs/capability-edge-tenancy.js.map +1 -0
- package/dist/nestjs/global-exception.filter.d.ts +1 -4
- package/dist/nestjs/global-exception.filter.d.ts.map +1 -1
- package/dist/nestjs/global-exception.filter.js +53 -179
- package/dist/nestjs/global-exception.filter.js.map +1 -1
- package/dist/nestjs/idempotency/idempotency.service.d.ts.map +1 -1
- package/dist/nestjs/idempotency/idempotency.service.js +2 -1
- package/dist/nestjs/idempotency/idempotency.service.js.map +1 -1
- package/dist/nestjs/index.d.ts +11 -7
- package/dist/nestjs/index.d.ts.map +1 -1
- package/dist/nestjs/index.js +31 -10
- package/dist/nestjs/index.js.map +1 -1
- package/dist/nestjs/jwt-verification.guard.d.ts +4 -1
- package/dist/nestjs/jwt-verification.guard.d.ts.map +1 -1
- package/dist/nestjs/jwt-verification.guard.js +17 -4
- package/dist/nestjs/jwt-verification.guard.js.map +1 -1
- package/dist/nestjs/org-scope.d.ts +9 -0
- package/dist/nestjs/org-scope.d.ts.map +1 -0
- package/dist/nestjs/org-scope.js +26 -0
- package/dist/nestjs/org-scope.js.map +1 -0
- package/dist/nestjs/pagination.d.ts +20 -3
- package/dist/nestjs/pagination.d.ts.map +1 -1
- package/dist/nestjs/pagination.js +90 -13
- package/dist/nestjs/pagination.js.map +1 -1
- package/dist/nestjs/problem-details.dto.d.ts +15 -0
- package/dist/nestjs/problem-details.dto.d.ts.map +1 -0
- package/dist/nestjs/problem-details.dto.js +103 -0
- package/dist/nestjs/problem-details.dto.js.map +1 -0
- package/dist/nestjs/refusal.d.ts +27 -0
- package/dist/nestjs/refusal.d.ts.map +1 -0
- package/dist/nestjs/refusal.js +231 -0
- package/dist/nestjs/refusal.js.map +1 -0
- package/dist/nestjs/request-context.middleware.d.ts +1 -0
- package/dist/nestjs/request-context.middleware.d.ts.map +1 -1
- package/dist/nestjs/request-context.middleware.js +48 -19
- package/dist/nestjs/request-context.middleware.js.map +1 -1
- package/dist/nestjs/swagger.decorators.d.ts +1 -0
- package/dist/nestjs/swagger.decorators.d.ts.map +1 -1
- package/dist/nestjs/swagger.decorators.js +22 -2
- package/dist/nestjs/swagger.decorators.js.map +1 -1
- package/package.json +9 -3
- package/prisma-url.d.ts +38 -0
- package/prisma-url.js +84 -0
- package/dist/lib/briefcase/index.d.ts +0 -18
- package/dist/lib/briefcase/index.d.ts.map +0 -1
- package/dist/lib/briefcase/index.js +0 -72
- package/dist/lib/briefcase/index.js.map +0 -1
- package/dist/lib/errors/pipeline-errors.d.ts +0 -178
- package/dist/lib/errors/pipeline-errors.d.ts.map +0 -1
- package/dist/lib/errors/pipeline-errors.js +0 -316
- package/dist/lib/errors/pipeline-errors.js.map +0 -1
- package/dist/lib/interaction-widgets/factories.d.ts +0 -83
- package/dist/lib/interaction-widgets/factories.d.ts.map +0 -1
- package/dist/lib/interaction-widgets/factories.js +0 -173
- package/dist/lib/interaction-widgets/factories.js.map +0 -1
- package/dist/lib/interaction-widgets/index.d.ts +0 -4
- package/dist/lib/interaction-widgets/index.d.ts.map +0 -1
- package/dist/lib/interaction-widgets/index.js.map +0 -1
- package/dist/lib/interaction-widgets/validation.d.ts +0 -10
- package/dist/lib/interaction-widgets/validation.d.ts.map +0 -1
- package/dist/lib/interaction-widgets/validation.js +0 -214
- package/dist/lib/interaction-widgets/validation.js.map +0 -1
- package/dist/lib/interaction-widgets/widget-types.d.ts +0 -163
- package/dist/lib/interaction-widgets/widget-types.d.ts.map +0 -1
- package/dist/lib/interaction-widgets/widget-types.js +0 -22
- package/dist/lib/interaction-widgets/widget-types.js.map +0 -1
- package/dist/lib/run-events/action-types.d.ts +0 -40
- package/dist/lib/run-events/action-types.d.ts.map +0 -1
- package/dist/lib/run-events/action-types.js +0 -40
- package/dist/lib/run-events/action-types.js.map +0 -1
- package/dist/lib/run-events/event-families.d.ts +0 -95
- package/dist/lib/run-events/event-families.d.ts.map +0 -1
- package/dist/lib/run-events/event-families.js +0 -282
- package/dist/lib/run-events/event-families.js.map +0 -1
- package/dist/lib/run-events/index.d.ts +0 -7
- package/dist/lib/run-events/index.d.ts.map +0 -1
- package/dist/lib/run-events/index.js +0 -23
- package/dist/lib/run-events/index.js.map +0 -1
- package/dist/lib/run-events/run-event.types.d.ts +0 -60
- package/dist/lib/run-events/run-event.types.d.ts.map +0 -1
- package/dist/lib/run-events/run-event.types.js +0 -57
- package/dist/lib/run-events/run-event.types.js.map +0 -1
- package/dist/lib/run-events/run-live-snapshot.types.d.ts +0 -69
- package/dist/lib/run-events/run-live-snapshot.types.d.ts.map +0 -1
- package/dist/lib/run-events/run-live-snapshot.types.js +0 -17
- package/dist/lib/run-events/run-live-snapshot.types.js.map +0 -1
- package/dist/lib/run-events/snapshot-reducer.d.ts +0 -4
- package/dist/lib/run-events/snapshot-reducer.d.ts.map +0 -1
- package/dist/lib/run-events/snapshot-reducer.js +0 -313
- package/dist/lib/run-events/snapshot-reducer.js.map +0 -1
- package/dist/lib/run-events/stream-contracts.d.ts +0 -79
- package/dist/lib/run-events/stream-contracts.d.ts.map +0 -1
- package/dist/lib/run-events/stream-contracts.js +0 -27
- package/dist/lib/run-events/stream-contracts.js.map +0 -1
- package/dist/lib/tag-taxonomy/concern-tags.d.ts +0 -3
- package/dist/lib/tag-taxonomy/concern-tags.d.ts.map +0 -1
- package/dist/lib/tag-taxonomy/concern-tags.js +0 -26
- package/dist/lib/tag-taxonomy/concern-tags.js.map +0 -1
- package/dist/lib/tag-taxonomy/index.d.ts +0 -14
- package/dist/lib/tag-taxonomy/index.d.ts.map +0 -1
- package/dist/lib/tag-taxonomy/index.js +0 -59
- package/dist/lib/tag-taxonomy/index.js.map +0 -1
- package/dist/lib/tag-taxonomy/lifecycle-tags.d.ts +0 -3
- package/dist/lib/tag-taxonomy/lifecycle-tags.d.ts.map +0 -1
- package/dist/lib/tag-taxonomy/lifecycle-tags.js +0 -57
- package/dist/lib/tag-taxonomy/lifecycle-tags.js.map +0 -1
- package/dist/lib/tag-taxonomy/stack-tags.d.ts +0 -3
- package/dist/lib/tag-taxonomy/stack-tags.d.ts.map +0 -1
- package/dist/lib/tag-taxonomy/stack-tags.js +0 -26
- package/dist/lib/tag-taxonomy/stack-tags.js.map +0 -1
- package/dist/lib/tag-taxonomy/team-tags.d.ts +0 -3
- package/dist/lib/tag-taxonomy/team-tags.d.ts.map +0 -1
- package/dist/lib/tag-taxonomy/team-tags.js +0 -84
- package/dist/lib/tag-taxonomy/team-tags.js.map +0 -1
- package/dist/lib/tag-taxonomy/types.d.ts +0 -14
- package/dist/lib/tag-taxonomy/types.d.ts.map +0 -1
- package/dist/lib/tag-taxonomy/types.js +0 -3
- package/dist/lib/tag-taxonomy/types.js.map +0 -1
- package/dist/nestjs/error-response.dto.d.ts +0 -10
- package/dist/nestjs/error-response.dto.d.ts.map +0 -1
- package/dist/nestjs/error-response.dto.js +0 -46
- package/dist/nestjs/error-response.dto.js.map +0 -1
- package/dist/schemas/xema/analysis.json +0 -51
- package/dist/schemas/xema/clarification-contract.json +0 -49
- package/dist/schemas/xema/context.json +0 -79
- package/dist/schemas/xema/index.d.ts +0 -8
- package/dist/schemas/xema/index.d.ts.map +0 -1
- package/dist/schemas/xema/index.js +0 -28
- package/dist/schemas/xema/index.js.map +0 -1
- package/dist/schemas/xema/review-history.json +0 -42
package/prisma-url.js
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* THE database-URL composition — and the ONE copy of it in this package.
|
|
5
|
+
*
|
|
6
|
+
* This file is plain CommonJS, committed rather than built, and it imports
|
|
7
|
+
* NOTHING. Every one of those three properties is load-bearing, and none of
|
|
8
|
+
* them is a style choice:
|
|
9
|
+
*
|
|
10
|
+
* - **Committed, not built.** A `prisma.config.ts` is loaded by the Prisma
|
|
11
|
+
* CLI during `postinstall` (`prisma generate`), i.e. BEFORE anything has
|
|
12
|
+
* been compiled. In the aggregator `pnpm.overrides` forces this package to
|
|
13
|
+
* `workspace:*`, so a consumer resolves a LINK to this source tree — where
|
|
14
|
+
* `dist/` is gitignored and does not exist yet. An entry that resolves
|
|
15
|
+
* into `dist/` therefore cannot be imported from a `prisma.config.ts` at
|
|
16
|
+
* all: measured on prisma 7.8.0, the CLI fails at CONFIG LOAD with
|
|
17
|
+
* `Failed to load config file ... Cannot find module .../dist/index.js`,
|
|
18
|
+
* which would break `pnpm install` for every service at once.
|
|
19
|
+
* - **Zero dependencies.** The same postinstall moment has no built
|
|
20
|
+
* first-party graph either. Reaching this file through the package's
|
|
21
|
+
* `xema-source` condition (`src/index.ts`) fails for exactly that reason —
|
|
22
|
+
* it cascades into `@xemahq/kernel-contracts/idempotency` and every other
|
|
23
|
+
* first-party import, each of which needs its own `dist`.
|
|
24
|
+
* - **CommonJS.** The package declares no `"type"`, so `.js` here is CJS and
|
|
25
|
+
* `require()`-able by the CLI's config loader without a transpile step.
|
|
26
|
+
*
|
|
27
|
+
* `src/database/biome-database.ts` RE-EXPORTS these functions rather than
|
|
28
|
+
* restating them, so the TypeScript surface every service's `main.ts` already
|
|
29
|
+
* imports and the build-free surface a `prisma.config.ts` imports are the same
|
|
30
|
+
* code. Do not add a second implementation on the TypeScript side: the whole
|
|
31
|
+
* reason this file exists is that 45 services hand-rolled this composition
|
|
32
|
+
* (29 of them in one repository, at 29 DISTINCT sha256), and a 46th copy
|
|
33
|
+
* shipped as the fix would be the defect wearing a fix's costume.
|
|
34
|
+
*
|
|
35
|
+
* What this file deliberately does NOT do: read `DATABASE_URL`, and throw.
|
|
36
|
+
* Both belong at the CALL SITE. A caller decides whether a pre-composed
|
|
37
|
+
* `DATABASE_URL` outranks the discrete parts, and a caller names ITSELF in the
|
|
38
|
+
* error — `null` here means "the parts are not all present", which is fatal at
|
|
39
|
+
* runtime and is NOT fatal for `prisma generate`, which never reads the URL.
|
|
40
|
+
* Deciding either of those here would take the choice away from the one place
|
|
41
|
+
* that can make it correctly.
|
|
42
|
+
*/
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Compose a Postgres connection URL from discrete parts, adding `?schema=`
|
|
46
|
+
* when a per-biome schema is supplied. Returns `null` when any required part
|
|
47
|
+
* is missing.
|
|
48
|
+
*
|
|
49
|
+
* @param {import('./prisma-url').BiomeDatabaseUrlParts} parts
|
|
50
|
+
* @returns {string | null}
|
|
51
|
+
*/
|
|
52
|
+
function composeBiomeDatabaseUrl(parts) {
|
|
53
|
+
const { user, password, host, port, database, schema, sslParams } = parts;
|
|
54
|
+
if (!user || !password || !host || !port || !database) {
|
|
55
|
+
return null;
|
|
56
|
+
}
|
|
57
|
+
const base = `postgresql://${user}:${encodeURIComponent(
|
|
58
|
+
password,
|
|
59
|
+
)}@${host}:${port}/${database}`;
|
|
60
|
+
const schemaPart = schema ? `schema=${schema}` : null;
|
|
61
|
+
const query = [schemaPart, sslParams].filter(Boolean).join('&');
|
|
62
|
+
return query ? `${base}?${query}` : base;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Convenience over {@link composeBiomeDatabaseUrl} reading the standard `DB_*`
|
|
67
|
+
* env contract. Pass a custom bag for tests; defaults to `process.env`.
|
|
68
|
+
*
|
|
69
|
+
* @param {NodeJS.ProcessEnv} [env]
|
|
70
|
+
* @returns {string | null}
|
|
71
|
+
*/
|
|
72
|
+
function composeBiomeDatabaseUrlFromEnv(env = process.env) {
|
|
73
|
+
return composeBiomeDatabaseUrl({
|
|
74
|
+
user: env.DB_USER,
|
|
75
|
+
password: env.DB_PASSWORD,
|
|
76
|
+
host: env.DB_HOST,
|
|
77
|
+
port: env.DB_PORT,
|
|
78
|
+
database: env.DB_NAME,
|
|
79
|
+
schema: env.DB_SCHEMA,
|
|
80
|
+
sslParams: env.DB_SSL_PARAMS,
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
module.exports = { composeBiomeDatabaseUrl, composeBiomeDatabaseUrlFromEnv };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { Briefcase, BriefcaseMcpTool, BriefcaseReference, BriefcaseReferenceKind, BriefcaseUpload } from '@xemahq/kernel-contracts/workflow';
|
|
2
|
-
export declare function resolveBriefcase(briefcase: Briefcase | undefined): Briefcase;
|
|
3
|
-
export declare function getVar(briefcase: Briefcase | undefined, key: string, fallback?: string): string | undefined;
|
|
4
|
-
export declare function requireVar(briefcase: Briefcase | undefined, key: string): string;
|
|
5
|
-
export declare class BriefcaseVarMissingError extends Error {
|
|
6
|
-
readonly key: string;
|
|
7
|
-
constructor(message: string, key: string);
|
|
8
|
-
}
|
|
9
|
-
export declare function getUploads(briefcase: Briefcase | undefined, filter?: {
|
|
10
|
-
readonly contentTypePrefix?: string;
|
|
11
|
-
}): readonly BriefcaseUpload[];
|
|
12
|
-
export declare function getReferences(briefcase: Briefcase | undefined, filter?: {
|
|
13
|
-
readonly kinds?: readonly BriefcaseReferenceKind[];
|
|
14
|
-
}): readonly BriefcaseReference[];
|
|
15
|
-
export declare function getMcpTools(briefcase: Briefcase | undefined): readonly BriefcaseMcpTool[];
|
|
16
|
-
export declare function isEmpty(briefcase: Briefcase | undefined): boolean;
|
|
17
|
-
export declare function briefcaseSummary(briefcase: Briefcase | undefined): string;
|
|
18
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3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 -1,72 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BriefcaseVarMissingError = void 0;
|
|
4
|
-
exports.resolveBriefcase = resolveBriefcase;
|
|
5
|
-
exports.getVar = getVar;
|
|
6
|
-
exports.requireVar = requireVar;
|
|
7
|
-
exports.getUploads = getUploads;
|
|
8
|
-
exports.getReferences = getReferences;
|
|
9
|
-
exports.getMcpTools = getMcpTools;
|
|
10
|
-
exports.isEmpty = isEmpty;
|
|
11
|
-
exports.briefcaseSummary = briefcaseSummary;
|
|
12
|
-
const workflow_1 = require("@xemahq/kernel-contracts/workflow");
|
|
13
|
-
function resolveBriefcase(briefcase) {
|
|
14
|
-
return briefcase ?? (0, workflow_1.emptyBriefcase)();
|
|
15
|
-
}
|
|
16
|
-
function getVar(briefcase, key, fallback) {
|
|
17
|
-
const value = briefcase?.vars?.[key];
|
|
18
|
-
if (typeof value === 'string')
|
|
19
|
-
return value;
|
|
20
|
-
return fallback;
|
|
21
|
-
}
|
|
22
|
-
function requireVar(briefcase, key) {
|
|
23
|
-
const value = getVar(briefcase, key);
|
|
24
|
-
if (value === undefined) {
|
|
25
|
-
throw new BriefcaseVarMissingError(`Briefcase var '${key}' is required but not set. Available keys: [${Object.keys(briefcase?.vars ?? {}).join(', ')}]`, key);
|
|
26
|
-
}
|
|
27
|
-
return value;
|
|
28
|
-
}
|
|
29
|
-
class BriefcaseVarMissingError extends Error {
|
|
30
|
-
key;
|
|
31
|
-
constructor(message, key) {
|
|
32
|
-
super(message);
|
|
33
|
-
this.name = 'BriefcaseVarMissingError';
|
|
34
|
-
this.key = key;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
exports.BriefcaseVarMissingError = BriefcaseVarMissingError;
|
|
38
|
-
function getUploads(briefcase, filter) {
|
|
39
|
-
const all = briefcase?.uploads ?? [];
|
|
40
|
-
if (!filter?.contentTypePrefix)
|
|
41
|
-
return all;
|
|
42
|
-
const prefix = filter.contentTypePrefix;
|
|
43
|
-
return all.filter((u) => u.contentType !== null && u.contentType.startsWith(prefix));
|
|
44
|
-
}
|
|
45
|
-
function getReferences(briefcase, filter) {
|
|
46
|
-
const all = briefcase?.references ?? [];
|
|
47
|
-
if (!filter?.kinds || filter.kinds.length === 0)
|
|
48
|
-
return all;
|
|
49
|
-
const kindSet = new Set(filter.kinds);
|
|
50
|
-
return all.filter((r) => kindSet.has(r.kind));
|
|
51
|
-
}
|
|
52
|
-
function getMcpTools(briefcase) {
|
|
53
|
-
return briefcase?.mcpTools ?? [];
|
|
54
|
-
}
|
|
55
|
-
function isEmpty(briefcase) {
|
|
56
|
-
if (!briefcase)
|
|
57
|
-
return true;
|
|
58
|
-
return (Object.keys(briefcase.vars).length === 0 &&
|
|
59
|
-
briefcase.uploads.length === 0 &&
|
|
60
|
-
briefcase.references.length === 0 &&
|
|
61
|
-
briefcase.mcpTools.length === 0);
|
|
62
|
-
}
|
|
63
|
-
function briefcaseSummary(briefcase) {
|
|
64
|
-
if (isEmpty(briefcase))
|
|
65
|
-
return 'briefcase=empty';
|
|
66
|
-
const bc = briefcase;
|
|
67
|
-
return (`briefcase=uploads:${bc.uploads.length} ` +
|
|
68
|
-
`refs:${bc.references.length} ` +
|
|
69
|
-
`vars:[${Object.keys(bc.vars).join(',')}] ` +
|
|
70
|
-
`mcpTools:${bc.mcpTools.length}`);
|
|
71
|
-
}
|
|
72
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/briefcase/index.ts"],"names":[],"mappings":";;;AAoCA,4CAEC;AAGD,wBAQC;AAGD,gCAYC;AAgBD,gCAUC;AAOD,sCAQC;AASD,kCAIC;AAQD,0BAQC;AAQD,4CASC;AA3HD,gEAAmE;AAQnE,SAAgB,gBAAgB,CAAC,SAAgC;IAC/D,OAAO,SAAS,IAAI,IAAA,yBAAc,GAAE,CAAC;A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,EAAE,CAAC,QAAQ,CAAC,MAAM,EAAE,CACjC,CAAC;AACJ,CAAC"}
|
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
export declare abstract class PipelineError extends Error {
|
|
2
|
-
abstract readonly kind: string;
|
|
3
|
-
readonly causeError: unknown;
|
|
4
|
-
protected constructor(message: string, cause?: unknown);
|
|
5
|
-
}
|
|
6
|
-
export declare class CredentialRefreshError extends PipelineError {
|
|
7
|
-
readonly scope: 'llm' | 'mcp';
|
|
8
|
-
readonly allocationId: string | undefined;
|
|
9
|
-
readonly consecutiveFailures: number;
|
|
10
|
-
readonly kind: "credential-refresh";
|
|
11
|
-
constructor(message: string, scope: 'llm' | 'mcp', allocationId: string | undefined, consecutiveFailures: number, cause?: unknown);
|
|
12
|
-
}
|
|
13
|
-
export declare class McpInjectionError extends PipelineError {
|
|
14
|
-
readonly proxyUrl: string;
|
|
15
|
-
readonly kind: "mcp-injection";
|
|
16
|
-
constructor(message: string, proxyUrl: string, cause?: unknown);
|
|
17
|
-
}
|
|
18
|
-
export declare class McpToolAuthorizationError extends PipelineError {
|
|
19
|
-
readonly allocationId: string;
|
|
20
|
-
readonly reason: string;
|
|
21
|
-
readonly kind: "mcp-tool-authorization";
|
|
22
|
-
constructor(message: string, allocationId: string, reason: string, cause?: unknown);
|
|
23
|
-
}
|
|
24
|
-
export declare class ProjectVariableInjectionError extends PipelineError {
|
|
25
|
-
readonly kind: "project-variable-injection";
|
|
26
|
-
constructor(message: string, cause?: unknown);
|
|
27
|
-
}
|
|
28
|
-
export declare class CallbackHeadersError extends PipelineError {
|
|
29
|
-
readonly kind: "callback-headers";
|
|
30
|
-
constructor(message: string, cause?: unknown);
|
|
31
|
-
}
|
|
32
|
-
export declare class SessionCreatedTimeoutError extends PipelineError {
|
|
33
|
-
readonly groupKey: string;
|
|
34
|
-
readonly kind: "session-created-timeout";
|
|
35
|
-
constructor(message: string, groupKey: string);
|
|
36
|
-
}
|
|
37
|
-
export declare class SessionTerminationError extends PipelineError {
|
|
38
|
-
readonly failedSessionIds: ReadonlyArray<string>;
|
|
39
|
-
readonly kind: "session-termination";
|
|
40
|
-
constructor(message: string, failedSessionIds: ReadonlyArray<string>, cause?: unknown);
|
|
41
|
-
}
|
|
42
|
-
export declare class PoolReleaseError extends PipelineError {
|
|
43
|
-
readonly allocationId: string;
|
|
44
|
-
readonly kind: "pool-release";
|
|
45
|
-
constructor(message: string, allocationId: string, cause?: unknown);
|
|
46
|
-
}
|
|
47
|
-
export declare class FrontmatterParseError extends PipelineError {
|
|
48
|
-
readonly source: string;
|
|
49
|
-
readonly kind: "frontmatter-parse";
|
|
50
|
-
constructor(message: string, source: string, cause?: unknown);
|
|
51
|
-
}
|
|
52
|
-
export declare class FrontmatterEncodingError extends PipelineError {
|
|
53
|
-
readonly detectedEncoding: string;
|
|
54
|
-
readonly kind: "frontmatter-encoding";
|
|
55
|
-
constructor(message: string, detectedEncoding: string);
|
|
56
|
-
}
|
|
57
|
-
export declare class ManifestParseError extends PipelineError {
|
|
58
|
-
readonly path: string;
|
|
59
|
-
readonly rawContent: string;
|
|
60
|
-
readonly kind: "manifest-parse";
|
|
61
|
-
constructor(message: string, path: string, rawContent: string, cause?: unknown);
|
|
62
|
-
}
|
|
63
|
-
export declare class ManifestSlugMismatchError extends PipelineError {
|
|
64
|
-
readonly manifestSlug: string;
|
|
65
|
-
readonly availableSlugs: ReadonlyArray<string>;
|
|
66
|
-
readonly kind: "manifest-slug-mismatch";
|
|
67
|
-
constructor(message: string, manifestSlug: string, availableSlugs: ReadonlyArray<string>);
|
|
68
|
-
}
|
|
69
|
-
export declare class ManifestSlugMissingError extends PipelineError {
|
|
70
|
-
readonly context: string;
|
|
71
|
-
readonly kind: "manifest-slug-missing";
|
|
72
|
-
constructor(message: string, context: string);
|
|
73
|
-
}
|
|
74
|
-
export declare class ArtifactSchemaVersionMismatchError extends PipelineError {
|
|
75
|
-
readonly kind_: string;
|
|
76
|
-
readonly got: string;
|
|
77
|
-
readonly expected: ReadonlyArray<string>;
|
|
78
|
-
readonly kind: "artifact-schema-version-mismatch";
|
|
79
|
-
constructor(message: string, kind_: string, got: string, expected: ReadonlyArray<string>);
|
|
80
|
-
}
|
|
81
|
-
export declare class ArtifactPayloadShapeError extends PipelineError {
|
|
82
|
-
readonly artifactType: string;
|
|
83
|
-
readonly outputKind: string;
|
|
84
|
-
readonly zodIssues: unknown;
|
|
85
|
-
readonly kind: "artifact-payload-shape-invalid";
|
|
86
|
-
constructor(message: string, artifactType: string, outputKind: string, zodIssues: unknown);
|
|
87
|
-
}
|
|
88
|
-
export declare class OptionalProjectionIncompleteError extends PipelineError {
|
|
89
|
-
readonly declaredPages: number;
|
|
90
|
-
readonly producedPages: number;
|
|
91
|
-
readonly kind: "optional-projection-incomplete";
|
|
92
|
-
constructor(message: string, declaredPages: number, producedPages: number);
|
|
93
|
-
}
|
|
94
|
-
export declare class WorkItemPayloadInvalidError extends PipelineError {
|
|
95
|
-
readonly workItemId: string;
|
|
96
|
-
readonly zodIssues: unknown;
|
|
97
|
-
readonly kind: "work-item-payload-invalid";
|
|
98
|
-
constructor(message: string, workItemId: string, zodIssues: unknown);
|
|
99
|
-
}
|
|
100
|
-
export declare class PhaseDagMissingDependencyError extends PipelineError {
|
|
101
|
-
readonly groupKey: string;
|
|
102
|
-
readonly missingDependency: string;
|
|
103
|
-
readonly kind: "phase-dag-missing-dependency";
|
|
104
|
-
constructor(message: string, groupKey: string, missingDependency: string);
|
|
105
|
-
}
|
|
106
|
-
export declare class CoordinatorRejectionContextMissingError extends PipelineError {
|
|
107
|
-
readonly groupKey: string;
|
|
108
|
-
readonly attemptNumber: number;
|
|
109
|
-
readonly kind: "coordinator-rejection-context-missing";
|
|
110
|
-
constructor(message: string, groupKey: string, attemptNumber: number);
|
|
111
|
-
}
|
|
112
|
-
export declare class CapabilityReviewerResolutionError extends PipelineError {
|
|
113
|
-
readonly kind: "capability-reviewer-resolution";
|
|
114
|
-
constructor(message: string, cause?: unknown);
|
|
115
|
-
}
|
|
116
|
-
export declare class CapabilityReviewerConfigError extends PipelineError {
|
|
117
|
-
readonly groupKey: string;
|
|
118
|
-
readonly requiredCount: number;
|
|
119
|
-
readonly producedCount: number;
|
|
120
|
-
readonly kind: "capability-reviewer-config";
|
|
121
|
-
constructor(message: string, groupKey: string, requiredCount: number, producedCount: number);
|
|
122
|
-
}
|
|
123
|
-
export declare class DeliverableFetchError extends PipelineError {
|
|
124
|
-
readonly failedDeliverables: ReadonlyArray<string>;
|
|
125
|
-
readonly kind: "deliverable-fetch";
|
|
126
|
-
constructor(message: string, failedDeliverables: ReadonlyArray<string>, cause?: unknown);
|
|
127
|
-
}
|
|
128
|
-
export declare class RegionRefResolutionError extends PipelineError {
|
|
129
|
-
readonly pageId: string;
|
|
130
|
-
readonly reason: 'hash-mismatch' | 'quote-mismatch' | 'page-not-found';
|
|
131
|
-
readonly kind: "region-ref-resolution";
|
|
132
|
-
constructor(message: string, pageId: string, reason: 'hash-mismatch' | 'quote-mismatch' | 'page-not-found');
|
|
133
|
-
}
|
|
134
|
-
export declare class UserReviewActionInvalidError extends PipelineError {
|
|
135
|
-
readonly zodIssues: unknown;
|
|
136
|
-
readonly kind: "user-review-action-invalid";
|
|
137
|
-
constructor(message: string, zodIssues: unknown);
|
|
138
|
-
}
|
|
139
|
-
export declare class KbSpaceSlugMissingError extends PipelineError {
|
|
140
|
-
readonly context: string;
|
|
141
|
-
readonly kind: "kb-space-slug-missing";
|
|
142
|
-
constructor(message: string, context: string);
|
|
143
|
-
}
|
|
144
|
-
export declare class KbWritePhaseMissingError extends PipelineError {
|
|
145
|
-
readonly kind: "kb-write-phase-missing";
|
|
146
|
-
constructor(message: string);
|
|
147
|
-
}
|
|
148
|
-
export declare class ContractIncompleteError extends PipelineError {
|
|
149
|
-
readonly contractType: string;
|
|
150
|
-
readonly missingFields: ReadonlyArray<string>;
|
|
151
|
-
readonly kind: "contract-incomplete";
|
|
152
|
-
constructor(message: string, contractType: string, missingFields: ReadonlyArray<string>);
|
|
153
|
-
}
|
|
154
|
-
export declare class EntityExtractionError extends PipelineError {
|
|
155
|
-
readonly kind: "entity-extraction";
|
|
156
|
-
constructor(message: string, cause?: unknown);
|
|
157
|
-
}
|
|
158
|
-
export declare class AgentBudgetExceededError extends PipelineError {
|
|
159
|
-
readonly dimension: 'maxDepth' | 'maxSpawns' | 'tokenBudget';
|
|
160
|
-
readonly observed: number;
|
|
161
|
-
readonly limit: number;
|
|
162
|
-
readonly agentSlug: string;
|
|
163
|
-
readonly stageKey: string | null;
|
|
164
|
-
readonly kind: "composition-budget-exceeded";
|
|
165
|
-
constructor(message: string, dimension: 'maxDepth' | 'maxSpawns' | 'tokenBudget', observed: number, limit: number, agentSlug: string, stageKey: string | null);
|
|
166
|
-
}
|
|
167
|
-
export declare class MemoryEffectivenessUpdateError extends PipelineError {
|
|
168
|
-
readonly failed: ReadonlyArray<{
|
|
169
|
-
id: string;
|
|
170
|
-
reason: string;
|
|
171
|
-
}>;
|
|
172
|
-
readonly kind: "memory-effectiveness-update";
|
|
173
|
-
constructor(message: string, failed: ReadonlyArray<{
|
|
174
|
-
id: string;
|
|
175
|
-
reason: string;
|
|
176
|
-
}>);
|
|
177
|
-
}
|
|
178
|
-
//# sourceMappingURL=pipeline-errors.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline-errors.d.ts","sourceRoot":"","sources":["../../../src/lib/errors/pipeline-errors.ts"],"names":[],"mappings":"AA0BA,8BAAsB,aAAc,SAAQ,KAAK;IAE/C,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAG/B,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;IAE7B,SAAS,aAAa,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO;CAQvD;AAWD,qBAAa,sBAAuB,SAAQ,aAAa;IAIrD,QAAQ,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK;IAC7B,QAAQ,CAAC,YAAY,EA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