@tylertech/forge-ai 0.13.7 → 0.13.8

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.
@@ -11801,6 +11801,17 @@
11801
11801
  "privacy": "public",
11802
11802
  "default": "false",
11803
11803
  "attribute": "show-thread-delete"
11804
+ },
11805
+ {
11806
+ "kind": "field",
11807
+ "name": "selectedThreadId",
11808
+ "type": {
11809
+ "text": "string | null"
11810
+ },
11811
+ "privacy": "public",
11812
+ "default": "null",
11813
+ "description": "Currently selected thread ID",
11814
+ "attribute": "selected-thread-id"
11804
11815
  }
11805
11816
  ],
11806
11817
  "events": [
@@ -11881,6 +11892,15 @@
11881
11892
  },
11882
11893
  "default": "false",
11883
11894
  "fieldName": "showThreadDelete"
11895
+ },
11896
+ {
11897
+ "name": "selected-thread-id",
11898
+ "type": {
11899
+ "text": "string | null"
11900
+ },
11901
+ "default": "null",
11902
+ "description": "Currently selected thread ID",
11903
+ "fieldName": "selectedThreadId"
11884
11904
  }
11885
11905
  ],
11886
11906
  "superclass": {
@@ -15087,7 +15107,7 @@
15087
15107
  },
15088
15108
  "AiThinkingIndicatorComponent": {
15089
15109
  "path": "src/lib/ai-thinking-indicator/ai-thinking-indicator.ts",
15090
- "lineNumber": 38
15110
+ "lineNumber": 68
15091
15111
  },
15092
15112
  "ForgeAiThreadActionsMenuRenameEventData": {
15093
15113
  "path": "src/lib/ai-thread-actions-menu/ai-thread-actions-menu.ts",
@@ -24,15 +24,45 @@ const AiThinkingIndicatorComponentTagName = "forge-ai-thinking-indicator";
24
24
  const STATUS_MESSAGES = [
25
25
  "Thinking...",
26
26
  "Processing...",
27
- "Working on it...",
28
- "Almost there...",
27
+ "Reviewing...",
28
+ "Considering...",
29
+ "Evaluating...",
29
30
  "Analyzing...",
30
- "One moment...",
31
- "Hold on...",
32
- "Forging a response...",
33
- "Gathering information...",
34
- "Looking into that...",
35
- "Hang tight..."
31
+ "Assessing...",
32
+ "Auditing...",
33
+ "Deliberating...",
34
+ "Adjudicating...",
35
+ "Cogitating...",
36
+ "Ruminating...",
37
+ "Percolating...",
38
+ "Marshaling...",
39
+ "Collating...",
40
+ "Parsing...",
41
+ "Distilling...",
42
+ "Forging...",
43
+ "Refining...",
44
+ "Reconciling...",
45
+ "Finalizing...",
46
+ "Validating...",
47
+ "Verifying...",
48
+ "Contemplating...",
49
+ "Pondering...",
50
+ "Weighing...",
51
+ "Scrutinizing...",
52
+ "Examining...",
53
+ "Investigating...",
54
+ "Deducing...",
55
+ "Inferring...",
56
+ "Reasoning...",
57
+ "Synthesizing...",
58
+ "Formulating...",
59
+ "Compiling...",
60
+ "Consulting...",
61
+ "Cross-referencing...",
62
+ "Interpreting...",
63
+ "Untangling...",
64
+ "Sifting...",
65
+ "Triangulating..."
36
66
  ];
37
67
  let AiThinkingIndicatorComponent = class extends LitElement {
38
68
  constructor() {
@@ -71,7 +71,7 @@ export declare class AiThreadsComponent extends LitElement {
71
71
  showThreadDelete: boolean;
72
72
  private _threadListContainer;
73
73
  /** Currently selected thread ID */
74
- private _selectedThreadId;
74
+ selectedThreadId: string | null;
75
75
  private _editingThreadId;
76
76
  private _hiddenThreadIds;
77
77
  private _openMenuThreadId;
@@ -36,7 +36,7 @@ let AiThreadsComponent = class extends LitElement {
36
36
  this.totalChats = 0;
37
37
  this.showThreadRename = false;
38
38
  this.showThreadDelete = false;
39
- this._selectedThreadId = null;
39
+ this.selectedThreadId = null;
40
40
  this._editingThreadId = null;
41
41
  this._hiddenThreadIds = /* @__PURE__ */ new Set();
42
42
  this._openMenuThreadId = null;
@@ -112,7 +112,7 @@ let AiThreadsComponent = class extends LitElement {
112
112
  }
113
113
  }
114
114
  _handleThreadSelect(thread) {
115
- this._selectedThreadId = thread.id;
115
+ this.selectedThreadId = thread.id;
116
116
  const event = new CustomEvent("forge-ai-threads-select", {
117
117
  detail: { id: thread.id, title: thread.title },
118
118
  bubbles: true,
@@ -231,7 +231,7 @@ threadList_get = function() {
231
231
  return html`
232
232
  <ul class="forge-list forge-list--dense forge-list--navlist" role="list">
233
233
  ${displayedThreads.map((thread) => {
234
- const isSelected = this._selectedThreadId === thread.id;
234
+ const isSelected = this.selectedThreadId === thread.id;
235
235
  const isEditing = this._editingThreadId === thread.id;
236
236
  const hasOpenMenu = this._openMenuThreadId === thread.id;
237
237
  return html`
@@ -321,8 +321,8 @@ __decorateClass([
321
321
  query(".thread-list-container")
322
322
  ], AiThreadsComponent.prototype, "_threadListContainer", 2);
323
323
  __decorateClass([
324
- state()
325
- ], AiThreadsComponent.prototype, "_selectedThreadId", 2);
324
+ property({ type: String, attribute: "selected-thread-id" })
325
+ ], AiThreadsComponent.prototype, "selectedThreadId", 2);
326
326
  __decorateClass([
327
327
  state()
328
328
  ], AiThreadsComponent.prototype, "_editingThreadId", 2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tylertech/forge-ai",
3
- "version": "0.13.7",
3
+ "version": "0.13.8",
4
4
  "description": "A library of Tyler Forge™ AI chat interface web components.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Tyler Technologies, Inc.",