@robot-inventor/agent-skills 0.7.1 → 0.8.0
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/hooks/hooks.json +29 -0
- package/package.json +2 -2
- package/scripts/syncVersion.ts +3 -3
- package/plugin.json +0 -12
package/hooks/hooks.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"hooks": {
|
|
3
|
+
"SessionStart": [
|
|
4
|
+
{
|
|
5
|
+
"matcher": "startup|resume|clear|compact",
|
|
6
|
+
"hooks": [
|
|
7
|
+
{
|
|
8
|
+
"type": "command",
|
|
9
|
+
"command": "bun \"${PLUGIN_ROOT}/scripts/codex.ts\"",
|
|
10
|
+
"commandWindows": "powershell -NoProfile -NonInteractive -Command \"& bun (Join-Path $env:PLUGIN_ROOT 'scripts/codex.ts')\"",
|
|
11
|
+
"additionalContextLimit": 0
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"SubagentStart": [
|
|
17
|
+
{
|
|
18
|
+
"hooks": [
|
|
19
|
+
{
|
|
20
|
+
"type": "command",
|
|
21
|
+
"command": "bun \"${PLUGIN_ROOT}/scripts/codex.ts\"",
|
|
22
|
+
"commandWindows": "powershell -NoProfile -NonInteractive -Command \"& bun (Join-Path $env:PLUGIN_ROOT 'scripts/codex.ts')\"",
|
|
23
|
+
"additionalContextLimit": 0
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@robot-inventor/agent-skills",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Roboin's personal collection of Agent Skills.",
|
|
5
5
|
"homepage": "https://github.com/Robot-Inventor/agent-skills#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"author": "Robot-Inventor",
|
|
15
15
|
"type": "module",
|
|
16
16
|
"main": "./scripts/opencode.ts",
|
|
17
|
-
"files": ["./
|
|
17
|
+
"files": ["./hooks/", "./skills/", "./scripts/"],
|
|
18
18
|
"publishConfig": {
|
|
19
19
|
"access": "public",
|
|
20
20
|
"provenance": true
|
package/scripts/syncVersion.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import fs from "fs/promises";
|
|
2
2
|
import packageJson from "../package.json";
|
|
3
|
-
import pluginJson from "
|
|
3
|
+
import pluginJson from "../.codex-plugin/plugin.json";
|
|
4
4
|
|
|
5
5
|
const main = async () => {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
pluginJson.version = packageJson.version;
|
|
7
|
+
await fs.writeFile(".codex-plugin/plugin.json", JSON.stringify(pluginJson, null, 4));
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
await main();
|
package/plugin.json
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
|
-
"name": "agent-skills",
|
|
4
|
-
"version": "0.7.1",
|
|
5
|
-
"description": "My personal collection of Agent Skills.",
|
|
6
|
-
"author": {
|
|
7
|
-
"name": "Robot-Inventor",
|
|
8
|
-
"url": "https://roboin.io/"
|
|
9
|
-
},
|
|
10
|
-
"repository": "https://github.com/Robot-Inventor/agent-skills",
|
|
11
|
-
"license": "MIT"
|
|
12
|
-
}
|