Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I Built an SDK for HexTelegram Development

Описание и применение

Разработчики получили SDK htsdk, позволяющий быстро создавать плагины, агенты и провайдеры аутентификации для HexTelegram.

Задача

Developers needed a way to build custom agents, plugins, and auth providers for HexTelegram without complex setup.

Результат

Developers can now quickly build and deploy plugins and agents for HexTelegram using the htsdk, reducing setup time and simplifying integration.

Рабочий процесс

  • 1. Install the SDK via npm using the GitHub URL: npm install github:HexZoNetwork/htsdk
  • 2. Import the SDK functions: const { definePlugin, createAgent } = require('htsdk')
  • 3. Define a plugin using definePlugin and export it.
  • 4. Create a custom agent with createAgent that speaks the OpenAI-compatible protocol.
  • 5. Optionally define custom auth providers via defineProvider in auth-providers.js.
  • 6. Use example plugins in examples/ to test functionality.

Доказательства

htsdk is the public SDK for HexTelegram (HTG)

Источник

Install (no npm publish needed)
npm install github:HexZoNetwork/htsdk

Источник

const { definePlugin, createAgent } = require('htsdk')

Источник

  • Дата записи: 2026-10-13T14:56:11.581Z