@celljs/ta-host 4.16.0 → 4.18.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.
Files changed (179) hide show
  1. package/esm/node/app-commands.d.ts +111 -0
  2. package/esm/node/app-commands.js +646 -0
  3. package/esm/node/credentials.d.ts +12 -0
  4. package/esm/node/credentials.js +35 -0
  5. package/esm/node/delegate-extension.d.ts +11 -0
  6. package/esm/node/delegate-extension.js +33 -0
  7. package/esm/node/directory-relocator.d.ts +49 -0
  8. package/esm/node/directory-relocator.js +267 -0
  9. package/esm/node/extension-providers.d.ts +16 -1
  10. package/esm/node/extension-providers.js +23 -3
  11. package/esm/node/index.d.ts +8 -0
  12. package/esm/node/index.js +8 -0
  13. package/esm/node/keep-awake.d.ts +8 -1
  14. package/esm/node/keep-awake.js +24 -3
  15. package/esm/node/message-page.d.ts +6 -1
  16. package/esm/node/message-page.js +50 -2
  17. package/esm/node/package-hosts.d.ts +8 -0
  18. package/esm/node/package-hosts.js +41 -0
  19. package/esm/node/package-webhooks.d.ts +26 -0
  20. package/esm/node/package-webhooks.js +101 -0
  21. package/esm/node/page-book.d.ts +48 -0
  22. package/esm/node/page-book.js +117 -0
  23. package/esm/node/relay-bridge.d.ts +2 -0
  24. package/esm/node/relay-bridge.js +35 -1
  25. package/esm/node/rooms-bridge.d.ts +13 -1
  26. package/esm/node/rooms-bridge.js +29 -0
  27. package/esm/node/screen-share/desktop-picture.d.ts +51 -0
  28. package/esm/node/screen-share/desktop-picture.js +133 -0
  29. package/esm/node/screen-share/desktop-session.d.ts +128 -0
  30. package/esm/node/screen-share/desktop-session.js +437 -0
  31. package/esm/node/screen-share/desktop-targets.d.ts +24 -0
  32. package/esm/node/screen-share/desktop-targets.js +80 -0
  33. package/esm/node/screen-share/desktop-viewer.d.ts +146 -0
  34. package/esm/node/screen-share/desktop-viewer.js +339 -0
  35. package/esm/node/screen-share/index.d.ts +8 -0
  36. package/esm/node/screen-share/index.js +9 -0
  37. package/esm/node/screen-share/rfb-client.d.ts +54 -0
  38. package/esm/node/screen-share/rfb-client.js +179 -0
  39. package/esm/node/screen-share/rfb-des.d.ts +11 -0
  40. package/esm/node/screen-share/rfb-des.js +143 -0
  41. package/esm/node/screen-share/rfb-encodings.d.ts +71 -0
  42. package/esm/node/screen-share/rfb-encodings.js +288 -0
  43. package/esm/node/screen-share/rfb-framebuffer.d.ts +16 -0
  44. package/esm/node/screen-share/rfb-framebuffer.js +53 -0
  45. package/esm/node/screen-share/rfb-protocol.d.ts +90 -0
  46. package/esm/node/screen-share/rfb-protocol.js +36 -0
  47. package/esm/node/screen-share/rfb-reader.d.ts +34 -0
  48. package/esm/node/screen-share/rfb-reader.js +110 -0
  49. package/esm/node/screen-share/rfb-security.d.ts +30 -0
  50. package/esm/node/screen-share/rfb-security.js +136 -0
  51. package/esm/node/screen-share/rfb-test-server.d.ts +37 -0
  52. package/esm/node/screen-share/rfb-test-server.js +116 -0
  53. package/esm/node/screen-share/screen-share-server-impl.d.ts +37 -0
  54. package/esm/node/screen-share/screen-share-server-impl.js +76 -0
  55. package/esm/node/screen-share/screen-shares.d.ts +123 -0
  56. package/esm/node/screen-share/screen-shares.js +463 -0
  57. package/esm/node/session-info-util.d.ts +10 -9
  58. package/esm/node/session-info-util.js +16 -68
  59. package/esm/node/settings-store.d.ts +1 -1
  60. package/esm/node/settings-store.js +7 -4
  61. package/esm/node/sign-in/access-store.d.ts +1 -1
  62. package/esm/node/sign-in/access-store.js +4 -1
  63. package/esm/node/sign-in/index.d.ts +2 -0
  64. package/esm/node/sign-in/index.js +2 -0
  65. package/esm/node/sign-in/polled-sign-in.d.ts +50 -0
  66. package/esm/node/sign-in/polled-sign-in.js +83 -0
  67. package/esm/node/sign-in/sign-in-devices.d.ts +55 -0
  68. package/esm/node/sign-in/sign-in-devices.js +113 -0
  69. package/esm/node/sign-in/sign-in-flow.d.ts +38 -4
  70. package/esm/node/sign-in/sign-in-flow.js +79 -4
  71. package/esm/node/sign-in/sign-in-pages.d.ts +8 -0
  72. package/esm/node/sign-in/sign-in-pages.js +137 -8
  73. package/esm/node/sign-in/sign-in-provider.d.ts +6 -0
  74. package/esm/node/sign-in/sign-in-provider.js +15 -0
  75. package/esm/node/sources-extension.d.ts +10 -0
  76. package/esm/node/sources-extension.js +18 -0
  77. package/esm/node/ta-server-impl.d.ts +5 -1
  78. package/esm/node/ta-server-impl.js +25 -3
  79. package/esm/node/ta-session-factory.d.ts +13 -1
  80. package/esm/node/ta-session-factory.js +41 -4
  81. package/esm/node/ta-session.d.ts +2 -0
  82. package/esm/node/ta-session.js +1 -0
  83. package/esm/node/team/team-calls.js +49 -0
  84. package/esm/node/voice-bridge.d.ts +70 -0
  85. package/esm/node/voice-bridge.js +280 -0
  86. package/esm/node/voices-file.d.ts +38 -0
  87. package/esm/node/voices-file.js +100 -0
  88. package/esm/node/working-directory.d.ts +8 -2
  89. package/esm/node/working-directory.js +7 -0
  90. package/lib/node/app-commands.d.ts +112 -0
  91. package/lib/node/app-commands.js +650 -0
  92. package/lib/node/credentials.d.ts +13 -0
  93. package/lib/node/credentials.js +38 -0
  94. package/lib/node/delegate-extension.d.ts +12 -0
  95. package/lib/node/delegate-extension.js +37 -0
  96. package/lib/node/directory-relocator.d.ts +50 -0
  97. package/lib/node/directory-relocator.js +270 -0
  98. package/lib/node/extension-providers.d.ts +16 -1
  99. package/lib/node/extension-providers.js +23 -3
  100. package/lib/node/index.d.ts +8 -0
  101. package/lib/node/index.js +8 -0
  102. package/lib/node/keep-awake.d.ts +8 -1
  103. package/lib/node/keep-awake.js +24 -3
  104. package/lib/node/message-page.d.ts +6 -1
  105. package/lib/node/message-page.js +50 -2
  106. package/lib/node/package-hosts.d.ts +8 -0
  107. package/lib/node/package-hosts.js +41 -0
  108. package/lib/node/package-webhooks.d.ts +27 -0
  109. package/lib/node/package-webhooks.js +104 -0
  110. package/lib/node/page-book.d.ts +49 -0
  111. package/lib/node/page-book.js +120 -0
  112. package/lib/node/relay-bridge.d.ts +2 -0
  113. package/lib/node/relay-bridge.js +34 -0
  114. package/lib/node/rooms-bridge.d.ts +13 -1
  115. package/lib/node/rooms-bridge.js +29 -0
  116. package/lib/node/screen-share/desktop-picture.d.ts +52 -0
  117. package/lib/node/screen-share/desktop-picture.js +136 -0
  118. package/lib/node/screen-share/desktop-session.d.ts +129 -0
  119. package/lib/node/screen-share/desktop-session.js +442 -0
  120. package/lib/node/screen-share/desktop-targets.d.ts +25 -0
  121. package/lib/node/screen-share/desktop-targets.js +84 -0
  122. package/lib/node/screen-share/desktop-viewer.d.ts +147 -0
  123. package/lib/node/screen-share/desktop-viewer.js +343 -0
  124. package/lib/node/screen-share/index.d.ts +9 -0
  125. package/lib/node/screen-share/index.js +25 -0
  126. package/lib/node/screen-share/rfb-client.d.ts +55 -0
  127. package/lib/node/screen-share/rfb-client.js +183 -0
  128. package/lib/node/screen-share/rfb-des.d.ts +12 -0
  129. package/lib/node/screen-share/rfb-des.js +146 -0
  130. package/lib/node/screen-share/rfb-encodings.d.ts +72 -0
  131. package/lib/node/screen-share/rfb-encodings.js +295 -0
  132. package/lib/node/screen-share/rfb-framebuffer.d.ts +17 -0
  133. package/lib/node/screen-share/rfb-framebuffer.js +57 -0
  134. package/lib/node/screen-share/rfb-protocol.d.ts +91 -0
  135. package/lib/node/screen-share/rfb-protocol.js +39 -0
  136. package/lib/node/screen-share/rfb-reader.d.ts +35 -0
  137. package/lib/node/screen-share/rfb-reader.js +115 -0
  138. package/lib/node/screen-share/rfb-security.d.ts +31 -0
  139. package/lib/node/screen-share/rfb-security.js +141 -0
  140. package/lib/node/screen-share/rfb-test-server.d.ts +38 -0
  141. package/lib/node/screen-share/rfb-test-server.js +120 -0
  142. package/lib/node/screen-share/screen-share-server-impl.d.ts +38 -0
  143. package/lib/node/screen-share/screen-share-server-impl.js +79 -0
  144. package/lib/node/screen-share/screen-shares.d.ts +124 -0
  145. package/lib/node/screen-share/screen-shares.js +464 -0
  146. package/lib/node/session-info-util.d.ts +10 -9
  147. package/lib/node/session-info-util.js +15 -67
  148. package/lib/node/settings-store.d.ts +1 -1
  149. package/lib/node/settings-store.js +6 -3
  150. package/lib/node/sign-in/access-store.d.ts +1 -1
  151. package/lib/node/sign-in/access-store.js +4 -1
  152. package/lib/node/sign-in/index.d.ts +2 -0
  153. package/lib/node/sign-in/index.js +2 -0
  154. package/lib/node/sign-in/polled-sign-in.d.ts +51 -0
  155. package/lib/node/sign-in/polled-sign-in.js +87 -0
  156. package/lib/node/sign-in/sign-in-devices.d.ts +56 -0
  157. package/lib/node/sign-in/sign-in-devices.js +117 -0
  158. package/lib/node/sign-in/sign-in-flow.d.ts +38 -4
  159. package/lib/node/sign-in/sign-in-flow.js +80 -5
  160. package/lib/node/sign-in/sign-in-pages.d.ts +8 -0
  161. package/lib/node/sign-in/sign-in-pages.js +136 -7
  162. package/lib/node/sign-in/sign-in-provider.d.ts +6 -0
  163. package/lib/node/sign-in/sign-in-provider.js +15 -0
  164. package/lib/node/sources-extension.d.ts +11 -0
  165. package/lib/node/sources-extension.js +22 -0
  166. package/lib/node/ta-server-impl.d.ts +5 -1
  167. package/lib/node/ta-server-impl.js +24 -2
  168. package/lib/node/ta-session-factory.d.ts +13 -1
  169. package/lib/node/ta-session-factory.js +40 -3
  170. package/lib/node/ta-session.d.ts +2 -0
  171. package/lib/node/ta-session.js +1 -0
  172. package/lib/node/team/team-calls.js +49 -0
  173. package/lib/node/voice-bridge.d.ts +71 -0
  174. package/lib/node/voice-bridge.js +281 -0
  175. package/lib/node/voices-file.d.ts +39 -0
  176. package/lib/node/voices-file.js +104 -0
  177. package/lib/node/working-directory.d.ts +8 -2
  178. package/lib/node/working-directory.js +7 -0
  179. package/package.json +14 -10
@@ -0,0 +1,100 @@
1
+ import { chmodSync, mkdirSync, readFileSync, renameSync, writeFileSync } from 'node:fs';
2
+ import { dirname, join } from 'node:path';
3
+ /** voices.json of the agent directory (docs/design/ta-voice.md 3): its keys stay there, written 0600. */
4
+ export class VoicesFile {
5
+ constructor(agentDir) {
6
+ this.file = join(agentDir, 'voices.json');
7
+ }
8
+ read() {
9
+ let text;
10
+ try {
11
+ text = readFileSync(this.file, 'utf8');
12
+ }
13
+ catch (_a) {
14
+ return {};
15
+ }
16
+ const config = JSON.parse(text);
17
+ const services = Array.isArray(config === null || config === void 0 ? void 0 : config.services)
18
+ ? config.services.filter(service => service && typeof service.id === 'string' && typeof service.type === 'string' && typeof service.options === 'object')
19
+ : [];
20
+ return {
21
+ services,
22
+ ...(typeof (config === null || config === void 0 ? void 0 : config.use) === 'string' ? { use: config.use } : {}),
23
+ ...((config === null || config === void 0 ? void 0 : config.bargeIn) && typeof config.bargeIn === 'object' ? { bargeIn: config.bargeIn } : {}),
24
+ };
25
+ }
26
+ /** What reads, or nothing with why it does not parse. */
27
+ safeRead() {
28
+ try {
29
+ return { config: this.read() };
30
+ }
31
+ catch (error) {
32
+ return { config: {}, error: error instanceof Error ? error.message : String(error) };
33
+ }
34
+ }
35
+ services() {
36
+ var _a;
37
+ return (_a = this.safeRead().config.services) !== null && _a !== void 0 ? _a : [];
38
+ }
39
+ /** The service in use, if it is still there. */
40
+ inUse() {
41
+ const { services = [], use } = this.safeRead().config;
42
+ return use ? services.find(service => service.id === use) : undefined;
43
+ }
44
+ /** Its id: the type with a number when there is one of it already. */
45
+ add(type, options, name) {
46
+ var _a;
47
+ const config = this.read();
48
+ const services = (_a = config.services) !== null && _a !== void 0 ? _a : [];
49
+ const stem = type.replace(/[^a-z0-9-]/gi, '').toLowerCase() || 'voice';
50
+ let id = stem;
51
+ for (let n = 2; services.some(service => service.id === id); n++) {
52
+ id = `${stem}-${n}`;
53
+ }
54
+ services.push({ id, type, ...(name ? { name } : {}), options });
55
+ this.write({ ...config, services });
56
+ return id;
57
+ }
58
+ /** Its options and name, the rest as it was; throws for one that is not there. */
59
+ update(id, options, name) {
60
+ var _a;
61
+ const config = this.read();
62
+ const services = (_a = config.services) !== null && _a !== void 0 ? _a : [];
63
+ const at = services.findIndex(service => service.id === id);
64
+ if (at < 0) {
65
+ throw new Error(`There is no voice service ${id} in voices.json.`);
66
+ }
67
+ const { name: _, ...kept } = services[at];
68
+ services[at] = { ...kept, ...(name ? { name } : {}), options };
69
+ this.write({ ...config, services });
70
+ }
71
+ /** Sets keys of bargeIn, the others kept. */
72
+ setBargeIn(bargeIn) {
73
+ const config = this.read();
74
+ this.write({ ...config, bargeIn: { ...config.bargeIn, ...bargeIn } });
75
+ }
76
+ remove(id) {
77
+ var _a;
78
+ const config = this.read();
79
+ const services = ((_a = config.services) !== null && _a !== void 0 ? _a : []).filter(service => service.id !== id);
80
+ const { use, ...rest } = config;
81
+ this.write({ ...rest, services, ...(use && use !== id ? { use } : {}) });
82
+ }
83
+ use(id) {
84
+ var _a, _b;
85
+ const config = this.read();
86
+ if (id !== undefined && !((_a = config.services) !== null && _a !== void 0 ? _a : []).some(service => service.id === id)) {
87
+ throw new Error(`There is no voice service ${id} in voices.json.`);
88
+ }
89
+ const { use: _, ...rest } = config;
90
+ this.write({ ...rest, services: (_b = config.services) !== null && _b !== void 0 ? _b : [], ...(id ? { use: id } : {}) });
91
+ }
92
+ write(config) {
93
+ mkdirSync(dirname(this.file), { recursive: true });
94
+ const temporary = `${this.file}.${process.pid}.tmp`;
95
+ writeFileSync(temporary, `${JSON.stringify(config, null, 2)}\n`, { mode: 0o600 });
96
+ chmodSync(temporary, 0o600);
97
+ renameSync(temporary, this.file);
98
+ }
99
+ }
100
+ //# sourceMappingURL=voices-file.js.map
@@ -1,7 +1,8 @@
1
1
  export declare const TaWorkingDirectory: unique symbol;
2
2
  /**
3
- * The working directory the user chose for ta serve (TaServer.setWorkingDirectory), and the hosts of the
4
- * remote directories opened lately (TaRemoteServer), kept across restarts.
3
+ * The working directory the user chose for ta serve (TaServer.setWorkingDirectory), the hosts of the
4
+ * remote directories opened lately (TaRemoteServer) and the desktops added (TaScreenShareServer), kept across
5
+ * restarts.
5
6
  */
6
7
  export interface TaWorkingDirectory {
7
8
  get(): string | undefined;
@@ -10,6 +11,9 @@ export interface TaWorkingDirectory {
10
11
  recentHosts(): string[];
11
12
  addRecentHost(host: string): void;
12
13
  removeRecentHost(host: string): void;
14
+ /** The desktops the user added, as kept: checked by whoever reads them. */
15
+ desktops(): unknown[];
16
+ setDesktops(desktops: unknown[]): void;
13
17
  }
14
18
  /** In ta.json of the agent directory, beside Ta's other settings of its own; the file keeps its other keys. */
15
19
  export declare class TaWorkingDirectoryImpl implements TaWorkingDirectory {
@@ -19,6 +23,8 @@ export declare class TaWorkingDirectoryImpl implements TaWorkingDirectory {
19
23
  recentHosts(): string[];
20
24
  addRecentHost(host: string): void;
21
25
  removeRecentHost(host: string): void;
26
+ desktops(): unknown[];
27
+ setDesktops(desktops: unknown[]): void;
22
28
  protected write(changes: Record<string, unknown>): void;
23
29
  protected read(): Record<string, unknown>;
24
30
  }
@@ -40,6 +40,13 @@ let TaWorkingDirectoryImpl = class TaWorkingDirectoryImpl {
40
40
  this.write({ remoteHosts: hosts.filter(other => other !== host) });
41
41
  }
42
42
  }
43
+ desktops() {
44
+ const { desktops } = this.read();
45
+ return Array.isArray(desktops) ? desktops : [];
46
+ }
47
+ setDesktops(desktops) {
48
+ this.write({ desktops });
49
+ }
43
50
  write(changes) {
44
51
  writeFileSync(`${this.file}.tmp`, `${JSON.stringify({ ...this.read(), ...changes }, null, 2)}\n`);
45
52
  renameSync(`${this.file}.tmp`, this.file);
@@ -0,0 +1,112 @@
1
+ import { ExecEnvironmentFactory } from '@celljs/ta-exec';
2
+ import { type RpcExtensionUIRequest, type RpcExtensionUIResponse, type TaAppCommand, type TaAppCommandInfo, type TaAppCommandResult, type TaAppRunOptions, type TaHostCommands, type TaLanguage, type TaPackageInfo, TaPackageServer, type TaSavedSessionInfo, TaServer, type TaSessionInfo, type TaSettingsSnapshot } from '@celljs/ta-protocol';
3
+ import { TaSessionRegistry } from './host-protocol';
4
+ import { TaPageBook } from './page-book';
5
+ import { TaSettingsStore } from './settings-store';
6
+ import { TaHostTeamProvider } from './team/team-protocol';
7
+ export declare const TaAppCommands: unique symbol;
8
+ /** The catalog of actions (TaHostCommands), and the actions of a package, gone when it stops. */
9
+ export interface TaAppCommands extends TaHostCommands {
10
+ /** Adds an action of a package. */
11
+ registerOf(owner: string, command: TaAppCommand): () => void;
12
+ /** The package stopped: its actions go. */
13
+ dropOwner(owner: string): void;
14
+ }
15
+ /** What the catalog asks of who runs an action (TaHostTeam). */
16
+ export interface AppCommandAccess {
17
+ can(principal: string, action: string): boolean;
18
+ actorsOf(sessionFile: string): string[];
19
+ current(): string;
20
+ /**
21
+ * Whether `principal` agrees, on a screen of theirs, to a danger action asked for by the run of `sessionFile`;
22
+ * undefined when they have no page open to ask on.
23
+ */
24
+ confirm?(principal: string, what: string, sessionFile?: string, detail?: string): Promise<boolean | undefined>;
25
+ }
26
+ type Json = Record<string, unknown>;
27
+ /** The actions by id, and who may run them: pure, for TaAppCommandsImpl and its tests. */
28
+ export declare class AppCommandRegistry implements TaHostCommands {
29
+ protected readonly access: AppCommandAccess;
30
+ protected readonly language: () => TaLanguage;
31
+ protected readonly commands: Map<string, {
32
+ command: TaAppCommand;
33
+ owner?: string;
34
+ }>;
35
+ constructor(access: AppCommandAccess, language?: () => TaLanguage);
36
+ list(): TaAppCommandInfo[];
37
+ register(command: TaAppCommand, owner?: string): () => void;
38
+ dropOwner(owner: string): void;
39
+ run(id: string, input?: Json, options?: TaAppRunOptions): Promise<TaAppCommandResult>;
40
+ /** Each who asked: the principal given, or those of the run of the conversation; the owner for a run nobody asked. */
41
+ protected principals(options: TaAppRunOptions): string[];
42
+ }
43
+ /** What the actions of Ta itself read and change: the services the pages call. */
44
+ export interface CoreAppDeps {
45
+ getData(name: string, key: string): Promise<unknown>;
46
+ setData(name: string, key: string, value: unknown): Promise<void>;
47
+ agentSettings(): Promise<TaSettingsSnapshot>;
48
+ updateAgentSettings(changes: Json): Promise<void>;
49
+ sessions(): Promise<TaSessionInfo[]>;
50
+ saved(): Promise<TaSavedSessionInfo[]>;
51
+ abort(sessionId: string): Promise<void>;
52
+ packages(): Promise<TaPackageInfo[]>;
53
+ setPackageEnabled(name: string, enabled: boolean): Promise<void>;
54
+ /** The dialogs an open session waits on the user's answer of. */
55
+ pendingUi(sessionId: string): RpcExtensionUIRequest[];
56
+ respondUi(sessionId: string, response: RpcExtensionUIResponse): Promise<boolean>;
57
+ /** Says `text` in the conversation of a session file as the user, opening it if it is not. */
58
+ send(file: string, cwd: string, text: string): Promise<void>;
59
+ }
60
+ /** What waits for the user, as asks.list gives it: a dialog of an extension, or a question the agent asked. */
61
+ export interface AppAsk {
62
+ file: string;
63
+ name: string;
64
+ kind: 'dialog' | 'question';
65
+ question: string;
66
+ /** How a dialog is answered: one of `choices` (select, confirm), or any text (input, editor). */
67
+ method?: 'select' | 'confirm' | 'input' | 'editor';
68
+ choices?: string[];
69
+ }
70
+ /** One conversation, as chats.list gives it. */
71
+ export interface AppChat {
72
+ file: string;
73
+ name: string;
74
+ cwd: string;
75
+ state: 'working' | 'waiting' | 'asking' | 'idle';
76
+ pinned: boolean;
77
+ updatedAt: string;
78
+ group?: string;
79
+ last?: string;
80
+ }
81
+ /** The actions of Ta itself (docs/design/ta-app-use.md 2.5). */
82
+ export declare namespace CoreAppCommands {
83
+ function all(deps: CoreAppDeps): TaAppCommand[];
84
+ /** What the user said, as the answer of a dialog: one of its choices, by its words or its number; yes or no. */
85
+ function answerOf(dialog: {
86
+ method: string;
87
+ options?: string[];
88
+ }, answer: unknown): {
89
+ value: string;
90
+ } | {
91
+ confirmed: boolean;
92
+ } | undefined;
93
+ }
94
+ /** The catalog of ta serve, with the actions of Ta itself; packages add theirs through their host (host.commands). */
95
+ export declare class TaAppCommandsImpl implements TaAppCommands {
96
+ protected readonly server: TaServer;
97
+ protected readonly packageServer: TaPackageServer;
98
+ protected readonly settings: TaSettingsStore;
99
+ protected readonly environments: ExecEnvironmentFactory;
100
+ protected readonly teamProvider: TaHostTeamProvider;
101
+ protected readonly pages: TaPageBook;
102
+ protected readonly sessions: TaSessionRegistry;
103
+ protected registry?: AppCommandRegistry;
104
+ list(): TaAppCommandInfo[];
105
+ run(id: string, input?: Json, options?: TaAppRunOptions): Promise<TaAppCommandResult>;
106
+ register(command: TaAppCommand): () => void;
107
+ registerOf(owner: string, command: TaAppCommand): () => void;
108
+ dropOwner(owner: string): void;
109
+ protected catalog(): AppCommandRegistry;
110
+ }
111
+ export {};
112
+ //# sourceMappingURL=app-commands.d.ts.map