cssprobe-cli 0.2.11 → 0.2.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.
package/dist/daemonEntry.js
CHANGED
|
@@ -31,7 +31,7 @@ var require_package = __commonJS({
|
|
|
31
31
|
"package.json"(exports2, module2) {
|
|
32
32
|
module2.exports = {
|
|
33
33
|
name: "cssprobe-cli",
|
|
34
|
-
version: "0.2.
|
|
34
|
+
version: "0.2.12",
|
|
35
35
|
description: "Runtime CSS probe \u2014 inspect layout, colors, backgrounds, fonts and more in a live browser. AI agents and shell automation.",
|
|
36
36
|
keywords: [
|
|
37
37
|
"css",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare function atomicWriteFileSync(filePath: string, content: string): void;
|
|
2
2
|
export declare function writeSkill(skillDir: string): {
|
|
3
3
|
path: string;
|
|
4
|
-
action: 'created' | 'updated'
|
|
4
|
+
action: 'created' | 'updated';
|
|
5
5
|
};
|
|
6
6
|
export declare function removeSkill(skillDir: string): {
|
|
7
7
|
path: string;
|
|
@@ -64,10 +64,6 @@ function writeSkill(skillDir) {
|
|
|
64
64
|
const pitfallsPath = path.join(refsDir, 'pitfalls.md');
|
|
65
65
|
const skillMdContent = (0, skill_template_1.buildSkillMd)();
|
|
66
66
|
const pitfallsContent = (0, skill_template_1.buildPitfallsMd)();
|
|
67
|
-
const existingSkill = safeRead(skillMdPath);
|
|
68
|
-
const existingPitfalls = safeRead(pitfallsPath);
|
|
69
|
-
if (existingSkill === skillMdContent && existingPitfalls === pitfallsContent)
|
|
70
|
-
return { path: skillRoot, action: 'unchanged' };
|
|
71
67
|
const existed = fs.existsSync(skillMdPath);
|
|
72
68
|
if (!fs.existsSync(refsDir))
|
|
73
69
|
fs.mkdirSync(refsDir, { recursive: true });
|
|
@@ -3,7 +3,7 @@ export type TargetId = 'claude' | 'opencode' | 'cursor' | 'codex' | 'hermes' | '
|
|
|
3
3
|
export interface WriteResult {
|
|
4
4
|
files: Array<{
|
|
5
5
|
path: string;
|
|
6
|
-
action: 'created' | 'updated' | '
|
|
6
|
+
action: 'created' | 'updated' | 'removed' | 'not-found' | 'kept';
|
|
7
7
|
}>;
|
|
8
8
|
notes?: string[];
|
|
9
9
|
}
|
package/package.json
CHANGED