@gravity-rail/cli 0.7.2 → 0.8.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/README.md +27 -0
- package/dist/account-verify-phone-TC73QIIE.js +41 -0
- package/dist/account-verify-phone-TC73QIIE.js.map +1 -0
- package/dist/{chunk-OPWCTOHP.js → chunk-7VZ4JLAJ.js} +11 -1
- package/dist/chunk-7VZ4JLAJ.js.map +1 -0
- package/dist/chunk-L5YCPUAM.js +761 -0
- package/dist/chunk-L5YCPUAM.js.map +1 -0
- package/dist/{errors-SMY7LZJB.js → errors-VK4QO3QZ.js} +2 -2
- package/dist/gr.js +2699 -668
- package/dist/gr.js.map +1 -1
- package/dist/lib.d.ts +5 -2
- package/dist/lib.js +1869 -1290
- package/dist/lib.js.map +1 -1
- package/package.json +5 -8
- package/dist/chunk-OPWCTOHP.js.map +0 -1
- package/dist/register-special-commands.d.ts +0 -4
- package/dist/register-special-commands.js +0 -3856
- package/dist/register-special-commands.js.map +0 -1
- /package/dist/{errors-SMY7LZJB.js.map → errors-VK4QO3QZ.js.map} +0 -0
package/dist/lib.d.ts
CHANGED
|
@@ -388,6 +388,7 @@ declare class CommandRegistry {
|
|
|
388
388
|
private domains;
|
|
389
389
|
register(domain: DomainDef): void;
|
|
390
390
|
registerCommand(cmd: CommandDef): void;
|
|
391
|
+
registerCommands(commands: readonly CommandDef[]): void;
|
|
391
392
|
/** Resolve command words to a CommandDef using longest-match.
|
|
392
393
|
* Supports {param} path segments that match any word and extract as pathParams. */
|
|
393
394
|
resolve(words: string[]): {
|
|
@@ -414,6 +415,8 @@ declare class CommandRegistry {
|
|
|
414
415
|
*/
|
|
415
416
|
declare function registerPublicDomains(registry: CommandRegistry): void;
|
|
416
417
|
|
|
418
|
+
declare const topLevelCommands: CommandDef[];
|
|
419
|
+
|
|
417
420
|
/**
|
|
418
421
|
* Concierge API client — direct HTTP calls to the global concierge endpoints.
|
|
419
422
|
*
|
|
@@ -449,7 +452,7 @@ interface ConciergeSmsResult {
|
|
|
449
452
|
messageSid: string;
|
|
450
453
|
conversationId: string;
|
|
451
454
|
}
|
|
452
|
-
declare function originateConciergeCall(ctx: AuthenticatedContext, kind?: string): Promise<ConciergeCallResult>;
|
|
455
|
+
declare function originateConciergeCall(ctx: AuthenticatedContext, kind?: string, outboundMessage?: string, clientSurface?: string): Promise<ConciergeCallResult>;
|
|
453
456
|
declare function originateConciergeSms(ctx: AuthenticatedContext, kind?: string): Promise<ConciergeSmsResult>;
|
|
454
457
|
declare function startAccountPhoneVerify(ctx: AuthenticatedContext, phone: string): Promise<void>;
|
|
455
458
|
declare function confirmAccountPhoneVerify(ctx: AuthenticatedContext, code: string): Promise<void>;
|
|
@@ -507,4 +510,4 @@ declare function organizationsListCommand(ctx: AuthenticatedContext): Promise<vo
|
|
|
507
510
|
|
|
508
511
|
declare function whoamiCommand(ctx: AuthenticatedContext): Promise<void>;
|
|
509
512
|
|
|
510
|
-
export { type ArgDef, AuthRequiredError, type AuthenticatedContext, CLIError, COL, type CommandContext, type CommandDef, type CommandHandlerContext, CommandRegistry, type ConciergeChat, type ConciergeMessage, type DomainDef, type GlobalOptions, LIST_PAGINATION_ARGS, type OutputFormat, type OutputOptions, PAGINATION_ARGS, type PaginationMeta, type ParsedArgs, type PublicGlobalOptions, type TableColumn, authBrowserCommand, chatCommand, commandNeedsJsonBody, conciergeCommand, conciergeOutboundCommand, confirmAccountPhoneVerify, createAuthenticatedContext, createConciergeChat, createContext, createPublicAuthenticatedContext, createPublicContext, crudCommands, detectOutputFormat, devImportLocalCommand, extractPaginationMeta, fetchAllCursorPages, fetchAllPages, formatPaginationWarning, getConciergeChat, getConciergeChatMessages, getStartedCommand, handleError, isCursorPaginatedResponse, isDirectoryTrusted, isLikelySeedPhoneNumber, isListResult, isPagePaginatedResponse, isPaginatedResponse, listConciergeChats, listResult, loginCommand, logoutCommand, manageCommand, organizationsListCommand, originateConciergeCall, originateConciergeSms, outputData, outputSingle, parseArgs, parsePaginationArgs, readJsonInput, registerPublicDomains, requireAuth, requireDirectoryTrust, requireNumber, requireString, resolveVoicePhoneNumberId, simpleCrudCommands, startAccountPhoneVerify, stderr, unwrapItems, waitForOutboundPhoneCallOutcome, whoamiCommand };
|
|
513
|
+
export { type ArgDef, AuthRequiredError, type AuthenticatedContext, CLIError, COL, type CommandContext, type CommandDef, type CommandHandlerContext, CommandRegistry, type ConciergeChat, type ConciergeMessage, type DomainDef, type GlobalOptions, LIST_PAGINATION_ARGS, type OutputFormat, type OutputOptions, PAGINATION_ARGS, type PaginationMeta, type ParsedArgs, type PublicGlobalOptions, type TableColumn, authBrowserCommand, chatCommand, commandNeedsJsonBody, conciergeCommand, conciergeOutboundCommand, confirmAccountPhoneVerify, createAuthenticatedContext, createConciergeChat, createContext, createPublicAuthenticatedContext, createPublicContext, crudCommands, detectOutputFormat, devImportLocalCommand, extractPaginationMeta, fetchAllCursorPages, fetchAllPages, formatPaginationWarning, getConciergeChat, getConciergeChatMessages, getStartedCommand, handleError, isCursorPaginatedResponse, isDirectoryTrusted, isLikelySeedPhoneNumber, isListResult, isPagePaginatedResponse, isPaginatedResponse, listConciergeChats, listResult, loginCommand, logoutCommand, manageCommand, organizationsListCommand, originateConciergeCall, originateConciergeSms, outputData, outputSingle, parseArgs, parsePaginationArgs, readJsonInput, registerPublicDomains, requireAuth, requireDirectoryTrust, requireNumber, requireString, resolveVoicePhoneNumberId, simpleCrudCommands, startAccountPhoneVerify, stderr, topLevelCommands, unwrapItems, waitForOutboundPhoneCallOutcome, whoamiCommand };
|