@ghl-ai/aw 0.1.73-beta.0 → 0.1.73-beta.1

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/init.mjs CHANGED
@@ -25,7 +25,6 @@ import * as fmt from '../fmt.mjs';
25
25
  import { chalk, setSilent } from '../fmt.mjs';
26
26
  import { linkWorkspace } from '../link.mjs';
27
27
  import { generateCommands, copyInstructions, initAwDocs, syncHomeHarnessInstructions } from '../integrate.mjs';
28
- import { renderRules } from '../render-rules.mjs';
29
28
  import { setupMcp } from '../mcp.mjs';
30
29
  import { isContextModeRequested } from '../integrations/context-mode.mjs';
31
30
  import { applyStoredStartupPreferences, ensureAwRuntimeHook, isDefaultRoutingEnabled } from '../startup.mjs';
@@ -151,11 +150,6 @@ function syncHomeAndProjectInstructions(cwd, namespace) {
151
150
  initAwDocs(HOME);
152
151
  if (cwd !== HOME) {
153
152
  syncInstructionsAndAwDocs(cwd, namespace);
154
- } else {
155
- // Running from $HOME (fresh-laptop flow): render global IDE rules directly.
156
- // The project branch above is otherwise the only renderRules call site, so
157
- // init from $HOME used to leave ~/.claude/rules and ~/.cursor/rules empty.
158
- renderRules(HOME, { homeDir: HOME });
159
153
  }
160
154
  }
161
155
 
package/constants.mjs CHANGED
@@ -105,7 +105,7 @@ export const RULES_SOURCE_DIR = '.aw_rules';
105
105
  /** Runtime location exposed to harnesses and generated instructions */
106
106
  export const RULES_RUNTIME_DIR = '.aw/.aw_rules';
107
107
  /** Telemetry endpoint — override with AW_TELEMETRY_URL env var */
108
- export const TELEMETRY_URL = process.env.AW_TELEMETRY_URL || 'https://services.leadconnectorhq.com/agentic-workspace/api/telemetry/events';
108
+ export const TELEMETRY_URL = process.env.AW_TELEMETRY_URL || 'https://staging.services.leadconnectorhq.com/agentic-workspace/api/telemetry/events';
109
109
 
110
110
  /** AW bot identity for Co-Authored-By trailers */
111
111
  export const AW_BOT_NAME = 'AW';
package/ecc.mjs CHANGED
@@ -12,7 +12,7 @@ import { applyStoredStartupPreferences } from "./startup.mjs";
12
12
 
13
13
  const AW_ECC_REPO_SSH = "git@github.com:shreyansh-ghl/aw-ecc.git";
14
14
  const AW_ECC_REPO_HTTPS = "https://github.com/shreyansh-ghl/aw-ecc.git";
15
- export const AW_ECC_TAG = "v1.4.66";
15
+ export const AW_ECC_TAG = "v1.4.67";
16
16
  const REQUIRED_ECC_FILES = [
17
17
  "package.json",
18
18
  "scripts/install-apply.js",
@@ -18,6 +18,7 @@ function buildCommitCreatedEvent({ commitHash = 'unknown', branch = 'unknown', c
18
18
  // project_hash so the dashboard can correlate commits back to /aw:* sessions.
19
19
  const event = buildEvent({ cwd }, 'commit_created', {
20
20
  commit_hash: commitHash,
21
+ commit_sha: commitHash,
21
22
  branch,
22
23
  });
23
24
 
@@ -12,7 +12,7 @@
12
12
  const https = require('https');
13
13
  const http = require('http');
14
14
 
15
- const DEFAULT_URL = 'https://services.leadconnectorhq.com/agentic-workspace/api/telemetry/usage-events';
15
+ const DEFAULT_URL = 'https://staging.services.leadconnectorhq.com/agentic-workspace/api/telemetry/usage-events';
16
16
  const TIMEOUT_MS = 10_000;
17
17
 
18
18
  function post(url, body) {
package/hooks.mjs CHANGED
@@ -102,7 +102,7 @@ if git log -1 --format='%b' HEAD 2>/dev/null | grep -qF "Co-Authored-By: AW"; th
102
102
  TELEMETRY_HOOK="$HOME/.aw-ecc/scripts/hooks/aw-usage-commit-created.js"
103
103
  fi
104
104
  if command -v node >/dev/null 2>&1 && [ -f "$TELEMETRY_HOOK" ]; then
105
- COMMIT_HASH="$(git rev-parse --short HEAD 2>/dev/null || echo unknown)"
105
+ COMMIT_HASH="$(git rev-parse HEAD 2>/dev/null || echo unknown)"
106
106
  BRANCH="$(git rev-parse --abbrev-ref HEAD 2>/dev/null || echo unknown)"
107
107
  node "$TELEMETRY_HOOK" "$COMMIT_HASH" "$BRANCH" "$(pwd)" >/dev/null 2>&1
108
108
  fi
@@ -286,7 +286,7 @@ if git log -1 --format='%b' HEAD 2>/dev/null | grep -qF "Co-Authored-By: AW"; th
286
286
  TELEMETRY_HOOK="$HOME/.aw-ecc/scripts/hooks/aw-usage-commit-created.js"
287
287
  fi
288
288
  if command -v node >/dev/null 2>&1 && [ -f "$TELEMETRY_HOOK" ]; then
289
- COMMIT_HASH="$(git rev-parse --short HEAD 2>/dev/null || echo unknown)"
289
+ COMMIT_HASH="$(git rev-parse HEAD 2>/dev/null || echo unknown)"
290
290
  BRANCH="$(git rev-parse --abbrev-ref HEAD 2>/dev/null || echo unknown)"
291
291
  node "$TELEMETRY_HOOK" "$COMMIT_HASH" "$BRANCH" "$(pwd)" >/dev/null 2>&1
292
292
  fi
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ghl-ai/aw",
3
- "version": "0.1.73-beta.0",
4
- "description": "Agentic Workspace CLI \u2014 pull, push & manage agents, skills and commands from the registry",
3
+ "version": "0.1.73-beta.1",
4
+ "description": "Agentic Workspace CLI pull, push & manage agents, skills and commands from the registry",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "aw": "bin.js"
@@ -74,4 +74,4 @@
74
74
  "devDependencies": {
75
75
  "vitest": "^4.1.2"
76
76
  }
77
- }
77
+ }