fix: remove stray colon in --cluster-only dict literal (SyntaxError) (#603)

tokens dict at line 826 had output-colon-colon 0 causing a SyntaxError
when the Trae skill is invoked with --cluster-only. The extra colon
makes Python reject the dict literal entirely.

Co-authored-by: Claude Code <noreply@anthropic.com>
This commit is contained in:
xiaolai
2026-05-02 14:14:39 +01:00
committed by GitHub
co-authored by Claude Code
parent 699e9960ce
commit e03c4604fb
+1 -1
View File
@@ -823,7 +823,7 @@ G = json_graph.node_link_graph(data, edges='links')
detection = {'total_files': 0, 'total_words': 99999, 'needs_graph': True, 'warning': None,
'files': {'code': [], 'document': [], 'paper': []}}
tokens = {'input': 0, 'output':': 0}
tokens = {'input': 0, 'output': 0}
communities = cluster(G)
cohesion = score_all(G, communities)