gik-components 0.2.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/LICENSE +21 -0
- package/README.md +373 -0
- package/dist/agent-facing-DjAMQ4Ju.d.ts +110 -0
- package/dist/agent-facing.d.ts +8 -0
- package/dist/agent-facing.js +2 -0
- package/dist/agent-facing.js.map +1 -0
- package/dist/chunk-2I33SAGT.js +2 -0
- package/dist/chunk-2I33SAGT.js.map +1 -0
- package/dist/chunk-2XVVN3LX.js +7 -0
- package/dist/chunk-2XVVN3LX.js.map +1 -0
- package/dist/chunk-4BIHH7HT.js +2 -0
- package/dist/chunk-4BIHH7HT.js.map +1 -0
- package/dist/chunk-6JMFZS2Y.js +2 -0
- package/dist/chunk-6JMFZS2Y.js.map +1 -0
- package/dist/chunk-6TBEAKS7.js +2 -0
- package/dist/chunk-6TBEAKS7.js.map +1 -0
- package/dist/chunk-DMIV5ZI5.js +2 -0
- package/dist/chunk-DMIV5ZI5.js.map +1 -0
- package/dist/chunk-DNHCWSHQ.js +2 -0
- package/dist/chunk-DNHCWSHQ.js.map +1 -0
- package/dist/chunk-GL7PGK3G.js +2 -0
- package/dist/chunk-GL7PGK3G.js.map +1 -0
- package/dist/chunk-H6T3CCU5.js +2 -0
- package/dist/chunk-H6T3CCU5.js.map +1 -0
- package/dist/chunk-OFWGYY7S.js +2 -0
- package/dist/chunk-OFWGYY7S.js.map +1 -0
- package/dist/chunk-UP2OAMPY.js +2 -0
- package/dist/chunk-UP2OAMPY.js.map +1 -0
- package/dist/chunk-VR5CS5LA.js +2 -0
- package/dist/chunk-VR5CS5LA.js.map +1 -0
- package/dist/chunk-XA6FE7ZK.js +6 -0
- package/dist/chunk-XA6FE7ZK.js.map +1 -0
- package/dist/component-authoring-internal-DfFqqPhw.d.ts +40 -0
- package/dist/fluent.d.ts +103 -0
- package/dist/fluent.js +2 -0
- package/dist/fluent.js.map +1 -0
- package/dist/index.d.ts +139 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/primitives.d.ts +440 -0
- package/dist/primitives.js +2 -0
- package/dist/primitives.js.map +1 -0
- package/dist/security.d.ts +39 -0
- package/dist/security.js +2 -0
- package/dist/security.js.map +1 -0
- package/dist/semantic.d.ts +147 -0
- package/dist/semantic.js +2 -0
- package/dist/semantic.js.map +1 -0
- package/dist/software.d.ts +44 -0
- package/dist/software.js +2 -0
- package/dist/software.js.map +1 -0
- package/package.json +83 -0
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { d as ComponentValidationReport, D as DeclarativeComponentDefinition } from './agent-facing-DjAMQ4Ju.js';
|
|
2
|
+
export { e as ComponentAgentFacingMetadata, f as ComponentAuthoringGuide, g as ComponentDefinitionOptions, C as ComponentDescription, c as ComponentEventContract, h as ComponentValidationIssue, i as ComponentVariantDescription, j as componentNode, k as defineComponent, l as eventContract, t as trialNode } from './agent-facing-DjAMQ4Ju.js';
|
|
3
|
+
import * as _gik_ai_kernel from '@gik-ai/kernel';
|
|
4
|
+
import { CapabilityDescriptor, ResolvedNode } from '@gik-ai/kernel';
|
|
5
|
+
import { a as ComponentAgentKit, b as ComponentAuthoringDescription, d as ComponentCatalogEntry, e as ComponentPreflightReport, C as ComponentAuthoringTool } from './component-authoring-internal-DfFqqPhw.js';
|
|
6
|
+
import { ProjectionView } from '@gik-ai/react';
|
|
7
|
+
|
|
8
|
+
interface SemanticComponentCatalogEntry extends ComponentCatalogEntry {
|
|
9
|
+
}
|
|
10
|
+
interface SemanticComponentAuthoringDescription extends ComponentAuthoringDescription {
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
interface SemanticComponentPreflightReport extends ComponentPreflightReport {
|
|
14
|
+
}
|
|
15
|
+
interface SemanticComponentAgentKit extends ComponentAgentKit {
|
|
16
|
+
}
|
|
17
|
+
declare const listSemanticComponents: () => SemanticComponentCatalogEntry[];
|
|
18
|
+
declare const describeSemanticComponent: (capability: string) => SemanticComponentAuthoringDescription;
|
|
19
|
+
declare const validateSemanticComponentProps: (capability: string, props: unknown) => ComponentValidationReport;
|
|
20
|
+
declare const materializeSemanticComponentTrial: (capability: string, variant?: string) => _gik_ai_kernel.ResolvedNode;
|
|
21
|
+
declare const preflightSemanticComponent: (capability: string, props: unknown) => SemanticComponentPreflightReport;
|
|
22
|
+
declare const getSemanticComponentAgentInstructions: (components?: readonly string[]) => string;
|
|
23
|
+
declare const createSemanticComponentAuthoringTools: (components?: readonly string[]) => ComponentAuthoringTool[];
|
|
24
|
+
declare const getSemanticComponentAgentKit: (components?: readonly string[]) => SemanticComponentAgentKit;
|
|
25
|
+
declare const semanticComponentAuthoringTools: ComponentAuthoringTool[];
|
|
26
|
+
|
|
27
|
+
declare const semanticComponentViews: Record<string, ProjectionView>;
|
|
28
|
+
declare const semanticComponentDefinitions: {
|
|
29
|
+
readonly argument: DeclarativeComponentDefinition;
|
|
30
|
+
readonly assessment: DeclarativeComponentDefinition;
|
|
31
|
+
readonly "change-proposal": DeclarativeComponentDefinition;
|
|
32
|
+
readonly "consistency-case": DeclarativeComponentDefinition;
|
|
33
|
+
readonly "finding-set": DeclarativeComponentDefinition;
|
|
34
|
+
readonly "measure-set": DeclarativeComponentDefinition;
|
|
35
|
+
readonly milestones: DeclarativeComponentDefinition;
|
|
36
|
+
readonly narrative: DeclarativeComponentDefinition;
|
|
37
|
+
readonly "relationship-set": DeclarativeComponentDefinition;
|
|
38
|
+
readonly "work-set": DeclarativeComponentDefinition;
|
|
39
|
+
readonly "event-series": DeclarativeComponentDefinition;
|
|
40
|
+
readonly process: DeclarativeComponentDefinition;
|
|
41
|
+
readonly "entity-set": DeclarativeComponentDefinition;
|
|
42
|
+
readonly "evidence-case": DeclarativeComponentDefinition;
|
|
43
|
+
readonly decision: DeclarativeComponentDefinition;
|
|
44
|
+
};
|
|
45
|
+
declare const semanticComponentCapabilities: Record<string, CapabilityDescriptor>;
|
|
46
|
+
|
|
47
|
+
declare const ARGUMENT_SEMANTIC_TOKENS: readonly ["conclusion", "premise", "evidence", "objection", "neutral"];
|
|
48
|
+
declare const ARGUMENT_VARIANTS: readonly ["map", "outline", "text"];
|
|
49
|
+
declare const Argument: ProjectionView;
|
|
50
|
+
declare function getArgumentSchema(): Record<string, unknown>;
|
|
51
|
+
declare function validateArgument(props: unknown): ComponentValidationReport;
|
|
52
|
+
declare function materializeArgumentTrial(): _gik_ai_kernel.ResolvedNode;
|
|
53
|
+
declare const argumentDefinition: DeclarativeComponentDefinition;
|
|
54
|
+
|
|
55
|
+
declare const ASSESSMENT_SEMANTIC_TOKENS: readonly ["ready", "not-ready", "attention", "unknown"];
|
|
56
|
+
declare const ASSESSMENT_VARIANTS: readonly ["summary", "compact"];
|
|
57
|
+
declare const Assessment: ProjectionView;
|
|
58
|
+
declare function getAssessmentSchema(): Record<string, unknown>;
|
|
59
|
+
declare function validateAssessment(props: unknown): ComponentValidationReport;
|
|
60
|
+
declare function materializeAssessmentTrial(): _gik_ai_kernel.ResolvedNode;
|
|
61
|
+
declare const assessmentDefinition: DeclarativeComponentDefinition;
|
|
62
|
+
|
|
63
|
+
declare const CHANGE_PROPOSAL_SEMANTIC_TOKENS: readonly ["pending", "approved", "rejected", "changes-requested"];
|
|
64
|
+
declare const CHANGE_PROPOSAL_VARIANTS: readonly ["review", "compact"];
|
|
65
|
+
declare const ChangeProposal: ProjectionView;
|
|
66
|
+
declare function getChangeProposalSchema(): Record<string, unknown>;
|
|
67
|
+
declare function validateChangeProposal(props: unknown): ComponentValidationReport;
|
|
68
|
+
declare function materializeChangeProposalTrial(): _gik_ai_kernel.ResolvedNode;
|
|
69
|
+
declare const changeProposalDefinition: DeclarativeComponentDefinition;
|
|
70
|
+
|
|
71
|
+
declare const CONSISTENCY_CASE_SEMANTIC_TOKENS: readonly ["consistent", "contradictory", "ambiguous", "insufficient-information"];
|
|
72
|
+
declare const CONSISTENCY_CASE_VARIANTS: readonly ["detailed", "compact"];
|
|
73
|
+
declare const ConsistencyCase: ProjectionView;
|
|
74
|
+
declare function getConsistencyCaseSchema(): Record<string, unknown>;
|
|
75
|
+
declare function validateConsistencyCase(props: unknown): ComponentValidationReport;
|
|
76
|
+
declare function materializeConsistencyCaseTrial(): _gik_ai_kernel.ResolvedNode;
|
|
77
|
+
declare const consistencyCaseDefinition: DeclarativeComponentDefinition;
|
|
78
|
+
|
|
79
|
+
declare const FINDING_SET_SEMANTIC_TOKENS: readonly ["critical", "high", "medium", "low", "informational"];
|
|
80
|
+
declare const FINDING_SET_VARIANTS: readonly ["list", "compact", "text"];
|
|
81
|
+
declare const FindingSet: ProjectionView;
|
|
82
|
+
declare function getFindingSetSchema(): Record<string, unknown>;
|
|
83
|
+
declare function validateFindingSet(props: unknown): ComponentValidationReport;
|
|
84
|
+
declare function materializeFindingSetTrial(): _gik_ai_kernel.ResolvedNode;
|
|
85
|
+
declare const findingSetDefinition: DeclarativeComponentDefinition;
|
|
86
|
+
|
|
87
|
+
declare const MEASURE_SET_SEMANTIC_TOKENS: readonly ["positive", "negative", "warning", "neutral", "unknown"];
|
|
88
|
+
declare const MEASURE_SET_VARIANTS: readonly ["tiles", "table", "ranking", "text"];
|
|
89
|
+
declare const MeasureSet: ProjectionView;
|
|
90
|
+
declare function getMeasureSetSchema(): Record<string, unknown>;
|
|
91
|
+
declare function validateMeasureSet(props: unknown): ComponentValidationReport;
|
|
92
|
+
declare function materializeMeasureSetTrial(): _gik_ai_kernel.ResolvedNode;
|
|
93
|
+
declare const measureSetDefinition: DeclarativeComponentDefinition;
|
|
94
|
+
|
|
95
|
+
declare const MILESTONE_SEMANTIC_TOKENS: readonly ["achieved", "current", "upcoming", "blocked", "unknown"];
|
|
96
|
+
declare const MILESTONE_VARIANTS: readonly ["rail", "timeline", "list", "axis", "text"];
|
|
97
|
+
declare const Milestones: ProjectionView;
|
|
98
|
+
declare function getMilestonesSchema(): Record<string, unknown>;
|
|
99
|
+
declare function validateMilestones(props: unknown): ComponentValidationReport;
|
|
100
|
+
declare function materializeMilestonesTrial(): ResolvedNode;
|
|
101
|
+
declare const milestonesDefinition: DeclarativeComponentDefinition;
|
|
102
|
+
|
|
103
|
+
declare const NARRATIVE_SEMANTIC_TOKENS: readonly ["primary", "supporting", "caution", "critical", "neutral"];
|
|
104
|
+
declare const NARRATIVE_VARIANTS: readonly ["article", "outline", "briefing", "text"];
|
|
105
|
+
declare const Narrative: ProjectionView;
|
|
106
|
+
declare function getNarrativeSchema(): Record<string, unknown>;
|
|
107
|
+
declare function validateNarrative(props: unknown): ComponentValidationReport;
|
|
108
|
+
declare function materializeNarrativeTrial(): _gik_ai_kernel.ResolvedNode;
|
|
109
|
+
declare const narrativeDefinition: DeclarativeComponentDefinition;
|
|
110
|
+
|
|
111
|
+
declare const RELATIONSHIP_SET_SEMANTIC_TOKENS: readonly ["central", "related", "risk", "positive", "neutral"];
|
|
112
|
+
declare const RELATIONSHIP_SET_VARIANTS: readonly ["network", "matrix", "relations", "text"];
|
|
113
|
+
declare const RelationshipSet: ProjectionView;
|
|
114
|
+
declare function getRelationshipSetSchema(): Record<string, unknown>;
|
|
115
|
+
declare function validateRelationshipSet(props: unknown): ComponentValidationReport;
|
|
116
|
+
declare function materializeRelationshipSetTrial(): _gik_ai_kernel.ResolvedNode;
|
|
117
|
+
declare const relationshipSetDefinition: DeclarativeComponentDefinition;
|
|
118
|
+
|
|
119
|
+
declare const WORK_SET_VARIANTS: readonly ["board", "queue", "list", "text"];
|
|
120
|
+
declare const WorkSet: ProjectionView;
|
|
121
|
+
declare function getWorkSetSchema(): Record<string, unknown>;
|
|
122
|
+
declare function validateWorkSet(props: unknown): ComponentValidationReport;
|
|
123
|
+
declare function materializeWorkSetTrial(): _gik_ai_kernel.ResolvedNode;
|
|
124
|
+
declare const workSetDefinition: DeclarativeComponentDefinition;
|
|
125
|
+
|
|
126
|
+
declare const EVENT_SERIES_VARIANTS: readonly ["chronology", "axis", "text"];
|
|
127
|
+
declare const EventSeries: ProjectionView;
|
|
128
|
+
declare function materializeEventSeriesTrial(): _gik_ai_kernel.ResolvedNode;
|
|
129
|
+
declare const eventSeriesDefinition: DeclarativeComponentDefinition;
|
|
130
|
+
declare const PROCESS_VARIANTS: readonly ["flow", "stages", "progress", "text"];
|
|
131
|
+
declare const Process: ProjectionView;
|
|
132
|
+
declare function materializeProcessTrial(): _gik_ai_kernel.ResolvedNode;
|
|
133
|
+
declare const processDefinition: DeclarativeComponentDefinition;
|
|
134
|
+
declare const ENTITY_SET_VARIANTS: readonly ["clusters", "matrix", "list", "text"];
|
|
135
|
+
declare const EntitySet: ProjectionView;
|
|
136
|
+
declare function materializeEntitySetTrial(): _gik_ai_kernel.ResolvedNode;
|
|
137
|
+
declare const entitySetDefinition: DeclarativeComponentDefinition;
|
|
138
|
+
declare const EVIDENCE_CASE_VARIANTS: readonly ["case", "sources", "chain", "text"];
|
|
139
|
+
declare const EvidenceCase: ProjectionView;
|
|
140
|
+
declare function materializeEvidenceCaseTrial(): _gik_ai_kernel.ResolvedNode;
|
|
141
|
+
declare const evidenceCaseDefinition: DeclarativeComponentDefinition;
|
|
142
|
+
declare const DECISION_VARIANTS: readonly ["summary", "rationale-chain", "text"];
|
|
143
|
+
declare const Decision: ProjectionView;
|
|
144
|
+
declare function materializeDecisionTrial(): _gik_ai_kernel.ResolvedNode;
|
|
145
|
+
declare const decisionDefinition: DeclarativeComponentDefinition;
|
|
146
|
+
|
|
147
|
+
export { ARGUMENT_SEMANTIC_TOKENS, ARGUMENT_VARIANTS, ASSESSMENT_SEMANTIC_TOKENS, ASSESSMENT_VARIANTS, Argument, Assessment, CHANGE_PROPOSAL_SEMANTIC_TOKENS, CHANGE_PROPOSAL_VARIANTS, CONSISTENCY_CASE_SEMANTIC_TOKENS, CONSISTENCY_CASE_VARIANTS, ChangeProposal, ComponentAuthoringTool, ComponentValidationReport, ConsistencyCase, DECISION_VARIANTS, Decision, DeclarativeComponentDefinition, ENTITY_SET_VARIANTS, EVENT_SERIES_VARIANTS, EVIDENCE_CASE_VARIANTS, EntitySet, EventSeries, EvidenceCase, FINDING_SET_SEMANTIC_TOKENS, FINDING_SET_VARIANTS, FindingSet, MEASURE_SET_SEMANTIC_TOKENS, MEASURE_SET_VARIANTS, MILESTONE_SEMANTIC_TOKENS, MILESTONE_VARIANTS, MeasureSet, Milestones, NARRATIVE_SEMANTIC_TOKENS, NARRATIVE_VARIANTS, Narrative, PROCESS_VARIANTS, Process, RELATIONSHIP_SET_SEMANTIC_TOKENS, RELATIONSHIP_SET_VARIANTS, RelationshipSet, type SemanticComponentAgentKit, type SemanticComponentAuthoringDescription, type SemanticComponentCatalogEntry, type SemanticComponentPreflightReport, WORK_SET_VARIANTS, WorkSet, argumentDefinition, assessmentDefinition, changeProposalDefinition, consistencyCaseDefinition, createSemanticComponentAuthoringTools, decisionDefinition, describeSemanticComponent, entitySetDefinition, eventSeriesDefinition, evidenceCaseDefinition, findingSetDefinition, getArgumentSchema, getAssessmentSchema, getChangeProposalSchema, getConsistencyCaseSchema, getFindingSetSchema, getMeasureSetSchema, getMilestonesSchema, getNarrativeSchema, getRelationshipSetSchema, getSemanticComponentAgentInstructions, getSemanticComponentAgentKit, getWorkSetSchema, listSemanticComponents, materializeArgumentTrial, materializeAssessmentTrial, materializeChangeProposalTrial, materializeConsistencyCaseTrial, materializeDecisionTrial, materializeEntitySetTrial, materializeEventSeriesTrial, materializeEvidenceCaseTrial, materializeFindingSetTrial, materializeMeasureSetTrial, materializeMilestonesTrial, materializeNarrativeTrial, materializeProcessTrial, materializeRelationshipSetTrial, materializeSemanticComponentTrial, materializeWorkSetTrial, measureSetDefinition, milestonesDefinition, narrativeDefinition, preflightSemanticComponent, processDefinition, relationshipSetDefinition, semanticComponentAuthoringTools, semanticComponentCapabilities, semanticComponentDefinitions, semanticComponentViews, validateArgument, validateAssessment, validateChangeProposal, validateConsistencyCase, validateFindingSet, validateMeasureSet, validateMilestones, validateNarrative, validateRelationshipSet, validateSemanticComponentProps, validateWorkSet, workSetDefinition };
|
package/dist/semantic.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{$ as da,A as E,Aa as La,B as F,Ba as Ma,C as G,Ca as Na,D as H,Da as Oa,E as I,Ea as Pa,F as J,Fa as Qa,G as K,Ga as Ra,H as L,Ha as Sa,I as M,Ia as Ta,J as N,Ja as Ua,K as O,Ka as Va,L as P,La as Wa,M as Q,Ma as Xa,N as R,Na as Ya,O as S,P as T,Q as U,R as V,S as W,T as X,U as Y,V as Z,W as _,X as $,Y as aa,Z as ba,_ as ca,a as e,aa as ea,b as f,ba as fa,c as g,ca as na,d as h,da as oa,e as i,ea as pa,f as j,fa as qa,g as k,ga as ra,h as l,ha as sa,i as m,ia as ta,j as n,ja as ua,k as o,ka as va,l as p,la as wa,m as q,ma as xa,n as r,na as ya,o as s,oa as za,p as t,pa as Aa,q as u,qa as Ba,r as v,ra as Ca,s as w,sa as Da,t as x,ta as Ea,u as y,ua as Fa,v as z,va as Ga,w as A,wa as Ha,x as B,xa as Ia,y as C,ya as Ja,z as D,za as Ka}from"./chunk-4BIHH7HT.js";import{a as ga,b as ha,c as ia,d as ja,e as ka,f as la,g as ma}from"./chunk-VR5CS5LA.js";import"./chunk-UP2OAMPY.js";import"./chunk-OFWGYY7S.js";import{a,b,c,d}from"./chunk-XA6FE7ZK.js";export{e as ARGUMENT_SEMANTIC_TOKENS,f as ARGUMENT_VARIANTS,l as ASSESSMENT_SEMANTIC_TOKENS,m as ASSESSMENT_VARIANTS,g as Argument,n as Assessment,s as CHANGE_PROPOSAL_SEMANTIC_TOKENS,t as CHANGE_PROPOSAL_VARIANTS,z as CONSISTENCY_CASE_SEMANTIC_TOKENS,A as CONSISTENCY_CASE_VARIANTS,u as ChangeProposal,B as ConsistencyCase,Ja as DECISION_VARIANTS,Ka as Decision,Ba as ENTITY_SET_VARIANTS,ta as EVENT_SERIES_VARIANTS,Fa as EVIDENCE_CASE_VARIANTS,Ca as EntitySet,ua as EventSeries,Ga as EvidenceCase,G as FINDING_SET_SEMANTIC_TOKENS,H as FINDING_SET_VARIANTS,I as FindingSet,N as MEASURE_SET_SEMANTIC_TOKENS,O as MEASURE_SET_VARIANTS,U as MILESTONE_SEMANTIC_TOKENS,V as MILESTONE_VARIANTS,P as MeasureSet,W as Milestones,$ as NARRATIVE_SEMANTIC_TOKENS,aa as NARRATIVE_VARIANTS,ba as Narrative,xa as PROCESS_VARIANTS,ya as Process,ga as RELATIONSHIP_SET_SEMANTIC_TOKENS,ha as RELATIONSHIP_SET_VARIANTS,ia as RelationshipSet,na as WORK_SET_VARIANTS,oa as WorkSet,k as argumentDefinition,r as assessmentDefinition,y as changeProposalDefinition,c as componentNode,F as consistencyCaseDefinition,Wa as createSemanticComponentAuthoringTools,Ma as decisionDefinition,b as defineComponent,Ra as describeSemanticComponent,Ea as entitySetDefinition,a as eventContract,wa as eventSeriesDefinition,Ia as evidenceCaseDefinition,M as findingSetDefinition,h as getArgumentSchema,o as getAssessmentSchema,v as getChangeProposalSchema,C as getConsistencyCaseSchema,J as getFindingSetSchema,Q as getMeasureSetSchema,X as getMilestonesSchema,ca as getNarrativeSchema,ja as getRelationshipSetSchema,Va as getSemanticComponentAgentInstructions,Xa as getSemanticComponentAgentKit,pa as getWorkSetSchema,Qa as listSemanticComponents,j as materializeArgumentTrial,q as materializeAssessmentTrial,x as materializeChangeProposalTrial,E as materializeConsistencyCaseTrial,La as materializeDecisionTrial,Da as materializeEntitySetTrial,va as materializeEventSeriesTrial,Ha as materializeEvidenceCaseTrial,L as materializeFindingSetTrial,S as materializeMeasureSetTrial,Z as materializeMilestonesTrial,ea as materializeNarrativeTrial,za as materializeProcessTrial,la as materializeRelationshipSetTrial,Ta as materializeSemanticComponentTrial,ra as materializeWorkSetTrial,T as measureSetDefinition,_ as milestonesDefinition,fa as narrativeDefinition,Ua as preflightSemanticComponent,Aa as processDefinition,ma as relationshipSetDefinition,Ya as semanticComponentAuthoringTools,Pa as semanticComponentCapabilities,Oa as semanticComponentDefinitions,Na as semanticComponentViews,d as trialNode,i as validateArgument,p as validateAssessment,w as validateChangeProposal,D as validateConsistencyCase,K as validateFindingSet,R as validateMeasureSet,Y as validateMilestones,da as validateNarrative,ka as validateRelationshipSet,Sa as validateSemanticComponentProps,qa as validateWorkSet,sa as workSetDefinition};
|
|
2
|
+
//# sourceMappingURL=semantic.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { d as ComponentValidationReport, D as DeclarativeComponentDefinition } from './agent-facing-DjAMQ4Ju.js';
|
|
2
|
+
export { e as ComponentAgentFacingMetadata, f as ComponentAuthoringGuide, g as ComponentDefinitionOptions, C as ComponentDescription, c as ComponentEventContract, h as ComponentValidationIssue, i as ComponentVariantDescription, j as componentNode, k as defineComponent, l as eventContract, t as trialNode } from './agent-facing-DjAMQ4Ju.js';
|
|
3
|
+
import * as _gik_ai_kernel from '@gik-ai/kernel';
|
|
4
|
+
import { CapabilityDescriptor } from '@gik-ai/kernel';
|
|
5
|
+
import { a as ComponentAgentKit, b as ComponentAuthoringDescription, d as ComponentCatalogEntry, e as ComponentPreflightReport, C as ComponentAuthoringTool } from './component-authoring-internal-DfFqqPhw.js';
|
|
6
|
+
import { ProjectionView } from '@gik-ai/react';
|
|
7
|
+
|
|
8
|
+
interface SoftwareComponentCatalogEntry extends ComponentCatalogEntry {
|
|
9
|
+
}
|
|
10
|
+
interface SoftwareComponentAuthoringDescription extends ComponentAuthoringDescription {
|
|
11
|
+
}
|
|
12
|
+
interface SoftwareComponentPreflightReport extends ComponentPreflightReport {
|
|
13
|
+
}
|
|
14
|
+
interface SoftwareComponentAgentKit extends ComponentAgentKit {
|
|
15
|
+
}
|
|
16
|
+
declare const listSoftwareComponents: () => SoftwareComponentCatalogEntry[];
|
|
17
|
+
declare const describeSoftwareComponent: (capability: string) => SoftwareComponentAuthoringDescription;
|
|
18
|
+
declare const validateSoftwareComponentProps: (capability: string, props: unknown) => ComponentValidationReport;
|
|
19
|
+
declare const materializeSoftwareComponentTrial: (capability: string, variant?: string) => _gik_ai_kernel.ResolvedNode;
|
|
20
|
+
declare const preflightSoftwareComponent: (capability: string, props: unknown) => SoftwareComponentPreflightReport;
|
|
21
|
+
declare const getSoftwareComponentAgentInstructions: (components?: readonly string[]) => string;
|
|
22
|
+
declare const createSoftwareComponentAuthoringTools: (components?: readonly string[]) => ComponentAuthoringTool[];
|
|
23
|
+
declare const getSoftwareComponentAgentKit: (components?: readonly string[]) => SoftwareComponentAgentKit;
|
|
24
|
+
declare const softwareComponentAuthoringTools: ComponentAuthoringTool[];
|
|
25
|
+
|
|
26
|
+
declare const SOURCE_FINDINGS_VARIANTS: readonly ["findings", "text"];
|
|
27
|
+
declare const SOURCE_COMPARISON_VARIANTS: readonly ["unified-diff", "split-diff", "text"];
|
|
28
|
+
declare const SourceFindings: ProjectionView;
|
|
29
|
+
declare const SourceComparison: ProjectionView;
|
|
30
|
+
declare function validateSourceFindings(props: unknown): ComponentValidationReport;
|
|
31
|
+
declare function validateSourceComparison(props: unknown): ComponentValidationReport;
|
|
32
|
+
declare function materializeSourceFindingsTrial(): _gik_ai_kernel.ResolvedNode;
|
|
33
|
+
declare function materializeSourceComparisonTrial(): _gik_ai_kernel.ResolvedNode;
|
|
34
|
+
declare const sourceFindingsDefinition: DeclarativeComponentDefinition;
|
|
35
|
+
declare const sourceComparisonDefinition: DeclarativeComponentDefinition;
|
|
36
|
+
|
|
37
|
+
declare const softwareComponentViews: Record<string, ProjectionView>;
|
|
38
|
+
declare const softwareComponentDefinitions: {
|
|
39
|
+
readonly "source-findings": DeclarativeComponentDefinition;
|
|
40
|
+
readonly "source-comparison": DeclarativeComponentDefinition;
|
|
41
|
+
};
|
|
42
|
+
declare const softwareComponentCapabilities: Record<string, CapabilityDescriptor>;
|
|
43
|
+
|
|
44
|
+
export { ComponentValidationReport, DeclarativeComponentDefinition, SOURCE_COMPARISON_VARIANTS, SOURCE_FINDINGS_VARIANTS, type SoftwareComponentAgentKit, type SoftwareComponentAuthoringDescription, type SoftwareComponentCatalogEntry, type SoftwareComponentPreflightReport, SourceComparison, SourceFindings, createSoftwareComponentAuthoringTools, describeSoftwareComponent, getSoftwareComponentAgentInstructions, getSoftwareComponentAgentKit, listSoftwareComponents, materializeSoftwareComponentTrial, materializeSourceComparisonTrial, materializeSourceFindingsTrial, preflightSoftwareComponent, softwareComponentAuthoringTools, softwareComponentCapabilities, softwareComponentDefinitions, softwareComponentViews, sourceComparisonDefinition, sourceFindingsDefinition, validateSoftwareComponentProps, validateSourceComparison, validateSourceFindings };
|
package/dist/software.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as e,b as f,c as g,d as h,e as i,f as j,g as k,h as l,i as m,j as n,k as o,l as p,m as q,n as r,o as s,p as t,q as u,r as v,s as w,t as x,u as y,v as z}from"./chunk-6TBEAKS7.js";import"./chunk-DMIV5ZI5.js";import{a,b,c,d}from"./chunk-XA6FE7ZK.js";export{f as SOURCE_COMPARISON_VARIANTS,e as SOURCE_FINDINGS_VARIANTS,h as SourceComparison,g as SourceFindings,c as componentNode,x as createSoftwareComponentAuthoringTools,b as defineComponent,s as describeSoftwareComponent,a as eventContract,w as getSoftwareComponentAgentInstructions,y as getSoftwareComponentAgentKit,r as listSoftwareComponents,u as materializeSoftwareComponentTrial,l as materializeSourceComparisonTrial,k as materializeSourceFindingsTrial,v as preflightSoftwareComponent,z as softwareComponentAuthoringTools,q as softwareComponentCapabilities,p as softwareComponentDefinitions,o as softwareComponentViews,n as sourceComparisonDefinition,m as sourceFindingsDefinition,d as trialNode,t as validateSoftwareComponentProps,j as validateSourceComparison,i as validateSourceFindings};
|
|
2
|
+
//# sourceMappingURL=software.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/package.json
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "gik-components",
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"description": "Self-describing declarative Fluent components for the Generative Interaction Kernel.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "nsreehari",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"gik",
|
|
9
|
+
"generative-ui",
|
|
10
|
+
"declarative-ui",
|
|
11
|
+
"react",
|
|
12
|
+
"fluent-ui",
|
|
13
|
+
"components"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://github.com/nsreehari/gik-samples#readme",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/nsreehari/gik-samples.git",
|
|
19
|
+
"directory": "packages/components"
|
|
20
|
+
},
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/nsreehari/gik-samples/issues"
|
|
23
|
+
},
|
|
24
|
+
"type": "module",
|
|
25
|
+
"sideEffects": false,
|
|
26
|
+
"files": [
|
|
27
|
+
"dist",
|
|
28
|
+
"docs"
|
|
29
|
+
],
|
|
30
|
+
"exports": {
|
|
31
|
+
".": {
|
|
32
|
+
"types": "./dist/index.d.ts",
|
|
33
|
+
"import": "./dist/index.js"
|
|
34
|
+
},
|
|
35
|
+
"./semantic": {
|
|
36
|
+
"types": "./dist/semantic.d.ts",
|
|
37
|
+
"import": "./dist/semantic.js"
|
|
38
|
+
},
|
|
39
|
+
"./security": {
|
|
40
|
+
"types": "./dist/security.d.ts",
|
|
41
|
+
"import": "./dist/security.js"
|
|
42
|
+
},
|
|
43
|
+
"./software": {
|
|
44
|
+
"types": "./dist/software.d.ts",
|
|
45
|
+
"import": "./dist/software.js"
|
|
46
|
+
},
|
|
47
|
+
"./primitives": {
|
|
48
|
+
"types": "./dist/primitives.d.ts",
|
|
49
|
+
"import": "./dist/primitives.js"
|
|
50
|
+
},
|
|
51
|
+
"./fluent": {
|
|
52
|
+
"types": "./dist/fluent.d.ts",
|
|
53
|
+
"import": "./dist/fluent.js"
|
|
54
|
+
},
|
|
55
|
+
"./agent-facing": {
|
|
56
|
+
"types": "./dist/agent-facing.d.ts",
|
|
57
|
+
"import": "./dist/agent-facing.js"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"main": "./dist/index.js",
|
|
61
|
+
"types": "./dist/index.d.ts",
|
|
62
|
+
"publishConfig": {
|
|
63
|
+
"access": "public",
|
|
64
|
+
"registry": "https://registry.npmjs.org/"
|
|
65
|
+
},
|
|
66
|
+
"peerDependencies": {
|
|
67
|
+
"@fluentui/react-components": "^9.74.3",
|
|
68
|
+
"@fluentui/react-icons": "^2.0.312",
|
|
69
|
+
"react": "^18.3.1",
|
|
70
|
+
"react-dom": "^18.3.1"
|
|
71
|
+
},
|
|
72
|
+
"dependencies": {
|
|
73
|
+
"@gik-ai/evaluators": "0.1.2",
|
|
74
|
+
"@gik-ai/kernel": "0.1.2",
|
|
75
|
+
"@gik-ai/react": "0.3.1",
|
|
76
|
+
"@xyflow/react": "^12.11.2",
|
|
77
|
+
"mermaid": "^11.16.0"
|
|
78
|
+
},
|
|
79
|
+
"scripts": {
|
|
80
|
+
"build": "tsup",
|
|
81
|
+
"prepack": "npm run build"
|
|
82
|
+
}
|
|
83
|
+
}
|