@itechchoice/prime-chatkit 0.1.0-alpha.0 → 0.1.0-alpha.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.
@@ -1,4 +1,6 @@
1
+ import type { ThreadLabels, ThreadLabelsFull } from "../components/agent-thread";
1
2
  import type { ChatComposerLabels } from "../components/ui/chat-composer-clean";
3
+ import type { MessageActionsLabels } from "../components/ui/message-actions-clean";
2
4
  import type { ToolCallLabels } from "../components/ui/tool-call-card-clean";
3
5
  /** Copy used only by the view-model → thread mapping. */
4
6
  export type ThreadCopy = {
@@ -12,85 +14,10 @@ export type ThreadCopy = {
12
14
  export declare const zhThreadCopy: ThreadCopy;
13
15
  export declare const enThreadCopy: ThreadCopy;
14
16
  export declare const zhComposerLabels: ChatComposerLabels;
17
+ export declare const zhMessageActionsLabels: MessageActionsLabels;
15
18
  export declare const zhToolCallLabels: ToolCallLabels;
16
- type ThreadLabels = {
17
- composer?: Partial<ChatComposerLabels>;
18
- toolCall?: Partial<ToolCallLabels>;
19
- };
20
- export declare const zhThreadLabels: {
21
- composer: {
22
- placeholder: string;
23
- requestApproval: string;
24
- requestApprovalDescription: string;
25
- approveForMe: string;
26
- approveForMeDescription: string;
27
- fullAccess: string;
28
- fullAccessDescription: string;
29
- add: string;
30
- files: string;
31
- attachClaude: string;
32
- workInFolder: string;
33
- chooseFolder: string;
34
- goal: string;
35
- goalDescription: string;
36
- planMode: string;
37
- planOnDescription: string;
38
- recordSkill: string;
39
- draw: string;
40
- drawDescription: string;
41
- plugins: string;
42
- documents: string;
43
- documentsDescription: string;
44
- pdf: string;
45
- pdfDescription: string;
46
- noFolder: string;
47
- planOff: string;
48
- planOn: string;
49
- recording: string;
50
- recordingAdded: string;
51
- recordingDiscarded: string;
52
- messageSent: string;
53
- composer: string;
54
- message: string;
55
- voiceInput: string;
56
- sendMessage: string;
57
- discardRecording: string;
58
- useRecording: string;
59
- connectApps: string;
60
- addToChat: string;
61
- planOffDescription: string;
62
- approvalQuestion: string;
63
- learnMore: string;
64
- selectModel: string;
65
- apps: string;
66
- workingIn: (folder: string) => string;
67
- appConnection: (name: string | undefined, connected: boolean) => string;
68
- selected: (name: string | undefined) => string;
69
- connectedCount: (n: number) => string;
70
- };
71
- toolCall: {
72
- failed: string;
73
- error: string;
74
- retry: string;
75
- arguments: string;
76
- result: string;
77
- waiting: string;
78
- empty: string;
79
- showAll: string;
80
- showLess: string;
81
- copied: string;
82
- copyArguments: string;
83
- copyResult: string;
84
- running: (name: string) => string;
85
- finished: (name: string) => string;
86
- failedAnnouncement: (name: string, error?: string) => string;
87
- duration: (ms: number, live: boolean) => string;
88
- usingTools: string;
89
- usedTools: (n: number) => string;
90
- failedTools: (n: number) => string;
91
- groupAnnouncement: (count: string, failed: number) => string;
92
- };
93
- };
19
+ export declare const zhThreadLabels: ThreadLabelsFull;
20
+ export declare const enThreadLabels: Pick<ThreadLabelsFull, "toolsRunning" | "toolsStopped" | "toolsRan" | "toolsFailed">;
94
21
  export declare function threadLabelsFor(locale?: string): {
95
22
  labels: ThreadLabels;
96
23
  copy: ThreadCopy;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itechchoice/prime-chatkit",
3
- "version": "0.1.0-alpha.0",
3
+ "version": "0.1.0-alpha.1",
4
4
  "description": "PrimeChatKit: React chat UI for products built on the prime-chatkit SDK BFF contract. Shows the agent's work: thinking, tool calls, approvals, sources and cost.",
5
5
  "license": "UNLICENSED",
6
6
  "publishConfig": {
@@ -1,7 +0,0 @@
1
- import type { ThreadTool } from "../thread";
2
- import type { Run } from "../../core/types";
3
- export declare function Process({ tools, run, locale }: {
4
- tools: ThreadTool[];
5
- run: Run;
6
- locale: string;
7
- }): import("react").JSX.Element | null;