analyzthis_design 2.0.1 → 2.1.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.
- package/README.md +10 -5
- package/agents/cards/evolve-check.md +38 -0
- package/agents/manifests/evolve-check.json +16 -0
- package/dist/README.md +10 -5
- package/dist/agents/cards/evolve-check.md +38 -0
- package/dist/agents/manifests/evolve-check.json +16 -0
- package/dist/bin/cli.js +1225 -1
- package/dist/lib/cache.js +111 -1
- package/dist/lib/chunk-executor.js +219 -1
- package/dist/lib/chunk-models.js +228 -1
- package/dist/lib/chunk-planner.js +328 -1
- package/dist/lib/chunk-router.js +66 -1
- package/dist/lib/chunk-run.js +199 -1
- package/dist/lib/chunk-synthesis.js +176 -1
- package/dist/lib/chunk-telemetry.js +88 -1
- package/dist/lib/collect.js +858 -1
- package/dist/lib/cost.js +119 -1
- package/dist/lib/dedup.js +167 -1
- package/dist/lib/deliberation.js +721 -1
- package/dist/lib/design-spec.js +236 -1
- package/dist/lib/evolution-metrics.js +197 -0
- package/dist/lib/evolve.js +361 -1
- package/dist/lib/export.js +77 -1
- package/dist/lib/feedback-submit.js +324 -1
- package/dist/lib/feedback.js +182 -1
- package/dist/lib/host-llm.js +251 -1
- package/dist/lib/install.js +301 -1
- package/dist/lib/knowledge.js +384 -1
- package/dist/lib/lessons.js +217 -1
- package/dist/lib/moodboard.js +563 -1
- package/dist/lib/orchestrator/run.js +935 -1
- package/dist/lib/outcome.js +193 -1
- package/dist/lib/platforms.js +166 -1
- package/dist/lib/provider.js +57 -1
- package/dist/lib/query-expander.js +83 -1
- package/dist/lib/ranker.js +105 -1
- package/dist/lib/reference-pack.js +221 -1
- package/dist/lib/research.js +143 -1
- package/dist/lib/retrieve.js +131 -1
- package/dist/lib/session.js +185 -1
- package/dist/lib/source-discovery.js +486 -1
- package/dist/lib/synthesis.js +155 -1
- package/dist/lib/token-gate.js +46 -1
- package/dist/skills/evolve-check/SKILL.md +106 -0
- package/package.json +3 -6
- package/skills/evolve-check/SKILL.md +106 -0
package/README.md
CHANGED
|
@@ -15,23 +15,28 @@ Install once. Run structured UX critiques, multi-phase ideation, and task-ground
|
|
|
15
15
|
|
|
16
16
|
Use `npx analyzthis_design run-unchunked` for the legacy single-pass orchestrator.
|
|
17
17
|
|
|
18
|
-
**npm:** [analyzthis_design](https://www.npmjs.com/package/analyzthis_design) · **Current version:** 2.
|
|
18
|
+
**npm:** [analyzthis_design](https://www.npmjs.com/package/analyzthis_design) · **Current version:** 2.1.1 · **Step-by-step guide:** [HOW-TO-USE.md](./HOW-TO-USE.md)
|
|
19
19
|
|
|
20
20
|
---
|
|
21
21
|
|
|
22
22
|
## Quick start
|
|
23
23
|
|
|
24
24
|
```bash
|
|
25
|
-
# 1. Install
|
|
26
|
-
|
|
25
|
+
# 1. Install the npm package (no auto-install, no obfuscation)
|
|
26
|
+
npm install -g analyzthis_design
|
|
27
|
+
|
|
28
|
+
# 2. Install slash commands into your IDE (explicit, consent-based)
|
|
29
|
+
npx analyzthis_design --target all
|
|
27
30
|
|
|
28
|
-
#
|
|
31
|
+
# 3. Run a task in v2.0 chunked mode (free/cheap models)
|
|
29
32
|
npx analyzthis_design run --task "Review invoice approval screen"
|
|
30
33
|
|
|
31
|
-
#
|
|
34
|
+
# 4. Or use legacy single-pass orchestrator
|
|
32
35
|
npx analyzthis_design run-unchunked --task "Review invoice approval screen" --provider host
|
|
33
36
|
```
|
|
34
37
|
|
|
38
|
+
> **Security:** This package publishes **plain source** — no obfuscation, no minification, no dynamic require. Every file in `dist/` is readable and auditable. The `postinstall` script only prints a welcome message; it does **not** write to any AI-agent directories. Skill installation requires an explicit `npx analyzthis_design --target <ide>` command.
|
|
39
|
+
|
|
35
40
|
### Install by target IDE
|
|
36
41
|
|
|
37
42
|
```bash
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Evolve Check
|
|
2
|
+
|
|
3
|
+
**Devi skill** — After a successful critique run, check if the team has enough data to evolve and offer to run the evolution cycle.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## When to invoke
|
|
8
|
+
|
|
9
|
+
After a completed `run` or `run-unchunked` where:
|
|
10
|
+
- Personas produced outputs
|
|
11
|
+
- User accepted at least some outputs
|
|
12
|
+
- Outcomes were confirmed (shipped/revised/blocked/missed)
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## What to do
|
|
17
|
+
|
|
18
|
+
1. Run: `npx analyzthis_design evolve --ready --project <project>`
|
|
19
|
+
2. If ready → summarize pending patches and ask: "The team has enough data to evolve. Apply proposed patches?"
|
|
20
|
+
3. If user says yes → run `npx analyzthis_design evolve --apply <patchId>` for each patch
|
|
21
|
+
4. If not ready → tell user what's needed: "Need X more lessons / Y more outcomes"
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Example response
|
|
26
|
+
|
|
27
|
+
> ��� **Devi here!** The critique run completed successfully. I checked the team's evolution status — we have **2 lessons** and **0 confirmed outcomes**. Need **3 more lessons** or **10 outcomes** to trigger evolution.
|
|
28
|
+
>
|
|
29
|
+
> Want me to run a critique on another screen to build up the data?
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## Commands reference
|
|
34
|
+
|
|
35
|
+
- `npx analyzthis_design evolve --ready --project <id>` — check readiness
|
|
36
|
+
- `npx analyzthis_design evolve --metrics --project <id>` — show evolution dashboard
|
|
37
|
+
- `npx analyzthis_design evolve --extract --dry-run` — preview patches
|
|
38
|
+
- `npx analyzthis_design evolve --apply <id>` — apply a patch
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "evolve-check",
|
|
3
|
+
"name": "Evolve Check",
|
|
4
|
+
"type": "utility",
|
|
5
|
+
"tier": "structured",
|
|
6
|
+
"system_card": "agents/cards/evolve-check.md",
|
|
7
|
+
"system_skill": "skills/evolve-check/SKILL.md",
|
|
8
|
+
"allowed_jobs": ["evolve_check", "metrics_report"],
|
|
9
|
+
"forbidden_jobs": ["critique", "wireframe", "synthesize"],
|
|
10
|
+
"knowledge_categories": [],
|
|
11
|
+
"max_output_tokens": 600,
|
|
12
|
+
"effort_overrides": {
|
|
13
|
+
"trivial": { "provider": "host", "model": "devi", "max_output_tokens": 400 },
|
|
14
|
+
"standard": { "provider": "host", "model": "devi", "max_output_tokens": 600 }
|
|
15
|
+
}
|
|
16
|
+
}
|
package/dist/README.md
CHANGED
|
@@ -15,23 +15,28 @@ Install once. Run structured UX critiques, multi-phase ideation, and task-ground
|
|
|
15
15
|
|
|
16
16
|
Use `npx analyzthis_design run-unchunked` for the legacy single-pass orchestrator.
|
|
17
17
|
|
|
18
|
-
**npm:** [analyzthis_design](https://www.npmjs.com/package/analyzthis_design) · **Current version:** 2.
|
|
18
|
+
**npm:** [analyzthis_design](https://www.npmjs.com/package/analyzthis_design) · **Current version:** 2.1.1 · **Step-by-step guide:** [HOW-TO-USE.md](./HOW-TO-USE.md)
|
|
19
19
|
|
|
20
20
|
---
|
|
21
21
|
|
|
22
22
|
## Quick start
|
|
23
23
|
|
|
24
24
|
```bash
|
|
25
|
-
# 1. Install
|
|
26
|
-
|
|
25
|
+
# 1. Install the npm package (no auto-install, no obfuscation)
|
|
26
|
+
npm install -g analyzthis_design
|
|
27
|
+
|
|
28
|
+
# 2. Install slash commands into your IDE (explicit, consent-based)
|
|
29
|
+
npx analyzthis_design --target all
|
|
27
30
|
|
|
28
|
-
#
|
|
31
|
+
# 3. Run a task in v2.0 chunked mode (free/cheap models)
|
|
29
32
|
npx analyzthis_design run --task "Review invoice approval screen"
|
|
30
33
|
|
|
31
|
-
#
|
|
34
|
+
# 4. Or use legacy single-pass orchestrator
|
|
32
35
|
npx analyzthis_design run-unchunked --task "Review invoice approval screen" --provider host
|
|
33
36
|
```
|
|
34
37
|
|
|
38
|
+
> **Security:** This package publishes **plain source** — no obfuscation, no minification, no dynamic require. Every file in `dist/` is readable and auditable. The `postinstall` script only prints a welcome message; it does **not** write to any AI-agent directories. Skill installation requires an explicit `npx analyzthis_design --target <ide>` command.
|
|
39
|
+
|
|
35
40
|
### Install by target IDE
|
|
36
41
|
|
|
37
42
|
```bash
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Evolve Check
|
|
2
|
+
|
|
3
|
+
**Devi skill** — After a successful critique run, check if the team has enough data to evolve and offer to run the evolution cycle.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## When to invoke
|
|
8
|
+
|
|
9
|
+
After a completed `run` or `run-unchunked` where:
|
|
10
|
+
- Personas produced outputs
|
|
11
|
+
- User accepted at least some outputs
|
|
12
|
+
- Outcomes were confirmed (shipped/revised/blocked/missed)
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## What to do
|
|
17
|
+
|
|
18
|
+
1. Run: `npx analyzthis_design evolve --ready --project <project>`
|
|
19
|
+
2. If ready → summarize pending patches and ask: "The team has enough data to evolve. Apply proposed patches?"
|
|
20
|
+
3. If user says yes → run `npx analyzthis_design evolve --apply <patchId>` for each patch
|
|
21
|
+
4. If not ready → tell user what's needed: "Need X more lessons / Y more outcomes"
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Example response
|
|
26
|
+
|
|
27
|
+
> ��� **Devi here!** The critique run completed successfully. I checked the team's evolution status — we have **2 lessons** and **0 confirmed outcomes**. Need **3 more lessons** or **10 outcomes** to trigger evolution.
|
|
28
|
+
>
|
|
29
|
+
> Want me to run a critique on another screen to build up the data?
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## Commands reference
|
|
34
|
+
|
|
35
|
+
- `npx analyzthis_design evolve --ready --project <id>` — check readiness
|
|
36
|
+
- `npx analyzthis_design evolve --metrics --project <id>` — show evolution dashboard
|
|
37
|
+
- `npx analyzthis_design evolve --extract --dry-run` — preview patches
|
|
38
|
+
- `npx analyzthis_design evolve --apply <id>` — apply a patch
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "evolve-check",
|
|
3
|
+
"name": "Evolve Check",
|
|
4
|
+
"type": "utility",
|
|
5
|
+
"tier": "structured",
|
|
6
|
+
"system_card": "agents/cards/evolve-check.md",
|
|
7
|
+
"system_skill": "skills/evolve-check/SKILL.md",
|
|
8
|
+
"allowed_jobs": ["evolve_check", "metrics_report"],
|
|
9
|
+
"forbidden_jobs": ["critique", "wireframe", "synthesize"],
|
|
10
|
+
"knowledge_categories": [],
|
|
11
|
+
"max_output_tokens": 600,
|
|
12
|
+
"effort_overrides": {
|
|
13
|
+
"trivial": { "provider": "host", "model": "devi", "max_output_tokens": 400 },
|
|
14
|
+
"standard": { "provider": "host", "model": "devi", "max_output_tokens": 600 }
|
|
15
|
+
}
|
|
16
|
+
}
|