@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ghl-ai/aw",
3
- "version": "0.1.44",
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
- const { default: clack } = await import('@clack/prompts');
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,