@lightupai/polaris 0.0.78 → 0.0.79

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": "@lightupai/polaris",
3
- "version": "0.0.78",
3
+ "version": "0.0.79",
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",
package/src/web/app.ts CHANGED
@@ -207,8 +207,8 @@ export function createApp(sql: Sql) {
207
207
  // --- Landing page ---
208
208
 
209
209
  app.get("/", (c) => {
210
- return layout(renderLandingPage(), "Polaris — It's like Gong for Claude Code sessions", {
211
- title: "Polaris — It's like Gong for Claude Code sessions",
210
+ return layout(renderLandingPage(), "Polaris by Lightup — It's like Gong for Claude Code sessions", {
211
+ title: "Polaris by Lightup — It's like Gong for Claude Code sessions",
212
212
  description: "Capture every AI coding session. Stream prompts, responses, and tool calls to Slack in real time. Collaborate across agents. Nothing is lost.",
213
213
  canonical: "https://app.withpolaris.ai",
214
214
  });
@@ -400,9 +400,9 @@ export function createApp(sql: Sql) {
400
400
  };
401
401
 
402
402
  if (hasConnectedSession) {
403
- return layout(renderActiveView(ctx, sessionFixtures, projectFixtures, devices), "Dashboard — Polaris");
403
+ return layout(renderActiveView(ctx, sessionFixtures, projectFixtures, devices), "Dashboard — Polaris by Lightup");
404
404
  }
405
- return layout(renderSetupView(ctx, devices), "Setup — Polaris");
405
+ return layout(renderSetupView(ctx, devices), "Setup — Polaris by Lightup");
406
406
  });
407
407
 
408
408
  // --- Profile ---
@@ -429,7 +429,7 @@ export function createApp(sql: Sql) {
429
429
  totalPrompts: 0,
430
430
  };
431
431
 
432
- return layout(renderProfileView(ctx, payload.participant_id), "Polaris - Profile");
432
+ return layout(renderProfileView(ctx, payload.participant_id), "Polaris by Lightup - Profile");
433
433
  });
434
434
 
435
435
  // --- Session transcript ---
@@ -610,7 +610,7 @@ export function createApp(sql: Sql) {
610
610
  }
611
611
 
612
612
  const ctx = { token, userName: payload.name, orgName: org.name, email: payload.email };
613
- return layout(renderDecisionsView(ctx, project, decisions, decisionsError), "Polaris - Decisions");
613
+ return layout(renderDecisionsView(ctx, project, decisions, decisionsError), "Polaris by Lightup - Decisions");
614
614
  });
615
615
 
616
616
  // --- Project settings (visibility + members) ---
@@ -782,7 +782,7 @@ export function createApp(sql: Sql) {
782
782
  }
783
783
 
784
784
  const ctx = { token, userName: payload.name, orgName: org.name, email: payload.email };
785
- return layout(renderSearchView(ctx, query, results, searchError), "Polaris - Search");
785
+ return layout(renderSearchView(ctx, query, results, searchError), "Polaris by Lightup - Search");
786
786
  });
787
787
 
788
788
  // --- Preview (dev only — all view states on one page) ---
@@ -899,7 +899,7 @@ export function createApp(sql: Sql) {
899
899
  </section>
900
900
  </div>
901
901
  </div>
902
- `, "Polaris - Preview");
902
+ `, "Polaris by Lightup - Preview");
903
903
  });
904
904
 
905
905
  // --- Slack OAuth ---
package/src/web/layout.ts CHANGED
@@ -14,7 +14,7 @@ export interface SeoOpts {
14
14
  canonical?: string;
15
15
  }
16
16
 
17
- export function layout(body: string, title = "Polaris", seo?: SeoOpts): Response {
17
+ export function layout(body: string, title = "Polaris by Lightup", seo?: SeoOpts): Response {
18
18
  const pageTitle = seo?.title ?? title;
19
19
  const description = seo?.description ?? "It's like Gong for Claude Code sessions. Capture every prompt, response, and tool call. Stream to Slack. Collaborate in real time.";
20
20
  const canonical = seo?.canonical ?? "https://app.withpolaris.ai";
@@ -131,7 +131,10 @@ export function nav(token?: string, opts?: NavOpts): string {
131
131
  return `
132
132
  <nav class="border-b border-gray-200 bg-white">
133
133
  <div class="max-w-5xl mx-auto px-6 h-14 flex items-center justify-between">
134
- <a href="${token ? `/dashboard?token=${token}` : "/"}" class="text-lg font-bold tracking-tight text-gray-900">Polaris</a>
134
+ <div class="flex items-center gap-1.5">
135
+ <a href="${token ? `/dashboard?token=${token}` : "/"}" class="text-lg font-bold tracking-tight text-gray-900">Polaris</a>
136
+ <span class="text-sm text-gray-400">by <a href="https://lightup.ai" class="hover:text-gray-600 transition">Lightup</a></span>
137
+ </div>
135
138
  <div class="flex items-center gap-4">${right}</div>
136
139
  </div>
137
140
  </nav>${bannerHtml}`;
package/src/web/pages.ts CHANGED
@@ -488,7 +488,7 @@ export function renderLandingPage(): string {
488
488
 
489
489
  <footer class="border-t border-gray-200 mt-8">
490
490
  <div class="max-w-3xl mx-auto px-6 py-8 flex items-center justify-between text-sm text-gray-400">
491
- <span>Polaris</span>
491
+ <span>© ${new Date().getFullYear()} <a href="https://lightup.ai" class="hover:text-gray-600 transition">Lightup</a>. All rights reserved.</span>
492
492
  <div class="flex items-center gap-6">
493
493
  <a href="https://github.com/lightup-data/polaris/discussions" class="inline-flex items-center gap-1.5 hover:text-gray-600 transition"><svg class="w-4 h-4" viewBox="0 0 16 16" fill="currentColor"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/></svg>Community</a>
494
494
  <a href="/login" class="hover:text-gray-600 transition">Sign in</a>
@@ -505,7 +505,7 @@ export function renderWelcomePage(token: string, name: string, orgName: string,
505
505
  <div class="w-12 h-12 rounded-full bg-green-100 flex items-center justify-center mx-auto mb-4">
506
506
  <svg class="w-6 h-6 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/></svg>
507
507
  </div>
508
- <h1 class="text-2xl font-bold text-gray-900">Welcome to Polaris</h1>
508
+ <h1 class="text-2xl font-bold text-gray-900">Welcome to Polaris <span class="font-normal text-lg text-gray-400">by <a href="https://lightup.ai" class="hover:text-gray-600 transition">Lightup</a></span></h1>
509
509
  <p class="mt-2 text-gray-600">${orgName} is ready to go.</p>
510
510
  </div>
511
511
  <div class="mt-8">