wayfind 2.0.75 → 2.0.76

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.
@@ -317,6 +317,18 @@ async function teamCreate() {
317
317
  };
318
318
 
319
319
  writeJSONFile(TEAM_FILE, team);
320
+
321
+ // Register in local context.json so /init-memory and other commands can find this team
322
+ const config = readContextConfig();
323
+ if (!config.teams) config.teams = {};
324
+ config.teams[id] = {
325
+ path: WAYFIND_DIR,
326
+ name,
327
+ configured_at: new Date().toISOString(),
328
+ };
329
+ if (!config.default) config.default = id;
330
+ writeContextConfig(config);
331
+
320
332
  telemetry.capture('team_created', { member_count: 1 }, CLI_USER);
321
333
  console.log('');
322
334
  console.log(`Team '${name}' created.`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wayfind",
3
- "version": "2.0.75",
3
+ "version": "2.0.76",
4
4
  "description": "Team decision trail for AI-assisted development. The connective tissue between product, engineering, and strategy.",
5
5
  "bin": {
6
6
  "wayfind": "./bin/team-context.js",