@pellux/goodvibes-tui 0.19.24 → 0.19.25

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 (68) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/README.md +5 -5
  3. package/bin/goodvibes +5 -0
  4. package/bin/goodvibes-daemon +5 -0
  5. package/docs/foundation-artifacts/operator-contract.json +1 -1
  6. package/package.json +2 -2
  7. package/src/cli/completion.ts +89 -0
  8. package/src/cli/config-overrides.ts +159 -0
  9. package/src/cli/endpoints.ts +63 -0
  10. package/src/cli/entrypoint.ts +155 -0
  11. package/src/cli/help.ts +122 -0
  12. package/src/cli/index.ts +8 -0
  13. package/src/cli/management-commands.ts +576 -0
  14. package/src/cli/management.ts +693 -0
  15. package/src/cli/parser.ts +367 -0
  16. package/src/cli/status.ts +112 -0
  17. package/src/cli/tui-startup.ts +32 -0
  18. package/src/cli/types.ts +63 -0
  19. package/src/cli-flags.ts +17 -55
  20. package/src/config/index.ts +1 -1
  21. package/src/config/secrets.ts +44 -0
  22. package/src/daemon/cli.ts +62 -11
  23. package/src/input/command-registry.ts +3 -0
  24. package/src/input/commands/guidance-runtime.ts +9 -4
  25. package/src/input/commands/local-runtime.ts +21 -7
  26. package/src/input/commands/local-setup.ts +31 -38
  27. package/src/input/commands/onboarding-runtime.ts +14 -0
  28. package/src/input/commands/runtime-services.ts +9 -0
  29. package/src/input/commands.ts +2 -0
  30. package/src/input/feed-context-factory.ts +8 -1
  31. package/src/input/handler-feed.ts +13 -8
  32. package/src/input/handler-interactions.ts +266 -0
  33. package/src/input/handler-modal-stack.ts +23 -3
  34. package/src/input/handler-modal-token-routes.ts +23 -1
  35. package/src/input/handler-onboarding.ts +696 -0
  36. package/src/input/handler-picker-routes.ts +15 -7
  37. package/src/input/handler-ui-state.ts +58 -0
  38. package/src/input/handler.ts +120 -246
  39. package/src/input/onboarding/handler-onboarding-routes.ts +105 -0
  40. package/src/input/onboarding/onboarding-wizard-apply.ts +211 -0
  41. package/src/input/onboarding/onboarding-wizard-constants.ts +148 -0
  42. package/src/input/onboarding/onboarding-wizard-external-surfaces.ts +712 -0
  43. package/src/input/onboarding/onboarding-wizard-helpers.ts +218 -0
  44. package/src/input/onboarding/onboarding-wizard-rules.ts +224 -0
  45. package/src/input/onboarding/onboarding-wizard-state.ts +354 -0
  46. package/src/input/onboarding/onboarding-wizard-steps.ts +642 -0
  47. package/src/input/onboarding/onboarding-wizard-types.ts +170 -0
  48. package/src/input/onboarding/onboarding-wizard.ts +594 -0
  49. package/src/main.ts +32 -39
  50. package/src/panels/builtin/operations.ts +0 -10
  51. package/src/panels/index.ts +0 -1
  52. package/src/renderer/conversation-overlays.ts +6 -0
  53. package/src/renderer/help-overlay.ts +1 -1
  54. package/src/renderer/onboarding/onboarding-wizard.ts +533 -0
  55. package/src/runtime/bootstrap-core.ts +1 -0
  56. package/src/runtime/bootstrap.ts +123 -0
  57. package/src/runtime/onboarding/apply.ts +685 -0
  58. package/src/runtime/onboarding/derivation.ts +495 -0
  59. package/src/runtime/onboarding/index.ts +7 -0
  60. package/src/runtime/onboarding/markers.ts +161 -0
  61. package/src/runtime/onboarding/snapshot.ts +400 -0
  62. package/src/runtime/onboarding/state.ts +140 -0
  63. package/src/runtime/onboarding/types.ts +402 -0
  64. package/src/runtime/onboarding/verify.ts +233 -0
  65. package/src/runtime/ui-services.ts +16 -0
  66. package/src/shell/ui-openers.ts +12 -2
  67. package/src/version.ts +1 -1
  68. package/src/panels/welcome-panel.ts +0 -64
package/src/version.ts CHANGED
@@ -6,7 +6,7 @@ import { join } from 'node:path';
6
6
  // The prebuild script updates the fallback value before compilation.
7
7
  // Uses import.meta.dir (Bun) to locate package.json relative to this file,
8
8
  // which is correct regardless of the process working directory.
9
- let _version = '0.19.24';
9
+ let _version = '0.19.25';
10
10
  try {
11
11
  const pkg = JSON.parse(readFileSync(join(import.meta.dir, '..', 'package.json'), 'utf-8'));
12
12
  _version = pkg.version ?? _version;
@@ -1,64 +0,0 @@
1
- import type { Line } from '../types/grid.ts';
2
- import { BasePanel } from './base-panel.ts';
3
- import { buildGuidanceLine, buildPanelLine, buildPanelWorkspace, DEFAULT_PANEL_PALETTE } from './polish.ts';
4
-
5
- const C = {
6
- ...DEFAULT_PANEL_PALETTE,
7
- header: '#f8fafc',
8
- headerBg: '#1e293b',
9
- label: '#93c5fd',
10
- good: '#22c55e',
11
- empty: '#475569',
12
- } as const;
13
-
14
- export class WelcomePanel extends BasePanel {
15
- public constructor() {
16
- super('welcome', 'Welcome', 'W', 'monitoring');
17
- }
18
-
19
- public render(width: number, height: number): Line[] {
20
- this.needsRender = false;
21
- return buildPanelWorkspace(width, height, {
22
- title: 'Welcome To GoodVibes',
23
- intro: 'Local-first operator shell for setup, trust, orchestration, ecosystem, and self-hosted remote work.',
24
- palette: C,
25
- sections: [
26
- {
27
- lines: [buildGuidanceLine(width, '/cockpit', 'open the unified control room first if you want a complete runtime overview', C)],
28
- },
29
- {
30
- title: 'Quick Start',
31
- lines: [
32
- buildGuidanceLine(width, '/setup onboarding', 'first-run checklist, doctor, and environment posture', C),
33
- buildGuidanceLine(width, '/login provider <name> start', 'begin a supported provider auth flow from the product front door', C),
34
- buildGuidanceLine(width, '/subscription', 'review stored provider sessions and active subscription-backed routes', C),
35
- buildGuidanceLine(width, '/sandbox review', 'inspect VM isolation posture, presets, and Windows/WSL mode', C),
36
- ],
37
- },
38
- {
39
- title: 'Operate',
40
- lines: [
41
- buildGuidanceLine(width, '/marketplace open', 'browse curated plugins, skills, hook packs, and policy packs', C),
42
- buildGuidanceLine(width, '/remote-setup', 'review bridge, tunnel, env, bootstrap, and runner-pool flows', C),
43
- buildGuidanceLine(width, '/runner-pool list', 'inspect remote runner pools and dispatch posture', C),
44
- buildGuidanceLine(width, '/teleport export <path>', 'package a portable remote-session handoff bundle', C),
45
- buildGuidanceLine(width, '/security', 'review trust posture, approval pressure, and incidents', C),
46
- buildGuidanceLine(width, '/cockpit', 'open the unified operator control room', C),
47
- ],
48
- },
49
- {
50
- title: 'Advanced',
51
- lines: [
52
- buildGuidanceLine(width, '/hooks', 'author, simulate, and import hook workflows', C),
53
- buildGuidanceLine(width, '/memory-review queue', 'review project and team memory, handoffs, and evidence', C),
54
- buildGuidanceLine(width, '/team-memory export <path>', 'package a team handoff bundle for shared-memory transfer', C),
55
- buildGuidanceLine(width, '/release checklist', 'run certification checks and export evidence bundles', C),
56
- ],
57
- },
58
- ],
59
- footerLines: [
60
- buildPanelLine(width, [[' This surface stays intentionally short so the real control rooms stay authoritative.', C.good]]),
61
- ],
62
- });
63
- }
64
- }