@whisperr/wizard 0.8.0 → 0.9.1

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.
Files changed (3) hide show
  1. package/README.md +17 -18
  2. package/dist/index.js +1481 -636
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -15,24 +15,23 @@ hands you a clean diff to review and commit.
15
15
 
16
16
  The wizard is an agentic integrator with task-aware hybrid routing:
17
17
 
18
- 1. **Plan** — one read-only pass charts your repo (entry points, end-user vs
19
- admin auth flows, billing surfaces, existing analytics wrappers) and
20
- decides, per event, exactly where it belongs (`file @ anchor`) with the
21
- properties available in scope or says honestly that it doesn't exist on
22
- this surface. It also notes churn-relevant moments your plan is missing.
23
- 2. **See the plan** — every placement is printed before a single line
24
- changes. The run then proceeds on its own; pass `--review-plan` if you'd
25
- rather confirm placements first, or `--propose-only` to keep new
26
- events/interventions behind dashboard approval instead of adding them.
27
- 3. **Wire** — Terra surveys and runs up to four file-isolated, four-event edit
28
- clusters concurrently. Opus 5 handles SDK setup and automatically retries a
29
- clean cluster when Terra is unavailable, quota-limited, incomplete, or
30
- invalid. No two workers edit the same file concurrently.
31
- 4. **Review** up to two fast Opus 5 tasks re-read diffs and fix wrong subjects,
32
- wrong lifecycle moments, and missing discriminators.
33
- 5. **Verify** — placements receive structural checks before their patches merge,
34
- then one full build/lint runs after all serial merges. Failures get an Opus
35
- repair pass. Every event ends
18
+ 1. **Survey** — Opus 5 low/fast maps the stack, feature areas, auth lifecycle,
19
+ existing analytics, and integratable call sites into a source-free run
20
+ artifact.
21
+ 2. **Design** a separate Opus 5 low/fast session designs and validates the
22
+ complete event batch from that saved survey. The batch is frozen and
23
+ registered atomically; there is no terminal event-approval prompt.
24
+ 3. **Set up** another isolated Opus 5 low/fast session installs and initializes
25
+ the SDK, binds generated wrappers, wires `identify()` for login/restoration,
26
+ and wires `reset()` for logout.
27
+ 4. **Wire** — Terra 5.6 medium/priority runs a rolling queue of up to four
28
+ file-isolated edit clusters, with no more than four events per cluster and
29
+ no concurrent edits to the same file.
30
+ 5. **Review** Sol 5.6 medium/priority reviews file-isolated event placements
31
+ for outcome timing, deduplication, payload correctness, PII safety, and
32
+ wrapper usage, repairing only failed files.
33
+ 6. **Verify** — the wizard runs the repository's available typecheck, lint, and
34
+ build scripts. Sol gets at most two targeted repair cycles. Every event ends
36
35
  the run as `✓ wired @ file` or `○ skipped — reason`.
37
36
 
38
37
  Multi-surface aware: run it in your web app, then your mobile app, then your