@ghl-ai/aw 0.1.44 → 0.1.46
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 +19 -4
- package/cli.mjs +7 -1
- package/commands/init.mjs +17 -0
- package/commands/integrations.mjs +254 -0
- package/integrations.mjs +954 -0
- package/package.json +4 -3
- package/update.mjs +8 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ghl-ai/aw",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.46",
|
|
4
4
|
"description": "Agentic Workspace CLI — pull, push & manage agents, skills and commands from the registry",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"hooks/",
|
|
35
35
|
"startup.mjs",
|
|
36
36
|
"ecc.mjs",
|
|
37
|
+
"integrations.mjs",
|
|
37
38
|
"render-rules.mjs",
|
|
38
39
|
"telemetry.mjs"
|
|
39
40
|
],
|
|
@@ -51,9 +52,9 @@
|
|
|
51
52
|
"license": "MIT",
|
|
52
53
|
"scripts": {
|
|
53
54
|
"test": "yarn test:vitest && yarn test:node",
|
|
54
|
-
"test:vitest": "vitest run --reporter=verbose tests/commands tests/mcp.test.mjs tests/telemetry.test.mjs tests/c4",
|
|
55
|
+
"test:vitest": "vitest run --reporter=verbose tests/commands tests/mcp.test.mjs tests/telemetry.test.mjs tests/c4 tests/integrations-graphify.test.mjs",
|
|
55
56
|
"test:node": "node tests/run-node-tests.mjs",
|
|
56
|
-
"test:watch": "vitest --reporter=verbose tests/commands tests/mcp.test.mjs tests/telemetry.test.mjs tests/c4",
|
|
57
|
+
"test:watch": "vitest --reporter=verbose tests/commands tests/mcp.test.mjs tests/telemetry.test.mjs tests/c4 tests/integrations-graphify.test.mjs",
|
|
57
58
|
"preuninstall": "node bin.js nuke 2>/dev/null || true"
|
|
58
59
|
},
|
|
59
60
|
"publishConfig": {
|
package/update.mjs
CHANGED
|
@@ -223,7 +223,14 @@ export async function promptUpdate(result) {
|
|
|
223
223
|
const cmd = getInstallCmd(result.latest);
|
|
224
224
|
fmt.logWarn(`Update available: ${chalk.dim(result.current)} → ${chalk.green(result.latest)}`);
|
|
225
225
|
|
|
226
|
-
|
|
226
|
+
let clackMod;
|
|
227
|
+
try {
|
|
228
|
+
clackMod = (await import('@clack/prompts')).default ?? await import('@clack/prompts');
|
|
229
|
+
} catch {
|
|
230
|
+
fmt.logStep(chalk.dim('Skipped update (clack unavailable)'));
|
|
231
|
+
return false;
|
|
232
|
+
}
|
|
233
|
+
const clack = clackMod;
|
|
227
234
|
const shouldUpdate = await clack.confirm({
|
|
228
235
|
message: `Update ${PKG_NAME} to ${result.latest}?`,
|
|
229
236
|
initialValue: true,
|