fraim-hub 2.0.255 → 2.0.256

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fraim-hub",
3
- "version": "2.0.255",
3
+ "version": "2.0.256",
4
4
  "description": "FRAIM Hub local companion package.",
5
5
  "bin": {
6
6
  "fraim-hub": "bin/fraim-hub.js",
@@ -163,7 +163,7 @@
163
163
  "electron": "^41.2.2",
164
164
  "electron-updater": "^6.8.9",
165
165
  "express": "^5.2.1",
166
- "fraim": "2.0.255",
166
+ "fraim": "2.0.256",
167
167
  "mongodb": "^7.0.0",
168
168
  "node-cron": "4.2.1",
169
169
  "node-edge-tts": "^1.2.10",
@@ -730,7 +730,7 @@
730
730
  </div>
731
731
 
732
732
  <!-- Issue #512: New-project flow (4-step modal) -->
733
- <div id="np-modal" class="np-overlay" hidden>
733
+ <div id="np-modal" class="np-overlay" role="dialog" aria-modal="true" aria-labelledby="np-title" hidden>
734
734
  <button class="np-close" id="np-close" type="button" aria-label="Close project setup">×</button>
735
735
  <div class="np-wrap">
736
736
  <div class="np-step-dots" id="np-dots">
@@ -741,7 +741,7 @@
741
741
  <div class="np-card">
742
742
  <div class="np-hdr">
743
743
  <div class="step-label">Step 1 of 3</div>
744
- <h2>Name this project</h2>
744
+ <h2 id="np-title">Name this project</h2>
745
745
  <p>Give the project a name and choose the folder where employees should do their work.</p>
746
746
  </div>
747
747
  <div class="np-body">
@@ -798,14 +798,14 @@
798
798
  </div>
799
799
 
800
800
  <!-- #594: Area onboarding pre-flight context modal (org onboarding, learning synthesis, manager agreements) -->
801
- <div id="area-onboard-modal" class="modal-overlay" hidden>
801
+ <div id="area-onboard-modal" class="modal-overlay" role="dialog" aria-modal="true" aria-labelledby="aom-title" hidden>
802
802
  <div class="modal-card">
803
803
  <div class="modal-hdr">
804
804
  <div>
805
805
  <h2 id="aom-title">Run onboarding</h2>
806
806
  <p id="aom-desc">Add any specific focus areas or context before starting.</p>
807
807
  </div>
808
- <button class="modal-close" id="aom-close" type="button">×</button>
808
+ <button class="modal-close" id="aom-close" type="button" aria-label="Close onboarding">×</button>
809
809
  </div>
810
810
  <div class="modal-body">
811
811
  <div class="np-field">
@@ -821,22 +821,22 @@
821
821
  </div>
822
822
 
823
823
  <!-- Issue #512: Assign-job modal (job-first, with locks + per-employee filter) -->
824
- <div id="assign-job-modal" class="modal-overlay" hidden>
824
+ <div id="assign-job-modal" class="modal-overlay" role="dialog" aria-modal="true" aria-labelledby="aj-title" hidden>
825
825
  <div class="modal-card">
826
826
  <div class="modal-hdr">
827
827
  <div><h2 id="aj-title">Assign a job</h2><p>Pick the work, we'll route it to the right specialist. Locked jobs need a teammate you haven't hired yet.</p></div>
828
- <button class="modal-close" id="aj-close" type="button">×</button>
828
+ <button class="modal-close" id="aj-close" type="button" aria-label="Close assign job">×</button>
829
829
  </div>
830
830
  <div class="modal-body" id="aj-body"></div>
831
831
  </div>
832
832
  </div>
833
833
 
834
834
  <!-- Issue #512: Add-employee modal (preselect-aware) -->
835
- <div id="add-emp-modal" class="modal-overlay" hidden>
835
+ <div id="add-emp-modal" class="modal-overlay" role="dialog" aria-modal="true" aria-labelledby="ae-title" hidden>
836
836
  <div class="modal-card">
837
837
  <div class="modal-hdr">
838
- <div><h2>Add an employee to this project</h2><p id="ae-sub">Add someone from your team, or hire a new specialist. New hires are onboarded with your company context automatically.</p></div>
839
- <button class="modal-close" id="ae-close" type="button">×</button>
838
+ <div><h2 id="ae-title">Add an employee to this project</h2><p id="ae-sub">Add someone from your team, or hire a new specialist. New hires are onboarded with your company context automatically.</p></div>
839
+ <button class="modal-close" id="ae-close" type="button" aria-label="Close add employee">×</button>
840
840
  </div>
841
841
  <div class="modal-body" id="ae-body"></div>
842
842
  </div>
@@ -894,14 +894,14 @@
894
894
  </div>
895
895
 
896
896
  <!-- Issue #512: Pricing modal -->
897
- <div id="pricing-modal" class="modal-overlay pricing-overlay" hidden>
897
+ <div id="pricing-modal" class="modal-overlay pricing-overlay" role="dialog" aria-modal="true" aria-labelledby="pr-title" hidden>
898
898
  <div class="modal-card pricing-card">
899
899
  <div class="modal-hdr" style="border:none;justify-content:flex-end;padding-bottom:0;">
900
- <button class="modal-close" id="pr-close" type="button">×</button>
900
+ <button class="modal-close" id="pr-close" type="button" aria-label="Close pricing">×</button>
901
901
  </div>
902
902
  <div class="pricing-body">
903
903
  <div id="pr-av" class="pr-av">CE</div>
904
- <h2>Hire <span id="pr-persona">this specialist</span></h2>
904
+ <h2 id="pr-title">Hire <span id="pr-persona">this specialist</span></h2>
905
905
  <p>Onboarded with your company context the moment you hire, and dropped straight onto this project, ready to take the job you picked.</p>
906
906
  <div class="pr-price" id="pr-price">$299<span>/mo</span></div>
907
907
  <a class="pr-cta" id="pr-cta" href="/pricing">Hire and add to project →</a>
@@ -911,11 +911,11 @@
911
911
  </div>
912
912
 
913
913
  <!-- Issue #538: Hire a human manager modal -->
914
- <div id="hm-modal" class="modal-overlay" hidden>
914
+ <div id="hm-modal" class="modal-overlay" role="dialog" aria-modal="true" aria-labelledby="hm-title" hidden>
915
915
  <div class="modal-card" style="max-width:560px;">
916
916
  <div class="modal-hdr">
917
917
  <button class="modal-close" id="hm-close" type="button" aria-label="Close">×</button>
918
- <h2>Hire a human manager</h2>
918
+ <h2 id="hm-title">Hire a human manager</h2>
919
919
  <p id="hm-sub">Find a great human to manage your AI employee. We pre-fill the search and a job description with the qualities of a strong AI manager.</p>
920
920
  </div>
921
921
  <div class="modal-body">
@@ -960,7 +960,7 @@
960
960
  fields (Name, Job, AI Agent, Instructions) are common to both. Inner ids
961
961
  (dep-sch-*, dep-wh-inbound-*) are preserved so the cron-preset and inbound-URL
962
962
  helpers keep working. -->
963
- <div id="dep-assignment-modal" class="modal-overlay" hidden>
963
+ <div id="dep-assignment-modal" class="modal-overlay" role="dialog" aria-modal="true" aria-labelledby="dep-assign-title" hidden>
964
964
  <div class="modal-card dep-modal-card">
965
965
  <div class="modal-hdr">
966
966
  <button class="modal-close" id="dep-assign-close" type="button" aria-label="Close">×</button>
@@ -1132,7 +1132,7 @@
1132
1132
  </div>
1133
1133
 
1134
1134
  <!-- Issue #834: Sharing-backend chooser modal -->
1135
- <div class="modal-backdrop" id="sharing-chooser-modal" role="dialog" aria-modal="true" hidden>
1135
+ <div class="modal-backdrop" id="sharing-chooser-modal" role="dialog" aria-modal="true" aria-labelledby="sharing-chooser-title" hidden>
1136
1136
  <div class="modal">
1137
1137
  <div class="modal-header">
1138
1138
  <h2 id="sharing-chooser-title">Change storage</h2>