Understand any codebase instantly. System intelligence for codebases, built for humans and AI.
TypeScript aiai-memoryclaude-codeclicode-analysiscode-mappingcode-memorycodebase-understandingcodexdeveloper-toolsllmopenclawpersistent-memoryprogram-analysissoftware-architecturesystem-intelligencesystem-mapping
feat: add path-qualified name syntax to ix decide --affects
Joseph Mikhailbae12014d5d4
diff --git a/ix-cli/src/cli/commands/decide.ts b/ix-cli/src/cli/commands/decide.tsindex b97e1c70..5a5b7d47 100644--- a/ix-cli/src/cli/commands/decide.ts+++ b/ix-cli/src/cli/commands/decide.ts@@ -127,12 +127,15 @@ export function registerDecideCommand(program: Command): void {let resolvedAffects: { id: string; kind: string; name: string }[] | undefined;if (opts.affects) {- const names = opts.affects.split(",").map((s) => s.trim());+ const specs = opts.affects.split(",").map((s) => s.trim());resolvedAffects = [];- for (const name of names) {+ for (const spec of specs) {+ const atIdx = spec.lastIndexOf("@");+ const name = atIdx >= 0 ? spec.slice(0, atIdx) : spec;+ const path = atIdx >= 0 ? spec.slice(atIdx + 1) : undefined;const resolved = await resolveEntity(client, name, [- "class", "module", "file", "function", "method", "trait", "object", "interface",- ]);+ "function", "method", "class", "module", "file", "trait", "object", "interface",+ ], { path });if (resolved) {resolvedAffects.push({ id: resolved.id, kind: resolved.kind, name: resolved.name });}