From d73af561aee48d37df329cd952cec912e56f51ff Mon Sep 17 00:00:00 2001 From: konard Date: Thu, 19 Mar 2026 12:58:42 +0000 Subject: [PATCH 1/3] Initial commit with task details Adding .gitkeep for PR creation (default mode). This file will be removed when the task is complete. Issue: https://github.com/xlabtg/teleton-plugins/issues/27 --- .gitkeep | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitkeep b/.gitkeep index c46a5b9..39c623c 100644 --- a/.gitkeep +++ b/.gitkeep @@ -1 +1,2 @@ -# .gitkeep file auto-generated at 2026-03-19T10:37:13.073Z for PR creation at branch issue-19-f54b585823d1 for issue https://github.com/xlabtg/teleton-plugins/issues/19 \ No newline at end of file +# .gitkeep file auto-generated at 2026-03-19T10:37:13.073Z for PR creation at branch issue-19-f54b585823d1 for issue https://github.com/xlabtg/teleton-plugins/issues/19 +# Updated: 2026-03-19T12:58:42.845Z \ No newline at end of file From 55e4d0e7d9da933a3517e16a38891a075657274d Mon Sep 17 00:00:00 2001 From: konard Date: Thu, 19 Mar 2026 13:11:23 +0000 Subject: [PATCH 2/3] docs(ton-bridge): clarify installation and config are auto-loaded, no config.yaml entry required MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The plugin is auto-loaded from ~/.teleton/plugins/ directory — no plugins: section entry is needed in config.yaml. Configuration is optional: defaultConfig provides working defaults out of the box. Updated README.md to: - Clarify auto-loading behavior after installation - Move usage examples before configuration (matches other plugins) - Mark configuration as optional with explicit note - Use section naming consistent with other plugins (Install, Usage examples, Tool schemas) Co-Authored-By: Claude Sonnet 4.6 --- plugins/ton-bridge/README.md | 57 +++++++++++++----------------------- 1 file changed, 21 insertions(+), 36 deletions(-) diff --git a/plugins/ton-bridge/README.md b/plugins/ton-bridge/README.md index dab9a28..dbc328c 100644 --- a/plugins/ton-bridge/README.md +++ b/plugins/ton-bridge/README.md @@ -5,13 +5,6 @@ Works in DMs, groups, and channels. TON Bridge works with support from TONBANKCARD. -## Features - -- Sends a message with a URL inline button directly to the current chat -- Button text controllable per tool call (the LLM can omit or include emoji) -- Customizable default button text via config -- Custom message support - ## Tools | Tool | Description | Category | @@ -20,15 +13,27 @@ TON Bridge works with support from TONBANKCARD. | `ton_bridge_about` | Send info about TON Bridge with a Mini App button | data-bearing | | `ton_bridge_custom_message` | Send a custom message alongside a TON Bridge button | action | -## Installation +## Install ```bash mkdir -p ~/.teleton/plugins cp -r plugins/ton-bridge ~/.teleton/plugins/ ``` +Restart Teleton — the plugin is auto-loaded from `~/.teleton/plugins/`. No changes to `config.yaml` are required. + +## Usage examples + +- "Open TON Bridge" +- "Tell me about TON Bridge" +- "Send a message about TON Bridge with a button" +- "Open TON Bridge, no emoji on the button" +- "Share a TON Bridge link with the text: Transfer your assets seamlessly" + ## Configuration +Configuration is optional — the plugin works out of the box with defaults. Override in `config.yaml` only if needed: + ```yaml # ~/.teleton/config.yaml plugins: @@ -37,38 +42,14 @@ plugins: startParam: "" # Optional start parameter appended to the Mini App URL ``` -> **Note:** Emoji on the button is controlled by the agent at call time via the `buttonText` parameter, not by config. This allows the agent to send buttons with or without emoji as requested by the user. - -## Usage Examples - -### Open TON Bridge -``` -Open TON Bridge -``` - -Sends a message with a button linking to `https://t.me/TONBridge_robot?startapp`. - -### Open TON Bridge without emoji on button -``` -Open TON Bridge, no emoji on the button -``` - -The agent will call `ton_bridge_open` with `buttonText: "TON Bridge No1"` (no emoji). - -### Get Info About TON Bridge -``` -Tell me about TON Bridge -``` - -### Custom Message with Button -``` -Send "Transfer your assets via TON Bridge" with a TON Bridge button -``` +> **Note:** Button emoji is controlled by the agent at call time via the `buttonText` parameter, not by config. This allows the agent to include or omit emoji as requested by the user. -## Tool Schemas +## Tool schemas ### `ton_bridge_open` +Send a message with a TON Bridge Mini App button. Use when the user asks to open or access TON Bridge. + | Param | Type | Required | Default | Description | |-------|------|----------|---------|-------------| | `message` | string | No | — | Optional message text to show with the button | @@ -76,12 +57,16 @@ Send "Transfer your assets via TON Bridge" with a TON Bridge button ### `ton_bridge_about` +Send an info message about TON Bridge with a Mini App button. Use when the user asks about TON Bridge. + | Param | Type | Required | Default | Description | |-------|------|----------|---------|-------------| | `buttonText` | string | No | config default | Button label. Do not include emoji unless user requested it. | ### `ton_bridge_custom_message` +Send a custom message alongside a TON Bridge button. + | Param | Type | Required | Default | Description | |-------|------|----------|---------|-------------| | `customMessage` | string | Yes | — | Custom message text to display with the button | From 7e830702ec2d953a8e0e1798e7e8b4be202a1bac Mon Sep 17 00:00:00 2001 From: konard Date: Thu, 19 Mar 2026 13:13:02 +0000 Subject: [PATCH 3/3] Revert "Initial commit with task details" This reverts commit d73af561aee48d37df329cd952cec912e56f51ff. --- .gitkeep | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitkeep b/.gitkeep index 39c623c..c46a5b9 100644 --- a/.gitkeep +++ b/.gitkeep @@ -1,2 +1 @@ -# .gitkeep file auto-generated at 2026-03-19T10:37:13.073Z for PR creation at branch issue-19-f54b585823d1 for issue https://github.com/xlabtg/teleton-plugins/issues/19 -# Updated: 2026-03-19T12:58:42.845Z \ No newline at end of file +# .gitkeep file auto-generated at 2026-03-19T10:37:13.073Z for PR creation at branch issue-19-f54b585823d1 for issue https://github.com/xlabtg/teleton-plugins/issues/19 \ No newline at end of file