@revfleet/hscli 0.9.7 → 0.10.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 (87) hide show
  1. package/CHANGELOG.md +106 -0
  2. package/README.md +117 -10
  3. package/SECURITY.md +14 -3
  4. package/dist/cli.js +14 -1
  5. package/dist/cli.js.map +1 -1
  6. package/dist/commands/auth/index.d.ts +14 -0
  7. package/dist/commands/auth/index.js +208 -39
  8. package/dist/commands/auth/index.js.map +1 -1
  9. package/dist/commands/crm/describe.js +3 -3
  10. package/dist/commands/crm/describe.js.map +1 -1
  11. package/dist/commands/crm/index.js +2 -0
  12. package/dist/commands/crm/index.js.map +1 -1
  13. package/dist/commands/crm/record-layouts.d.ts +3 -0
  14. package/dist/commands/crm/record-layouts.js +246 -0
  15. package/dist/commands/crm/record-layouts.js.map +1 -0
  16. package/dist/commands/doctor/index.js +5 -5
  17. package/dist/commands/doctor/index.js.map +1 -1
  18. package/dist/commands/guide/index.js +1 -1
  19. package/dist/commands/guide/index.js.map +1 -1
  20. package/dist/commands/internal/index.js +20 -6
  21. package/dist/commands/internal/index.js.map +1 -1
  22. package/dist/commands/internal-session.d.ts +4 -0
  23. package/dist/commands/internal-session.js +27 -0
  24. package/dist/commands/internal-session.js.map +1 -1
  25. package/dist/commands/lists/index.js +18 -0
  26. package/dist/commands/lists/index.js.map +1 -1
  27. package/dist/commands/marketing/index.js +5 -5
  28. package/dist/commands/marketing/index.js.map +1 -1
  29. package/dist/commands/mcp.d.ts +2 -1
  30. package/dist/commands/mcp.js +49 -5
  31. package/dist/commands/mcp.js.map +1 -1
  32. package/dist/commands/settings/index.js +20 -0
  33. package/dist/commands/settings/index.js.map +1 -1
  34. package/dist/commands/ui/index.js +2 -2
  35. package/dist/commands/ui/index.js.map +1 -1
  36. package/dist/commands/workflows/index.js +2 -0
  37. package/dist/commands/workflows/index.js.map +1 -1
  38. package/dist/commands/workflows/internal.d.ts +3 -0
  39. package/dist/commands/workflows/internal.js +332 -0
  40. package/dist/commands/workflows/internal.js.map +1 -0
  41. package/dist/core/auth.d.ts +18 -2
  42. package/dist/core/auth.js +96 -3
  43. package/dist/core/auth.js.map +1 -1
  44. package/dist/core/capabilities.d.ts +8 -0
  45. package/dist/core/capabilities.js +31 -3
  46. package/dist/core/capabilities.js.map +1 -1
  47. package/dist/core/http.d.ts +6 -0
  48. package/dist/core/http.js +14 -3
  49. package/dist/core/http.js.map +1 -1
  50. package/dist/core/output.js +20 -4
  51. package/dist/core/output.js.map +1 -1
  52. package/dist/core/permissions.js +15 -1
  53. package/dist/core/permissions.js.map +1 -1
  54. package/dist/core/schema-cache.js +6 -2
  55. package/dist/core/schema-cache.js.map +1 -1
  56. package/dist/core/vault.js +10 -5
  57. package/dist/core/vault.js.map +1 -1
  58. package/dist/mcp/compat-hubspot.d.ts +5 -14
  59. package/dist/mcp/compat-hubspot.js +17 -14
  60. package/dist/mcp/compat-hubspot.js.map +1 -1
  61. package/dist/mcp/diagnostics.d.ts +157 -0
  62. package/dist/mcp/diagnostics.js +199 -0
  63. package/dist/mcp/diagnostics.js.map +1 -0
  64. package/dist/mcp/ecosystem.d.ts +107 -0
  65. package/dist/mcp/ecosystem.js +127 -0
  66. package/dist/mcp/ecosystem.js.map +1 -0
  67. package/dist/mcp/ext-tools.d.ts +4 -3
  68. package/dist/mcp/ext-tools.js +20 -8
  69. package/dist/mcp/ext-tools.js.map +1 -1
  70. package/dist/mcp/profiles.d.ts +9 -0
  71. package/dist/mcp/profiles.js +38 -4
  72. package/dist/mcp/profiles.js.map +1 -1
  73. package/dist/mcp/server.d.ts +118 -1
  74. package/dist/mcp/server.js +64 -7
  75. package/dist/mcp/server.js.map +1 -1
  76. package/docs/CAPABILITY_LIBRARY.md +1 -1
  77. package/docs/COMMAND_TREE.md +8 -4
  78. package/docs/COMPARISON.md +14 -6
  79. package/docs/COOKBOOK.md +51 -4
  80. package/docs/INTERNAL-ENDPOINTS-DISCOVERY.md +59 -0
  81. package/docs/INTERNAL-ENDPOINTS.md +13 -0
  82. package/docs/INTERNAL_ENDPOINTS.md +22 -4
  83. package/docs/MCP.md +48 -6
  84. package/docs/MCP_TOOL_CATALOG.md +188 -186
  85. package/docs/OPERATIONAL_PLAYBOOKS.md +9 -8
  86. package/docs/PORTAL_SETUP.md +2 -2
  87. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,111 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.10.0 - 2026-07-31
4
+
5
+ ### Added
6
+
7
+ - Added `hscli mcp setup`, `mcp matrix`, and `mcp doctor --all` for a
8
+ secret-free, plan-only three-server journey across HubSpot Remote MCP,
9
+ HubSpot Developer MCP, and hscli's operator MCP.
10
+ - Added object-level MCP output schemas to the documented 11-tool HubSpot
11
+ name-compatible subset.
12
+
13
+ - Added dedicated browser-session operator reads for workflow current state,
14
+ full revision history, rolling canvas errors, CRM record layouts/cards, and
15
+ complete internal list filter trees. Every result reports its source and
16
+ completeness instead of presenting internal evidence as public-API truth.
17
+ - Added `settings users seat-history <userId>` to read the public app-user CRM
18
+ object (`0-115`) with `hs_assigned_seats` property history.
19
+ - Added a guarded, CLI-only `crm record-layouts update-card` command. It changes
20
+ only the ordered `configuration.propertyNames` list after reading the live
21
+ card, then snapshots, performs one non-retried full-card PUT, and verifies the
22
+ saved order under the same portal/ticket/action-contract gates as workflow
23
+ replacement.
24
+ - Added an experimental, CLI-only `workflows update-internal` adapter for
25
+ `POST /api/automationplatform/v1/hybrid/batch`. It is plan-only by default
26
+ and requires a disabled single flow, same-session portal proof, validation,
27
+ a private rollback snapshot, `version = live + 1`, no-retry transport,
28
+ post-save current/revision verification, `--force`, change ticket, sealed
29
+ action contract, explicit experimental opt-in, and an ID-bound high-risk
30
+ acknowledgement.
31
+
32
+ - Added `hscli mcp manifest` and `hscli mcp doctor` plus equivalent local MCP
33
+ tools. They report the packaged server version, protocol/transport support,
34
+ tool-surface coverage, profile isolation, portal pinning, policy, and cached
35
+ capability state without returning credentials.
36
+ - Added stable MCP output schemas for the manifest and doctor results, plus a
37
+ real client/server transport contract test.
38
+ - Added explicit `private-app`, `service-key`, and `personal-access-key` login
39
+ modes. Credential type is never guessed from a token prefix.
40
+ - Personal Access Keys are exchanged through HubSpot local development auth,
41
+ refreshed five minutes before expiry, and pinned to the stored portal ID.
42
+ - `auth whoami` now reports Service Key profiles as REST-only and shows whether
43
+ a refreshable credential is configured without exposing it.
44
+
45
+ ### Security
46
+
47
+ - MCP live writes now require an operator-controlled server startup gate
48
+ (`--allow-writes`) in addition to tool-level `force: true`. Servers lock to
49
+ the startup profile unless `--allow-cross-profile` is explicitly selected.
50
+ - Corrected read-only safety metadata for statistics, submission, membership,
51
+ signed-URL, enrollment-list, import-error, and local module-compose tools.
52
+
53
+ ### Fixed
54
+
55
+ - Replaced the known-404 marketing email statistics route with the working
56
+ aggregate campaign endpoint for both CLI and MCP.
57
+ - Replaced outdated “drop-in 1:1” Remote MCP claims with the precise
58
+ name-compatible-subset contract and its authentication/transport caveats.
59
+
60
+ - Internal captures and workflow snapshots now enforce owner-only `0700`
61
+ directories and `0600` files.
62
+ - The generic read-only internal capture catalogue explicitly rejects
63
+ `/api/automationplatform/v1/hybrid/batch`, even if an endpoint is incorrectly
64
+ labeled as a read-like POST. The internal workflow write is not exposed to
65
+ MCP.
66
+ - Added per-request `retryMode: "never"` so non-idempotent internal operations
67
+ cannot be replayed automatically after 429, 5xx, timeout, or network errors;
68
+ ambiguous outcomes require reconciliation against fresh server state.
69
+
70
+ - Every MCP tool now publishes conservative `readOnly`, `destructive`,
71
+ `idempotent`, and `openWorld` annotations. Mixed-operation and unknown tools
72
+ fail closed as write/destructive; unenrollment, raw API, and compatibility
73
+ management tools can no longer be mislabeled as reads.
74
+ - Personal Access Keys, Service Keys, and generic credential fields are now
75
+ included in structured output and error redaction.
76
+ - Added regression coverage for concurrent PAK refresh, portal mismatch refusal,
77
+ static Service Key handling, input conflicts, and secret-free CLI output.
78
+ - Auth vault writes now enforce owner-only `0600` permissions, including after
79
+ encrypt/decrypt transitions. Failed identity verification cannot overwrite an
80
+ existing profile, and explicit verification bypasses do not inherit stale
81
+ portal metadata. Profiles created with that bypass are blocked from writes
82
+ until portal identity is verified. Credential replacement and refresh now
83
+ preserve the same portal pin across static keys, Personal Access Keys, and
84
+ OAuth profiles.
85
+
86
+ ## 0.9.8 - 2026-07-14
87
+
88
+ ### Changed
89
+
90
+ - `hscli auth login` now opens a hidden terminal prompt when used interactively
91
+ without `--token` or `--token-stdin`. Private App tokens no longer need to
92
+ appear in shell history or terminal output during normal setup.
93
+ - `hscli --help` now starts with the six operator workflows that matter most:
94
+ home, baseline, setup, migration, backup, and MCP. The full command
95
+ inventory remains available immediately below it.
96
+
97
+ ### Fixed
98
+
99
+ - Guided home and `/setup` recommendations now use the secure interactive
100
+ login flow. CI and other non-interactive environments continue to use
101
+ `--token-stdin` explicitly.
102
+
103
+ ### Tests / Docs
104
+
105
+ - Added coverage for secure token prompt resolution and curated root help.
106
+ - Updated quick-start, command-tree, cookbook, and portal-setup guidance to
107
+ describe the interactive flow and the CI-only stdin alternative.
108
+
3
109
  ## 0.9.7 - 2026-07-13
4
110
 
5
111
  ### Fixed
package/README.md CHANGED
@@ -43,7 +43,7 @@ migration, and setup work.
43
43
 
44
44
  ```bash
45
45
  npm install -g @revfleet/hscli
46
- printf '%s' 'pat-eu1-XXXX-XXXX-XXXX' | hscli auth login --profile client-readonly --token-stdin
46
+ hscli auth login --profile client-readonly
47
47
  hscli auth set-mode client-readonly read-only
48
48
  hscli --profile client-readonly
49
49
  ```
@@ -52,12 +52,50 @@ Running `hscli` with no command opens the guided operator home. It shows the
52
52
  active portal, safety posture, the latest baseline, and one recommended next
53
53
  step. Use `hscli --help` when you want the full command reference.
54
54
 
55
- Create a Private App token at **Settings Integrations Private Apps → Create private app** in your HubSpot portal.
55
+ hscli supports four explicit credential models. `auth login` handles the first
56
+ three; OAuth uses the dedicated `oauth-exchange` flow:
57
+
58
+ - `private-app` (default): legacy portal-scoped Private App token.
59
+ - `service-key`: account-level, scoped REST credential for system-to-system
60
+ operations. It is used directly as Bearer auth and is reported as REST-only.
61
+ - `personal-access-key`: user-and-account-specific local-development key. hscli
62
+ exchanges it for a short-lived access token and refreshes it five minutes
63
+ before expiry.
64
+ - `oauth`: developer-app installation managed by `oauth-exchange` and automatic
65
+ refresh.
66
+
67
+ Credential type is never inferred from a `pat-*` prefix because Service Keys and
68
+ Private App tokens can look alike. In an interactive terminal, `auth login`
69
+ opens a hidden terminal prompt, so the credential never appears in shell history or
70
+ terminal output:
71
+
72
+ ```bash
73
+ hscli auth login --auth-type private-app --profile client-readonly
74
+ hscli auth login --auth-type service-key --profile automation
75
+ hscli auth login --auth-type personal-access-key --portal-id 123456 --profile local-dev
76
+ hscli --profile local-dev auth whoami
77
+ ```
78
+
79
+ In CI or a non-interactive shell, pass the selected credential through stdin:
80
+
81
+ ```bash
82
+ printf '%s' "$HUBSPOT_SERVICE_KEY" | hscli auth login \
83
+ --auth-type service-key --profile automation --token-stdin
84
+ ```
85
+
86
+ Profiles are stored owner-only under `~/.revfleet` (`0700` directory, `0600`
87
+ file) and can be encrypted with `hscli auth encrypt`. A PAK profile stores the
88
+ PAK because it is required to mint replacement access tokens; encrypt the vault
89
+ on shared or higher-risk workstations.
90
+
91
+ `--no-verify` is an explicit bootstrap escape hatch for static credentials. The
92
+ resulting profile can read, but hscli blocks writes until a normal verified
93
+ login records the portal identity.
56
94
 
57
95
  For EU/AP/NA hublet routing, hscli auto-detects from token/account metadata. You can also pin it explicitly:
58
96
 
59
97
  ```bash
60
- printf '%s' "$HUBSPOT_TOKEN" | hscli auth login --profile live --token-stdin --hublet eu1
98
+ hscli auth login --profile live --hublet eu1
61
99
  hscli auth set-hublet live eu1
62
100
  ```
63
101
 
@@ -204,6 +242,58 @@ hscli --json --profile sandbox --force agent contract apply ./action-contract.js
204
242
  present. Approved operations use argument arrays with `shell:false`, then run
205
243
  the contract's read-only verification command.
206
244
 
245
+ ### Internal workflow evidence and guarded replacement
246
+
247
+ Some workflow evidence is available only through an authenticated HubSpot UI
248
+ session. These commands are explicit browser-session adapters; they are not
249
+ generic internal API passthroughs:
250
+
251
+ ```bash
252
+ hscli --json workflows inspect 123 \
253
+ --portal-id 456 --cookie-file ./hubspot-session.cookies
254
+ hscli --json workflows revisions 123 \
255
+ --portal-id 456 --cookie-file ./hubspot-session.cookies
256
+ hscli --json workflows errors 123 \
257
+ --portal-id 456 --cookie-file ./hubspot-session.cookies
258
+ hscli --json crm record-layouts get 789 \
259
+ --portal-id 456 --cookie-file ./hubspot-session.cookies
260
+ hscli --json crm record-layouts update-card 789 \
261
+ --portal-id 456 --expected-portal-id 456 \
262
+ --cookie-file ./hubspot-session.cookies \
263
+ --properties firstname,lastname,email
264
+ hscli --json lists inspect-filters 321 \
265
+ --portal-id 456 --cookie-file ./hubspot-session.cookies
266
+ hscli --json settings users seat-history 123
267
+ ```
268
+
269
+ `settings users seat-history` is the public-API companion to the internal seat
270
+ inventory. It reads object type `0-115` with history for
271
+ `hs_assigned_seats`, so seat changes remain inspectable without a browser
272
+ cookie.
273
+
274
+ `workflows update-internal` is deliberately harder to invoke. It replaces one
275
+ complete, disabled workflow through HubSpot's undocumented
276
+ `POST /api/automationplatform/v1/hybrid/batch` editor endpoint. The command is
277
+ plan-only unless `--execute` is present, validates the proposal first, derives
278
+ `version = live + 1`, writes a private rollback snapshot, sends exactly one
279
+ non-retried save request, and verifies both current state and revision history.
280
+ Execution additionally requires matching `--portal-id` and
281
+ `--expected-portal-id`, a same-session portal identity proof, global `--force`,
282
+ global `--change-ticket`, `--experimental-internal-write`, the exact
283
+ `--acknowledge "REPLACE WORKFLOW <id>"` phrase, and a sealed action contract.
284
+
285
+ This experimental write is CLI-only. It is intentionally excluded from
286
+ `hscli internal capture` and from MCP tools because HubSpot can change the
287
+ internal contract without notice. Capture and snapshot files are created with
288
+ owner-only permissions (`0700` directories and `0600` files).
289
+
290
+ `crm record-layouts update-card` follows the same plan-first model. It does not
291
+ accept an arbitrary replacement payload: it fetches the live card and changes
292
+ only the complete ordered `configuration.propertyNames` list. Execution
293
+ requires the same ticket, contract, force, portal-proof, experimental opt-in,
294
+ and ID-bound acknowledgement gates; the full merged card is snapshotted,
295
+ written once with retries disabled, and read back for exact order verification.
296
+
207
297
  Scope checks are built in:
208
298
 
209
299
  ```bash
@@ -349,10 +439,15 @@ hscli --force --policy-file ./policy.json --change-ticket CHG-123 \
349
439
  Drop `hscli` into any MCP client — Claude Desktop, Cursor, Claude Code, or your own agent runtime.
350
440
 
351
441
  ```bash
352
- hscli mcp # 29 essential read tools (default)
353
- hscli mcp --surface crm # curated CRM read/write tools
442
+ hscli mcp # 31 diagnostics + essential read tools (default)
443
+ hscli mcp --surface crm # 138 curated CRM read/write tools
354
444
  hscli mcp --surface migration # curated cross-product migration tools
355
- hscli mcp --surface full # all 180 tools, including raw API
445
+ hscli mcp --surface full # all 182 tools, including raw API
446
+ hscli --json mcp manifest # inspect protocol, transport, and tool metadata
447
+ hscli --profile prod --json mcp doctor # inspect local safety readiness
448
+ hscli --profile prod --json mcp doctor --all # include external HubSpot MCP checks
449
+ hscli --profile prod --json mcp setup --client codex # secret-free setup plan
450
+ hscli --json mcp matrix # compare trust boundaries and intended use
356
451
  ```
357
452
 
358
453
  For Claude Desktop, add to `claude_desktop_config.json`:
@@ -372,14 +467,26 @@ For Claude Desktop, add to `claude_desktop_config.json`:
372
467
  The MCP server exposes three tool families across explicit surfaces:
373
468
 
374
469
  - **Per-object tools** — `crm_contacts_list`, `crm_deals_create`, `crm_custom_records_search`, …
375
- - **HubSpot Remote MCP compat** — same tool names as `mcp.hubspot.com` (`search_crm_objects`, `manage_crm_objects`, …) so agents built for HubSpot's hosted MCP drop in without changes
376
- - **Extension surface** — workflows, files, forms, webhooks, HubDB, conversations, and more, all with the same `--force` + policy gates as the CLI
470
+ - **HubSpot Remote MCP name-compatible subset** — a documented snapshot of familiar names such as `search_crm_objects` and `manage_crm_objects`; transport, authentication, schemas, permissions, and some semantics differ
471
+ - **Operator surface** — workflows, files, forms, webhooks, HubDB, conversations, and more, using hscli profiles, dry-runs, policy, and audit evidence
377
472
 
378
473
  `minimal` is intentionally the default so an agent does not pay the context
379
- and security cost of 180 tools for a simple CRM read. The raw `hub_api_request`
474
+ and security cost of 182 tools for a simple CRM read. The raw `hub_api_request`
380
475
  tool exists only in `full`. See the generated [tool catalog](docs/MCP_TOOL_CATALOG.md).
381
476
 
382
- Every MCP tool call goes through the same safety rails as the CLI. Token redaction is enforced on every response. `HSCLI_MCP_PROFILE` locks the stdio server to one auth profile to prevent cross-tenant access.
477
+ Every tool publishes conservative MCP safety annotations. Token redaction is
478
+ enforced on every response. A normal `hscli --profile <name> mcp serve` locks
479
+ the server to that startup profile; cross-profile calls require the explicit
480
+ `--allow-cross-profile` startup flag. Live writes require both `force: true`
481
+ on the tool call and the operator-controlled `--allow-writes` startup flag,
482
+ then retain policy, portal-pin, and change-ticket gates. Sealed action-contract
483
+ prepare/apply/verify is a stronger boundary and is not yet automatically bound
484
+ to MCP writes; `mcp doctor` makes that limitation visible.
485
+
486
+ HubSpot's two official MCP products should normally run alongside hscli:
487
+ Remote MCP (`https://mcp.hubspot.com`) for user-authorized CRM operations and
488
+ Developer MCP (`hs mcp setup`) for app/CMS development. `mcp setup` prints a
489
+ plan only; it never stores OAuth credentials or edits a client configuration.
383
490
 
384
491
  ## Observability
385
492
 
package/SECURITY.md CHANGED
@@ -14,14 +14,25 @@
14
14
  - JSON mode is preferred for machine handling to avoid ad-hoc parsing leaks.
15
15
 
16
16
  ## Secret Storage Policy
17
- - Tokens are stored in profile-based auth file under `HSCLI_HOME` or default `~/.hscli`.
17
+ - Credentials are stored in a profile-based auth file under `HSCLI_HOME` or default `~/.revfleet`.
18
18
  - File permissions are locked to owner-only (`0700` dir, `0600` auth file).
19
- - Prefer `auth login --token-stdin` over inline `--token` to reduce shell-history/process-list exposure.
19
+ - Prefer the hidden `auth login` prompt, or `--token-stdin` in CI, over an inline
20
+ `--token` value to reduce
21
+ shell-history/process-list exposure.
22
+ - Personal Access Key profiles retain the PAK to refresh their short-lived
23
+ access token. Encrypt the vault with `hscli auth encrypt` on shared or
24
+ higher-risk workstations.
20
25
  - No token echo in CLI responses.
21
26
  - Roadmap item: optional encrypted keychain-backed storage.
22
27
 
23
28
  ## Auth Scope Minimization
24
- - Use HubSpot private app tokens with minimum scopes required for the operation set.
29
+ - Use Private App tokens or Service Keys with only the scopes required for the
30
+ operation set. Service Keys are REST-only credentials.
31
+ - Personal Access Keys inherit the authenticated user's account permissions;
32
+ their selected scope groups further limit that access. Use them for local
33
+ operator workflows, not unattended shared automation.
34
+ - Static credentials saved with `--no-verify` are marked unverified and cannot
35
+ write until a verified login records the portal identity.
25
36
  - Separate profiles by environment (sandbox/prod) to reduce blast radius.
26
37
  - Prefer read-only tokens for non-mutation workflows.
27
38
 
package/dist/cli.js CHANGED
@@ -120,6 +120,19 @@ export function createProgram() {
120
120
  delete process.env.HSCLI_CHANGE_TICKET;
121
121
  }
122
122
  });
123
+ program.addHelpText("before", [
124
+ "",
125
+ "Start here:",
126
+ " hscli guided operator home and next safe action",
127
+ " hscli baseline read-only portal baseline with local evidence",
128
+ " hscli /setup auth, routing, scopes, and capability checks",
129
+ " hscli /migration source-to-target migration workflow",
130
+ " hscli /backup 360-degree portal backup plan",
131
+ " hscli mcp scoped MCP server for an agent",
132
+ "",
133
+ "Use `hscli <command> --help` for a domain command. The full command inventory follows.",
134
+ "",
135
+ ].join("\n"));
123
136
  registerAuth(program, () => ctx);
124
137
  registerDoctor(program, () => ctx);
125
138
  registerCrm(program, () => ctx);
@@ -192,7 +205,7 @@ export function createProgram() {
192
205
  registerBusinessUnits(program, () => ctx);
193
206
  registerBroadcastsRoot(program, () => ctx);
194
207
  registerFormIntegrations(program, () => ctx);
195
- registerMcp(program);
208
+ registerMcp(program, () => ctx);
196
209
  // A bare `hscli` is the first interaction after installation. Give terminal
197
210
  // users the contextual home instead of a long command inventory; `--help`
198
211
  // remains the explicit full command reference.
package/dist/cli.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM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AE,sDAAsD,CAAC,CAAC;IAC/F,CAAC;IACD,IAAI,QAAQ,IAAI,KAAK,KAAK,MAAM,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;QACtE,MAAM,IAAI,QAAQ,CAAC,gBAAgB,EAAE,iDAAiD,CAAC,CAAC;IAC1F,CAAC;IACD,OAAO,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAE,KAAqD,CAAC;AACpF,CAAC"}
@@ -1,3 +1,17 @@
1
1
  import { Command } from "commander";
2
+ import { type AuthMode } from "../../core/auth.js";
2
3
  import type { CliContext } from "../../core/output.js";
4
+ export interface LoginOptions {
5
+ token?: string;
6
+ tokenStdin?: boolean;
7
+ authType?: string;
8
+ portalId?: string;
9
+ profile?: string;
10
+ hublet?: string;
11
+ apiDomain?: string;
12
+ }
13
+ type TokenPrompt = (authMode?: AuthMode) => Promise<string>;
14
+ export declare function resolveLoginAuthType(opts: LoginOptions): AuthMode;
15
+ export declare function resolveLoginToken(opts: LoginOptions, promptToken?: TokenPrompt): Promise<string>;
3
16
  export declare function registerAuth(program: Command, getCtx: () => CliContext): void;
17
+ export {};