@almadar/skills 2.5.0 → 2.5.3
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/index.d.ts +146 -1
- package/dist/index.js +677 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -122,6 +122,21 @@ declare function generateDomainLanguageSkill(): GeneratedSkill;
|
|
|
122
122
|
*/
|
|
123
123
|
declare function generateAlmadarAssistantSkill(): GeneratedSkill;
|
|
124
124
|
|
|
125
|
+
/**
|
|
126
|
+
* Converter Skill Generator
|
|
127
|
+
*
|
|
128
|
+
* Generates the converter skill for the Almadar Converter agent.
|
|
129
|
+
* The converter agent converts existing source code projects or
|
|
130
|
+
* live websites to .orb orbital schemas.
|
|
131
|
+
*
|
|
132
|
+
* @packageDocumentation
|
|
133
|
+
*/
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Generate the converter skill.
|
|
137
|
+
*/
|
|
138
|
+
declare function generateConverterSkill(): GeneratedSkill;
|
|
139
|
+
|
|
125
140
|
/**
|
|
126
141
|
* Orb Skill Generator
|
|
127
142
|
*
|
|
@@ -145,6 +160,26 @@ declare function generateAlmadarAssistantSkill(): GeneratedSkill;
|
|
|
145
160
|
*/
|
|
146
161
|
declare function generateOrbSkill(): GeneratedSkill;
|
|
147
162
|
|
|
163
|
+
/**
|
|
164
|
+
* Behaviors Skill Generator
|
|
165
|
+
*
|
|
166
|
+
* Generates the "behaviors" skill for selecting and composing
|
|
167
|
+
* standard library behaviors into applications.
|
|
168
|
+
*
|
|
169
|
+
* All behavior data is loaded dynamically from @almadar/std.
|
|
170
|
+
* No hardcoded behavior lists.
|
|
171
|
+
*
|
|
172
|
+
* @packageDocumentation
|
|
173
|
+
*/
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Generate the "behaviors" skill.
|
|
177
|
+
*
|
|
178
|
+
* This skill teaches the agent to select and compose standard library
|
|
179
|
+
* behaviors into complete applications.
|
|
180
|
+
*/
|
|
181
|
+
declare function generateBehaviorsSkill(): GeneratedSkill;
|
|
182
|
+
|
|
148
183
|
/**
|
|
149
184
|
* Lean Orbital Skill Generator
|
|
150
185
|
*
|
|
@@ -376,6 +411,11 @@ declare function getRenderUIDesignGuide(): string;
|
|
|
376
411
|
* Uses only atoms/molecules from the registry, reflecting golden behavior patterns.
|
|
377
412
|
*/
|
|
378
413
|
declare function getOrbRenderUIGuide(): string;
|
|
414
|
+
/**
|
|
415
|
+
* Get a filtered version of the render-ui guide with only the matched patterns.
|
|
416
|
+
* Used after Gate 3.5 selects the relevant patterns.
|
|
417
|
+
*/
|
|
418
|
+
declare function getOrbRenderUIGuideFiltered(patternNames: string[]): string;
|
|
379
419
|
|
|
380
420
|
/**
|
|
381
421
|
* Theme Variable System Guide
|
|
@@ -575,6 +615,111 @@ declare function getBindingsCompact(): string;
|
|
|
575
615
|
*/
|
|
576
616
|
declare function getBindingContextRules(): string;
|
|
577
617
|
|
|
618
|
+
/**
|
|
619
|
+
* Behavior Catalog Section
|
|
620
|
+
*
|
|
621
|
+
* Generates a catalog of all standard behaviors grouped by level (atoms, molecules, organisms).
|
|
622
|
+
* Loads data dynamically from @almadar/std, never hardcoded.
|
|
623
|
+
*
|
|
624
|
+
* @packageDocumentation
|
|
625
|
+
*/
|
|
626
|
+
/**
|
|
627
|
+
* Generate a markdown catalog of all standard behaviors, grouped by level.
|
|
628
|
+
*/
|
|
629
|
+
declare function getBehaviorCatalogSection(): string;
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* Behavior Atom Reference Section
|
|
633
|
+
*
|
|
634
|
+
* Generates a detailed reference for atom-level behaviors.
|
|
635
|
+
* Extracts states, events, and metadata from the .orb data.
|
|
636
|
+
*
|
|
637
|
+
* @packageDocumentation
|
|
638
|
+
*/
|
|
639
|
+
/**
|
|
640
|
+
* Generate a detailed reference for all atom behaviors.
|
|
641
|
+
*/
|
|
642
|
+
declare function getBehaviorAtomReference(): string;
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* Behavior Molecule Reference Section
|
|
646
|
+
*
|
|
647
|
+
* Generates a detailed reference for molecule-level behaviors.
|
|
648
|
+
* Extracts states, events, and metadata from the .orb data.
|
|
649
|
+
*
|
|
650
|
+
* @packageDocumentation
|
|
651
|
+
*/
|
|
652
|
+
/**
|
|
653
|
+
* Generate a detailed reference for all molecule behaviors.
|
|
654
|
+
*/
|
|
655
|
+
declare function getBehaviorMoleculeReference(): string;
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* Behavior Organism Reference Section
|
|
659
|
+
*
|
|
660
|
+
* Generates a detailed reference for organism-level behaviors.
|
|
661
|
+
* Extracts states, events, and metadata from the .orb data.
|
|
662
|
+
*
|
|
663
|
+
* @packageDocumentation
|
|
664
|
+
*/
|
|
665
|
+
/**
|
|
666
|
+
* Generate a detailed reference for all organism behaviors.
|
|
667
|
+
*/
|
|
668
|
+
declare function getBehaviorOrganismReference(): string;
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
* Behavior Composition Guide Section
|
|
672
|
+
*
|
|
673
|
+
* Static content explaining how to compose behaviors into applications.
|
|
674
|
+
* Covers use_behavior, composeBehaviors, layout strategies, and event wiring.
|
|
675
|
+
*
|
|
676
|
+
* @packageDocumentation
|
|
677
|
+
*/
|
|
678
|
+
/**
|
|
679
|
+
* Generate the behavior composition guide.
|
|
680
|
+
*/
|
|
681
|
+
declare function getBehaviorCompositionGuide(): string;
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* Behavior Event Contracts Section
|
|
685
|
+
*
|
|
686
|
+
* Generates a section listing emits/listens for all behaviors.
|
|
687
|
+
* Loaded dynamically from @almadar/std registry.
|
|
688
|
+
*
|
|
689
|
+
* @packageDocumentation
|
|
690
|
+
*/
|
|
691
|
+
/**
|
|
692
|
+
* Generate a section listing event contracts (emits/listens) for all behaviors.
|
|
693
|
+
* Skips behaviors that have no emits and no listens.
|
|
694
|
+
*/
|
|
695
|
+
declare function getBehaviorEventContractsSection(): string;
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
* Domain Behavior Mapping Section
|
|
699
|
+
*
|
|
700
|
+
* Static mapping of application domains to recommended standard behaviors.
|
|
701
|
+
* Helps the agent select appropriate behaviors for a given use case.
|
|
702
|
+
*
|
|
703
|
+
* @packageDocumentation
|
|
704
|
+
*/
|
|
705
|
+
/**
|
|
706
|
+
* Generate the domain-to-behavior mapping guide.
|
|
707
|
+
*/
|
|
708
|
+
declare function getDomainBehaviorMapping(): string;
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* Cross-Orbital Wiring Guide Section
|
|
712
|
+
*
|
|
713
|
+
* Static content explaining how events flow between orbitals
|
|
714
|
+
* and common wiring patterns for behavior composition.
|
|
715
|
+
*
|
|
716
|
+
* @packageDocumentation
|
|
717
|
+
*/
|
|
718
|
+
/**
|
|
719
|
+
* Generate the cross-orbital wiring guide.
|
|
720
|
+
*/
|
|
721
|
+
declare function getCrossOrbitalWiringGuide(): string;
|
|
722
|
+
|
|
578
723
|
/**
|
|
579
724
|
* Generation Prompts
|
|
580
725
|
*
|
|
@@ -798,4 +943,4 @@ type SkillsServiceActions = {
|
|
|
798
943
|
*/
|
|
799
944
|
type SkillsServiceContract = ServiceContract<SkillsServiceActions>;
|
|
800
945
|
|
|
801
|
-
export { type CompositionMetrics, EVAL_CASES, type EvalCase, type EvalResult, type GeneratedSkill, type ProviderComparison, type ScoreBreakdown, type SkillFrontmatter, type SkillsServiceActions, type SkillsServiceContract, analyzeComposition, calculateTotalScore, formatFrontmatter, generateAllBuilderSkills, generateAlmadarAssistantSkill, generateComparisonMatrix, generateDomainLanguageSkill, generateKflowOrbitalFixingSkill, generateKflowOrbitalsSkill, generateLeanFixingSkill$1 as generateLeanFixingSkill, generateLeanFixingSkill as generateLeanFixingSkillFull, generateLeanOrbitalSkill$1 as generateLeanOrbitalSkill, generateLeanOrbitalSkill as generateLeanOrbitalSkillFull, generateOrbSkill, getArchitectureSection, getAssetRefSection, getBannedProps, getBindingContextRules, getBindingsCompact, getBindingsGuide, getCommonErrorsSection, getCommonFixPatternsSection, getCompletionRulesSection, getConnectivityCompact, getContextUsageCompact, getContextUsageSection, getCustomTraitCompact, getCustomTraitSection, getDecompositionChecklist, getDecompositionCompact, getDecompositionSection, getDesignErrorsCompact, getDesignErrorsSection, getEfficiencySection, getFieldTypesCompact, getFixingWorkflowSection, getFlowPatternSection, getFullOrbitalPrompt, getGameAsOrbitalsSection, getGameEntityTemplatesSection, getGamePatternsSection, getGameTraitsSection, getGameTypesSection, getIconLibraryCompact, getIconLibrarySection, getKeyBehaviorsReference, getMinimalTypeReference, getMultiFileSection, getOrbRenderUIGuide, getOrbitalConnectivitySection, getOrbitalDecompositionPrompt, getOverGenerationSection, getPatternTypesCompact, getPortableOrbitalOutputSection, getRenderUIDesignGuide, getRenderUIQuickRef, getRequirementsDecomposePrompt, getRequirementsTraitPrompt, getSExprQuickRef, getSchemaUpdateCompact, getSchemaUpdateSection, getSubagentSystemPrompt, getThemeGuide, getUsesImportCompact, getUsesImportSection, getValidationHintsSection, writeAllSkills, writeSkill };
|
|
946
|
+
export { type CompositionMetrics, EVAL_CASES, type EvalCase, type EvalResult, type GeneratedSkill, type ProviderComparison, type ScoreBreakdown, type SkillFrontmatter, type SkillsServiceActions, type SkillsServiceContract, analyzeComposition, calculateTotalScore, formatFrontmatter, generateAllBuilderSkills, generateAlmadarAssistantSkill, generateBehaviorsSkill, generateComparisonMatrix, generateConverterSkill, generateDomainLanguageSkill, generateKflowOrbitalFixingSkill, generateKflowOrbitalsSkill, generateLeanFixingSkill$1 as generateLeanFixingSkill, generateLeanFixingSkill as generateLeanFixingSkillFull, generateLeanOrbitalSkill$1 as generateLeanOrbitalSkill, generateLeanOrbitalSkill as generateLeanOrbitalSkillFull, generateOrbSkill, getArchitectureSection, getAssetRefSection, getBannedProps, getBehaviorAtomReference, getBehaviorCatalogSection, getBehaviorCompositionGuide, getBehaviorEventContractsSection, getBehaviorMoleculeReference, getBehaviorOrganismReference, getBindingContextRules, getBindingsCompact, getBindingsGuide, getCommonErrorsSection, getCommonFixPatternsSection, getCompletionRulesSection, getConnectivityCompact, getContextUsageCompact, getContextUsageSection, getCrossOrbitalWiringGuide, getCustomTraitCompact, getCustomTraitSection, getDecompositionChecklist, getDecompositionCompact, getDecompositionSection, getDesignErrorsCompact, getDesignErrorsSection, getDomainBehaviorMapping, getEfficiencySection, getFieldTypesCompact, getFixingWorkflowSection, getFlowPatternSection, getFullOrbitalPrompt, getGameAsOrbitalsSection, getGameEntityTemplatesSection, getGamePatternsSection, getGameTraitsSection, getGameTypesSection, getIconLibraryCompact, getIconLibrarySection, getKeyBehaviorsReference, getMinimalTypeReference, getMultiFileSection, getOrbRenderUIGuide, getOrbRenderUIGuideFiltered, getOrbitalConnectivitySection, getOrbitalDecompositionPrompt, getOverGenerationSection, getPatternTypesCompact, getPortableOrbitalOutputSection, getRenderUIDesignGuide, getRenderUIQuickRef, getRequirementsDecomposePrompt, getRequirementsTraitPrompt, getSExprQuickRef, getSchemaUpdateCompact, getSchemaUpdateSection, getSubagentSystemPrompt, getThemeGuide, getUsesImportCompact, getUsesImportSection, getValidationHintsSection, writeAllSkills, writeSkill };
|