@inploi/plugin-kin 2.3.2 → 2.4.1
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/cdn/index.js +51 -51
- package/dist/{code-block-37QAKDTI-c132649c.js → code-block-37QAKDTI-0022772d.js} +1 -1
- package/dist/{code-block-37QAKDTI-8dd1b23f.cjs → code-block-37QAKDTI-028371a3.cjs} +1 -1
- package/dist/{index-a9a00f3a.cjs → index-3cbf8b36.cjs} +59 -59
- package/dist/{index-96f892ae.js → index-b9e2c37d.js} +3875 -3875
- package/dist/kin.client.d.ts +3 -1
- package/dist/kin.state.d.ts +4 -0
- package/dist/{mermaid-4DMBBIKO-f9863348.js → mermaid-4DMBBIKO-2bdad7af.js} +1 -1
- package/dist/{mermaid-4DMBBIKO-b071d9e0.cjs → mermaid-4DMBBIKO-4b88003e.cjs} +1 -1
- package/dist/plugin-kin.cjs +1 -1
- package/dist/plugin-kin.js +1 -1
- package/package.json +3 -3
package/dist/kin.client.d.ts
CHANGED
|
@@ -6,12 +6,14 @@ export type HistoryMessage = {
|
|
|
6
6
|
content: string;
|
|
7
7
|
};
|
|
8
8
|
export type KinMessage = {
|
|
9
|
-
type: 'user_message' | 'response_start' | 'response_chunk' | 'response_end' | 'error' | 'system' | 'authenticated' | 'data_cleared' | 'guardrail_block' | 'history' | 'upload_received' | 'file_processing' | 'file_processed';
|
|
9
|
+
type: 'user_message' | 'response_start' | 'response_chunk' | 'response_end' | 'error' | 'system' | 'authenticated' | 'data_cleared' | 'guardrail_block' | 'history' | 'quick_replies' | 'upload_received' | 'file_processing' | 'file_processed';
|
|
10
10
|
content?: string;
|
|
11
11
|
company?: string;
|
|
12
12
|
environment?: string;
|
|
13
13
|
/** Message history sent on connect */
|
|
14
14
|
messages?: HistoryMessage[];
|
|
15
|
+
/** Quick reply options sent after agent response */
|
|
16
|
+
options?: string[];
|
|
15
17
|
/** File upload fields */
|
|
16
18
|
fileName?: string;
|
|
17
19
|
status?: 'success' | 'error';
|
package/dist/kin.state.d.ts
CHANGED
|
@@ -14,7 +14,9 @@ export declare const uploadState: import('@preact/signals').Signal<UploadState>;
|
|
|
14
14
|
export declare const uploadError: import('@preact/signals').Signal<string | null>;
|
|
15
15
|
export declare const uploadFileName: import('@preact/signals').Signal<string | null>;
|
|
16
16
|
export declare const messages: import('@preact/signals').Signal<Message[]>;
|
|
17
|
+
export declare const quickReplies: import('@preact/signals').Signal<string[]>;
|
|
17
18
|
export declare const addMessage: (message: Omit<Message, "id" | "timestamp">) => void;
|
|
19
|
+
export declare const setQuickReplies: (options: string[]) => void;
|
|
18
20
|
export declare const appendToLastMessage: (content: string) => void;
|
|
19
21
|
export declare const clearMessages: () => void;
|
|
20
22
|
/**
|
|
@@ -39,6 +41,7 @@ export declare const store: {
|
|
|
39
41
|
isStreaming: import('@preact/signals').Signal<boolean>;
|
|
40
42
|
connectionState: import('@preact/signals').Signal<ConnectionState>;
|
|
41
43
|
messages: import('@preact/signals').Signal<Message[]>;
|
|
44
|
+
quickReplies: import('@preact/signals').Signal<string[]>;
|
|
42
45
|
uploadState: import('@preact/signals').Signal<UploadState>;
|
|
43
46
|
uploadError: import('@preact/signals').Signal<string | null>;
|
|
44
47
|
uploadFileName: import('@preact/signals').Signal<string | null>;
|
|
@@ -55,4 +58,5 @@ export declare const store: {
|
|
|
55
58
|
resetUploadState: () => void;
|
|
56
59
|
setHasUnreadMessages: (hasUnread: boolean) => void;
|
|
57
60
|
clearUnreadMessages: () => void;
|
|
61
|
+
setQuickReplies: (options: string[]) => void;
|
|
58
62
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-3cbf8b36.cjs");require("@inploi/sdk");exports.Mermaid=e.tt;
|
package/dist/plugin-kin.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-3cbf8b36.cjs");require("@inploi/sdk");exports.BRAND_THEMES=e.BRAND_THEMES;exports.kinPlugin=e.kinPlugin;
|
package/dist/plugin-kin.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inploi/plugin-kin",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Kin - A unified Talent Agent interface for hiring. One system, many roles.",
|
|
6
6
|
"main": "dist/plugin-kin.js",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"vite": "^4.4.5",
|
|
32
32
|
"vite-plugin-dts": "^3.7.0",
|
|
33
33
|
"vite-tsconfig-paths": "^4.2.1",
|
|
34
|
-
"
|
|
35
|
-
"
|
|
34
|
+
"@inploi/sdk": "1.17.0",
|
|
35
|
+
"tsconfig": "0.1.0"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"streamdown": "^2.1.0",
|