@uxmaltech/collab-cli 0.1.8 → 0.1.9

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.
@@ -169,7 +169,7 @@ function isBusinessCanonConfigured(config) {
169
169
  /**
170
170
  * Returns the local directory where the business canon lives.
171
171
  * For local canons this is the user-provided path; for GitHub canons
172
- * it's the cached clone under `~/.collab/canons/<repo>`.
172
+ * it's a git clone at the workspace root: `<workspace>/<repoName>/`.
173
173
  */
174
174
  function getBusinessCanonDir(config) {
175
175
  const canon = config.canons?.business;
@@ -180,10 +180,10 @@ function getBusinessCanonDir(config) {
180
180
  if (canon.source === 'local' && canon.localPath) {
181
181
  return canon.localPath;
182
182
  }
183
- // GitHub source: cached clone
183
+ // GitHub source: cloned at the workspace root as a sibling repo
184
+ // (e.g. <workspace>/collab-app-architecture/).
184
185
  const repoName = canon.repo.split('/').pop() ?? canon.repo;
185
- const collabHome = process.env.COLLAB_HOME ?? node_path_1.default.join(node_os_1.default.homedir(), '.collab');
186
- return node_path_1.default.join(collabHome, CANONS_SUBDIR, repoName);
186
+ return node_path_1.default.join(config.workspaceDir, repoName);
187
187
  }
188
188
  /**
189
189
  * Clones or pulls the business canon repository.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxmaltech/collab-cli",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "CLI for collaborative architecture and delivery workflows.",
5
5
  "private": false,
6
6
  "license": "UNLICENSED",