aw-ecc 1.4.47 → 1.4.48

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aw-ecc",
3
- "version": "1.4.47",
3
+ "version": "1.4.48",
4
4
  "description": "GoHighLevel Agentic Workspace Engine — forked from Everything Claude Code (ecc-universal)",
5
5
  "keywords": [
6
6
  "claude-code",
@@ -119,11 +119,11 @@
119
119
  },
120
120
  "dependencies": {
121
121
  "@iarna/toml": "^2.2.5",
122
+ "ajv": "^8.18.0",
122
123
  "sql.js": "^1.14.1"
123
124
  },
124
125
  "devDependencies": {
125
126
  "@eslint/js": "^9.39.2",
126
- "ajv": "^8.18.0",
127
127
  "c8": "^10.1.2",
128
128
  "eslint": "^9.39.2",
129
129
  "globals": "^17.1.0",
@@ -1,12 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
-
4
- # Capture stdin before invoking the non-blocking telemetry sidecar.
5
- STDIN=$(cat)
6
-
7
- TELEMETRY_HOOK="$HOME/.aw-ecc/scripts/hooks/aw-usage-post-tool-use.js"
8
- if [[ -f "$TELEMETRY_HOOK" ]] && command -v node >/dev/null 2>&1; then
9
- printf '%s' "$STDIN" | AW_HARNESS=codex node "$TELEMETRY_HOOK" >/dev/null 2>&1 || true
10
- fi
11
-
12
- exit 0
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
-
4
- # Reserved AW PreToolUse phase for Codex home routing.
5
- cat >/dev/null || true
6
- exit 0
@@ -1,32 +0,0 @@
1
- #!/usr/bin/env bash
2
- # aw-managed: codex-global-session-start
3
- set -euo pipefail
4
-
5
- # Capture stdin so we can feed it to both telemetry and the AW router delegate.
6
- STDIN=$(cat)
7
-
8
- # Fire session_start telemetry (non-blocking, all output suppressed).
9
- TELEMETRY_HOOK="$HOME/.aw-ecc/scripts/hooks/aw-usage-session-start.js"
10
- if [[ -f "$TELEMETRY_HOOK" ]] && command -v node >/dev/null 2>&1; then
11
- printf '%s' "$STDIN" | AW_HARNESS=codex node "$TELEMETRY_HOOK" >/dev/null 2>&1 || true
12
- fi
13
-
14
- TARGETS=(
15
- "$HOME/.aw_registry/platform/core/skills/using-aw-skills/hooks/session-start.sh"
16
- "$HOME/.aw/.aw_registry/platform/core/skills/using-aw-skills/hooks/session-start.sh"
17
- )
18
-
19
- for target in "${TARGETS[@]}"; do
20
- if [[ -f "$target" ]]; then
21
- printf '%s' "$STDIN" | bash "$target"
22
- exit $?
23
- fi
24
- done
25
-
26
- CONTEXT="# AW Session Context
27
-
28
- WARNING: AW using-aw-skills hook not found in ~/.aw_registry. Run aw init or aw pull platform."
29
-
30
- JSON_CONTEXT=$(printf '%s' "$CONTEXT" | python3 -c 'import json, sys; print(json.dumps(sys.stdin.read()))')
31
-
32
- echo "{\"hookSpecificOutput\":{\"hookEventName\":\"SessionStart\",\"additionalContext\":${JSON_CONTEXT}}}"
@@ -1,12 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
-
4
- # Capture stdin before invoking the non-blocking telemetry sidecar.
5
- STDIN=$(cat)
6
-
7
- TELEMETRY_HOOK="$HOME/.aw-ecc/scripts/hooks/aw-usage-stop.js"
8
- if [[ -f "$TELEMETRY_HOOK" ]] && command -v node >/dev/null 2>&1; then
9
- printf '%s' "$STDIN" | AW_HARNESS=codex node "$TELEMETRY_HOOK" >/dev/null 2>&1 || true
10
- fi
11
-
12
- exit 0
@@ -1,18 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
-
4
- # Capture stdin so we can feed it to both telemetry and the reminder delegate.
5
- STDIN=$(cat)
6
-
7
- TELEMETRY_HOOK="$HOME/.aw-ecc/scripts/hooks/aw-usage-prompt-submit.js"
8
- if [[ -f "$TELEMETRY_HOOK" ]] && command -v node >/dev/null 2>&1; then
9
- printf '%s' "$STDIN" | AW_HARNESS=codex node "$TELEMETRY_HOOK" >/dev/null 2>&1 || true
10
- fi
11
-
12
- TARGET="$HOME/.aw-ecc/scripts/hooks/session-start-rules-context.sh"
13
- if [[ -f "$TARGET" ]]; then
14
- printf '%s' "$STDIN" | bash "$TARGET"
15
- exit $?
16
- fi
17
-
18
- exit 0
package/.codex/hooks.json DELETED
@@ -1,62 +0,0 @@
1
- {
2
- "hooks": {
3
- "SessionStart": [
4
- {
5
- "matcher": "*",
6
- "hooks": [
7
- {
8
- "type": "command",
9
- "command": "bash \"$HOME/.codex/hooks/aw-session-start.sh\""
10
- }
11
- ],
12
- "description": "Load AW routing context at session start"
13
- }
14
- ],
15
- "UserPromptSubmit": [
16
- {
17
- "hooks": [
18
- {
19
- "type": "command",
20
- "command": "bash \"$HOME/.codex/hooks/aw-user-prompt-submit.sh\""
21
- }
22
- ],
23
- "description": "Emit Codex prompt telemetry and inject compact AW routing reminders on each prompt"
24
- }
25
- ],
26
- "PreToolUse": [
27
- {
28
- "matcher": "*",
29
- "hooks": [
30
- {
31
- "type": "command",
32
- "command": "bash \"$HOME/.codex/hooks/aw-pre-tool-use.sh\""
33
- }
34
- ],
35
- "description": "Reserved AW pre-tool-use phase for Codex home installs"
36
- }
37
- ],
38
- "PostToolUse": [
39
- {
40
- "matcher": "*",
41
- "hooks": [
42
- {
43
- "type": "command",
44
- "command": "bash \"$HOME/.codex/hooks/aw-post-tool-use.sh\""
45
- }
46
- ],
47
- "description": "Emit Codex post-tool-use telemetry for supported Bash-backed events"
48
- }
49
- ],
50
- "Stop": [
51
- {
52
- "hooks": [
53
- {
54
- "type": "command",
55
- "command": "bash \"$HOME/.codex/hooks/aw-stop.sh\""
56
- }
57
- ],
58
- "description": "Emit Codex stop telemetry for response_completed events"
59
- }
60
- ]
61
- }
62
- }