@cookiepal-oss/agent 0.2.1 → 0.2.2
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/README.md +1 -1
- package/dist/check.mjs +3 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ npx needs no plugin folder, which is the point: Codex and Cursor never tell a sk
|
|
|
14
14
|
|
|
15
15
|
## Where it keeps its files
|
|
16
16
|
|
|
17
|
-
In Claude Code, `COOKIEPAL_DATA_DIR`, which the plugin
|
|
17
|
+
In Claude Code, `COOKIEPAL_DATA_DIR`, which the plugin's skills set to its data folder, or else the `CLAUDE_PLUGIN_DATA` that Claude Code exports to the plugin's hooks; the check refuses to run without either. Codex's hooks always use `~/.cookiepal/plugin-data`, whatever `COOKIEPAL_DATA_DIR` says, so they share one folder with the skills. Everywhere else, `COOKIEPAL_DATA_DIR` when it is set, and `~/.cookiepal/plugin-data` when it is empty or unset.
|
|
18
18
|
|
|
19
19
|
## Cursor's hooks
|
|
20
20
|
|
package/dist/check.mjs
CHANGED
|
@@ -2807,12 +2807,12 @@ var pluginVersion = () => {
|
|
|
2807
2807
|
const manifest = new URL("../.claude-plugin/plugin.json", import.meta.url);
|
|
2808
2808
|
return JSON.parse(readFileSync6(manifest, "utf8")).version ?? null;
|
|
2809
2809
|
} catch {
|
|
2810
|
-
return true ? "0.2.
|
|
2810
|
+
return true ? "0.2.2" : null;
|
|
2811
2811
|
}
|
|
2812
2812
|
};
|
|
2813
2813
|
var HOME_DATA_DIR = join6(homedir(), ".cookiepal", "plugin-data");
|
|
2814
2814
|
var resolveDataDir = (env) => {
|
|
2815
|
-
const given = env.COOKIEPAL_DATA_DIR;
|
|
2815
|
+
const given = env.COOKIEPAL_DATA_DIR || env.CLAUDE_PLUGIN_DATA;
|
|
2816
2816
|
if (env.PLUGIN_ROOT) return HOME_DATA_DIR;
|
|
2817
2817
|
if (given) return given;
|
|
2818
2818
|
return env.CLAUDECODE === "1" ? null : HOME_DATA_DIR;
|
|
@@ -3235,7 +3235,7 @@ var cursorHookPaths = () => ({
|
|
|
3235
3235
|
agentDir: join6(homedir(), ".cookiepal", "agent"),
|
|
3236
3236
|
distDir: fileURLToPath(new URL(".", import.meta.url)),
|
|
3237
3237
|
node: process.execPath,
|
|
3238
|
-
version: true ? "0.2.
|
|
3238
|
+
version: true ? "0.2.2" : "dev"
|
|
3239
3239
|
});
|
|
3240
3240
|
var cursorHooks = (action) => {
|
|
3241
3241
|
const paths = cursorHookPaths();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cookiepal-oss/agent",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"tldts": "7.4.18",
|
|
27
27
|
"typescript": "^5.0.0",
|
|
28
28
|
"vitest": "^3.0.0",
|
|
29
|
-
"@cookiepal-oss/
|
|
30
|
-
"@cookiepal-oss/
|
|
29
|
+
"@cookiepal-oss/integrations": "1.2.0",
|
|
30
|
+
"@cookiepal-oss/cookie-db": "1.0.0"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "node scripts/build.ts",
|