@rse/ase 0.9.10 → 0.9.12

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 (41) hide show
  1. package/dst/ase-compat.js +68 -0
  2. package/dst/ase-hook.js +158 -67
  3. package/dst/ase-service.js +2 -0
  4. package/dst/ase-setup.js +52 -23
  5. package/dst/ase-statusline.js +7 -3
  6. package/dst/ase.js +2 -0
  7. package/package.json +2 -1
  8. package/plugin/.claude-plugin/plugin.json +1 -1
  9. package/plugin/.codex-plugin/mcp.json +8 -0
  10. package/plugin/.codex-plugin/plugin.json +17 -0
  11. package/plugin/.github/plugin/plugin.json +1 -1
  12. package/plugin/hooks/hooks-codex.json +67 -0
  13. package/plugin/meta/ase-dialog.md +20 -0
  14. package/plugin/package.json +1 -1
  15. package/plugin/skills/ase-arch-analyze/SKILL.md +6 -1
  16. package/plugin/skills/ase-arch-discover/SKILL.md +2 -2
  17. package/plugin/skills/ase-code-analyze/SKILL.md +12 -5
  18. package/plugin/skills/ase-code-craft/SKILL.md +6 -3
  19. package/plugin/skills/ase-code-explain/SKILL.md +6 -1
  20. package/plugin/skills/ase-code-insight/SKILL.md +6 -1
  21. package/plugin/skills/ase-code-lint/SKILL.md +9 -3
  22. package/plugin/skills/ase-code-refactor/SKILL.md +6 -3
  23. package/plugin/skills/ase-code-resolve/SKILL.md +13 -9
  24. package/plugin/skills/ase-docs-proofread/SKILL.md +9 -3
  25. package/plugin/skills/ase-meta-brainstorm/SKILL.md +3 -4
  26. package/plugin/skills/ase-meta-changelog/SKILL.md +16 -5
  27. package/plugin/skills/ase-meta-chat/SKILL.md +6 -1
  28. package/plugin/skills/ase-meta-commit/SKILL.md +5 -0
  29. package/plugin/skills/ase-meta-compat/SKILL.md +288 -0
  30. package/plugin/skills/ase-meta-compat/help.md +67 -0
  31. package/plugin/skills/ase-meta-diaboli/SKILL.md +5 -1
  32. package/plugin/skills/ase-meta-diff/SKILL.md +1 -1
  33. package/plugin/skills/ase-meta-evaluate/SKILL.md +20 -12
  34. package/plugin/skills/ase-meta-persona/SKILL.md +6 -1
  35. package/plugin/skills/ase-meta-quorum/SKILL.md +15 -3
  36. package/plugin/skills/ase-meta-steelman/SKILL.md +5 -1
  37. package/plugin/skills/ase-task-delete/SKILL.md +6 -1
  38. package/plugin/skills/ase-task-grill/SKILL.md +30 -9
  39. package/plugin/skills/ase-task-id/SKILL.md +10 -3
  40. package/plugin/skills/ase-task-reboot/SKILL.md +2 -2
  41. package/plugin/skills/ase-task-rename/SKILL.md +15 -1
@@ -119,10 +119,10 @@ explicitly requested by this procedure via outputs based on a <template/>!
119
119
  Set <instruction><text/></instruction> (set instruction to extracted text).
120
120
  </if>
121
121
 
122
- 5. <elseif condition="<content/> contains '- **WHY**: <text/>' and <instruction/> is NOT empty">
122
+ 5. <if condition="<content/> contains '- **WHY**: <text/>' and <instruction/> is NOT empty">
123
123
  Set <instruction><instruction/>, BECAUSE <text/></instruction>
124
124
  (append extracted text to instruction).
125
- </elseif>
125
+ </if>
126
126
 
127
127
  6. <if condition="<content/> contains 'Created: <text/>'">
128
128
  Set <timestamp-created><text/></timestamp-created> (set
@@ -12,11 +12,16 @@ effort: high
12
12
 
13
13
  @${CLAUDE_SKILL_DIR}/../../meta/ase-control.md
14
14
  @${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md
15
+ @${CLAUDE_SKILL_DIR}/../../meta/ase-getopt.md
15
16
 
16
17
  <skill name="ase-task-rename">
17
18
  Rename a Task Plan
18
19
  </skill>
19
20
 
21
+ <expand name="getopt" arg1="ase-task-rename">
22
+ $ARGUMENTS
23
+ </expand>
24
+
20
25
  <objective>
21
26
  *Rename* the task plan.
22
27
  </objective>
@@ -32,7 +37,7 @@ explicitly requested by this procedure via outputs based on a <template/>!
32
37
 
33
38
  1. **Determine Task:**
34
39
 
35
- 1. Parse <arguments>$ARGUMENTS</arguments> into a whitespace-separated
40
+ 1. Parse <arguments><getopt-arguments/></arguments> into a whitespace-separated
36
41
  list of tokens. Inherit the always existing <ase-task-id/> and
37
42
  <ase-session-id/> from the current context. Do not output anything.
38
43
 
@@ -57,6 +62,15 @@ explicitly requested by this procedure via outputs based on a <template/>!
57
62
  </template>
58
63
  </if>
59
64
 
65
+ 5. <if condition="<old/> does NOT match the regexp `^[a-zA-Z][a-zA-Z0-9_-]*$` OR <new/> does NOT match the regexp `^[a-zA-Z][a-zA-Z0-9_-]*$`">
66
+ Only output the following <template/> and then immediately
67
+ *STOP* processing the entire current skill:
68
+
69
+ <template>
70
+ ⧉ **ASE**: ☻ skill: **ase-task-rename**, ▶ ERROR: invalid task id (expected `^[a-zA-Z][a-zA-Z0-9_-]*$`)
71
+ </template>
72
+ </if>
73
+
60
74
  2. **Perform Operation**:
61
75
 
62
76
  1. Call the `ase_task_rename(old: "<old/>", new: "<new/>")` tool of the