@topy-ai/maggie 0.7.44 → 0.7.46
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-zh-TW.md +29 -6
- package/README.md +86 -12
- package/bin/maggie.js +207 -58
- package/bundled-contracts/google-integrations/capability-report-v2.schema.json +76 -0
- package/bundled-contracts/google-integrations/external-write-readback-v1.schema.json +36 -0
- package/bundled-contracts/maggie-deployment/deployer-delegation-v1.schema.json +20 -0
- package/bundled-contracts/maggie-deployment/release-profile-v1.schema.json +34 -0
- package/bundled-contracts/maggie-design/browser-capability-v1.schema.json +33 -0
- package/bundled-contracts/maggie-feedback/evidence-bundle-v1.schema.json +38 -0
- package/bundled-references/browser-inspection.md +17 -0
- package/bundled-references/google-integrations-runbook.md +8 -1
- package/bundled-skills/maggie-blog-bootstrap/SKILL.md +7 -7
- package/bundled-skills/maggie-clone/SKILL.md +21 -14
- package/bundled-skills/maggie-clone-to-template/SKILL.md +11 -11
- package/bundled-skills/maggie-clone-to-template/references/workflow.md +2 -2
- package/bundled-skills/maggie-content-localization/SKILL.md +10 -10
- package/bundled-skills/maggie-deployment/SKILL.md +57 -23
- package/bundled-skills/maggie-deployment/references/vps.md +4 -4
- package/bundled-skills/maggie-design/SKILL.md +12 -12
- package/bundled-skills/maggie-feedback/SKILL.md +23 -0
- package/bundled-skills/maggie-marketplace/SKILL.md +12 -12
- package/bundled-skills/maggie-ops/SKILL.md +28 -6
- package/bundled-skills/maggie-project-context/SKILL.md +1 -1
- package/bundled-skills/maggie-seo-geo/SKILL.md +6 -3
- package/bundled-skills/maggie-service-booking/SKILL.md +24 -24
- package/bundled-skills/maggie-social-share/SKILL.md +2 -2
- package/bundled-skills/maggie-template/SKILL.md +5 -5
- package/bundled-tools/clis/maggie_analytics.py +8 -0
- package/bundled-tools/clis/maggie_browser_audit.py +13 -2
- package/bundled-tools/clis/maggie_deployment.py +167 -6
- package/bundled-tools/clis/maggie_feedback.py +115 -1
- package/bundled-tools/clis/maggie_ops.py +33 -0
- package/bundled-tools/clis/maggie_release.py +124 -19
- package/bundled-tools/runtime/browser_capability.py +143 -0
- package/bundled-tools/runtime/external_write.py +122 -0
- package/bundled-tools/runtime/google_capabilities.py +37 -5
- package/package.json +1 -1
- package/references/browser-inspection.md +17 -0
- package/references/google-integrations-runbook.md +8 -1
package/README-zh-TW.md
CHANGED
|
@@ -8,11 +8,34 @@ Codex、Claude Code 與相容的 coding agents。
|
|
|
8
8
|
## 安裝
|
|
9
9
|
|
|
10
10
|
```bash
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
npm install --global @topy-ai/maggie
|
|
12
|
+
maggie init --scope user --agent all
|
|
13
|
+
maggie doctor --scope user --agent all
|
|
13
14
|
```
|
|
14
15
|
|
|
15
|
-
|
|
16
|
+
這只會把可重用 skills 和 shared references 安裝到 user-level Claude Code/Codex
|
|
17
|
+
目錄;`.maggie/`、evidence、contracts、templates、marketplace 和 host files
|
|
18
|
+
仍然由各 project 自己管理。更新全域安裝:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npm install --global @topy-ai/maggie@latest
|
|
22
|
+
maggie update --scope user --agent all
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
若要讓 repository 固定自己的 skill 版本,才使用 project-local 安裝:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
npx @topy-ai/maggie init --scope project --agent all
|
|
29
|
+
npx @topy-ai/maggie doctor --scope project --project .
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
目前 release 是 `0.7.46`。新增 browser adapter capability preflight、privacy-safe
|
|
33
|
+
feedback evidence references/relationships、bounded batch-review evidence graph、
|
|
34
|
+
remediation suggestions,以及 root-level unittest import 支援。`browser-audit
|
|
35
|
+
--check-browser` 會在導覽前拒絕 missing/incompatible adapter,包括解析成
|
|
36
|
+
`xdg-open` 的系統 `browse`;feedback graph 不保存 raw payload、logs、credentials
|
|
37
|
+
或本機路徑。另包含 0.7.45 的 Codex/Claude Code 一次性 user-scope 安裝、bundled
|
|
38
|
+
workflow runner 與 user-scope maintenance commands;並完成 2026-09-24 booking feedback batch:MaggieDash
|
|
16
39
|
Calendar availability grid/free-slot entry,以及 ORA modal focus restoration
|
|
17
40
|
的驗證證據。另新增 secret-free Starter marketplace provisioning
|
|
18
41
|
plan、versioned GitHub/Cloudflare/Starter contracts,以及 deterministic
|
|
@@ -57,8 +80,8 @@ maggie booking-delivery --policy .maggie/booking-delivery-policy.json
|
|
|
57
80
|
常用流程:
|
|
58
81
|
|
|
59
82
|
```bash
|
|
60
|
-
|
|
61
|
-
|
|
83
|
+
maggie tool maggie.py analyze . --json --save
|
|
84
|
+
maggie tool maggie.py bootstrap interview .
|
|
62
85
|
maggie memory context --project . --skill <skill-name>
|
|
63
86
|
maggie doctor --project . --require-bootstrap --strict
|
|
64
87
|
```
|
|
@@ -82,7 +105,7 @@ structure drift 或重複 treatment product 時 fail closed。
|
|
|
82
105
|
deployment、memory、feedback 和 MaggieDash。內容先 draft/review,外部寫入、
|
|
83
106
|
publish 與 production deployment 需要明確確認。
|
|
84
107
|
|
|
85
|
-
目前 source tree 的正式 release 是 `0.7.
|
|
108
|
+
目前 source tree 的正式 release 是 `0.7.46`。本版完成 2026-09-24 booking feedback batch:Calendar grid/free-slot entry 與 host modal focus-restoration evidence。本版新增 Starter marketplace provisioning plan;本版完成 feedback batches 22、23:加入 declarative browser interaction evidence、design markup/style/content-key gate、compiler source anchoring、entity double-escape protection、`update --help` read-only、noindex hypothetical indexability、可過期 baseline acknowledgement、DOM-only link extraction regression,以及 MaggieDash 0.2.10 的 content override、短期 browser session、CDN-safe public-session cache contracts。authentication 和 isolated dev server 仍由 host 負責。`maggie-booking` workflow、傳統 email/password、Stripe、Resend、public booking flow 及既有安全邊界維持不變;provider-bound video generation 與 transactional delivery 仍記錄在 issue #39,前一批延後功能仍在 issue #38,不會直接成為 active memory。0.7.33 記錄並審查一筆更正回饋;確認 0.7.32 已正確處理 batch index,沒有修改已驗證的 shared behavior。0.7.32 加入 feedback 一基索引支援、MaggieDash panel 的 source/freshness/error evidence、Consent Mode 與實際 write/no-op reconciliation、SEO baseline recapture、sitemap origin rebasing、content-diff scope、migration ledger reconciliation、deployment credential preflight、release provenance/runtime preflight、icon release gate、opt-in blog auto-publish gate,以及 least-privilege VPS deployer。也修復 top-level `maggie feedback` dispatcher parity。0.7.31 加入 update 差異摘要、atomic installer copy、subset install manifest merge,以及 inventory drift 時 doctor non-zero。0.7.30 補上 feedback tracking issue closeout gate 與 batch 14/15 audit ledger。0.7.29 修正 npm package landing page 使用英文 README;0.7.28 加入 versioned Gemini model policy、明確 fallback 與 provenance、bundled-first CLI
|
|
86
109
|
dispatch、`maggie --version`、feedback batch review 聚合與重複偵測、marketplace enrichment evidence、booking
|
|
87
110
|
worker/resolver evidence,以及 read-only migration preflight。它也包含 host-owned mobile app surface contract、signed-in
|
|
88
111
|
camera-state QA、直接 Astro route resolution、correlated feedback batch,以及
|
package/README.md
CHANGED
|
@@ -12,7 +12,36 @@ composable skills for project bootstrap, authorized website cloning, design
|
|
|
12
12
|
systems, SEO/GEO, content operations, marketplace templates, deployment, and
|
|
13
13
|
persistent project memory.
|
|
14
14
|
|
|
15
|
-
## Install
|
|
15
|
+
## Install once for every project
|
|
16
|
+
|
|
17
|
+
Install the CLI globally and place the reusable skills in the user-level
|
|
18
|
+
directories used by Codex and Claude Code:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npm install --global @topy-ai/maggie
|
|
22
|
+
maggie init --scope user --agent all
|
|
23
|
+
maggie doctor --scope user --agent all
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
This writes only agent skills, shared references, and a user install manifest.
|
|
27
|
+
Project `.maggie/` state, evidence, contracts, templates, marketplace data,
|
|
28
|
+
and host files remain local to each project. Use `maggie tool` when a workflow
|
|
29
|
+
needs a bundled Python CLI; it runs the package copy with the current project
|
|
30
|
+
as its working directory.
|
|
31
|
+
|
|
32
|
+
Upgrade the CLI and user skills together:
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
npm install --global @topy-ai/maggie@latest
|
|
36
|
+
maggie update --scope user --agent all
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
`--global` is an alias for `--scope user`. Use `--force` only to replace an
|
|
40
|
+
intentionally customized user skill.
|
|
41
|
+
|
|
42
|
+
## Project-local install
|
|
43
|
+
|
|
44
|
+
Use project scope when a repository must pin or customize its skill files:
|
|
16
45
|
|
|
17
46
|
`site-audit --crawl --save-baseline FILE --reviewer NAME` records a reviewed
|
|
18
47
|
site contract; `site-audit --crawl --baseline FILE` fails on URL, metadata,
|
|
@@ -25,14 +54,14 @@ with explicit `--confirm`, resumable draft batches and no automatic publishing.
|
|
|
25
54
|
See the installed localization skill for the adapter protocol and examples.
|
|
26
55
|
|
|
27
56
|
```bash
|
|
28
|
-
npx @topy-ai/maggie init --agent codex
|
|
57
|
+
npx @topy-ai/maggie init --scope project --agent codex
|
|
29
58
|
```
|
|
30
59
|
|
|
31
60
|
Install for Claude Code or both supported agent directories:
|
|
32
61
|
|
|
33
62
|
```bash
|
|
34
|
-
npx @topy-ai/maggie init --agent claude
|
|
35
|
-
npx @topy-ai/maggie init --agent all
|
|
63
|
+
npx @topy-ai/maggie init --scope project --agent claude
|
|
64
|
+
npx @topy-ai/maggie init --scope project --agent all
|
|
36
65
|
```
|
|
37
66
|
|
|
38
67
|
Update an existing project while preserving local customisations by default:
|
|
@@ -60,7 +89,14 @@ Maggie keeps the existing project foundation and asks for decisions before
|
|
|
60
89
|
shared routes, analytics, or publishing boundaries change. The current
|
|
61
90
|
package ships 20 installable skills and a local-first MaggieDash foundation.
|
|
62
91
|
|
|
63
|
-
The current release is `0.7.
|
|
92
|
+
The current release is `0.7.46`. It adds browser-adapter capability preflight,
|
|
93
|
+
privacy-safe feedback evidence references/relationships, bounded batch-review
|
|
94
|
+
evidence graphs, remediation suggestions, and root-level unittest import
|
|
95
|
+
support. `browser-audit --check-browser` rejects missing or incompatible
|
|
96
|
+
adapters before navigation, including a system `browse`/`xdg-open` opener.
|
|
97
|
+
It also includes the 0.7.45 one-time user-scope installation for
|
|
98
|
+
Codex and Claude Code, a bundled workflow runner, and scoped maintenance
|
|
99
|
+
commands. It also closes the 2026-09-24 booking feedback
|
|
64
100
|
batch with the canonical MaggieDash Calendar availability grid/free-slot
|
|
65
101
|
entry and documented ORA modal focus-restoration evidence. It also adds the
|
|
66
102
|
secret-free Starter marketplace
|
|
@@ -313,8 +349,8 @@ For a genuinely empty project, create the host framework first, then bootstrap
|
|
|
313
349
|
Maggie in this order:
|
|
314
350
|
|
|
315
351
|
```bash
|
|
316
|
-
|
|
317
|
-
|
|
352
|
+
maggie tool maggie.py analyze . --json --save
|
|
353
|
+
maggie tool maggie.py bootstrap interview .
|
|
318
354
|
maggie dash install --project . --confirm
|
|
319
355
|
maggie dash init --project . --confirm
|
|
320
356
|
maggie dash migrate --project . --confirm
|
|
@@ -336,8 +372,9 @@ The CLI provides the installer plus durable workflow commands:
|
|
|
336
372
|
|
|
337
373
|
```text
|
|
338
374
|
maggie --version | version
|
|
339
|
-
maggie init | install | update | remove | list | doctor
|
|
340
|
-
maggie cleanup --project . [--confirm]
|
|
375
|
+
maggie init | install | update | remove | list | doctor [--scope project|user]
|
|
376
|
+
maggie cleanup [--scope project|user] --project . [--confirm]
|
|
377
|
+
maggie tool <bundled-cli.py> [arguments]
|
|
341
378
|
maggie bootstrap interview | phase ...
|
|
342
379
|
maggie dash install | init | status | migrate | cms ...
|
|
343
380
|
maggie dash transition ... # explicit content approval transition
|
|
@@ -458,6 +495,23 @@ maggie blog auto-publish-gate \
|
|
|
458
495
|
|
|
459
496
|
### Design and deployment release gates
|
|
460
497
|
|
|
498
|
+
`maggie release` requires an explicit `.maggie/release-profile.json` capability
|
|
499
|
+
manifest. This prevents a public Astro site from being evaluated against
|
|
500
|
+
unrelated MaggieDash, Booking, migration, service-catalogue, or analytics
|
|
501
|
+
artifacts. A minimal profile is:
|
|
502
|
+
|
|
503
|
+
```json
|
|
504
|
+
{
|
|
505
|
+
"schemaVersion": "maggie-release-profile.v1",
|
|
506
|
+
"profile": "public-astro",
|
|
507
|
+
"projectType": "astro",
|
|
508
|
+
"capabilities": ["deployment"]
|
|
509
|
+
}
|
|
510
|
+
```
|
|
511
|
+
|
|
512
|
+
Declare optional capabilities only when the project owns their evidence. The
|
|
513
|
+
release report records undeclared optional gates as `skipped`.
|
|
514
|
+
|
|
461
515
|
Check source-to-runtime icon coverage before shipping a design:
|
|
462
516
|
|
|
463
517
|
```bash
|
|
@@ -556,6 +610,10 @@ maggie deployment readiness --project . \
|
|
|
556
610
|
--output .maggie/deployment-readiness.json
|
|
557
611
|
```
|
|
558
612
|
|
|
613
|
+
Individual suites can also be invoked from the repository root with
|
|
614
|
+
`python3 -m unittest tools.tests.test_maggie_feedback_batch`. Use the
|
|
615
|
+
regression runner for the complete discovered suite.
|
|
616
|
+
|
|
559
617
|
The readiness report follows `maggie-deployment-readiness.v1`. It reports unit
|
|
560
618
|
regression, package smoke, host browser evidence, rendered canary, and
|
|
561
619
|
deployment preflight separately. Missing host adapter evidence is
|
|
@@ -599,8 +657,8 @@ artifact schemas.
|
|
|
599
657
|
Recommended upgrade sequence for the current release:
|
|
600
658
|
|
|
601
659
|
```bash
|
|
602
|
-
npx @topy-ai/maggie@0.7.
|
|
603
|
-
npx @topy-ai/maggie@0.7.
|
|
660
|
+
npx @topy-ai/maggie@0.7.46 update --scope project --project . --force
|
|
661
|
+
npx @topy-ai/maggie@0.7.46 cleanup --scope project --project .
|
|
604
662
|
```
|
|
605
663
|
|
|
606
664
|
Maintainers should pass npm credentials through the repository helper, never
|
|
@@ -898,6 +956,16 @@ The `maggie-feedback-batch-review.v1` report retains bounded observations,
|
|
|
898
956
|
missing-index and duplicate checks, and privacy flags. It never contains raw
|
|
899
957
|
responses, local paths, or secrets.
|
|
900
958
|
|
|
959
|
+
Add safe relationships when a report must point to a test or related run:
|
|
960
|
+
|
|
961
|
+
```bash
|
|
962
|
+
maggie feedback collect --project . --summary "Adapter unavailable" \
|
|
963
|
+
--evidence-ref test:browser-capability:passed \
|
|
964
|
+
--relationship same-run=clone-001
|
|
965
|
+
```
|
|
966
|
+
|
|
967
|
+
Batch review also emits bounded `evidenceGraph` and remediation suggestions.
|
|
968
|
+
|
|
901
969
|
The same evidence-first pattern is available for the other maintainer checks:
|
|
902
970
|
|
|
903
971
|
```bash
|
|
@@ -1028,7 +1096,7 @@ See the [NoBlox preview gallery](https://github.com/TOPY-AI-LTD/NoBlox-App-Templ
|
|
|
1028
1096
|
For an explicit brand change, run Maggie Design rebrand before `review`:
|
|
1029
1097
|
|
|
1030
1098
|
```bash
|
|
1031
|
-
|
|
1099
|
+
maggie tool maggie_design.py rebrand \
|
|
1032
1100
|
--template marketplace/templates/<id> \
|
|
1033
1101
|
--source-brand "Source Brand" --brand "Target Brand"
|
|
1034
1102
|
```
|
|
@@ -1147,6 +1215,12 @@ maggie browser-audit https://example.com \
|
|
|
1147
1215
|
It captures scroll/geometry samples and screenshots, then fails on hidden
|
|
1148
1216
|
required elements, horizontal overflow or invalid sticky positioning.
|
|
1149
1217
|
|
|
1218
|
+
Before navigation, the command writes a redacted
|
|
1219
|
+
`maggie-browser-capability.v1` report and rejects missing or incompatible
|
|
1220
|
+
adapters, including a system `browse`/`xdg-open` desktop opener. Add
|
|
1221
|
+
`--check-browser` to run only this preflight and receive bounded
|
|
1222
|
+
installation/fallback guidance.
|
|
1223
|
+
|
|
1150
1224
|
List every installed skill and command:
|
|
1151
1225
|
|
|
1152
1226
|
```bash
|