cabloy 5.1.161 → 5.1.162
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/.cabloy-version +1 -1
- package/CHANGELOG.md +13 -0
- package/CLAUDE.md +1 -1
- package/CONTRIBUTING.md +1 -1
- package/README.md +34 -58
- package/package.json +1 -1
- package/repo-docs/.vitepress/config.mjs +58 -32
- package/repo-docs/ai/ai-spec-driven-development.md +99 -0
- package/repo-docs/ai/docs-skills-rules-mapping.md +25 -8
- package/repo-docs/ai/edition-consistency-checklist.md +2 -3
- package/repo-docs/ai/introduction.md +7 -4
- package/repo-docs/ai/playbook-spec-execution.md +19 -5
- package/repo-docs/ai/playbook-spec-generation.md +69 -101
- package/repo-docs/ai/repo-guidance.md +1 -1
- package/repo-docs/ai/skills.md +31 -10
- package/repo-docs/backend/dto-guide.md +1 -0
- package/repo-docs/backend/openapi-guide.md +1 -1
- package/repo-docs/editions/overview.md +51 -120
- package/repo-docs/frontend/environment-config-guide.md +1 -1
- package/repo-docs/frontend/form-layout-guide.md +4 -2
- package/repo-docs/frontend/introduction.md +2 -1
- package/repo-docs/frontend/quickstart.md +2 -8
- package/repo-docs/frontend/scripts.md +7 -3
- package/repo-docs/frontend/ssr-architecture-overview.md +1 -1
- package/repo-docs/frontend/ssr-build-deploy-guide.md +4 -2
- package/repo-docs/fullstack/comparison-with-other-frameworks.md +6 -2
- package/repo-docs/fullstack/contract-loop-playbook.md +4 -0
- package/repo-docs/fullstack/introduction.md +13 -4
- package/repo-docs/fullstack/parallel-worktree-environment.md +2 -0
- package/repo-docs/fullstack/quickstart.md +65 -74
- package/repo-docs/fullstack/semantic-presentation-contract.md +121 -0
- package/repo-docs/fullstack/ssr-site-and-flavor-setup.md +2 -2
- package/repo-docs/index.md +16 -11
- package/repo-docs/reference/glossary.md +30 -0
- package/repo-docs/reference/package-map.md +1 -1
- package/repo-docs/reference/repo-scripts.md +6 -4
- package/vona/pnpm-lock.yaml +10 -96
- package/zova/pnpm-lock.yaml +8 -0
- package/zova/src/suite/a-home/modules/home-base/src/.metadata/component/siteEntryTables.ts +12 -0
- package/zova/src/suite/a-home/modules/home-base/src/.metadata/index.ts +13 -0
- package/zova/src/suite/a-home/modules/home-base/src/component/siteEntryTables/controller.tsx +71 -0
- package/zova/src/suite/a-home/modules/home-base/src/config/locale/en-us.ts +8 -0
- package/zova/src/suite/a-home/modules/home-base/src/config/locale/zh-cn.ts +8 -0
- package/zova/src/suite/a-home/modules/home-indexadmin/package.json +3 -0
- package/zova/src/suite/a-home/modules/home-indexadmin/src/page/dashboard/controller.tsx +6 -13
- package/zova/src/suite/a-home/modules/home-indexweb/package.json +3 -1
- package/zova/src/suite/a-home/modules/home-indexweb/src/page/home/controller.tsx +6 -14
- package/repo-docs/ai/edition-detection.md +0 -30
- package/repo-docs/editions/cabloy-basic.md +0 -26
- package/repo-docs/editions/cabloy-start.md +0 -53
- package/repo-docs/editions/choosing-between-basic-and-start.md +0 -83
- package/repo-docs/editions/detection.md +0 -31
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# Edition Detection for AI Workflows
|
|
2
|
-
|
|
3
|
-
This page applies the general detection rule from [Editions / Detection](/editions/detection) to AI-assisted development specifically.
|
|
4
|
-
|
|
5
|
-
Edition detection should happen before any AI workflow that assumes a frontend stack, module set, or example path.
|
|
6
|
-
|
|
7
|
-
## AI-specific consequence
|
|
8
|
-
|
|
9
|
-
If an agent skips edition detection, it can:
|
|
10
|
-
|
|
11
|
-
- scaffold against the wrong UI-layer assumptions
|
|
12
|
-
- suggest the wrong frontend flavors
|
|
13
|
-
- cite suites, modules, SSR site baselines, or project assets that do not exist in the active repo
|
|
14
|
-
- generate docs or skills that accidentally hardcode Basic-only behavior or `npm create cabloy` assumptions into Start workflows
|
|
15
|
-
|
|
16
|
-
## Operational rule
|
|
17
|
-
|
|
18
|
-
Before an AI workflow recommends implementation steps:
|
|
19
|
-
|
|
20
|
-
1. check the edition marker
|
|
21
|
-
2. verify the relevant package scripts or CLI entrypoints
|
|
22
|
-
3. branch the guidance only where the editions truly diverge
|
|
23
|
-
|
|
24
|
-
## Where this rule should live
|
|
25
|
-
|
|
26
|
-
Keep the same rule in three places on purpose:
|
|
27
|
-
|
|
28
|
-
- **public docs** so people can review it
|
|
29
|
-
- **skills** so agents execute it consistently
|
|
30
|
-
- **`CLAUDE.md`** so repo-wide Claude behavior stays aligned
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# Cabloy Basic
|
|
2
|
-
|
|
3
|
-
Cabloy Basic is the public framework/reference edition you are reading right now.
|
|
4
|
-
|
|
5
|
-
## Repository marker
|
|
6
|
-
|
|
7
|
-
The repository root contains:
|
|
8
|
-
|
|
9
|
-
- `__CABLOY_BASIC__`
|
|
10
|
-
|
|
11
|
-
This marker is the quickest safe signal for docs, skills, and rules that need to distinguish Cabloy Basic from Cabloy Start.
|
|
12
|
-
|
|
13
|
-
## Typical role
|
|
14
|
-
|
|
15
|
-
Use Cabloy Basic as the public reference edition for:
|
|
16
|
-
|
|
17
|
-
- shared architecture explanations
|
|
18
|
-
- root scripts and monorepo entrypoints
|
|
19
|
-
- Vona and Zova source browsing
|
|
20
|
-
- public CLI-backed workflows
|
|
21
|
-
- public user-facing documentation
|
|
22
|
-
- projects created with `npm create cabloy`
|
|
23
|
-
|
|
24
|
-
## Frontend bias
|
|
25
|
-
|
|
26
|
-
In the current source and docs, Cabloy Basic examples commonly align with a shared frontend engineering layer built on Zova, Vue, Vite, and Quasar tooling, plus a Basic-specific UI layer built with DaisyUI + Tailwind CSS. That does not mean Zova is limited to that UI stack, but it does mean docs and AI outputs should not accidentally project Vuetify-specific assumptions into Cabloy Basic unless the current source explicitly requires it.
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# Cabloy Start
|
|
2
|
-
|
|
3
|
-
Cabloy Start is the public MIT-licensed edition. It is a sibling repository that shares the Cabloy fullstack direction while intentionally differing from Cabloy Basic.
|
|
4
|
-
|
|
5
|
-
## Repository marker
|
|
6
|
-
|
|
7
|
-
The Cabloy Start root contains:
|
|
8
|
-
|
|
9
|
-
- `__CABLOY_START__`
|
|
10
|
-
|
|
11
|
-
Use that marker before choosing examples, UI assumptions, or automation behavior.
|
|
12
|
-
|
|
13
|
-
## Typical role
|
|
14
|
-
|
|
15
|
-
Use Cabloy Start as the edition-aware target when work depends on:
|
|
16
|
-
|
|
17
|
-
- direct use of the public Cabloy Start repository source
|
|
18
|
-
- Vuetify-specific frontend workflows
|
|
19
|
-
- Cabloy Start flavor names in frontend scripts
|
|
20
|
-
- edition-specific module composition in the active Start repository
|
|
21
|
-
- separate-repository structure and edition-specific project composition
|
|
22
|
-
- edition-specific SSR site baselines and project assets
|
|
23
|
-
|
|
24
|
-
## Clone and initialize
|
|
25
|
-
|
|
26
|
-
Cabloy Start is public and MIT-licensed. It does not use the default `npm create cabloy` project route.
|
|
27
|
-
|
|
28
|
-
To use Cabloy Start:
|
|
29
|
-
|
|
30
|
-
1. clone the public repository directly
|
|
31
|
-
2. run the edition initialization flow in the cloned project
|
|
32
|
-
|
|
33
|
-
Repository:
|
|
34
|
-
|
|
35
|
-
- `https://github.com/cabloy/cabloy-start`
|
|
36
|
-
|
|
37
|
-
Clone the repository:
|
|
38
|
-
|
|
39
|
-
```bash
|
|
40
|
-
git clone git@github.com:cabloy/cabloy-start.git
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
After cloning, run:
|
|
44
|
-
|
|
45
|
-
```bash
|
|
46
|
-
npm run init
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
This initializes the project and installs dependencies.
|
|
50
|
-
|
|
51
|
-
## Relationship to this docs site
|
|
52
|
-
|
|
53
|
-
This unified docs site treats Cabloy Start as a supported edition, not as a clone of Cabloy Basic. Shared architecture should remain shared, but any Start-specific script, module path, or UI workflow must be labeled explicitly.
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
# Choosing Between Cabloy Basic and Cabloy Start
|
|
2
|
-
|
|
3
|
-
This guide helps you choose the right Cabloy edition before you start a new project, adopt a frontend UI strategy, or prepare AI workflow guidance.
|
|
4
|
-
|
|
5
|
-
## Short answer
|
|
6
|
-
|
|
7
|
-
Choose **Cabloy Basic** when you want the public framework/reference edition, the default `npm create cabloy` project route, and a faster path for open, community-oriented, or small-to-medium system development.
|
|
8
|
-
|
|
9
|
-
Choose **Cabloy Start** when you want the public MIT-licensed edition in its own repository and a stronger baseline for more complex business systems built around Start-oriented SSR sites, project assets, and a Vuetify-aligned UI layer.
|
|
10
|
-
|
|
11
|
-
## What stays the same in both editions
|
|
12
|
-
|
|
13
|
-
Both editions share the same Cabloy fullstack core:
|
|
14
|
-
|
|
15
|
-
- **Vona** as the backend framework
|
|
16
|
-
- **Zova** as the frontend framework
|
|
17
|
-
- suite-based modular architecture
|
|
18
|
-
- CLI-first workflows
|
|
19
|
-
- shared frontend engineering direction built around Vue, Vite, Quasar tooling, and related libraries
|
|
20
|
-
|
|
21
|
-
So the decision is not about choosing two unrelated products. It is about choosing the edition baseline that fits your delivery goals best.
|
|
22
|
-
|
|
23
|
-
## Choose Cabloy Basic when
|
|
24
|
-
|
|
25
|
-
Cabloy Basic is usually the better fit when you want:
|
|
26
|
-
|
|
27
|
-
- the public framework/reference edition
|
|
28
|
-
- the default project route created by `npm create cabloy`
|
|
29
|
-
- open-source visibility and community-friendly workflows
|
|
30
|
-
- public examples and docs that match your repo directly
|
|
31
|
-
- a UI layer aligned with DaisyUI + Tailwind CSS
|
|
32
|
-
- a faster path for small-to-medium system development
|
|
33
|
-
|
|
34
|
-
## Choose Cabloy Start when
|
|
35
|
-
|
|
36
|
-
Cabloy Start is usually the better fit when you want:
|
|
37
|
-
|
|
38
|
-
- the public MIT-licensed edition maintained in its own repository
|
|
39
|
-
- direct cloning of the public Start repository
|
|
40
|
-
- Start-specific flavors, SSR site baselines, and project assets
|
|
41
|
-
- a UI layer aligned with Vuetify
|
|
42
|
-
- a stronger starting point for more complex business systems
|
|
43
|
-
- edition-specific rules, skills, and docs optimized for the Start repo assumptions
|
|
44
|
-
|
|
45
|
-
## The most practical decision factors
|
|
46
|
-
|
|
47
|
-
### Project creation path
|
|
48
|
-
|
|
49
|
-
- **Cabloy Basic**: create the project with `npm create cabloy`
|
|
50
|
-
- **Cabloy Start**: clone the public repository directly, then run `npm run init`
|
|
51
|
-
|
|
52
|
-
### UI strategy
|
|
53
|
-
|
|
54
|
-
- **Cabloy Basic**: DaisyUI + Tailwind CSS
|
|
55
|
-
- **Cabloy Start**: Vuetify
|
|
56
|
-
|
|
57
|
-
### Repo and asset model
|
|
58
|
-
|
|
59
|
-
- **Cabloy Basic**: public repository and public reference materials
|
|
60
|
-
- **Cabloy Start**: separate public repository with edition-specific SSR sites and project assets
|
|
61
|
-
|
|
62
|
-
### AI workflow assumptions
|
|
63
|
-
|
|
64
|
-
- **Cabloy Basic**: use Basic-specific examples, flavors, modules, and UI assumptions
|
|
65
|
-
- **Cabloy Start**: use Start-specific examples, flavors, SSR site baselines, and UI assumptions
|
|
66
|
-
|
|
67
|
-
This is why edition detection matters so much for AI vibe coding.
|
|
68
|
-
|
|
69
|
-
## A simple recommendation rule
|
|
70
|
-
|
|
71
|
-
Use this rule when you need a fast decision:
|
|
72
|
-
|
|
73
|
-
1. If you want the public, default, `npm create cabloy` path, choose **Cabloy Basic**.
|
|
74
|
-
2. If you want the public MIT-licensed Start repository with Start-oriented assets, a Vuetify-based business-system baseline, and a clone-plus-`npm run init` onboarding path, choose **Cabloy Start**.
|
|
75
|
-
3. If AI workflow accuracy matters for UI generation, SSR site assumptions, or flavor-specific commands, confirm the edition before writing prompts, rules, skills, or docs.
|
|
76
|
-
|
|
77
|
-
## Read together with
|
|
78
|
-
|
|
79
|
-
- [Editions Overview](/editions/overview)
|
|
80
|
-
- [Cabloy Basic](/editions/cabloy-basic)
|
|
81
|
-
- [Cabloy Start](/editions/cabloy-start)
|
|
82
|
-
- [Edition Detection](/editions/detection)
|
|
83
|
-
- [Fullstack Quickstart](/fullstack/quickstart)
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# Edition Detection
|
|
2
|
-
|
|
3
|
-
Edition detection is a first-class requirement for documentation, rules, and skills.
|
|
4
|
-
|
|
5
|
-
## Repository markers
|
|
6
|
-
|
|
7
|
-
Use these root markers:
|
|
8
|
-
|
|
9
|
-
- `__CABLOY_BASIC__` → Cabloy Basic
|
|
10
|
-
- `__CABLOY_START__` → Cabloy Start
|
|
11
|
-
|
|
12
|
-
## Why this matters
|
|
13
|
-
|
|
14
|
-
The two editions share many concepts but differ in important operational details, especially around:
|
|
15
|
-
|
|
16
|
-
- frontend UI library assumptions
|
|
17
|
-
- flavor-specific frontend scripts
|
|
18
|
-
- module availability
|
|
19
|
-
- Start-specific value-add project content
|
|
20
|
-
|
|
21
|
-
If an agent skips edition detection, it may generate the wrong instructions, recommend the wrong module, or use the wrong UI stack.
|
|
22
|
-
|
|
23
|
-
## Recommended rule for skills and repo guidance
|
|
24
|
-
|
|
25
|
-
Before suggesting a cross-stack implementation path:
|
|
26
|
-
|
|
27
|
-
1. check the repository marker
|
|
28
|
-
2. verify the relevant root scripts or package scripts
|
|
29
|
-
3. only then choose the edition-specific example or workflow branch
|
|
30
|
-
|
|
31
|
-
When neither marker is present, fall back to code inspection and ask the user before making a strong edition-specific assumption.
|