Skip to content

Commit e4332b4

Browse files
committed
2 parents f166b71 + b24f1e1 commit e4332b4

2 files changed

Lines changed: 31 additions & 19 deletions

File tree

.gemini/settings.json

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,16 @@
77
},
88
"context": {
99
"includeDirectories": [
10-
"/path/to/your/extension/google-ads-api-developer-assistant/api_examples",
11-
"/path/to/your/extension/google-ads-api-developer-assistant/saved_code",
12-
"/path/to/your/library/google-ads-python",
13-
"/path/to/your/library/google-ads-php",
14-
"/path/to/your/library/google-ads-ruby",
15-
"/path/to/your/library/google-ads-java",
16-
"/path/to/your/library/google-ads-dotnet"
10+
"/usr/local/google/home/rwh/gemini/src/google-ads-api-developer-assistant/api_examples",
11+
"/usr/local/google/home/rwh/gemini/src/google-ads-api-developer-assistant/saved_code",
12+
"/usr/local/google/home/rwh/gemini/src/google-ads-api-developer-assistant/client_libs/google-ads-python",
13+
"/usr/local/google/home/rwh/gemini/src/google-ads-api-developer-assistant/client_libs/google-ads-php",
14+
"/usr/local/google/home/rwh/gemini/src/google-ads-api-developer-assistant/client_libs/google-ads-ruby",
15+
"/usr/local/google/home/rwh/gemini/src/google-ads-api-developer-assistant/client_libs/google-ads-java",
16+
"/usr/local/google/home/rwh/gemini/src/google-ads-api-developer-assistant/client_libs/google-ads-dotnet"
1717
]
18+
},
19+
"tools": {
20+
"enableHooks": true
1821
}
19-
}
22+
}

hooks/hooks.json

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,30 @@
22
"hooks": {
33
"SessionStart": [
44
{
5-
"name": "custom-config-python",
6-
"type": "command",
7-
"command": "python3 ${extensionPath}/hooks/SessionStart/custom_config_python.py",
8-
"description": "Configures Google Ads environment at session start with a custom google-ads.yaml for Python.",
9-
"timeout": 30000
5+
"matcher": "*",
6+
"hooks": [
7+
{
8+
"type": "command",
9+
"command": "python3 ${extensionPath}/hooks/path_normalizer/path_normalizer.py",
10+
"description": "Test SessionEnd with touch",
11+
"timeout": 30000
12+
}
13+
]
1014
}
1115
],
1216
"SessionEnd": [
1317
{
14-
"name": "cleanup-config",
15-
"type": "command",
16-
"command": "python3 ${extensionPath}/hooks/SessionEnd/cleanup_config.py",
17-
"description": "Cleans up the configuration directory at session end.",
18-
"timeout": 30000
18+
"matcher": "*",
19+
"hooks": [
20+
{
21+
"name": "session-end-touch",
22+
"type": "command",
23+
"command": "bash ${extensionPath}/hooks/reconcile_changes/reconcile_changes.sh",
24+
"description": "Test SessionEnd with touch",
25+
"timeout": 30000
26+
}
27+
]
1928
}
2029
]
2130
}
22-
}
31+
}

0 commit comments

Comments
 (0)