@genesislcap/ai-assistant 15.50.3 → 15.51.0
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/dist/chat-driver.cjs +77 -4
- package/dist/chat-driver.cjs.map +4 -4
- package/dist/chat-driver.mjs +77 -4
- package/dist/chat-driver.mjs.map +4 -4
- package/dist/custom-elements.json +147 -147
- package/package.json +17 -17
|
@@ -6973,6 +6973,153 @@
|
|
|
6973
6973
|
}
|
|
6974
6974
|
]
|
|
6975
6975
|
},
|
|
6976
|
+
{
|
|
6977
|
+
"kind": "javascript-module",
|
|
6978
|
+
"path": "src/styles/ai-colours.ts",
|
|
6979
|
+
"declarations": [
|
|
6980
|
+
{
|
|
6981
|
+
"kind": "variable",
|
|
6982
|
+
"name": "AI_COLOUR_AMBER",
|
|
6983
|
+
"type": {
|
|
6984
|
+
"text": "string"
|
|
6985
|
+
},
|
|
6986
|
+
"default": "'#feb60a'",
|
|
6987
|
+
"description": "Shared brand colours used across the AI animation effects\n(halo overlay border/glow and loading dot indicators).\nDefined once here so both stay in sync."
|
|
6988
|
+
},
|
|
6989
|
+
{
|
|
6990
|
+
"kind": "variable",
|
|
6991
|
+
"name": "AI_COLOUR_PINK",
|
|
6992
|
+
"type": {
|
|
6993
|
+
"text": "string"
|
|
6994
|
+
},
|
|
6995
|
+
"default": "'#ff0062'"
|
|
6996
|
+
},
|
|
6997
|
+
{
|
|
6998
|
+
"kind": "variable",
|
|
6999
|
+
"name": "AI_COLOUR_CYAN",
|
|
7000
|
+
"type": {
|
|
7001
|
+
"text": "string"
|
|
7002
|
+
},
|
|
7003
|
+
"default": "'#00dbf9'"
|
|
7004
|
+
},
|
|
7005
|
+
{
|
|
7006
|
+
"kind": "variable",
|
|
7007
|
+
"name": "AI_COLOUR_VIOLET",
|
|
7008
|
+
"type": {
|
|
7009
|
+
"text": "string"
|
|
7010
|
+
},
|
|
7011
|
+
"default": "'#da00f7'"
|
|
7012
|
+
},
|
|
7013
|
+
{
|
|
7014
|
+
"kind": "variable",
|
|
7015
|
+
"name": "PIN_COLOURS",
|
|
7016
|
+
"type": {
|
|
7017
|
+
"text": "[\n AI_COLOUR_AMBER,\n AI_COLOUR_PINK,\n AI_COLOUR_CYAN,\n AI_COLOUR_VIOLET,\n]"
|
|
7018
|
+
},
|
|
7019
|
+
"default": "[\n AI_COLOUR_AMBER,\n AI_COLOUR_PINK,\n AI_COLOUR_CYAN,\n AI_COLOUR_VIOLET,\n]",
|
|
7020
|
+
"description": "Pin tint palette, cycled by an agent's position in the assistant's `agents`\narray. Lives here beside the other brand colours because two components need\nit: the composer's agent button tints its pin with the ACTIVE agent's colour,\nand the picker menu tints every row's dot — and those two have to agree, so\nthey read the same list and index it the same way."
|
|
7021
|
+
},
|
|
7022
|
+
{
|
|
7023
|
+
"kind": "function",
|
|
7024
|
+
"name": "pinColourAt",
|
|
7025
|
+
"return": {
|
|
7026
|
+
"type": {
|
|
7027
|
+
"text": "string | undefined"
|
|
7028
|
+
}
|
|
7029
|
+
},
|
|
7030
|
+
"parameters": [
|
|
7031
|
+
{
|
|
7032
|
+
"name": "index",
|
|
7033
|
+
"type": {
|
|
7034
|
+
"text": "number"
|
|
7035
|
+
}
|
|
7036
|
+
}
|
|
7037
|
+
],
|
|
7038
|
+
"description": "The tint for the agent at `index` in the full agents array, or `undefined`\nwhen the index is out of range (an unknown or stale agent name)."
|
|
7039
|
+
}
|
|
7040
|
+
],
|
|
7041
|
+
"exports": [
|
|
7042
|
+
{
|
|
7043
|
+
"kind": "js",
|
|
7044
|
+
"name": "AI_COLOUR_AMBER",
|
|
7045
|
+
"declaration": {
|
|
7046
|
+
"name": "AI_COLOUR_AMBER",
|
|
7047
|
+
"module": "src/styles/ai-colours.ts"
|
|
7048
|
+
}
|
|
7049
|
+
},
|
|
7050
|
+
{
|
|
7051
|
+
"kind": "js",
|
|
7052
|
+
"name": "AI_COLOUR_PINK",
|
|
7053
|
+
"declaration": {
|
|
7054
|
+
"name": "AI_COLOUR_PINK",
|
|
7055
|
+
"module": "src/styles/ai-colours.ts"
|
|
7056
|
+
}
|
|
7057
|
+
},
|
|
7058
|
+
{
|
|
7059
|
+
"kind": "js",
|
|
7060
|
+
"name": "AI_COLOUR_CYAN",
|
|
7061
|
+
"declaration": {
|
|
7062
|
+
"name": "AI_COLOUR_CYAN",
|
|
7063
|
+
"module": "src/styles/ai-colours.ts"
|
|
7064
|
+
}
|
|
7065
|
+
},
|
|
7066
|
+
{
|
|
7067
|
+
"kind": "js",
|
|
7068
|
+
"name": "AI_COLOUR_VIOLET",
|
|
7069
|
+
"declaration": {
|
|
7070
|
+
"name": "AI_COLOUR_VIOLET",
|
|
7071
|
+
"module": "src/styles/ai-colours.ts"
|
|
7072
|
+
}
|
|
7073
|
+
},
|
|
7074
|
+
{
|
|
7075
|
+
"kind": "js",
|
|
7076
|
+
"name": "PIN_COLOURS",
|
|
7077
|
+
"declaration": {
|
|
7078
|
+
"name": "PIN_COLOURS",
|
|
7079
|
+
"module": "src/styles/ai-colours.ts"
|
|
7080
|
+
}
|
|
7081
|
+
},
|
|
7082
|
+
{
|
|
7083
|
+
"kind": "js",
|
|
7084
|
+
"name": "pinColourAt",
|
|
7085
|
+
"declaration": {
|
|
7086
|
+
"name": "pinColourAt",
|
|
7087
|
+
"module": "src/styles/ai-colours.ts"
|
|
7088
|
+
}
|
|
7089
|
+
}
|
|
7090
|
+
]
|
|
7091
|
+
},
|
|
7092
|
+
{
|
|
7093
|
+
"kind": "javascript-module",
|
|
7094
|
+
"path": "src/styles/menu.ts",
|
|
7095
|
+
"declarations": [],
|
|
7096
|
+
"exports": []
|
|
7097
|
+
},
|
|
7098
|
+
{
|
|
7099
|
+
"kind": "javascript-module",
|
|
7100
|
+
"path": "src/styles/settings-section.ts",
|
|
7101
|
+
"declarations": [
|
|
7102
|
+
{
|
|
7103
|
+
"kind": "variable",
|
|
7104
|
+
"name": "assistantSettingsSectionTitleStyles",
|
|
7105
|
+
"type": {
|
|
7106
|
+
"text": "ElementStyles"
|
|
7107
|
+
},
|
|
7108
|
+
"default": "css`\n .ai-settings-section-title {\n display: flex;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n font-size: 11px;\n font-weight: 600;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n color: var(--neutral-foreground-hint);\n }\n`",
|
|
7109
|
+
"description": "Heading style for a settings-modal section, published so a host can title its own section.\n\nThe assistant renders no heading for the `settings-app` slot — no text and no icon — because\nonly the host knows what that section is. The consequence is that a host supplying one has to\nreproduce the styling of the built-in headings beside it, and a copied rule drifts the moment\neither side changes. So the declarations live here, are applied by the assistant's own\nheadings, and are exported for the host to apply to its.\n\nCompose it into a component's styles and put `ai-settings-section-title` on the heading:\n\n```ts\nimport { assistantSettingsSectionTitleStyles } from '@genesislcap/ai-assistant';\n\nconst styles = css`\n ${assistantSettingsSectionTitleStyles}\n :host { display: block; }\n`;\n```\n\nCarries no margin on purpose: spacing belongs to the surrounding layout, which differs\nbetween the assistant's own sections and a slotted one, and is the single declaration hosts\nhad to diverge on when they copied this rule."
|
|
7110
|
+
}
|
|
7111
|
+
],
|
|
7112
|
+
"exports": [
|
|
7113
|
+
{
|
|
7114
|
+
"kind": "js",
|
|
7115
|
+
"name": "assistantSettingsSectionTitleStyles",
|
|
7116
|
+
"declaration": {
|
|
7117
|
+
"name": "assistantSettingsSectionTitleStyles",
|
|
7118
|
+
"module": "src/styles/settings-section.ts"
|
|
7119
|
+
}
|
|
7120
|
+
}
|
|
7121
|
+
]
|
|
7122
|
+
},
|
|
6976
7123
|
{
|
|
6977
7124
|
"kind": "javascript-module",
|
|
6978
7125
|
"path": "src/state/ai-assistant-slice.ts",
|
|
@@ -7516,153 +7663,6 @@
|
|
|
7516
7663
|
}
|
|
7517
7664
|
]
|
|
7518
7665
|
},
|
|
7519
|
-
{
|
|
7520
|
-
"kind": "javascript-module",
|
|
7521
|
-
"path": "src/styles/ai-colours.ts",
|
|
7522
|
-
"declarations": [
|
|
7523
|
-
{
|
|
7524
|
-
"kind": "variable",
|
|
7525
|
-
"name": "AI_COLOUR_AMBER",
|
|
7526
|
-
"type": {
|
|
7527
|
-
"text": "string"
|
|
7528
|
-
},
|
|
7529
|
-
"default": "'#feb60a'",
|
|
7530
|
-
"description": "Shared brand colours used across the AI animation effects\n(halo overlay border/glow and loading dot indicators).\nDefined once here so both stay in sync."
|
|
7531
|
-
},
|
|
7532
|
-
{
|
|
7533
|
-
"kind": "variable",
|
|
7534
|
-
"name": "AI_COLOUR_PINK",
|
|
7535
|
-
"type": {
|
|
7536
|
-
"text": "string"
|
|
7537
|
-
},
|
|
7538
|
-
"default": "'#ff0062'"
|
|
7539
|
-
},
|
|
7540
|
-
{
|
|
7541
|
-
"kind": "variable",
|
|
7542
|
-
"name": "AI_COLOUR_CYAN",
|
|
7543
|
-
"type": {
|
|
7544
|
-
"text": "string"
|
|
7545
|
-
},
|
|
7546
|
-
"default": "'#00dbf9'"
|
|
7547
|
-
},
|
|
7548
|
-
{
|
|
7549
|
-
"kind": "variable",
|
|
7550
|
-
"name": "AI_COLOUR_VIOLET",
|
|
7551
|
-
"type": {
|
|
7552
|
-
"text": "string"
|
|
7553
|
-
},
|
|
7554
|
-
"default": "'#da00f7'"
|
|
7555
|
-
},
|
|
7556
|
-
{
|
|
7557
|
-
"kind": "variable",
|
|
7558
|
-
"name": "PIN_COLOURS",
|
|
7559
|
-
"type": {
|
|
7560
|
-
"text": "[\n AI_COLOUR_AMBER,\n AI_COLOUR_PINK,\n AI_COLOUR_CYAN,\n AI_COLOUR_VIOLET,\n]"
|
|
7561
|
-
},
|
|
7562
|
-
"default": "[\n AI_COLOUR_AMBER,\n AI_COLOUR_PINK,\n AI_COLOUR_CYAN,\n AI_COLOUR_VIOLET,\n]",
|
|
7563
|
-
"description": "Pin tint palette, cycled by an agent's position in the assistant's `agents`\narray. Lives here beside the other brand colours because two components need\nit: the composer's agent button tints its pin with the ACTIVE agent's colour,\nand the picker menu tints every row's dot — and those two have to agree, so\nthey read the same list and index it the same way."
|
|
7564
|
-
},
|
|
7565
|
-
{
|
|
7566
|
-
"kind": "function",
|
|
7567
|
-
"name": "pinColourAt",
|
|
7568
|
-
"return": {
|
|
7569
|
-
"type": {
|
|
7570
|
-
"text": "string | undefined"
|
|
7571
|
-
}
|
|
7572
|
-
},
|
|
7573
|
-
"parameters": [
|
|
7574
|
-
{
|
|
7575
|
-
"name": "index",
|
|
7576
|
-
"type": {
|
|
7577
|
-
"text": "number"
|
|
7578
|
-
}
|
|
7579
|
-
}
|
|
7580
|
-
],
|
|
7581
|
-
"description": "The tint for the agent at `index` in the full agents array, or `undefined`\nwhen the index is out of range (an unknown or stale agent name)."
|
|
7582
|
-
}
|
|
7583
|
-
],
|
|
7584
|
-
"exports": [
|
|
7585
|
-
{
|
|
7586
|
-
"kind": "js",
|
|
7587
|
-
"name": "AI_COLOUR_AMBER",
|
|
7588
|
-
"declaration": {
|
|
7589
|
-
"name": "AI_COLOUR_AMBER",
|
|
7590
|
-
"module": "src/styles/ai-colours.ts"
|
|
7591
|
-
}
|
|
7592
|
-
},
|
|
7593
|
-
{
|
|
7594
|
-
"kind": "js",
|
|
7595
|
-
"name": "AI_COLOUR_PINK",
|
|
7596
|
-
"declaration": {
|
|
7597
|
-
"name": "AI_COLOUR_PINK",
|
|
7598
|
-
"module": "src/styles/ai-colours.ts"
|
|
7599
|
-
}
|
|
7600
|
-
},
|
|
7601
|
-
{
|
|
7602
|
-
"kind": "js",
|
|
7603
|
-
"name": "AI_COLOUR_CYAN",
|
|
7604
|
-
"declaration": {
|
|
7605
|
-
"name": "AI_COLOUR_CYAN",
|
|
7606
|
-
"module": "src/styles/ai-colours.ts"
|
|
7607
|
-
}
|
|
7608
|
-
},
|
|
7609
|
-
{
|
|
7610
|
-
"kind": "js",
|
|
7611
|
-
"name": "AI_COLOUR_VIOLET",
|
|
7612
|
-
"declaration": {
|
|
7613
|
-
"name": "AI_COLOUR_VIOLET",
|
|
7614
|
-
"module": "src/styles/ai-colours.ts"
|
|
7615
|
-
}
|
|
7616
|
-
},
|
|
7617
|
-
{
|
|
7618
|
-
"kind": "js",
|
|
7619
|
-
"name": "PIN_COLOURS",
|
|
7620
|
-
"declaration": {
|
|
7621
|
-
"name": "PIN_COLOURS",
|
|
7622
|
-
"module": "src/styles/ai-colours.ts"
|
|
7623
|
-
}
|
|
7624
|
-
},
|
|
7625
|
-
{
|
|
7626
|
-
"kind": "js",
|
|
7627
|
-
"name": "pinColourAt",
|
|
7628
|
-
"declaration": {
|
|
7629
|
-
"name": "pinColourAt",
|
|
7630
|
-
"module": "src/styles/ai-colours.ts"
|
|
7631
|
-
}
|
|
7632
|
-
}
|
|
7633
|
-
]
|
|
7634
|
-
},
|
|
7635
|
-
{
|
|
7636
|
-
"kind": "javascript-module",
|
|
7637
|
-
"path": "src/styles/menu.ts",
|
|
7638
|
-
"declarations": [],
|
|
7639
|
-
"exports": []
|
|
7640
|
-
},
|
|
7641
|
-
{
|
|
7642
|
-
"kind": "javascript-module",
|
|
7643
|
-
"path": "src/styles/settings-section.ts",
|
|
7644
|
-
"declarations": [
|
|
7645
|
-
{
|
|
7646
|
-
"kind": "variable",
|
|
7647
|
-
"name": "assistantSettingsSectionTitleStyles",
|
|
7648
|
-
"type": {
|
|
7649
|
-
"text": "ElementStyles"
|
|
7650
|
-
},
|
|
7651
|
-
"default": "css`\n .ai-settings-section-title {\n display: flex;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n font-size: 11px;\n font-weight: 600;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n color: var(--neutral-foreground-hint);\n }\n`",
|
|
7652
|
-
"description": "Heading style for a settings-modal section, published so a host can title its own section.\n\nThe assistant renders no heading for the `settings-app` slot — no text and no icon — because\nonly the host knows what that section is. The consequence is that a host supplying one has to\nreproduce the styling of the built-in headings beside it, and a copied rule drifts the moment\neither side changes. So the declarations live here, are applied by the assistant's own\nheadings, and are exported for the host to apply to its.\n\nCompose it into a component's styles and put `ai-settings-section-title` on the heading:\n\n```ts\nimport { assistantSettingsSectionTitleStyles } from '@genesislcap/ai-assistant';\n\nconst styles = css`\n ${assistantSettingsSectionTitleStyles}\n :host { display: block; }\n`;\n```\n\nCarries no margin on purpose: spacing belongs to the surrounding layout, which differs\nbetween the assistant's own sections and a slotted one, and is the single declaration hosts\nhad to diverge on when they copied this rule."
|
|
7653
|
-
}
|
|
7654
|
-
],
|
|
7655
|
-
"exports": [
|
|
7656
|
-
{
|
|
7657
|
-
"kind": "js",
|
|
7658
|
-
"name": "assistantSettingsSectionTitleStyles",
|
|
7659
|
-
"declaration": {
|
|
7660
|
-
"name": "assistantSettingsSectionTitleStyles",
|
|
7661
|
-
"module": "src/styles/settings-section.ts"
|
|
7662
|
-
}
|
|
7663
|
-
}
|
|
7664
|
-
]
|
|
7665
|
-
},
|
|
7666
7666
|
{
|
|
7667
7667
|
"kind": "javascript-module",
|
|
7668
7668
|
"path": "src/suggestions/chat-suggestions.ts",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/ai-assistant",
|
|
3
3
|
"description": "Genesis AI Assistant micro-frontend",
|
|
4
|
-
"version": "15.
|
|
4
|
+
"version": "15.51.0",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/ai-assistant.d.ts",
|
|
@@ -92,31 +92,31 @@
|
|
|
92
92
|
}
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
|
-
"@genesislcap/foundation-comms": "15.
|
|
96
|
-
"@genesislcap/foundation-testing": "15.
|
|
97
|
-
"@genesislcap/genx": "15.
|
|
98
|
-
"@genesislcap/ts-builder": "15.
|
|
99
|
-
"@genesislcap/uvu-playwright-builder": "15.
|
|
100
|
-
"@genesislcap/vite-builder": "15.
|
|
101
|
-
"@genesislcap/webpack-builder": "15.
|
|
95
|
+
"@genesislcap/foundation-comms": "15.51.0",
|
|
96
|
+
"@genesislcap/foundation-testing": "15.51.0",
|
|
97
|
+
"@genesislcap/genx": "15.51.0",
|
|
98
|
+
"@genesislcap/ts-builder": "15.51.0",
|
|
99
|
+
"@genesislcap/uvu-playwright-builder": "15.51.0",
|
|
100
|
+
"@genesislcap/vite-builder": "15.51.0",
|
|
101
|
+
"@genesislcap/webpack-builder": "15.51.0",
|
|
102
102
|
"@types/dompurify": "^3.0.5",
|
|
103
103
|
"@types/marked": "^5.0.2",
|
|
104
104
|
"esbuild": "0.25.12"
|
|
105
105
|
},
|
|
106
106
|
"dependencies": {
|
|
107
|
-
"@genesislcap/foundation-ai": "15.
|
|
108
|
-
"@genesislcap/foundation-logger": "15.
|
|
109
|
-
"@genesislcap/foundation-notifications": "15.
|
|
110
|
-
"@genesislcap/foundation-redux": "15.
|
|
111
|
-
"@genesislcap/foundation-ui": "15.
|
|
112
|
-
"@genesislcap/foundation-utils": "15.
|
|
113
|
-
"@genesislcap/rapid-design-system": "15.
|
|
114
|
-
"@genesislcap/web-core": "15.
|
|
107
|
+
"@genesislcap/foundation-ai": "15.51.0",
|
|
108
|
+
"@genesislcap/foundation-logger": "15.51.0",
|
|
109
|
+
"@genesislcap/foundation-notifications": "15.51.0",
|
|
110
|
+
"@genesislcap/foundation-redux": "15.51.0",
|
|
111
|
+
"@genesislcap/foundation-ui": "15.51.0",
|
|
112
|
+
"@genesislcap/foundation-utils": "15.51.0",
|
|
113
|
+
"@genesislcap/rapid-design-system": "15.51.0",
|
|
114
|
+
"@genesislcap/web-core": "15.51.0",
|
|
115
115
|
"dompurify": "^3.3.1",
|
|
116
116
|
"marked": "^17.0.3"
|
|
117
117
|
},
|
|
118
118
|
"peerDependencies": {
|
|
119
|
-
"@genesislcap/foundation-comms": "^15.
|
|
119
|
+
"@genesislcap/foundation-comms": "^15.51.0"
|
|
120
120
|
},
|
|
121
121
|
"peerDependenciesMeta": {
|
|
122
122
|
"@genesislcap/foundation-comms": {
|