@realtimex/sdk 2.0.33 → 2.0.34

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.
@@ -0,0 +1,105 @@
1
+ ---
2
+ name: realtimex-plugin-and-skill
3
+ description: "Manage RealTimeX plugins and agent skills, including configuration, enablement, reload, installation, promotion, and workspace skill state. Use for plugin and skill administration."
4
+ allowed-tools: "Read Bash"
5
+ metadata:
6
+ openclaw:
7
+ requires:
8
+ bins:
9
+ - realtimex-pp-cli
10
+ ---
11
+
12
+ # RealTimeX Plugins and Skills
13
+
14
+ Manage RealTimeX plugins and agent skills, including configuration, enablement, reload, installation, promotion, and workspace skill state. Use for plugin and skill administration.
15
+
16
+ ## CLI setup
17
+
18
+ This skill uses `realtimex-pp-cli` version 2.0.34. Before using its commands:
19
+
20
+ ```bash
21
+ realtimex-pp-cli --version
22
+ ```
23
+
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.34`, install the pinned version:
25
+
26
+ ```bash
27
+ npm install -g @realtimex/pp-cli@2.0.34
28
+ ```
29
+
30
+ For requests about the current workspace or thread, resolve context first:
31
+
32
+ ```bash
33
+ realtimex-pp-cli prepare --agent
34
+ ```
35
+
36
+ ## Command reference
37
+
38
+ **configure-plugin** — Manage configure plugin
39
+
40
+ - `realtimex-pp-cli configure-plugin <pluginId>` — Set non-secret configuration values for one installed plugin. Use a plugin id, name, or displayName from list-plugins.
41
+
42
+ **create-workspace-agent-skill** — Manage create workspace agent skill
43
+
44
+ - `realtimex-pp-cli create-workspace-agent-skill <workspaceSlug>` — Create a managed agent skill owned by one workspace.
45
+
46
+ **disable-plugin** — Manage disable plugin
47
+
48
+ - `realtimex-pp-cli disable-plugin <pluginId>` — Disable one installed plugin globally and unload it from runtime.
49
+
50
+ **disable-workspace-agent-skill** — Manage disable workspace agent skill
51
+
52
+ - `realtimex-pp-cli disable-workspace-agent-skill <workspaceSlug> <skillId>` — Disable one agent skill in a workspace. Use a skill id, name, or displayName from list-workspace-agent-skills.
53
+
54
+ **enable-plugin** — Manage enable plugin
55
+
56
+ - `realtimex-pp-cli enable-plugin <pluginId>` — Enable one installed plugin globally and load it into runtime. Use a plugin id, name, or displayName from list-plugins.
57
+
58
+ **enable-workspace-agent-skill** — Manage enable workspace agent skill
59
+
60
+ - `realtimex-pp-cli enable-workspace-agent-skill <workspaceSlug> <skillId>` — Enable one agent skill in a workspace. Use a skill id, name, or displayName from list-workspace-agent-skills.
61
+
62
+ **get-plugin** — Manage get plugin
63
+
64
+ - `realtimex-pp-cli get-plugin <pluginId>` — Get one installed plugin with its config schema (keys, labels, types, defaults)
65
+
66
+ **install-plugin** — Manage install plugin
67
+
68
+ - `realtimex-pp-cli install-plugin` — Install a plugin from a local source directory on the same machine as the server.
69
+
70
+ **list-agent-skills** — Manage list agent skills
71
+
72
+ - `realtimex-pp-cli list-agent-skills` — List published agent skills. Use list-workspace-agent-skills to see enabled/disabled state for one workspace.
73
+
74
+ **list-plugins** — Manage list plugins
75
+
76
+ - `realtimex-pp-cli list-plugins` — List installed plugins with enabled state and runtime load status.
77
+
78
+ **list-workspace-agent-skills** — Manage list workspace agent skills
79
+
80
+ - `realtimex-pp-cli list-workspace-agent-skills <workspaceSlug>` — List published agent skills with enabled/disabled state for one exact workspace slug.
81
+
82
+ **promote-workspace-agent-skill** — Manage promote workspace agent skill
83
+
84
+ - `realtimex-pp-cli promote-workspace-agent-skill <workspaceSlug> <skillId>` — Promote one workspace-owned agent skill to a global managed skill by copying its files into a new global skill row.
85
+
86
+ **reload-agent-skills** — Manage reload agent skills
87
+
88
+ - `realtimex-pp-cli reload-agent-skills` — Force reload all enabled agent skills into one workspace working directory.
89
+
90
+ **reload-plugin** — Manage reload plugin
91
+
92
+ - `realtimex-pp-cli reload-plugin <pluginId>` — Reload one enabled plugin in runtime. Disabled plugins must be enabled before reload.
93
+
94
+ ## Domain rules
95
+
96
+ - List plugins or skills before changing them and use the exact returned identifier.
97
+ - Inspect a plugin schema before configuration and never invent configuration keys.
98
+ - After reloading agent skills, reload the caller skill context before relying on changed instructions.
99
+
100
+ ## Shared constraints
101
+
102
+ - Run documented commands with `--agent`.
103
+ - Use exact identifiers returned by `prepare` or the relevant list/get command; do not guess values.
104
+ - Do not bypass the CLI with raw HTTP calls. If a required operation is absent, report that limitation.
105
+ - Ask one concise clarification when required target context is missing or ambiguous.
@@ -0,0 +1,89 @@
1
+ ---
2
+ name: realtimex-terminal-agents
3
+ description: "Manage RealTimeX terminal agents, terminal sessions, session messages, and idle prompts. Use for desktop terminal-agent runtime and terminal-session lifecycle work."
4
+ allowed-tools: "Read Bash"
5
+ metadata:
6
+ openclaw:
7
+ requires:
8
+ bins:
9
+ - realtimex-pp-cli
10
+ ---
11
+
12
+ # RealTimeX Terminal Agents
13
+
14
+ Manage RealTimeX terminal agents, terminal sessions, session messages, and idle prompts. Use for desktop terminal-agent runtime and terminal-session lifecycle work.
15
+
16
+ ## CLI setup
17
+
18
+ This skill uses `realtimex-pp-cli` version 2.0.34. Before using its commands:
19
+
20
+ ```bash
21
+ realtimex-pp-cli --version
22
+ ```
23
+
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.34`, install the pinned version:
25
+
26
+ ```bash
27
+ npm install -g @realtimex/pp-cli@2.0.34
28
+ ```
29
+
30
+ For requests about the current workspace or thread, resolve context first:
31
+
32
+ ```bash
33
+ realtimex-pp-cli prepare --agent
34
+ ```
35
+
36
+ ## Command reference
37
+
38
+ **get-terminal-session-context** — Manage get terminal session context
39
+
40
+ - `realtimex-pp-cli get-terminal-session-context <sessionId>` — Read a bounded, sanitized tail of the PTY output for one exact live terminal runtime session.
41
+
42
+ **list-terminal-agents** — Manage list terminal agents
43
+
44
+ - `realtimex-pp-cli list-terminal-agents` — List terminal CLI agents that can be used with open-terminal-session.
45
+
46
+ **list-terminal-sessions** — Manage list terminal sessions
47
+
48
+ - `realtimex-pp-cli list-terminal-sessions` — List terminal runtime sessions known to the desktop app. Optionally filter by workspaceSlug and threadSlug.
49
+
50
+ **open-terminal-session** — Manage open terminal session
51
+
52
+ - `realtimex-pp-cli open-terminal-session` — Open a new desktop terminal session for one terminal CLI agent. Use list-terminal-agents or prepare.
53
+
54
+ **respond-terminal-idle-prompt** — Manage respond terminal idle prompt
55
+
56
+ - `realtimex-pp-cli respond-terminal-idle-prompt <sessionId>` — Send one constrained response action to an exact idle terminal session only when its PTY event sequence is unchanged.
57
+
58
+ **resume-latest-terminal-session** — Manage resume latest terminal session
59
+
60
+ - `realtimex-pp-cli resume-latest-terminal-session` — Resume the latest terminal runtime session for one exact thread.
61
+
62
+ **resume-terminal-session** — Manage resume terminal session
63
+
64
+ - `realtimex-pp-cli resume-terminal-session <sessionId>` — Resume a terminal runtime session by attaching a CLI controller.
65
+
66
+ **send-terminal-session-message** — Manage send terminal session message
67
+
68
+ - `realtimex-pp-cli send-terminal-session-message <sessionId>` — Send one message directly to an exact live terminal session.
69
+
70
+ **stop-thread-terminal-session** — Manage stop thread terminal session
71
+
72
+ - `realtimex-pp-cli stop-thread-terminal-session` — Interrupt the selected or current chat-linked terminal session for one exact thread without closing the underlying
73
+
74
+ **terminate-terminal-session** — Manage terminate terminal session
75
+
76
+ - `realtimex-pp-cli terminate-terminal-session <sessionId>` — Terminate a terminal runtime session by detaching any controller and closing the underlying PTY session.
77
+
78
+ ## Domain rules
79
+
80
+ - Discover available agents before opening a session and use exact agent, provider, and model identifiers.
81
+ - Use list operations before resume, stop, or terminate actions; preserve the exact session identifier.
82
+ - Respond to an idle prompt only when the reported session and event sequence still match.
83
+
84
+ ## Shared constraints
85
+
86
+ - Run documented commands with `--agent`.
87
+ - Use exact identifiers returned by `prepare` or the relevant list/get command; do not guess values.
88
+ - Do not bypass the CLI with raw HTTP calls. If a required operation is absent, report that limitation.
89
+ - Ask one concise clarification when required target context is missing or ambiguous.
@@ -0,0 +1,77 @@
1
+ ---
2
+ name: realtimex-webhooks
3
+ description: "Create, inspect, update, test, and delete RealTimeX public webhook endpoints and inspect bounded delivery metadata. Use for inbound public webhook trigger configuration."
4
+ allowed-tools: "Read Bash"
5
+ metadata:
6
+ openclaw:
7
+ requires:
8
+ bins:
9
+ - realtimex-pp-cli
10
+ ---
11
+
12
+ # RealTimeX Webhooks
13
+
14
+ Create, inspect, update, test, and delete RealTimeX public webhook endpoints and inspect bounded delivery metadata. Use for inbound public webhook trigger configuration.
15
+
16
+ ## CLI setup
17
+
18
+ This skill uses `realtimex-pp-cli` version 2.0.34. Before using its commands:
19
+
20
+ ```bash
21
+ realtimex-pp-cli --version
22
+ ```
23
+
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.34`, install the pinned version:
25
+
26
+ ```bash
27
+ npm install -g @realtimex/pp-cli@2.0.34
28
+ ```
29
+
30
+ For requests about the current workspace or thread, resolve context first:
31
+
32
+ ```bash
33
+ realtimex-pp-cli prepare --agent
34
+ ```
35
+
36
+ ## Command reference
37
+
38
+ **create-webhook-endpoint** — Manage create webhook endpoint
39
+
40
+ - `realtimex-pp-cli create-webhook-endpoint` — Create a webhook endpoint in an accessible workspace. secret is a write-only input.
41
+
42
+ **delete-webhook-endpoint** — Manage delete webhook endpoint
43
+
44
+ - `realtimex-pp-cli delete-webhook-endpoint <endpointId>` — Permanently delete a visible webhook endpoint. confirmDestructive must be true.
45
+
46
+ **get-webhook-endpoint** — Manage get webhook endpoint
47
+
48
+ - `realtimex-pp-cli get-webhook-endpoint <endpointId>` — Get one visible webhook endpoint by endpoint id. The response reports secretConfigured but never returns the secret.
49
+
50
+ **list-webhook-deliveries** — Manage list webhook deliveries
51
+
52
+ - `realtimex-pp-cli list-webhook-deliveries` — List bounded delivery metadata for visible webhook endpoints.
53
+
54
+ **list-webhook-endpoints** — Manage list webhook endpoints
55
+
56
+ - `realtimex-pp-cli list-webhook-endpoints` — List webhook endpoints visible to the authenticated user. Secrets are never returned.
57
+
58
+ **test-webhook-endpoint** — Manage test webhook endpoint
59
+
60
+ - `realtimex-pp-cli test-webhook-endpoint <endpointId>` — Submit an optional JSON payload as a signed test delivery through a visible webhook endpoint.
61
+
62
+ **update-webhook-endpoint** — Manage update webhook endpoint
63
+
64
+ - `realtimex-pp-cli update-webhook-endpoint <endpointId>` — Update a visible webhook endpoint. Passing secret rotates it; the value is never returned.
65
+
66
+ ## Domain rules
67
+
68
+ - Treat webhook secrets as write-only input. Never expect or expose plaintext secrets from endpoint responses.
69
+ - Inspect webhook deliveries only through the bounded delivery-list command; raw payload and signature material are intentionally unavailable.
70
+ - Require explicit confirmation before permanent webhook endpoint deletion.
71
+
72
+ ## Shared constraints
73
+
74
+ - Run documented commands with `--agent`.
75
+ - Use exact identifiers returned by `prepare` or the relevant list/get command; do not guess values.
76
+ - Do not bypass the CLI with raw HTTP calls. If a required operation is absent, report that limitation.
77
+ - Ask one concise clarification when required target context is missing or ambiguous.
@@ -0,0 +1,117 @@
1
+ ---
2
+ name: realtimex-workspaces
3
+ description: "Manage RealTimeX workspaces, threads, messages, workspace personality, LLM configuration, and default agents. Use for workspace and conversation operations."
4
+ allowed-tools: "Read Bash"
5
+ metadata:
6
+ openclaw:
7
+ requires:
8
+ bins:
9
+ - realtimex-pp-cli
10
+ ---
11
+
12
+ # RealTimeX Workspaces
13
+
14
+ Manage RealTimeX workspaces, threads, messages, workspace personality, LLM configuration, and default agents. Use for workspace and conversation operations.
15
+
16
+ ## CLI setup
17
+
18
+ This skill uses `realtimex-pp-cli` version 2.0.34. Before using its commands:
19
+
20
+ ```bash
21
+ realtimex-pp-cli --version
22
+ ```
23
+
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.34`, install the pinned version:
25
+
26
+ ```bash
27
+ npm install -g @realtimex/pp-cli@2.0.34
28
+ ```
29
+
30
+ For requests about the current workspace or thread, resolve context first:
31
+
32
+ ```bash
33
+ realtimex-pp-cli prepare --agent
34
+ ```
35
+
36
+ ## Command reference
37
+
38
+ **clear-workspace-default-agent** — Manage clear workspace default agent
39
+
40
+ - `realtimex-pp-cli clear-workspace-default-agent <workspaceSlug>` — Clear the default CLI agent from a workspace.
41
+
42
+ **create-thread** — Manage create thread
43
+
44
+ - `realtimex-pp-cli create-thread <workspaceSlug>` — Create a thread in one workspace. The name is optional but recommended.
45
+
46
+ **create-workspace** — Manage create workspace
47
+
48
+ - `realtimex-pp-cli create-workspace` — Create a workspace. Requires a human-readable workspace name.
49
+
50
+ **delete-thread** — Manage delete thread
51
+
52
+ - `realtimex-pp-cli delete-thread <workspaceSlug> <threadSlug>` — Delete one thread by exact workspace slug and exact thread slug.
53
+
54
+ **delete-workspace** — Manage delete workspace
55
+
56
+ - `realtimex-pp-cli delete-workspace <workspaceSlug>` — Delete one workspace by exact workspace slug.
57
+
58
+ **get-thread** — Manage get thread
59
+
60
+ - `realtimex-pp-cli get-thread <workspaceSlug> <threadSlug>` — Get one thread by exact workspace slug and exact thread slug.
61
+
62
+ **get-workspace** — Manage get workspace
63
+
64
+ - `realtimex-pp-cli get-workspace <workspaceSlug>` — Get one workspace by exact workspace slug.
65
+
66
+ **list-llm-models** — Manage list llm models
67
+
68
+ - `realtimex-pp-cli list-llm-models <provider>` — List models for one provider id.
69
+
70
+ **list-llm-providers** — Manage list llm providers
71
+
72
+ - `realtimex-pp-cli list-llm-providers` — List supported LLM providers. Use provider ids from this response when configuring workspace or thread LLM settings.
73
+
74
+ **list-threads** — Manage list threads
75
+
76
+ - `realtimex-pp-cli list-threads <workspaceSlug>` — List threads for one exact workspace slug.
77
+
78
+ **list-workspaces** — Manage list workspaces
79
+
80
+ - `realtimex-pp-cli list-workspaces` — List all workspaces visible to the current API caller. Use this before choosing a workspace slug.
81
+
82
+ **prepare** — Manage prepare
83
+
84
+ - `realtimex-pp-cli prepare` — Return compact workspace, thread, current workspace/thread, LLM provider, model
85
+
86
+ **rename-thread** — Manage rename thread
87
+
88
+ - `realtimex-pp-cli rename-thread <workspaceSlug> <threadSlug>` — Rename one thread by exact workspace slug and exact thread slug. Only the name is changed.
89
+
90
+ **rename-workspace** — Manage rename workspace
91
+
92
+ - `realtimex-pp-cli rename-workspace <workspaceSlug>` — Rename one workspace by exact workspace slug. Only the name is changed.
93
+
94
+ **send-message** — Manage send message
95
+
96
+ - `realtimex-pp-cli send-message <workspaceSlug> <threadSlug>` — Send one message to an exact thread using the same routing as channel replies.
97
+
98
+ **set-workspace-default-agent** — Manage set workspace default agent
99
+
100
+ - `realtimex-pp-cli set-workspace-default-agent <workspaceSlug>` — Set the default CLI agent for a workspace.
101
+
102
+ **setup-personality** — Manage setup personality
103
+
104
+ - `realtimex-pp-cli setup-personality` — Set up AGENTS.md and CLAUDE.md personality files for a workspace or global ambient agent.
105
+
106
+ ## Domain rules
107
+
108
+ - Use `prepare` as the source of truth for the current workspace, thread, available agents, providers, and models.
109
+ - For `send-message`, require an explicit or unambiguous workspace, thread, and message. The server selects the thread model.
110
+ - For workspace default-agent changes, use exact agent canonical and model values returned by `prepare`.
111
+
112
+ ## Shared constraints
113
+
114
+ - Run documented commands with `--agent`.
115
+ - Use exact identifiers returned by `prepare` or the relevant list/get command; do not guess values.
116
+ - Do not bypass the CLI with raw HTTP calls. If a required operation is absent, report that limitation.
117
+ - Ask one concise clarification when required target context is missing or ambiguous.
@@ -0,0 +1,49 @@
1
+ # Agent Instructions
2
+
3
+ ## Mission
4
+
5
+ Describe the workspace or global personality that agents should follow.
6
+
7
+ You are working inside the RealTimeX app.
8
+
9
+ ## Role
10
+
11
+ - State who the agent is for this workspace.
12
+ - Define the agent's primary responsibility.
13
+ - Define what the agent should avoid doing.
14
+
15
+ ## Boundaries
16
+
17
+ - Ask for clarification when instructions are ambiguous.
18
+ - Do not fabricate facts.
19
+ - Do not take destructive actions without explicit approval.
20
+ - Do not store secrets in personality files.
21
+
22
+ ## Tools
23
+
24
+ - Describe which tools the agent may use.
25
+ - Describe any tool-specific constraints.
26
+ - Prefer using the `realtimex-moderator-sdk` skill for work related to RealTimeX workspaces, threads, channels (Telegram, Zalo, Discord), sending messages, setup personality, and heartbeat operations.
27
+ - Prefer documented RealTimeX CLI commands when interacting with RealTimeX.
28
+
29
+ ## Memory
30
+
31
+ - Record only durable preferences or facts that should affect future work.
32
+ - Keep memory concise and verifiable.
33
+ - Do not store credentials, tokens, or private secrets.
34
+
35
+ ## Style
36
+
37
+ - Be concise.
38
+ - Prefer concrete updates over speculation.
39
+ - Explain blockers clearly.
40
+
41
+ ## Child Files
42
+
43
+ Reference child markdown files here if used:
44
+
45
+ - SOUL.md
46
+ - USER.md
47
+ - IDENTITY.md
48
+ - TOOLS.md
49
+ - MEMORY.md