livetap 0.1.4 → 0.1.5
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/README.md +1 -1
- package/package.json +1 -1
- package/src/mcp/channel.ts +1 -1
- package/src/shared/catalog-generators.ts +4 -4
package/README.md
CHANGED
package/package.json
CHANGED
package/src/mcp/channel.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { TOOLS } from '../mcp/tools.js'
|
|
|
10
10
|
*/
|
|
11
11
|
export function generateHelpText(): string {
|
|
12
12
|
const lines: string[] = [
|
|
13
|
-
'
|
|
13
|
+
'LiveTap — Push live data streams into your AI coding agent',
|
|
14
14
|
'',
|
|
15
15
|
'Usage:',
|
|
16
16
|
]
|
|
@@ -50,7 +50,7 @@ export function generateHelpText(): string {
|
|
|
50
50
|
*/
|
|
51
51
|
export function generateLlmHelp(): object {
|
|
52
52
|
return {
|
|
53
|
-
name: '
|
|
53
|
+
name: 'LiveTap',
|
|
54
54
|
version: '0.1.4',
|
|
55
55
|
description: 'Push live data streams into your AI coding agent',
|
|
56
56
|
setup: {
|
|
@@ -83,7 +83,7 @@ export function generateInstructions(): string {
|
|
|
83
83
|
const watcherTools = toolNames.filter((n) => n.includes('watcher') || n.includes('watch'))
|
|
84
84
|
|
|
85
85
|
return `
|
|
86
|
-
You have access to
|
|
86
|
+
You have access to LiveTap, a live data streaming tool. Use it to connect to data sources, sample streams, and set up expression-based watchers that alert you when conditions match.
|
|
87
87
|
|
|
88
88
|
WORKFLOW:
|
|
89
89
|
1. CONNECT: Use create_connection to tap into a data source.
|
|
@@ -110,7 +110,7 @@ WORKFLOW:
|
|
|
110
110
|
- Watcher IDs (w_xxx) are globally unique. No connectionId needed for get/update/delete.
|
|
111
111
|
|
|
112
112
|
CHANNEL EVENTS:
|
|
113
|
-
- <channel source="
|
|
113
|
+
- <channel source="LiveTap" type="alert"> = a watcher condition matched. Read the payload and act on it.
|
|
114
114
|
The payload contains: watcherId, expression, matched_values, and the full stream entry.
|
|
115
115
|
|
|
116
116
|
When the user asks to "monitor", "watch", or "alert on" something:
|