@rse/ase 2.0.4 → 2.0.6

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 (48) hide show
  1. package/dst/ase-config-schema.js +1 -1
  2. package/dst/ase-hook.js +12 -3
  3. package/dst/ase-setup-settings.js +111 -1
  4. package/dst/ase-setup.js +19 -7
  5. package/dst/ase-spec.js +184 -49
  6. package/dst/ase-task-board-tui-model.js +8 -1
  7. package/dst/ase-task-board-tui.js +26 -2
  8. package/dst/ase-task-board-web-client.js +10 -10
  9. package/dst/man/ase-artifact.md +1 -1
  10. package/dst/man/ase-config.md +5 -3
  11. package/dst/man/ase-mcp.md +1 -1
  12. package/dst/man/ase-setup-install.md +10 -1
  13. package/dst/man/ase-setup-status.md +6 -0
  14. package/dst/man/ase-setup-uninstall.md +3 -1
  15. package/dst/man/ase-setup-update.md +3 -0
  16. package/dst/man/ase-setup.md +4 -4
  17. package/dst/man/ase-spec-export.md +14 -3
  18. package/dst/man/ase-spec-init.md +10 -1
  19. package/dst/man/ase-spec-lint.md +2 -1
  20. package/dst/man/ase-spec-preview.md +10 -1
  21. package/dst/man/ase-spec-query.md +96 -0
  22. package/dst/man/ase-spec.md +32 -11
  23. package/dst/man/ase.md +3 -3
  24. package/package.json +21 -18
  25. package/plugin/.claude-plugin/icon.png +0 -0
  26. package/plugin/.claude-plugin/plugin.json +1 -1
  27. package/plugin/.codex-plugin/plugin.json +1 -1
  28. package/plugin/.github/plugin/plugin.json +1 -1
  29. package/plugin/meta/ase-format-spec.md +29 -5
  30. package/plugin/meta/ase-format-specbook.md +427 -47
  31. package/plugin/meta/ase-format-specbook.yaml +180 -78
  32. package/plugin/mods/ase-mods-common.ts +474 -0
  33. package/plugin/mods/ase-mods-evaluate.ts +227 -0
  34. package/plugin/mods/ase-mods-grill.ts +283 -0
  35. package/plugin/mods/ase-mods-help-browse.ts +410 -0
  36. package/plugin/mods/ase-mods-help-compose.ts +561 -0
  37. package/plugin/mods/ase-mods-help-find.ts +434 -0
  38. package/plugin/mods/ase-mods-help-hint.ts +134 -0
  39. package/plugin/mods/ase-mods-help-show.ts +142 -0
  40. package/plugin/mods/ase-mods.ts +220 -381
  41. package/plugin/skills/ase-code-lint/SKILL.md +15 -15
  42. package/plugin/skills/ase-code-lint/help.md +21 -8
  43. package/plugin/skills/ase-help-intent/SKILL.md +2 -1
  44. package/plugin/skills/ase-help-intent/data.md +42 -16
  45. package/plugin/skills/ase-spec-activate/SKILL.md +4 -1
  46. package/plugin/skills/ase-spec-lint/SKILL.md +15 -15
  47. package/plugin/skills/ase-spec-lint/help.md +21 -8
  48. package/plugin/mods/claude-code.d.ts +0 -13440
@@ -20,16 +20,40 @@ SpecBook Project Instantiation
20
20
  with **ASE** in the file `meta/ase-format-specbook.yaml`
21
21
  (relative to the plugin root).
22
22
 
23
+ - For each entry `meta`, `pm`, or `npm:...`, `github:...`,
24
+ `http://...`, or `https://...` in the list:
25
+
26
+ The entry names a YAML schema configuration bundled with or
27
+ fetched by **SpecBook** itself (the meta, the project
28
+ management, or a remote one), which has no file to read.
29
+ Instead, obtain the *effective* (merged) schema configuration
30
+ once via the `ase_specbook_query(schema: true, selector: "/
31
+ artifact", format: "yaml")` tool of the `ase` MCP server, which
32
+ describes it as a **SpecBook** document.
33
+
23
34
  - For each *other* entry in the list:
24
35
 
25
- The entry names a custom YAML schema configuration file of the
26
- project (relative to the project root).
36
+ The entry names a custom YAML schema configuration file (or
37
+ glob pattern of files) of the project (relative to the project
38
+ root).
27
39
 
28
40
  You *MUST* read all resulting schema configuration files via the
29
41
  `Read` tool before working on the specification of the **SpecBook
30
42
  SPEC Model**.
31
43
 
32
44
  - The **SpecBook SPEC Model** of this project is the set of specification
33
- Markdown files in the directory <ase-spec-basedir/> (relative
34
- to the project root), whose files are resolved via the
35
- `ase_artifact_list(kind: [ "spec" ])` tool of the `ase` MCP server.
45
+ Markdown files below the directory <ase-spec-basedir/> (relative
46
+ to the project root, recursively, where every `.md` file is a
47
+ specification file, whatever its name), whose files are resolved
48
+ via the `ase_artifact_list(kind: [ "spec" ])` tool of the `ase` MCP
49
+ server.
50
+
51
+ - The **SpecBook SPEC Model** of this project can be queried
52
+ *structurally* via the `ase_specbook_query(selector: "<selector/>")`
53
+ tool of the `ase` MCP server, with an XPath-like *ASTq* selector
54
+ like `// USE-CASE [ @STATUS == 'Done' ]` (object nodes typed by
55
+ their kind with whitespace dashed, attributes `id`, `name`,
56
+ `description`, `rationale`, and one per property key, and the
57
+ function `refs()` yielding the objects referenced by an object).
58
+ Prefer it over reading many artifact files when a question spans
59
+ objects of entire kinds, property values, or reference relations.