@realtimex/sdk 1.7.15 → 1.7.16
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/package.json
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
name: realtimex-moderator-sdk
|
|
3
3
|
description: Control and interact with the RealTimeX application through its Node.js SDK. This skill should be used when users want to manage workspaces, threads, agents, activities, LLM chat, vector store, MCP tools, ACP agent sessions, TTS/STT, or any other RealTimeX platform feature via the API. All method signatures are verified against the SDK source code.
|
|
4
4
|
generated: 2026-05-08
|
|
5
|
-
sdk_version: 1.7.
|
|
5
|
+
sdk_version: 1.7.16
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# RealTimeX Moderator (SDK Source-Verified)
|
|
9
9
|
|
|
10
|
-
Interact with the RealTimeX platform (`http://localhost:3001`) using `@realtimex/sdk` **v1.7.
|
|
10
|
+
Interact with the RealTimeX platform (`http://localhost:3001`) using `@realtimex/sdk` **v1.7.16**. Authentication is automatic when running inside RealtimeX.
|
|
11
11
|
|
|
12
12
|
`<SKILL_DIR>` below refers to the directory containing this SKILL.md.
|
|
13
13
|
|
|
@@ -497,11 +497,11 @@ Example:
|
|
|
497
497
|
```yaml
|
|
498
498
|
tasks:
|
|
499
499
|
- name: audit-fetch
|
|
500
|
-
|
|
500
|
+
cron: "0 */4 * * *"
|
|
501
501
|
prompt: Fetch origin/realtimex-dev and diff against tmp/frontend-audit-cursor.txt.
|
|
502
502
|
|
|
503
503
|
- name: audit-ui-design
|
|
504
|
-
|
|
504
|
+
cron: "15 */4 * * *"
|
|
505
505
|
prompt: Review changed frontend files for UI design violations. If none, reply HEARTBEAT_OK.
|
|
506
506
|
```
|
|
507
507
|
|
|
@@ -509,7 +509,9 @@ Rules:
|
|
|
509
509
|
- A top-level `tasks:` list means the heartbeat is split into separate scheduled tasks, not one monolithic prompt.
|
|
510
510
|
- Each `- name:` item is its own task definition.
|
|
511
511
|
- `name` is the stable task id. Keep it concise and stable when editing.
|
|
512
|
-
- `
|
|
512
|
+
- Use `cron` for calendar-based schedules such as hourly, daily, or weekday checks.
|
|
513
|
+
- Use `interval` for duration-style repetition such as `15m`, `1h`, or `4h`.
|
|
514
|
+
- If both `cron` and `interval` are present, `cron` is authoritative and `interval` is ignored.
|
|
513
515
|
- `prompt` is the full instruction body for that task.
|
|
514
516
|
- `HEARTBEAT_OK` means the task ran successfully but had nothing actionable to do.
|
|
515
517
|
- Preserve task order unless the user explicitly wants a reordering.
|
|
@@ -519,14 +521,14 @@ When editing heartbeat files:
|
|
|
519
521
|
- If the file already uses `tasks:`, add or edit individual task items instead of collapsing them into one large prompt.
|
|
520
522
|
- If the file is a single long heartbeat prompt and the user wants separate scheduled jobs, rewrite it into a `tasks:` list with one item per independent workflow.
|
|
521
523
|
- When splitting a single heartbeat into tasks, preserve the original intent, move each discrete workflow into its own `prompt`, and keep shared context text only where needed.
|
|
522
|
-
- Keep YAML formatting simple: top-level `tasks:`, then `- name`, `interval`, `prompt`.
|
|
524
|
+
- Keep YAML formatting simple: top-level `tasks:`, then `- name`, `cron` or `interval`, and `prompt`.
|
|
523
525
|
|
|
524
526
|
When a user asks how to convert a heartbeat into task-block form, produce or edit it into this shape:
|
|
525
527
|
|
|
526
528
|
```yaml
|
|
527
529
|
tasks:
|
|
528
530
|
- name: task-one
|
|
529
|
-
|
|
531
|
+
cron: "0 */4 * * *"
|
|
530
532
|
prompt: First workflow instructions.
|
|
531
533
|
|
|
532
534
|
- name: task-two
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# RealTimeX SDK — API Reference
|
|
2
2
|
|
|
3
|
-
> Auto-generated from `@realtimex/sdk` source · v**1.7.
|
|
3
|
+
> Auto-generated from `@realtimex/sdk` source · v**1.7.16** · 2026-05-08
|
|
4
4
|
|
|
5
5
|
**Package:** `@realtimex/sdk` (CJS) · **Server:** `http://localhost:3001`
|
|
6
6
|
**Developer Mode auth:** `Authorization: Bearer <apiKey>`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Known Issues — Source-Detected
|
|
2
2
|
|
|
3
|
-
> Auto-generated by `scripts/generate-skill.mjs` · SDK **1.7.
|
|
3
|
+
> Auto-generated by `scripts/generate-skill.mjs` · SDK **1.7.16** · 2026-05-08
|
|
4
4
|
|
|
5
5
|
Run `node scripts/generate-skill.mjs --force` after SDK source changes to refresh.
|
|
6
6
|
|