@thatopen/services 0.17.0 → 0.19.0

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,3 @@
1
+ import { Command } from 'commander';
2
+
3
+ export declare const mcpCommand: Command;
@@ -0,0 +1,13 @@
1
+ import { EngineServicesClient } from '../../core/client';
2
+
3
+ /**
4
+ * The one way the CLI builds a client.
5
+ *
6
+ * Every CLI client sends its platform token as `Authorization: Bearer`
7
+ * instead of `?accessToken=`. The CLI holds long-lived API tokens, and the
8
+ * query form reproduces them in proxy logs, error bodies and anything a user
9
+ * pastes while asking for help. Requires a backend that accepts bearer
10
+ * platform tokens (deployed 2026-10); older backends answer 401, in which
11
+ * case upgrading the platform comes first, not flipping this off.
12
+ */
13
+ export declare function cliClient(accessToken: string, apiUrl: string): EngineServicesClient;
@@ -15,6 +15,8 @@ export interface ThatOpenLocalConfig {
15
15
  itemType?: ProjectType;
16
16
  /** Path to an icon file (PNG, WebP, or ICO) uploaded on publish. */
17
17
  iconPath?: string;
18
+ /** Project the first publish lands the app/component in (see `--project-id`). */
19
+ projectId?: string;
18
20
  /** Whether this project uses beta engine libraries (@thatopen-platform/*-beta). */
19
21
  beta?: boolean;
20
22
  }
@@ -0,0 +1 @@
1
+ export {};