@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/c4/templates/scripts/aw-c4-bootstrap.sh +4 -5
- package/cli.mjs +9 -21
- package/commands/c4.mjs +9 -17
- package/commands/doctor.mjs +5 -2
- package/commands/init.mjs +54 -117
- package/commands/integration.mjs +111 -0
- package/commands/nuke.mjs +3 -1
- package/commands/pull.mjs +2 -3
- package/commands/push.mjs +29 -715
- package/commands/startup.mjs +3 -22
- package/constants.mjs +0 -23
- package/ecc.mjs +1 -1
- package/git.mjs +4 -6
- package/integrate.mjs +21 -94
- package/integrations/context-mode.mjs +514 -0
- package/integrations/index.mjs +31 -0
- package/link.mjs +3 -119
- package/mcp.mjs +16 -132
- package/package.json +4 -4
- package/render-rules.mjs +1 -25
- package/startup.mjs +8 -52
- package/commands/integrations.mjs +0 -254
- package/commands/mcp.mjs +0 -90
- package/integrations.mjs +0 -971
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,
|
|
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
|
|
113
|
+
addToSparseCheckout(AW_HOME, [sparsePath, DOCS_SOURCE_DIR]);
|
|
115
114
|
config.addPattern(GLOBAL_AW_DIR, input);
|
|
116
115
|
addedInput = input;
|
|
117
116
|
addedSparsePath = sparsePath;
|