iris-chatbot 0.2.4 → 0.2.5

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": "iris-chatbot",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "private": false,
5
5
  "description": "One-command installer for the Iris project template.",
6
6
  "bin": {
@@ -0,0 +1,6 @@
1
+ /// <reference types="next" />
2
+ /// <reference types="next/image-types/global" />
3
+ import "./.next/types/routes.d.ts";
4
+
5
+ // NOTE: This file should not be edited
6
+ // see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iris",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "private": true,
5
5
  "description": "One-command installer for the Iris project template.",
6
6
  "engines": {
@@ -5,7 +5,7 @@ import path from "path";
5
5
  export const runtime = "nodejs";
6
6
  export const dynamic = "force-dynamic";
7
7
 
8
- const DATA_DIR = ".zenith-data";
8
+ const DATA_DIR = ".iris-data";
9
9
  const STATE_FILE = "state.json";
10
10
 
11
11
  function getStatePath(): string {
@@ -53,7 +53,7 @@ const plexMono = IBM_Plex_Mono({
53
53
  });
54
54
 
55
55
  export const metadata: Metadata = {
56
- title: "Zenith Chat",
56
+ title: "Iris",
57
57
  description: "Local ChatGPT-style client with branching threads",
58
58
  };
59
59
 
@@ -913,7 +913,7 @@ export default function SettingsModal({
913
913
  className="h-24 w-full rounded-lg border border-[var(--border)] bg-[var(--panel)] px-3 py-2 text-xs"
914
914
  value={allowedRootsText}
915
915
  onChange={(event) => setAllowedRootsText(event.target.value)}
916
- placeholder="/Users/evanalexander/zenith&#10;~/Desktop"
916
+ placeholder="~/iris-project&#10;~/Desktop"
917
917
  />
918
918
  </div>
919
919
  <div className="grid gap-2 md:grid-cols-2">
@@ -1,7 +1,7 @@
1
1
  import Dexie, { Table } from "dexie";
2
2
  import type { MemoryEntry, MessageNode, Settings, Thread, ToolApproval, ToolEvent } from "./types";
3
3
 
4
- class ZenithDB extends Dexie {
4
+ class IrisDB extends Dexie {
5
5
  messages!: Table<MessageNode, string>;
6
6
  threads!: Table<Thread, string>;
7
7
  settings!: Table<Settings, string>;
@@ -10,7 +10,7 @@ class ZenithDB extends Dexie {
10
10
  memories!: Table<MemoryEntry, string>;
11
11
 
12
12
  constructor() {
13
- super("zenith-chat");
13
+ super("iris-chat");
14
14
  this.version(1).stores({
15
15
  messages: "id, conversationId, parentId, createdAt",
16
16
  threads: "id, conversationId, headMessageId, updatedAt",
@@ -46,4 +46,4 @@ class ZenithDB extends Dexie {
46
46
  }
47
47
  }
48
48
 
49
- export const db = new ZenithDB();
49
+ export const db = new IrisDB();
@@ -12,16 +12,16 @@ type ApprovalStore = {
12
12
  };
13
13
 
14
14
  declare global {
15
- var __zenithApprovalStore: ApprovalStore | undefined;
15
+ var __irisApprovalStore: ApprovalStore | undefined;
16
16
  }
17
17
 
18
18
  function getApprovalStore(): ApprovalStore {
19
- if (!globalThis.__zenithApprovalStore) {
20
- globalThis.__zenithApprovalStore = {
19
+ if (!globalThis.__irisApprovalStore) {
20
+ globalThis.__irisApprovalStore = {
21
21
  pendingApprovals: new Map<string, PendingApproval>(),
22
22
  };
23
23
  }
24
- return globalThis.__zenithApprovalStore;
24
+ return globalThis.__irisApprovalStore;
25
25
  }
26
26
 
27
27
  export function createApprovalRequest(params?: { timeoutMs?: number }) {
@@ -71,7 +71,7 @@ export type LocalToolsSettings = {
71
71
  };
72
72
 
73
73
  export const DEFAULT_LOCAL_TOOL_ROOTS = [
74
- "/Users/evanalexander/zenith",
74
+ "~/iris-project",
75
75
  "~/Desktop",
76
76
  "~/Documents",
77
77
  "~/Downloads",
@@ -1,6 +1,6 @@
1
1
  import type { ChatCitationSource, MessageNode } from "./types";
2
2
 
3
- const SOURCES_MARKER_PREFIX = "\n\n[[ZENITH_SOURCES:";
3
+ const SOURCES_MARKER_PREFIX = "\n\n[[IRIS_SOURCES:";
4
4
  const SOURCES_MARKER_SUFFIX = "]]";
5
5
 
6
6
  function normalizeCitationSources(input: ChatCitationSource[]): ChatCitationSource[] {