@fui-org/fui-cli 2.2.0 → 2.2.2
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/README.md +11 -22
- package/dist/{fui-qrb1j9jz.js → fui-gexr4km5.js} +172 -172
- package/dist/fui.js +1 -1
- package/package.json +1 -1
- package/skills/fui/SKILL.md +38 -23
- package/skills/fui/references/INDEX.md +0 -2
- package/skills/fui/references/component-quickref.md +5 -3
- package/skills/fui/references/db-table-design.md +1 -1
- package/skills/fui/references/db-workflow.md +13 -13
- package/skills/fui/references/new-session.md +28 -24
- package/skills/fui/references/script-map.md +1 -1
- package/skills/fui/references/system-design.md +2 -2
- package/skills/fui/references/tools-registry.md +11 -7
- package/skills/fui/references/verification.md +7 -7
- package/skills/fui/scripts/fechart.js +56 -12
- package/skills/fui/agents/fui-builder.md +0 -62
- package/skills/fui/agents/fui-tester.md +0 -77
- package/skills/fui/references/team-run.md +0 -141
package/README.md
CHANGED
|
@@ -49,8 +49,7 @@ Installed fui with Bun? Install Playwright the same way, so fui finds it: `bun a
|
|
|
49
49
|
|
|
50
50
|
`fui` installs one skill, `fui`, for each AI agent it finds, and refreshes it after every update. It holds the commands, the
|
|
51
51
|
safety rules and the FUI domain rules (module.json, components, tAPI and stored procedures, design systems); `fui skill`
|
|
52
|
-
prints it.
|
|
53
|
-
by the larger tasks below.
|
|
52
|
+
prints it. One AI agent handles each request from implementation through verification, without sub-agent hand-offs.
|
|
54
53
|
|
|
55
54
|
| Agent | Skills folder |
|
|
56
55
|
| ----------- | ------------------------------ |
|
|
@@ -66,25 +65,15 @@ Installed an agent later? The next `fui` run adds its skill. To install by hand:
|
|
|
66
65
|
fui skill install [--agent claude,codex,antigravity|all]
|
|
67
66
|
```
|
|
68
67
|
|
|
69
|
-
##
|
|
68
|
+
## Work with one agent
|
|
70
69
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
There is nothing to set up: the two agents come with `fui`. A Claude Code session that started before they were
|
|
79
|
-
installed does not see them, and then the agent does the same steps alone, with no independent tester. The builder and
|
|
80
|
-
the tester cannot run anything that changes the server or real data (publish, deploy, `fui exec`, `--confirm-write`,
|
|
81
|
-
deletes); the planner shows you the result and the one release command, and runs it only after you approve.
|
|
82
|
-
|
|
83
|
-
Then ask as usual, for example `add a search box and an edit dialog to /my-project/students`. Say "do it directly" or
|
|
84
|
-
"run it as a team" to overrule the choice.
|
|
85
|
-
|
|
86
|
-
The run keeps its plan, test reports and the review packet in `<workspace>/_team/<run>/`. Stored procedures are checked
|
|
87
|
-
by reading them, never by running them, so a SQL error can still appear at deploy.
|
|
70
|
+
Ask as usual, for example `add a search box and an edit dialog to /my-project/students`. The same agent understands the
|
|
71
|
+
request, changes the UI and stored procedures, checks the result and fixes proven failures. Exact changes are handled
|
|
72
|
+
directly; broader work gets a short internal plan without creating hand-off files. Checks run from cheapest to most
|
|
73
|
+
expensive, and browser rendering is used only when pixels matter. After all assigned module work passes its checks, the
|
|
74
|
+
agent publishes the module and deploys its SPs automatically. Say `do not upload`, `local only`, `draft` or `preview
|
|
75
|
+
first` when you want it to stop before changing the server. Destructive operations and real-data writes still require
|
|
76
|
+
explicit approval.
|
|
88
77
|
|
|
89
78
|
## Quick tour
|
|
90
79
|
|
|
@@ -122,7 +111,7 @@ fui db list
|
|
|
122
111
|
```
|
|
123
112
|
|
|
124
113
|
A connection is an MSSQL string (through tAPI) or a `sqlite://` URL. `fui db add <apiName>` saves it under a readable
|
|
125
|
-
connection name (`--name`, suggested from the apiName and zone otherwise) in `_db/_connections.json` version
|
|
114
|
+
connection name (`--name`, suggested from the apiName and zone otherwise) in `_db/_connections.json` without a version field.
|
|
126
115
|
|
|
127
116
|
## Coming from Fui MCP
|
|
128
117
|
|
|
@@ -134,7 +123,7 @@ fui config set api-base https://<fui-api-host>
|
|
|
134
123
|
printf %s "$FUI_TOKEN" | fui config set api-token -
|
|
135
124
|
```
|
|
136
125
|
|
|
137
|
-
|
|
126
|
+
Older connection files, including ones with `"version": 2` or records without `apiName`, are normalized the first
|
|
138
127
|
time `fui` reads them (the old file is kept in `_history/`). `fui db migrate` does the same for every project at once.
|
|
139
128
|
|
|
140
129
|
## Uninstall
|