autosolutions-os 0.4.16 → 0.4.17
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/CHANGELOG.md +17 -0
- package/dist/nav.d.ts +9 -0
- package/dist/nav.js +30 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.17 - 2026-11-16
|
|
4
|
+
|
|
5
|
+
Projects, the Hub's project manager, is a third row in the Hub panel's Tools (Didac, 16 November
|
|
6
|
+
2026: "a new project manager tool under Hub generic view"). It is its own app
|
|
7
|
+
(https://pm.autosolutions.app, repo autosolutionsai-didac/project-launchpad, core schema
|
|
8
|
+
`projects`, catalogue app `project_manager`).
|
|
9
|
+
|
|
10
|
+
- `OS_HUB_MENU` Tools: `{ id: "projects", label: "Projects", icon: "hub-tasks", href: PROJECTS_URL }`.
|
|
11
|
+
New export `PROJECTS_URL`. A Hub panel row with an `href` and no `path` opens that address with
|
|
12
|
+
the company (`?tenant=`) in every app, and in the Hub's own `hubItems` too.
|
|
13
|
+
- `OS_HUB_ROW_ITEMS.projects = "hub-projects"`: `hubPanelLocks` greys the row for someone without
|
|
14
|
+
the item. The core adds the item (migration `hub_permissions_projects`): a Hub row, starter level
|
|
15
|
+
Member, so every person in a company that holds the app gets it, like Unmarked Agent.
|
|
16
|
+
- In the Projects app itself its own tool (`tools`, id `projects`, `fn: "hub"`) takes the panel
|
|
17
|
+
row with its routes and tabs, and is not placed a second time.
|
|
18
|
+
- Apps change nothing but the version. The Hub also adds the row to its own gate list (Hub PR).
|
|
19
|
+
|
|
3
20
|
## 0.4.16 - 2026-11-16
|
|
4
21
|
|
|
5
22
|
The Signature Generator is open in every company (Didac, 16 November 2026: "this one should now
|
package/dist/nav.d.ts
CHANGED
|
@@ -486,6 +486,8 @@ export type OsHubSection = {
|
|
|
486
486
|
title?: string;
|
|
487
487
|
items: OsHubItem[];
|
|
488
488
|
};
|
|
489
|
+
/** Where the Hub panel's Projects row opens: the Projects app (0.4.17). */
|
|
490
|
+
export declare const PROJECTS_URL = "https://pm.autosolutions.app";
|
|
489
491
|
/**
|
|
490
492
|
* The Hub's panel (0.3.0), the design's: Smart Comms Hub, its seven views,
|
|
491
493
|
* then Tools (the owner's name since 0.3.9; Assistants before). Every app
|
|
@@ -499,6 +501,13 @@ export type OsHubSection = {
|
|
|
499
501
|
* the Hub the Settings page sits on the Hub with the menu closed, like Admin.
|
|
500
502
|
* The Hub had dropped both on its own (Hub PR #119); now every app shows the
|
|
501
503
|
* same panel.
|
|
504
|
+
*
|
|
505
|
+
* Since 0.4.17 (Didac, 16 November 2026: "a new project manager tool under Hub
|
|
506
|
+
* generic view") Tools has a third row, Projects, whose tool is its own app
|
|
507
|
+
* (core schema projects, catalogue app project_manager, item hub-projects). A
|
|
508
|
+
* row with an `href` and no `path` opens that address, with the company, in
|
|
509
|
+
* every app; in the Projects app itself its own tool (`tools`, same id) takes
|
|
510
|
+
* the row, with its routes and tabs.
|
|
502
511
|
*/
|
|
503
512
|
export declare const OS_HUB_MENU: OsHubSection[];
|
|
504
513
|
/** A menu row as osFrame hands it to WorkspaceFrame. */
|
package/dist/nav.js
CHANGED
|
@@ -662,6 +662,7 @@ export const OS_HUB_ROW_ITEMS = {
|
|
|
662
662
|
accounts: "hub-comms",
|
|
663
663
|
agent: "hub-agent",
|
|
664
664
|
signature: "hub-signature",
|
|
665
|
+
projects: "hub-projects",
|
|
665
666
|
};
|
|
666
667
|
/**
|
|
667
668
|
* Hub panel rows that serve one company only, and what a locked row says
|
|
@@ -691,6 +692,8 @@ export function hubPanelLocks(items, tenantSlug) {
|
|
|
691
692
|
}
|
|
692
693
|
return out;
|
|
693
694
|
}
|
|
695
|
+
/** Where the Hub panel's Projects row opens: the Projects app (0.4.17). */
|
|
696
|
+
export const PROJECTS_URL = "https://pm.autosolutions.app";
|
|
694
697
|
/**
|
|
695
698
|
* The Hub's panel (0.3.0), the design's: Smart Comms Hub, its seven views,
|
|
696
699
|
* then Tools (the owner's name since 0.3.9; Assistants before). Every app
|
|
@@ -704,6 +707,13 @@ export function hubPanelLocks(items, tenantSlug) {
|
|
|
704
707
|
* the Hub the Settings page sits on the Hub with the menu closed, like Admin.
|
|
705
708
|
* The Hub had dropped both on its own (Hub PR #119); now every app shows the
|
|
706
709
|
* same panel.
|
|
710
|
+
*
|
|
711
|
+
* Since 0.4.17 (Didac, 16 November 2026: "a new project manager tool under Hub
|
|
712
|
+
* generic view") Tools has a third row, Projects, whose tool is its own app
|
|
713
|
+
* (core schema projects, catalogue app project_manager, item hub-projects). A
|
|
714
|
+
* row with an `href` and no `path` opens that address, with the company, in
|
|
715
|
+
* every app; in the Projects app itself its own tool (`tools`, same id) takes
|
|
716
|
+
* the row, with its routes and tabs.
|
|
707
717
|
*/
|
|
708
718
|
export const OS_HUB_MENU = [
|
|
709
719
|
{ title: "Smart Comms Hub", items: [
|
|
@@ -718,6 +728,8 @@ export const OS_HUB_MENU = [
|
|
|
718
728
|
{ title: "Tools", items: [
|
|
719
729
|
{ id: "agent", label: "Unmarked Agent", icon: "agent", path: "/comms/agent" },
|
|
720
730
|
{ id: "signature", label: "Signature Generator", icon: "mkt-brand-voice-copywriter", path: "/launcher?section=signature" },
|
|
731
|
+
/* Its own app (0.4.17): an address, no path. */
|
|
732
|
+
{ id: "projects", label: "Projects", icon: "hub-tasks", href: PROJECTS_URL },
|
|
721
733
|
] },
|
|
722
734
|
];
|
|
723
735
|
const ORIGIN = "http://os.invalid";
|
|
@@ -811,14 +823,27 @@ export function osFrame(options) {
|
|
|
811
823
|
const hubMenu = hubItems ?? OS_HUB_MENU;
|
|
812
824
|
if (hubMenu.length) {
|
|
813
825
|
sections["hub"] = hubItems
|
|
814
|
-
? hubItems.map((section) => ({
|
|
826
|
+
? hubItems.map((section) => ({
|
|
827
|
+
...section,
|
|
828
|
+
/* A row whose tool is another app (0.4.17) opens it with the company. */
|
|
829
|
+
items: section.items.map((row) => (row.href && !row.path && !row.disabled ? { ...row, href: withTenantHint(row.href, tenantSlug) } : row)),
|
|
830
|
+
}))
|
|
815
831
|
: OS_HUB_MENU.map((section) => ({
|
|
816
832
|
...(section.title ? { title: section.title } : {}),
|
|
817
833
|
items: section.items.map((row) => {
|
|
818
834
|
const base = { id: row.id, label: row.label, ...(row.icon ? { icon: row.icon } : {}) };
|
|
835
|
+
/* This app's own tool on a Hub panel row (0.4.17): its routes and tabs, selected here. */
|
|
836
|
+
const mine = own.get(row.id);
|
|
837
|
+
if (mine)
|
|
838
|
+
return rowFor(base, mine);
|
|
819
839
|
/* A row the person may not open (0.3.13): shown, locked, never a link. */
|
|
820
840
|
const reason = hubLocked[row.id];
|
|
821
|
-
|
|
841
|
+
if (reason)
|
|
842
|
+
return { ...base, disabled: true, title: reason };
|
|
843
|
+
/* A row whose tool is another app (0.4.17): that app's address, with the company. */
|
|
844
|
+
if (row.href && !row.path)
|
|
845
|
+
return { ...base, href: withTenantHint(row.href, tenantSlug) };
|
|
846
|
+
return inHub(base, row.path ?? HUB_PATHS.home, row.match);
|
|
822
847
|
}),
|
|
823
848
|
}));
|
|
824
849
|
}
|
|
@@ -862,8 +887,10 @@ export function osFrame(options) {
|
|
|
862
887
|
}
|
|
863
888
|
/* This app's tools the menu map does not have, placed where the app says. */
|
|
864
889
|
const mapped = new Set(Object.values(OS_MENU).flatMap((groups) => groups.flatMap((group) => group.items.map((entry) => entry.id))));
|
|
890
|
+
/* A tool on the default Hub panel is placed there, above (0.4.17), not again here. */
|
|
891
|
+
const onHubPanel = new Set(hubItems ? [] : OS_HUB_MENU.flatMap((section) => section.items.map((row) => row.id)));
|
|
865
892
|
for (const mine of tools) {
|
|
866
|
-
if (mapped.has(osToolId(mine.id)) || !mine.fn)
|
|
893
|
+
if (mapped.has(osToolId(mine.id)) || onHubPanel.has(osToolId(mine.id)) || !mine.fn)
|
|
867
894
|
continue;
|
|
868
895
|
const list = sections[mine.fn] ?? (sections[mine.fn] = []);
|
|
869
896
|
const title = mine.section;
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** This package's version, sent with each feedback message. A test keeps it equal to package.json. */
|
|
2
|
-
export declare const OS_VERSION = "0.4.
|
|
2
|
+
export declare const OS_VERSION = "0.4.17";
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** This package's version, sent with each feedback message. A test keeps it equal to package.json. */
|
|
2
|
-
export const OS_VERSION = "0.4.
|
|
2
|
+
export const OS_VERSION = "0.4.17";
|
package/package.json
CHANGED