@realtimex/sdk 1.7.0 → 1.7.4

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.
@@ -457,6 +457,20 @@ var V1SystemModule = class {
457
457
  async getHealth() {
458
458
  return this.client.request("GET", `/v1/system/health`);
459
459
  }
460
+ /**
461
+ * Returns a health check object with server uptime and version.
462
+ * @see GET /v1/system/health-version-2
463
+ */
464
+ async getHealthVersion2() {
465
+ return this.client.request("GET", `/v1/system/health-version-2`);
466
+ }
467
+ /**
468
+ * Returns a health check object with server uptime and version.
469
+ * @see GET /v1/system/health-version-3
470
+ */
471
+ async getHealthVersion3() {
472
+ return this.client.request("GET", `/v1/system/health-version-3`);
473
+ }
460
474
  };
461
475
 
462
476
  // src/v1/modules/v1Thread.ts
@@ -273,6 +273,16 @@ declare class V1SystemModule {
273
273
  * @see GET /v1/system/health
274
274
  */
275
275
  getHealth(): Promise<unknown>;
276
+ /**
277
+ * Returns a health check object with server uptime and version.
278
+ * @see GET /v1/system/health-version-2
279
+ */
280
+ getHealthVersion2(): Promise<unknown>;
281
+ /**
282
+ * Returns a health check object with server uptime and version.
283
+ * @see GET /v1/system/health-version-3
284
+ */
285
+ getHealthVersion3(): Promise<unknown>;
276
286
  }
277
287
 
278
288
  declare class V1ThreadModule {
@@ -273,6 +273,16 @@ declare class V1SystemModule {
273
273
  * @see GET /v1/system/health
274
274
  */
275
275
  getHealth(): Promise<unknown>;
276
+ /**
277
+ * Returns a health check object with server uptime and version.
278
+ * @see GET /v1/system/health-version-2
279
+ */
280
+ getHealthVersion2(): Promise<unknown>;
281
+ /**
282
+ * Returns a health check object with server uptime and version.
283
+ * @see GET /v1/system/health-version-3
284
+ */
285
+ getHealthVersion3(): Promise<unknown>;
276
286
  }
277
287
 
278
288
  declare class V1ThreadModule {
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { V as V1ApiNamespace } from './errors-DXKB6v1J.mjs';
2
- export { A as AuthenticationError, D as DeveloperApiClient, a as DeveloperApiError, N as NotFoundError, S as ServerError, b as ValidationError } from './errors-DXKB6v1J.mjs';
1
+ import { V as V1ApiNamespace } from './errors-DoCX7LOD.mjs';
2
+ export { A as AuthenticationError, D as DeveloperApiClient, a as DeveloperApiError, N as NotFoundError, S as ServerError, b as ValidationError } from './errors-DoCX7LOD.mjs';
3
3
 
4
4
  /**
5
5
  * RealtimeX Local App SDK - Types
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { V as V1ApiNamespace } from './errors-DXKB6v1J.js';
2
- export { A as AuthenticationError, D as DeveloperApiClient, a as DeveloperApiError, N as NotFoundError, S as ServerError, b as ValidationError } from './errors-DXKB6v1J.js';
1
+ import { V as V1ApiNamespace } from './errors-DoCX7LOD.js';
2
+ export { A as AuthenticationError, D as DeveloperApiClient, a as DeveloperApiError, N as NotFoundError, S as ServerError, b as ValidationError } from './errors-DoCX7LOD.js';
3
3
 
4
4
  /**
5
5
  * RealtimeX Local App SDK - Types
package/dist/index.js CHANGED
@@ -3502,6 +3502,20 @@ var V1SystemModule = class {
3502
3502
  async getHealth() {
3503
3503
  return this.client.request("GET", `/v1/system/health`);
3504
3504
  }
3505
+ /**
3506
+ * Returns a health check object with server uptime and version.
3507
+ * @see GET /v1/system/health-version-2
3508
+ */
3509
+ async getHealthVersion2() {
3510
+ return this.client.request("GET", `/v1/system/health-version-2`);
3511
+ }
3512
+ /**
3513
+ * Returns a health check object with server uptime and version.
3514
+ * @see GET /v1/system/health-version-3
3515
+ */
3516
+ async getHealthVersion3() {
3517
+ return this.client.request("GET", `/v1/system/health-version-3`);
3518
+ }
3505
3519
  };
3506
3520
 
3507
3521
  // src/v1/modules/v1Thread.ts
package/dist/index.mjs CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  ServerError,
7
7
  V1ApiNamespace,
8
8
  ValidationError
9
- } from "./chunk-LM2TBHZ3.mjs";
9
+ } from "./chunk-PDAMNSF2.mjs";
10
10
 
11
11
  // src/modules/api.ts
12
12
  var PermissionDeniedError = class extends Error {
@@ -1,5 +1,5 @@
1
- import { D as DeveloperApiClient } from '../errors-DXKB6v1J.mjs';
2
- export { A as AuthenticationError, a as DeveloperApiError, N as NotFoundError, S as ServerError, d as V1AdminModule, V as V1ApiNamespace, c as V1AuthModule, e as V1DocumentModule, k as V1EmbedModule, j as V1OpenAIModule, g as V1SystemModule, h as V1ThreadModule, i as V1UsersModule, f as V1WorkspaceModule, b as ValidationError } from '../errors-DXKB6v1J.mjs';
1
+ import { D as DeveloperApiClient } from '../errors-DoCX7LOD.mjs';
2
+ export { A as AuthenticationError, a as DeveloperApiError, N as NotFoundError, S as ServerError, d as V1AdminModule, V as V1ApiNamespace, c as V1AuthModule, e as V1DocumentModule, k as V1EmbedModule, j as V1OpenAIModule, g as V1SystemModule, h as V1ThreadModule, i as V1UsersModule, f as V1WorkspaceModule, b as ValidationError } from '../errors-DoCX7LOD.mjs';
3
3
 
4
4
  interface WorkspaceStreamChunk {
5
5
  /** The text fragment emitted by this SSE event */
@@ -1,5 +1,5 @@
1
- import { D as DeveloperApiClient } from '../errors-DXKB6v1J.js';
2
- export { A as AuthenticationError, a as DeveloperApiError, N as NotFoundError, S as ServerError, d as V1AdminModule, V as V1ApiNamespace, c as V1AuthModule, e as V1DocumentModule, k as V1EmbedModule, j as V1OpenAIModule, g as V1SystemModule, h as V1ThreadModule, i as V1UsersModule, f as V1WorkspaceModule, b as ValidationError } from '../errors-DXKB6v1J.js';
1
+ import { D as DeveloperApiClient } from '../errors-DoCX7LOD.js';
2
+ export { A as AuthenticationError, a as DeveloperApiError, N as NotFoundError, S as ServerError, d as V1AdminModule, V as V1ApiNamespace, c as V1AuthModule, e as V1DocumentModule, k as V1EmbedModule, j as V1OpenAIModule, g as V1SystemModule, h as V1ThreadModule, i as V1UsersModule, f as V1WorkspaceModule, b as ValidationError } from '../errors-DoCX7LOD.js';
3
3
 
4
4
  interface WorkspaceStreamChunk {
5
5
  /** The text fragment emitted by this SSE event */
package/dist/v1/index.js CHANGED
@@ -502,6 +502,20 @@ var V1SystemModule = class {
502
502
  async getHealth() {
503
503
  return this.client.request("GET", `/v1/system/health`);
504
504
  }
505
+ /**
506
+ * Returns a health check object with server uptime and version.
507
+ * @see GET /v1/system/health-version-2
508
+ */
509
+ async getHealthVersion2() {
510
+ return this.client.request("GET", `/v1/system/health-version-2`);
511
+ }
512
+ /**
513
+ * Returns a health check object with server uptime and version.
514
+ * @see GET /v1/system/health-version-3
515
+ */
516
+ async getHealthVersion3() {
517
+ return this.client.request("GET", `/v1/system/health-version-3`);
518
+ }
505
519
  };
506
520
 
507
521
  // src/v1/modules/v1Thread.ts
package/dist/v1/index.mjs CHANGED
@@ -15,7 +15,7 @@ import {
15
15
  V1UsersModule,
16
16
  V1WorkspaceModule,
17
17
  ValidationError
18
- } from "../chunk-LM2TBHZ3.mjs";
18
+ } from "../chunk-PDAMNSF2.mjs";
19
19
 
20
20
  // src/v1/overrides/v1WorkspaceStreaming.ts
21
21
  async function* streamWorkspaceChat(client, slug, body) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realtimex/sdk",
3
- "version": "1.7.0",
3
+ "version": "1.7.4",
4
4
  "description": "SDK for building Local Apps that integrate with RealtimeX",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -18,7 +18,7 @@
18
18
  }
19
19
  },
20
20
  "scripts": {
21
- "build": "node ../scripts/generate-skill.mjs --force && tsup src/index.ts src/v1/index.ts --format cjs,esm --dts --clean",
21
+ "build": "node ../scripts/generate-v1-sdk.mjs --force && node ../scripts/generate-skill.mjs --force && tsup src/index.ts src/v1/index.ts --format cjs,esm --dts --clean",
22
22
  "dev": "tsup src/index.ts src/v1/index.ts --format cjs,esm --dts --watch",
23
23
  "test": "vitest run",
24
24
  "contract:verify": "node ../scripts/verify-contract-compat.mjs",
@@ -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-04-16
5
- sdk_version: 1.7.0
5
+ sdk_version: 1.7.4
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.0**. Authentication is automatic when running inside RealtimeX.
10
+ Interact with the RealTimeX platform (`http://localhost:3001`) using `@realtimex/sdk` **v1.7.4**. Authentication is automatic when running inside RealtimeX.
11
11
 
12
12
  `<SKILL_DIR>` below refers to the directory containing this SKILL.md.
13
13
 
@@ -1,6 +1,6 @@
1
1
  # RealTimeX SDK — API Reference
2
2
 
3
- > Auto-generated from `@realtimex/sdk` source · v**1.7.0** · 2026-04-16
3
+ > Auto-generated from `@realtimex/sdk` source · v**1.7.4** · 2026-04-16
4
4
 
5
5
  **Package:** `@realtimex/sdk` (CJS) · **Server:** `http://localhost:3001`
6
6
  **Developer Mode auth:** `Authorization: Bearer <apiKey>`
@@ -948,6 +948,12 @@ async deleteRemoveDocument(): Promise<unknown>
948
948
 
949
949
  // Returns a health check object with server uptime and version.
950
950
  async getHealth(): Promise<unknown>
951
+
952
+ // Returns a health check object with server uptime and version.
953
+ async getHealthVersion2(): Promise<unknown>
954
+
955
+ // Returns a health check object with server uptime and version.
956
+ async getHealthVersion3(): Promise<unknown>
951
957
  ```
952
958
 
953
959
  ---
@@ -1,6 +1,6 @@
1
1
  # Known Issues — Source-Detected
2
2
 
3
- > Auto-generated by `scripts/generate-skill.mjs` · SDK **1.7.0** · 2026-04-16
3
+ > Auto-generated by `scripts/generate-skill.mjs` · SDK **1.7.4** · 2026-04-16
4
4
 
5
5
  Run `node scripts/generate-skill.mjs --force` after SDK source changes to refresh.
6
6