pilotswarm 0.5.22 → 0.5.24

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 (83) hide show
  1. package/package.json +2 -1
  2. package/tui/src/node-sdk-transport.js +22 -5
  3. package/ui/core/src/controller.js +329 -6
  4. package/ui/core/src/formatting.js +46 -1
  5. package/ui/core/src/history.js +29 -0
  6. package/ui/core/src/reducer.js +52 -2
  7. package/ui/core/src/selectors.js +288 -11
  8. package/ui/core/src/state.js +12 -1
  9. package/ui/core/src/themes/github-light.js +5 -1
  10. package/ui/core/src/themes/index.js +4 -0
  11. package/ui/core/src/themes/light-high-contrast.js +4 -1
  12. package/ui/core/src/themes/ms-dos.js +84 -0
  13. package/ui/core/src/themes/win95.js +81 -0
  14. package/ui/react/src/web-app.js +1342 -84
  15. package/web/dist/assets/abnfDiagram-VRR7QNED-Bjz_3uNq.js +1 -0
  16. package/web/dist/assets/arc-a3km8Cfi.js +1 -0
  17. package/web/dist/assets/architectureDiagram-ZJ3FMSHR-4twPAKdk.js +36 -0
  18. package/web/dist/assets/blockDiagram-677ZJIJ3-FnFRjWxr.js +132 -0
  19. package/web/dist/assets/c4Diagram-LMCZKHZV-B8R4iXqh.js +10 -0
  20. package/web/dist/assets/channel-BQwFhqIW.js +1 -0
  21. package/web/dist/assets/chunk-2Q5K7J3B-C7dcVQSj.js +1 -0
  22. package/web/dist/assets/chunk-32BRIVSS-DQQ_NOog.js +1 -0
  23. package/web/dist/assets/chunk-5VM5RSS4-BRR5_oWJ.js +15 -0
  24. package/web/dist/assets/chunk-EX3LRPZG-C0Jg_k6w.js +231 -0
  25. package/web/dist/assets/chunk-JWPE2WC7-CoHkckoP.js +1 -0
  26. package/web/dist/assets/chunk-MOJQB5TN-CTIj5Opw.js +88 -0
  27. package/web/dist/assets/chunk-RYQCIY6F-BsP4OCo4.js +1 -0
  28. package/web/dist/assets/chunk-V7JOEXUC-B5KS36_O.js +206 -0
  29. package/web/dist/assets/chunk-VR4S4FIN-Dm92_7ut.js +1 -0
  30. package/web/dist/assets/chunk-XXDRQBXY-BGivbXmv.js +1 -0
  31. package/web/dist/assets/classDiagram-OUVF2IWQ-C12RKvcF.js +1 -0
  32. package/web/dist/assets/classDiagram-v2-EOCWNBFH-C12RKvcF.js +1 -0
  33. package/web/dist/assets/cose-bilkent-JH36ORCC-DVjdL84y.js +1 -0
  34. package/web/dist/assets/cynefin-VYW2F7L2-pcKhk42O.js +166 -0
  35. package/web/dist/assets/cynefinDiagram-TSTJHNR4-CdHQXyCH.js +62 -0
  36. package/web/dist/assets/cytoscape.esm-D3_iZ_3b.js +321 -0
  37. package/web/dist/assets/dagre-VKFMJZFB-Okt50Noy.js +4 -0
  38. package/web/dist/assets/defaultLocale-DX6XiGOO.js +1 -0
  39. package/web/dist/assets/diagram-FQU43EPY-D52R5ow3.js +3 -0
  40. package/web/dist/assets/diagram-G47NLZAW-KiJTa2OF.js +24 -0
  41. package/web/dist/assets/diagram-NH7WQ7WH-DZ-NFYLH.js +24 -0
  42. package/web/dist/assets/diagram-OA4YK3LP-et-Lf7yH.js +30 -0
  43. package/web/dist/assets/diagram-WEI45ONY-eXhZ7Ksl.js +41 -0
  44. package/web/dist/assets/ebnfDiagram-CCIWWBDH-CTWYusI0.js +1 -0
  45. package/web/dist/assets/erDiagram-Q63AITRT-DwTN2EqF.js +85 -0
  46. package/web/dist/assets/flowDiagram-23GEKE2U-CmxOIpNk.js +156 -0
  47. package/web/dist/assets/ganttDiagram-NO4QXBWP-TsPnDFPN.js +292 -0
  48. package/web/dist/assets/gitGraphDiagram-IHSO6WYX-B_IVM0u8.js +106 -0
  49. package/web/dist/assets/graph-DOmOIIwC.js +1 -0
  50. package/web/dist/assets/{index-CuxEGti7.js → index-CB16o5aO.js} +3 -3
  51. package/web/dist/assets/index-CN_7NnbR.css +1 -0
  52. package/web/dist/assets/infoDiagram-FWYZ7A6U-BFjk6921.js +2 -0
  53. package/web/dist/assets/init-Gi6I4Gst.js +1 -0
  54. package/web/dist/assets/ishikawaDiagram-FXEZZL3T-BiTzJYKW.js +70 -0
  55. package/web/dist/assets/journeyDiagram-5HDEW3XC-eeyGUQSj.js +139 -0
  56. package/web/dist/assets/kanban-definition-HUTT4EX6-DPYZ3frK.js +89 -0
  57. package/web/dist/assets/katex-HP8lGamR.js +257 -0
  58. package/web/dist/assets/layout-D-LzfAck.js +1 -0
  59. package/web/dist/assets/linear-Buu9IOJQ.js +1 -0
  60. package/web/dist/assets/map-DxJ2ADlA.js +1 -0
  61. package/web/dist/assets/mermaid.core-xO1oSQS3.js +308 -0
  62. package/web/dist/assets/mindmap-definition-LN4V7U3C-TasB4KZ4.js +96 -0
  63. package/web/dist/assets/ordinal-Cboi1Yqb.js +1 -0
  64. package/web/dist/assets/pegDiagram-2B236MQR-Btr2u_Xy.js +1 -0
  65. package/web/dist/assets/pieDiagram-ENE6RG2P-0iBpCJcu.js +39 -0
  66. package/web/dist/assets/pilotswarm-v4IdVngK.js +93 -0
  67. package/web/dist/assets/quadrantDiagram-ABIIQ3AL-CbVQOzUs.js +7 -0
  68. package/web/dist/assets/railroadDiagram-RFXS5EU6-BkwzDhMx.js +1 -0
  69. package/web/dist/assets/requirementDiagram-TGXJPOKE-DpF9yvmD.js +84 -0
  70. package/web/dist/assets/sankeyDiagram-HTMAVEWB-CjvbElms.js +40 -0
  71. package/web/dist/assets/sequenceDiagram-DBY2YBRQ-DRj2K28H.js +162 -0
  72. package/web/dist/assets/sizeCapture-X5ZJPWSS-Bi3gxz8F.js +1 -0
  73. package/web/dist/assets/stateDiagram-2N3HPSRC-_INdmyGU.js +1 -0
  74. package/web/dist/assets/stateDiagram-v2-6OUMAXLB-A5HcuE43.js +1 -0
  75. package/web/dist/assets/swimlanes-5IMT3BWC-D1pFtL4Y.js +2 -0
  76. package/web/dist/assets/swimlanesDiagram-G3AALYLV-Bf_Rn9Zk.js +8 -0
  77. package/web/dist/assets/timeline-definition-FHXFAJF6-PYQ9uRSp.js +120 -0
  78. package/web/dist/assets/vennDiagram-L72KCM5P-xCF6u31z.js +34 -0
  79. package/web/dist/assets/wardleyDiagram-EHGQE667-DPcm9Msn.js +78 -0
  80. package/web/dist/assets/xychartDiagram-FW5EYKEG-D9ZNU0hG.js +7 -0
  81. package/web/dist/index.html +3 -3
  82. package/web/dist/assets/index-CxkLM8_a.css +0 -1
  83. package/web/dist/assets/pilotswarm-CjMx44so.js +0 -90
@@ -0,0 +1,81 @@
1
+ import { createTheme } from "./helpers.js";
2
+
3
+ // Windows 95, as it actually was — not a pastel homage.
4
+ //
5
+ // The palette is the real one: #C0C0C0 button face, #000080 active title bar,
6
+ // #008080 desktop teal, and the 16-colour VGA set for terminal output. Those
7
+ // exact values are what make it read as Win95 rather than "grey theme"; the
8
+ // bevels that complete the look are in index.css, keyed on the theme id, since
9
+ // this file can only carry colours.
10
+ //
11
+ // One deliberate departure: the chat pane keeps readable accent colours rather
12
+ // than pure VGA on grey, because a transcript is prose, not a DOS screen.
13
+ const win95Theme = createTheme({
14
+ id: "win95",
15
+ label: "Windows 95",
16
+ description: "Authentic 3D-bevelled grey, navy title bars, teal desktop, and the 16-colour VGA terminal set.",
17
+ page: {
18
+ // Desktop teal behind the panes — the single most recognizable colour
19
+ // of the era, and it makes the grey panes read as raised windows.
20
+ background: "#008080",
21
+ foreground: "#000000",
22
+ overlayBackground: "#c0c0c0",
23
+ overlayForeground: "#000000",
24
+ // The classic disabled/secondary grey; darker than the face so it
25
+ // stays legible on #c0c0c0 rather than vanishing into it.
26
+ hintColor: "#5a5a5a",
27
+ modalBackdrop: "rgba(0, 0, 0, 0.45)",
28
+ modalBackground: "#c0c0c0",
29
+ modalBorder: "#808080",
30
+ modalForeground: "#000000",
31
+ modalMuted: "#5a5a5a",
32
+ // Selection is the title-bar navy, exactly as Explorer did it.
33
+ modalSelectedBackground: "#000080",
34
+ modalSelectedBorder: "#000080",
35
+ modalSelectedForeground: "#ffffff",
36
+ },
37
+ terminal: {
38
+ // Button face, not white: this is a Win95 window, and pure white would
39
+ // break the bevel illusion the whole theme depends on.
40
+ background: "#c0c0c0",
41
+ foreground: "#000000",
42
+ cursor: "#000080",
43
+ cursorAccent: "#c0c0c0",
44
+ selectionBackground: "#000080",
45
+ // The 16-colour VGA palette, unmodified.
46
+ black: "#000000",
47
+ red: "#800000",
48
+ green: "#008000",
49
+ yellow: "#808000",
50
+ blue: "#000080",
51
+ magenta: "#800080",
52
+ cyan: "#008080",
53
+ white: "#c0c0c0",
54
+ brightBlack: "#5a5a5a",
55
+ brightRed: "#c00000",
56
+ brightGreen: "#006000",
57
+ brightYellow: "#7a5c00",
58
+ brightBlue: "#0000c0",
59
+ brightMagenta: "#a000a0",
60
+ brightCyan: "#006a6a",
61
+ brightWhite: "#000000",
62
+ },
63
+ tui: {
64
+ surface: "#c0c0c0",
65
+ // Mid-grey is the Win95 shadow edge; it separates panes from the teal
66
+ // desktop without the black hairline a modern theme would use.
67
+ border: "#808080",
68
+ // Navy on grey for the operator's own turns — the highest-contrast
69
+ // pairing available in this palette.
70
+ userChat: "#000080",
71
+ userChatLabel: "#000080",
72
+ activeHighlightBackground: "#000080",
73
+ activeHighlightForeground: "#ffffff",
74
+ selectionBackground: "#000080",
75
+ selectionForeground: "#ffffff",
76
+ promptCursorBackground: "#000080",
77
+ promptCursorForeground: "#ffffff",
78
+ },
79
+ });
80
+
81
+ export default win95Theme;