@djangocfg/api 2.1.293 → 2.1.297
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 +2 -2
- package/src/.claude/.sidecar/activity.jsonl +0 -4
- package/src/.claude/.sidecar/history/2026-03-13.md +0 -28
- package/src/.claude/.sidecar/map_cache.json +0 -50
- package/src/.claude/.sidecar/review.md +0 -28
- package/src/.claude/.sidecar/scan.log +0 -3
- package/src/.claude/.sidecar/tasks/T-001.md +0 -18
- package/src/.claude/.sidecar/tasks/T-002.md +0 -18
- package/src/.claude/.sidecar/tasks/T-003.md +0 -18
- package/src/.claude/.sidecar/tasks/T-004.md +0 -18
- package/src/.claude/.sidecar/usage.json +0 -5
- package/src/.claude/project-map.md +0 -34
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@djangocfg/api",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.297",
|
|
4
4
|
"description": "Auto-generated TypeScript API client with React hooks, SWR integration, and Zod validation for Django REST Framework backends",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"django",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"devDependencies": {
|
|
85
85
|
"@types/node": "^24.7.2",
|
|
86
86
|
"@types/react": "^19.1.0",
|
|
87
|
-
"@djangocfg/typescript-config": "^2.1.
|
|
87
|
+
"@djangocfg/typescript-config": "^2.1.297",
|
|
88
88
|
"next": "^16.2.2",
|
|
89
89
|
"react": "^19.1.0",
|
|
90
90
|
"tsup": "^8.5.0",
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
{"ts":"2026-03-13T14:54:06.216544Z","action":"map","tokens":2824,"model":"deepseek/deepseek-v3.2-20251201","details":{"directories":12,"entry_points":14}}
|
|
2
|
-
{"ts":"2026-03-13T14:54:34.414020Z","action":"update_check","tokens":0,"model":"deepseek/deepseek-v3.2","details":{}}
|
|
3
|
-
{"ts":"2026-03-13T14:55:05.263102Z","action":"review","tokens":2077,"model":"deepseek/deepseek-v3.2","details":{"items_found":4}}
|
|
4
|
-
{"ts":"2026-03-13T14:55:15.072208Z","action":"map","tokens":0,"model":"cache","details":{"directories":12,"entry_points":11}}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# Sidecar Review -- 2026-03-13T14:55:05.261214+00:00
|
|
2
|
-
|
|
3
|
-
## Contradictions
|
|
4
|
-
|
|
5
|
-
- [?] The project map's summary describes the project as a 'Shared TypeScript API client library for Django CFG services', but recent commits (e.g., 'feat(frontend-monitor): add Sentry-like browser error and event collection') indicate the project contains frontend monitoring features, which suggests a broader scope than just an API client library.
|
|
6
|
-
Files: .claude/project-map.md
|
|
7
|
-
Action: Review and update the project summary to accurately reflect the full scope of the project, including frontend utilities and monitoring features.
|
|
8
|
-
(id: e7481d45af8d)
|
|
9
|
-
|
|
10
|
-
## Missing Documentation
|
|
11
|
-
|
|
12
|
-
- [?] The project map lists a 'server.ts' entry point, but there is no corresponding 'server' directory documented in the structure. Recent commits mention 'django-ogimage' and 'frontend-monitor' features, which are not represented in the documented structure.
|
|
13
|
-
Files: .claude/project-map.md
|
|
14
|
-
Action: Update the project map to include all top-level source directories and their purposes, especially for new features like 'frontend-monitor' and 'django-ogimage'.
|
|
15
|
-
(id: 5421de290ecc)
|
|
16
|
-
|
|
17
|
-
- [~] The project map's 'Structure' section lists '_api/generated/' directories but does not document the root '_api' directory's purpose or structure. The 'hooks/' directory is listed but lacks any sub-structure documentation.
|
|
18
|
-
Files: .claude/project-map.md
|
|
19
|
-
Action: Expand the project map to describe the purpose of the '_api' directory and detail the internal structure of the 'hooks/' directory.
|
|
20
|
-
(id: 16b002809cdb)
|
|
21
|
-
|
|
22
|
-
- [!] No dependencies (pyproject.toml, package.json, requirements.txt) were detected for analysis, but the project is described as a TypeScript package. The lack of dependency documentation is a critical gap for understanding the project's requirements and tech stack.
|
|
23
|
-
Files: .claude/project-map.md
|
|
24
|
-
Action: Ensure dependency files (e.g., package.json) exist and are correctly located, then update the documentation analysis to include them for accurate dependency checking.
|
|
25
|
-
(id: 8209bc5ebfd8)
|
|
26
|
-
|
|
27
|
-
---
|
|
28
|
-
Model: deepseek/deepseek-v3.2 | Tokens: 2077
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
".": {
|
|
3
|
-
"hash": "dce90cd429fe0655",
|
|
4
|
-
"annotation": "Primary package entry points for client, server, and combined API exports."
|
|
5
|
-
},
|
|
6
|
-
"_api/generated/cfg_accounts": {
|
|
7
|
-
"hash": "ee7e622ee1adb5d6",
|
|
8
|
-
"annotation": "Auto-generated TypeScript client for the accounts service API."
|
|
9
|
-
},
|
|
10
|
-
"_api/generated/cfg_centrifugo": {
|
|
11
|
-
"hash": "48afdc29ad6c6f4e",
|
|
12
|
-
"annotation": "Auto-generated TypeScript client for the Centrifugo real-time service API."
|
|
13
|
-
},
|
|
14
|
-
"_api/generated/cfg_totp": {
|
|
15
|
-
"hash": "ee7e622ee1adb5d6",
|
|
16
|
-
"annotation": "Auto-generated TypeScript client for the TOTP two-factor authentication service API."
|
|
17
|
-
},
|
|
18
|
-
"auth": {
|
|
19
|
-
"hash": "6477ace2312a963f",
|
|
20
|
-
"annotation": "Core authentication module with React contexts, hooks, and server utilities."
|
|
21
|
-
},
|
|
22
|
-
"auth/context": {
|
|
23
|
-
"hash": "d8518d434f50800b",
|
|
24
|
-
"annotation": "React context providers and types for authentication and account state."
|
|
25
|
-
},
|
|
26
|
-
"auth/hooks": {
|
|
27
|
-
"hash": "e680cd0b828bfa4b",
|
|
28
|
-
"annotation": "Custom React hooks for authentication forms, guards, validation, and API integration."
|
|
29
|
-
},
|
|
30
|
-
"auth/middlewares": {
|
|
31
|
-
"hash": "596c7611c84412d2",
|
|
32
|
-
"annotation": "Authentication middleware for token refresh and request proxying."
|
|
33
|
-
},
|
|
34
|
-
"auth/types": {
|
|
35
|
-
"hash": "eb626cbe01a78813",
|
|
36
|
-
"annotation": "TypeScript type definitions for authentication forms and state."
|
|
37
|
-
},
|
|
38
|
-
"auth/utils": {
|
|
39
|
-
"hash": "c29a2c29776dabed",
|
|
40
|
-
"annotation": "Shared utilities for logging, error handling, validation, and analytics."
|
|
41
|
-
},
|
|
42
|
-
"hooks": {
|
|
43
|
-
"hash": "3acd5f369e44d711",
|
|
44
|
-
"annotation": "General-purpose React hooks for account management."
|
|
45
|
-
},
|
|
46
|
-
"auth/__tests__": {
|
|
47
|
-
"hash": "c1e1582d095d63cf",
|
|
48
|
-
"annotation": "Unit tests for authentication hooks and components."
|
|
49
|
-
}
|
|
50
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# Sidecar Review -- 2026-03-13T14:55:05.261214+00:00
|
|
2
|
-
|
|
3
|
-
## Contradictions
|
|
4
|
-
|
|
5
|
-
- [?] The project map's summary describes the project as a 'Shared TypeScript API client library for Django CFG services', but recent commits (e.g., 'feat(frontend-monitor): add Sentry-like browser error and event collection') indicate the project contains frontend monitoring features, which suggests a broader scope than just an API client library.
|
|
6
|
-
Files: .claude/project-map.md
|
|
7
|
-
Action: Review and update the project summary to accurately reflect the full scope of the project, including frontend utilities and monitoring features.
|
|
8
|
-
(id: e7481d45af8d)
|
|
9
|
-
|
|
10
|
-
## Missing Documentation
|
|
11
|
-
|
|
12
|
-
- [?] The project map lists a 'server.ts' entry point, but there is no corresponding 'server' directory documented in the structure. Recent commits mention 'django-ogimage' and 'frontend-monitor' features, which are not represented in the documented structure.
|
|
13
|
-
Files: .claude/project-map.md
|
|
14
|
-
Action: Update the project map to include all top-level source directories and their purposes, especially for new features like 'frontend-monitor' and 'django-ogimage'.
|
|
15
|
-
(id: 5421de290ecc)
|
|
16
|
-
|
|
17
|
-
- [~] The project map's 'Structure' section lists '_api/generated/' directories but does not document the root '_api' directory's purpose or structure. The 'hooks/' directory is listed but lacks any sub-structure documentation.
|
|
18
|
-
Files: .claude/project-map.md
|
|
19
|
-
Action: Expand the project map to describe the purpose of the '_api' directory and detail the internal structure of the 'hooks/' directory.
|
|
20
|
-
(id: 16b002809cdb)
|
|
21
|
-
|
|
22
|
-
- [!] No dependencies (pyproject.toml, package.json, requirements.txt) were detected for analysis, but the project is described as a TypeScript package. The lack of dependency documentation is a critical gap for understanding the project's requirements and tech stack.
|
|
23
|
-
Files: .claude/project-map.md
|
|
24
|
-
Action: Ensure dependency files (e.g., package.json) exist and are correctly located, then update the documentation analysis to include them for accurate dependency checking.
|
|
25
|
-
(id: 8209bc5ebfd8)
|
|
26
|
-
|
|
27
|
-
---
|
|
28
|
-
Model: deepseek/deepseek-v3.2 | Tokens: 2077
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
context_files:
|
|
3
|
-
- .claude/project-map.md
|
|
4
|
-
created_at: '2026-03-13T14:55:05.266022Z'
|
|
5
|
-
id: T-001
|
|
6
|
-
priority: medium
|
|
7
|
-
source: sidecar_review
|
|
8
|
-
source_item_id: 5421de290ecc
|
|
9
|
-
status: pending
|
|
10
|
-
title: '[gap] The project map lists a ''server.ts'' entry point, but there is no corresponding
|
|
11
|
-
'''
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
The project map lists a 'server.ts' entry point, but there is no corresponding 'server' directory documented in the structure. Recent commits mention 'django-ogimage' and 'frontend-monitor' features, which are not represented in the documented structure.
|
|
15
|
-
|
|
16
|
-
**Files:** .claude/project-map.md
|
|
17
|
-
|
|
18
|
-
**Action:** Update the project map to include all top-level source directories and their purposes, especially for new features like 'frontend-monitor' and 'django-ogimage'.
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
context_files:
|
|
3
|
-
- .claude/project-map.md
|
|
4
|
-
created_at: '2026-03-13T14:55:05.268597Z'
|
|
5
|
-
id: T-002
|
|
6
|
-
priority: low
|
|
7
|
-
source: sidecar_review
|
|
8
|
-
source_item_id: 16b002809cdb
|
|
9
|
-
status: pending
|
|
10
|
-
title: '[gap] The project map''s ''Structure'' section lists ''_api/generated/'' directories
|
|
11
|
-
but do'
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
The project map's 'Structure' section lists '_api/generated/' directories but does not document the root '_api' directory's purpose or structure. The 'hooks/' directory is listed but lacks any sub-structure documentation.
|
|
15
|
-
|
|
16
|
-
**Files:** .claude/project-map.md
|
|
17
|
-
|
|
18
|
-
**Action:** Expand the project map to describe the purpose of the '_api' directory and detail the internal structure of the 'hooks/' directory.
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
context_files:
|
|
3
|
-
- .claude/project-map.md
|
|
4
|
-
created_at: '2026-03-13T14:55:05.269247Z'
|
|
5
|
-
id: T-003
|
|
6
|
-
priority: medium
|
|
7
|
-
source: sidecar_review
|
|
8
|
-
source_item_id: e7481d45af8d
|
|
9
|
-
status: pending
|
|
10
|
-
title: '[contradiction] The project map''s summary describes the project as a ''Shared
|
|
11
|
-
TypeScript API clie'
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
The project map's summary describes the project as a 'Shared TypeScript API client library for Django CFG services', but recent commits (e.g., 'feat(frontend-monitor): add Sentry-like browser error and event collection') indicate the project contains frontend monitoring features, which suggests a broader scope than just an API client library.
|
|
15
|
-
|
|
16
|
-
**Files:** .claude/project-map.md
|
|
17
|
-
|
|
18
|
-
**Action:** Review and update the project summary to accurately reflect the full scope of the project, including frontend utilities and monitoring features.
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
context_files:
|
|
3
|
-
- .claude/project-map.md
|
|
4
|
-
created_at: '2026-03-13T14:55:05.269870Z'
|
|
5
|
-
id: T-004
|
|
6
|
-
priority: high
|
|
7
|
-
source: sidecar_review
|
|
8
|
-
source_item_id: 8209bc5ebfd8
|
|
9
|
-
status: pending
|
|
10
|
-
title: '[gap] No dependencies (pyproject.toml, package.json, requirements.txt) were
|
|
11
|
-
detected f'
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
No dependencies (pyproject.toml, package.json, requirements.txt) were detected for analysis, but the project is described as a TypeScript package. The lack of dependency documentation is a critical gap for understanding the project's requirements and tech stack.
|
|
15
|
-
|
|
16
|
-
**Files:** .claude/project-map.md
|
|
17
|
-
|
|
18
|
-
**Action:** Ensure dependency files (e.g., package.json) exist and are correctly located, then update the documentation analysis to include them for accurate dependency checking.
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# Project Map
|
|
2
|
-
> typescript-package — Shared TypeScript API client library for Django CFG services with authentication and real-time features.
|
|
3
|
-
> Generated: 2026-03-13T14:55:15.070316+00:00
|
|
4
|
-
|
|
5
|
-
## Structure
|
|
6
|
-
|
|
7
|
-
- `_api/generated/cfg_accounts/` — Auto-generated TypeScript client for the accounts service API. **[entry: index.ts]**
|
|
8
|
-
- `_api/generated/cfg_centrifugo/` — Auto-generated TypeScript client for the Centrifugo real-time service API. **[entry: index.ts]**
|
|
9
|
-
- `_api/generated/cfg_totp/` — Auto-generated TypeScript client for the TOTP two-factor authentication service API. **[entry: index.ts]**
|
|
10
|
-
- `auth/` — Core authentication module with React contexts, hooks, and server utilities. **[entry: index.ts]**
|
|
11
|
-
- `auth/__tests__/` — Unit tests for authentication hooks and components.
|
|
12
|
-
- `auth/context/` — React context providers and types for authentication and account state. **[entry: index.ts]**
|
|
13
|
-
- `auth/hooks/` — Custom React hooks for authentication forms, guards, validation, and API integration. **[entry: index.ts]**
|
|
14
|
-
- `auth/middlewares/` — Authentication middleware for token refresh and request proxying. **[entry: index.ts]**
|
|
15
|
-
- `auth/types/` — TypeScript type definitions for authentication forms and state. **[entry: index.ts]**
|
|
16
|
-
- `auth/utils/` — Shared utilities for logging, error handling, validation, and analytics. **[entry: index.ts]**
|
|
17
|
-
- `hooks/` — General-purpose React hooks for account management. **[entry: index.ts]**
|
|
18
|
-
|
|
19
|
-
## Entry Points
|
|
20
|
-
|
|
21
|
-
- `./index.ts`
|
|
22
|
-
- `_api/generated/cfg_accounts/index.ts`
|
|
23
|
-
- `_api/generated/cfg_centrifugo/index.ts`
|
|
24
|
-
- `_api/generated/cfg_totp/index.ts`
|
|
25
|
-
- `auth/index.ts`
|
|
26
|
-
- `auth/context/index.ts`
|
|
27
|
-
- `auth/hooks/index.ts`
|
|
28
|
-
- `auth/middlewares/index.ts`
|
|
29
|
-
- `auth/types/index.ts`
|
|
30
|
-
- `auth/utils/index.ts`
|
|
31
|
-
- `hooks/index.ts`
|
|
32
|
-
|
|
33
|
-
---
|
|
34
|
-
Model: cache | Tokens: 0
|