@ghl-ai/aw 0.1.50-beta.0 → 0.1.50

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/pull.mjs CHANGED
@@ -27,7 +27,6 @@ import {
27
27
  REGISTRY_DIR,
28
28
  REGISTRY_URL,
29
29
  DOCS_SOURCE_DIR,
30
- AW_DOCS_DIR,
31
30
  RULES_SOURCE_DIR,
32
31
  RULES_RUNTIME_DIR,
33
32
  } from '../constants.mjs';
@@ -93,7 +92,7 @@ export async function pullCommand(args) {
93
92
  // Ensure platform pulls also fetch docs and rules on older installs that
94
93
  // pre-date the new sparse-checkout paths.
95
94
  if (input === 'platform') {
96
- addToSparseCheckout(AW_HOME, [`.aw_registry/platform`, DOCS_SOURCE_DIR, AW_DOCS_DIR, RULES_SOURCE_DIR]);
95
+ addToSparseCheckout(AW_HOME, [`.aw_registry/platform`, DOCS_SOURCE_DIR, RULES_SOURCE_DIR]);
97
96
  if (!cfg.include.includes('platform')) {
98
97
  config.addPattern(GLOBAL_AW_DIR, 'platform');
99
98
  }
@@ -111,7 +110,7 @@ export async function pullCommand(args) {
111
110
  const label = input.split('/').pop();
112
111
  if (!cfg.include.includes(input)) {
113
112
  log.logStep(`Adding ${chalk.cyan(label)} to sparse checkout...`);
114
- addToSparseCheckout(AW_HOME, [sparsePath, DOCS_SOURCE_DIR, AW_DOCS_DIR]);
113
+ addToSparseCheckout(AW_HOME, [sparsePath, DOCS_SOURCE_DIR]);
115
114
  config.addPattern(GLOBAL_AW_DIR, input);
116
115
  addedInput = input;
117
116
  addedSparsePath = sparsePath;