@ghl-ai/aw 0.1.42-beta.31 → 0.1.42-beta.32
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/commands/init.mjs +2 -3
- package/hooks.mjs +2 -2
- package/integrate.mjs +2 -2
- package/mcp.mjs +3 -2
- package/package.json +1 -1
- package/telemetry.mjs +1 -1
package/commands/init.mjs
CHANGED
|
@@ -179,11 +179,11 @@ function installIdeTasks() {
|
|
|
179
179
|
existing.tasks = existing.tasks || [];
|
|
180
180
|
existing.tasks.push(vscodeTask.tasks[0]);
|
|
181
181
|
writeFileSync(tasksPath, JSON.stringify(existing, null, 2) + '\n');
|
|
182
|
-
fmt.logStep(`
|
|
182
|
+
fmt.logStep(`Auto-sync task added to ${ide}`);
|
|
183
183
|
} catch { /* corrupted tasks.json, skip */ }
|
|
184
184
|
} else {
|
|
185
185
|
writeFileSync(tasksPath, JSON.stringify(vscodeTask, null, 2) + '\n');
|
|
186
|
-
fmt.logStep(`
|
|
186
|
+
fmt.logStep(`Auto-sync task added to ${ide}`);
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
189
|
}
|
|
@@ -431,7 +431,6 @@ export async function initCommand(args) {
|
|
|
431
431
|
}
|
|
432
432
|
|
|
433
433
|
fmt.note([
|
|
434
|
-
`${chalk.dim('source:')} ~/.aw/ → ~/.aw_registry/ (symlink)`,
|
|
435
434
|
folderName ? `${chalk.dim('namespace:')} ${folderName}` : `${chalk.dim('namespace:')} ${chalk.dim('none')}`,
|
|
436
435
|
user ? `${chalk.dim('user:')} ${user}` : null,
|
|
437
436
|
`${chalk.dim('version:')} v${VERSION}`,
|
package/hooks.mjs
CHANGED
|
@@ -181,11 +181,11 @@ export function installGlobalHooks() {
|
|
|
181
181
|
|
|
182
182
|
if (previousPath && previousPath !== HOOKS_DIR) {
|
|
183
183
|
writeFileSync(PREV_PATH_FILE, previousPath);
|
|
184
|
-
fmt.logStep(`
|
|
184
|
+
fmt.logStep(`Chained existing git hooks (${previousPath})`);
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
execSync(`git config --global core.hooksPath "${HOOKS_DIR}"`, { stdio: 'pipe' });
|
|
188
|
-
fmt.logStep('
|
|
188
|
+
fmt.logStep('Git hooks installed');
|
|
189
189
|
return true;
|
|
190
190
|
} catch (e) {
|
|
191
191
|
fmt.logWarn(`Could not install global hooks: ${e.message}`);
|
package/integrate.mjs
CHANGED
|
@@ -246,7 +246,7 @@ export function copyInstructions(cwd, tempDir, namespace) {
|
|
|
246
246
|
|
|
247
247
|
if (updated !== existing) {
|
|
248
248
|
writeFileSync(dest, updated);
|
|
249
|
-
fmt.logStep(`
|
|
249
|
+
fmt.logStep(`Migrated ${file} to global config`);
|
|
250
250
|
}
|
|
251
251
|
continue;
|
|
252
252
|
}
|
|
@@ -643,7 +643,7 @@ No active tasks. Tasks are created during workflow execution.
|
|
|
643
643
|
// _pending-sync.jsonl — sync queue (empty)
|
|
644
644
|
writeFileSync(join(awDocsDir, 'learnings', '_pending-sync.jsonl'), '');
|
|
645
645
|
|
|
646
|
-
fmt.logSuccess('
|
|
646
|
+
fmt.logSuccess('Orchestration state ready');
|
|
647
647
|
}
|
|
648
648
|
|
|
649
649
|
/**
|
package/mcp.mjs
CHANGED
|
@@ -52,7 +52,7 @@ function resolveGitHubToken(silent = false) {
|
|
|
52
52
|
timeout: 5000,
|
|
53
53
|
}).trim();
|
|
54
54
|
if (token && (token.startsWith('ghp_') || token.startsWith('gho_') || token.startsWith('github_pat_'))) {
|
|
55
|
-
if (!silent) fmt.logStep('
|
|
55
|
+
if (!silent) fmt.logStep('GitHub token found');
|
|
56
56
|
return token;
|
|
57
57
|
}
|
|
58
58
|
} catch { /* not authenticated yet */ }
|
|
@@ -312,7 +312,8 @@ export async function setupMcp(cwd, namespace, { silent = false } = {}) {
|
|
|
312
312
|
const unique = [...new Set(updatedFiles)];
|
|
313
313
|
|
|
314
314
|
if (unique.length > 0) {
|
|
315
|
-
|
|
315
|
+
const shortNames = unique.map(f => fmt.chalk.cyan(f.replace(HOME, '~')));
|
|
316
|
+
fmt.logSuccess(`MCP configured (${shortNames.join(', ')})`);
|
|
316
317
|
} else {
|
|
317
318
|
fmt.logInfo('MCP servers already configured — no changes needed');
|
|
318
319
|
}
|
package/package.json
CHANGED
package/telemetry.mjs
CHANGED
|
@@ -192,7 +192,7 @@ export async function startSpan(command, args) {
|
|
|
192
192
|
notice() {
|
|
193
193
|
if (disabled || config.noticed) return;
|
|
194
194
|
if (args?.['--silent'] || !process.stderr.isTTY) return;
|
|
195
|
-
|
|
195
|
+
// Telemetry notice suppressed — opt-out via `aw telemetry disable`
|
|
196
196
|
config.noticed = true;
|
|
197
197
|
saveConfig(config);
|
|
198
198
|
},
|