@rse/ase 0.9.6 → 0.9.7
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/dst/ase-markdown.js +235 -0
- package/dst/ase-service.js +2 -0
- package/dst/ase-task.js +5 -2
- package/package.json +5 -5
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/.github/plugin/plugin.json +1 -1
- package/plugin/meta/ase-format-task.md +14 -14
- package/plugin/package.json +2 -2
- package/plugin/skills/ase-code-craft/SKILL.md +7 -7
- package/plugin/skills/ase-code-craft/help.md +2 -2
- package/plugin/skills/ase-code-refactor/SKILL.md +7 -7
- package/plugin/skills/ase-code-refactor/help.md +2 -2
- package/plugin/skills/ase-code-resolve/SKILL.md +7 -7
- package/plugin/skills/ase-code-resolve/help.md +2 -2
- package/plugin/skills/ase-task-edit/SKILL.md +5 -4
- package/plugin/skills/ase-task-edit/help.md +1 -1
- package/plugin/skills/ase-task-grill/SKILL.md +7 -1
- package/plugin/skills/ase-task-implement/SKILL.md +2 -2
- package/plugin/skills/ase-task-implement/help.md +1 -1
- package/plugin/skills/ase-task-preflight/SKILL.md +2 -2
- package/plugin/skills/ase-task-reboot/SKILL.md +5 -5
- package/plugin/skills/ase-task-view/SKILL.md +19 -8
- package/dst/ase-bash.js +0 -618
- package/dst/ase-hello.js +0 -24
|
@@ -107,24 +107,24 @@ explicitly requested by this procedure via outputs based on a <template/>!
|
|
|
107
107
|
|
|
108
108
|
1. Start with <instruction></instruction> (set instruction to empty).
|
|
109
109
|
|
|
110
|
-
2. <if condition="<content/> contains neither '-
|
|
110
|
+
2. <if condition="<content/> contains neither '- **WHAT**:' nor '- **WHY**:'">
|
|
111
111
|
Set <instruction><content/></instruction> (set instruction to content).
|
|
112
112
|
</if>
|
|
113
113
|
|
|
114
|
-
3. <if condition="<content/> contains '-
|
|
114
|
+
3. <if condition="<content/> contains '- **WHAT**: <text/>'">
|
|
115
115
|
Set <instruction><text/></instruction> (set instruction to extracted text).
|
|
116
116
|
</if>
|
|
117
117
|
|
|
118
|
-
4. <if condition="<content/> contains '-
|
|
118
|
+
4. <if condition="<content/> contains '- **WHY**: <text/>' and <instruction/> is empty">
|
|
119
119
|
Set <instruction><text/></instruction> (set instruction to extracted text).
|
|
120
120
|
</if>
|
|
121
121
|
|
|
122
|
-
5. else <if condition="<content/> contains '-
|
|
122
|
+
5. else <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
125
|
</if>
|
|
126
126
|
|
|
127
|
-
6. <if condition="<content/> contains '
|
|
127
|
+
6. <if condition="<content/> contains 'Created: <text/>'">
|
|
128
128
|
Set <timestamp-created><text/></timestamp-created> (set
|
|
129
129
|
timestamp-created to extracted text)
|
|
130
130
|
</if>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ase-task-view
|
|
3
|
-
argument-hint: "[--help|-h] [<id>]"
|
|
3
|
+
argument-hint: "[--help|-h] [--full|-f] [<id>]"
|
|
4
4
|
description: >
|
|
5
5
|
View current or given task plan.
|
|
6
6
|
Use when the user calls to "view", "show" or "see" the
|
|
@@ -12,11 +12,18 @@ 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-view">
|
|
17
18
|
View a Task Plan
|
|
18
19
|
</skill>
|
|
19
20
|
|
|
21
|
+
<expand name="getopt"
|
|
22
|
+
arg1="ase-task-view"
|
|
23
|
+
arg2="--full|-f">
|
|
24
|
+
$ARGUMENTS
|
|
25
|
+
</expand>
|
|
26
|
+
|
|
20
27
|
<objective>
|
|
21
28
|
*View* the task plan.
|
|
22
29
|
</objective>
|
|
@@ -32,7 +39,7 @@ explicitly requested by this procedure via outputs based on a <template/>!
|
|
|
32
39
|
|
|
33
40
|
1. **Determine Task:**
|
|
34
41
|
|
|
35
|
-
1. Set <id
|
|
42
|
+
1. Set <id><getopt-arguments/></id> initially, with any leading and trailing
|
|
36
43
|
whitespace stripped.
|
|
37
44
|
Inherit the always existing <ase-task-id/> from the current context.
|
|
38
45
|
Do not output anything.
|
|
@@ -76,15 +83,19 @@ explicitly requested by this procedure via outputs based on a <template/>!
|
|
|
76
83
|
</template>
|
|
77
84
|
|
|
78
85
|
2. <if condition="<content/> is not empty">
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
86
|
+
Treat <content/> as *verbatim* Markdown.
|
|
87
|
+
*Render plan*: Only output the following <template/>. If
|
|
88
|
+
<getopt-option-full/> is *not* `true`, <content/> is longer than
|
|
89
|
+
90 lines, and a `## IMPLEMENTATION DRAFT` section (from the
|
|
90
|
+
companion skill `ase-task-preflight`) exists, replace the entire
|
|
91
|
+
content of the `## IMPLEMENTATION DRAFT` section with `[...]`.
|
|
92
|
+
Else, do *not* truncate, summarize, or partially show the plan.
|
|
93
|
+
Use the following <template/>:
|
|
83
94
|
|
|
84
95
|
<template>
|
|
85
|
-
<ase-tpl-head title="TASK
|
|
96
|
+
<ase-tpl-head title="TASK"/>
|
|
86
97
|
<content/>
|
|
87
|
-
<ase-tpl-foot title="TASK
|
|
98
|
+
<ase-tpl-foot title="TASK"/>
|
|
88
99
|
</template>
|
|
89
100
|
</if>
|
|
90
101
|
|