@realtimex/sdk 2.0.33 → 2.0.35

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,73 @@
1
+ ---
2
+ name: realtimex-artifacts
3
+ description: "List, publish, inspect, pause, resume, and revoke RealTimeX workspace artifacts. Use for browser-viewable artifact publication and lifecycle management."
4
+ allowed-tools: "Read Bash"
5
+ metadata:
6
+ openclaw:
7
+ requires:
8
+ bins:
9
+ - realtimex-pp-cli
10
+ ---
11
+
12
+ # RealTimeX Artifacts
13
+
14
+ List, publish, inspect, pause, resume, and revoke RealTimeX workspace artifacts. Use for browser-viewable artifact publication and lifecycle management.
15
+
16
+ ## CLI setup
17
+
18
+ This skill uses `realtimex-pp-cli` version 2.0.35. 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.35`, install the pinned version:
25
+
26
+ ```bash
27
+ npm install -g @realtimex/pp-cli@2.0.35
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-artifact** — Manage get artifact
39
+
40
+ - `realtimex-pp-cli get-artifact <artifactId>` — Get one public artifact by artifact id.
41
+
42
+ **list-artifacts** — Manage list artifacts
43
+
44
+ - `realtimex-pp-cli list-artifacts <workspaceSlug>` — List public artifacts for one exact workspace slug. Revoked artifacts are hidden unless includeRevoked=true is passed.
45
+
46
+ **pause-artifact** — Manage pause artifact
47
+
48
+ - `realtimex-pp-cli pause-artifact <artifactId>` — Pause one published artifact by artifact id. Paused artifacts remain listed but stop serving publicly.
49
+
50
+ **publish-artifact** — Manage publish artifact
51
+
52
+ - `realtimex-pp-cli publish-artifact <workspaceSlug>` — Publish a browser-viewable file or folder under a workspace artifacts directory.
53
+
54
+ **resume-artifact** — Manage resume artifact
55
+
56
+ - `realtimex-pp-cli resume-artifact <artifactId>` — Resume one paused artifact by artifact id.
57
+
58
+ **revoke-artifact** — Manage revoke artifact
59
+
60
+ - `realtimex-pp-cli revoke-artifact <artifactId>` — Revoke one artifact by artifact id.
61
+
62
+ ## Domain rules
63
+
64
+ - Place publishable files or folders under the workspace `artifacts/` directory before publishing.
65
+ - Use the exact artifact identifier returned by list or publish operations for lifecycle changes.
66
+ - Treat revoke as the permanent serving-state action and require an explicit target.
67
+
68
+ ## Shared constraints
69
+
70
+ - Run documented commands with `--agent`.
71
+ - Use exact identifiers returned by `prepare` or the relevant list/get command; do not guess values.
72
+ - Do not bypass the CLI with raw HTTP calls. If a required operation is absent, report that limitation.
73
+ - Ask one concise clarification when required target context is missing or ambiguous.
@@ -0,0 +1,101 @@
1
+ ---
2
+ name: realtimex-automation-flows
3
+ description: "Run RealTimeX automation workflows and guided automation-flow commands, including working-directory setup and workspace layout. Use for explicit multi-step automation execution."
4
+ allowed-tools: "Read Bash"
5
+ metadata:
6
+ openclaw:
7
+ requires:
8
+ bins:
9
+ - realtimex-pp-cli
10
+ ---
11
+
12
+ # RealTimeX Automation Flows
13
+
14
+ Run RealTimeX automation workflows and guided automation-flow commands, including working-directory setup and workspace layout. Use for explicit multi-step automation execution.
15
+
16
+ ## CLI setup
17
+
18
+ This skill uses `realtimex-pp-cli` version 2.0.35. 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.35`, install the pinned version:
25
+
26
+ ```bash
27
+ npm install -g @realtimex/pp-cli@2.0.35
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
+ **archive-active-thread-spa** — Manage archive active thread spa
39
+
40
+ - `realtimex-pp-cli archive-active-thread-spa` — Verify archive and global-search thread navigation stay in one Electron renderer without eager TTS workers or runaway
41
+
42
+ **chat-with-terminal-agent** — Manage chat with terminal agent
43
+
44
+ - `realtimex-pp-cli chat-with-terminal-agent` — Guide a user through sending a chat message to the terminal agent.
45
+
46
+ **companion-host-capability-rename** — Manage companion host capability rename
47
+
48
+ - `realtimex-pp-cli companion-host-capability-rename` — Verify Companion host-capability rename preview, navigation cancellation, confirmation, and terminal-session isolation.
49
+
50
+ **delegate-rules-authoring** — Manage delegate rules authoring
51
+
52
+ - `realtimex-pp-cli delegate-rules-authoring` — Verify Delegate natural-language authoring, compilation states, simulation, activation CAS, and immutable history.
53
+
54
+ **dogfood-companion-scout** — Manage dogfood companion scout
55
+
56
+ - `realtimex-pp-cli dogfood-companion-scout` — Preview and confirm one governed Dogfood Scout capability, prove confirmation idempotency, PM delivery
57
+
58
+ **goal-kickoff-composer** — Manage goal kickoff composer
59
+
60
+ - `realtimex-pp-cli goal-kickoff-composer` — Verify the shared Project/global Goal kickoff composer, routing, attachment authorization, retry, preview
61
+
62
+ **loop-background-handoff-order-e2e** — Manage loop background handoff order e2e
63
+
64
+ - `realtimex-pp-cli loop-background-handoff-order-e2e` — Verify handoff, reply, and card order after returning to a cached background thread.
65
+
66
+ **loop-cold-handoff-e2e** — Manage loop cold handoff e2e
67
+
68
+ - `realtimex-pp-cli loop-cold-handoff-e2e` — Prove a new Loops role thread cold-launches its workspace default terminal agent exactly once before canonical state
69
+
70
+ **loop-live-handoff-order-e2e** — Manage loop live handoff order e2e
71
+
72
+ - `realtimex-pp-cli loop-live-handoff-order-e2e` — Prove a live loop handoff stays above its active terminal-session card and card-linked reply.
73
+
74
+ **run-automation-workflow** — Manage run automation workflow
75
+
76
+ - `realtimex-pp-cli run-automation-workflow` — Run any app automation flow or scenario exposed via flowMetadata.cli.enabled=true by passing workflowName.
77
+
78
+ **set-default-workspace-agent** — Manage set default workspace agent
79
+
80
+ - `realtimex-pp-cli set-default-workspace-agent` — Set a workspace default agent from the desktop workspace chat settings UI.
81
+
82
+ **setup-working-dir** — Manage setup working dir
83
+
84
+ - `realtimex-pp-cli setup-working-dir` — Add or edit an agent working directory from the desktop settings UI.
85
+
86
+ **workspace-shell-layout** — Manage workspace shell layout
87
+
88
+ - `realtimex-pp-cli workspace-shell-layout` — Verify workspace navigation, title-bar containment, Files dock behavior
89
+
90
+ ## Domain rules
91
+
92
+ - Do not automatically retry workflow timeouts or server errors; report the failure so the user can decide.
93
+ - Resolve current workspace and thread context before running a flow that depends on them.
94
+ - Use the explicit generated flow command when one exists; use the generic workflow command only for supported workflow input.
95
+
96
+ ## Shared constraints
97
+
98
+ - Run documented commands with `--agent`.
99
+ - Use exact identifiers returned by `prepare` or the relevant list/get command; do not guess values.
100
+ - Do not bypass the CLI with raw HTTP calls. If a required operation is absent, report that limitation.
101
+ - Ask one concise clarification when required target context is missing or ambiguous.
@@ -0,0 +1,69 @@
1
+ ---
2
+ name: realtimex-browser-sessions
3
+ description: "List, create, start, stop, and delete isolated RealTimeX browser sessions. Use for named browser runtime and profile lifecycle work."
4
+ allowed-tools: "Read Bash"
5
+ metadata:
6
+ openclaw:
7
+ requires:
8
+ bins:
9
+ - realtimex-pp-cli
10
+ ---
11
+
12
+ # RealTimeX Browser Sessions
13
+
14
+ List, create, start, stop, and delete isolated RealTimeX browser sessions. Use for named browser runtime and profile lifecycle work.
15
+
16
+ ## CLI setup
17
+
18
+ This skill uses `realtimex-pp-cli` version 2.0.35. 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.35`, install the pinned version:
25
+
26
+ ```bash
27
+ npm install -g @realtimex/pp-cli@2.0.35
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-browser-session** — Manage create browser session
39
+
40
+ - `realtimex-pp-cli create-browser-session` — Create an isolated named RealTimeX Browser session. When url is supplied, start the session and open that URL.
41
+
42
+ **delete-browser-session** — Manage delete browser session
43
+
44
+ - `realtimex-pp-cli delete-browser-session <sessionName>` — Delete a stopped named RealTimeX Browser session and its isolated profile.
45
+
46
+ **list-browser-sessions** — Manage list browser sessions
47
+
48
+ - `realtimex-pp-cli list-browser-sessions` — List registered RealTimeX Browser sessions and their live runtime state.
49
+
50
+ **start-browser-session** — Manage start browser session
51
+
52
+ - `realtimex-pp-cli start-browser-session <sessionName>` — Start an existing named RealTimeX Browser session, optionally opening an absolute HTTP or HTTPS URL.
53
+
54
+ **stop-browser-session** — Manage stop browser session
55
+
56
+ - `realtimex-pp-cli stop-browser-session <sessionName>` — Gracefully stop an existing named RealTimeX Browser session.
57
+
58
+ ## Domain rules
59
+
60
+ - List browser sessions before lifecycle changes and use the exact returned session name.
61
+ - Create a named session before starting it; stop it before permanent deletion.
62
+ - Treat each named browser session as an isolated profile and do not substitute terminal-session identifiers.
63
+
64
+ ## Shared constraints
65
+
66
+ - Run documented commands with `--agent`.
67
+ - Use exact identifiers returned by `prepare` or the relevant list/get command; do not guess values.
68
+ - Do not bypass the CLI with raw HTTP calls. If a required operation is absent, report that limitation.
69
+ - Ask one concise clarification when required target context is missing or ambiguous.
@@ -0,0 +1,81 @@
1
+ ---
2
+ name: realtimex-channels
3
+ description: "Create, configure, start, stop, and delete RealTimeX chat channels, approve pairing codes, and deliver channel files. Use for Telegram, Zalo, Discord, and other channel integrations."
4
+ allowed-tools: "Read Bash"
5
+ metadata:
6
+ openclaw:
7
+ requires:
8
+ bins:
9
+ - realtimex-pp-cli
10
+ ---
11
+
12
+ # RealTimeX Channels
13
+
14
+ Create, configure, start, stop, and delete RealTimeX chat channels, approve pairing codes, and deliver channel files. Use for Telegram, Zalo, Discord, and other channel integrations.
15
+
16
+ ## CLI setup
17
+
18
+ This skill uses `realtimex-pp-cli` version 2.0.35. 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.35`, install the pinned version:
25
+
26
+ ```bash
27
+ npm install -g @realtimex/pp-cli@2.0.35
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
+ **approve-channel-pairing-code** — Manage approve channel pairing code
39
+
40
+ - `realtimex-pp-cli approve-channel-pairing-code <code>` — Approve one pending channel pairing code by visible 6-digit code or database id.
41
+
42
+ **create-channel** — Manage create channel
43
+
44
+ - `realtimex-pp-cli create-channel <workspaceSlug>` — Create a chat channel in one exact workspace. Defaults to Telegram when plugin_type, channelType, and type are omitted.
45
+
46
+ **delete-channel** — Manage delete channel
47
+
48
+ - `realtimex-pp-cli delete-channel <channelId>` — Delete one chat channel by exact channel id.
49
+
50
+ **list-channels** — Manage list channels
51
+
52
+ - `realtimex-pp-cli list-channels` — List configured chat channels. Use returned channel ids with update-channel.
53
+
54
+ **send-channel-file** — Manage send channel file
55
+
56
+ - `realtimex-pp-cli send-channel-file` — Send one local CLI file back to an external channel using an explicit channel delivery context id.
57
+
58
+ **start-channel** — Manage start channel
59
+
60
+ - `realtimex-pp-cli start-channel <channelId>` — Start one chat channel by exact channel id.
61
+
62
+ **stop-channel** — Manage stop channel
63
+
64
+ - `realtimex-pp-cli stop-channel <channelId>` — Stop one chat channel by exact channel id.
65
+
66
+ **update-channel** — Manage update channel
67
+
68
+ - `realtimex-pp-cli update-channel <channelId>` — Update one chat channel by exact channel id. Only channel writable fields are changed.
69
+
70
+ ## Domain rules
71
+
72
+ - List channels before changing them and use the exact channel identifier returned by the server.
73
+ - Use an explicit channel delivery context when sending a file, and send one file per command.
74
+ - Approve only the pairing code explicitly presented by the user or current channel flow.
75
+
76
+ ## Shared constraints
77
+
78
+ - Run documented commands with `--agent`.
79
+ - Use exact identifiers returned by `prepare` or the relevant list/get command; do not guess values.
80
+ - Do not bypass the CLI with raw HTTP calls. If a required operation is absent, report that limitation.
81
+ - Ask one concise clarification when required target context is missing or ambiguous.
@@ -0,0 +1,137 @@
1
+ ---
2
+ name: realtimex-delegates
3
+ description: "Manage RealTimeX Delegate scope bindings, policy drafts and compiler jobs, activation, lifecycle, decisions, and executions. Use for explicit Human-representing Delegate authority administration."
4
+ allowed-tools: "Read Bash"
5
+ metadata:
6
+ openclaw:
7
+ requires:
8
+ bins:
9
+ - realtimex-pp-cli
10
+ ---
11
+
12
+ # RealTimeX Delegates
13
+
14
+ Manage RealTimeX Delegate scope bindings, policy drafts and compiler jobs, activation, lifecycle, decisions, and executions. Use for explicit Human-representing Delegate authority administration.
15
+
16
+ ## CLI setup
17
+
18
+ This skill uses `realtimex-pp-cli` version 2.0.35. 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.35`, install the pinned version:
25
+
26
+ ```bash
27
+ npm install -g @realtimex/pp-cli@2.0.35
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
+ **activate-delegate-policy** — Manage activate delegate policy
39
+
40
+ - `realtimex-pp-cli activate-delegate-policy <instanceId>` — Activate a compiled candidate with exact optimistic revisions and explicit instance confirmation.
41
+
42
+ **cancel-delegate-compiler-job** — Manage cancel delegate compiler job
43
+
44
+ - `realtimex-pp-cli cancel-delegate-compiler-job <instanceId> <jobId>` — Cancel delegate compiler job
45
+
46
+ **compile-delegate-policy** — Manage compile delegate policy
47
+
48
+ - `realtimex-pp-cli compile-delegate-policy <instanceId> <revision>` — Start a strictly idempotent compilation for one immutable draft revision.
49
+
50
+ **get-delegate** — Manage get delegate
51
+
52
+ - `realtimex-pp-cli get-delegate <instanceId>` — Inspect one owned Delegate, including safe health, policy, runtime, recent decision, and execution state.
53
+
54
+ **get-delegate-compiler-job** — Manage get delegate compiler job
55
+
56
+ - `realtimex-pp-cli get-delegate-compiler-job <instanceId> <jobId>` — Get delegate compiler job
57
+
58
+ **get-delegate-decision** — Manage get delegate decision
59
+
60
+ - `realtimex-pp-cli get-delegate-decision <instanceId> <decisionId>` — Get delegate decision
61
+
62
+ **get-delegate-execution** — Manage get delegate execution
63
+
64
+ - `realtimex-pp-cli get-delegate-execution <instanceId> <executionId>` — Get delegate execution
65
+
66
+ **get-delegate-policy-candidate** — Manage get delegate policy candidate
67
+
68
+ - `realtimex-pp-cli get-delegate-policy-candidate <instanceId>` — Get delegate policy candidate
69
+
70
+ **get-delegate-policy-draft** — Manage get delegate policy draft
71
+
72
+ - `realtimex-pp-cli get-delegate-policy-draft <instanceId>` — Get delegate policy draft
73
+
74
+ **get-delegate-policy-version** — Manage get delegate policy version
75
+
76
+ - `realtimex-pp-cli get-delegate-policy-version <instanceId> <version>` — Get delegate policy version
77
+
78
+ **list-delegate-compiler-jobs** — Manage list delegate compiler jobs
79
+
80
+ - `realtimex-pp-cli list-delegate-compiler-jobs <instanceId>` — List delegate compiler jobs
81
+
82
+ **list-delegate-executions** — Manage list delegate executions
83
+
84
+ - `realtimex-pp-cli list-delegate-executions <instanceId>` — List a stable page of safe execution summaries.
85
+
86
+ **list-delegate-policy-versions** — Manage list delegate policy versions
87
+
88
+ - `realtimex-pp-cli list-delegate-policy-versions <instanceId>` — List delegate policy versions
89
+
90
+ **provision-delegate** — Manage provision delegate
91
+
92
+ - `realtimex-pp-cli provision-delegate` — Provision and bind the authenticated user as the Delegate for an explicit scope.
93
+
94
+ **resolve-delegate** — Manage resolve delegate
95
+
96
+ - `realtimex-pp-cli resolve-delegate` — Resolve the authenticated user Delegate for an explicit supported consumer scope without provisioning it.
97
+
98
+ **resume-delegate** — Manage resume delegate
99
+
100
+ - `realtimex-pp-cli resume-delegate <instanceId>` — Resume delegate
101
+
102
+ **retry-delegate-compiler-job** — Manage retry delegate compiler job
103
+
104
+ - `realtimex-pp-cli retry-delegate-compiler-job <instanceId> <jobId>` — Create or return the one durable direct retry of an eligible terminal compiler job.
105
+
106
+ **revoke-delegate-outstanding** — Manage revoke delegate outstanding
107
+
108
+ - `realtimex-pp-cli revoke-delegate-outstanding <instanceId>` — Revoke delegate outstanding
109
+
110
+ **save-delegate-policy-draft** — Manage save delegate policy draft
111
+
112
+ - `realtimex-pp-cli save-delegate-policy-draft <instanceId>` — Save a policy draft with an explicit optimistic revision. Use expectedRevision zero for the first save.
113
+
114
+ **simulate-delegate-policy** — Manage simulate delegate policy
115
+
116
+ - `realtimex-pp-cli simulate-delegate-policy <instanceId>` — Simulate delegate policy
117
+
118
+ **suspend-delegate** — Manage suspend delegate
119
+
120
+ - `realtimex-pp-cli suspend-delegate <instanceId>` — Suspend delegate
121
+
122
+ ## Domain rules
123
+
124
+ - Treat `configure-plugin` as topology deployment only; it does not grant, activate, suspend, resume, or revoke Delegate authority.
125
+ - Always supply the explicit native scope identifier: global topology registry id, project topology assignment id, or numeric Workspace Team database id.
126
+ - Inspect the Delegate, draft, compiler job, or execution before dependent mutations, and preserve every server-returned id and revision exactly.
127
+ - Never automatically retry Delegate mutations after a timeout, network error, 429, or 5xx response. Read authoritative state before deciding whether a manual repeat is safe.
128
+ - Use `expected-revision 0` for the first draft save and `expected-policy-version none` only when no policy is active.
129
+ - Supply exact instance confirmation where required. Do not invent confirmation or refresh stale activation revisions automatically.
130
+ - Poll compiler jobs and pending decisions with the generated GET commands; polling must not create work or authority.
131
+
132
+ ## Shared constraints
133
+
134
+ - Run documented commands with `--agent`.
135
+ - Use exact identifiers returned by `prepare` or the relevant list/get command; do not guess values.
136
+ - Do not bypass the CLI with raw HTTP calls. If a required operation is absent, report that limitation.
137
+ - Ask one concise clarification when required target context is missing or ambiguous.
@@ -0,0 +1,85 @@
1
+ ---
2
+ name: realtimex-heartbeat
3
+ description: "Configure RealTimeX heartbeat scheduling, agents, active hours, timezone, autopilot, and immediate workspace heartbeat runs. Use for recurring HEARTBEAT.md task execution."
4
+ allowed-tools: "Read Bash"
5
+ metadata:
6
+ openclaw:
7
+ requires:
8
+ bins:
9
+ - realtimex-pp-cli
10
+ ---
11
+
12
+ # RealTimeX Heartbeat
13
+
14
+ Configure RealTimeX heartbeat scheduling, agents, active hours, timezone, autopilot, and immediate workspace heartbeat runs. Use for recurring HEARTBEAT.md task execution.
15
+
16
+ ## CLI setup
17
+
18
+ This skill uses `realtimex-pp-cli` version 2.0.35. 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.35`, install the pinned version:
25
+
26
+ ```bash
27
+ npm install -g @realtimex/pp-cli@2.0.35
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
+ **set-heartbeat-active-hours** — Manage set heartbeat active hours
39
+
40
+ - `realtimex-pp-cli set-heartbeat-active-hours` — Set workspace or global ambient-agent active hours using HH:mm start and end values.
41
+
42
+ **set-heartbeat-auto-pilot** — Manage set heartbeat auto pilot
43
+
44
+ - `realtimex-pp-cli set-heartbeat-auto-pilot` — Turn workspace or global ambient-agent heartbeat auto pilot on or off.
45
+
46
+ **set-heartbeat-default-agent** — Manage set heartbeat default agent
47
+
48
+ - `realtimex-pp-cli set-heartbeat-default-agent` — Set workspace or global ambient-agent default terminal agent and optional model for heartbeat defaults and legacy
49
+
50
+ **set-heartbeat-enabled** — Manage set heartbeat enabled
51
+
52
+ - `realtimex-pp-cli set-heartbeat-enabled` — Turn workspace or global ambient-agent heartbeat on or off.
53
+
54
+ **set-heartbeat-interval** — Manage set heartbeat interval
55
+
56
+ - `realtimex-pp-cli set-heartbeat-interval` — Set workspace or global ambient-agent scheduler check interval.
57
+
58
+ **set-heartbeat-timezone** — Manage set heartbeat timezone
59
+
60
+ - `realtimex-pp-cli set-heartbeat-timezone` — Set workspace or global ambient-agent heartbeat timezone, for example Asia/Saigon or UTC.
61
+
62
+ **setup-heartbeat-tasks** — Manage setup heartbeat tasks
63
+
64
+ - `realtimex-pp-cli setup-heartbeat-tasks` — Set up HEARTBEAT.md task instructions for a workspace or global ambient agent.
65
+
66
+ **trigger-workspace-heartbeat** — Manage trigger workspace heartbeat
67
+
68
+ - `realtimex-pp-cli trigger-workspace-heartbeat <workspaceSlug>` — Trigger the default HEARTBEAT.md task for a workspace immediately.
69
+
70
+ **trigger-workspace-heartbeat-tasks** — Manage trigger workspace heartbeat tasks
71
+
72
+ - `realtimex-pp-cli trigger-workspace-heartbeat-tasks <workspaceSlug>` — Trigger specified HEARTBEAT.md task names for a workspace immediately.
73
+
74
+ ## Domain rules
75
+
76
+ - Keep heartbeat instructions in `HEARTBEAT.md`; use the bundled template when creating it.
77
+ - Inspect the current workspace context before changing heartbeat configuration or triggering tasks.
78
+ - Use exact task names from `HEARTBEAT.md` when triggering selected heartbeat tasks.
79
+
80
+ ## Shared constraints
81
+
82
+ - Run documented commands with `--agent`.
83
+ - Use exact identifiers returned by `prepare` or the relevant list/get command; do not guess values.
84
+ - Do not bypass the CLI with raw HTTP calls. If a required operation is absent, report that limitation.
85
+ - Ask one concise clarification when required target context is missing or ambiguous.
@@ -0,0 +1,99 @@
1
+ # Heartbeat Instructions
2
+
3
+ ## Mission
4
+
5
+ Describe the ambient agent's standing responsibility.
6
+
7
+ ## Tasks
8
+
9
+ The scheduler evaluates this `tasks:` block on every heartbeat tick and runs only tasks that are due.
10
+ The first task is treated as the default task unless another task has `default: true`.
11
+ Use `default: true` on exactly one task to make it the default manual heartbeat target.
12
+ Use `default: false` on the first task if you do not want any task to be auto-selected as default.
13
+ Use `interval` for simple timing. Supported units are `m`, `h`, and `d`, for example `3m`, `1h`, or `1d`.
14
+ Omit `interval` and `cron` to run on every scheduler check interval.
15
+ Use `interval: disabled` to keep a task in the file but skip it during scheduled heartbeat checks. Manual triggers can still run the task.
16
+ Use `cron` for complex schedules, for example `0 9 * * *`.
17
+ Agent tasks require `agent`, for example `@codex`.
18
+ Use `model` to run an agent task with a specific model, for example `gpt-5.5-medium`.
19
+ Use `skills` to prefer skills for an agent task, for example `agent-browser, realtimex-moderator-sdk`.
20
+ Use `executor: shell` and `command` to run a shell command instead of an agent. Shell tasks do not use `prompt`.
21
+ When a shell command prints valid JSON, it can trigger additional tasks. Use one of these forms:
22
+
23
+ ```json
24
+ ["task-name-1", "task-name-2"]
25
+ ```
26
+
27
+ ```json
28
+ {
29
+ "tasks": ["task-name-1", "task-name-2"],
30
+ "reason": "metrics changed"
31
+ }
32
+ ```
33
+
34
+ To trigger tasks in another workspace, include `workspace`:
35
+
36
+ ```json
37
+ {
38
+ "workspace": "other-workspace-slug",
39
+ "tasks": ["task-name-1"],
40
+ "reason": "shared dependency changed"
41
+ }
42
+ ```
43
+
44
+ Only valid JSON triggers task dispatch. If the shell output is not valid JSON, no extra tasks are run.
45
+
46
+ tasks:
47
+
48
+ - name: default-review
49
+ default: true
50
+ interval: 30m
51
+ agent: @codex
52
+ model: gpt-5.5-medium
53
+ skills: agent-browser, realtimex-moderator-sdk
54
+ prompt: Review the workspace context and respond HEARTBEAT_OK when no action is needed
55
+ - name: weekday-morning-task
56
+ cron: 0 9 * * 1-5
57
+ agent: @codex
58
+ prompt: Describe what should run on a cron schedule
59
+ - name: sync-metrics
60
+ interval: 30m
61
+ executor: shell
62
+ command: bash ./scripts/sync-metrics.sh
63
+ - name: paused-task
64
+ interval: disabled
65
+ agent: @codex
66
+ prompt: This task is skipped by scheduled heartbeat checks until re-enabled
67
+ - name: another-task
68
+ agent: @codex
69
+ prompt: Tasks without interval or cron run on every scheduler check interval
70
+
71
+ ## Check for
72
+
73
+ - Pending tasks that require follow-up
74
+ - New events that need awareness
75
+
76
+ ## When action is needed
77
+
78
+ - State what should trigger action
79
+ - Describe the preferred next step
80
+ - If calendar routine context is provided, use it only when a concise update would help
81
+
82
+ ## When nothing is needed
83
+
84
+ - Reply exactly HEARTBEAT_OK
85
+
86
+ ## Allowed actions
87
+
88
+ - Review the current workspace context
89
+ - Create or update relevant artifacts when necessary
90
+
91
+ ## Never do
92
+
93
+ - Do not repeat old work without a clear reason
94
+ - Do not take destructive actions without explicit approval
95
+
96
+ ## Style
97
+
98
+ - Be concise
99
+ - Prefer concrete updates over speculation