@lightupai/polaris 0.0.90 → 0.0.91

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.
@@ -10,6 +10,17 @@ if [ -n "$POLARIS_DAEMON_SECRET" ]; then
10
10
  SECRET_HEADER="x-polaris-daemon-secret: $POLARIS_DAEMON_SECRET"
11
11
  fi
12
12
 
13
+ # Read active profile name from ~/.polaris/config.json (best-effort)
14
+ PROFILE=""
15
+ CONFIG_FILE="${HOME}/.polaris/config.json"
16
+ if [ -f "$CONFIG_FILE" ]; then
17
+ PROFILE=$(jq -r '.active // ""' "$CONFIG_FILE" 2>/dev/null || echo "")
18
+ fi
19
+ PROFILE_TAG=""
20
+ if [ -n "$PROFILE" ]; then
21
+ PROFILE_TAG="[${PROFILE}] "
22
+ fi
23
+
13
24
  # Read stdin (session JSON from the coding agent)
14
25
  INPUT=$(cat)
15
26
 
@@ -28,10 +39,10 @@ if [ "$CONNECTED" = "true" ]; then
28
39
  USER=$(echo "$STATUS" | jq -r '.user' 2>/dev/null)
29
40
  SLACK=$(echo "$STATUS" | jq -r '.slackChannel // empty' 2>/dev/null)
30
41
  if [ -n "$SLACK" ]; then
31
- echo "polaris: ${PROJECT}/${SESSION} (${USER}) #${SLACK}"
42
+ echo "polaris: ${PROFILE_TAG}${PROJECT}/${SESSION} (${USER}) #${SLACK}"
32
43
  else
33
- echo "polaris: ${PROJECT}/${SESSION} (${USER})"
44
+ echo "polaris: ${PROFILE_TAG}${PROJECT}/${SESSION} (${USER})"
34
45
  fi
35
46
  else
36
- echo "polaris: not connected"
47
+ echo "polaris: ${PROFILE_TAG}not connected"
37
48
  fi
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightupai/polaris",
3
- "version": "0.0.90",
3
+ "version": "0.0.91",
4
4
  "description": "Record and stream Claude Code sessions to Slack. Like Gong for AI coding — capture every prompt, response, and tool call. Multiplayer collaboration across AI coding agents.",
5
5
  "keywords": [
6
6
  "claude-code",