@osdlc/wayfinder 0.7.4 → 0.9.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 (121) hide show
  1. package/CHANGELOG.md +240 -0
  2. package/CONTRIBUTING.md +6 -0
  3. package/README.md +310 -150
  4. package/SECURITY.md +19 -5
  5. package/dist/actions.d.ts +23 -0
  6. package/dist/actions.js +97 -0
  7. package/dist/app.d.ts +1 -13
  8. package/dist/app.js +1 -13
  9. package/dist/args.d.ts +11 -6
  10. package/dist/args.js +25 -7
  11. package/dist/cache.d.ts +2 -4
  12. package/dist/cache.js +5 -10
  13. package/dist/catalog.d.ts +45 -4
  14. package/dist/catalog.js +134 -13
  15. package/dist/clean-command.d.ts +65 -36
  16. package/dist/clean-command.js +372 -226
  17. package/dist/cli.d.ts +24 -57
  18. package/dist/cli.js +139 -568
  19. package/dist/commands/browse.d.ts +128 -0
  20. package/dist/commands/browse.js +153 -0
  21. package/dist/commands/index.d.ts +25 -0
  22. package/dist/commands/index.js +71 -0
  23. package/dist/commands/list.d.ts +224 -0
  24. package/dist/commands/list.js +178 -0
  25. package/dist/commands/query.d.ts +166 -0
  26. package/dist/commands/query.js +73 -0
  27. package/dist/commands/run.d.ts +114 -0
  28. package/dist/commands/run.js +139 -0
  29. package/dist/commands/shared.d.ts +152 -0
  30. package/dist/commands/shared.js +209 -0
  31. package/dist/config-command.d.ts +27 -43
  32. package/dist/config-command.js +129 -330
  33. package/dist/config-keys.d.ts +25 -0
  34. package/dist/config-keys.js +29 -0
  35. package/dist/config.d.ts +272 -257
  36. package/dist/config.js +611 -460
  37. package/dist/core/copy-text.d.ts +30 -0
  38. package/dist/core/copy-text.js +50 -0
  39. package/dist/core/filter.d.ts +55 -0
  40. package/dist/core/filter.js +59 -0
  41. package/dist/core/run.d.ts +22 -0
  42. package/dist/core/run.js +59 -0
  43. package/dist/core/saved-view.d.ts +59 -0
  44. package/dist/core/saved-view.js +119 -0
  45. package/dist/core/session.d.ts +282 -0
  46. package/dist/core/session.js +602 -0
  47. package/dist/core/skills.d.ts +53 -0
  48. package/dist/core/skills.js +54 -0
  49. package/dist/core/unknowns.d.ts +72 -0
  50. package/dist/core/unknowns.js +68 -0
  51. package/dist/devlink.d.ts +3 -0
  52. package/dist/devlink.js +5 -2
  53. package/dist/document-schemas.generated.d.ts +22 -0
  54. package/dist/document-schemas.generated.js +916 -0
  55. package/dist/documents.d.ts +508 -0
  56. package/dist/documents.js +181 -0
  57. package/dist/groups.d.ts +22 -26
  58. package/dist/groups.js +13 -29
  59. package/dist/guide.d.ts +26 -13
  60. package/dist/guide.js +119 -103
  61. package/dist/index.d.ts +118 -0
  62. package/dist/index.js +61 -0
  63. package/dist/keys.d.ts +51 -0
  64. package/dist/keys.js +273 -0
  65. package/dist/page.d.ts +18 -8
  66. package/dist/page.js +28 -17
  67. package/dist/providers-command.d.ts +81 -20
  68. package/dist/providers-command.js +33 -75
  69. package/dist/schema.d.ts +48 -0
  70. package/dist/schema.js +61 -0
  71. package/dist/serve/auth.d.ts +46 -0
  72. package/dist/serve/auth.js +82 -0
  73. package/dist/serve/catalog-share.d.ts +63 -0
  74. package/dist/serve/catalog-share.js +155 -0
  75. package/dist/serve/index.d.ts +100 -0
  76. package/dist/serve/index.js +259 -0
  77. package/dist/serve/routes.d.ts +60 -0
  78. package/dist/serve/routes.js +186 -0
  79. package/dist/serve/terminal-input.d.ts +50 -0
  80. package/dist/serve/terminal-input.js +108 -0
  81. package/dist/skills.d.ts +19 -0
  82. package/dist/skills.js +54 -0
  83. package/dist/terminal-text.d.ts +8 -0
  84. package/dist/terminal-text.js +19 -6
  85. package/dist/tool-info.d.ts +24 -0
  86. package/dist/tool-info.js +17 -0
  87. package/dist/trust-command.d.ts +15 -27
  88. package/dist/trust-command.js +110 -208
  89. package/dist/trust-store.d.ts +5 -10
  90. package/dist/trust-store.js +9 -42
  91. package/dist/tui/app.d.ts +193 -0
  92. package/dist/tui/app.js +1400 -0
  93. package/dist/tui/copy.d.ts +29 -0
  94. package/dist/tui/copy.js +39 -0
  95. package/dist/tui/index.d.ts +33 -0
  96. package/dist/tui/index.js +97 -0
  97. package/dist/tui/keys-input.d.ts +27 -0
  98. package/dist/tui/keys-input.js +87 -0
  99. package/dist/tui/settings.d.ts +94 -0
  100. package/dist/tui/settings.js +198 -0
  101. package/dist/tui/style.d.ts +62 -0
  102. package/dist/tui/style.js +77 -0
  103. package/dist/version.d.ts +6 -0
  104. package/dist/version.js +7 -0
  105. package/dist/vocabulary.d.ts +91 -0
  106. package/dist/vocabulary.js +155 -0
  107. package/dist/web/main.js +2232 -582
  108. package/dist/web/page.html +41 -33
  109. package/dist/web/styles.css +513 -329
  110. package/dist/xdg.d.ts +76 -4
  111. package/dist/xdg.js +77 -5
  112. package/package.json +27 -8
  113. package/schema/config.json +133 -0
  114. package/dist/http.d.ts +0 -22
  115. package/dist/http.js +0 -149
  116. package/dist/origin-owner.d.ts +0 -19
  117. package/dist/origin-owner.js +0 -85
  118. package/dist/serve.d.ts +0 -98
  119. package/dist/serve.js +0 -671
  120. package/dist/tui.d.ts +0 -177
  121. package/dist/tui.js +0 -840
@@ -1,12 +1,7 @@
1
1
  <!doctype html>
2
2
  <meta charset="utf-8" />
3
- <title>wayfinder</title>
3
+ <title>@APP@</title>
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1" />
5
- <!-- buildPage does not fill in this meta tag. It injects the session token
6
- as an inline script at the TOKEN placeholder at the end of this file.
7
- Every request carries the token (see authFetch in web/api.ts), and a
8
- page from another origin cannot read it. -->
9
- <meta name="wayfinder-token" content="@TOKEN@" />
10
5
  <!-- @STYLE@ -->
11
6
 
12
7
  <div id="chrome">
@@ -15,6 +10,8 @@
15
10
  of counts and keyboard hints. -->
16
11
  <div class="trustbar" id="trustbar" hidden></div>
17
12
  <div class="status" id="status"></div>
13
+ <!-- One stable live region, so a screen reader hears when loading starts and ends. -->
14
+ <div class="sr-only" id="announce" aria-live="polite"></div>
18
15
  <header>
19
16
  <div class="searchrow">
20
17
  <div class="searchbox">
@@ -24,7 +21,7 @@
24
21
  autocomplete="off"
25
22
  spellcheck="false"
26
23
  autofocus
27
- placeholder="Search commands - terms are ANDed, a leading quote forces an exact term"
24
+ placeholder="Search tasks - terms are ANDed, a leading quote forces an exact term"
28
25
  />
29
26
  <div
30
27
  class="seg inline"
@@ -35,7 +32,17 @@
35
32
  <button data-mode="exact" aria-pressed="false">Exact</button>
36
33
  </div>
37
34
  </div>
38
- <div class="cluster" role="group" aria-labelledby="scope-label">
35
+ <!-- At phone width the filters fold behind this one button. -->
36
+ <button
37
+ class="toolbtn"
38
+ id="filtersbtn"
39
+ aria-expanded="false"
40
+ aria-controls="filters"
41
+ title="Scope, Services, Declared and Runners"
42
+ >
43
+ Filters
44
+ </button>
45
+ <div class="cluster filters" id="filters" role="group" aria-labelledby="scope-label">
39
46
  <span class="cluster-label" id="scope-label">Scope</span>
40
47
  <div
41
48
  class="seg"
@@ -70,26 +77,28 @@
70
77
  <button class="toolbtn" id="expand" title="Expand or collapse every group">Collapse</button>
71
78
  <button class="toolbtn" id="refresh" title="Re-probe every runner now">Refresh</button>
72
79
  </div>
73
- <button
74
- class="toolbtn iconbtn"
75
- id="theme"
76
- data-theme-choice="system"
77
- title="Colour scheme: System (follows your OS). Click for Light."
78
- aria-label="Colour scheme: System. Click for Light."
79
- >
80
- ◐
81
- </button>
82
- <button
83
- class="helpbtn"
84
- id="settingsbtn"
85
- title="This project's wayfinder configuration"
86
- aria-label="Settings"
87
- >
88
- ⚙
89
- </button>
90
- <button class="helpbtn" id="helpbtn" title="What all of this means" aria-label="Help">
91
- ?
92
- </button>
80
+ <div class="cluster tools">
81
+ <button
82
+ class="toolbtn iconbtn"
83
+ id="theme"
84
+ data-theme-choice="system"
85
+ title="Colour scheme: System (follows your OS). Click for Light."
86
+ aria-label="Colour scheme: System. Click for Light."
87
+ >
88
+ ◐
89
+ </button>
90
+ <button
91
+ class="helpbtn"
92
+ id="settingsbtn"
93
+ title="This project's @APP@ configuration"
94
+ aria-label="Settings"
95
+ >
96
+ ⚙
97
+ </button>
98
+ <button class="helpbtn" id="helpbtn" title="What all of this means" aria-label="Help">
99
+ ?
100
+ </button>
101
+ </div>
93
102
  </div>
94
103
  <div class="tabs" id="tabs"></div>
95
104
  </header>
@@ -97,15 +106,14 @@
97
106
  </div>
98
107
  <main id="out"></main>
99
108
 
100
- <dialog id="help">
101
- <div class="help-body" id="help-body"></div>
109
+ <dialog id="help" aria-labelledby="help-title">
110
+ <div class="help-body" id="help-body" tabindex="-1"></div>
102
111
  <form method="dialog"><button class="toolbtn">Close</button></form>
103
112
  </dialog>
104
113
 
105
- <dialog id="settings">
106
- <div class="settings-body" id="settings-body"></div>
114
+ <dialog id="settings" aria-label="Settings">
115
+ <div class="settings-body" id="settings-body" tabindex="-1"></div>
107
116
  <form method="dialog"><button class="toolbtn">Close</button></form>
108
117
  </dialog>
109
118
 
110
- <!-- @TOKEN@ -->
111
119
  <!-- @SCRIPT@ -->