@indigoai-us/hq-cli 5.345.160 → 5.345.161
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/CHANGELOG.md +24 -0
- package/assets/scaffold/core/scripts/session-journal.sh +116 -24
- package/dist/command-catalog.generated.d.ts +218 -5
- package/dist/command-catalog.generated.js +269 -5
- package/dist/commands/auth.js +6 -5
- package/dist/commands/core-session-helper-runtime.d.ts +1 -0
- package/dist/commands/core-session-journal-native.d.ts +1 -0
- package/dist/commands/core-session-journal-native.js +158 -34
- package/dist/commands/feedback.d.ts +12 -0
- package/dist/commands/feedback.js +52 -0
- package/dist/commands/files-browse.d.ts +8 -0
- package/dist/commands/files-browse.js +83 -1
- package/dist/commands/install-global.d.ts +2 -0
- package/dist/commands/install-global.js +24 -1
- package/dist/commands/integrations-connect.js +1 -0
- package/dist/commands/integrations-manage.d.ts +2 -0
- package/dist/commands/integrations-manage.js +6 -4
- package/dist/commands/lanes-link.js +5 -3
- package/dist/commands/lanes-session-start.d.ts +12 -0
- package/dist/commands/lanes-session-start.js +93 -12
- package/dist/commands/meetings.d.ts +11 -0
- package/dist/commands/meetings.js +41 -11
- package/dist/hq-cloud-sync-runner/bin/sync-runner.js +2486 -1794
- package/dist/hq-cloud-sync-runner/package.json +1 -1
- package/dist/index.js +21 -0
- package/dist/lanes-session-start-argv.d.ts +7 -0
- package/dist/lanes-session-start-argv.js +9 -0
- package/dist/lib/bot/log.d.ts +3 -2
- package/dist/lib/bot/progress.d.ts +23 -1
- package/dist/lib/bot/progress.js +43 -5
- package/dist/lib/bot/run.js +2 -0
- package/dist/lib/bot/runtime/claude.d.ts +12 -0
- package/dist/lib/bot/runtime/claude.js +20 -0
- package/dist/lib/bot/runtime/index.d.ts +10 -1
- package/dist/lib/bot/runtime/index.js +14 -2
- package/dist/lib/bot/runtime/types.d.ts +8 -0
- package/dist/lib/doctor/checks/ps1-shims.d.ts +21 -0
- package/dist/lib/doctor/checks/ps1-shims.js +82 -0
- package/dist/lib/doctor/fix/apply.d.ts +13 -1
- package/dist/lib/doctor/fix/apply.js +38 -3
- package/dist/lib/doctor/fix/remediation.d.ts +9 -1
- package/dist/lib/doctor/fix/remediation.js +22 -0
- package/dist/lib/doctor/registry.js +2 -0
- package/dist/lib/flag-registry-worker-source.generated.d.ts +1 -1
- package/dist/lib/flag-registry-worker-source.generated.js +1 -1
- package/dist/lib/lanes/links.d.ts +2 -1
- package/dist/lib/lanes/links.js +235 -17
- package/dist/lib/lanes/registry-flag.d.ts +24 -0
- package/dist/lib/lanes/registry-flag.js +72 -6
- package/dist/lib/lanes/store.d.ts +4 -2
- package/dist/lib/lanes/store.js +8 -8
- package/dist/lib/windows/ps1-shims.d.ts +60 -0
- package/dist/lib/windows/ps1-shims.js +152 -0
- package/dist/utils/self-update.d.ts +2 -0
- package/dist/utils/self-update.js +8 -0
- package/dist/utils/staged-npm-install.js +13 -2
- package/dist/utils/token-keychain.d.ts +11 -8
- package/dist/utils/token-keychain.js +36 -15
- package/package.json +8 -8
- package/scripts/install-hook-engine.mjs +12 -0
|
@@ -5517,6 +5517,32 @@ export const COMMAND_CATALOG = [
|
|
|
5517
5517
|
}
|
|
5518
5518
|
],
|
|
5519
5519
|
"subcommands": []
|
|
5520
|
+
},
|
|
5521
|
+
{
|
|
5522
|
+
"name": "assign",
|
|
5523
|
+
"description": "Reassign a ticket to a person, including one another person has claimed",
|
|
5524
|
+
"aliases": [],
|
|
5525
|
+
"hidden": false,
|
|
5526
|
+
"helpOption": true,
|
|
5527
|
+
"helpCommand": false,
|
|
5528
|
+
"usage": "[options] <id>",
|
|
5529
|
+
"helpText": [],
|
|
5530
|
+
"arguments": [
|
|
5531
|
+
{
|
|
5532
|
+
"name": "id",
|
|
5533
|
+
"required": true,
|
|
5534
|
+
"variadic": false,
|
|
5535
|
+
"description": "Feedback id (feedback_<uuid>)"
|
|
5536
|
+
}
|
|
5537
|
+
],
|
|
5538
|
+
"options": [
|
|
5539
|
+
{
|
|
5540
|
+
"flags": "--to <assignee>",
|
|
5541
|
+
"description": "New assignee: an email address or a prs_ uid",
|
|
5542
|
+
"hidden": false
|
|
5543
|
+
}
|
|
5544
|
+
],
|
|
5545
|
+
"subcommands": []
|
|
5520
5546
|
}
|
|
5521
5547
|
]
|
|
5522
5548
|
},
|
|
@@ -5533,7 +5559,7 @@ export const COMMAND_CATALOG = [
|
|
|
5533
5559
|
"options": [
|
|
5534
5560
|
{
|
|
5535
5561
|
"flags": "--company <slug>",
|
|
5536
|
-
"description": "Company slug (
|
|
5562
|
+
"description": "Company slug (defaults to the company this HQ session is bound to)",
|
|
5537
5563
|
"hidden": false
|
|
5538
5564
|
},
|
|
5539
5565
|
{
|
|
@@ -6624,6 +6650,11 @@ export const COMMAND_CATALOG = [
|
|
|
6624
6650
|
"description": "Read that app's client secret from stdin",
|
|
6625
6651
|
"hidden": false
|
|
6626
6652
|
},
|
|
6653
|
+
{
|
|
6654
|
+
"flags": "--scopes <list>",
|
|
6655
|
+
"description": "Permissions to request, space- or comma-separated (default: the permissions the app was approved for last time)",
|
|
6656
|
+
"hidden": false
|
|
6657
|
+
},
|
|
6627
6658
|
{
|
|
6628
6659
|
"flags": "--no-browser",
|
|
6629
6660
|
"description": "Print the sign-in URL instead of opening a browser",
|
|
@@ -6866,7 +6897,7 @@ export const COMMAND_CATALOG = [
|
|
|
6866
6897
|
},
|
|
6867
6898
|
{
|
|
6868
6899
|
"flags": "--to <principal>",
|
|
6869
|
-
"description": "Email, uid, or `everyone`",
|
|
6900
|
+
"description": "Email, uid, vault group (grp_…), or `everyone`",
|
|
6870
6901
|
"hidden": false
|
|
6871
6902
|
},
|
|
6872
6903
|
{
|
|
@@ -6923,7 +6954,7 @@ export const COMMAND_CATALOG = [
|
|
|
6923
6954
|
},
|
|
6924
6955
|
{
|
|
6925
6956
|
"flags": "--from <principal>",
|
|
6926
|
-
"description": "Email, uid, or `everyone`",
|
|
6957
|
+
"description": "Email, uid, vault group (grp_…), or `everyone`",
|
|
6927
6958
|
"hidden": false
|
|
6928
6959
|
},
|
|
6929
6960
|
{
|
|
@@ -7010,7 +7041,7 @@ export const COMMAND_CATALOG = [
|
|
|
7010
7041
|
},
|
|
7011
7042
|
{
|
|
7012
7043
|
"flags": "--with <principal>",
|
|
7013
|
-
"description": "Email, uid, or `everyone`",
|
|
7044
|
+
"description": "Email, uid, vault group (grp_…), or `everyone`",
|
|
7014
7045
|
"hidden": false
|
|
7015
7046
|
},
|
|
7016
7047
|
{
|
|
@@ -7062,7 +7093,7 @@ export const COMMAND_CATALOG = [
|
|
|
7062
7093
|
},
|
|
7063
7094
|
{
|
|
7064
7095
|
"flags": "--from <principal>",
|
|
7065
|
-
"description": "Email, uid, or `everyone`",
|
|
7096
|
+
"description": "Email, uid, vault group (grp_…), or `everyone`",
|
|
7066
7097
|
"hidden": false
|
|
7067
7098
|
},
|
|
7068
7099
|
{
|
|
@@ -16486,6 +16517,11 @@ export const COMMAND_CATALOG = [
|
|
|
16486
16517
|
"helpText": [],
|
|
16487
16518
|
"arguments": [],
|
|
16488
16519
|
"options": [
|
|
16520
|
+
{
|
|
16521
|
+
"flags": "--refresh-flags",
|
|
16522
|
+
"description": "Refresh the offline session-start flag values from the registry",
|
|
16523
|
+
"hidden": false
|
|
16524
|
+
},
|
|
16489
16525
|
{
|
|
16490
16526
|
"flags": "--json",
|
|
16491
16527
|
"description": "JSON on stdout (always)",
|
|
@@ -16557,6 +16593,11 @@ export const COMMAND_CATALOG = [
|
|
|
16557
16593
|
"description": "Host session id",
|
|
16558
16594
|
"hidden": false
|
|
16559
16595
|
},
|
|
16596
|
+
{
|
|
16597
|
+
"flags": "--claims <ids>",
|
|
16598
|
+
"description": "Exact comma-separated recipient receipt IDs",
|
|
16599
|
+
"hidden": false
|
|
16600
|
+
},
|
|
16560
16601
|
{
|
|
16561
16602
|
"flags": "--text <message>",
|
|
16562
16603
|
"description": "Message text",
|
|
@@ -16636,6 +16677,11 @@ export const COMMAND_CATALOG = [
|
|
|
16636
16677
|
"description": "Host session id",
|
|
16637
16678
|
"hidden": false
|
|
16638
16679
|
},
|
|
16680
|
+
{
|
|
16681
|
+
"flags": "--claims <ids>",
|
|
16682
|
+
"description": "Exact comma-separated recipient receipt IDs",
|
|
16683
|
+
"hidden": false
|
|
16684
|
+
},
|
|
16639
16685
|
{
|
|
16640
16686
|
"flags": "--text <message>",
|
|
16641
16687
|
"description": "Message text",
|
|
@@ -16715,6 +16761,179 @@ export const COMMAND_CATALOG = [
|
|
|
16715
16761
|
"description": "Host session id",
|
|
16716
16762
|
"hidden": false
|
|
16717
16763
|
},
|
|
16764
|
+
{
|
|
16765
|
+
"flags": "--claims <ids>",
|
|
16766
|
+
"description": "Exact comma-separated recipient receipt IDs",
|
|
16767
|
+
"hidden": false
|
|
16768
|
+
},
|
|
16769
|
+
{
|
|
16770
|
+
"flags": "--text <message>",
|
|
16771
|
+
"description": "Message text",
|
|
16772
|
+
"hidden": false
|
|
16773
|
+
},
|
|
16774
|
+
{
|
|
16775
|
+
"flags": "--text-file <path>",
|
|
16776
|
+
"description": "Read message text from a file",
|
|
16777
|
+
"hidden": false
|
|
16778
|
+
},
|
|
16779
|
+
{
|
|
16780
|
+
"flags": "--state <state>",
|
|
16781
|
+
"description": "Child state",
|
|
16782
|
+
"hidden": false
|
|
16783
|
+
},
|
|
16784
|
+
{
|
|
16785
|
+
"flags": "--note <note>",
|
|
16786
|
+
"description": "State note",
|
|
16787
|
+
"hidden": false
|
|
16788
|
+
},
|
|
16789
|
+
{
|
|
16790
|
+
"flags": "--timeout <seconds>",
|
|
16791
|
+
"description": "Wait timeout in seconds",
|
|
16792
|
+
"hidden": false
|
|
16793
|
+
}
|
|
16794
|
+
],
|
|
16795
|
+
"subcommands": []
|
|
16796
|
+
},
|
|
16797
|
+
{
|
|
16798
|
+
"name": "ack",
|
|
16799
|
+
"description": "",
|
|
16800
|
+
"aliases": [],
|
|
16801
|
+
"hidden": false,
|
|
16802
|
+
"helpOption": true,
|
|
16803
|
+
"helpCommand": false,
|
|
16804
|
+
"usage": "[options]",
|
|
16805
|
+
"helpText": [],
|
|
16806
|
+
"arguments": [],
|
|
16807
|
+
"options": [
|
|
16808
|
+
{
|
|
16809
|
+
"flags": "--json",
|
|
16810
|
+
"description": "Print JSON output (the default)",
|
|
16811
|
+
"hidden": false
|
|
16812
|
+
},
|
|
16813
|
+
{
|
|
16814
|
+
"flags": "--session-id <id>",
|
|
16815
|
+
"description": "Act as this session",
|
|
16816
|
+
"hidden": false
|
|
16817
|
+
},
|
|
16818
|
+
{
|
|
16819
|
+
"flags": "--link <id>",
|
|
16820
|
+
"description": "Conduct link id",
|
|
16821
|
+
"hidden": false
|
|
16822
|
+
},
|
|
16823
|
+
{
|
|
16824
|
+
"flags": "--child <name|all>",
|
|
16825
|
+
"description": "Child name or all children",
|
|
16826
|
+
"hidden": false
|
|
16827
|
+
},
|
|
16828
|
+
{
|
|
16829
|
+
"flags": "--name <name>",
|
|
16830
|
+
"description": "Child name",
|
|
16831
|
+
"hidden": false
|
|
16832
|
+
},
|
|
16833
|
+
{
|
|
16834
|
+
"flags": "--engine <engine>",
|
|
16835
|
+
"description": "Session engine",
|
|
16836
|
+
"hidden": false
|
|
16837
|
+
},
|
|
16838
|
+
{
|
|
16839
|
+
"flags": "--title <title>",
|
|
16840
|
+
"description": "Session title",
|
|
16841
|
+
"hidden": false
|
|
16842
|
+
},
|
|
16843
|
+
{
|
|
16844
|
+
"flags": "--host-session <id>",
|
|
16845
|
+
"description": "Host session id",
|
|
16846
|
+
"hidden": false
|
|
16847
|
+
},
|
|
16848
|
+
{
|
|
16849
|
+
"flags": "--claims <ids>",
|
|
16850
|
+
"description": "Exact comma-separated recipient receipt IDs",
|
|
16851
|
+
"hidden": false
|
|
16852
|
+
},
|
|
16853
|
+
{
|
|
16854
|
+
"flags": "--text <message>",
|
|
16855
|
+
"description": "Message text",
|
|
16856
|
+
"hidden": false
|
|
16857
|
+
},
|
|
16858
|
+
{
|
|
16859
|
+
"flags": "--text-file <path>",
|
|
16860
|
+
"description": "Read message text from a file",
|
|
16861
|
+
"hidden": false
|
|
16862
|
+
},
|
|
16863
|
+
{
|
|
16864
|
+
"flags": "--state <state>",
|
|
16865
|
+
"description": "Child state",
|
|
16866
|
+
"hidden": false
|
|
16867
|
+
},
|
|
16868
|
+
{
|
|
16869
|
+
"flags": "--note <note>",
|
|
16870
|
+
"description": "State note",
|
|
16871
|
+
"hidden": false
|
|
16872
|
+
},
|
|
16873
|
+
{
|
|
16874
|
+
"flags": "--timeout <seconds>",
|
|
16875
|
+
"description": "Wait timeout in seconds",
|
|
16876
|
+
"hidden": false
|
|
16877
|
+
}
|
|
16878
|
+
],
|
|
16879
|
+
"subcommands": []
|
|
16880
|
+
},
|
|
16881
|
+
{
|
|
16882
|
+
"name": "capabilities",
|
|
16883
|
+
"description": "",
|
|
16884
|
+
"aliases": [],
|
|
16885
|
+
"hidden": false,
|
|
16886
|
+
"helpOption": true,
|
|
16887
|
+
"helpCommand": false,
|
|
16888
|
+
"usage": "[options]",
|
|
16889
|
+
"helpText": [],
|
|
16890
|
+
"arguments": [],
|
|
16891
|
+
"options": [
|
|
16892
|
+
{
|
|
16893
|
+
"flags": "--json",
|
|
16894
|
+
"description": "Print JSON output (the default)",
|
|
16895
|
+
"hidden": false
|
|
16896
|
+
},
|
|
16897
|
+
{
|
|
16898
|
+
"flags": "--session-id <id>",
|
|
16899
|
+
"description": "Act as this session",
|
|
16900
|
+
"hidden": false
|
|
16901
|
+
},
|
|
16902
|
+
{
|
|
16903
|
+
"flags": "--link <id>",
|
|
16904
|
+
"description": "Conduct link id",
|
|
16905
|
+
"hidden": false
|
|
16906
|
+
},
|
|
16907
|
+
{
|
|
16908
|
+
"flags": "--child <name|all>",
|
|
16909
|
+
"description": "Child name or all children",
|
|
16910
|
+
"hidden": false
|
|
16911
|
+
},
|
|
16912
|
+
{
|
|
16913
|
+
"flags": "--name <name>",
|
|
16914
|
+
"description": "Child name",
|
|
16915
|
+
"hidden": false
|
|
16916
|
+
},
|
|
16917
|
+
{
|
|
16918
|
+
"flags": "--engine <engine>",
|
|
16919
|
+
"description": "Session engine",
|
|
16920
|
+
"hidden": false
|
|
16921
|
+
},
|
|
16922
|
+
{
|
|
16923
|
+
"flags": "--title <title>",
|
|
16924
|
+
"description": "Session title",
|
|
16925
|
+
"hidden": false
|
|
16926
|
+
},
|
|
16927
|
+
{
|
|
16928
|
+
"flags": "--host-session <id>",
|
|
16929
|
+
"description": "Host session id",
|
|
16930
|
+
"hidden": false
|
|
16931
|
+
},
|
|
16932
|
+
{
|
|
16933
|
+
"flags": "--claims <ids>",
|
|
16934
|
+
"description": "Exact comma-separated recipient receipt IDs",
|
|
16935
|
+
"hidden": false
|
|
16936
|
+
},
|
|
16718
16937
|
{
|
|
16719
16938
|
"flags": "--text <message>",
|
|
16720
16939
|
"description": "Message text",
|
|
@@ -16794,6 +17013,11 @@ export const COMMAND_CATALOG = [
|
|
|
16794
17013
|
"description": "Host session id",
|
|
16795
17014
|
"hidden": false
|
|
16796
17015
|
},
|
|
17016
|
+
{
|
|
17017
|
+
"flags": "--claims <ids>",
|
|
17018
|
+
"description": "Exact comma-separated recipient receipt IDs",
|
|
17019
|
+
"hidden": false
|
|
17020
|
+
},
|
|
16797
17021
|
{
|
|
16798
17022
|
"flags": "--text <message>",
|
|
16799
17023
|
"description": "Message text",
|
|
@@ -16873,6 +17097,11 @@ export const COMMAND_CATALOG = [
|
|
|
16873
17097
|
"description": "Host session id",
|
|
16874
17098
|
"hidden": false
|
|
16875
17099
|
},
|
|
17100
|
+
{
|
|
17101
|
+
"flags": "--claims <ids>",
|
|
17102
|
+
"description": "Exact comma-separated recipient receipt IDs",
|
|
17103
|
+
"hidden": false
|
|
17104
|
+
},
|
|
16876
17105
|
{
|
|
16877
17106
|
"flags": "--text <message>",
|
|
16878
17107
|
"description": "Message text",
|
|
@@ -16952,6 +17181,11 @@ export const COMMAND_CATALOG = [
|
|
|
16952
17181
|
"description": "Host session id",
|
|
16953
17182
|
"hidden": false
|
|
16954
17183
|
},
|
|
17184
|
+
{
|
|
17185
|
+
"flags": "--claims <ids>",
|
|
17186
|
+
"description": "Exact comma-separated recipient receipt IDs",
|
|
17187
|
+
"hidden": false
|
|
17188
|
+
},
|
|
16955
17189
|
{
|
|
16956
17190
|
"flags": "--text <message>",
|
|
16957
17191
|
"description": "Message text",
|
|
@@ -17031,6 +17265,11 @@ export const COMMAND_CATALOG = [
|
|
|
17031
17265
|
"description": "Host session id",
|
|
17032
17266
|
"hidden": false
|
|
17033
17267
|
},
|
|
17268
|
+
{
|
|
17269
|
+
"flags": "--claims <ids>",
|
|
17270
|
+
"description": "Exact comma-separated recipient receipt IDs",
|
|
17271
|
+
"hidden": false
|
|
17272
|
+
},
|
|
17034
17273
|
{
|
|
17035
17274
|
"flags": "--text <message>",
|
|
17036
17275
|
"description": "Message text",
|
|
@@ -17110,6 +17349,11 @@ export const COMMAND_CATALOG = [
|
|
|
17110
17349
|
"description": "Host session id",
|
|
17111
17350
|
"hidden": false
|
|
17112
17351
|
},
|
|
17352
|
+
{
|
|
17353
|
+
"flags": "--claims <ids>",
|
|
17354
|
+
"description": "Exact comma-separated recipient receipt IDs",
|
|
17355
|
+
"hidden": false
|
|
17356
|
+
},
|
|
17113
17357
|
{
|
|
17114
17358
|
"flags": "--text <message>",
|
|
17115
17359
|
"description": "Message text",
|
|
@@ -17189,6 +17433,11 @@ export const COMMAND_CATALOG = [
|
|
|
17189
17433
|
"description": "Host session id",
|
|
17190
17434
|
"hidden": false
|
|
17191
17435
|
},
|
|
17436
|
+
{
|
|
17437
|
+
"flags": "--claims <ids>",
|
|
17438
|
+
"description": "Exact comma-separated recipient receipt IDs",
|
|
17439
|
+
"hidden": false
|
|
17440
|
+
},
|
|
17192
17441
|
{
|
|
17193
17442
|
"flags": "--text <message>",
|
|
17194
17443
|
"description": "Message text",
|
|
@@ -17268,6 +17517,11 @@ export const COMMAND_CATALOG = [
|
|
|
17268
17517
|
"description": "Host session id",
|
|
17269
17518
|
"hidden": false
|
|
17270
17519
|
},
|
|
17520
|
+
{
|
|
17521
|
+
"flags": "--claims <ids>",
|
|
17522
|
+
"description": "Exact comma-separated recipient receipt IDs",
|
|
17523
|
+
"hidden": false
|
|
17524
|
+
},
|
|
17271
17525
|
{
|
|
17272
17526
|
"flags": "--text <message>",
|
|
17273
17527
|
"description": "Message text",
|
|
@@ -17347,6 +17601,11 @@ export const COMMAND_CATALOG = [
|
|
|
17347
17601
|
"description": "Host session id",
|
|
17348
17602
|
"hidden": false
|
|
17349
17603
|
},
|
|
17604
|
+
{
|
|
17605
|
+
"flags": "--claims <ids>",
|
|
17606
|
+
"description": "Exact comma-separated recipient receipt IDs",
|
|
17607
|
+
"hidden": false
|
|
17608
|
+
},
|
|
17350
17609
|
{
|
|
17351
17610
|
"flags": "--text <message>",
|
|
17352
17611
|
"description": "Message text",
|
|
@@ -17391,6 +17650,11 @@ export const COMMAND_CATALOG = [
|
|
|
17391
17650
|
"description": "Hook event",
|
|
17392
17651
|
"hidden": false
|
|
17393
17652
|
},
|
|
17653
|
+
{
|
|
17654
|
+
"flags": "--ack-mode <mode>",
|
|
17655
|
+
"description": "Internal explicit recipient acknowledgement",
|
|
17656
|
+
"hidden": false
|
|
17657
|
+
},
|
|
17394
17658
|
{
|
|
17395
17659
|
"flags": "--json",
|
|
17396
17660
|
"description": "JSON on stdout (always)",
|
package/dist/commands/auth.js
CHANGED
|
@@ -385,7 +385,10 @@ export function registerAuthCommands(program) {
|
|
|
385
385
|
if (!options.retry) {
|
|
386
386
|
const state = keychain.readKeychainAccessState();
|
|
387
387
|
if (state.deniedAt) {
|
|
388
|
-
console.log("Keychain access
|
|
388
|
+
console.log("Keychain access did not complete, so HQ uses ~/.hq/cognito-tokens.json. Run `hq auth keychain --retry` to ask again.");
|
|
389
|
+
}
|
|
390
|
+
else if (state.lastFailureAt) {
|
|
391
|
+
console.log("Keychain access did not complete. HQ uses your saved sign-in instead and can ask again from a terminal. Run `hq auth keychain --retry` to retry now.");
|
|
389
392
|
}
|
|
390
393
|
else if (state.allowedAt) {
|
|
391
394
|
console.log(chalk.green("HQ can read your sign-in from the Keychain."));
|
|
@@ -395,9 +398,7 @@ export function registerAuthCommands(program) {
|
|
|
395
398
|
}
|
|
396
399
|
return;
|
|
397
400
|
}
|
|
398
|
-
|
|
399
|
-
if (!state.allowedAt)
|
|
400
|
-
console.error(keychain.KEYCHAIN_FIRST_READ_NOTE);
|
|
401
|
+
console.error(keychain.KEYCHAIN_FIRST_READ_NOTE);
|
|
401
402
|
const result = keychain.readKeychainTokensDetailed({ retry: true, interactive: true, notify: () => { } });
|
|
402
403
|
if (result.outcome === "hit") {
|
|
403
404
|
console.log(result.tokens
|
|
@@ -408,7 +409,7 @@ export function registerAuthCommands(program) {
|
|
|
408
409
|
console.log("No HQ sign-in is saved in the Keychain yet. HQ will use ~/.hq/cognito-tokens.json.");
|
|
409
410
|
}
|
|
410
411
|
else {
|
|
411
|
-
console.log(chalk.yellow("Keychain access
|
|
412
|
+
console.log(chalk.yellow("Keychain access did not complete. HQ will use ~/.hq/cognito-tokens.json. Run `hq auth keychain --retry` to ask again."));
|
|
412
413
|
}
|
|
413
414
|
});
|
|
414
415
|
authCmd
|