@gravity-rail/cli 0.57.0 → 1.0.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.
package/dist/lib.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { GravityRailClient, PhoneCall } from '@gravity-rail/sdk';
2
- import { E as EnvironmentConfig, C as CredentialsManager, a as CLICredentials } from './cli-client-context-cd5f2JKX.js';
3
- export { b as ConciergeAppContextPayload, c as buildCliConciergeAppContext } from './cli-client-context-cd5f2JKX.js';
2
+ import { EnvironmentConfig, CredentialsManager, CLICredentials } from './cli-utils.js';
3
+ export { b as ConciergeAppContextPayload, j as buildCliConciergeAppContext } from './cli-client-context-NJgZhyfd.js';
4
4
 
5
5
  /** Metadata extracted from a paginated API response */
6
6
  interface PaginationMeta {
@@ -749,4 +749,5 @@ declare function organizationsListCommand(ctx: AuthenticatedContext, options?: {
749
749
 
750
750
  declare function whoamiCommand(ctx: AuthenticatedContext): Promise<void>;
751
751
 
752
- export { type ArgDef, AuthRequiredError, type AuthenticatedContext, CLIError, COL, type CommandContext, type CommandDef, type CommandHandlerContext, CommandRegistry, type ConciergeChat, type ConciergeMessage, type DomainDef, type GlobalOptions, type GlobalOptionsResult, type GlobalOptionsSpec, LIST_PAGINATION_ARGS, type OutputFormat, type OutputOptions, PAGINATION_ARGS, PIPED_INPUT_FIRST_BYTE_WAIT_MS, type PaginationMeta, type ParsedArgs, type ParsedGlobalOptions, type PublicGlobalOptions, type TableColumn, WORKSPACE_EXPORT_ZIP, type WorkspaceExportZipInput, authBrowserCommand, authImportDevCommand, authListCommand, authSwitchCommand, chatCommand, commandAwaitsPipedInput, commandNeedsJsonBody, conciergeCommand, conciergeOutboundCommand, confirmAccountPhoneVerify, createAuthenticatedContext, createConciergeChat, createContext, createPublicAuthenticatedContext, createPublicContext, crudCommands, detectOutputFormat, devImportLocalCommand, extractPaginationMeta, fetchAllCursorPages, fetchAllPages, flushStdout, formatPaginationWarning, getConciergeChat, getConciergeChatMessages, getStartedCommand, handleError, hint, importDevProfiles, isCursorPaginatedResponse, isDirectoryTrusted, isLikelySeedPhoneNumber, isListResult, isPagePaginatedResponse, isPaginatedResponse, isWorkspaceExportZip, listConciergeChats, listResult, loginCommand, logoutCommand, manageCommand, organizationsListCommand, originateConciergeCall, originateConciergeSms, outputData, outputSingle, parseArgs, parseGlobalOptions, parsePaginationArgs, profilesFromDevRealms, readCommandJsonInput, readJsonInput, registerPublicDomains, requireAuth, requireDirectoryTrust, requireNumber, requireString, resolveVoicePhoneNumberId, simpleCrudCommands, startAccountPhoneVerify, stderr, topLevelCommands, unwrapItems, waitForOutboundPhoneCallOutcome, whoamiCommand };
752
+ export { AuthRequiredError, CLIError, COL, CommandRegistry, LIST_PAGINATION_ARGS, PAGINATION_ARGS, PIPED_INPUT_FIRST_BYTE_WAIT_MS, WORKSPACE_EXPORT_ZIP, authBrowserCommand, authImportDevCommand, authListCommand, authSwitchCommand, chatCommand, commandAwaitsPipedInput, commandNeedsJsonBody, conciergeCommand, conciergeOutboundCommand, confirmAccountPhoneVerify, createAuthenticatedContext, createConciergeChat, createContext, createPublicAuthenticatedContext, createPublicContext, crudCommands, detectOutputFormat, devImportLocalCommand, extractPaginationMeta, fetchAllCursorPages, fetchAllPages, flushStdout, formatPaginationWarning, getConciergeChat, getConciergeChatMessages, getStartedCommand, handleError, hint, importDevProfiles, isCursorPaginatedResponse, isDirectoryTrusted, isLikelySeedPhoneNumber, isListResult, isPagePaginatedResponse, isPaginatedResponse, isWorkspaceExportZip, listConciergeChats, listResult, loginCommand, logoutCommand, manageCommand, organizationsListCommand, originateConciergeCall, originateConciergeSms, outputData, outputSingle, parseArgs, parseGlobalOptions, parsePaginationArgs, profilesFromDevRealms, readCommandJsonInput, readJsonInput, registerPublicDomains, requireAuth, requireDirectoryTrust, requireNumber, requireString, resolveVoicePhoneNumberId, simpleCrudCommands, startAccountPhoneVerify, stderr, topLevelCommands, unwrapItems, waitForOutboundPhoneCallOutcome, whoamiCommand };
753
+ export type { ArgDef, AuthenticatedContext, CommandContext, CommandDef, CommandHandlerContext, ConciergeChat, ConciergeMessage, DomainDef, GlobalOptions, GlobalOptionsResult, GlobalOptionsSpec, OutputFormat, OutputOptions, PaginationMeta, ParsedArgs, ParsedGlobalOptions, PublicGlobalOptions, TableColumn, WorkspaceExportZipInput };
package/dist/lib.js CHANGED
@@ -33,7 +33,7 @@ import {
33
33
  startAccountPhoneVerify,
34
34
  stderr,
35
35
  unwrapItems
36
- } from "./chunk-TY6HKHOV.js";
36
+ } from "./chunk-3Y4XPU3N.js";
37
37
  import {
38
38
  AGUIClient,
39
39
  formatTimestamp,
@@ -42,7 +42,7 @@ import {
42
42
  isRecord,
43
43
  performOAuthFlow,
44
44
  selectFromList
45
- } from "./chunk-CB4K2FBU.js";
45
+ } from "./chunk-TU6PCZD4.js";
46
46
  import {
47
47
  AuthRequiredError,
48
48
  CLIError,
@@ -2077,7 +2077,7 @@ var chatsDomain = {
2077
2077
  handler: async ({ ctx, workspace, args }) => {
2078
2078
  const chatId = requireNumber(args, "id");
2079
2079
  const authed = requireAuth(ctx);
2080
- const truncate2 = (content) => {
2080
+ const truncate = (content) => {
2081
2081
  const text = typeof content === "string" ? content : JSON.stringify(content);
2082
2082
  return text.slice(0, 200);
2083
2083
  };
@@ -2099,7 +2099,7 @@ var chatsDomain = {
2099
2099
  messages: messages2.map((m) => ({
2100
2100
  id: m.id,
2101
2101
  role: m.role,
2102
- content: truncate2(m.content)
2102
+ content: truncate(m.content)
2103
2103
  }))
2104
2104
  },
2105
2105
  ctx
@@ -12176,6 +12176,7 @@ function bareLabel(ref) {
12176
12176
  return `${ref.kind}:${shortUuid(ref.uuid)}`;
12177
12177
  }
12178
12178
  var MAX_REFS_PER_BATCH = 500;
12179
+ var MAX_WORKSPACES_PER_BATCH = 25;
12179
12180
  function batchResolution(ref, entry) {
12180
12181
  if (entry.status === "resolved") {
12181
12182
  return { label: entry.label || bareLabel(ref), status: "resolved" };
@@ -12270,28 +12271,40 @@ var ActivityRefResolver = class {
12270
12271
  /**
12271
12272
  * One org call per chunk, each carrying whole workspace groups.
12272
12273
  *
12273
- * The server's cap is over the whole request rather than per workspace, and
12274
- * it accepts each workspace at most once per request — so a group larger
12275
- * than the cap is split across requests, and smaller groups ride together
12276
- * until the next one would not fit.
12274
+ * The server caps a grouped request at both 500 refs and 25 workspaces, and
12275
+ * accepts each workspace at most once per request. So a group larger than
12276
+ * the ref cap is split across requests, smaller groups ride together until
12277
+ * the next one would not fit either bound, and no request names a workspace
12278
+ * twice.
12277
12279
  */
12278
12280
  async primeOrg(orgUuid, groups) {
12279
12281
  const chunks = [];
12280
- let current = [];
12281
- let size = 0;
12282
+ let current = /* @__PURE__ */ new Map();
12283
+ let refsInChunk = 0;
12284
+ const flush = () => {
12285
+ if (current.size === 0) return;
12286
+ chunks.push(
12287
+ [...current].map(
12288
+ ([workspaceUuid, refs]) => [workspaceUuid, refs]
12289
+ )
12290
+ );
12291
+ current = /* @__PURE__ */ new Map();
12292
+ refsInChunk = 0;
12293
+ };
12282
12294
  for (const [workspaceUuid, refs] of groups) {
12283
- for (let start = 0; start < refs.length; start += MAX_REFS_PER_BATCH) {
12284
- const slice = refs.slice(start, start + MAX_REFS_PER_BATCH);
12285
- if (size + slice.length > MAX_REFS_PER_BATCH && current.length > 0) {
12286
- chunks.push(current);
12287
- current = [];
12288
- size = 0;
12295
+ for (let start = 0; start < refs.length; ) {
12296
+ if (!current.has(workspaceUuid) && current.size === MAX_WORKSPACES_PER_BATCH) {
12297
+ flush();
12289
12298
  }
12290
- current.push([workspaceUuid, slice]);
12291
- size += slice.length;
12299
+ const room = MAX_REFS_PER_BATCH - refsInChunk;
12300
+ const slice = refs.slice(start, start + room);
12301
+ current.set(workspaceUuid, slice);
12302
+ refsInChunk += slice.length;
12303
+ start += slice.length;
12304
+ if (refsInChunk === MAX_REFS_PER_BATCH) flush();
12292
12305
  }
12293
12306
  }
12294
- if (current.length > 0) chunks.push(current);
12307
+ flush();
12295
12308
  for (const chunk of chunks) {
12296
12309
  const key = `org:${orgUuid}|${chunk.map(
12297
12310
  ([workspaceUuid, refs]) => `${workspaceUuid}:${refs.map((ref) => `${ref.kind}|${ref.uuid}`).sort().join(",")}`
@@ -14152,128 +14165,8 @@ var toolkitsDomain = {
14152
14165
  ]
14153
14166
  };
14154
14167
 
14155
- // src/domains/member-memories.ts
14156
- var COLUMNS22 = [
14157
- { header: "KEY", getValue: (item) => item.key ?? "" },
14158
- { header: "TYPE", getValue: (item) => item.type ?? "basic" },
14159
- { header: "DESCRIPTION", getValue: (item) => truncate(item.description ?? "", 60) },
14160
- { header: "PRIORITY", getValue: (item) => item.priority ?? 0 },
14161
- { header: "UPDATED", getValue: (item) => item.updatedAt ?? item.createdAt ?? "" }
14162
- ];
14163
- function truncate(s, max) {
14164
- return s.length > max ? s.slice(0, max - 1) + "\u2026" : s;
14165
- }
14166
- var memberMemoriesDomain = {
14167
- name: "member-memories",
14168
- description: "Manage member persistent memories",
14169
- commands: [
14170
- {
14171
- path: ["member-memories", "list"],
14172
- description: "List memories for a member",
14173
- requiresWorkspace: true,
14174
- args: [
14175
- { name: "member-id", description: "Member ID", required: true },
14176
- {
14177
- name: "type",
14178
- description: "Memory type filter (basic, preferences, semantic, summaries, episodic, all)"
14179
- },
14180
- { name: "query", description: "Semantic search query (for AgentCore memory types)" }
14181
- ],
14182
- handler: async ({ ctx, workspace, args }) => {
14183
- const memberId = requireNumber(args, "member-id");
14184
- const type = args.type;
14185
- const query = args.query;
14186
- const result2 = await requireAuth(ctx).apiClient.getMemberMemories(workspace, memberId, {
14187
- type,
14188
- query
14189
- });
14190
- outputData(listResult(result2, false), ctx, COLUMNS22);
14191
- }
14192
- },
14193
- {
14194
- path: ["member-memories", "get"],
14195
- description: "Get a single memory by key",
14196
- requiresWorkspace: true,
14197
- args: [
14198
- { name: "member-id", description: "Member ID", required: true },
14199
- { name: "key", description: "Memory key", required: true }
14200
- ],
14201
- handler: async ({ ctx, workspace, args }) => {
14202
- const memberId = requireNumber(args, "member-id");
14203
- const key = requireString(args, "key");
14204
- const result2 = await requireAuth(ctx).apiClient.getMemberMemory(
14205
- workspace,
14206
- memberId,
14207
- key
14208
- );
14209
- outputData(result2, ctx, COLUMNS22);
14210
- }
14211
- },
14212
- {
14213
- path: ["member-memories", "create"],
14214
- description: "Create a memory for a member",
14215
- mutates: true,
14216
- requiresWorkspace: true,
14217
- args: [
14218
- { name: "member-id", description: "Member ID", required: true },
14219
- { name: "key", description: "Memory key", required: true },
14220
- { name: "description", description: "Memory description", required: true },
14221
- { name: "content", description: "Memory content" },
14222
- { name: "priority", description: "Memory priority" }
14223
- ],
14224
- handler: async ({ ctx, workspace, args }) => {
14225
- const memberId = requireNumber(args, "member-id");
14226
- const key = requireString(args, "key");
14227
- const description = requireString(args, "description");
14228
- const content = args.content;
14229
- const priority = args.priority !== void 0 ? Number(args.priority) : void 0;
14230
- const result2 = await requireAuth(ctx).apiClient.createMemberMemory(
14231
- workspace,
14232
- memberId,
14233
- {
14234
- key,
14235
- description,
14236
- ...content !== void 0 && { content },
14237
- ...priority !== void 0 && { priority }
14238
- }
14239
- );
14240
- outputData(result2, ctx, COLUMNS22);
14241
- }
14242
- },
14243
- {
14244
- path: ["member-memories", "delete"],
14245
- description: "Delete a memory for a member",
14246
- mutates: true,
14247
- requiresWorkspace: true,
14248
- args: [
14249
- { name: "member-id", description: "Member ID", required: true },
14250
- { name: "key", description: "Memory key", required: true },
14251
- {
14252
- name: "type",
14253
- // The API refuses preferences and semantic deletes (a Member cannot
14254
- // be shown to own those AgentCore records), so they are not offered.
14255
- description: "Memory type (basic, summaries, episodic)"
14256
- }
14257
- ],
14258
- handler: async ({ ctx, workspace, args }) => {
14259
- const memberId = requireNumber(args, "member-id");
14260
- const key = requireString(args, "key");
14261
- const type = args.type;
14262
- await requireAuth(ctx).apiClient.deleteMemberMemory(
14263
- workspace,
14264
- memberId,
14265
- key,
14266
- type ? { type } : void 0
14267
- );
14268
- process.stdout.write(`Deleted memory ${key}
14269
- `);
14270
- }
14271
- }
14272
- ]
14273
- };
14274
-
14275
14168
  // src/domains/intervention-requests.ts
14276
- var COLUMNS23 = [
14169
+ var COLUMNS22 = [
14277
14170
  COL.id(),
14278
14171
  { header: "KIND", getValue: (item) => item.kind ?? "" },
14279
14172
  { header: "CHAT", getValue: (item) => item.chatId ?? "" },
@@ -14314,14 +14207,14 @@ var interventionRequestsDomain = {
14314
14207
  unroutedOnly: Boolean(args["unrouted"]),
14315
14208
  limit: args["limit"] ? Number(args["limit"]) : void 0
14316
14209
  });
14317
- outputData2(result2, ctx, COLUMNS23);
14210
+ outputData2(result2, ctx, COLUMNS22);
14318
14211
  }
14319
14212
  }
14320
14213
  ]
14321
14214
  };
14322
14215
 
14323
14216
  // src/domains/notification-rules.ts
14324
- var COLUMNS24 = [
14217
+ var COLUMNS23 = [
14325
14218
  COL.id(),
14326
14219
  COL.name(),
14327
14220
  { header: "TYPE", getValue: (item) => item.noticeType ?? "" },
@@ -14338,7 +14231,7 @@ var notificationRulesDomain = {
14338
14231
  createMethod: "createNotificationRule",
14339
14232
  updateMethod: "updateNotificationRule",
14340
14233
  deleteMethod: "deleteNotificationRule",
14341
- columns: COLUMNS24
14234
+ columns: COLUMNS23
14342
14235
  })
14343
14236
  ]
14344
14237
  };
@@ -14398,7 +14291,7 @@ var oauthDomain = {
14398
14291
  };
14399
14292
 
14400
14293
  // src/domains/operator-groups.ts
14401
- var COLUMNS25 = [COL.id(), COL.name(), COL.description()];
14294
+ var COLUMNS24 = [COL.id(), COL.name(), COL.description()];
14402
14295
  var operatorGroupsDomain = {
14403
14296
  name: "operator-groups",
14404
14297
  description: "Manage operator groups",
@@ -14411,7 +14304,7 @@ var operatorGroupsDomain = {
14411
14304
  createMethod: "createOperatorGroup",
14412
14305
  updateMethod: "updateOperatorGroup",
14413
14306
  deleteMethod: "deleteOperatorGroup",
14414
- columns: COLUMNS25
14307
+ columns: COLUMNS24
14415
14308
  }),
14416
14309
  {
14417
14310
  path: ["operator-groups", "add-member"],
@@ -18913,7 +18806,7 @@ function requireCallerRole(args, flag) {
18913
18806
  }
18914
18807
  return role;
18915
18808
  }
18916
- var COLUMNS26 = [
18809
+ var COLUMNS25 = [
18917
18810
  COL.id(),
18918
18811
  { header: "NUMBER", getValue: (item) => item.phoneNumber ?? item.number ?? "" },
18919
18812
  { header: "LABEL", getValue: (item) => item.label ?? item.name ?? "" },
@@ -18941,7 +18834,7 @@ var phoneNumbersDomain = {
18941
18834
  entityName: "phone number",
18942
18835
  listMethod: "getPhoneNumbers",
18943
18836
  archiveMethod: "archivePhoneNumber",
18944
- columns: COLUMNS26
18837
+ columns: COLUMNS25
18945
18838
  }),
18946
18839
  {
18947
18840
  path: ["phone-numbers", "get"],
@@ -18991,7 +18884,7 @@ ${PHONE_NUMBER_FIELD_REFERENCE}`,
18991
18884
  );
18992
18885
  const record2 = asPhoneRecord(result2);
18993
18886
  const warnings = collectPhoneNumberWarnings(record2);
18994
- outputData([record2], ctx, COLUMNS26);
18887
+ outputData([record2], ctx, COLUMNS25);
18995
18888
  if (warnings.length > 0) {
18996
18889
  process.stderr.write("\nWarnings after create:\n");
18997
18890
  for (const w of warnings) {
@@ -19023,7 +18916,7 @@ ${PHONE_NUMBER_FIELD_REFERENCE}`,
19023
18916
  id,
19024
18917
  data
19025
18918
  );
19026
- outputData([result2], ctx, COLUMNS26);
18919
+ outputData([result2], ctx, COLUMNS25);
19027
18920
  } catch (err) {
19028
18921
  return enrichPhoneNumberApiError(err);
19029
18922
  }
@@ -19312,7 +19205,7 @@ ${formatRoutingSimulation(sim, phone)}
19312
19205
  requiresWorkspace: true,
19313
19206
  handler: async ({ ctx, workspace }) => {
19314
19207
  const result2 = await requireAuth(ctx).apiClient.getAvailablePhoneNumbers(workspace);
19315
- outputData(result2, ctx, COLUMNS26);
19208
+ outputData(result2, ctx, COLUMNS25);
19316
19209
  }
19317
19210
  },
19318
19211
  {
@@ -19337,7 +19230,7 @@ ${formatRoutingSimulation(sim, phone)}
19337
19230
  const id = requireNumberFrom(args, "phone-number-id", "id");
19338
19231
  const providerPhoneUuid = requireString(args, "provider-phone-uuid");
19339
19232
  const result2 = await auth.apiClient.linkPhoneNumber(workspace, id, providerPhoneUuid);
19340
- outputData([result2], auth, COLUMNS26);
19233
+ outputData([result2], auth, COLUMNS25);
19341
19234
  }
19342
19235
  },
19343
19236
  {
@@ -19350,7 +19243,7 @@ ${formatRoutingSimulation(sim, phone)}
19350
19243
  workspace,
19351
19244
  data
19352
19245
  );
19353
- outputData([result2], ctx, COLUMNS26);
19246
+ outputData([result2], ctx, COLUMNS25);
19354
19247
  }
19355
19248
  },
19356
19249
  {
@@ -19497,7 +19390,7 @@ function normalizePronunciationUpdatePayload(data) {
19497
19390
  }
19498
19391
 
19499
19392
  // src/domains/pronunciations.ts
19500
- var COLUMNS27 = [
19393
+ var COLUMNS26 = [
19501
19394
  COL.id(),
19502
19395
  { header: "TERM", getValue: (item) => item.term ?? "" },
19503
19396
  { header: "RESPELLING", getValue: (item) => item.respelling ?? "" },
@@ -19519,7 +19412,7 @@ var pronunciationsDomain = {
19519
19412
  const auth = requireAuth(ctx);
19520
19413
  const orgUuid = await resolveOrgUuidFromWorkspace(auth.apiClient, workspace);
19521
19414
  const result2 = await auth.apiClient.getPronunciationEntries(orgUuid);
19522
- outputData(result2, ctx, COLUMNS27);
19415
+ outputData(result2, ctx, COLUMNS26);
19523
19416
  }
19524
19417
  },
19525
19418
  {
@@ -19533,7 +19426,7 @@ var pronunciationsDomain = {
19533
19426
  const orgUuid = await resolveOrgUuidFromWorkspace(auth.apiClient, workspace);
19534
19427
  const payload = normalizePronunciationCreatePayload(data);
19535
19428
  const result2 = await auth.apiClient.createPronunciationEntry(orgUuid, payload);
19536
- outputSingle(result2, ctx, COLUMNS27);
19429
+ outputSingle(result2, ctx, COLUMNS26);
19537
19430
  }
19538
19431
  },
19539
19432
  {
@@ -19551,7 +19444,7 @@ var pronunciationsDomain = {
19551
19444
  requireNumber(args, "id"),
19552
19445
  payload
19553
19446
  );
19554
- outputSingle(result2, ctx, COLUMNS27);
19447
+ outputSingle(result2, ctx, COLUMNS26);
19555
19448
  }
19556
19449
  },
19557
19450
  {
@@ -19575,7 +19468,7 @@ var pronunciationsDomain = {
19575
19468
  requiresWorkspace: true,
19576
19469
  handler: async ({ ctx }) => {
19577
19470
  const result2 = await requireAuth(ctx).apiClient.getMyPronunciations();
19578
- outputData(result2, ctx, COLUMNS27);
19471
+ outputData(result2, ctx, COLUMNS26);
19579
19472
  }
19580
19473
  },
19581
19474
  {
@@ -19586,7 +19479,7 @@ var pronunciationsDomain = {
19586
19479
  handler: async ({ ctx, data }) => {
19587
19480
  const payload = normalizePronunciationCreatePayload(data);
19588
19481
  const result2 = await requireAuth(ctx).apiClient.createMyPronunciation(payload);
19589
- outputSingle(result2, ctx, COLUMNS27);
19482
+ outputSingle(result2, ctx, COLUMNS26);
19590
19483
  }
19591
19484
  },
19592
19485
  {
@@ -19889,7 +19782,7 @@ ${ROUTINE_FIELD_REFERENCE}`,
19889
19782
  };
19890
19783
 
19891
19784
  // src/domains/subscriptions.ts
19892
- var COLUMNS28 = [
19785
+ var COLUMNS27 = [
19893
19786
  COL.id(),
19894
19787
  COL.status(),
19895
19788
  { header: "PLAN", getValue: (item) => item.planName ?? item.plan ?? "" },
@@ -19905,7 +19798,7 @@ var subscriptionsDomain = {
19905
19798
  requiresWorkspace: false,
19906
19799
  handler: async ({ ctx }) => {
19907
19800
  const result2 = await requireAuth(ctx).apiClient.getSubscriptions();
19908
- outputData(result2, ctx, COLUMNS28);
19801
+ outputData(result2, ctx, COLUMNS27);
19909
19802
  }
19910
19803
  },
19911
19804
  {
@@ -19914,7 +19807,7 @@ var subscriptionsDomain = {
19914
19807
  requiresWorkspace: true,
19915
19808
  handler: async ({ ctx, workspace }) => {
19916
19809
  const result2 = await requireAuth(ctx).apiClient.getWorkspaceSubscriptions(workspace);
19917
- outputData(result2, ctx, COLUMNS28);
19810
+ outputData(result2, ctx, COLUMNS27);
19918
19811
  }
19919
19812
  },
19920
19813
  {
@@ -19927,7 +19820,7 @@ var subscriptionsDomain = {
19927
19820
  const result2 = await requireAuth(ctx).apiClient.cancelSubscription(
19928
19821
  requireNumber(args, "id")
19929
19822
  );
19930
- outputSingle(result2, ctx, COLUMNS28);
19823
+ outputSingle(result2, ctx, COLUMNS27);
19931
19824
  }
19932
19825
  },
19933
19826
  {
@@ -19939,7 +19832,7 @@ var subscriptionsDomain = {
19939
19832
  const result2 = await requireAuth(ctx).apiClient.reactivateSubscription(
19940
19833
  requireNumber(args, "id")
19941
19834
  );
19942
- outputSingle(result2, ctx, COLUMNS28);
19835
+ outputSingle(result2, ctx, COLUMNS27);
19943
19836
  }
19944
19837
  },
19945
19838
  {
@@ -19953,7 +19846,7 @@ var subscriptionsDomain = {
19953
19846
  requireNumber(args, "id"),
19954
19847
  data
19955
19848
  );
19956
- outputSingle(result2, ctx, COLUMNS28);
19849
+ outputSingle(result2, ctx, COLUMNS27);
19957
19850
  }
19958
19851
  }
19959
19852
  ]
@@ -20207,7 +20100,7 @@ var supportDomain = {
20207
20100
  };
20208
20101
 
20209
20102
  // src/domains/supervisors.ts
20210
- var COLUMNS29 = [
20103
+ var COLUMNS28 = [
20211
20104
  COL.id(),
20212
20105
  COL.name(),
20213
20106
  { header: "TYPE", getValue: (item) => item.type ?? "" },
@@ -20225,7 +20118,7 @@ var supervisorsDomain = {
20225
20118
  createMethod: "createSupervisor",
20226
20119
  updateMethod: "updateSupervisor",
20227
20120
  deleteMethod: "deleteSupervisor",
20228
- columns: COLUMNS29
20121
+ columns: COLUMNS28
20229
20122
  })
20230
20123
  ]
20231
20124
  };
@@ -20626,7 +20519,7 @@ var widgetDomainsDomain = {
20626
20519
  };
20627
20520
 
20628
20521
  // src/domains/integrations/app-connections.ts
20629
- var COLUMNS30 = [
20522
+ var COLUMNS29 = [
20630
20523
  COL.id(),
20631
20524
  COL.name(),
20632
20525
  { header: "TYPE", getValue: (item) => item.type ?? "" },
@@ -20667,7 +20560,7 @@ var appConnectionsDomain = {
20667
20560
  requiresWorkspace: true,
20668
20561
  handler: async ({ ctx, workspace }) => {
20669
20562
  const result2 = await requireAuth(ctx).apiClient.listAvailableAppConnections(workspace);
20670
- outputData(result2, ctx, COLUMNS30);
20563
+ outputData(result2, ctx, COLUMNS29);
20671
20564
  }
20672
20565
  },
20673
20566
  {
@@ -20676,7 +20569,7 @@ var appConnectionsDomain = {
20676
20569
  requiresWorkspace: true,
20677
20570
  handler: async ({ ctx, workspace }) => {
20678
20571
  const result2 = await requireAuth(ctx).apiClient.listAppConnections(workspace);
20679
- outputData(result2, ctx, COLUMNS30);
20572
+ outputData(result2, ctx, COLUMNS29);
20680
20573
  }
20681
20574
  },
20682
20575
  {
@@ -20700,7 +20593,7 @@ var appConnectionsDomain = {
20700
20593
  const result2 = await requireAuth(ctx).apiClient.enablePlatformApp(workspace, {
20701
20594
  slug: requireString(args, "slug")
20702
20595
  });
20703
- outputSingle(result2, ctx, COLUMNS30);
20596
+ outputSingle(result2, ctx, COLUMNS29);
20704
20597
  }
20705
20598
  },
20706
20599
  {
@@ -20713,7 +20606,7 @@ var appConnectionsDomain = {
20713
20606
  workspace,
20714
20607
  requireString(args, "id")
20715
20608
  );
20716
- outputSingle(result2, ctx, COLUMNS30);
20609
+ outputSingle(result2, ctx, COLUMNS29);
20717
20610
  }
20718
20611
  },
20719
20612
  {
@@ -20728,7 +20621,7 @@ var appConnectionsDomain = {
20728
20621
  requireString(args, "id"),
20729
20622
  data
20730
20623
  );
20731
- outputSingle(result2, ctx, COLUMNS30);
20624
+ outputSingle(result2, ctx, COLUMNS29);
20732
20625
  }
20733
20626
  },
20734
20627
  {
@@ -21070,7 +20963,7 @@ var confluenceDomain = {
21070
20963
  };
21071
20964
 
21072
20965
  // src/domains/integrations/discord-bots.ts
21073
- var COLUMNS31 = [COL.id(), COL.name(), COL.status()];
20966
+ var COLUMNS30 = [COL.id(), COL.name(), COL.status()];
21074
20967
  var discordBotsDomain = {
21075
20968
  name: "discord-bots",
21076
20969
  description: "Manage Discord bot integrations",
@@ -21083,7 +20976,7 @@ var discordBotsDomain = {
21083
20976
  createMethod: "createDiscordBot",
21084
20977
  updateMethod: "updateDiscordBot",
21085
20978
  deleteMethod: "deleteDiscordBot",
21086
- columns: COLUMNS31,
20979
+ columns: COLUMNS30,
21087
20980
  paginationSupport: "full"
21088
20981
  }),
21089
20982
  {
@@ -21143,7 +21036,7 @@ var discordBotsDomain = {
21143
21036
  };
21144
21037
 
21145
21038
  // src/domains/integrations/fhir-connections.ts
21146
- var COLUMNS32 = [
21039
+ var COLUMNS31 = [
21147
21040
  COL.id(),
21148
21041
  COL.name(),
21149
21042
  { header: "URL", getValue: (item) => item.baseUrl ?? "" },
@@ -21194,7 +21087,7 @@ var fhirConnectionsDomain = {
21194
21087
  createMethod: "createFhirConnection",
21195
21088
  updateMethod: "updateFhirConnection",
21196
21089
  deleteMethod: "deleteFhirConnection",
21197
- columns: COLUMNS32,
21090
+ columns: COLUMNS31,
21198
21091
  paginationSupport: "full"
21199
21092
  }),
21200
21093
  {
@@ -21244,7 +21137,7 @@ var fhirConnectionsDomain = {
21244
21137
  };
21245
21138
 
21246
21139
  // src/domains/integrations/patientsync.ts
21247
- var COLUMNS33 = [
21140
+ var COLUMNS32 = [
21248
21141
  { header: "CONFIGURED", getValue: (i) => String(i.configured ?? false) },
21249
21142
  { header: "ENABLED", getValue: (i) => String(i.enabled ?? false) },
21250
21143
  { header: "HAS_KEY", getValue: (i) => String(i.hasApiKey ?? false) },
@@ -21273,7 +21166,7 @@ var patientSyncDomain = {
21273
21166
  workspace,
21274
21167
  data
21275
21168
  );
21276
- outputSingle(result2, ctx, COLUMNS33);
21169
+ outputSingle(result2, ctx, COLUMNS32);
21277
21170
  }
21278
21171
  },
21279
21172
  {
@@ -21282,7 +21175,7 @@ var patientSyncDomain = {
21282
21175
  requiresWorkspace: true,
21283
21176
  handler: async ({ ctx, workspace }) => {
21284
21177
  const result2 = await requireAuth(ctx).apiClient.getPatientSyncStatus(workspace);
21285
- outputSingle(result2, ctx, COLUMNS33);
21178
+ outputSingle(result2, ctx, COLUMNS32);
21286
21179
  }
21287
21180
  },
21288
21181
  {
@@ -22866,7 +22759,7 @@ var salesforceDomain = {
22866
22759
  };
22867
22760
 
22868
22761
  // src/domains/integrations/slack-apps.ts
22869
- var COLUMNS34 = [COL.id(), COL.name(), COL.status()];
22762
+ var COLUMNS33 = [COL.id(), COL.name(), COL.status()];
22870
22763
  function addSlackUrls(data, apiUrl, workspaceUuid) {
22871
22764
  const base = `${apiUrl}/api/v2/w/${workspaceUuid}/app-connections/slack`;
22872
22765
  return {
@@ -22889,7 +22782,7 @@ var slackAppsDomain = {
22889
22782
  entityName: "Slack app",
22890
22783
  listMethod: "getSlackApps",
22891
22784
  deleteMethod: "deleteSlackApp",
22892
- columns: COLUMNS34,
22785
+ columns: COLUMNS33,
22893
22786
  paginationSupport: "full"
22894
22787
  }),
22895
22788
  {
@@ -22975,7 +22868,7 @@ var slackAppsDomain = {
22975
22868
  };
22976
22869
 
22977
22870
  // src/domains/integrations/teams-apps.ts
22978
- var COLUMNS35 = [COL.id(), COL.name(), COL.status()];
22871
+ var COLUMNS34 = [COL.id(), COL.name(), COL.status()];
22979
22872
  function addTeamsUrls(data, apiUrl, workspaceUuid) {
22980
22873
  const base = `${apiUrl}/api/v2/w/${workspaceUuid}/app-connections/teams`;
22981
22874
  return {
@@ -22996,7 +22889,7 @@ var teamsAppsDomain = {
22996
22889
  entityName: "Teams app",
22997
22890
  listMethod: "getTeamsApps",
22998
22891
  deleteMethod: "deleteTeamsApp",
22999
- columns: COLUMNS35,
22892
+ columns: COLUMNS34,
23000
22893
  paginationSupport: "full"
23001
22894
  }),
23002
22895
  {
@@ -23136,7 +23029,6 @@ function registerPublicDomains(registry) {
23136
23029
  registry.register(oauthDomain);
23137
23030
  registry.register(conciergeDomain);
23138
23031
  registry.register(docsDomain);
23139
- registry.register(memberMemoriesDomain);
23140
23032
  registry.register(syncDomain);
23141
23033
  registry.register(widgetDomainsDomain);
23142
23034
  registry.register(confluenceDomain);
@@ -27354,7 +27246,7 @@ async function authImportDevCommand(ctx, args) {
27354
27246
  }
27355
27247
 
27356
27248
  // src/commands/organizations.ts
27357
- var COLUMNS36 = [
27249
+ var COLUMNS35 = [
27358
27250
  { header: "NAME", getValue: (o) => o.organizationName || "", maxWidth: 35 },
27359
27251
  { header: "SLUG", getValue: (o) => o.organizationSlug || "", maxWidth: 25 },
27360
27252
  { header: "UUID", getValue: (o) => o.organizationUuid },
@@ -27362,7 +27254,7 @@ var COLUMNS36 = [
27362
27254
  ];
27363
27255
  async function organizationsListCommand(ctx, options = {}) {
27364
27256
  const organizations = await ctx.apiClient.getMyOrganizations(options);
27365
- outputData(organizations, ctx, COLUMNS36);
27257
+ outputData(organizations, ctx, COLUMNS35);
27366
27258
  }
27367
27259
 
27368
27260
  // src/commands/whoami.ts
@@ -27597,7 +27489,7 @@ var topLevelCommands = [
27597
27489
  mutates: true,
27598
27490
  args: [{ name: "phone", description: "E.164 phone number (optional; prompts if omitted)" }],
27599
27491
  handler: async (hctx) => {
27600
- const { accountVerifyPhoneCommand } = await import("./account-verify-phone-Q4FKI4PX.js");
27492
+ const { accountVerifyPhoneCommand } = await import("./account-verify-phone-EVQMBXZZ.js");
27601
27493
  await accountVerifyPhoneCommand(hctx);
27602
27494
  }
27603
27495
  },