Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
2faea30
add ton-trading-bot plugin
xlabtg Mar 16, 2026
c4ac84e
Create README.md
xlabtg Mar 16, 2026
c1993e7
add index.js and manifest.json
xlabtg Mar 16, 2026
52909af
Create README.md
xlabtg Mar 17, 2026
6830094
add index.js index.ts manifest.ts package.json tsconfig.json tsup.con…
xlabtg Mar 17, 2026
03e3595
Update registry.json
xlabtg Mar 17, 2026
b9dee2f
Initial commit with task details
konard Mar 17, 2026
5326970
Add github-dev-assistant plugin β€” full GitHub workflow automation
konard Mar 17, 2026
1cf7afb
Revert "Initial commit with task details"
konard Mar 17, 2026
2e20f3b
Merge pull request #2 from konard/issue-1-cbd6661264a6
xlabtg Mar 17, 2026
1419986
fix bag
xlabtg Mar 17, 2026
6c485d7
Update index.js
xlabtg Mar 17, 2026
c241e1f
Initial commit with task details
konard Mar 17, 2026
1dcc6ea
refactor: rewrite ton-bridge plugin to inline-native architecture
konard Mar 17, 2026
deb30a2
Revert "Initial commit with task details"
konard Mar 17, 2026
97fc094
Merge pull request #4 from konard/issue-3-39da53d32838
xlabtg Mar 17, 2026
481c138
Initial commit with task details
konard Mar 18, 2026
0bb7784
refactor: rewrite ton-trading-bot as atomic tool-provider plugin
konard Mar 18, 2026
ef14e13
Revert "Initial commit with task details"
konard Mar 18, 2026
1e539a8
Initial commit with task details
konard Mar 18, 2026
28f4f9f
Merge pull request #6 from konard/issue-5-72d8054206b8
xlabtg Mar 18, 2026
47962fa
fix(ton-bridge): rewrite plugin for LLM tool agent compatibility
konard Mar 18, 2026
16623ae
Revert "Initial commit with task details"
konard Mar 18, 2026
29adc0a
Merge pull request #8 from konard/issue-7-84162c8d2fb4
xlabtg Mar 18, 2026
b48e695
Initial commit with task details
konard Mar 18, 2026
df0c14b
fix(github-dev-assistant): rewrite plugin for LLM agent compatibility
konard Mar 18, 2026
587b916
Revert "Initial commit with task details"
konard Mar 18, 2026
60c6aba
Merge pull request #10 from konard/issue-9-6b133e1fab41
xlabtg Mar 18, 2026
02c3108
Initial commit with task details
konard Mar 18, 2026
288678a
fix(ton-trading-bot): align plugin with teleton-agent SDK architecture
konard Mar 18, 2026
74f6c06
Revert "Initial commit with task details"
konard Mar 18, 2026
510de42
Merge pull request #12 from konard/issue-11-4858e579f5e4
xlabtg Mar 18, 2026
9ba91f1
Initial commit with task details
konard Mar 18, 2026
c7c360c
Initial commit with task details
konard Mar 18, 2026
7a00b0a
fix(ton-bridge): align plugin with teleton-agent SDK architecture
konard Mar 18, 2026
dab7695
Revert "Initial commit with task details"
konard Mar 18, 2026
1340ca3
Merge pull request #14 from konard/issue-13-c9d2a921c58a
xlabtg Mar 18, 2026
5c8c09a
fix(github-dev-assistant): align plugin with teleton-agent SDK archit…
konard Mar 18, 2026
1615136
Revert "Initial commit with task details"
konard Mar 18, 2026
7f290ff
Merge pull request #16 from konard/issue-15-d206ad744152
xlabtg Mar 18, 2026
720b428
Initial commit with task details
konard Mar 18, 2026
330fdd1
fix(github-dev-assistant): remove files that prevent clean module loa…
konard Mar 18, 2026
ee42e65
Revert "Initial commit with task details"
konard Mar 18, 2026
b2c16b0
Merge pull request #18 from konard/issue-17-e8c9fa8f5da4
xlabtg Mar 18, 2026
194318b
Initial commit with task details
konard Mar 19, 2026
fb02cf3
fix(manifests): add missing permissions field to giftindex and twitte…
konard Mar 19, 2026
f2b6b21
feat(ci): implement CI and deployment workflows
konard Mar 19, 2026
86d4d6c
Merge pull request #20 from konard/issue-19-f54b585823d1
xlabtg Mar 19, 2026
2fa2761
Initial commit with task details
konard Mar 19, 2026
7a46b79
fix(github-dev-assistant): fix compatibility with Teleton system
konard Mar 19, 2026
817ac36
fix(ton-bridge): fix compatibility with Teleton system
konard Mar 19, 2026
ee27d93
fix(ton-trading-bot): fix compatibility with Teleton system
konard Mar 19, 2026
26179da
fix(ton-bridge): add missing package-lock.json
konard Mar 19, 2026
b300a9b
Revert "Initial commit with task details"
konard Mar 19, 2026
225104c
fix(ci): skip Vercel deploy when VERCEL_TOKEN is not configured
konard Mar 19, 2026
fbdb51f
Merge pull request #22 from konard/issue-21-6400efc49953
xlabtg Mar 19, 2026
58989b1
Initial commit with task details
konard Mar 19, 2026
de94287
fix(ton-bridge): send button directly via sdk.telegram.sendMessage, r…
konard Mar 19, 2026
7ba9b0f
Revert "Initial commit with task details"
konard Mar 19, 2026
bc85cab
Merge pull request #24 from konard/issue-23-b4bb9c4e329a
xlabtg Mar 19, 2026
8eccfe6
Initial commit with task details
konard Mar 19, 2026
d33e44b
fix(ton-bridge): remove empty package.json/lock to prevent npm instal…
konard Mar 19, 2026
e022aea
Revert "Initial commit with task details"
konard Mar 19, 2026
4fd4493
Merge pull request #26 from konard/issue-25-6d448dfba224
xlabtg Mar 19, 2026
d73af56
Initial commit with task details
konard Mar 19, 2026
55e4d0e
docs(ton-bridge): clarify installation and config are auto-loaded, no…
konard Mar 19, 2026
7e83070
Revert "Initial commit with task details"
konard Mar 19, 2026
afd2ce2
Merge pull request #28 from konard/issue-27-f116269f749c
xlabtg Mar 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
114 changes: 114 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
name: CI

on:
pull_request:
push:
branches: [main]

jobs:
build-runtime:
name: Build (Runtime)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: "20"

- name: Install root dev dependencies
run: npm ci --ignore-scripts

- name: Install plugin dependencies
run: |
for pkg in plugins/*/package.json; do
dir=$(dirname "$pkg")
if [ -f "$dir/package-lock.json" ]; then
npm ci --ignore-scripts --no-audit --no-fund --prefix "$dir"
fi
done

- name: Validate plugins load (Runtime)
run: node scripts/validate-plugins.mjs

build-sdk:
name: Build (SDK with DTS)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: "20"

- name: Install root dev dependencies
run: npm ci --ignore-scripts

- name: Install plugin dependencies
run: |
for pkg in plugins/*/package.json; do
dir=$(dirname "$pkg")
if [ -f "$dir/package-lock.json" ]; then
npm ci --ignore-scripts --no-audit --no-fund --prefix "$dir"
fi
done

- name: Build SDK plugins and generate type declarations
run: node scripts/build-sdk.mjs

lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: "20"

- name: Install root dev dependencies
run: npm ci --ignore-scripts

- name: Lint
run: npm run lint

test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: "20"

- name: Install root dev dependencies
run: npm ci --ignore-scripts

- name: Install plugin dependencies
run: |
for pkg in plugins/*/package.json; do
dir=$(dirname "$pkg")
if [ -f "$dir/package-lock.json" ]; then
npm ci --ignore-scripts --no-audit --no-fund --prefix "$dir"
fi
done

- name: Run tests
run: node scripts/run-tests.mjs

typescript:
name: TypeScript
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: "20"

- name: Install root dev dependencies
run: npm ci --ignore-scripts

- name: TypeScript type check
run: npm run typecheck
62 changes: 62 additions & 0 deletions .github/workflows/deploy-vercel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Deploy to Vercel

on:
pull_request:
push:
branches: [main]

jobs:
deploy:
name: deploy
runs-on: ubuntu-latest
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
steps:
- name: Check Vercel token
id: check
run: |
if [ -z "$VERCEL_TOKEN" ]; then
echo "available=false" >> "$GITHUB_OUTPUT"
echo "⚠️ VERCEL_TOKEN is not configured β€” skipping deployment"
else
echo "available=true" >> "$GITHUB_OUTPUT"
fi

- uses: actions/checkout@v4
if: steps.check.outputs.available == 'true'

- uses: actions/setup-node@v4
if: steps.check.outputs.available == 'true'
with:
node-version: "20"

- name: Install Vercel CLI
if: steps.check.outputs.available == 'true'
run: npm install --global vercel@latest

- name: Pull Vercel environment
if: steps.check.outputs.available == 'true'
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}

- name: Build project artifacts
if: steps.check.outputs.available == 'true'
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}

- name: Deploy to Vercel (preview)
if: steps.check.outputs.available == 'true'
id: deploy
run: |
url=$(vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }})
echo "url=$url" >> "$GITHUB_OUTPUT"

- name: Comment preview URL on PR
if: steps.check.outputs.available == 'true' && github.event_name == 'pull_request'
uses: actions/github-script@v7
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `πŸš€ Preview deployed: ${{ steps.deploy.outputs.url }}`
})
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules/
dist/
.DS_Store
*.log

Expand Down
1 change: 1 addition & 0 deletions .gitkeep
Original file line number Diff line number Diff line change
@@ -0,0 +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
72 changes: 72 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
// @ts-check
import js from "@eslint/js";

/** @type {import("eslint").Linter.Config[]} */
export default [
js.configs.recommended,
{
files: ["plugins/**/*.js", "scripts/**/*.mjs"],
languageOptions: {
ecmaVersion: 2022,
sourceType: "module",
globals: {
// Node.js globals
process: "readonly",
console: "readonly",
Buffer: "readonly",
URL: "readonly",
URLSearchParams: "readonly",
fetch: "readonly",
setTimeout: "readonly",
clearTimeout: "readonly",
setInterval: "readonly",
clearInterval: "readonly",
__dirname: "readonly",
__filename: "readonly",
// Web/Node globals available in Node 18+
AbortSignal: "readonly",
AbortController: "readonly",
TextDecoder: "readonly",
TextEncoder: "readonly",
ReadableStream: "readonly",
WritableStream: "readonly",
TransformStream: "readonly",
FormData: "readonly",
Headers: "readonly",
Request: "readonly",
Response: "readonly",
Blob: "readonly",
File: "readonly",
Event: "readonly",
EventTarget: "readonly",
MessageChannel: "readonly",
MessageEvent: "readonly",
crypto: "readonly",
performance: "readonly",
structuredClone: "readonly",
queueMicrotask: "readonly",
atob: "readonly",
btoa: "readonly",
},
},
rules: {
// Errors β€” these indicate broken code
"no-undef": "error",
"no-console": "off",

// Warnings β€” code quality issues, won't fail CI
"no-unused-vars": ["warn", { argsIgnorePattern: "^_", varsIgnorePattern: "^_" }],
"no-var": "warn",
"prefer-const": "warn",
},
},
{
// Ignore generated files and node_modules
ignores: [
"node_modules/**",
"plugins/*/node_modules/**",
"dist/**",
"**/*.min.js",
],
},
];
Loading