@lucern/pack-host 0.3.0-alpha.9 → 1.0.1
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/domain-pack/authoring.core.d.ts +161 -0
- package/dist/domain-pack/authoring.core.js +411 -0
- package/dist/domain-pack/authoring.core.js.map +1 -0
- package/dist/domain-pack/authoring.d.ts +12 -170
- package/dist/domain-pack/authoring.js +1155 -1098
- package/dist/domain-pack/authoring.js.map +1 -1
- package/dist/domain-pack/authoring.validation.d.ts +28 -0
- package/dist/domain-pack/authoring.validation.js +1944 -0
- package/dist/domain-pack/authoring.validation.js.map +1 -0
- package/dist/domain-pack/index.d.ts +2 -1
- package/dist/domain-pack/index.js +1979 -1917
- package/dist/domain-pack/index.js.map +1 -1
- package/dist/domain-pack/packs/engineering-accelerator-tail.d.ts +256 -0
- package/dist/domain-pack/packs/engineering-accelerator-tail.js +716 -0
- package/dist/domain-pack/packs/engineering-accelerator-tail.js.map +1 -0
- package/dist/domain-pack/packs/engineering-accelerator.js +790 -785
- package/dist/domain-pack/packs/engineering-accelerator.js.map +1 -1
- package/dist/domain-pack/packs/index.js +790 -785
- package/dist/domain-pack/packs/index.js.map +1 -1
- package/dist/domain-pack.d.ts +2 -1
- package/dist/domain-pack.js +1979 -1917
- package/dist/domain-pack.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +1843 -1661
- package/dist/index.js.map +1 -1
- package/dist/manifests/chat-v1.js +17 -6
- package/dist/manifests/chat-v1.js.map +1 -1
- package/dist/manifests/deals-v1.js +10 -7
- package/dist/manifests/deals-v1.js.map +1 -1
- package/dist/manifests/decisions-v1.js +11 -4
- package/dist/manifests/decisions-v1.js.map +1 -1
- package/dist/manifests/documents-v1.js +12 -12
- package/dist/manifests/documents-v1.js.map +1 -1
- package/dist/manifests/epistemic-algorithms-v1.js +11 -6
- package/dist/manifests/epistemic-algorithms-v1.js.map +1 -1
- package/dist/manifests/graph-visualization-v1.js +9 -5
- package/dist/manifests/graph-visualization-v1.js.map +1 -1
- package/dist/manifests/index.d.ts +1 -0
- package/dist/manifests/index.js +230 -110
- package/dist/manifests/index.js.map +1 -1
- package/dist/manifests/news-v1.js +12 -13
- package/dist/manifests/news-v1.js.map +1 -1
- package/dist/manifests/philosophy-mode-v1.js +10 -12
- package/dist/manifests/philosophy-mode-v1.js.map +1 -1
- package/dist/manifests/sprints-v1.d.ts +10 -0
- package/dist/manifests/sprints-v1.js +106 -0
- package/dist/manifests/sprints-v1.js.map +1 -0
- package/dist/manifests/task-management-v1.js +18 -6
- package/dist/manifests/task-management-v1.js.map +1 -1
- package/dist/manifests/team-analysis-v1.js +12 -9
- package/dist/manifests/team-analysis-v1.js.map +1 -1
- package/dist/manifests/themes-v1.js +12 -16
- package/dist/manifests/themes-v1.js.map +1 -1
- package/dist/manifests/user-profiles-v1.js +9 -13
- package/dist/manifests/user-profiles-v1.js.map +1 -1
- package/dist/manifests.d.ts +1 -0
- package/dist/manifests.js +230 -110
- package/dist/manifests.js.map +1 -1
- package/dist/proof-attestation.json +1 -1
- package/dist/registry.js +229 -109
- package/dist/registry.js.map +1 -1
- package/package.json +2 -1
|
@@ -1,172 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { DomainPackAuthoringToolset, DomainPackAuthoringManifest, DomainPackAuthoringManifestInput, DomainPackAuthoringPreview, DomainPackManifestFormat, DomainPackPublishResult, DomainPackAuthoringValidationResult } from './authoring.core.js';
|
|
2
|
+
export { DomainPackAuthoringMetadata, DomainPackAuthoringToolDefinition, DomainPackAuthoringToolInput, DomainPackAuthoringValidationIssue, DomainPackFrameworkContract, DomainPackLineage, DomainPackLineageMode, DomainPackManifestCounts, DomainPackOntologyEdgeExtension, DomainPackOntologyEntityExtension, DomainPackOntologyExtension, DomainPackPublication, DomainPackPublicationLineageEdge, DomainPackSchemaExtension, DomainPackSchemaExtensionTarget, defineDomainPackAuthoringManifest, parseDomainPackAuthoringManifest, serializeDomainPackAuthoringManifest } from './authoring.core.js';
|
|
3
|
+
import './contracts.js';
|
|
4
|
+
import './validation.js';
|
|
3
5
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
*/
|
|
6
|
+
declare const validateDomainPackAuthoringManifest: (manifest: DomainPackAuthoringManifest | DomainPackAuthoringManifestInput) => DomainPackAuthoringValidationResult;
|
|
7
|
+
declare const validateDomainPackAuthoringManifestSource: (source: string, format?: DomainPackManifestFormat) => DomainPackAuthoringValidationResult;
|
|
8
|
+
declare const previewDomainPackAuthoringManifest: (manifest: DomainPackAuthoringManifest | DomainPackAuthoringManifestInput) => DomainPackAuthoringPreview;
|
|
9
|
+
declare const previewDomainPackAuthoringManifestSource: (source: string, format?: DomainPackManifestFormat) => DomainPackAuthoringPreview;
|
|
10
|
+
declare const publishDomainPackAuthoringManifest: (manifest: DomainPackAuthoringManifest | DomainPackAuthoringManifestInput) => DomainPackPublishResult;
|
|
11
|
+
declare const publishDomainPackAuthoringManifestSource: (source: string, format?: DomainPackManifestFormat) => DomainPackPublishResult;
|
|
12
|
+
declare const createDomainPackAuthoringTools: () => DomainPackAuthoringToolset;
|
|
12
13
|
|
|
13
|
-
|
|
14
|
-
declare const AUTHORING_TOOL_NAMES: {
|
|
15
|
-
readonly validate: "validate_domain_pack_manifest";
|
|
16
|
-
readonly preview: "preview_domain_pack_manifest";
|
|
17
|
-
readonly publish: "publish_domain_pack_manifest";
|
|
18
|
-
};
|
|
19
|
-
type DomainPackManifestFormat = "json" | "yaml";
|
|
20
|
-
type DomainPackFrameworkContract = {
|
|
21
|
-
frameworkId: string;
|
|
22
|
-
version: string;
|
|
23
|
-
versionConstraint?: string;
|
|
24
|
-
required?: boolean;
|
|
25
|
-
runtimeTargets?: RuntimeTarget[];
|
|
26
|
-
};
|
|
27
|
-
type DomainPackSchemaExtensionTarget = "artifact" | "workflow" | "gate" | "prompt" | "tool" | "install-profile" | "topic-template";
|
|
28
|
-
type DomainPackSchemaExtension = {
|
|
29
|
-
extensionId: string;
|
|
30
|
-
target: DomainPackSchemaExtensionTarget;
|
|
31
|
-
description: string;
|
|
32
|
-
version: string;
|
|
33
|
-
extends?: string;
|
|
34
|
-
schema: Record<string, unknown>;
|
|
35
|
-
};
|
|
36
|
-
type DomainPackOntologyEntityExtension = {
|
|
37
|
-
value: string;
|
|
38
|
-
label: string;
|
|
39
|
-
description?: string;
|
|
40
|
-
schema?: Record<string, unknown>;
|
|
41
|
-
subtypes?: string[];
|
|
42
|
-
};
|
|
43
|
-
type DomainPackOntologyEdgeExtension = {
|
|
44
|
-
value: string;
|
|
45
|
-
label: string;
|
|
46
|
-
description?: string;
|
|
47
|
-
sourceTypes?: string[];
|
|
48
|
-
targetTypes?: string[];
|
|
49
|
-
constraintSeverity?: "error" | "warning" | "informational";
|
|
50
|
-
};
|
|
51
|
-
type DomainPackOntologyExtension = {
|
|
52
|
-
extensionId: string;
|
|
53
|
-
ontologyId: string;
|
|
54
|
-
baseVersionConstraint: string;
|
|
55
|
-
additiveOnly: boolean;
|
|
56
|
-
entityTypes?: DomainPackOntologyEntityExtension[];
|
|
57
|
-
edgeTypes?: DomainPackOntologyEdgeExtension[];
|
|
58
|
-
};
|
|
59
|
-
type DomainPackLineageMode = "root" | "remix" | "fork";
|
|
60
|
-
type DomainPackLineage = {
|
|
61
|
-
mode: DomainPackLineageMode;
|
|
62
|
-
parentPackId?: string;
|
|
63
|
-
parentVersion?: string;
|
|
64
|
-
parentManifestDigest?: string;
|
|
65
|
-
supersedesPackId?: string;
|
|
66
|
-
notes?: string;
|
|
67
|
-
};
|
|
68
|
-
type DomainPackAuthoringMetadata = {
|
|
69
|
-
description?: string;
|
|
70
|
-
owner?: string;
|
|
71
|
-
tags?: string[];
|
|
72
|
-
};
|
|
73
|
-
type DomainPackAuthoringManifest = {
|
|
74
|
-
kind: typeof DOMAIN_PACK_MANIFEST_KIND;
|
|
75
|
-
manifestVersion: string;
|
|
76
|
-
pack: DomainPack;
|
|
77
|
-
frameworks?: DomainPackFrameworkContract[];
|
|
78
|
-
schemaExtensions?: DomainPackSchemaExtension[];
|
|
79
|
-
ontologyExtensions?: DomainPackOntologyExtension[];
|
|
80
|
-
lineage: DomainPackLineage;
|
|
81
|
-
metadata?: DomainPackAuthoringMetadata;
|
|
82
|
-
};
|
|
83
|
-
type DomainPackAuthoringManifestInput = {
|
|
84
|
-
kind?: typeof DOMAIN_PACK_MANIFEST_KIND;
|
|
85
|
-
manifestVersion?: string;
|
|
86
|
-
pack: DomainPack | DomainPackInput;
|
|
87
|
-
frameworks?: DomainPackFrameworkContract[];
|
|
88
|
-
schemaExtensions?: DomainPackSchemaExtension[];
|
|
89
|
-
ontologyExtensions?: DomainPackOntologyExtension[];
|
|
90
|
-
lineage?: DomainPackLineage;
|
|
91
|
-
metadata?: DomainPackAuthoringMetadata;
|
|
92
|
-
};
|
|
93
|
-
type DomainPackAuthoringValidationIssue = DomainPackValidationIssue & {
|
|
94
|
-
source: "manifest" | "pack" | "framework" | "schema-extension" | "ontology-extension" | "lineage" | "terminology" | "parse";
|
|
95
|
-
};
|
|
96
|
-
type DomainPackManifestCounts = {
|
|
97
|
-
topicRoots: number;
|
|
98
|
-
workflows: number;
|
|
99
|
-
gates: number;
|
|
100
|
-
artifacts: number;
|
|
101
|
-
roles: number;
|
|
102
|
-
prompts: number;
|
|
103
|
-
tools: number;
|
|
104
|
-
setupAssets: number;
|
|
105
|
-
installProfiles: number;
|
|
106
|
-
frameworks: number;
|
|
107
|
-
schemaExtensions: number;
|
|
108
|
-
ontologyExtensions: number;
|
|
109
|
-
};
|
|
110
|
-
type DomainPackAuthoringValidationResult = {
|
|
111
|
-
valid: boolean;
|
|
112
|
-
format: DomainPackManifestFormat | null;
|
|
113
|
-
manifest: DomainPackAuthoringManifest | null;
|
|
114
|
-
manifestDigest: string | null;
|
|
115
|
-
issues: DomainPackAuthoringValidationIssue[];
|
|
116
|
-
counts: DomainPackManifestCounts;
|
|
117
|
-
};
|
|
118
|
-
type DomainPackAuthoringPreview = DomainPackAuthoringValidationResult & {
|
|
119
|
-
readyToPublish: boolean;
|
|
120
|
-
canonicalJson: string | null;
|
|
121
|
-
canonicalYaml: string | null;
|
|
122
|
-
lineageSummary: string | null;
|
|
123
|
-
requiredRuntimeTargets: RuntimeTarget[];
|
|
124
|
-
};
|
|
125
|
-
type DomainPackPublicationLineageEdge = {
|
|
126
|
-
edgeType: "remixed_from" | "supersedes";
|
|
127
|
-
childPackId: string;
|
|
128
|
-
parentPackId: string;
|
|
129
|
-
parentVersion: string;
|
|
130
|
-
};
|
|
131
|
-
type DomainPackPublication = {
|
|
132
|
-
publicationId: string;
|
|
133
|
-
packId: string;
|
|
134
|
-
version: string;
|
|
135
|
-
manifestDigest: string;
|
|
136
|
-
manifest: DomainPackAuthoringManifest;
|
|
137
|
-
lineageEdge: DomainPackPublicationLineageEdge | null;
|
|
138
|
-
canonicalJson: string;
|
|
139
|
-
canonicalYaml: string;
|
|
140
|
-
};
|
|
141
|
-
type DomainPackPublishResult = {
|
|
142
|
-
published: boolean;
|
|
143
|
-
preview: DomainPackAuthoringPreview;
|
|
144
|
-
publication: DomainPackPublication | null;
|
|
145
|
-
};
|
|
146
|
-
type DomainPackAuthoringToolInput = {
|
|
147
|
-
manifestText: string;
|
|
148
|
-
format?: DomainPackManifestFormat;
|
|
149
|
-
};
|
|
150
|
-
type DomainPackAuthoringToolDefinition<Result> = {
|
|
151
|
-
name: typeof AUTHORING_TOOL_NAMES.validate | typeof AUTHORING_TOOL_NAMES.preview | typeof AUTHORING_TOOL_NAMES.publish;
|
|
152
|
-
description: string;
|
|
153
|
-
inputSchema: Record<string, unknown>;
|
|
154
|
-
execute: (args: DomainPackAuthoringToolInput) => Result;
|
|
155
|
-
};
|
|
156
|
-
type DomainPackAuthoringToolset = {
|
|
157
|
-
validate: DomainPackAuthoringToolDefinition<DomainPackAuthoringValidationResult>;
|
|
158
|
-
preview: DomainPackAuthoringToolDefinition<DomainPackAuthoringPreview>;
|
|
159
|
-
publish: DomainPackAuthoringToolDefinition<DomainPackPublishResult>;
|
|
160
|
-
};
|
|
161
|
-
declare function defineDomainPackAuthoringManifest(input: DomainPackAuthoringManifestInput): DomainPackAuthoringManifest;
|
|
162
|
-
declare function serializeDomainPackAuthoringManifest(manifest: DomainPackAuthoringManifest, format?: DomainPackManifestFormat): string;
|
|
163
|
-
declare function parseDomainPackAuthoringManifest(source: string, format?: DomainPackManifestFormat): DomainPackAuthoringManifest;
|
|
164
|
-
declare function validateDomainPackAuthoringManifest(manifest: DomainPackAuthoringManifest | DomainPackAuthoringManifestInput): DomainPackAuthoringValidationResult;
|
|
165
|
-
declare function validateDomainPackAuthoringManifestSource(source: string, format?: DomainPackManifestFormat): DomainPackAuthoringValidationResult;
|
|
166
|
-
declare function previewDomainPackAuthoringManifest(manifest: DomainPackAuthoringManifest | DomainPackAuthoringManifestInput): DomainPackAuthoringPreview;
|
|
167
|
-
declare function previewDomainPackAuthoringManifestSource(source: string, format?: DomainPackManifestFormat): DomainPackAuthoringPreview;
|
|
168
|
-
declare function publishDomainPackAuthoringManifest(manifest: DomainPackAuthoringManifest | DomainPackAuthoringManifestInput): DomainPackPublishResult;
|
|
169
|
-
declare function publishDomainPackAuthoringManifestSource(source: string, format?: DomainPackManifestFormat): DomainPackPublishResult;
|
|
170
|
-
declare function createDomainPackAuthoringTools(): DomainPackAuthoringToolset;
|
|
171
|
-
|
|
172
|
-
export { type DomainPackAuthoringManifest, type DomainPackAuthoringManifestInput, type DomainPackAuthoringMetadata, type DomainPackAuthoringPreview, type DomainPackAuthoringToolDefinition, type DomainPackAuthoringToolInput, type DomainPackAuthoringToolset, type DomainPackAuthoringValidationIssue, type DomainPackAuthoringValidationResult, type DomainPackFrameworkContract, type DomainPackLineage, type DomainPackLineageMode, type DomainPackManifestCounts, type DomainPackManifestFormat, type DomainPackOntologyEdgeExtension, type DomainPackOntologyEntityExtension, type DomainPackOntologyExtension, type DomainPackPublication, type DomainPackPublicationLineageEdge, type DomainPackPublishResult, type DomainPackSchemaExtension, type DomainPackSchemaExtensionTarget, createDomainPackAuthoringTools, defineDomainPackAuthoringManifest, parseDomainPackAuthoringManifest, previewDomainPackAuthoringManifest, previewDomainPackAuthoringManifestSource, publishDomainPackAuthoringManifest, publishDomainPackAuthoringManifestSource, serializeDomainPackAuthoringManifest, validateDomainPackAuthoringManifest, validateDomainPackAuthoringManifestSource };
|
|
14
|
+
export { DomainPackAuthoringManifest, DomainPackAuthoringManifestInput, DomainPackAuthoringPreview, DomainPackAuthoringToolset, DomainPackAuthoringValidationResult, DomainPackManifestFormat, DomainPackPublishResult, createDomainPackAuthoringTools, previewDomainPackAuthoringManifest, previewDomainPackAuthoringManifestSource, publishDomainPackAuthoringManifest, publishDomainPackAuthoringManifestSource, validateDomainPackAuthoringManifest, validateDomainPackAuthoringManifestSource };
|