aetherlight-sdk
Version:
ÆtherLight Application Integration SDK - Add voice control to any application with natural language function calling
39 lines (38 loc) • 1.31 kB
JavaScript
;
/**
* ÆtherLight Application Integration SDK
*
* DESIGN DECISION: Single entry point exports all public APIs
* WHY: Simplifies imports for SDK users
*
* USAGE:
* ```typescript
* import { AetherlightClient, Lumina, param } from '@aetherlight/sdk';
*
* const client = new AetherlightClient({ port: 9876 });
*
* class MyApp {
* @Lumina({
* description: "Search for items",
* examples: ["Find item X", "Show item Y"]
* })
* async searchItems(
* @param("Search query") query: string
* ): Promise<Item[]> {
* return this.database.search(query);
* }
* }
*
* client.register(new MyApp());
* await client.connect();
* ```
*
* PATTERN: Pattern-SDK-001 (Application Integration SDK)
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.param = exports.Lumina = exports.AetherlightClient = void 0;
var client_1 = require("./client");
Object.defineProperty(exports, "AetherlightClient", { enumerable: true, get: function () { return client_1.AetherlightClient; } });
var decorators_1 = require("./decorators");
Object.defineProperty(exports, "Lumina", { enumerable: true, get: function () { return decorators_1.Lumina; } });
Object.defineProperty(exports, "param", { enumerable: true, get: function () { return decorators_1.param; } });