@goodfoot/agent-hooks 1.0.3 → 1.0.4
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/agents/codex/scaffold.js +13 -3
- package/dist/cli.js +1 -1
- package/dist/scaffold.js +1 -1
- package/package.json +1 -1
|
@@ -55,7 +55,7 @@ function generatePackageJson(projectName, outputPath) {
|
|
|
55
55
|
typecheck: "tsc --noEmit",
|
|
56
56
|
},
|
|
57
57
|
dependencies: {
|
|
58
|
-
[PACKAGE_NAME]: "^1.0.
|
|
58
|
+
[PACKAGE_NAME]: "^1.0.4",
|
|
59
59
|
},
|
|
60
60
|
devDependencies: {
|
|
61
61
|
"@biomejs/biome": "2.4.9",
|
|
@@ -96,6 +96,16 @@ function generateBiomeConfig() {
|
|
|
96
96
|
"rules": {
|
|
97
97
|
"recommended": true
|
|
98
98
|
}
|
|
99
|
+
},
|
|
100
|
+
"assist": {
|
|
101
|
+
"actions": {
|
|
102
|
+
"source": {
|
|
103
|
+
"organizeImports": "on"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"files": {
|
|
108
|
+
"includes": ["src/**/*.ts", "test/**/*.ts", "*.ts"]
|
|
99
109
|
}
|
|
100
110
|
}
|
|
101
111
|
`;
|
|
@@ -238,8 +248,8 @@ export default ${factory}({ matcher: "manual" }, () => {
|
|
|
238
248
|
}
|
|
239
249
|
function generateHookTest(eventName) {
|
|
240
250
|
const filename = toKebabCase(eventName);
|
|
241
|
-
return `import
|
|
242
|
-
import
|
|
251
|
+
return `import { describe, expect, it } from "vitest";
|
|
252
|
+
import hook from "../src/${filename}.js";
|
|
243
253
|
|
|
244
254
|
describe("${eventName} hook", () => {
|
|
245
255
|
it("exports a ${eventName} hook", () => {
|
package/dist/cli.js
CHANGED
|
@@ -26,7 +26,7 @@ import { scaffoldProject } from "./scaffold.js";
|
|
|
26
26
|
// ============================================================================
|
|
27
27
|
// Constants
|
|
28
28
|
// ============================================================================
|
|
29
|
-
const VERSION = "1.0.
|
|
29
|
+
const VERSION = "1.0.4";
|
|
30
30
|
const DEFAULT_ESBUILD_LOADERS = {
|
|
31
31
|
".md": "text",
|
|
32
32
|
};
|
package/dist/scaffold.js
CHANGED
|
@@ -131,7 +131,7 @@ function generatePackageJson(projectName, outputPath) {
|
|
|
131
131
|
typecheck: "tsc --noEmit",
|
|
132
132
|
},
|
|
133
133
|
dependencies: {
|
|
134
|
-
"@goodfoot/agent-hooks": "^1.0.
|
|
134
|
+
"@goodfoot/agent-hooks": "^1.0.4",
|
|
135
135
|
},
|
|
136
136
|
devDependencies: {
|
|
137
137
|
"@biomejs/biome": "2.4.16",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goodfoot/agent-hooks",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Unified agent hooks library: shared core runtime with per-agent entry points for Claude Code, Codex, and Antigravity",
|
|
5
5
|
"homepage": "https://github.com/goodfoot-io/marketplace/tree/main/packages/agent-hooks",
|
|
6
6
|
"repository": {
|