polygram 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +18 -0
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +23 -6
- package/package.json +1 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://anthropic.com/claude-code/marketplace.schema.json",
|
|
3
|
+
"name": "shumkov",
|
|
4
|
+
"description": "Ivan Shumkov's Claude Code plugins.",
|
|
5
|
+
"owner": {
|
|
6
|
+
"name": "Ivan Shumkov",
|
|
7
|
+
"email": "ivanshumkov@gmail.com"
|
|
8
|
+
},
|
|
9
|
+
"plugins": [
|
|
10
|
+
{
|
|
11
|
+
"name": "polygram",
|
|
12
|
+
"description": "Telegram integration for Claude Code that preserves the OpenClaw per-chat session model. Migration target for OpenClaw users. Bundles /polygram:status|logs|pair-code|approvals admin commands and a history skill.",
|
|
13
|
+
"category": "integration",
|
|
14
|
+
"source": "./",
|
|
15
|
+
"homepage": "https://github.com/shumkov/polygram"
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://anthropic.com/claude-code/plugin.schema.json",
|
|
3
3
|
"name": "polygram",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.1",
|
|
5
5
|
"description": "Telegram integration for Claude Code that preserves the OpenClaw per-chat session model. Migration target for OpenClaw users. Multi-bot, multi-chat, per-topic isolation; SQLite transcripts; inline-keyboard approvals. Bundles /polygram:status|logs|pair-code|approvals admin commands and a history skill.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"telegram",
|
package/README.md
CHANGED
|
@@ -120,23 +120,40 @@ For production, LaunchAgent plists are in `ops/`. See `ops/README.md`.
|
|
|
120
120
|
polygram also ships as a Claude Code plugin — adds admin slash commands
|
|
121
121
|
and bundles the transcript-query skill for use inside your Claude sessions.
|
|
122
122
|
|
|
123
|
+
The repo doubles as a single-plugin marketplace. Two commands at your
|
|
124
|
+
Claude Code `/` prompt:
|
|
125
|
+
|
|
126
|
+
```
|
|
127
|
+
/plugin marketplace add https://github.com/shumkov/polygram.git
|
|
128
|
+
/plugin install polygram@shumkov
|
|
123
129
|
```
|
|
124
|
-
|
|
130
|
+
|
|
131
|
+
The first registers the marketplace (`shumkov`). The second installs the
|
|
132
|
+
`polygram` plugin from it.
|
|
133
|
+
|
|
134
|
+
To enable in a specific Claude project, add to `.claude/settings.json`:
|
|
135
|
+
|
|
136
|
+
```json
|
|
137
|
+
{
|
|
138
|
+
"enabledPlugins": {
|
|
139
|
+
"polygram@shumkov": true
|
|
140
|
+
}
|
|
141
|
+
}
|
|
125
142
|
```
|
|
126
143
|
|
|
127
|
-
Once
|
|
144
|
+
Once enabled:
|
|
128
145
|
|
|
129
|
-
- `/polygram:status` — running bots, IPC health, recent events
|
|
146
|
+
- `/polygram:status` — running bots, IPC health, recent events
|
|
130
147
|
- `/polygram:logs <bot>` — tail `~/polygram/logs/<bot>.log`
|
|
131
148
|
- `/polygram:pair-code` — walks you through issuing a pairing code (in-band via Telegram)
|
|
132
149
|
- `/polygram:approvals [bot]` — pending and recent tool-approval rows
|
|
133
150
|
|
|
134
|
-
The bundled **`
|
|
135
|
-
|
|
151
|
+
The bundled **`history` skill** lets Claude query the transcript directly
|
|
152
|
+
when you ask about past chat activity:
|
|
136
153
|
|
|
137
154
|
```
|
|
138
155
|
"Summarise the Orders topic today" →
|
|
139
|
-
|
|
156
|
+
Claude invokes the history skill → runs `recent <chat> --since 24h`
|
|
140
157
|
```
|
|
141
158
|
|
|
142
159
|
Scope is derived from `process.cwd()`: the skill refuses to run from an
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "polygram",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Telegram daemon for Claude Code that preserves the OpenClaw per-chat session model. Migration path for OpenClaw users moving to Claude Code.",
|
|
5
5
|
"main": "lib/ipc-client.js",
|
|
6
6
|
"bin": {
|