@holoscript/sdk
v7.0.0
Published
@deprecated — Use @holoscript/core directly. This package is a thin re-export shim kept for backward compatibility. Will be removed in a future major release. (A.011.06d)
Maintainers
Readme
@holoscript/sdk
HoloScript Smart Asset SDK and HoloHub client integration.
Installation
npm install @holoscript/sdkOverview
This package provides the SDK for creating and managing HoloScript Smart Assets and interacting with the HoloHub platform. It is not a CLI toolkit — for CLI tools, see @holoscript/cli.
Usage
import { HoloSmartAsset, HoloHubClient } from '@holoscript/sdk';Smart Assets
Create and manage smart assets with schema validation powered by Zod:
import { HoloSmartAsset } from '@holoscript/sdk';
const asset = new HoloSmartAsset({
name: 'Interactive Cube',
traits: ['@grabbable', '@physics'],
geometry: 'cube',
});HoloHub Client
Connect to the HoloHub platform for asset publishing and discovery:
import { HoloHubClient } from '@holoscript/sdk';
const client = new HoloHubClient({
apiKey: process.env.HOLOHUB_API_KEY,
});Related Packages
@holoscript/core- Parser, compiler, and runtime@holoscript/cli- Command-line tools (holoscript build,holoscript run, etc.)@holoscript/mcp-server- MCP tools for AI agents
License
MIT
