toga-ai 1.0.79 → 1.0.81

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.
@@ -1,6 +1,6 @@
1
- # toga2-hub (TOGA Hub) — 2.0 knowledge
1
+ # toga2-hub (TOGa Hub) — 2.0 knowledge
2
2
 
3
3
  | Doc | Summary | Files |
4
4
  |-----|---------|-------|
5
- | [TOGA Hub Architecture](architecture.md) | toga2-hub (TOGA Hub) is a React + TypeScript single-page admin portal for the TOGA platform. | toga2-hub/src/main.tsx, toga2-hub/src/routes.tsx, toga2-hub/src/App.tsx, toga2-hub/src/api/axiosInstance.ts, toga2-hub/src/api/apiFunctions.ts, toga2-hub/src/utils/queryHelpers.ts, toga2-hub/src/contexts/AuthContext.tsx, toga2-hub/src/stores/useUserStore.ts |
6
- | [ACL Record Permissions — Rendering Semantics (Permissions Page)](features/acl-permissions-rendering.md) | How the TOGA Hub Permissions page must interpret the api2 endpoint `GET /v2/acl-record-permissions/getAclRecordPermissionsByRecordAndRole` and turn its response | toga2-hub/src/pages/Permissions/api/permissionsApi.ts, toga2-hub/src/pages/Permissions/utils/permissionsUtils.ts, toga2-hub/src/pages/Permissions/viewModel/useRolesViewModel.ts, toga2-hub/src/hooks/useAclPermissionsByRoleQuery.ts, toga2-hub/src/pages/Permissions/view/RolesView/RoleDetailView/LogicGroupView.tsx, toga2-hub/src/pages/Permissions/view/RecordsView/RecordDetailView/RecordDetailView.tsx, toga2-hub/src/hooks/useQueryData.ts |
5
+ | [TOGa Hub Architecture](architecture.md) | toga2-hub (TOGa Hub) is a React + TypeScript single-page admin portal for the TOGA platform. | toga2-hub/src/main.tsx, toga2-hub/src/routes.tsx, toga2-hub/src/App.tsx, toga2-hub/src/api/axiosInstance.ts, toga2-hub/src/api/apiFunctions.ts, toga2-hub/src/utils/queryHelpers.ts, toga2-hub/src/contexts/AuthContext.tsx, toga2-hub/src/stores/useUserStore.ts |
6
+ | [ACL Record Permissions — Rendering Semantics (Permissions Page)](features/acl-permissions-rendering.md) | How the TOGa Hub Permissions page must interpret the api2 endpoint `GET /v2/acl-record-permissions/getAclRecordPermissionsByRecordAndRole` and turn its response | toga2-hub/src/pages/Permissions/api/permissionsApi.ts, toga2-hub/src/pages/Permissions/utils/permissionsUtils.ts, toga2-hub/src/pages/Permissions/viewModel/useRolesViewModel.ts, toga2-hub/src/hooks/useAclPermissionsByRoleQuery.ts, toga2-hub/src/pages/Permissions/view/RolesView/RoleDetailView/LogicGroupView.tsx, toga2-hub/src/pages/Permissions/view/RecordsView/RecordDetailView/RecordDetailView.tsx, toga2-hub/src/hooks/useQueryData.ts |
@@ -1,8 +1,8 @@
1
1
  ---
2
- title: TOGA Hub Architecture
2
+ title: TOGa Hub Architecture
3
3
  framework: "2.0"
4
4
  repo: toga2-hub
5
- project: TOGA Hub
5
+ project: TOGa Hub
6
6
  client: shared
7
7
  type: architecture
8
8
  status: active
@@ -23,7 +23,7 @@ related:
23
23
 
24
24
  ## Summary
25
25
 
26
- toga2-hub (TOGA Hub) is a React + TypeScript single-page admin portal for the TOGA
26
+ toga2-hub (TOGa Hub) is a React + TypeScript single-page admin portal for the TOGA
27
27
  platform. It is a pure frontend client — all business logic and persistence live in the
28
28
  `api2` backend (framework 2.0), which Hub talks to exclusively over REST. The portal is
29
29
  multi-tenant: it selects both its API endpoint and theme from the hostname it is served
@@ -2,7 +2,7 @@
2
2
  title: ACL Record Permissions — Rendering Semantics (Permissions Page)
3
3
  framework: "2.0"
4
4
  repo: toga2-hub
5
- project: TOGA Hub
5
+ project: TOGa Hub
6
6
  client: shared
7
7
  type: feature
8
8
  status: active
@@ -21,7 +21,7 @@ related: []
21
21
 
22
22
  ## Summary
23
23
 
24
- How the TOGA Hub Permissions page must interpret the api2 endpoint
24
+ How the TOGa Hub Permissions page must interpret the api2 endpoint
25
25
  `GET /v2/acl-record-permissions/getAclRecordPermissionsByRecordAndRole` and turn its
26
26
  response into the green-check / red-X permissions grid. Semantics confirmed in a design
27
27
  review with jcardinal (Naperville, 2026-06-09); an earlier implementation over-thought
@@ -5,7 +5,7 @@ project: _Underscore
5
5
  client: shared
6
6
  type: standard
7
7
  status: active
8
- updated: 2026-06-08
8
+ updated: 2026-06-15
9
9
  owners: [jcardinal]
10
10
  files: []
11
11
  related:
@@ -425,6 +425,13 @@ if ($user->load()) { /* found */ }
425
425
 
426
426
  * Use tabs for indentation, not spaces.
427
427
 
428
+ #### **Line Endings**
429
+
430
+ * The 2.0 repos have **no `.gitattributes`** and contain a **mix of LF and CRLF files** — there is no single repo-wide line ending. Core files (e.g. `Model.php`, `Loader.php`, `Email.php`) are CRLF; many others (e.g. `Model/Client/EmailTemplate.php`) are LF.
431
+ * **Preserve a file's existing line ending when you edit it.** Do not let an editor or tool silently convert the whole file (a common LF→CRLF flip on Windows).
432
+ * A whole-file ending flip turns a one-line change into a full-file rewrite in `git diff`, burying the real change, breaking `git blame`, and inviting merge conflicts.
433
+ * **Check before committing:** if `git diff --stat` shows a tiny edit as a near-total rewrite, the endings flipped. Restore them — e.g. for an LF file: `tr -d '\r' < file > file.tmp && mv file.tmp file` — then re-stage.
434
+
428
435
  #### **Braces**
429
436
 
430
437
  * Opening braces for classes, methods and control structures (`if`, `else`, `for`, `while`, etc.) should go on the same line.
@@ -18,7 +18,7 @@ _Auto-generated by `knowledge.js index`. Do not hand-edit._
18
18
  - **toga2-supply** (TOGa Supply) — 2 doc(s) → [2.0/apps/toga2-supply/INDEX.md](2.0/apps/toga2-supply/INDEX.md)
19
19
  - **saml** (SAML SSO Gateway) — 2 doc(s) → [2.0/apps/saml/INDEX.md](2.0/apps/saml/INDEX.md)
20
20
  - **toga2-view** (TOGa View Frontend) — 0 doc(s) → [2.0/apps/toga2-view/INDEX.md](2.0/apps/toga2-view/INDEX.md)
21
- - **toga2-hub** (TOGA Hub) — 2 doc(s) → [2.0/apps/toga2-hub/INDEX.md](2.0/apps/toga2-hub/INDEX.md)
21
+ - **toga2-hub** (TOGa Hub) — 2 doc(s) → [2.0/apps/toga2-hub/INDEX.md](2.0/apps/toga2-hub/INDEX.md)
22
22
 
23
23
  ## Clients
24
24
 
@@ -10,6 +10,6 @@
10
10
  { "repo": "toga2-view", "project": "TOGa View Frontend", "framework": "2.0", "role": "app", "dependsOn": ["api2"] },
11
11
  { "repo": "togadesk", "project": "TOGa Desk", "framework": "1.0", "role": "app", "dependsOn": [] },
12
12
  { "repo": "togaview", "project": "TOGa View", "framework": "1.0", "role": "app", "dependsOn": [] },
13
- { "repo": "toga2-hub", "project": "TOGA Hub", "framework": "2.0", "role": "app", "dependsOn": ["api2"] }
13
+ { "repo": "toga2-hub", "project": "TOGa Hub", "framework": "2.0", "role": "app", "dependsOn": ["api2"] }
14
14
 
15
15
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toga-ai",
3
- "version": "1.0.79",
3
+ "version": "1.0.81",
4
4
  "description": "TOGA Technology Team Claude Knowledge System — shared AI coding harness with skills, knowledge base CLI, and project installer for Claude Code.",
5
5
  "keywords": [
6
6
  "claude",