@neikyun/ciel 6.2.0 → 6.2.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.
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
# CIEL META-CRITIQUER: post-task reflection triggered on SubagentStop
|
|
3
3
|
# Records learnings and updates state
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
PROJECT_DIR="${CLAUDE_PROJECT_DIR:-$(pwd)}"
|
|
6
|
+
MEMO_DIR="$PROJECT_DIR/.ciel"
|
|
7
|
+
mkdir -p "$MEMO_DIR" 2>/dev/null || true
|
|
7
8
|
|
|
8
9
|
# Check if RELIRE is required
|
|
9
10
|
if [ -f "$MEMO_DIR/relire-required" ]; then
|
|
@@ -12,8 +13,19 @@ if [ -f "$MEMO_DIR/relire-required" ]; then
|
|
|
12
13
|
rm -f "$MEMO_DIR/relire-required"
|
|
13
14
|
fi
|
|
14
15
|
|
|
15
|
-
# Log subagent completion
|
|
16
|
+
# Log subagent completion — parse agent type from stdin JSON.
|
|
17
|
+
# $SUBAGENT_TYPE env var is not injected by Claude Code; stdin is the correct source.
|
|
18
|
+
INPUT=$(cat 2>/dev/null || echo "{}")
|
|
19
|
+
AGENT_TYPE=$(echo "$INPUT" | python3 -c "
|
|
20
|
+
import sys, json
|
|
21
|
+
try:
|
|
22
|
+
d = json.load(sys.stdin)
|
|
23
|
+
print(d.get('subagent_type', d.get('agent_type', 'unknown')))
|
|
24
|
+
except:
|
|
25
|
+
print('unknown')
|
|
26
|
+
" 2>/dev/null || echo "unknown")
|
|
27
|
+
|
|
16
28
|
TIMESTAMP=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
|
|
17
|
-
echo "- [$TIMESTAMP] Subagent completed:
|
|
29
|
+
echo "- [$TIMESTAMP] Subagent completed: \"$AGENT_TYPE\"" >> "$MEMO_DIR/subagent-log.md"
|
|
18
30
|
|
|
19
31
|
exit 0
|
|
@@ -60,6 +60,24 @@
|
|
|
60
60
|
"command": "echo \"[CIEL] Explorer started: $(date -u +%Y-%m-%dT%H:%M:%SZ)\" >> \"$CLAUDE_PROJECT_DIR/.ciel/exploration-log.md\""
|
|
61
61
|
}
|
|
62
62
|
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"matcher": "ciel-researcher",
|
|
66
|
+
"hooks": [
|
|
67
|
+
{
|
|
68
|
+
"type": "command",
|
|
69
|
+
"command": "echo \"[CIEL] Researcher started: $(date -u +%Y-%m-%dT%H:%M:%SZ)\" >> \"$CLAUDE_PROJECT_DIR/.ciel/subagent-log.md\""
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"matcher": "ciel-critic",
|
|
75
|
+
"hooks": [
|
|
76
|
+
{
|
|
77
|
+
"type": "command",
|
|
78
|
+
"command": "echo \"[CIEL] Critic started: $(date -u +%Y-%m-%dT%H:%M:%SZ)\" >> \"$CLAUDE_PROJECT_DIR/.ciel/subagent-log.md\""
|
|
79
|
+
}
|
|
80
|
+
]
|
|
63
81
|
}
|
|
64
82
|
],
|
|
65
83
|
"Stop": [
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neikyun/ciel",
|
|
3
|
-
"version": "6.2.
|
|
4
|
-
"description": "Ciel
|
|
3
|
+
"version": "6.2.1",
|
|
4
|
+
"description": "Ciel — Deep-reasoning pipeline for LLM-assisted development. OpenCode plugin + multi-platform CLI (OpenCode, Claude Code, more).",
|
|
5
5
|
"main": "./dist/plugin/index.js",
|
|
6
6
|
"types": "./dist/plugin/index.d.ts",
|
|
7
7
|
"bin": {
|
|
@@ -45,4 +45,4 @@
|
|
|
45
45
|
"pipeline",
|
|
46
46
|
"deep-reasoning"
|
|
47
47
|
]
|
|
48
|
-
}
|
|
48
|
+
}
|