orbitmap 0.3.0 → 0.4.1

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 (174) hide show
  1. package/README.md +546 -212
  2. package/dist/adapters/cloud.d.ts +367 -0
  3. package/dist/adapters/cloud.js +582 -0
  4. package/dist/adapters/cloud.js.map +1 -0
  5. package/dist/adapters/factory.d.ts +15 -0
  6. package/dist/adapters/factory.js +31 -0
  7. package/dist/adapters/factory.js.map +1 -0
  8. package/dist/adapters/local/adapter.d.ts +351 -0
  9. package/dist/adapters/local/adapter.js +346 -0
  10. package/dist/adapters/local/adapter.js.map +1 -0
  11. package/dist/adapters/local/context.d.ts +112 -0
  12. package/dist/adapters/local/context.js +137 -0
  13. package/dist/adapters/local/context.js.map +1 -0
  14. package/dist/adapters/local/entities/documents.d.ts +85 -0
  15. package/dist/adapters/local/entities/documents.js +251 -0
  16. package/dist/adapters/local/entities/documents.js.map +1 -0
  17. package/dist/adapters/local/entities/planning.d.ts +108 -0
  18. package/dist/adapters/local/entities/planning.js +540 -0
  19. package/dist/adapters/local/entities/planning.js.map +1 -0
  20. package/dist/adapters/local/entities/tasks.d.ts +95 -0
  21. package/dist/adapters/local/entities/tasks.js +442 -0
  22. package/dist/adapters/local/entities/tasks.js.map +1 -0
  23. package/dist/adapters/local/entities/work-items.d.ts +110 -0
  24. package/dist/adapters/local/entities/work-items.js +623 -0
  25. package/dist/adapters/local/entities/work-items.js.map +1 -0
  26. package/dist/adapters/local/rules.d.ts +172 -0
  27. package/dist/adapters/local/rules.js +319 -0
  28. package/dist/adapters/local/rules.js.map +1 -0
  29. package/dist/adapters/local/shapes.d.ts +209 -0
  30. package/dist/adapters/local/shapes.js +558 -0
  31. package/dist/adapters/local/shapes.js.map +1 -0
  32. package/dist/adapters/local/store.d.ts +200 -0
  33. package/dist/adapters/local/store.js +665 -0
  34. package/dist/adapters/local/store.js.map +1 -0
  35. package/dist/adapters/local/types.d.ts +226 -0
  36. package/dist/adapters/local/types.js +41 -0
  37. package/dist/adapters/local/types.js.map +1 -0
  38. package/dist/adapters/types.d.ts +332 -0
  39. package/dist/adapters/types.js +2 -0
  40. package/dist/adapters/types.js.map +1 -0
  41. package/dist/agent-instructions.d.ts +25 -9
  42. package/dist/agent-instructions.js +285 -237
  43. package/dist/agent-instructions.js.map +1 -1
  44. package/dist/api-client.d.ts +8 -239
  45. package/dist/api-client.js +8 -403
  46. package/dist/api-client.js.map +1 -1
  47. package/dist/commands/agents.d.ts +1 -1
  48. package/dist/commands/agents.js +10 -10
  49. package/dist/commands/agents.js.map +1 -1
  50. package/dist/commands/areas.d.ts +3 -0
  51. package/dist/commands/areas.js +29 -0
  52. package/dist/commands/areas.js.map +1 -0
  53. package/dist/commands/assign.d.ts +3 -2
  54. package/dist/commands/assign.js +52 -15
  55. package/dist/commands/assign.js.map +1 -1
  56. package/dist/commands/context.d.ts +1 -1
  57. package/dist/commands/context.js +18 -12
  58. package/dist/commands/context.js.map +1 -1
  59. package/dist/commands/create-area.d.ts +7 -0
  60. package/dist/commands/create-area.js +29 -0
  61. package/dist/commands/create-area.js.map +1 -0
  62. package/dist/commands/create.d.ts +3 -1
  63. package/dist/commands/create.js +5 -8
  64. package/dist/commands/create.js.map +1 -1
  65. package/dist/commands/dep.d.ts +2 -2
  66. package/dist/commands/dep.js +3 -3
  67. package/dist/commands/dep.js.map +1 -1
  68. package/dist/commands/doc-import.d.ts +1 -1
  69. package/dist/commands/doc-import.js +2 -2
  70. package/dist/commands/doc-import.js.map +1 -1
  71. package/dist/commands/doc-patch.d.ts +1 -1
  72. package/dist/commands/doc-patch.js +2 -2
  73. package/dist/commands/doc-patch.js.map +1 -1
  74. package/dist/commands/doc-share.d.ts +6 -6
  75. package/dist/commands/doc-share.js +13 -13
  76. package/dist/commands/doc-share.js.map +1 -1
  77. package/dist/commands/doc-update.d.ts +1 -1
  78. package/dist/commands/doc-update.js +2 -2
  79. package/dist/commands/doc-update.js.map +1 -1
  80. package/dist/commands/doc.d.ts +1 -1
  81. package/dist/commands/doc.js +5 -4
  82. package/dist/commands/doc.js.map +1 -1
  83. package/dist/commands/docs-cache.d.ts +2 -2
  84. package/dist/commands/docs-cache.js +3 -3
  85. package/dist/commands/docs-cache.js.map +1 -1
  86. package/dist/commands/docs.d.ts +1 -1
  87. package/dist/commands/docs.js +2 -2
  88. package/dist/commands/docs.js.map +1 -1
  89. package/dist/commands/get.d.ts +1 -1
  90. package/dist/commands/get.js +43 -3
  91. package/dist/commands/get.js.map +1 -1
  92. package/dist/commands/ideas.d.ts +4 -4
  93. package/dist/commands/ideas.js +6 -11
  94. package/dist/commands/ideas.js.map +1 -1
  95. package/dist/commands/init.d.ts +45 -3
  96. package/dist/commands/init.js +452 -104
  97. package/dist/commands/init.js.map +1 -1
  98. package/dist/commands/intent.d.ts +41 -0
  99. package/dist/commands/intent.js +237 -0
  100. package/dist/commands/intent.js.map +1 -0
  101. package/dist/commands/issues.d.ts +6 -5
  102. package/dist/commands/issues.js +8 -12
  103. package/dist/commands/issues.js.map +1 -1
  104. package/dist/commands/log.d.ts +1 -1
  105. package/dist/commands/log.js +2 -2
  106. package/dist/commands/log.js.map +1 -1
  107. package/dist/commands/mission.d.ts +42 -0
  108. package/dist/commands/mission.js +219 -0
  109. package/dist/commands/mission.js.map +1 -0
  110. package/dist/commands/orbit.d.ts +40 -3
  111. package/dist/commands/orbit.js +231 -58
  112. package/dist/commands/orbit.js.map +1 -1
  113. package/dist/commands/overview.d.ts +2 -2
  114. package/dist/commands/overview.js +25 -28
  115. package/dist/commands/overview.js.map +1 -1
  116. package/dist/commands/setup-agent.d.ts +27 -0
  117. package/dist/commands/setup-agent.js +85 -30
  118. package/dist/commands/setup-agent.js.map +1 -1
  119. package/dist/commands/setup-mcp.d.ts +1 -1
  120. package/dist/commands/setup-mcp.js +20 -49
  121. package/dist/commands/setup-mcp.js.map +1 -1
  122. package/dist/commands/start.d.ts +1 -1
  123. package/dist/commands/start.js +2 -2
  124. package/dist/commands/start.js.map +1 -1
  125. package/dist/commands/status.d.ts +2 -1
  126. package/dist/commands/status.js +3 -3
  127. package/dist/commands/status.js.map +1 -1
  128. package/dist/commands/subtask.d.ts +1 -1
  129. package/dist/commands/subtask.js +2 -2
  130. package/dist/commands/subtask.js.map +1 -1
  131. package/dist/commands/task-edit-content.d.ts +1 -1
  132. package/dist/commands/task-edit-content.js +2 -2
  133. package/dist/commands/task-edit-content.js.map +1 -1
  134. package/dist/commands/task.d.ts +10 -3
  135. package/dist/commands/task.js +19 -21
  136. package/dist/commands/task.js.map +1 -1
  137. package/dist/commands/tasks.d.ts +1 -1
  138. package/dist/commands/tasks.js +2 -2
  139. package/dist/commands/tasks.js.map +1 -1
  140. package/dist/commands/vibes.d.ts +4 -4
  141. package/dist/commands/vibes.js +5 -5
  142. package/dist/commands/vibes.js.map +1 -1
  143. package/dist/config.d.ts +69 -9
  144. package/dist/config.js +206 -23
  145. package/dist/config.js.map +1 -1
  146. package/dist/doc-cache.d.ts +23 -3
  147. package/dist/doc-cache.js +72 -12
  148. package/dist/doc-cache.js.map +1 -1
  149. package/dist/errors.d.ts +19 -2
  150. package/dist/errors.js +35 -0
  151. package/dist/errors.js.map +1 -1
  152. package/dist/id-resolve.d.ts +61 -0
  153. package/dist/id-resolve.js +87 -0
  154. package/dist/id-resolve.js.map +1 -0
  155. package/dist/index.js +477 -104
  156. package/dist/index.js.map +1 -1
  157. package/dist/mcp-config.d.ts +36 -0
  158. package/dist/mcp-config.js +51 -0
  159. package/dist/mcp-config.js.map +1 -0
  160. package/dist/oauth.d.ts +8 -0
  161. package/dist/oauth.js +54 -15
  162. package/dist/oauth.js.map +1 -1
  163. package/dist/output.js +7 -2
  164. package/dist/output.js.map +1 -1
  165. package/dist/paths.d.ts +97 -0
  166. package/dist/paths.js +178 -0
  167. package/dist/paths.js.map +1 -0
  168. package/dist/project-config.d.ts +75 -0
  169. package/dist/project-config.js +55 -0
  170. package/dist/project-config.js.map +1 -0
  171. package/dist/workspace-resolve.d.ts +158 -0
  172. package/dist/workspace-resolve.js +284 -0
  173. package/dist/workspace-resolve.js.map +1 -0
  174. package/package.json +53 -50
@@ -0,0 +1,367 @@
1
+ import { type OrbitMapConfig } from '../config.js';
2
+ import type { WorkspaceAdapter } from './types.js';
3
+ export declare class CloudAdapter implements WorkspaceAdapter {
4
+ private readonly apiKey;
5
+ private readonly baseUrl;
6
+ private readonly area?;
7
+ /**
8
+ * Task reference → uuid, for the lifetime of this adapter. A command that touches the same
9
+ * task twice (`dep add TS-a TS-b` resolves two, `status` then reads back) pays for one
10
+ * `/tasks/by-number/{n}` lookup per distinct reference, not per call site.
11
+ */
12
+ private readonly taskIdCache;
13
+ constructor(apiKey: string, area?: string, apiUrl?: string);
14
+ private request;
15
+ getContext(areaId?: string): Promise<unknown>;
16
+ /**
17
+ * The area this client was constructed with (`--area` → `ORBITMAP_AREA` →
18
+ * `.orbitmap/link.json` → nearest project `.orbitmap/config.json` that sets `area` →
19
+ * global config `area` (deprecated) — the one ladder, `resolveArea` in
20
+ * `workspace-resolve.ts`, applied by `createClient`). No request is made.
21
+ */
22
+ getDefaultArea(): Promise<string | undefined>;
23
+ getTasks(options?: {
24
+ status?: string;
25
+ priority?: string;
26
+ areaId?: string;
27
+ orbit?: string;
28
+ }): Promise<unknown>;
29
+ /**
30
+ * Resolve any task reference — uuid, `TS-uw9yh5` or the bare code — to the uuid the task
31
+ * endpoints require. A uuid costs no extra request; see `id-resolve.ts` for why tasks need
32
+ * this at all when every other entity resolves its prefix server-side.
33
+ */
34
+ private taskId;
35
+ getTask(taskId: string): Promise<unknown>;
36
+ getTaskByNumber(taskNumber: string): Promise<unknown>;
37
+ startTask(taskId?: string): Promise<unknown>;
38
+ updateTaskStatus(taskId: string, status?: string, deliveryStatus?: string | null, _force?: boolean): Promise<unknown>;
39
+ createSubtasks(parentId: string, subtasks: Array<{
40
+ title: string;
41
+ description?: string;
42
+ priority?: string;
43
+ estimated_effort?: string;
44
+ }>): Promise<unknown>;
45
+ createTask(data: {
46
+ title: string;
47
+ description?: string;
48
+ status?: string;
49
+ priority?: string;
50
+ agent_instructions?: string;
51
+ branch_name?: string;
52
+ estimated_effort?: string;
53
+ agent_id?: string;
54
+ area_id?: string;
55
+ source_issue_id?: string;
56
+ intent_id?: string;
57
+ orbit_id?: string | null;
58
+ }): Promise<unknown>;
59
+ editTaskContent(taskId: string, data: {
60
+ title?: string;
61
+ description?: string;
62
+ agent_instructions?: string;
63
+ }): Promise<unknown>;
64
+ assignTask(taskId: string, assignment: {
65
+ agent_id: string;
66
+ } | {
67
+ user_id: number;
68
+ }): Promise<unknown>;
69
+ assignItem(objectType: 'task' | 'issue' | 'idea' | 'intent', objectId: string, assignment: {
70
+ agent_id: string;
71
+ } | {
72
+ user_id: number;
73
+ }): Promise<unknown>;
74
+ addTaskDependency(taskId: string, data: {
75
+ target_task_id: string;
76
+ type?: string;
77
+ note?: string;
78
+ }): Promise<unknown>;
79
+ removeTaskDependency(taskId: string, targetTaskId: string, type?: string): Promise<unknown>;
80
+ logWork(taskId: string, type: string, content: string, metadata?: Record<string, unknown>): Promise<unknown>;
81
+ getDocuments(options?: {
82
+ type?: string;
83
+ search?: string;
84
+ areaId?: string;
85
+ }): Promise<unknown>;
86
+ getDocument(idOrSlug: string, mode?: 'inline' | 'file', options?: {
87
+ full?: boolean;
88
+ section?: string;
89
+ }): Promise<unknown>;
90
+ importDocument(data: {
91
+ title: string;
92
+ type: string;
93
+ content: string;
94
+ source_path?: string;
95
+ context?: string;
96
+ workspace_id?: string;
97
+ }): Promise<unknown>;
98
+ updateDocument(idOrSlug: string, content: string, changelog?: string): Promise<unknown>;
99
+ patchDocument(idOrSlug: string, operations: Array<Record<string, unknown>>, baseVersion: number, changelog?: string): Promise<unknown>;
100
+ requestUploadUrl(data: {
101
+ title: string;
102
+ type: string;
103
+ filename?: string;
104
+ source_path?: string;
105
+ context?: string;
106
+ workspace_id?: string;
107
+ }): Promise<{
108
+ data: {
109
+ upload_id: string;
110
+ document_id: string;
111
+ presigned_url: string;
112
+ storage_path: string;
113
+ expires_at: string;
114
+ };
115
+ }>;
116
+ confirmUpload(uploadId: string): Promise<{
117
+ data: {
118
+ document_id: string;
119
+ slug: string;
120
+ imported: boolean;
121
+ };
122
+ }>;
123
+ requestUpdateUploadUrl(idOrSlug: string, changelog?: string): Promise<{
124
+ data: {
125
+ upload_id: string;
126
+ document_id: string;
127
+ version: number;
128
+ presigned_url: string;
129
+ storage_path: string;
130
+ expires_at: string;
131
+ };
132
+ }>;
133
+ confirmUpdateUpload(idOrSlug: string, uploadId: string): Promise<{
134
+ data: {
135
+ document_id: string;
136
+ version: number;
137
+ updated: boolean;
138
+ };
139
+ }>;
140
+ uploadToPresignedUrl(presignedUrl: string, filePath: string, onProgress?: (bytesUploaded: number, totalBytes: number) => void): Promise<void>;
141
+ /**
142
+ * Attempts presigned URL upload for a new document.
143
+ * Returns null if the endpoint is not available (404), signaling caller to fall back.
144
+ */
145
+ presignedImport(filePath: string, data: {
146
+ title: string;
147
+ type: string;
148
+ source_path?: string;
149
+ context?: string;
150
+ workspace_id?: string;
151
+ }, onProgress?: (bytesUploaded: number, totalBytes: number) => void): Promise<{
152
+ data: {
153
+ document_id: string;
154
+ slug: string;
155
+ imported: boolean;
156
+ };
157
+ upload_method: string;
158
+ } | null>;
159
+ /**
160
+ * Attempts presigned URL upload for updating a document.
161
+ * Returns null if the endpoint is not available (404), signaling caller to fall back.
162
+ */
163
+ presignedUpdate(idOrSlug: string, filePath: string, changelog?: string, onProgress?: (bytesUploaded: number, totalBytes: number) => void): Promise<{
164
+ data: {
165
+ document_id: string;
166
+ version: number;
167
+ updated: boolean;
168
+ };
169
+ upload_method: string;
170
+ } | null>;
171
+ shareDocument(documentId: string, areaId: string, agentIds?: string[]): Promise<unknown>;
172
+ unshareDocument(documentId: string, areaId: string): Promise<unknown>;
173
+ setDocumentVisibility(documentId: string, areaId: string, agentIds: string[]): Promise<unknown>;
174
+ getAreas(): Promise<unknown>;
175
+ getAreaMembers(areaId: string): Promise<unknown>;
176
+ getAreaOverview(areaId: string): Promise<unknown>;
177
+ createArea(data: {
178
+ name: string;
179
+ description?: string;
180
+ slug?: string;
181
+ workspace_id?: string;
182
+ }): Promise<unknown>;
183
+ registerIssue(data: {
184
+ title: string;
185
+ description: string;
186
+ severity?: string;
187
+ related_task_id?: string;
188
+ intent_id?: string;
189
+ }): Promise<unknown>;
190
+ listIssues(options?: {
191
+ status?: string;
192
+ severity?: string;
193
+ limit?: string;
194
+ }): Promise<unknown>;
195
+ getIssue(idOrNumber: string): Promise<unknown>;
196
+ getIssueByNumber(issueNumber: string): Promise<unknown>;
197
+ resolveIssueByNumber(issueNumber: string, data: {
198
+ status: string;
199
+ resolution?: string;
200
+ resolved_by_task_id?: string;
201
+ }): Promise<unknown>;
202
+ resolveIssue(idOrNumber: string, data: {
203
+ status: string;
204
+ resolution?: string;
205
+ resolved_by_task_id?: string;
206
+ }): Promise<unknown>;
207
+ updateIssueStatus(idOrNumber: string, data: {
208
+ status: string;
209
+ resolution?: string;
210
+ resolved_task_id?: string;
211
+ }): Promise<unknown>;
212
+ updateIssueStatusByNumber(issueNumber: string, data: {
213
+ status: string;
214
+ resolution?: string;
215
+ resolved_task_id?: string;
216
+ }): Promise<unknown>;
217
+ logVibe(data: {
218
+ content: string;
219
+ type: string;
220
+ title?: string;
221
+ task_id?: string;
222
+ }): Promise<unknown>;
223
+ listVibes(options?: {
224
+ type?: string;
225
+ since?: string;
226
+ limit?: string;
227
+ }): Promise<unknown>;
228
+ getVibe(id: string): Promise<unknown>;
229
+ updateVibe(id: string, data: {
230
+ type?: string;
231
+ title?: string;
232
+ content?: string;
233
+ metadata?: Record<string, unknown>;
234
+ }): Promise<unknown>;
235
+ listIdeas(options?: {
236
+ status?: string;
237
+ priority?: string;
238
+ limit?: string;
239
+ }): Promise<unknown>;
240
+ getIdea(idOrNumber: string): Promise<unknown>;
241
+ getIdeaByNumber(ideaNumber: string): Promise<unknown>;
242
+ createIdea(data: {
243
+ content: string;
244
+ title?: string;
245
+ priority?: string;
246
+ metadata?: Record<string, unknown>;
247
+ }): Promise<unknown>;
248
+ updateIdeaStatus(idOrNumber: string, data: {
249
+ status: string;
250
+ }): Promise<unknown>;
251
+ updateIdeaStatusByNumber(ideaNumber: string, data: {
252
+ status: string;
253
+ }): Promise<unknown>;
254
+ listOrbits(options?: {
255
+ areaId?: string;
256
+ workspaceId?: string;
257
+ }): Promise<unknown>;
258
+ getOrbit(idOrSlug: string): Promise<unknown>;
259
+ createOrbit(data: {
260
+ name: string;
261
+ description?: string;
262
+ color?: string;
263
+ area_ids?: string[];
264
+ }): Promise<unknown>;
265
+ updateOrbit(idOrSlug: string, data: {
266
+ name?: string;
267
+ description?: string;
268
+ status?: string;
269
+ color?: string;
270
+ }): Promise<unknown>;
271
+ getOrbitItems(orbitIdOrSlug: string, options?: {
272
+ type?: string;
273
+ }): Promise<unknown>;
274
+ orbitAttach(orbitIdOrSlug: string, data: {
275
+ object_type: string;
276
+ object_id: string;
277
+ note?: string;
278
+ }): Promise<unknown>;
279
+ orbitDetach(orbitIdOrSlug: string, data: {
280
+ object_type: string;
281
+ object_id: string;
282
+ }): Promise<unknown>;
283
+ addOrbitArea(orbitIdOrSlug: string, areaId: string): Promise<unknown>;
284
+ removeOrbitArea(orbitIdOrSlug: string, areaId: string): Promise<unknown>;
285
+ addOrbitDependency(orbitIdOrSlug: string, data: {
286
+ target_orbit_id: string;
287
+ note?: string;
288
+ }): Promise<unknown>;
289
+ listIntents(options?: {
290
+ status?: string;
291
+ limit?: string;
292
+ }): Promise<unknown>;
293
+ getIntent(idOrNumber: string): Promise<unknown>;
294
+ createIntent(data: {
295
+ name: string;
296
+ outcome?: string;
297
+ status?: string;
298
+ area_id?: string;
299
+ }): Promise<unknown>;
300
+ updateIntent(idOrNumber: string, data: {
301
+ name?: string;
302
+ outcome?: string;
303
+ status?: string;
304
+ }): Promise<unknown>;
305
+ linkIntentItem(idOrNumber: string, data: {
306
+ item_type: string;
307
+ item_id: string;
308
+ }): Promise<unknown>;
309
+ unlinkIntentItem(idOrNumber: string, data: {
310
+ item_type: string;
311
+ item_id: string;
312
+ }): Promise<unknown>;
313
+ setIntentOrbit(idOrNumber: string, orbitId: string | null): Promise<unknown>;
314
+ listMissions(options?: {
315
+ status?: string;
316
+ limit?: string;
317
+ }): Promise<unknown>;
318
+ getMission(idOrNumber: string): Promise<unknown>;
319
+ createMission(data: {
320
+ name: string;
321
+ description?: string;
322
+ outcome?: string;
323
+ end_date?: string;
324
+ area_id?: string;
325
+ }): Promise<unknown>;
326
+ updateMission(idOrNumber: string, data: {
327
+ name?: string;
328
+ description?: string;
329
+ outcome?: string;
330
+ end_date?: string;
331
+ }): Promise<unknown>;
332
+ setMissionStatus(idOrNumber: string, data: {
333
+ status: string;
334
+ move_target_mission_id?: string;
335
+ }): Promise<unknown>;
336
+ linkMissionItem(idOrNumber: string, data: {
337
+ item_type: string;
338
+ item_id: string;
339
+ }): Promise<unknown>;
340
+ unlinkMissionItem(idOrNumber: string, data: {
341
+ item_type: string;
342
+ item_id: string;
343
+ }): Promise<unknown>;
344
+ getWorkPrompt(): Promise<unknown>;
345
+ getImportDocsPrompt(): Promise<unknown>;
346
+ }
347
+ /** Backwards-compatible alias for the pre-adapter class name. */
348
+ export { CloudAdapter as OrbitMapClient };
349
+ export interface CreateClientOptions {
350
+ /**
351
+ * Area already produced by the one area ladder (`resolveWorkspaceContext`). Pass it
352
+ * whenever the caller has it — `createAdapter` always does — so the ladder is walked
353
+ * once per command instead of twice.
354
+ */
355
+ area?: string;
356
+ /** Global config the caller already loaded, to avoid a second read of the same file. */
357
+ config?: OrbitMapConfig;
358
+ }
359
+ /**
360
+ * Build a {@link CloudAdapter} from the resolved credentials and area.
361
+ *
362
+ * There is exactly **one** area ladder — `resolveArea` in `workspace-resolve.ts` (ADR
363
+ * 0002 §2). `resolveAuth` used to carry a second, shorter copy of it that was missing the
364
+ * `link.json` rung, so a cloud project with a `.orbitmap/link.json` got a different area
365
+ * depending on which entry point it came through.
366
+ */
367
+ export declare function createClient(explicitArea?: string, options?: CreateClientOptions): Promise<CloudAdapter>;