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

I Built an SDK for HexTelegram Development

说明与用途

开发者现在拥有 htsdk SDK,可快速为 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