@tylertech/forge-ai 0.15.0 → 0.15.2

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.
@@ -737,156 +737,156 @@
737
737
  },
738
738
  {
739
739
  "kind": "javascript-module",
740
- "path": "src/lib/ai-chain-of-thought/ai-chain-of-thought.ts",
740
+ "path": "src/lib/ai-button/ai-button.ts",
741
741
  "declarations": [
742
742
  {
743
743
  "kind": "variable",
744
- "name": "AiChainOfThoughtComponentTagName",
744
+ "name": "AiButtonComponentTagName",
745
745
  "type": {
746
746
  "text": "keyof HTMLElementTagNameMap"
747
747
  },
748
- "default": "'forge-ai-chain-of-thought'"
748
+ "default": "'forge-ai-button'"
749
749
  },
750
750
  {
751
751
  "kind": "class",
752
752
  "description": "",
753
- "name": "AiChainOfThoughtComponent",
753
+ "name": "AiButtonComponent",
754
+ "slots": [
755
+ {
756
+ "description": "Default slot for button content",
757
+ "name": ""
758
+ }
759
+ ],
754
760
  "members": [
755
761
  {
756
762
  "kind": "field",
757
- "name": "expanded",
763
+ "name": "disabled",
758
764
  "type": {
759
765
  "text": "boolean"
760
766
  },
761
767
  "privacy": "public",
762
768
  "default": "false",
763
- "description": "Whether the chain of thought is expanded",
764
- "attribute": "expanded",
769
+ "description": "Whether the button is disabled",
770
+ "attribute": "disabled",
765
771
  "reflects": true
766
772
  }
767
773
  ],
768
774
  "attributes": [
769
775
  {
770
- "name": "expanded",
776
+ "name": "disabled",
771
777
  "type": {
772
778
  "text": "boolean"
773
779
  },
774
780
  "default": "false",
775
- "description": "Whether the chain of thought is expanded",
776
- "fieldName": "expanded"
781
+ "description": "Whether the button is disabled",
782
+ "fieldName": "disabled"
777
783
  }
778
784
  ],
779
785
  "superclass": {
780
786
  "name": "LitElement",
781
787
  "package": "lit"
782
788
  },
783
- "tagName": "forge-ai-chain-of-thought",
789
+ "tagName": "forge-ai-button",
784
790
  "customElement": true
785
791
  }
786
792
  ],
787
793
  "exports": [
788
794
  {
789
795
  "kind": "js",
790
- "name": "AiChainOfThoughtComponentTagName",
796
+ "name": "AiButtonComponentTagName",
791
797
  "declaration": {
792
- "name": "AiChainOfThoughtComponentTagName",
793
- "module": "src/lib/ai-chain-of-thought/ai-chain-of-thought.ts"
798
+ "name": "AiButtonComponentTagName",
799
+ "module": "src/lib/ai-button/ai-button.ts"
794
800
  }
795
801
  },
796
802
  {
797
803
  "kind": "js",
798
- "name": "AiChainOfThoughtComponent",
804
+ "name": "AiButtonComponent",
799
805
  "declaration": {
800
- "name": "AiChainOfThoughtComponent",
801
- "module": "src/lib/ai-chain-of-thought/ai-chain-of-thought.ts"
806
+ "name": "AiButtonComponent",
807
+ "module": "src/lib/ai-button/ai-button.ts"
802
808
  }
803
809
  },
804
810
  {
805
811
  "kind": "custom-element-definition",
806
812
  "declaration": {
807
- "name": "AiChainOfThoughtComponent",
808
- "module": "src/lib/ai-chain-of-thought/ai-chain-of-thought.ts"
813
+ "name": "AiButtonComponent",
814
+ "module": "src/lib/ai-button/ai-button.ts"
809
815
  }
810
816
  }
811
817
  ]
812
818
  },
813
819
  {
814
820
  "kind": "javascript-module",
815
- "path": "src/lib/ai-button/ai-button.ts",
821
+ "path": "src/lib/ai-chain-of-thought/ai-chain-of-thought.ts",
816
822
  "declarations": [
817
823
  {
818
824
  "kind": "variable",
819
- "name": "AiButtonComponentTagName",
825
+ "name": "AiChainOfThoughtComponentTagName",
820
826
  "type": {
821
827
  "text": "keyof HTMLElementTagNameMap"
822
828
  },
823
- "default": "'forge-ai-button'"
829
+ "default": "'forge-ai-chain-of-thought'"
824
830
  },
825
831
  {
826
832
  "kind": "class",
827
833
  "description": "",
828
- "name": "AiButtonComponent",
829
- "slots": [
830
- {
831
- "description": "Default slot for button content",
832
- "name": ""
833
- }
834
- ],
834
+ "name": "AiChainOfThoughtComponent",
835
835
  "members": [
836
836
  {
837
837
  "kind": "field",
838
- "name": "disabled",
838
+ "name": "expanded",
839
839
  "type": {
840
840
  "text": "boolean"
841
841
  },
842
842
  "privacy": "public",
843
843
  "default": "false",
844
- "description": "Whether the button is disabled",
845
- "attribute": "disabled",
844
+ "description": "Whether the chain of thought is expanded",
845
+ "attribute": "expanded",
846
846
  "reflects": true
847
847
  }
848
848
  ],
849
849
  "attributes": [
850
850
  {
851
- "name": "disabled",
851
+ "name": "expanded",
852
852
  "type": {
853
853
  "text": "boolean"
854
854
  },
855
855
  "default": "false",
856
- "description": "Whether the button is disabled",
857
- "fieldName": "disabled"
856
+ "description": "Whether the chain of thought is expanded",
857
+ "fieldName": "expanded"
858
858
  }
859
859
  ],
860
860
  "superclass": {
861
861
  "name": "LitElement",
862
862
  "package": "lit"
863
863
  },
864
- "tagName": "forge-ai-button",
864
+ "tagName": "forge-ai-chain-of-thought",
865
865
  "customElement": true
866
866
  }
867
867
  ],
868
868
  "exports": [
869
869
  {
870
870
  "kind": "js",
871
- "name": "AiButtonComponentTagName",
871
+ "name": "AiChainOfThoughtComponentTagName",
872
872
  "declaration": {
873
- "name": "AiButtonComponentTagName",
874
- "module": "src/lib/ai-button/ai-button.ts"
873
+ "name": "AiChainOfThoughtComponentTagName",
874
+ "module": "src/lib/ai-chain-of-thought/ai-chain-of-thought.ts"
875
875
  }
876
876
  },
877
877
  {
878
878
  "kind": "js",
879
- "name": "AiButtonComponent",
879
+ "name": "AiChainOfThoughtComponent",
880
880
  "declaration": {
881
- "name": "AiButtonComponent",
882
- "module": "src/lib/ai-button/ai-button.ts"
881
+ "name": "AiChainOfThoughtComponent",
882
+ "module": "src/lib/ai-chain-of-thought/ai-chain-of-thought.ts"
883
883
  }
884
884
  },
885
885
  {
886
886
  "kind": "custom-element-definition",
887
887
  "declaration": {
888
- "name": "AiButtonComponent",
889
- "module": "src/lib/ai-button/ai-button.ts"
888
+ "name": "AiChainOfThoughtComponent",
889
+ "module": "src/lib/ai-chain-of-thought/ai-chain-of-thought.ts"
890
890
  }
891
891
  }
892
892
  ]
@@ -9421,79 +9421,6 @@
9421
9421
  }
9422
9422
  ]
9423
9423
  },
9424
- {
9425
- "kind": "javascript-module",
9426
- "path": "src/lib/ai-empty-state/ai-empty-state.ts",
9427
- "declarations": [
9428
- {
9429
- "kind": "variable",
9430
- "name": "AiEmptyStateComponentTagName",
9431
- "type": {
9432
- "text": "keyof HTMLElementTagNameMap"
9433
- },
9434
- "default": "'forge-ai-empty-state'"
9435
- },
9436
- {
9437
- "kind": "class",
9438
- "description": "",
9439
- "name": "AiEmptyStateComponent",
9440
- "slots": [
9441
- {
9442
- "description": "The welcome message content (overrides the default message).",
9443
- "name": ""
9444
- },
9445
- {
9446
- "description": "The icon/graphic to display.",
9447
- "name": "icon"
9448
- },
9449
- {
9450
- "description": "The custom heading/title to display.",
9451
- "name": "heading"
9452
- },
9453
- {
9454
- "description": "The custom body message content.",
9455
- "name": "body"
9456
- },
9457
- {
9458
- "description": "The actions or suggestions to display below the message.",
9459
- "name": "actions"
9460
- }
9461
- ],
9462
- "members": [],
9463
- "superclass": {
9464
- "name": "LitElement",
9465
- "package": "lit"
9466
- },
9467
- "tagName": "forge-ai-empty-state",
9468
- "customElement": true
9469
- }
9470
- ],
9471
- "exports": [
9472
- {
9473
- "kind": "js",
9474
- "name": "AiEmptyStateComponentTagName",
9475
- "declaration": {
9476
- "name": "AiEmptyStateComponentTagName",
9477
- "module": "src/lib/ai-empty-state/ai-empty-state.ts"
9478
- }
9479
- },
9480
- {
9481
- "kind": "js",
9482
- "name": "AiEmptyStateComponent",
9483
- "declaration": {
9484
- "name": "AiEmptyStateComponent",
9485
- "module": "src/lib/ai-empty-state/ai-empty-state.ts"
9486
- }
9487
- },
9488
- {
9489
- "kind": "custom-element-definition",
9490
- "declaration": {
9491
- "name": "AiEmptyStateComponent",
9492
- "module": "src/lib/ai-empty-state/ai-empty-state.ts"
9493
- }
9494
- }
9495
- ]
9496
- },
9497
9424
  {
9498
9425
  "kind": "javascript-module",
9499
9426
  "path": "src/lib/ai-embedded-chat/ai-embedded-chat.ts",
@@ -9730,6 +9657,79 @@
9730
9657
  }
9731
9658
  ]
9732
9659
  },
9660
+ {
9661
+ "kind": "javascript-module",
9662
+ "path": "src/lib/ai-empty-state/ai-empty-state.ts",
9663
+ "declarations": [
9664
+ {
9665
+ "kind": "variable",
9666
+ "name": "AiEmptyStateComponentTagName",
9667
+ "type": {
9668
+ "text": "keyof HTMLElementTagNameMap"
9669
+ },
9670
+ "default": "'forge-ai-empty-state'"
9671
+ },
9672
+ {
9673
+ "kind": "class",
9674
+ "description": "",
9675
+ "name": "AiEmptyStateComponent",
9676
+ "slots": [
9677
+ {
9678
+ "description": "The welcome message content (overrides the default message).",
9679
+ "name": ""
9680
+ },
9681
+ {
9682
+ "description": "The icon/graphic to display.",
9683
+ "name": "icon"
9684
+ },
9685
+ {
9686
+ "description": "The custom heading/title to display.",
9687
+ "name": "heading"
9688
+ },
9689
+ {
9690
+ "description": "The custom body message content.",
9691
+ "name": "body"
9692
+ },
9693
+ {
9694
+ "description": "The actions or suggestions to display below the message.",
9695
+ "name": "actions"
9696
+ }
9697
+ ],
9698
+ "members": [],
9699
+ "superclass": {
9700
+ "name": "LitElement",
9701
+ "package": "lit"
9702
+ },
9703
+ "tagName": "forge-ai-empty-state",
9704
+ "customElement": true
9705
+ }
9706
+ ],
9707
+ "exports": [
9708
+ {
9709
+ "kind": "js",
9710
+ "name": "AiEmptyStateComponentTagName",
9711
+ "declaration": {
9712
+ "name": "AiEmptyStateComponentTagName",
9713
+ "module": "src/lib/ai-empty-state/ai-empty-state.ts"
9714
+ }
9715
+ },
9716
+ {
9717
+ "kind": "js",
9718
+ "name": "AiEmptyStateComponent",
9719
+ "declaration": {
9720
+ "name": "AiEmptyStateComponent",
9721
+ "module": "src/lib/ai-empty-state/ai-empty-state.ts"
9722
+ }
9723
+ },
9724
+ {
9725
+ "kind": "custom-element-definition",
9726
+ "declaration": {
9727
+ "name": "AiEmptyStateComponent",
9728
+ "module": "src/lib/ai-empty-state/ai-empty-state.ts"
9729
+ }
9730
+ }
9731
+ ]
9732
+ },
9733
9733
  {
9734
9734
  "kind": "javascript-module",
9735
9735
  "path": "src/lib/ai-error-message/ai-error-message.ts",
@@ -11767,13 +11767,24 @@
11767
11767
  "kind": "field",
11768
11768
  "name": "resizable",
11769
11769
  "type": {
11770
- "text": "boolean"
11770
+ "text": "FeatureToggle"
11771
11771
  },
11772
11772
  "privacy": "public",
11773
- "default": "true",
11774
- "description": "Enables sidebar resizing.",
11773
+ "default": "'on'",
11774
+ "description": "Enables sidebar resizing. Set to `'off'` to disable and reset to the default width.",
11775
11775
  "attribute": "resizable"
11776
11776
  },
11777
+ {
11778
+ "kind": "field",
11779
+ "name": "width",
11780
+ "privacy": "public",
11781
+ "default": "420",
11782
+ "description": "The current width of the sidebar in pixels. Clamped to the min/max bounds and viewport.\nResized widths are persisted per tab in sessionStorage and shared across tabs via localStorage.\nOn load the session value is preferred, then the local value, then the default.",
11783
+ "attribute": "width",
11784
+ "type": {
11785
+ "text": "number"
11786
+ }
11787
+ },
11777
11788
  {
11778
11789
  "kind": "method",
11779
11790
  "name": "show",
@@ -11816,6 +11827,10 @@
11816
11827
  {
11817
11828
  "description": "Fired when the sidebar is closed",
11818
11829
  "name": "forge-ai-sidebar-close"
11830
+ },
11831
+ {
11832
+ "description": "Fired when a resize is committed via pointer release or keyboard step",
11833
+ "name": "forge-ai-sidebar-resize"
11819
11834
  }
11820
11835
  ],
11821
11836
  "attributes": [
@@ -11831,11 +11846,17 @@
11831
11846
  {
11832
11847
  "name": "resizable",
11833
11848
  "type": {
11834
- "text": "boolean"
11849
+ "text": "FeatureToggle"
11835
11850
  },
11836
- "default": "true",
11837
- "description": "Enables sidebar resizing.",
11851
+ "default": "'on'",
11852
+ "description": "Enables sidebar resizing. Set to `'off'` to disable and reset to the default width.",
11838
11853
  "fieldName": "resizable"
11854
+ },
11855
+ {
11856
+ "name": "width",
11857
+ "default": "DEFAULT_WIDTH",
11858
+ "description": "The current width of the sidebar in pixels. Clamped to the min/max bounds and viewport.\nResized widths are persisted per tab in sessionStorage and shared across tabs via localStorage.\nOn load the session value is preferred, then the local value, then the default.",
11859
+ "fieldName": "width"
11839
11860
  }
11840
11861
  ],
11841
11862
  "superclass": {
@@ -11919,12 +11940,23 @@
11919
11940
  "kind": "field",
11920
11941
  "name": "resizable",
11921
11942
  "type": {
11922
- "text": "boolean"
11943
+ "text": "FeatureToggle"
11923
11944
  },
11924
11945
  "privacy": "public",
11925
- "default": "true",
11946
+ "default": "'on'",
11947
+ "description": "Enables sidebar resizing. Set to `'off'` to disable.",
11926
11948
  "attribute": "resizable"
11927
11949
  },
11950
+ {
11951
+ "kind": "field",
11952
+ "name": "width",
11953
+ "type": {
11954
+ "text": "number | undefined"
11955
+ },
11956
+ "privacy": "public",
11957
+ "description": "The current width of the sidebar in pixels. Retained across expand/collapse.",
11958
+ "attribute": "width"
11959
+ },
11928
11960
  {
11929
11961
  "kind": "method",
11930
11962
  "name": "show",
@@ -11992,6 +12024,10 @@
11992
12024
  {
11993
12025
  "description": "Fired when the sidebar chat is collapsed from modal",
11994
12026
  "name": "forge-ai-sidebar-chat-collapse"
12027
+ },
12028
+ {
12029
+ "description": "Fired when the sidebar width is resized",
12030
+ "name": "forge-ai-sidebar-chat-resize"
11995
12031
  }
11996
12032
  ],
11997
12033
  "attributes": [
@@ -12014,10 +12050,19 @@
12014
12050
  {
12015
12051
  "name": "resizable",
12016
12052
  "type": {
12017
- "text": "boolean"
12053
+ "text": "FeatureToggle"
12018
12054
  },
12019
- "default": "true",
12055
+ "default": "'on'",
12056
+ "description": "Enables sidebar resizing. Set to `'off'` to disable.",
12020
12057
  "fieldName": "resizable"
12058
+ },
12059
+ {
12060
+ "name": "width",
12061
+ "type": {
12062
+ "text": "number | undefined"
12063
+ },
12064
+ "description": "The current width of the sidebar in pixels. Retained across expand/collapse.",
12065
+ "fieldName": "width"
12021
12066
  }
12022
12067
  ],
12023
12068
  "superclass": {
@@ -13040,6 +13085,28 @@
13040
13085
  }
13041
13086
  ],
13042
13087
  "description": "Completes a delete that a host intercepted via `forge-ai-threads-search-delete-confirm`\n(calling preventDefault() to show its own confirmation instead of this component's\nbuilt-in one). Call once the host's own confirmation has been accepted."
13088
+ },
13089
+ {
13090
+ "kind": "method",
13091
+ "name": "resetSearch",
13092
+ "privacy": "public",
13093
+ "return": {
13094
+ "type": {
13095
+ "text": "void"
13096
+ }
13097
+ },
13098
+ "description": "Discards the current query and its results so the list shows every loaded chat again.\nDispatches no search event and moves no focus, so a host may call it on a surface that is\ncurrently hidden (e.g. a popover that stays mounted between opens)."
13099
+ },
13100
+ {
13101
+ "kind": "method",
13102
+ "name": "focus",
13103
+ "privacy": "public",
13104
+ "return": {
13105
+ "type": {
13106
+ "text": "void"
13107
+ }
13108
+ },
13109
+ "description": "Moves focus into the component: the search input when shown, otherwise the first chat in\nthe list, otherwise the first header button."
13043
13110
  }
13044
13111
  ],
13045
13112
  "events": [
@@ -13054,7 +13121,7 @@
13054
13121
  "type": {
13055
13122
  "text": "CustomEvent<ForgeAiThreadsSearchLoadMoreEventData>"
13056
13123
  },
13057
- "description": "Fired when user scrolls near bottom for pagination.",
13124
+ "description": "Fired when the user scrolls near the bottom or clicks \"Load more\" for pagination.",
13058
13125
  "name": "forge-ai-threads-search-load-more"
13059
13126
  },
13060
13127
  {
@@ -15617,14 +15684,14 @@
15617
15684
  "path": "src/lib/ai-attachment/ai-attachment.ts",
15618
15685
  "lineNumber": 41
15619
15686
  },
15620
- "AiChainOfThoughtComponent": {
15621
- "path": "src/lib/ai-chain-of-thought/ai-chain-of-thought.ts",
15622
- "lineNumber": 17
15623
- },
15624
15687
  "AiButtonComponent": {
15625
15688
  "path": "src/lib/ai-button/ai-button.ts",
15626
15689
  "lineNumber": 22
15627
15690
  },
15691
+ "AiChainOfThoughtComponent": {
15692
+ "path": "src/lib/ai-chain-of-thought/ai-chain-of-thought.ts",
15693
+ "lineNumber": 17
15694
+ },
15628
15695
  "ForgeAiChatHeaderAgentChangeEventData": {
15629
15696
  "path": "src/lib/ai-chat-header/ai-chat-header.ts",
15630
15697
  "lineNumber": 39
@@ -16177,14 +16244,14 @@
16177
16244
  "path": "src/lib/ai-edit-thread/ai-edit-thread.ts",
16178
16245
  "lineNumber": 38
16179
16246
  },
16180
- "AiEmptyStateComponent": {
16181
- "path": "src/lib/ai-empty-state/ai-empty-state.ts",
16182
- "lineNumber": 23
16183
- },
16184
16247
  "AiEmbeddedChatComponent": {
16185
16248
  "path": "src/lib/ai-embedded-chat/ai-embedded-chat.ts",
16186
16249
  "lineNumber": 47
16187
16250
  },
16251
+ "AiEmptyStateComponent": {
16252
+ "path": "src/lib/ai-empty-state/ai-empty-state.ts",
16253
+ "lineNumber": 23
16254
+ },
16188
16255
  "ErrorMessageDensity": {
16189
16256
  "path": "src/lib/ai-error-message/ai-error-message.ts",
16190
16257
  "lineNumber": 13
@@ -16309,13 +16376,21 @@
16309
16376
  "path": "src/lib/ai-response-message-toolbar/ai-response-message-toolbar.ts",
16310
16377
  "lineNumber": 43
16311
16378
  },
16379
+ "ForgeAiSidebarResizeEventData": {
16380
+ "path": "src/lib/ai-sidebar/ai-sidebar.ts",
16381
+ "lineNumber": 33
16382
+ },
16312
16383
  "AiSidebarComponent": {
16313
16384
  "path": "src/lib/ai-sidebar/ai-sidebar.ts",
16314
- "lineNumber": 36
16385
+ "lineNumber": 48
16386
+ },
16387
+ "ForgeAiSidebarChatResizeEventData": {
16388
+ "path": "src/lib/ai-sidebar-chat/ai-sidebar-chat.ts",
16389
+ "lineNumber": 26
16315
16390
  },
16316
16391
  "AiSidebarChatComponent": {
16317
16392
  "path": "src/lib/ai-sidebar-chat/ai-sidebar-chat.ts",
16318
- "lineNumber": 42
16393
+ "lineNumber": 48
16319
16394
  },
16320
16395
  "AiSlashCommandMenuComponent": {
16321
16396
  "path": "src/lib/ai-slash-command-menu/ai-slash-command-menu.ts",
@@ -16495,7 +16570,7 @@
16495
16570
  },
16496
16571
  "ResizeController": {
16497
16572
  "path": "src/lib/core/resize-controller.ts",
16498
- "lineNumber": 18
16573
+ "lineNumber": 19
16499
16574
  },
16500
16575
  "ThoughtBaseComponent": {
16501
16576
  "path": "src/lib/ai-chain-of-thought/thought-base/thought-base.ts",