Skip to content

Commit ad298b7

Browse files
committed
Send ProblemDetails accept header from skills
1 parent 371e93d commit ad298b7

4 files changed

Lines changed: 5 additions & 3 deletions

File tree

.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "codealive",
33
"description": "CodeAlive context engine for semantic code search and AI-powered codebase Q&A. Enables AI coding agents to understand entire codebases beyond just open files — search across all indexed repositories, trace cross-service dependencies, discover usage patterns, and get synthesized answers to architectural questions. Includes a lightweight code exploration subagent, authentication hooks, and multiple search modes (fast lexical, semantic, and deep cross-cutting). Works standalone or alongside the CodeAlive MCP server for direct tool access via the Model Context Protocol.",
4-
"version": "2.0.8",
4+
"version": "2.0.9",
55
"author": {
66
"name": "CodeAlive AI",
77
"email": "hello@codealive.ai"

skills/codealive-context-engine/scripts/chat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
python chat.py "How does lodash debounce work internally?" lodash
2222
2323
# Continue previous conversation
24-
python chat.py "What about error handling?" --continue conv_abc123
24+
python chat.py "What about error handling?" --continue 69fceb3e7b2a6a7efdd18180
2525
2626
# Cross-project learning
2727
python chat.py "Show me authentication patterns across our org" workspace:all-backend

skills/codealive-context-engine/scripts/lib/api_client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,8 @@ def _make_request(
298298
# Prepare request
299299
headers = {
300300
"Authorization": f"Bearer {self.api_key}",
301-
"Content-Type": "application/json"
301+
"Content-Type": "application/json",
302+
"Accept": "application/json, application/problem+json",
302303
}
303304

304305
data = None

tests/test_setup_and_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ def chat_handler(request):
9696
payload = json.loads(request["body"])
9797
assert payload["messages"][0]["content"] == "How does auth work?"
9898
assert payload["names"] == ["backend"]
99+
assert request["headers"]["Accept"] == "application/json, application/problem+json"
99100
return 200, {"id": "conv_123", "choices": [{"message": {"content": "Auth is handled in AuthService."}}]}, {}
100101

101102
with mock_codealive_server(

0 commit comments

Comments
 (0)