context-foundry 2.2.1 → 2.3.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "context-foundry",
3
- "version": "2.2.1",
3
+ "version": "2.3.0",
4
4
  "description": "AI agent pattern-learning system - npm wrapper for the Python engine",
5
5
  "keywords": [
6
6
  "ai",
@@ -122,8 +122,20 @@ function main() {
122
122
  const installed = installPythonPackage(python.cmd);
123
123
 
124
124
  if (installed) {
125
- log(`\n${colors.green}Installation complete!${colors.reset}`);
126
- log(`\nRun ${colors.cyan}cf${colors.reset} to launch Context Foundry.\n`);
125
+ log(`\n${colors.green}Python package installed!${colors.reset}`);
126
+
127
+ // Run cf setup to configure Claude Code
128
+ log(`\nConfiguring Claude Code integration...`);
129
+ const setup = spawnSync('cf', ['setup'], {
130
+ stdio: 'inherit',
131
+ timeout: 30000
132
+ });
133
+
134
+ if (setup.status === 0) {
135
+ log(`\n${colors.green}Setup complete!${colors.reset}`);
136
+ } else {
137
+ log(`\n${colors.yellow}Note: Run 'cf setup' manually to configure Claude Code.${colors.reset}`);
138
+ }
127
139
  } else {
128
140
  error(`\nFailed to install Python package.`);
129
141
  log(`\nTry installing manually:`);