@fbincon/claude-code-statusline 0.0.0-stage → 3.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.
Files changed (648) hide show
  1. package/LICENSE +21 -0
  2. package/LICENSE-Unicode.txt +39 -0
  3. package/LICENSE-Wcwidth.txt +27 -0
  4. package/README.md +420 -2
  5. package/bin/claude-statusline.js +2 -0
  6. package/candidate.json +1244 -0
  7. package/node_modules/@fbincon/statusline-cli/dist/src/config/arguments.d.ts +35 -0
  8. package/node_modules/@fbincon/statusline-cli/dist/src/config/arguments.js +228 -0
  9. package/node_modules/@fbincon/statusline-cli/dist/src/config/arguments.js.map +1 -0
  10. package/node_modules/@fbincon/statusline-cli/dist/src/config/backend-preferences.d.ts +6 -0
  11. package/node_modules/@fbincon/statusline-cli/dist/src/config/backend-preferences.js +72 -0
  12. package/node_modules/@fbincon/statusline-cli/dist/src/config/backend-preferences.js.map +1 -0
  13. package/node_modules/@fbincon/statusline-cli/dist/src/config/commands.d.ts +10 -0
  14. package/node_modules/@fbincon/statusline-cli/dist/src/config/commands.js +140 -0
  15. package/node_modules/@fbincon/statusline-cli/dist/src/config/commands.js.map +1 -0
  16. package/node_modules/@fbincon/statusline-cli/dist/src/config/host.d.ts +10 -0
  17. package/node_modules/@fbincon/statusline-cli/dist/src/config/host.js +101 -0
  18. package/node_modules/@fbincon/statusline-cli/dist/src/config/host.js.map +1 -0
  19. package/node_modules/@fbincon/statusline-cli/dist/src/config/operations.d.ts +10 -0
  20. package/node_modules/@fbincon/statusline-cli/dist/src/config/operations.js +96 -0
  21. package/node_modules/@fbincon/statusline-cli/dist/src/config/operations.js.map +1 -0
  22. package/node_modules/@fbincon/statusline-cli/dist/src/config/preferences.d.ts +11 -0
  23. package/node_modules/@fbincon/statusline-cli/dist/src/config/preferences.js +80 -0
  24. package/node_modules/@fbincon/statusline-cli/dist/src/config/preferences.js.map +1 -0
  25. package/node_modules/@fbincon/statusline-cli/dist/src/config/service.d.ts +45 -0
  26. package/node_modules/@fbincon/statusline-cli/dist/src/config/service.js +99 -0
  27. package/node_modules/@fbincon/statusline-cli/dist/src/config/service.js.map +1 -0
  28. package/node_modules/@fbincon/statusline-cli/dist/src/config/storage.d.ts +30 -0
  29. package/node_modules/@fbincon/statusline-cli/dist/src/config/storage.js +134 -0
  30. package/node_modules/@fbincon/statusline-cli/dist/src/config/storage.js.map +1 -0
  31. package/node_modules/@fbincon/statusline-cli/dist/src/config/transfer.d.ts +3 -0
  32. package/node_modules/@fbincon/statusline-cli/dist/src/config/transfer.js +89 -0
  33. package/node_modules/@fbincon/statusline-cli/dist/src/config/transfer.js.map +1 -0
  34. package/node_modules/@fbincon/statusline-cli/dist/src/context.d.ts +11 -0
  35. package/node_modules/@fbincon/statusline-cli/dist/src/context.js +2 -0
  36. package/node_modules/@fbincon/statusline-cli/dist/src/context.js.map +1 -0
  37. package/node_modules/@fbincon/statusline-cli/dist/src/entry.d.ts +1 -0
  38. package/node_modules/@fbincon/statusline-cli/dist/src/entry.js +3 -0
  39. package/node_modules/@fbincon/statusline-cli/dist/src/entry.js.map +1 -0
  40. package/node_modules/@fbincon/statusline-cli/dist/src/errors.d.ts +4 -0
  41. package/node_modules/@fbincon/statusline-cli/dist/src/errors.js +8 -0
  42. package/node_modules/@fbincon/statusline-cli/dist/src/errors.js.map +1 -0
  43. package/node_modules/@fbincon/statusline-cli/dist/src/help.d.ts +3 -0
  44. package/node_modules/@fbincon/statusline-cli/dist/src/help.js +67 -0
  45. package/node_modules/@fbincon/statusline-cli/dist/src/help.js.map +1 -0
  46. package/node_modules/@fbincon/statusline-cli/dist/src/integration/arguments.d.ts +10 -0
  47. package/node_modules/@fbincon/statusline-cli/dist/src/integration/arguments.js +40 -0
  48. package/node_modules/@fbincon/statusline-cli/dist/src/integration/arguments.js.map +1 -0
  49. package/node_modules/@fbincon/statusline-cli/dist/src/integration/configure.d.ts +3 -0
  50. package/node_modules/@fbincon/statusline-cli/dist/src/integration/configure.js +63 -0
  51. package/node_modules/@fbincon/statusline-cli/dist/src/integration/configure.js.map +1 -0
  52. package/node_modules/@fbincon/statusline-cli/dist/src/integration/doctor.d.ts +4 -0
  53. package/node_modules/@fbincon/statusline-cli/dist/src/integration/doctor.js +153 -0
  54. package/node_modules/@fbincon/statusline-cli/dist/src/integration/doctor.js.map +1 -0
  55. package/node_modules/@fbincon/statusline-cli/dist/src/integration/editor.d.ts +14 -0
  56. package/node_modules/@fbincon/statusline-cli/dist/src/integration/editor.js +3 -0
  57. package/node_modules/@fbincon/statusline-cli/dist/src/integration/editor.js.map +1 -0
  58. package/node_modules/@fbincon/statusline-cli/dist/src/integration/install.d.ts +6 -0
  59. package/node_modules/@fbincon/statusline-cli/dist/src/integration/install.js +142 -0
  60. package/node_modules/@fbincon/statusline-cli/dist/src/integration/install.js.map +1 -0
  61. package/node_modules/@fbincon/statusline-cli/dist/src/integration/launcher.d.ts +15 -0
  62. package/node_modules/@fbincon/statusline-cli/dist/src/integration/launcher.js +91 -0
  63. package/node_modules/@fbincon/statusline-cli/dist/src/integration/launcher.js.map +1 -0
  64. package/node_modules/@fbincon/statusline-cli/dist/src/integration/mod-ownership.d.ts +20 -0
  65. package/node_modules/@fbincon/statusline-cli/dist/src/integration/mod-ownership.js +109 -0
  66. package/node_modules/@fbincon/statusline-cli/dist/src/integration/mod-ownership.js.map +1 -0
  67. package/node_modules/@fbincon/statusline-cli/dist/src/integration/model.d.ts +60 -0
  68. package/node_modules/@fbincon/statusline-cli/dist/src/integration/model.js +12 -0
  69. package/node_modules/@fbincon/statusline-cli/dist/src/integration/model.js.map +1 -0
  70. package/node_modules/@fbincon/statusline-cli/dist/src/integration/mods.d.ts +10 -0
  71. package/node_modules/@fbincon/statusline-cli/dist/src/integration/mods.js +234 -0
  72. package/node_modules/@fbincon/statusline-cli/dist/src/integration/mods.js.map +1 -0
  73. package/node_modules/@fbincon/statusline-cli/dist/src/integration/ownership.d.ts +8 -0
  74. package/node_modules/@fbincon/statusline-cli/dist/src/integration/ownership.js +41 -0
  75. package/node_modules/@fbincon/statusline-cli/dist/src/integration/ownership.js.map +1 -0
  76. package/node_modules/@fbincon/statusline-cli/dist/src/integration/paths.d.ts +1 -0
  77. package/node_modules/@fbincon/statusline-cli/dist/src/integration/paths.js +14 -0
  78. package/node_modules/@fbincon/statusline-cli/dist/src/integration/paths.js.map +1 -0
  79. package/node_modules/@fbincon/statusline-cli/dist/src/integration/plan.d.ts +13 -0
  80. package/node_modules/@fbincon/statusline-cli/dist/src/integration/plan.js +92 -0
  81. package/node_modules/@fbincon/statusline-cli/dist/src/integration/plan.js.map +1 -0
  82. package/node_modules/@fbincon/statusline-cli/dist/src/integration/resources.d.ts +19 -0
  83. package/node_modules/@fbincon/statusline-cli/dist/src/integration/resources.js +91 -0
  84. package/node_modules/@fbincon/statusline-cli/dist/src/integration/resources.js.map +1 -0
  85. package/node_modules/@fbincon/statusline-cli/dist/src/integration/slash-hook.d.ts +6 -0
  86. package/node_modules/@fbincon/statusline-cli/dist/src/integration/slash-hook.js +94 -0
  87. package/node_modules/@fbincon/statusline-cli/dist/src/integration/slash-hook.js.map +1 -0
  88. package/node_modules/@fbincon/statusline-cli/dist/src/integration/transaction.d.ts +8 -0
  89. package/node_modules/@fbincon/statusline-cli/dist/src/integration/transaction.js +3 -0
  90. package/node_modules/@fbincon/statusline-cli/dist/src/integration/transaction.js.map +1 -0
  91. package/node_modules/@fbincon/statusline-cli/dist/src/main.d.ts +22 -0
  92. package/node_modules/@fbincon/statusline-cli/dist/src/main.js +197 -0
  93. package/node_modules/@fbincon/statusline-cli/dist/src/main.js.map +1 -0
  94. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/files.d.ts +7 -0
  95. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/files.js +134 -0
  96. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/files.js.map +1 -0
  97. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/journal.d.ts +58 -0
  98. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/journal.js +144 -0
  99. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/journal.js.map +1 -0
  100. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/official.d.ts +5 -0
  101. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/official.js +125 -0
  102. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/official.js.map +1 -0
  103. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/service.d.ts +11 -0
  104. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/service.js +55 -0
  105. package/node_modules/@fbincon/statusline-cli/dist/src/recovery/service.js.map +1 -0
  106. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/environment.d.ts +15 -0
  107. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/environment.js +95 -0
  108. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/environment.js.map +1 -0
  109. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/main.d.ts +6 -0
  110. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/main.js +48 -0
  111. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/main.js.map +1 -0
  112. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/preview.d.ts +2 -0
  113. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/preview.js +13 -0
  114. package/node_modules/@fbincon/statusline-cli/dist/src/rendering/preview.js.map +1 -0
  115. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/context.d.ts +11 -0
  116. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/context.js +11 -0
  117. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/context.js.map +1 -0
  118. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/git.d.ts +19 -0
  119. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/git.js +162 -0
  120. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/git.js.map +1 -0
  121. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/hook.d.ts +3 -0
  122. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/hook.js +19 -0
  123. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/hook.js.map +1 -0
  124. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/io.d.ts +37 -0
  125. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/io.js +75 -0
  126. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/io.js.map +1 -0
  127. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/json-data.d.ts +9 -0
  128. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/json-data.js +241 -0
  129. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/json-data.js.map +1 -0
  130. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/live/collect.d.ts +2 -0
  131. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/live/collect.js +14 -0
  132. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/live/collect.js.map +1 -0
  133. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/live/durations.d.ts +15 -0
  134. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/live/durations.js +69 -0
  135. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/live/durations.js.map +1 -0
  136. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/live/protocol.d.ts +16 -0
  137. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/live/protocol.js +90 -0
  138. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/live/protocol.js.map +1 -0
  139. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/live/store.d.ts +25 -0
  140. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/live/store.js +80 -0
  141. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/live/store.js.map +1 -0
  142. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/registry.d.ts +4 -0
  143. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/registry.js +40 -0
  144. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/registry.js.map +1 -0
  145. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/tasks/collect.d.ts +5 -0
  146. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/tasks/collect.js +59 -0
  147. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/tasks/collect.js.map +1 -0
  148. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/tasks/service.d.ts +17 -0
  149. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/tasks/service.js +69 -0
  150. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/tasks/service.js.map +1 -0
  151. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/tasks/store.d.ts +17 -0
  152. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/tasks/store.js +70 -0
  153. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/tasks/store.js.map +1 -0
  154. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/tasks/submissions.d.ts +13 -0
  155. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/tasks/submissions.js +75 -0
  156. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/tasks/submissions.js.map +1 -0
  157. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/usage.d.ts +33 -0
  158. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/usage.js +227 -0
  159. package/node_modules/@fbincon/statusline-cli/dist/src/runtime/usage.js.map +1 -0
  160. package/node_modules/@fbincon/statusline-cli/dist/src/ui/protocol.d.ts +20 -0
  161. package/node_modules/@fbincon/statusline-cli/dist/src/ui/protocol.js +144 -0
  162. package/node_modules/@fbincon/statusline-cli/dist/src/ui/protocol.js.map +1 -0
  163. package/node_modules/@fbincon/statusline-cli/package.json +17 -0
  164. package/node_modules/@fbincon/statusline-cli/resources/statusline-config/SKILL.md +80 -0
  165. package/node_modules/@fbincon/statusline-cli/resources/statusline-configure/SKILL.md +19 -0
  166. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/.claude-plugin/plugin.json +37 -0
  167. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/hooks/hooks.json +6 -0
  168. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/hooks/register.ts +820 -0
  169. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/backend.ts +503 -0
  170. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/client/forms.ts +3 -0
  171. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/client/keys.ts +198 -0
  172. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/client/messages.ts +101 -0
  173. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/client/settings.ts +218 -0
  174. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/appearance.ts +29 -0
  175. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/draft.ts +254 -0
  176. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/forms.ts +167 -0
  177. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/guidance.ts +20 -0
  178. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/import-review.ts +55 -0
  179. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/instances.ts +30 -0
  180. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/navigation.ts +98 -0
  181. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/numeric.ts +42 -0
  182. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/editor/search.ts +114 -0
  183. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/generated-contracts.ts +276 -0
  184. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/generated-unicode.ts +92 -0
  185. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/generated-locales.ts +6842 -0
  186. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/index.ts +40 -0
  187. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/messages.ts +33 -0
  188. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/i18n/presentation.ts +62 -0
  189. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/launch.ts +25 -0
  190. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/preferences.ts +61 -0
  191. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/preview-preferences.ts +8 -0
  192. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/session.ts +124 -0
  193. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/lib/unicode.ts +121 -0
  194. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/resource-manifest.json +47 -0
  195. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/client/draw.ts +159 -0
  196. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/client/help.ts +84 -0
  197. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/client/surface.ts +89 -0
  198. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/components/catalog.ts +23 -0
  199. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/components/preview.ts +45 -0
  200. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/components/section.ts +49 -0
  201. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/components/shortcuts.ts +83 -0
  202. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/layout.ts +49 -0
  203. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/styled-text.ts +56 -0
  204. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/text.ts +23 -0
  205. package/node_modules/@fbincon/statusline-cli/resources/statusline-native/ui/theme.ts +27 -0
  206. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/.claude-plugin/plugin.json +49 -0
  207. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/hooks/hooks.json +1 -0
  208. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/hooks/observe.ts +279 -0
  209. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/lib/checklists.ts +45 -0
  210. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/lib/costs.ts +23 -0
  211. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/lib/generated-contracts.ts +18 -0
  212. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/lib/identity.ts +14 -0
  213. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/lib/launch.ts +25 -0
  214. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/lib/queue.ts +68 -0
  215. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/lib/streams.ts +28 -0
  216. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/lib/timing.ts +11 -0
  217. package/node_modules/@fbincon/statusline-cli/resources/statusline-runtime/resource-manifest.json +19 -0
  218. package/node_modules/@fbincon/statusline-core/dist/src/config/backend-preferences.d.ts +14 -0
  219. package/node_modules/@fbincon/statusline-core/dist/src/config/backend-preferences.js +72 -0
  220. package/node_modules/@fbincon/statusline-core/dist/src/config/backend-preferences.js.map +1 -0
  221. package/node_modules/@fbincon/statusline-core/dist/src/config/catalog-data.d.ts +86 -0
  222. package/node_modules/@fbincon/statusline-core/dist/src/config/catalog-data.js +3462 -0
  223. package/node_modules/@fbincon/statusline-core/dist/src/config/catalog-data.js.map +1 -0
  224. package/node_modules/@fbincon/statusline-core/dist/src/config/catalog.d.ts +10 -0
  225. package/node_modules/@fbincon/statusline-core/dist/src/config/catalog.js +17 -0
  226. package/node_modules/@fbincon/statusline-core/dist/src/config/catalog.js.map +1 -0
  227. package/node_modules/@fbincon/statusline-core/dist/src/config/defaults.d.ts +5 -0
  228. package/node_modules/@fbincon/statusline-core/dist/src/config/defaults.js +19 -0
  229. package/node_modules/@fbincon/statusline-core/dist/src/config/defaults.js.map +1 -0
  230. package/node_modules/@fbincon/statusline-core/dist/src/config/display.d.ts +13 -0
  231. package/node_modules/@fbincon/statusline-core/dist/src/config/display.js +232 -0
  232. package/node_modules/@fbincon/statusline-core/dist/src/config/display.js.map +1 -0
  233. package/node_modules/@fbincon/statusline-core/dist/src/config/draft.d.ts +4 -0
  234. package/node_modules/@fbincon/statusline-core/dist/src/config/draft.js +48 -0
  235. package/node_modules/@fbincon/statusline-core/dist/src/config/draft.js.map +1 -0
  236. package/node_modules/@fbincon/statusline-core/dist/src/config/editor-fields.d.ts +8 -0
  237. package/node_modules/@fbincon/statusline-core/dist/src/config/editor-fields.js +104 -0
  238. package/node_modules/@fbincon/statusline-core/dist/src/config/editor-fields.js.map +1 -0
  239. package/node_modules/@fbincon/statusline-core/dist/src/config/formatting.d.ts +11 -0
  240. package/node_modules/@fbincon/statusline-core/dist/src/config/formatting.js +99 -0
  241. package/node_modules/@fbincon/statusline-core/dist/src/config/formatting.js.map +1 -0
  242. package/node_modules/@fbincon/statusline-core/dist/src/config/generated-constants.d.ts +36 -0
  243. package/node_modules/@fbincon/statusline-core/dist/src/config/generated-constants.js +5 -0
  244. package/node_modules/@fbincon/statusline-core/dist/src/config/generated-constants.js.map +1 -0
  245. package/node_modules/@fbincon/statusline-core/dist/src/config/import-review.d.ts +4 -0
  246. package/node_modules/@fbincon/statusline-core/dist/src/config/import-review.js +80 -0
  247. package/node_modules/@fbincon/statusline-core/dist/src/config/import-review.js.map +1 -0
  248. package/node_modules/@fbincon/statusline-core/dist/src/config/instances.d.ts +29 -0
  249. package/node_modules/@fbincon/statusline-core/dist/src/config/instances.js +159 -0
  250. package/node_modules/@fbincon/statusline-core/dist/src/config/instances.js.map +1 -0
  251. package/node_modules/@fbincon/statusline-core/dist/src/config/presets.d.ts +10 -0
  252. package/node_modules/@fbincon/statusline-core/dist/src/config/presets.js +34 -0
  253. package/node_modules/@fbincon/statusline-core/dist/src/config/presets.js.map +1 -0
  254. package/node_modules/@fbincon/statusline-core/dist/src/config/transfer.d.ts +6 -0
  255. package/node_modules/@fbincon/statusline-core/dist/src/config/transfer.js +23 -0
  256. package/node_modules/@fbincon/statusline-core/dist/src/config/transfer.js.map +1 -0
  257. package/node_modules/@fbincon/statusline-core/dist/src/config/validation.d.ts +15 -0
  258. package/node_modules/@fbincon/statusline-core/dist/src/config/validation.js +55 -0
  259. package/node_modules/@fbincon/statusline-core/dist/src/config/validation.js.map +1 -0
  260. package/node_modules/@fbincon/statusline-core/dist/src/contracts/generated-catalog.d.ts +33 -0
  261. package/node_modules/@fbincon/statusline-core/dist/src/contracts/generated-catalog.js +5 -0
  262. package/node_modules/@fbincon/statusline-core/dist/src/contracts/generated-catalog.js.map +1 -0
  263. package/node_modules/@fbincon/statusline-core/dist/src/contracts/runtime.d.ts +18 -0
  264. package/node_modules/@fbincon/statusline-core/dist/src/contracts/runtime.js +3 -0
  265. package/node_modules/@fbincon/statusline-core/dist/src/contracts/runtime.js.map +1 -0
  266. package/node_modules/@fbincon/statusline-core/dist/src/contracts/ui.d.ts +663 -0
  267. package/node_modules/@fbincon/statusline-core/dist/src/contracts/ui.js +23 -0
  268. package/node_modules/@fbincon/statusline-core/dist/src/contracts/ui.js.map +1 -0
  269. package/node_modules/@fbincon/statusline-core/dist/src/editor/appearance.d.ts +5 -0
  270. package/node_modules/@fbincon/statusline-core/dist/src/editor/appearance.js +27 -0
  271. package/node_modules/@fbincon/statusline-core/dist/src/editor/appearance.js.map +1 -0
  272. package/node_modules/@fbincon/statusline-core/dist/src/editor/backend.d.ts +18 -0
  273. package/node_modules/@fbincon/statusline-core/dist/src/editor/backend.js +401 -0
  274. package/node_modules/@fbincon/statusline-core/dist/src/editor/backend.js.map +1 -0
  275. package/node_modules/@fbincon/statusline-core/dist/src/editor/draft.d.ts +73 -0
  276. package/node_modules/@fbincon/statusline-core/dist/src/editor/draft.js +251 -0
  277. package/node_modules/@fbincon/statusline-core/dist/src/editor/draft.js.map +1 -0
  278. package/node_modules/@fbincon/statusline-core/dist/src/editor/forms.d.ts +26 -0
  279. package/node_modules/@fbincon/statusline-core/dist/src/editor/forms.js +146 -0
  280. package/node_modules/@fbincon/statusline-core/dist/src/editor/forms.js.map +1 -0
  281. package/node_modules/@fbincon/statusline-core/dist/src/editor/guidance.d.ts +3 -0
  282. package/node_modules/@fbincon/statusline-core/dist/src/editor/guidance.js +17 -0
  283. package/node_modules/@fbincon/statusline-core/dist/src/editor/guidance.js.map +1 -0
  284. package/node_modules/@fbincon/statusline-core/dist/src/editor/import-review.d.ts +19 -0
  285. package/node_modules/@fbincon/statusline-core/dist/src/editor/import-review.js +53 -0
  286. package/node_modules/@fbincon/statusline-core/dist/src/editor/import-review.js.map +1 -0
  287. package/node_modules/@fbincon/statusline-core/dist/src/editor/instances.d.ts +4 -0
  288. package/node_modules/@fbincon/statusline-core/dist/src/editor/instances.js +36 -0
  289. package/node_modules/@fbincon/statusline-core/dist/src/editor/instances.js.map +1 -0
  290. package/node_modules/@fbincon/statusline-core/dist/src/editor/navigation.d.ts +37 -0
  291. package/node_modules/@fbincon/statusline-core/dist/src/editor/navigation.js +73 -0
  292. package/node_modules/@fbincon/statusline-core/dist/src/editor/navigation.js.map +1 -0
  293. package/node_modules/@fbincon/statusline-core/dist/src/editor/numeric.d.ts +11 -0
  294. package/node_modules/@fbincon/statusline-core/dist/src/editor/numeric.js +27 -0
  295. package/node_modules/@fbincon/statusline-core/dist/src/editor/numeric.js.map +1 -0
  296. package/node_modules/@fbincon/statusline-core/dist/src/editor/search.d.ts +22 -0
  297. package/node_modules/@fbincon/statusline-core/dist/src/editor/search.js +122 -0
  298. package/node_modules/@fbincon/statusline-core/dist/src/editor/search.js.map +1 -0
  299. package/node_modules/@fbincon/statusline-core/dist/src/editor/text.d.ts +2 -0
  300. package/node_modules/@fbincon/statusline-core/dist/src/editor/text.js +30 -0
  301. package/node_modules/@fbincon/statusline-core/dist/src/editor/text.js.map +1 -0
  302. package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.d.ts +6841 -0
  303. package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.js +6841 -0
  304. package/node_modules/@fbincon/statusline-core/dist/src/i18n/generated-locales.js.map +1 -0
  305. package/node_modules/@fbincon/statusline-core/dist/src/i18n/messages.d.ts +16 -0
  306. package/node_modules/@fbincon/statusline-core/dist/src/i18n/messages.js +38 -0
  307. package/node_modules/@fbincon/statusline-core/dist/src/i18n/messages.js.map +1 -0
  308. package/node_modules/@fbincon/statusline-core/dist/src/i18n/registry.d.ts +3 -0
  309. package/node_modules/@fbincon/statusline-core/dist/src/i18n/registry.js +4 -0
  310. package/node_modules/@fbincon/statusline-core/dist/src/i18n/registry.js.map +1 -0
  311. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/en.d.ts +222 -0
  312. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/en.js +224 -0
  313. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/en.js.map +1 -0
  314. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/ja.d.ts +222 -0
  315. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/ja.js +224 -0
  316. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/ja.js.map +1 -0
  317. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/ko.d.ts +222 -0
  318. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/ko.js +224 -0
  319. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/ko.js.map +1 -0
  320. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-CN.d.ts +222 -0
  321. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-CN.js +224 -0
  322. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-CN.js.map +1 -0
  323. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-Hant.d.ts +222 -0
  324. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-Hant.js +224 -0
  325. package/node_modules/@fbincon/statusline-core/dist/src/i18n/statusline/zh-Hant.js.map +1 -0
  326. package/node_modules/@fbincon/statusline-core/dist/src/integration/binding.d.ts +9 -0
  327. package/node_modules/@fbincon/statusline-core/dist/src/integration/binding.js +27 -0
  328. package/node_modules/@fbincon/statusline-core/dist/src/integration/binding.js.map +1 -0
  329. package/node_modules/@fbincon/statusline-core/dist/src/json-equality.d.ts +2 -0
  330. package/node_modules/@fbincon/statusline-core/dist/src/json-equality.js +31 -0
  331. package/node_modules/@fbincon/statusline-core/dist/src/json-equality.js.map +1 -0
  332. package/node_modules/@fbincon/statusline-core/dist/src/json-read.d.ts +9 -0
  333. package/node_modules/@fbincon/statusline-core/dist/src/json-read.js +137 -0
  334. package/node_modules/@fbincon/statusline-core/dist/src/json-read.js.map +1 -0
  335. package/node_modules/@fbincon/statusline-core/dist/src/json-text.d.ts +9 -0
  336. package/node_modules/@fbincon/statusline-core/dist/src/json-text.js +56 -0
  337. package/node_modules/@fbincon/statusline-core/dist/src/json-text.js.map +1 -0
  338. package/node_modules/@fbincon/statusline-core/dist/src/json.d.ts +18 -0
  339. package/node_modules/@fbincon/statusline-core/dist/src/json.js +165 -0
  340. package/node_modules/@fbincon/statusline-core/dist/src/json.js.map +1 -0
  341. package/node_modules/@fbincon/statusline-core/dist/src/numbers.d.ts +4 -0
  342. package/node_modules/@fbincon/statusline-core/dist/src/numbers.js +47 -0
  343. package/node_modules/@fbincon/statusline-core/dist/src/numbers.js.map +1 -0
  344. package/node_modules/@fbincon/statusline-core/dist/src/ordered-record.d.ts +21 -0
  345. package/node_modules/@fbincon/statusline-core/dist/src/ordered-record.js +105 -0
  346. package/node_modules/@fbincon/statusline-core/dist/src/ordered-record.js.map +1 -0
  347. package/node_modules/@fbincon/statusline-core/dist/src/release.d.ts +7 -0
  348. package/node_modules/@fbincon/statusline-core/dist/src/release.js +14 -0
  349. package/node_modules/@fbincon/statusline-core/dist/src/release.js.map +1 -0
  350. package/node_modules/@fbincon/statusline-core/dist/src/rendering/appearance.d.ts +10 -0
  351. package/node_modules/@fbincon/statusline-core/dist/src/rendering/appearance.js +73 -0
  352. package/node_modules/@fbincon/statusline-core/dist/src/rendering/appearance.js.map +1 -0
  353. package/node_modules/@fbincon/statusline-core/dist/src/rendering/coercion.d.ts +2 -0
  354. package/node_modules/@fbincon/statusline-core/dist/src/rendering/coercion.js +50 -0
  355. package/node_modules/@fbincon/statusline-core/dist/src/rendering/coercion.js.map +1 -0
  356. package/node_modules/@fbincon/statusline-core/dist/src/rendering/colors.d.ts +3 -0
  357. package/node_modules/@fbincon/statusline-core/dist/src/rendering/colors.js +36 -0
  358. package/node_modules/@fbincon/statusline-core/dist/src/rendering/colors.js.map +1 -0
  359. package/node_modules/@fbincon/statusline-core/dist/src/rendering/components.d.ts +10 -0
  360. package/node_modules/@fbincon/statusline-core/dist/src/rendering/components.js +49 -0
  361. package/node_modules/@fbincon/statusline-core/dist/src/rendering/components.js.map +1 -0
  362. package/node_modules/@fbincon/statusline-core/dist/src/rendering/context.d.ts +36 -0
  363. package/node_modules/@fbincon/statusline-core/dist/src/rendering/context.js +2 -0
  364. package/node_modules/@fbincon/statusline-core/dist/src/rendering/context.js.map +1 -0
  365. package/node_modules/@fbincon/statusline-core/dist/src/rendering/formatters.d.ts +10 -0
  366. package/node_modules/@fbincon/statusline-core/dist/src/rendering/formatters.js +58 -0
  367. package/node_modules/@fbincon/statusline-core/dist/src/rendering/formatters.js.map +1 -0
  368. package/node_modules/@fbincon/statusline-core/dist/src/rendering/git.d.ts +7 -0
  369. package/node_modules/@fbincon/statusline-core/dist/src/rendering/git.js +34 -0
  370. package/node_modules/@fbincon/statusline-core/dist/src/rendering/git.js.map +1 -0
  371. package/node_modules/@fbincon/statusline-core/dist/src/rendering/items.d.ts +49 -0
  372. package/node_modules/@fbincon/statusline-core/dist/src/rendering/items.js +399 -0
  373. package/node_modules/@fbincon/statusline-core/dist/src/rendering/items.js.map +1 -0
  374. package/node_modules/@fbincon/statusline-core/dist/src/rendering/language.d.ts +13 -0
  375. package/node_modules/@fbincon/statusline-core/dist/src/rendering/language.js +36 -0
  376. package/node_modules/@fbincon/statusline-core/dist/src/rendering/language.js.map +1 -0
  377. package/node_modules/@fbincon/statusline-core/dist/src/rendering/layout.d.ts +19 -0
  378. package/node_modules/@fbincon/statusline-core/dist/src/rendering/layout.js +176 -0
  379. package/node_modules/@fbincon/statusline-core/dist/src/rendering/layout.js.map +1 -0
  380. package/node_modules/@fbincon/statusline-core/dist/src/rendering/live.d.ts +4 -0
  381. package/node_modules/@fbincon/statusline-core/dist/src/rendering/live.js +29 -0
  382. package/node_modules/@fbincon/statusline-core/dist/src/rendering/live.js.map +1 -0
  383. package/node_modules/@fbincon/statusline-core/dist/src/rendering/metrics.d.ts +13 -0
  384. package/node_modules/@fbincon/statusline-core/dist/src/rendering/metrics.js +93 -0
  385. package/node_modules/@fbincon/statusline-core/dist/src/rendering/metrics.js.map +1 -0
  386. package/node_modules/@fbincon/statusline-core/dist/src/rendering/numeric-format.d.ts +3 -0
  387. package/node_modules/@fbincon/statusline-core/dist/src/rendering/numeric-format.js +46 -0
  388. package/node_modules/@fbincon/statusline-core/dist/src/rendering/numeric-format.js.map +1 -0
  389. package/node_modules/@fbincon/statusline-core/dist/src/rendering/palette.d.ts +23 -0
  390. package/node_modules/@fbincon/statusline-core/dist/src/rendering/palette.js +9 -0
  391. package/node_modules/@fbincon/statusline-core/dist/src/rendering/palette.js.map +1 -0
  392. package/node_modules/@fbincon/statusline-core/dist/src/rendering/powerline.d.ts +10 -0
  393. package/node_modules/@fbincon/statusline-core/dist/src/rendering/powerline.js +76 -0
  394. package/node_modules/@fbincon/statusline-core/dist/src/rendering/powerline.js.map +1 -0
  395. package/node_modules/@fbincon/statusline-core/dist/src/rendering/preferences.d.ts +14 -0
  396. package/node_modules/@fbincon/statusline-core/dist/src/rendering/preferences.js +98 -0
  397. package/node_modules/@fbincon/statusline-core/dist/src/rendering/preferences.js.map +1 -0
  398. package/node_modules/@fbincon/statusline-core/dist/src/rendering/preview.d.ts +67 -0
  399. package/node_modules/@fbincon/statusline-core/dist/src/rendering/preview.js +36 -0
  400. package/node_modules/@fbincon/statusline-core/dist/src/rendering/preview.js.map +1 -0
  401. package/node_modules/@fbincon/statusline-core/dist/src/rendering/spans.d.ts +8 -0
  402. package/node_modules/@fbincon/statusline-core/dist/src/rendering/spans.js +14 -0
  403. package/node_modules/@fbincon/statusline-core/dist/src/rendering/spans.js.map +1 -0
  404. package/node_modules/@fbincon/statusline-core/dist/src/rendering/styles.d.ts +24 -0
  405. package/node_modules/@fbincon/statusline-core/dist/src/rendering/styles.js +116 -0
  406. package/node_modules/@fbincon/statusline-core/dist/src/rendering/styles.js.map +1 -0
  407. package/node_modules/@fbincon/statusline-core/dist/src/rendering/subagents.d.ts +13 -0
  408. package/node_modules/@fbincon/statusline-core/dist/src/rendering/subagents.js +305 -0
  409. package/node_modules/@fbincon/statusline-core/dist/src/rendering/subagents.js.map +1 -0
  410. package/node_modules/@fbincon/statusline-core/dist/src/rendering/timer.d.ts +8 -0
  411. package/node_modules/@fbincon/statusline-core/dist/src/rendering/timer.js +33 -0
  412. package/node_modules/@fbincon/statusline-core/dist/src/rendering/timer.js.map +1 -0
  413. package/node_modules/@fbincon/statusline-core/dist/src/rendering/visibility.d.ts +4 -0
  414. package/node_modules/@fbincon/statusline-core/dist/src/rendering/visibility.js +52 -0
  415. package/node_modules/@fbincon/statusline-core/dist/src/rendering/visibility.js.map +1 -0
  416. package/node_modules/@fbincon/statusline-core/dist/src/runtime/git.d.ts +9 -0
  417. package/node_modules/@fbincon/statusline-core/dist/src/runtime/git.js +115 -0
  418. package/node_modules/@fbincon/statusline-core/dist/src/runtime/git.js.map +1 -0
  419. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/bindings.d.ts +4 -0
  420. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/bindings.js +104 -0
  421. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/bindings.js.map +1 -0
  422. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/model.d.ts +27 -0
  423. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/model.js +196 -0
  424. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/model.js.map +1 -0
  425. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/ownership.d.ts +6 -0
  426. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/ownership.js +45 -0
  427. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/ownership.js.map +1 -0
  428. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/reducer.d.ts +5 -0
  429. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/reducer.js +228 -0
  430. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/reducer.js.map +1 -0
  431. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/requests.d.ts +24 -0
  432. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/requests.js +145 -0
  433. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/requests.js.map +1 -0
  434. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/snapshot.d.ts +6 -0
  435. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/snapshot.js +70 -0
  436. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/snapshot.js.map +1 -0
  437. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/state.d.ts +36 -0
  438. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/state.js +110 -0
  439. package/node_modules/@fbincon/statusline-core/dist/src/runtime/live/state.js.map +1 -0
  440. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/agents.d.ts +8 -0
  441. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/agents.js +75 -0
  442. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/agents.js.map +1 -0
  443. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/hooks.d.ts +10 -0
  444. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/hooks.js +121 -0
  445. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/hooks.js.map +1 -0
  446. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/model.d.ts +43 -0
  447. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/model.js +198 -0
  448. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/model.js.map +1 -0
  449. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/native.d.ts +6 -0
  450. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/native.js +192 -0
  451. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/native.js.map +1 -0
  452. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/transitions.d.ts +16 -0
  453. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/transitions.js +245 -0
  454. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/transitions.js.map +1 -0
  455. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/view.d.ts +4 -0
  456. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/view.js +28 -0
  457. package/node_modules/@fbincon/statusline-core/dist/src/runtime/tasks/view.js.map +1 -0
  458. package/node_modules/@fbincon/statusline-core/dist/src/runtime/transcript.d.ts +26 -0
  459. package/node_modules/@fbincon/statusline-core/dist/src/runtime/transcript.js +183 -0
  460. package/node_modules/@fbincon/statusline-core/dist/src/runtime/transcript.js.map +1 -0
  461. package/node_modules/@fbincon/statusline-core/dist/src/runtime/usage.d.ts +64 -0
  462. package/node_modules/@fbincon/statusline-core/dist/src/runtime/usage.js +263 -0
  463. package/node_modules/@fbincon/statusline-core/dist/src/runtime/usage.js.map +1 -0
  464. package/node_modules/@fbincon/statusline-core/dist/src/runtime/values.d.ts +18 -0
  465. package/node_modules/@fbincon/statusline-core/dist/src/runtime/values.js +103 -0
  466. package/node_modules/@fbincon/statusline-core/dist/src/runtime/values.js.map +1 -0
  467. package/node_modules/@fbincon/statusline-core/dist/src/terminal/key.d.ts +7 -0
  468. package/node_modules/@fbincon/statusline-core/dist/src/terminal/key.js +2 -0
  469. package/node_modules/@fbincon/statusline-core/dist/src/terminal/key.js.map +1 -0
  470. package/node_modules/@fbincon/statusline-core/dist/src/terminal/spans.d.ts +6 -0
  471. package/node_modules/@fbincon/statusline-core/dist/src/terminal/spans.js +50 -0
  472. package/node_modules/@fbincon/statusline-core/dist/src/terminal/spans.js.map +1 -0
  473. package/node_modules/@fbincon/statusline-core/dist/src/timing/sample.d.ts +8 -0
  474. package/node_modules/@fbincon/statusline-core/dist/src/timing/sample.js +13 -0
  475. package/node_modules/@fbincon/statusline-core/dist/src/timing/sample.js.map +1 -0
  476. package/node_modules/@fbincon/statusline-core/dist/src/timing/timer.d.ts +22 -0
  477. package/node_modules/@fbincon/statusline-core/dist/src/timing/timer.js +75 -0
  478. package/node_modules/@fbincon/statusline-core/dist/src/timing/timer.js.map +1 -0
  479. package/node_modules/@fbincon/statusline-core/dist/src/unicode/generated-unicode.d.ts +12 -0
  480. package/node_modules/@fbincon/statusline-core/dist/src/unicode/generated-unicode.js +93 -0
  481. package/node_modules/@fbincon/statusline-core/dist/src/unicode/generated-unicode.js.map +1 -0
  482. package/node_modules/@fbincon/statusline-core/dist/src/unicode/index.d.ts +5 -0
  483. package/node_modules/@fbincon/statusline-core/dist/src/unicode/index.js +178 -0
  484. package/node_modules/@fbincon/statusline-core/dist/src/unicode/index.js.map +1 -0
  485. package/node_modules/@fbincon/statusline-core/package.json +8 -0
  486. package/node_modules/@fbincon/statusline-core/resources/i18n/languages.json +7 -0
  487. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/en.json +1367 -0
  488. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/ja.json +1367 -0
  489. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/ko.json +1367 -0
  490. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/zh-CN.json +1367 -0
  491. package/node_modules/@fbincon/statusline-core/resources/i18n/locales/zh-Hant.json +1367 -0
  492. package/node_modules/@fbincon/statusline-platform/dist/src/architecture.d.ts +15 -0
  493. package/node_modules/@fbincon/statusline-platform/dist/src/architecture.js +22 -0
  494. package/node_modules/@fbincon/statusline-platform/dist/src/architecture.js.map +1 -0
  495. package/node_modules/@fbincon/statusline-platform/dist/src/clocks.d.ts +4 -0
  496. package/node_modules/@fbincon/statusline-platform/dist/src/clocks.js +102 -0
  497. package/node_modules/@fbincon/statusline-platform/dist/src/clocks.js.map +1 -0
  498. package/node_modules/@fbincon/statusline-platform/dist/src/command.d.ts +16 -0
  499. package/node_modules/@fbincon/statusline-platform/dist/src/command.js +18 -0
  500. package/node_modules/@fbincon/statusline-platform/dist/src/command.js.map +1 -0
  501. package/node_modules/@fbincon/statusline-platform/dist/src/commands.d.ts +12 -0
  502. package/node_modules/@fbincon/statusline-platform/dist/src/commands.js +160 -0
  503. package/node_modules/@fbincon/statusline-platform/dist/src/commands.js.map +1 -0
  504. package/node_modules/@fbincon/statusline-platform/dist/src/errors.d.ts +1 -0
  505. package/node_modules/@fbincon/statusline-platform/dist/src/errors.js +19 -0
  506. package/node_modules/@fbincon/statusline-platform/dist/src/errors.js.map +1 -0
  507. package/node_modules/@fbincon/statusline-platform/dist/src/files.d.ts +8 -0
  508. package/node_modules/@fbincon/statusline-platform/dist/src/files.js +164 -0
  509. package/node_modules/@fbincon/statusline-platform/dist/src/files.js.map +1 -0
  510. package/node_modules/@fbincon/statusline-platform/dist/src/hash.d.ts +2 -0
  511. package/node_modules/@fbincon/statusline-platform/dist/src/hash.js +5 -0
  512. package/node_modules/@fbincon/statusline-platform/dist/src/hash.js.map +1 -0
  513. package/node_modules/@fbincon/statusline-platform/dist/src/input.d.ts +2 -0
  514. package/node_modules/@fbincon/statusline-platform/dist/src/input.js +14 -0
  515. package/node_modules/@fbincon/statusline-platform/dist/src/input.js.map +1 -0
  516. package/node_modules/@fbincon/statusline-platform/dist/src/launch.d.ts +12 -0
  517. package/node_modules/@fbincon/statusline-platform/dist/src/launch.js +21 -0
  518. package/node_modules/@fbincon/statusline-platform/dist/src/launch.js.map +1 -0
  519. package/node_modules/@fbincon/statusline-platform/dist/src/line-cursor.d.ts +2 -0
  520. package/node_modules/@fbincon/statusline-platform/dist/src/line-cursor.js +31 -0
  521. package/node_modules/@fbincon/statusline-platform/dist/src/line-cursor.js.map +1 -0
  522. package/node_modules/@fbincon/statusline-platform/dist/src/native.d.ts +15 -0
  523. package/node_modules/@fbincon/statusline-platform/dist/src/native.js +36 -0
  524. package/node_modules/@fbincon/statusline-platform/dist/src/native.js.map +1 -0
  525. package/node_modules/@fbincon/statusline-platform/dist/src/plugin-host.d.ts +17 -0
  526. package/node_modules/@fbincon/statusline-platform/dist/src/plugin-host.js +44 -0
  527. package/node_modules/@fbincon/statusline-platform/dist/src/plugin-host.js.map +1 -0
  528. package/node_modules/@fbincon/statusline-platform/dist/src/presentation.d.ts +4 -0
  529. package/node_modules/@fbincon/statusline-platform/dist/src/presentation.js +48 -0
  530. package/node_modules/@fbincon/statusline-platform/dist/src/presentation.js.map +1 -0
  531. package/node_modules/@fbincon/statusline-platform/dist/src/processes.d.ts +2 -0
  532. package/node_modules/@fbincon/statusline-platform/dist/src/processes.js +67 -0
  533. package/node_modules/@fbincon/statusline-platform/dist/src/processes.js.map +1 -0
  534. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/bridge.d.ts +42 -0
  535. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/bridge.js +180 -0
  536. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/bridge.js.map +1 -0
  537. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/input.d.ts +11 -0
  538. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/input.js +81 -0
  539. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/input.js.map +1 -0
  540. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/launchers.d.ts +32 -0
  541. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/launchers.js +157 -0
  542. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/launchers.js.map +1 -0
  543. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/session.d.ts +18 -0
  544. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/session.js +150 -0
  545. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/session.js.map +1 -0
  546. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/windows-modes.d.ts +6 -0
  547. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/windows-modes.js +39 -0
  548. package/node_modules/@fbincon/statusline-platform/dist/src/terminal/windows-modes.js.map +1 -0
  549. package/node_modules/@fbincon/statusline-platform/dist/src/utf8.d.ts +5 -0
  550. package/node_modules/@fbincon/statusline-platform/dist/src/utf8.js +82 -0
  551. package/node_modules/@fbincon/statusline-platform/dist/src/utf8.js.map +1 -0
  552. package/node_modules/@fbincon/statusline-platform/package.json +8 -0
  553. package/node_modules/@fbincon/statusline-tui/dist/src/drawing.d.ts +14 -0
  554. package/node_modules/@fbincon/statusline-tui/dist/src/drawing.js +230 -0
  555. package/node_modules/@fbincon/statusline-tui/dist/src/drawing.js.map +1 -0
  556. package/node_modules/@fbincon/statusline-tui/dist/src/layout.d.ts +30 -0
  557. package/node_modules/@fbincon/statusline-tui/dist/src/layout.js +34 -0
  558. package/node_modules/@fbincon/statusline-tui/dist/src/layout.js.map +1 -0
  559. package/node_modules/@fbincon/statusline-tui/dist/src/session.d.ts +28 -0
  560. package/node_modules/@fbincon/statusline-tui/dist/src/session.js +126 -0
  561. package/node_modules/@fbincon/statusline-tui/dist/src/session.js.map +1 -0
  562. package/node_modules/@fbincon/statusline-tui/dist/src/state.d.ts +52 -0
  563. package/node_modules/@fbincon/statusline-tui/dist/src/state.js +352 -0
  564. package/node_modules/@fbincon/statusline-tui/dist/src/state.js.map +1 -0
  565. package/node_modules/@fbincon/statusline-tui/dist/src/theme.d.ts +7 -0
  566. package/node_modules/@fbincon/statusline-tui/dist/src/theme.js +5 -0
  567. package/node_modules/@fbincon/statusline-tui/dist/src/theme.js.map +1 -0
  568. package/node_modules/@fbincon/statusline-tui/package.json +16 -0
  569. package/node_modules/@koromix/koffi-darwin-arm64/README.md +6 -0
  570. package/node_modules/@koromix/koffi-darwin-arm64/darwin_arm64/koffi.node +0 -0
  571. package/node_modules/@koromix/koffi-darwin-arm64/index.js +1 -0
  572. package/node_modules/@koromix/koffi-darwin-arm64/package.json +24 -0
  573. package/node_modules/@koromix/koffi-darwin-x64/README.md +6 -0
  574. package/node_modules/@koromix/koffi-darwin-x64/darwin_x64/koffi.node +0 -0
  575. package/node_modules/@koromix/koffi-darwin-x64/index.js +1 -0
  576. package/node_modules/@koromix/koffi-darwin-x64/package.json +24 -0
  577. package/node_modules/@koromix/koffi-linux-x64/README.md +6 -0
  578. package/node_modules/@koromix/koffi-linux-x64/index.js +198 -0
  579. package/node_modules/@koromix/koffi-linux-x64/linux_x64/koffi.node +0 -0
  580. package/node_modules/@koromix/koffi-linux-x64/musl_x64/koffi.node +0 -0
  581. package/node_modules/@koromix/koffi-linux-x64/package.json +24 -0
  582. package/node_modules/@koromix/koffi-win32-x64/README.md +6 -0
  583. package/node_modules/@koromix/koffi-win32-x64/index.js +1 -0
  584. package/node_modules/@koromix/koffi-win32-x64/package.json +24 -0
  585. package/node_modules/@koromix/koffi-win32-x64/win32_x64/koffi.lib +0 -0
  586. package/node_modules/@koromix/koffi-win32-x64/win32_x64/koffi.node +0 -0
  587. package/node_modules/koffi/LICENSE.txt +22 -0
  588. package/node_modules/koffi/README.md +46 -0
  589. package/node_modules/koffi/index.cjs +1 -0
  590. package/node_modules/koffi/index.d.ts +390 -0
  591. package/node_modules/koffi/index.js +2 -0
  592. package/node_modules/koffi/indirect.cjs +1 -0
  593. package/node_modules/koffi/indirect.js +2 -0
  594. package/node_modules/koffi/package.json +73 -0
  595. package/node_modules/koffi/src/koffi/index.cjs +327 -0
  596. package/node_modules/koffi/src/koffi/index.js +312 -0
  597. package/node_modules/koffi/src/koffi/indirect.cjs +326 -0
  598. package/node_modules/koffi/src/koffi/indirect.js +311 -0
  599. package/node_modules/koffi/src/koffi/src/static.cjs +170 -0
  600. package/node_modules/koffi/src/koffi/src/static.js +173 -0
  601. package/node_modules/lossless-json/LICENSE.md +9 -0
  602. package/node_modules/lossless-json/README.md +549 -0
  603. package/node_modules/lossless-json/lib/esm/LosslessNumber.js +92 -0
  604. package/node_modules/lossless-json/lib/esm/LosslessNumber.js.map +1 -0
  605. package/node_modules/lossless-json/lib/esm/config.js +9 -0
  606. package/node_modules/lossless-json/lib/esm/config.js.map +1 -0
  607. package/node_modules/lossless-json/lib/esm/index.js +9 -0
  608. package/node_modules/lossless-json/lib/esm/index.js.map +1 -0
  609. package/node_modules/lossless-json/lib/esm/numberParsers.js +9 -0
  610. package/node_modules/lossless-json/lib/esm/numberParsers.js.map +1 -0
  611. package/node_modules/lossless-json/lib/esm/package.json +3 -0
  612. package/node_modules/lossless-json/lib/esm/parse.js +346 -0
  613. package/node_modules/lossless-json/lib/esm/parse.js.map +1 -0
  614. package/node_modules/lossless-json/lib/esm/revive.js +57 -0
  615. package/node_modules/lossless-json/lib/esm/revive.js.map +1 -0
  616. package/node_modules/lossless-json/lib/esm/reviveDate.js +10 -0
  617. package/node_modules/lossless-json/lib/esm/reviveDate.js.map +1 -0
  618. package/node_modules/lossless-json/lib/esm/stringify.js +166 -0
  619. package/node_modules/lossless-json/lib/esm/stringify.js.map +1 -0
  620. package/node_modules/lossless-json/lib/esm/types.js +2 -0
  621. package/node_modules/lossless-json/lib/esm/types.js.map +1 -0
  622. package/node_modules/lossless-json/lib/esm/utils.js +236 -0
  623. package/node_modules/lossless-json/lib/esm/utils.js.map +1 -0
  624. package/node_modules/lossless-json/lib/types/LosslessNumber.d.ts +40 -0
  625. package/node_modules/lossless-json/lib/types/LosslessNumber.d.ts.map +1 -0
  626. package/node_modules/lossless-json/lib/types/config.d.ts +13 -0
  627. package/node_modules/lossless-json/lib/types/config.d.ts.map +1 -0
  628. package/node_modules/lossless-json/lib/types/index.d.ts +9 -0
  629. package/node_modules/lossless-json/lib/types/index.d.ts.map +1 -0
  630. package/node_modules/lossless-json/lib/types/numberParsers.d.ts +4 -0
  631. package/node_modules/lossless-json/lib/types/numberParsers.d.ts.map +1 -0
  632. package/node_modules/lossless-json/lib/types/parse.d.ts +33 -0
  633. package/node_modules/lossless-json/lib/types/parse.d.ts.map +1 -0
  634. package/node_modules/lossless-json/lib/types/revive.d.ts +13 -0
  635. package/node_modules/lossless-json/lib/types/revive.d.ts.map +1 -0
  636. package/node_modules/lossless-json/lib/types/reviveDate.d.ts +5 -0
  637. package/node_modules/lossless-json/lib/types/reviveDate.d.ts.map +1 -0
  638. package/node_modules/lossless-json/lib/types/stringify.d.ts +37 -0
  639. package/node_modules/lossless-json/lib/types/stringify.d.ts.map +1 -0
  640. package/node_modules/lossless-json/lib/types/types.d.ts +61 -0
  641. package/node_modules/lossless-json/lib/types/types.d.ts.map +1 -0
  642. package/node_modules/lossless-json/lib/types/utils.d.ts +79 -0
  643. package/node_modules/lossless-json/lib/types/utils.d.ts.map +1 -0
  644. package/node_modules/lossless-json/lib/umd/lossless-json.js +1 -0
  645. package/node_modules/lossless-json/lib/umd/lossless-json.js.map +1 -0
  646. package/node_modules/lossless-json/lib/umd/package.json +3 -0
  647. package/node_modules/lossless-json/package.json +89 -0
  648. package/package.json +57 -4
@@ -0,0 +1 @@
1
+ {"version":3,"file":"session.js","sourceRoot":"","sources":["../../src/session.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,+CAA+C,CAAC;AAC7E,OAAO,EAAE,IAAI,EAAE,CAAC,EAAiB,MAAM,wCAAwC,CAAC;AAEhF,OAAO,EAAE,QAAQ,EAAwB,MAAM,+CAA+C,CAAC;AAC/F,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AASzC,MAA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BAClG,OAAO,OAAO,CAAC,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;YACrD,OAAO,MAAM,IAAI,CAAC,IAAI,EAAE,CAAC;QAC7B,CAAC;QACD,OAAO,KAAK,EAAE,CAAC;YACX,IAAI,KAAK,YAAY,aAAa;gBAC9B,OAAO,OAAO,CAAC,aAAa,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;YAC5D,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;YACpB,OAAO,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACxE,CAAC;IACL,CAAC;CACJ"}
@@ -0,0 +1,52 @@
1
+ import { Editor } from '@fbincon/statusline-core/editor/draft';
2
+ import { type FormRow, type SettingRow } from '@fbincon/statusline-core/editor/forms';
3
+ import { type Language, type LocalizedText } from '@fbincon/statusline-core/i18n/messages';
4
+ import type { DescribeResult, ReadResult, PreviewResult, Scope } from '@fbincon/statusline-core/contracts/ui';
5
+ import type { Key } from '@fbincon/statusline-core/terminal/key';
6
+ export type Effect = 'save' | 'cancel' | 'interrupt' | 'language' | 'transfer' | null;
7
+ type Input = {
8
+ kind: 'search';
9
+ original: string;
10
+ selected: string;
11
+ } | {
12
+ kind: 'category';
13
+ selected: string;
14
+ } | {
15
+ kind: 'field' | 'path';
16
+ key: string;
17
+ buffer: string;
18
+ } | {
19
+ kind: 'numeric';
20
+ field: 'padding' | 'refresh_interval';
21
+ before: number | 'event';
22
+ buffer: string;
23
+ };
24
+ export interface Row extends SettingRow {
25
+ kind: 'legacy' | 'action' | 'choice' | 'integer' | 'text' | 'boolean';
26
+ form?: FormRow;
27
+ }
28
+ /** External-editor navigation and drafts. All persistence is supplied by Session. */
29
+ export declare class State {
30
+ language: Language;
31
+ editor: Editor;
32
+ input: Input | null;
33
+ preview: PreviewResult | null;
34
+ message: string;
35
+ localized: {
36
+ message?: LocalizedText;
37
+ };
38
+ pendingLanguage: Language | null;
39
+ scroll: Record<string, number>;
40
+ constructor(description: DescribeResult, current: ReadResult, language?: Language);
41
+ get scope(): Scope;
42
+ get form(): boolean;
43
+ notice(value: string | LocalizedText): void;
44
+ rows(): Row[];
45
+ selectedRow(): Row;
46
+ ensureVisible(height: number): void;
47
+ search(value: string): void;
48
+ adjust(delta: -1 | 1): Effect;
49
+ private numeric;
50
+ key(event: Key, columns?: number, rows?: number): Effect;
51
+ }
52
+ export {};
@@ -0,0 +1,352 @@
1
+ import { Editor, copyDraft } from '@fbincon/statusline-core/editor/draft';
2
+ import { formRows, setFormValue, adjustForm } from '@fbincon/statusline-core/editor/forms';
3
+ import { navigateReview } from '@fbincon/statusline-core/editor/import-review';
4
+ import { graphemes } from '@fbincon/statusline-core/unicode/index';
5
+ import { LANGUAGES, LANGUAGE_NAMES, text } from '@fbincon/statusline-core/i18n/messages';
6
+ import { dimensions, formWindow } from './layout.js';
7
+ const pages = ['main', 'subagents', 'settings', 'layout'];
8
+ const groups = ['Appearance', 'Refresh / behavior', 'Git metrics', 'Formatting', 'Risk colors', 'Subagent visibility', 'Presets / portable files', 'Interface'];
9
+ const backspace = (value) => graphemes(value).slice(0, -1).join('');
10
+ const printable = (key) => !key.ctrl && !key.meta && [...key.key].length === 1 && !/[\p{Cc}\p{Cs}]/u.test(key.key);
11
+ /** External-editor navigation and drafts. All persistence is supplied by Session. */
12
+ export class State {
13
+ language;
14
+ editor;
15
+ input = null;
16
+ preview = null;
17
+ message = '';
18
+ localized = {};
19
+ pendingLanguage = null;
20
+ scroll = {};
21
+ constructor(description, current, language = 'en') {
22
+ this.language = language;
23
+ this.editor = new Editor(description, current);
24
+ }
25
+ get scope() { return this.editor.page === 'subagents' ? 'subagent' : 'main'; }
26
+ get form() { return !!this.editor.detail || ['settings', 'layout'].includes(this.editor.page); }
27
+ notice(value) { this.message = typeof value === 'string' ? value : value.fallback; this.localized = typeof value === 'string' ? {} : { message: value }; }
28
+ rows() {
29
+ const e = this.editor, d = e.draft.display, h = e.draft.host;
30
+ const fields = formRows(this).map(form => ({ ...form, key: form.key === 'layout.mode' ? 'layout-mode' : form.key, form, kind: form.spec.kind }));
31
+ const row = (key, label, value, group, kind = 'legacy') => ({ key, label, value, group, kind, editable: true });
32
+ if (e.detail)
33
+ return [row('item-guidance', 'Sources and requirements', '', 'Item format', 'action'), ...fields];
34
+ if (e.page === 'layout')
35
+ return fields;
36
+ const result = [
37
+ row('colors', 'Use colors', d.use_colors ? 'on' : 'off', 'Appearance'), row('palette', 'Palette', d.palette, 'Appearance'),
38
+ row('directory-style', 'Directory style', d.directory_style, 'Appearance'), row('separator-style', 'Separator style', d.separator_style, 'Appearance'),
39
+ row('padding', 'Padding', e.buffers.padding, 'Refresh / behavior'), row('refresh_interval', 'Refresh interval', e.buffers.refresh_interval, 'Refresh / behavior'),
40
+ row('vim-indicator', 'Built-in Vim indicator', h.hide_vim_mode_indicator ? 'hidden' : 'shown', 'Refresh / behavior'),
41
+ row('scope-labels', 'Scope labels', d.scope_labels, 'Appearance'), row('custom-subagent-rows', 'Custom subagent rows', d.subagents.enabled ? 'on' : 'off', 'Refresh / behavior'),
42
+ ...fields,
43
+ row('preset-select', 'Preset', e.preset, 'Presets / portable files', 'choice'),
44
+ ...['preset-apply', 'import-file', 'export-file'].map(key => row(key, key, '', 'Presets / portable files', 'action')),
45
+ row('ui-language', 'Interface language (saved immediately)', LANGUAGE_NAMES[this.language], 'Interface', 'choice'),
46
+ ];
47
+ return result.sort((a, b) => groups.indexOf(a.group) - groups.indexOf(b.group));
48
+ }
49
+ selectedRow() { const rows = this.rows(); return rows.find(row => row.key === this.editor.setting) ?? rows[0]; }
50
+ ensureVisible(height) {
51
+ const e = this.editor, slot = this.form ? e.detail ? 'detail' : e.page : this.scope;
52
+ if (this.form) {
53
+ const rows = this.rows(), index = Math.max(0, rows.findIndex(row => row.key === e.setting));
54
+ e.setting = rows[index]?.key ?? '';
55
+ this.scroll[slot] = formWindow(rows, index, this.scroll[slot] ?? 0, height).start;
56
+ }
57
+ else {
58
+ const ids = e.visible(this.scope).map(row => row.id), index = Math.max(0, ids.indexOf(e.selected[this.scope]));
59
+ e.selected[this.scope] = ids[index] ?? '';
60
+ const start = this.scroll[slot] ?? 0;
61
+ this.scroll[slot] = Math.max(0, Math.min(start, index, Math.max(0, ids.length - height)));
62
+ if (index >= this.scroll[slot] + height)
63
+ this.scroll[slot] = index - height + 1;
64
+ }
65
+ }
66
+ search(value) { this.editor.filter(this.scope, [...value].slice(0, 256).join('')); }
67
+ adjust(delta) {
68
+ const e = this.editor, row = this.selectedRow(), d = e.draft.display;
69
+ if (row.form) {
70
+ adjustForm(this, row.form, delta);
71
+ return null;
72
+ }
73
+ const cycle = (values, value) => values[(values.indexOf(value) + delta + values.length) % values.length];
74
+ switch (row.key) {
75
+ case 'ui-language':
76
+ this.pendingLanguage = cycle(LANGUAGES, this.language);
77
+ return 'language';
78
+ case 'preset-select':
79
+ e.preset = cycle(e.description.presets.map(p => p.id), e.preset);
80
+ break;
81
+ case 'colors':
82
+ d.use_colors = !d.use_colors;
83
+ break;
84
+ case 'palette':
85
+ d.palette = cycle(e.description.options.palette.choices, d.palette);
86
+ break;
87
+ case 'directory-style':
88
+ d.directory_style = cycle(e.description.options['directory-style'].choices, d.directory_style);
89
+ break;
90
+ case 'separator-style':
91
+ d.separator_style = cycle(e.description.options['separator-style'].choices, d.separator_style);
92
+ break;
93
+ case 'scope-labels':
94
+ d.scope_labels = cycle(e.description.options['scope-labels'].choices, d.scope_labels);
95
+ break;
96
+ case 'vim-indicator':
97
+ e.draft.host.hide_vim_mode_indicator = !e.draft.host.hide_vim_mode_indicator;
98
+ break;
99
+ case 'custom-subagent-rows':
100
+ d.subagents.enabled = !d.subagents.enabled;
101
+ break;
102
+ case 'padding':
103
+ e.draft.host.padding = Math.max(0, Math.min(32, e.draft.host.padding + delta));
104
+ e.cancelNumeric('padding');
105
+ break;
106
+ case 'refresh_interval': {
107
+ const current = e.draft.host.refresh_interval;
108
+ const choices = ['event', ...[...new Set([1, 2, 5, 10, 30, 60, 300, 600, 3600, ...(current === 'event' ? [] : [current])])].sort((a, b) => a - b)];
109
+ e.draft.host.refresh_interval = cycle(choices, current);
110
+ e.cancelNumeric('refresh_interval');
111
+ break;
112
+ }
113
+ }
114
+ return null;
115
+ }
116
+ numeric(field, value) {
117
+ const e = this.editor;
118
+ if (this.input?.kind !== 'numeric')
119
+ this.input = { kind: 'numeric', field, before: e.draft.host[field], buffer: '' };
120
+ const input = this.input;
121
+ input.buffer = value;
122
+ e.setBuffer(field, value);
123
+ // Preserve the last valid number while showing an invalid partial edit.
124
+ if (e.acceptNumeric(field)) {
125
+ e.setBuffer(field, value);
126
+ this.notice('');
127
+ }
128
+ else
129
+ this.notice(e.fieldErrorMessages[field] ?? e.fieldErrors[field] ?? '');
130
+ }
131
+ key(event, columns = 80, rows = 24) {
132
+ const e = this.editor, k = event.key, ctrl = event.ctrl === true, cancel = k === 'escape' || (ctrl && k === 'g');
133
+ const size = dimensions(columns, rows), height = size.listHeight;
134
+ if (ctrl && k === 'c')
135
+ return 'interrupt';
136
+ if (!size.available)
137
+ return k === 'escape' ? 'cancel' : null;
138
+ if (event.paste && !this.input && this.form)
139
+ return null;
140
+ if (e.review) {
141
+ if (cancel || (!ctrl && k.toLowerCase() === 'q')) {
142
+ e.review = null;
143
+ this.notice(text('review.cancelled'));
144
+ }
145
+ else if (!ctrl && k.toLowerCase() === 'a') {
146
+ e.replaceDraft(copyDraft(e.review.result.draft));
147
+ this.notice(text('review.accepted'));
148
+ }
149
+ else if (!ctrl)
150
+ navigateReview(e.review, k, this.language, size.content.innerWidth, size.content.innerHeight - 1);
151
+ return null;
152
+ }
153
+ if (e.guidanceScroll !== null) {
154
+ if (cancel) {
155
+ e.guidanceScroll = null;
156
+ if (e.adding)
157
+ e.detail = null;
158
+ }
159
+ else if (k === 'up' || k === 'pageup')
160
+ e.guidanceScroll = Math.max(0, e.guidanceScroll - (k === 'up' ? 1 : height));
161
+ else if (k === 'down' || k === 'pagedown')
162
+ e.guidanceScroll += k === 'down' ? 1 : height;
163
+ else if (k === 'home')
164
+ e.guidanceScroll = 0;
165
+ else if (k === 'end')
166
+ e.guidanceScroll = 1000000;
167
+ return null;
168
+ }
169
+ const input = this.input;
170
+ if (input) {
171
+ if (cancel) {
172
+ if (input.kind === 'search') {
173
+ e.filter(this.scope, input.original);
174
+ e.selected[this.scope] = input.selected;
175
+ }
176
+ if (input.kind === 'numeric') {
177
+ if (input.field === 'padding')
178
+ e.draft.host.padding = input.before;
179
+ else
180
+ e.draft.host.refresh_interval = input.before;
181
+ e.cancelNumeric(input.field);
182
+ }
183
+ this.input = null;
184
+ this.notice('');
185
+ return null;
186
+ }
187
+ if (input.kind === 'category') {
188
+ const categories = e.categories(this.scope), index = categories.indexOf(input.selected);
189
+ if (k === 'return') {
190
+ e.chooseCategory(this.scope, input.selected);
191
+ this.input = null;
192
+ }
193
+ else if (['up', 'left', 'down', 'right', 'home', 'pageup', 'end', 'pagedown'].includes(k))
194
+ input.selected = categories[k === 'home' || k === 'pageup' ? 0 : k === 'end' || k === 'pagedown' ? categories.length - 1 : Math.max(0, Math.min(categories.length - 1, index + (k === 'up' || k === 'left' ? -1 : 1)))];
195
+ }
196
+ else if (input.kind === 'search') {
197
+ if (k === 'return')
198
+ this.input = null;
199
+ else if (ctrl && k === 'u')
200
+ this.search('');
201
+ else if (k === 'backspace')
202
+ this.search(backspace(e.search[this.scope]));
203
+ else if (printable(event))
204
+ this.search(e.search[this.scope] + k);
205
+ }
206
+ else if (input.kind === 'numeric') {
207
+ if (k === 'return' && e.acceptNumeric(input.field)) {
208
+ this.input = null;
209
+ this.notice('');
210
+ }
211
+ else if (k === 'backspace')
212
+ this.numeric(input.field, input.buffer.slice(0, -1));
213
+ else if (!ctrl && /^\d$/u.test(k) && input.buffer.length < 32)
214
+ this.numeric(input.field, input.buffer + k);
215
+ }
216
+ else {
217
+ if (ctrl && k === 'u')
218
+ input.buffer = '';
219
+ else if (k === 'backspace' || k === 'delete')
220
+ input.buffer = backspace(input.buffer);
221
+ else if (k === 'return') {
222
+ if (input.kind === 'path') {
223
+ if (!input.buffer.trim()) {
224
+ this.notice(text('native.lib.client.keys.enter_a_file_path'));
225
+ return null;
226
+ }
227
+ e.path = input.buffer;
228
+ e.pendingTransfer = input.key === 'import-file' ? 'import' : 'export';
229
+ this.input = null;
230
+ return 'transfer';
231
+ }
232
+ const field = this.rows().find(row => row.key === input.key)?.form;
233
+ if (field && setFormValue(this, field, input.buffer)) {
234
+ this.input = null;
235
+ this.notice('');
236
+ }
237
+ }
238
+ else if (printable(event) && [...input.buffer].length < 4096)
239
+ input.buffer += k;
240
+ }
241
+ this.ensureVisible(height);
242
+ return null;
243
+ }
244
+ if (e.adding && cancel) {
245
+ e.closePicker(this.scope);
246
+ return null;
247
+ }
248
+ if (ctrl && k === 'g' && e.detail) {
249
+ e.detail = null;
250
+ return null;
251
+ }
252
+ if (!this.form) {
253
+ if (ctrl && k === 'a' && !e.adding) {
254
+ e.openPicker(this.scope);
255
+ return null;
256
+ }
257
+ if (ctrl && (k === 'd' || k === 'x') && !e.adding) {
258
+ if (!e.instanceAction(this.scope, k === 'd' ? 'copy' : 'remove'))
259
+ this.notice(text('composition.invalid'));
260
+ this.ensureVisible(height);
261
+ return null;
262
+ }
263
+ if (ctrl && k === 'f') {
264
+ this.input = { kind: 'category', selected: e.category[this.scope] };
265
+ return null;
266
+ }
267
+ if (k === '/') {
268
+ this.input = { kind: 'search', original: e.search[this.scope], selected: e.selected[this.scope] };
269
+ return null;
270
+ }
271
+ if (ctrl && k === 'e' && e.selected[this.scope]) {
272
+ e.detail = { scope: this.scope, id: e.selected[this.scope] };
273
+ e.setting = 'item:label';
274
+ if (e.adding)
275
+ e.guidanceScroll = 0;
276
+ return null;
277
+ }
278
+ if (e.adding && k === 'return') {
279
+ if (!e.toggle(this.scope, e.selected[this.scope]))
280
+ this.notice(text('composition.invalid'));
281
+ return null;
282
+ }
283
+ }
284
+ if (ctrl && k === 's')
285
+ return 'save';
286
+ if (k === 'escape')
287
+ return 'cancel';
288
+ if (k === 'return') {
289
+ if (!this.form || this.selectedRow().kind === 'legacy')
290
+ return 'save';
291
+ const row = this.selectedRow();
292
+ if (row.key === 'item-guidance')
293
+ e.guidanceScroll = 0;
294
+ else if (row.key === 'preset-apply') {
295
+ e.pendingTransfer = 'preset';
296
+ return 'transfer';
297
+ }
298
+ else if (row.key === 'import-file' || row.key === 'export-file')
299
+ this.input = { kind: 'path', key: row.key, buffer: e.path };
300
+ else if (row.kind === 'integer' || row.kind === 'text')
301
+ this.input = { kind: 'field', key: row.key, buffer: row.value };
302
+ else
303
+ return this.adjust(1);
304
+ return null;
305
+ }
306
+ if (k === 'tab' && !e.adding) {
307
+ e.page = pages[(pages.indexOf(e.page) + (event.shift ? 3 : 1)) % 4];
308
+ e.detail = null;
309
+ }
310
+ else if (['up', 'down', 'home', 'end', 'pageup', 'pagedown'].includes(k)) {
311
+ const ids = this.form ? this.rows().map(row => row.key) : e.visible(this.scope).map(row => row.id);
312
+ let index = Math.max(0, ids.indexOf(this.form ? e.setting : e.selected[this.scope]));
313
+ index = k === 'home' ? 0 : k === 'end' ? ids.length - 1 : index + (k === 'up' || k === 'pageup' ? -1 : 1) * (k === 'pageup' || k === 'pagedown' ? height : 1);
314
+ const next = ids[Math.max(0, Math.min(ids.length - 1, index))] ?? '';
315
+ if (this.form)
316
+ e.setting = next;
317
+ else
318
+ e.selected[this.scope] = next;
319
+ }
320
+ else if (k === 'left' || k === 'right' || k === ' ') {
321
+ if (this.form) {
322
+ const effect = this.adjust(k === 'left' ? -1 : 1);
323
+ if (effect)
324
+ return effect;
325
+ }
326
+ else if (!(k === ' ' ? e.toggle(this.scope, e.selected[this.scope]) : e.move(this.scope, k === 'left' ? -1 : 1))) {
327
+ if (e.visible(this.scope).length)
328
+ this.notice(text(e.filtered(this.scope) && k !== ' ' ? 'catalog.search.order_disabled' : 'composition.invalid'));
329
+ }
330
+ }
331
+ else if (!this.form) {
332
+ if (ctrl && k === 'u')
333
+ this.search('');
334
+ else if (k === 'backspace')
335
+ this.search(backspace(e.search[this.scope]));
336
+ else if (printable(event))
337
+ this.search(e.search[this.scope] + k);
338
+ }
339
+ else if (!e.detail && e.page === 'settings' && !ctrl) {
340
+ const row = this.selectedRow();
341
+ if (k === 'e' && row.key === 'refresh_interval') {
342
+ e.draft.host.refresh_interval = 'event';
343
+ e.cancelNumeric('refresh_interval');
344
+ }
345
+ else if (/^\d$/u.test(k) && (row.key === 'padding' || row.key === 'refresh_interval'))
346
+ this.numeric(row.key, k);
347
+ }
348
+ this.ensureVisible(height);
349
+ return null;
350
+ }
351
+ }
352
+ //# sourceMappingURL=state.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../src/state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAiC,MAAM,uCAAuC,CAAC;AAC1H,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,IAAI,EAAqC,MAAM,wCAAwC,CAAC;AAG5H,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAuBrD,MAAM,KAAK,GAAG,CAAC,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,CAAU,CAAC;AACnE,MAAM,MAAM,GAAG,CAAC,YAAY,EAAE,oBAAoB,EAAE,aAAa,EAAE,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,WAAW,CAAC,CAAC;AAChK,MAAM,SAAS,GAAG,CAAC,K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AC;CACJ"}
@@ -0,0 +1,7 @@
1
+ import type { Span } from '@fbincon/statusline-core/contracts/ui';
2
+ export interface Paint extends Span {
3
+ reverse?: boolean;
4
+ }
5
+ /** Terminal-owned surfaces; ANSI cyan is the sole chrome accent. */
6
+ export declare const paint: (text: string, bold?: boolean, reverse?: boolean) => Paint;
7
+ export declare const heading: (text: string, reverse?: boolean) => Paint;
@@ -0,0 +1,5 @@
1
+ /** Terminal-owned surfaces; ANSI cyan is the sole chrome accent. */
2
+ export const paint = (text, bold = false, reverse = false) => ({ text, bold, reverse, foreground: null, background: null });
3
+ const cyan = { kind: 'ansi', value: 6 };
4
+ export const heading = (text, reverse = false) => ({ ...paint(text, true, reverse), foreground: cyan });
5
+ //# sourceMappingURL=theme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.js","sourceRoot":"","sources":["../../src/theme.ts"],"names":[],"mappings":"AAMA,oEAAoE;AACpE,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,IAAY,EAAE,IAAI,GAAG,KAAK,EAAE,OAAO,GAAG,KAAK,EAAS,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC;AAC3I,MAAM,IAAI,GAAG,EAAE,IAAI,EAAE,MAAe,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;AACjD,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,IAAY,EAAE,OAAO,GAAG,KAAK,EAAS,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC"}
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "@fbincon/statusline-tui",
3
+ "version": "0.0.0",
4
+ "private": true,
5
+ "type": "module",
6
+ "exports": {
7
+ "./*": {
8
+ "types": "./dist/src/*.d.ts",
9
+ "import": "./dist/src/*.js"
10
+ }
11
+ },
12
+ "dependencies": {
13
+ "@fbincon/statusline-core": "0.0.0",
14
+ "@fbincon/statusline-platform": "0.0.0"
15
+ }
16
+ }
@@ -0,0 +1,6 @@
1
+ # @koromix/koffi-darwin-arm64
2
+
3
+ This contains the darwin-arm64 binaries for [Koffi](https://koffi.dev), a fast and and easy-to-use dynamic C FFI (foreign function interface) module for Node.js.
4
+
5
+ > [!NOTE]
6
+ > Do not install this package directly, use `npm install koffi` instead.
@@ -0,0 +1 @@
1
+ module.exports = require('./darwin_arm64/koffi.node');
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "@koromix/koffi-darwin-arm64",
3
+ "version": "3.3.3",
4
+ "description": "Fast and easy-to-use dynamic C FFI (foreign function interface) for Node.js (@koromix/koffi-darwin-arm64)",
5
+ "author": {
6
+ "name": "Niels Martignène",
7
+ "email": "niels.martignene@protonmail.com",
8
+ "url": "https://koromix.dev/"
9
+ },
10
+ "homepage": "https://koffi.dev/",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/Koromix/koffi"
14
+ },
15
+ "license": "MIT",
16
+ "funding": "https://liberapay.com/Koromix",
17
+ "main": "./index.js",
18
+ "os": [
19
+ "darwin"
20
+ ],
21
+ "cpu": [
22
+ "arm64"
23
+ ]
24
+ }
@@ -0,0 +1,6 @@
1
+ # @koromix/koffi-darwin-x64
2
+
3
+ This contains the darwin-x64 binaries for [Koffi](https://koffi.dev), a fast and and easy-to-use dynamic C FFI (foreign function interface) module for Node.js.
4
+
5
+ > [!NOTE]
6
+ > Do not install this package directly, use `npm install koffi` instead.
@@ -0,0 +1 @@
1
+ module.exports = require('./darwin_x64/koffi.node');
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "@koromix/koffi-darwin-x64",
3
+ "version": "3.3.3",
4
+ "description": "Fast and easy-to-use dynamic C FFI (foreign function interface) for Node.js (@koromix/koffi-darwin-x64)",
5
+ "author": {
6
+ "name": "Niels Martignène",
7
+ "email": "niels.martignene@protonmail.com",
8
+ "url": "https://koromix.dev/"
9
+ },
10
+ "homepage": "https://koffi.dev/",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/Koromix/koffi"
14
+ },
15
+ "license": "MIT",
16
+ "funding": "https://liberapay.com/Koromix",
17
+ "main": "./index.js",
18
+ "os": [
19
+ "darwin"
20
+ ],
21
+ "cpu": [
22
+ "x64"
23
+ ]
24
+ }
@@ -0,0 +1,6 @@
1
+ # @koromix/koffi-linux-x64
2
+
3
+ This contains the linux-x64 binaries for [Koffi](https://koffi.dev), a fast and and easy-to-use dynamic C FFI (foreign function interface) module for Node.js.
4
+
5
+ > [!NOTE]
6
+ > Do not install this package directly, use `npm install koffi` instead.