deepflow 0.1.12 → 0.1.14
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/VERSION +1 -1
- package/bin/install.js +17 -17
- package/package.json +2 -2
- package/.claude/settings.local.json +0 -12
- /package/{.claude → src}/agents/reasoner.md +0 -0
- /package/{.claude → src}/commands/df/execute.md +0 -0
- /package/{.claude → src}/commands/df/plan.md +0 -0
- /package/{.claude → src}/commands/df/spec.md +0 -0
- /package/{.claude → src}/commands/df/update.md +0 -0
- /package/{.claude → src}/commands/df/verify.md +0 -0
- /package/{.claude → src}/skills/atomic-commits/SKILL.md +0 -0
- /package/{.claude → src}/skills/code-completeness/SKILL.md +0 -0
- /package/{.claude → src}/skills/gap-discovery/SKILL.md +0 -0
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.14
|
package/bin/install.js
CHANGED
|
@@ -85,21 +85,21 @@ async function main() {
|
|
|
85
85
|
|
|
86
86
|
// Copy commands
|
|
87
87
|
copyDir(
|
|
88
|
-
path.join(PACKAGE_DIR, '
|
|
88
|
+
path.join(PACKAGE_DIR, 'src', 'commands', 'df'),
|
|
89
89
|
path.join(CLAUDE_DIR, 'commands', 'df')
|
|
90
90
|
);
|
|
91
91
|
log('Commands installed');
|
|
92
92
|
|
|
93
93
|
// Copy skills
|
|
94
94
|
copyDir(
|
|
95
|
-
path.join(PACKAGE_DIR, '
|
|
95
|
+
path.join(PACKAGE_DIR, 'src', 'skills'),
|
|
96
96
|
path.join(CLAUDE_DIR, 'skills')
|
|
97
97
|
);
|
|
98
98
|
log('Skills installed');
|
|
99
99
|
|
|
100
100
|
// Copy agents
|
|
101
101
|
copyDir(
|
|
102
|
-
path.join(PACKAGE_DIR, '
|
|
102
|
+
path.join(PACKAGE_DIR, 'src', 'agents'),
|
|
103
103
|
path.join(CLAUDE_DIR, 'agents')
|
|
104
104
|
);
|
|
105
105
|
log('Agents installed');
|
|
@@ -122,31 +122,31 @@ async function main() {
|
|
|
122
122
|
|
|
123
123
|
// Copy VERSION file (for update checking)
|
|
124
124
|
const versionFile = path.join(PACKAGE_DIR, 'VERSION');
|
|
125
|
+
let installedVersion = null;
|
|
125
126
|
if (fs.existsSync(versionFile)) {
|
|
126
127
|
fs.copyFileSync(versionFile, path.join(CLAUDE_DIR, 'deepflow', 'VERSION'));
|
|
128
|
+
installedVersion = fs.readFileSync(versionFile, 'utf8').trim();
|
|
127
129
|
log('Version file installed');
|
|
128
130
|
}
|
|
129
131
|
|
|
130
|
-
//
|
|
131
|
-
const
|
|
132
|
-
|
|
132
|
+
// Update cache to reflect installed version (prevents stale "update available" message)
|
|
133
|
+
const cacheDir = path.join(GLOBAL_DIR, 'cache');
|
|
134
|
+
const cacheFile = path.join(cacheDir, 'df-update-check.json');
|
|
135
|
+
if (installedVersion) {
|
|
136
|
+
fs.mkdirSync(cacheDir, { recursive: true });
|
|
137
|
+
fs.writeFileSync(cacheFile, JSON.stringify({
|
|
138
|
+
updateAvailable: false,
|
|
139
|
+
currentVersion: installedVersion,
|
|
140
|
+
latestVersion: installedVersion,
|
|
141
|
+
timestamp: Date.now()
|
|
142
|
+
}, null, 2));
|
|
143
|
+
} else if (fs.existsSync(cacheFile)) {
|
|
133
144
|
fs.unlinkSync(cacheFile);
|
|
134
145
|
}
|
|
135
146
|
|
|
136
147
|
// Configure statusline (global only)
|
|
137
148
|
if (level === 'global') {
|
|
138
149
|
await configureStatusline(CLAUDE_DIR);
|
|
139
|
-
|
|
140
|
-
// Trigger background update check
|
|
141
|
-
const updateChecker = path.join(CLAUDE_DIR, 'hooks', 'df-check-update.js');
|
|
142
|
-
if (fs.existsSync(updateChecker)) {
|
|
143
|
-
const { spawn } = require('child_process');
|
|
144
|
-
const child = spawn(process.execPath, [updateChecker], {
|
|
145
|
-
detached: true,
|
|
146
|
-
stdio: 'ignore'
|
|
147
|
-
});
|
|
148
|
-
child.unref();
|
|
149
|
-
}
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
console.log('');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "deepflow",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.14",
|
|
4
4
|
"description": "Stay in flow state - lightweight spec-driven task orchestration for Claude Code",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"files": [
|
|
31
31
|
"bin/",
|
|
32
|
-
"
|
|
32
|
+
"src/",
|
|
33
33
|
"hooks/",
|
|
34
34
|
"templates/",
|
|
35
35
|
"VERSION"
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"permissions": {
|
|
3
|
-
"allow": [
|
|
4
|
-
"Bash(git add:*)",
|
|
5
|
-
"Bash(git commit -m \"$\\(cat <<''EOF''\nfeat: add spec lifecycle states and context-aware execution\n\nSpec file states \\(doing-/done- prefixes\\):\n- New specs: specs/*.md \\(no prefix\\)\n- In progress: specs/doing-*.md \\(has tasks in PLAN.md\\)\n- Completed: specs/done-*.md \\(history embedded\\)\n\nPlan command:\n- Only reads new specs \\(excludes doing-/done-\\)\n- Renames to doing-* after creating tasks\n- Appends to PLAN.md \\(preserves existing\\)\n\nExecute command:\n- Context-aware via .deepflow/context.json\n- At ≥50% context: stop spawning, wait, checkpoint\n- File-based agent results \\(no TaskOutput\\)\n- Completes specs: embed history, rename done-*, clean PLAN.md\n\nVerify command:\n- Verifies done-* specs by default\n- --doing flag for in-progress specs\n\nStatusline hook:\n- Writes context % to .deepflow/context.json\n\nCo-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>\nEOF\n\\)\")",
|
|
6
|
-
"Bash(git push)",
|
|
7
|
-
"Bash(npm version:*)",
|
|
8
|
-
"Bash(git commit:*)",
|
|
9
|
-
"Bash(npm publish:*)"
|
|
10
|
-
]
|
|
11
|
-
}
|
|
12
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|