@hasna/hooks 0.3.7 → 0.3.8

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.
@@ -1,6 +1,8 @@
1
- # hook-knowledge-context
1
+ # knowledge-context
2
2
 
3
3
  Codewith lifecycle hook that injects deterministic Knowledge context packs.
4
+ This hook is distributed through the `@hasna/hooks` catalog only; do not publish
5
+ this directory as a standalone npm package.
4
6
 
5
7
  ## Installation
6
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/hooks",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "Open source hooks library for AI coding agents - Install safety, quality, and automation hooks with a single command",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,52 +0,0 @@
1
- {
2
- "name": "@hasna/hook-knowledge-context",
3
- "version": "0.1.6",
4
- "description": "Codewith hook that injects deterministic Knowledge context packs into lifecycle events",
5
- "type": "module",
6
- "main": "./dist/hook.js",
7
- "exports": {
8
- ".": {
9
- "import": "./dist/hook.js",
10
- "types": "./dist/hook.d.ts"
11
- }
12
- },
13
- "files": [
14
- "dist/hook.js",
15
- "dist/hook.d.ts",
16
- "README.md"
17
- ],
18
- "scripts": {
19
- "build": "rm -rf dist && bun build ./src/hook.ts --outdir ./dist --target bun && tsc -p tsconfig.json --emitDeclarationOnly --declaration --declarationMap false --noEmit false",
20
- "prepublishOnly": "bun run build",
21
- "typecheck": "tsc --noEmit"
22
- },
23
- "keywords": [
24
- "codewith",
25
- "hook",
26
- "knowledge",
27
- "context",
28
- "deterministic",
29
- "session-start",
30
- "user-prompt-submit",
31
- "subagent-start"
32
- ],
33
- "author": "Hasna",
34
- "license": "Apache-2.0",
35
- "repository": {
36
- "type": "git",
37
- "url": "https://github.com/hasna/hooks.git"
38
- },
39
- "publishConfig": {
40
- "access": "public",
41
- "registry": "https://registry.npmjs.org/"
42
- },
43
- "engines": {
44
- "node": ">=18",
45
- "bun": ">=1.0"
46
- },
47
- "devDependencies": {
48
- "@types/bun": "^1.3.8",
49
- "@types/node": "^20",
50
- "typescript": "^5.0.0"
51
- }
52
- }
@@ -1,25 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ESNext",
4
- "module": "ESNext",
5
- "lib": ["ESNext"],
6
- "moduleResolution": "bundler",
7
- "allowImportingTsExtensions": true,
8
- "strict": true,
9
- "esModuleInterop": true,
10
- "skipLibCheck": true,
11
- "forceConsistentCasingInFileNames": true,
12
- "resolveJsonModule": true,
13
- "isolatedModules": true,
14
- "noEmit": true,
15
- "noUnusedLocals": true,
16
- "noUnusedParameters": true,
17
- "declaration": true,
18
- "declarationMap": true,
19
- "outDir": "./dist",
20
- "rootDir": "./src",
21
- "types": ["bun-types", "node"]
22
- },
23
- "include": ["src/**/*"],
24
- "exclude": ["node_modules", "dist"]
25
- }