@holoscript/framework 6.0.3 → 6.0.4
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/CHANGELOG.md +1 -2
- package/ROADMAP.md +68 -66
- package/dist/{InvisibleWallet-BB6tFvRA.d.cts → InvisibleWallet-EFiuaLn3.d.cts} +1 -1
- package/dist/{OrchestratorAgent-BvWgf9uw.d.cts → OrchestratorAgent-CrLDGNL6.d.cts} +1 -1
- package/dist/agents/index.cjs +11 -10
- package/dist/agents/index.d.cts +4 -16
- package/dist/ai/index.cjs +2 -2
- package/dist/behavior.cjs +10 -0
- package/dist/economy/index.cjs +4 -4
- package/dist/economy/index.d.cts +2 -2
- package/dist/index.cjs +33 -11
- package/dist/index.d.cts +3 -3
- package/dist/swarm/index.cjs +3 -0
- package/package.json +14 -9
- package/src/__tests__/bounty-marketplace.test.ts +53 -21
- package/src/__tests__/delegation.test.ts +1 -4
- package/src/__tests__/done-log-audit.test.ts +38 -46
- package/src/__tests__/framework.test.ts +172 -53
- package/src/__tests__/goal-synthesizer.test.ts +9 -6
- package/src/__tests__/presence.test.ts +1 -1
- package/src/__tests__/protocol-agent.test.ts +12 -11
- package/src/__tests__/revenue-splitter.test.ts +22 -15
- package/src/__tests__/scenario-driven-todo.test.ts +55 -35
- package/src/__tests__/self-improve.test.ts +28 -9
- package/src/__tests__/service-lifecycle.test.ts +9 -3
- package/src/__tests__/skill-router.test.ts +3 -3
- package/src/agents/CulturalMemory.ts +6 -6
- package/src/agents/DelegationTraceHooks.ts +560 -0
- package/src/agents/FederatedRegistryAdapter.ts +1 -1
- package/src/agents/NormEngine.ts +3 -8
- package/src/agents/OrchestratorAgent.ts +1 -1
- package/src/agents/TaskDelegationService.ts +5 -9
- package/src/agents/__tests__/AgentWalletRegistry.test.ts +5 -4
- package/src/agents/__tests__/CrossRealityHandoff.test.ts +9 -3
- package/src/agents/__tests__/DelegationTraceHooks.test.ts +390 -0
- package/src/agents/__tests__/TaskDelegationService.test.ts +4 -2
- package/src/agents/spatial-comms/Layer1RealTime.ts +36 -19
- package/src/agents/spatial-comms/Layer2A2A.ts +1 -3
- package/src/agents/spatial-comms/Layer3MCP.ts +13 -4
- package/src/agents/spatial-comms/ProtocolTypes.ts +5 -2
- package/src/agents/spatial-comms/examples/multi-agent-world-creation.ts +2 -2
- package/src/ai/HoloScriptGenerator.ts +2 -2
- package/src/ai/__tests__/PerceptionSystem.prod.test.ts +1 -1
- package/src/ai/__tests__/PerceptionSystem.test.ts +14 -14
- package/src/ai/__tests__/SteeringBehaviors.prod.test.ts +1 -1
- package/src/ai/index.ts +5 -1
- package/src/board/audit.ts +17 -6
- package/src/board/board-ops.ts +45 -15
- package/src/board/board-types.ts +94 -20
- package/src/delegation.ts +5 -3
- package/src/distributed-claimer.ts +13 -2
- package/src/economy/BountyManager.ts +40 -18
- package/src/economy/KnowledgeMarketplace.ts +27 -8
- package/src/economy/PaymentWebhookService.ts +0 -1
- package/src/economy/RevenueSplitter.ts +2 -4
- package/src/economy/UnifiedBudgetOptimizer.ts +8 -9
- package/src/economy/_core-stubs.ts +1 -1
- package/src/economy/x402-facilitator.ts +17 -8
- package/src/index.ts +16 -12
- package/src/knowledge/__tests__/knowledge-consolidator.test.ts +138 -89
- package/src/knowledge/__tests__/knowledge-store-vector.test.ts +59 -16
- package/src/knowledge/brain.ts +7 -7
- package/src/knowledge/consolidation.ts +16 -16
- package/src/knowledge/knowledge-consolidator.ts +60 -30
- package/src/knowledge/knowledge-store.ts +83 -45
- package/src/learning/ProceduralCompiler.ts +6 -1
- package/src/learning/learning/MemoryConsolidator.ts +102 -0
- package/src/learning/learning/MemoryScorer.ts +69 -0
- package/src/learning/learning/ProceduralCompiler.ts +45 -0
- package/src/learning/learning/SemanticClusterer.ts +66 -0
- package/src/llm/llm-adapter.ts +24 -10
- package/src/mesh/index.ts +37 -17
- package/src/protocol/goal-synthesizer.ts +24 -34
- package/src/protocol/implementations.ts +91 -22
- package/src/protocol/micro-phase-decomposer.ts +25 -17
- package/src/protocol/micro-step-decomposer.test.ts +104 -39
- package/src/protocol-agent.test.ts +17 -7
- package/src/protocol-agent.ts +45 -42
- package/src/self-improve/absorb-scanner.ts +9 -6
- package/src/self-improve/evolution-engine.ts +36 -18
- package/src/self-improve/framework-absorber.ts +21 -16
- package/src/self-improve/index.ts +2 -10
- package/src/self-improve/prompt-optimizer.ts +31 -19
- package/src/self-improve/test-generator.ts +16 -12
- package/src/skill-router.ts +7 -6
- package/src/swarm/messaging/GossipProtocol.ts +1 -1
- package/src/swarm/messaging/__tests__/BroadcastChannel.prod.test.ts +31 -9
- package/src/swarm/messaging/__tests__/GossipProtocol.prod.test.ts +21 -7
- package/src/swarm/messaging/__tests__/SwarmEventBus.prod.test.ts +24 -8
- package/src/swarm/messaging/__tests__/SwarmEventBus.test.ts +6 -2
- package/src/team.ts +277 -122
- package/src/training/scripts/generate-spatial-dataset.ts +1 -1
- package/src/training/training/LRScheduler.ts +377 -0
- package/src/training/training/QualityScoringPipeline.ts +139 -0
- package/src/training/training/SoftDedup.ts +461 -0
- package/src/training/training/SparsityMonitor.ts +685 -0
- package/src/training/training/SparsityMonitorTypes.ts +209 -0
- package/src/training/training/SpatialTrainingDataGenerator.ts +1526 -0
- package/src/training/training/SpatialTrainingDataTypes.ts +216 -0
- package/src/training/training/TrainingPipelineConfig.ts +215 -0
- package/src/training/training/__tests__/CorpusValidation.test.ts +87 -0
- package/src/training/training/__tests__/LRScheduler.test.ts +592 -0
- package/src/training/training/__tests__/SoftDedup.test.ts +415 -0
- package/src/training/training/__tests__/SparsityMonitor.test.ts +1623 -0
- package/src/training/training/__tests__/SpatialCorpusValidation.test.ts +72 -0
- package/src/training/training/__tests__/SpatialTrainingDataGenerator.test.ts +1244 -0
- package/src/training/training/__tests__/TrainingMonkeyIntegration.test.ts +897 -0
- package/src/training/training/__tests__/TrainingPipelineConfig.test.ts +202 -0
- package/src/training/training/__tests__/schema.test.ts +72 -0
- package/src/training/training/__tests__/training-constants.test.ts +106 -0
- package/src/training/training/__tests__/trait-mappings.test.ts +81 -0
- package/src/training/training/constants.ts +94 -0
- package/src/training/training/index.ts +17 -0
- package/src/training/training/schema.ts +147 -0
- package/src/training/training/scripts/generate-novel-use-cases-dataset.ts +272 -0
- package/src/training/training/scripts/generate-spatial-dataset.ts +521 -0
- package/src/training/training/trainingmonkey/TrainingMonkeyIntegration.ts +477 -0
- package/src/training/training/trainingmonkey/TrainingMonkeyTypes.ts +230 -0
- package/src/training/training/trainingmonkey/index.ts +26 -0
- package/src/training/training/trait-mappings.ts +157 -0
- package/src/types.ts +2 -7
- package/ALL-test-results.json +0 -1
- package/LICENSE +0 -21
- package/dist/AgentManifest-CB4xM-Ma.d.ts +0 -704
- package/dist/BehaviorTree-BrBFECv5.d.ts +0 -103
- package/dist/InvisibleWallet-rtRrBOA8.d.ts +0 -1732
- package/dist/OrchestratorAgent-Q_CbVTmO.d.ts +0 -798
- package/dist/agents/index.d.ts +0 -1788
- package/dist/agents/index.js +0 -4695
- package/dist/ai/index.d.ts +0 -1753
- package/dist/ai/index.js +0 -5244
- package/dist/behavior.d.ts +0 -130
- package/dist/behavior.js +0 -407
- package/dist/economy/index.d.ts +0 -747
- package/dist/economy/index.js +0 -3617
- package/dist/implementations-D9T3un9D.d.ts +0 -236
- package/dist/index.d.ts +0 -1729
- package/dist/index.js +0 -24277
- package/dist/learning/index.d.ts +0 -104
- package/dist/learning/index.js +0 -189
- package/dist/negotiation/index.d.ts +0 -610
- package/dist/negotiation/index.js +0 -931
- package/dist/skills/index.d.ts +0 -289
- package/dist/skills/index.js +0 -1079
- package/dist/swarm/index.d.ts +0 -2433
- package/dist/swarm/index.js +0 -5221
- package/dist/training/index.d.ts +0 -1734
- package/dist/training/index.js +0 -2687
- package/extract-failures.js +0 -10
- package/src/training/training/data/novel-use-cases.jsonl +0 -153
- package/src/training/training/data/spatial-reasoning-10k.jsonl +0 -9354
- package/src/types/core-stubs.d.ts +0 -113
- package/test-output.txt +0 -0
- package/test-result.json +0 -1
- package/tsc-errors.txt +0 -4
- package/tsc_output.txt +0 -0
- package/typescript-errors-2.txt +0 -0
- package/typescript-errors.txt +0 -22
- package/vitest-log-utf8.txt +0 -268
- package/vitest-log.txt +0 -0
package/dist/skills/index.d.ts
DELETED
|
@@ -1,289 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Skill-MD Bridge — Bidirectional .hsplus <-> SKILL.md Conversion
|
|
3
|
-
*
|
|
4
|
-
* Converts HoloScript .hsplus composition skills to portable SKILL.md format
|
|
5
|
-
* (ClawHub/OpenClaw compatible) and back. Enables cross-platform skill sharing
|
|
6
|
-
* between HoloClaw's native .hsplus format and the broader agent skill ecosystem.
|
|
7
|
-
*
|
|
8
|
-
* Forward bridge: .hsplus -> SKILL.md
|
|
9
|
-
* - Extracts composition metadata (name, description, version) as YAML frontmatter
|
|
10
|
-
* - Converts behavior tree sequences into Markdown instruction steps
|
|
11
|
-
* - Includes trait declarations, state schema, and runtime requirements
|
|
12
|
-
* - Maps input_schema/output_schema to OpenClaw frontmatter fields
|
|
13
|
-
*
|
|
14
|
-
* Reverse bridge: SKILL.md -> .hsplus
|
|
15
|
-
* - Parses YAML frontmatter into composition metadata + trait declarations
|
|
16
|
-
* - Converts Markdown instructions into behavior tree sequence nodes
|
|
17
|
-
* - Wraps in full composition structure with @economy, @rate_limiter, @timeout_guard
|
|
18
|
-
* - Parses input_schema/output_schema from frontmatter into typed schemas
|
|
19
|
-
*
|
|
20
|
-
* HoloClaw Skill interop:
|
|
21
|
-
* - toHoloClawSkill() converts ParsedSkill to the Skill interface from SkillRegistryTrait
|
|
22
|
-
* - fromHoloClawSkill() converts Skill objects back to ParsedSkill for serialization
|
|
23
|
-
*
|
|
24
|
-
* ClawHub CLI integration: publish/install skill packages with registry URL support
|
|
25
|
-
*
|
|
26
|
-
* @version 1.1.0
|
|
27
|
-
* @see compositions/skills/*.hsplus — HoloClaw native skill format
|
|
28
|
-
* @see .claude/skills/ *\/SKILL.md — Claude Code SKILL.md format
|
|
29
|
-
* @see https://docs.openclaw.ai/tools/skills — ClawHub specification
|
|
30
|
-
*
|
|
31
|
-
* Security considerations (Corridor-inline):
|
|
32
|
-
* - File paths are validated against path traversal
|
|
33
|
-
* - No shell execution in the bridge itself (CLI integration uses subprocess)
|
|
34
|
-
* - Skill content is parsed, not eval'd
|
|
35
|
-
* - YAML frontmatter is parsed with safe subset (no !!python/exec etc.)
|
|
36
|
-
*/
|
|
37
|
-
/**
|
|
38
|
-
* Schema field definition for input/output schemas.
|
|
39
|
-
* Compatible with OpenClaw SKILL.md frontmatter format and HoloClaw SkillInput/SkillOutput.
|
|
40
|
-
*/
|
|
41
|
-
interface SchemaField {
|
|
42
|
-
/** Field name */
|
|
43
|
-
name: string;
|
|
44
|
-
/** Field type: string, number, boolean, object, array */
|
|
45
|
-
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
46
|
-
/** Whether this field is required (inputs only) */
|
|
47
|
-
required?: boolean;
|
|
48
|
-
/** Human-readable description */
|
|
49
|
-
description: string;
|
|
50
|
-
/** Default value (inputs only) */
|
|
51
|
-
default?: unknown;
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* Metadata extracted from an .hsplus composition skill or SKILL.md frontmatter.
|
|
55
|
-
* This is the canonical interchange format between the two representations.
|
|
56
|
-
*/
|
|
57
|
-
interface SkillMetadata {
|
|
58
|
-
/** Skill identifier (kebab-case, e.g. "code-health") */
|
|
59
|
-
name: string;
|
|
60
|
-
/** Human-readable description of what the skill does */
|
|
61
|
-
description: string;
|
|
62
|
-
/** Semantic version string */
|
|
63
|
-
version: string;
|
|
64
|
-
/** Author name or organization */
|
|
65
|
-
author: string;
|
|
66
|
-
/** Skill category for marketplace browsing */
|
|
67
|
-
category?: string;
|
|
68
|
-
/** Tags for search/discovery */
|
|
69
|
-
tags?: string[];
|
|
70
|
-
/** Input schema fields (OpenClaw input_schema frontmatter) */
|
|
71
|
-
inputSchema?: SchemaField[];
|
|
72
|
-
/** Output schema fields (OpenClaw output_schema frontmatter) */
|
|
73
|
-
outputSchema?: SchemaField[];
|
|
74
|
-
/** Minimum HoloScript CLI version required */
|
|
75
|
-
holoCliVersion?: string;
|
|
76
|
-
/** Minimum Node.js version required */
|
|
77
|
-
nodeVersion?: string;
|
|
78
|
-
/** Economy budget limit per invocation (USD) */
|
|
79
|
-
spendLimit?: number;
|
|
80
|
-
/** Whether users can invoke this skill via slash command */
|
|
81
|
-
userInvocable?: boolean;
|
|
82
|
-
/** License identifier (SPDX) */
|
|
83
|
-
license?: string;
|
|
84
|
-
/** Homepage URL */
|
|
85
|
-
homepage?: string;
|
|
86
|
-
/** Repository URL */
|
|
87
|
-
repository?: string;
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* A state variable declared in a composition skill.
|
|
91
|
-
*/
|
|
92
|
-
interface SkillStateVar {
|
|
93
|
-
/** Variable name */
|
|
94
|
-
name: string;
|
|
95
|
-
/** Type: string, number, boolean */
|
|
96
|
-
type: string;
|
|
97
|
-
/** Default value */
|
|
98
|
-
defaultValue: string | number | boolean;
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* A trait declaration extracted from a composition skill.
|
|
102
|
-
*/
|
|
103
|
-
interface SkillTraitDecl {
|
|
104
|
-
/** Trait name (e.g. "rate_limiter", "economy") */
|
|
105
|
-
name: string;
|
|
106
|
-
/** Trait configuration parameters */
|
|
107
|
-
config: Record<string, unknown>;
|
|
108
|
-
}
|
|
109
|
-
/**
|
|
110
|
-
* A behavior tree action step extracted from a composition skill.
|
|
111
|
-
*/
|
|
112
|
-
interface SkillActionStep {
|
|
113
|
-
/** Action name (e.g. "shell_exec", "diagnose") */
|
|
114
|
-
action: string;
|
|
115
|
-
/** Human-readable description of what this step does */
|
|
116
|
-
description: string;
|
|
117
|
-
/** Action parameters */
|
|
118
|
-
params: Record<string, unknown>;
|
|
119
|
-
/** BT node type: action, sequence, selector, condition */
|
|
120
|
-
nodeType: 'action' | 'sequence' | 'selector' | 'condition';
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* A test assertion extracted from a composition skill.
|
|
124
|
-
*/
|
|
125
|
-
interface SkillTest {
|
|
126
|
-
/** Test name */
|
|
127
|
-
name: string;
|
|
128
|
-
/** Setup expression (optional) */
|
|
129
|
-
setup?: string;
|
|
130
|
-
/** Assert expression */
|
|
131
|
-
assert: string;
|
|
132
|
-
}
|
|
133
|
-
/**
|
|
134
|
-
* Fully parsed skill representation — the intermediate form between .hsplus and SKILL.md.
|
|
135
|
-
*/
|
|
136
|
-
interface ParsedSkill {
|
|
137
|
-
metadata: SkillMetadata;
|
|
138
|
-
traits: SkillTraitDecl[];
|
|
139
|
-
state: SkillStateVar[];
|
|
140
|
-
steps: SkillActionStep[];
|
|
141
|
-
tests: SkillTest[];
|
|
142
|
-
/** Raw environment block properties (if any) */
|
|
143
|
-
environment?: Record<string, unknown>;
|
|
144
|
-
/** Raw object declarations (for complex skills with scene objects) */
|
|
145
|
-
objects?: string[];
|
|
146
|
-
/** Original source comments (leading comment block) */
|
|
147
|
-
sourceComments: string[];
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* Result of a bridge conversion operation.
|
|
151
|
-
*/
|
|
152
|
-
interface BridgeResult<T> {
|
|
153
|
-
success: boolean;
|
|
154
|
-
data?: T;
|
|
155
|
-
errors: string[];
|
|
156
|
-
warnings: string[];
|
|
157
|
-
}
|
|
158
|
-
/**
|
|
159
|
-
* ClawHub package manifest for publish/install operations.
|
|
160
|
-
*/
|
|
161
|
-
interface ClawHubManifest {
|
|
162
|
-
name: string;
|
|
163
|
-
version: string;
|
|
164
|
-
description: string;
|
|
165
|
-
author: string;
|
|
166
|
-
license: string;
|
|
167
|
-
/** ClawHub registry URL for distribution */
|
|
168
|
-
registryUrl: string;
|
|
169
|
-
/** Tags for registry search/discovery */
|
|
170
|
-
tags?: string[];
|
|
171
|
-
/** Homepage URL */
|
|
172
|
-
homepage?: string;
|
|
173
|
-
/** Repository URL */
|
|
174
|
-
repository?: string;
|
|
175
|
-
holoScript: {
|
|
176
|
-
format: 'hsplus';
|
|
177
|
-
minCliVersion: string;
|
|
178
|
-
traits: string[];
|
|
179
|
-
stateVars: string[];
|
|
180
|
-
testCount: number;
|
|
181
|
-
/** Input schema field names */
|
|
182
|
-
inputFields: string[];
|
|
183
|
-
/** Output schema field names */
|
|
184
|
-
outputFields: string[];
|
|
185
|
-
};
|
|
186
|
-
files: string[];
|
|
187
|
-
dependencies?: Record<string, string>;
|
|
188
|
-
}
|
|
189
|
-
/**
|
|
190
|
-
* Parse an .hsplus composition source string into a structured ParsedSkill.
|
|
191
|
-
* Uses regex-based extraction (not a full parser) for lightweight, dependency-free operation.
|
|
192
|
-
*/
|
|
193
|
-
declare function parseHsplus(source: string): BridgeResult<ParsedSkill>;
|
|
194
|
-
/**
|
|
195
|
-
* Convert a ParsedSkill into a SKILL.md string (ClawHub-compatible format).
|
|
196
|
-
*/
|
|
197
|
-
declare function toSkillMd(skill: ParsedSkill): BridgeResult<string>;
|
|
198
|
-
/**
|
|
199
|
-
* Convert an .hsplus source string directly to SKILL.md string.
|
|
200
|
-
* Convenience wrapper combining parseHsplus + toSkillMd.
|
|
201
|
-
*/
|
|
202
|
-
declare function hsplusToSkillMd(source: string): BridgeResult<string>;
|
|
203
|
-
/**
|
|
204
|
-
* Parse a SKILL.md string into a structured ParsedSkill.
|
|
205
|
-
*/
|
|
206
|
-
declare function parseSkillMd(markdown: string): BridgeResult<ParsedSkill>;
|
|
207
|
-
/**
|
|
208
|
-
* Convert a ParsedSkill into an .hsplus composition source string.
|
|
209
|
-
*/
|
|
210
|
-
declare function toHsplus(skill: ParsedSkill): BridgeResult<string>;
|
|
211
|
-
/**
|
|
212
|
-
* Convert a SKILL.md string directly to .hsplus source string.
|
|
213
|
-
* Convenience wrapper combining parseSkillMd + toHsplus.
|
|
214
|
-
*/
|
|
215
|
-
declare function skillMdToHsplus(markdown: string): BridgeResult<string>;
|
|
216
|
-
/**
|
|
217
|
-
* Generate a ClawHub package manifest from a ParsedSkill.
|
|
218
|
-
* This manifest can be used for `clawhub publish` operations.
|
|
219
|
-
*/
|
|
220
|
-
declare function generateClawHubManifest(skill: ParsedSkill, registryUrl?: string): ClawHubManifest;
|
|
221
|
-
/**
|
|
222
|
-
* Generate the complete set of files needed for a ClawHub publish.
|
|
223
|
-
* Returns a map of filename -> content.
|
|
224
|
-
*/
|
|
225
|
-
declare function generateClawHubPackage(source: string): BridgeResult<Map<string, string>>;
|
|
226
|
-
/**
|
|
227
|
-
* Generate a CLI command string for publishing to ClawHub.
|
|
228
|
-
* Does NOT execute the command -- returns the string for the caller to execute.
|
|
229
|
-
*
|
|
230
|
-
* @param skillName - The skill name (kebab-case)
|
|
231
|
-
* @param registry - The registry URL (default: https://registry.clawhub.com)
|
|
232
|
-
*/
|
|
233
|
-
declare function getPublishCommand(skillName: string, registry?: string): string;
|
|
234
|
-
/**
|
|
235
|
-
* Generate a CLI command string for installing a skill from ClawHub.
|
|
236
|
-
*
|
|
237
|
-
* @param skillName - The skill name (kebab-case)
|
|
238
|
-
* @param targetDir - Target directory (default: compositions/skills)
|
|
239
|
-
* @param registry - The registry URL (default: https://registry.clawhub.com)
|
|
240
|
-
*/
|
|
241
|
-
declare function getInstallCommand(skillName: string, targetDir?: string, registry?: string): string;
|
|
242
|
-
/**
|
|
243
|
-
* Generate a CLI command string for installing via the HoloScript CLI.
|
|
244
|
-
*
|
|
245
|
-
* @param skillName - The skill name (kebab-case)
|
|
246
|
-
*/
|
|
247
|
-
declare function getHsInstallCommand(skillName: string): string;
|
|
248
|
-
/**
|
|
249
|
-
* HoloClaw Skill interface — mirrors SkillRegistryTrait.Skill without the
|
|
250
|
-
* execute function (which cannot be serialized). This is the shape used for
|
|
251
|
-
* registry listing and interchange.
|
|
252
|
-
*/
|
|
253
|
-
interface HoloClawSkill {
|
|
254
|
-
id: string;
|
|
255
|
-
name: string;
|
|
256
|
-
description: string;
|
|
257
|
-
version: string;
|
|
258
|
-
author: string;
|
|
259
|
-
inputs: HoloClawSkillInput[];
|
|
260
|
-
outputs: HoloClawSkillOutput[];
|
|
261
|
-
sandbox: boolean;
|
|
262
|
-
}
|
|
263
|
-
interface HoloClawSkillInput {
|
|
264
|
-
name: string;
|
|
265
|
-
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
266
|
-
required: boolean;
|
|
267
|
-
description: string;
|
|
268
|
-
default?: unknown;
|
|
269
|
-
}
|
|
270
|
-
interface HoloClawSkillOutput {
|
|
271
|
-
name: string;
|
|
272
|
-
type: string;
|
|
273
|
-
description: string;
|
|
274
|
-
}
|
|
275
|
-
/**
|
|
276
|
-
* Convert a ParsedSkill (bridge intermediate) to a HoloClaw Skill object.
|
|
277
|
-
* This enables skills parsed from SKILL.md to be registered in the HoloClaw
|
|
278
|
-
* SkillRegistry runtime (minus the execute function, which must be provided
|
|
279
|
-
* separately or wired via a BT executor).
|
|
280
|
-
*/
|
|
281
|
-
declare function toHoloClawSkill(parsed: ParsedSkill): HoloClawSkill;
|
|
282
|
-
/**
|
|
283
|
-
* Convert a HoloClaw Skill object to a ParsedSkill (bridge intermediate).
|
|
284
|
-
* This enables HoloClaw runtime skills to be serialized as SKILL.md or .hsplus
|
|
285
|
-
* for distribution via ClawHub.
|
|
286
|
-
*/
|
|
287
|
-
declare function fromHoloClawSkill(skill: HoloClawSkill): ParsedSkill;
|
|
288
|
-
|
|
289
|
-
export { type BridgeResult, type ClawHubManifest, type HoloClawSkill, type HoloClawSkillInput, type HoloClawSkillOutput, type ParsedSkill, type SchemaField, type SkillActionStep, type SkillMetadata, type SkillStateVar, type SkillTest, type SkillTraitDecl, fromHoloClawSkill, generateClawHubManifest, generateClawHubPackage, getHsInstallCommand, getInstallCommand, getPublishCommand, hsplusToSkillMd, parseHsplus, parseSkillMd, skillMdToHsplus, toHoloClawSkill, toHsplus, toSkillMd };
|