@blade-hq/agent-kit 0.5.6 → 0.5.10

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.
Files changed (34) hide show
  1. package/dist/{SkillStatusBar-CvNCQRtt.d.ts → SkillStatusBar-Dlf-_G5d.d.ts} +2 -2
  2. package/dist/{blade-client-B6xMtRwr.d.ts → blade-client-7VANnJfr.d.ts} +5 -1
  3. package/dist/{chunk-CBO2A567.js → chunk-ETHPRRT2.js} +9 -1
  4. package/dist/chunk-ETHPRRT2.js.map +1 -0
  5. package/dist/{chunk-VPWN6VS4.js → chunk-G2LJZTPX.js} +178 -93
  6. package/dist/chunk-G2LJZTPX.js.map +1 -0
  7. package/dist/{chunk-PX53WJ2C.js → chunk-GIE2Q2MB.js} +28 -16
  8. package/dist/chunk-GIE2Q2MB.js.map +1 -0
  9. package/dist/{chunk-T3G4VHAM.js → chunk-STCTXRMJ.js} +2 -2
  10. package/dist/{chunk-D7IT5PRL.js → chunk-UM7G65GH.js} +116 -20
  11. package/dist/chunk-UM7G65GH.js.map +1 -0
  12. package/dist/{chunk-NOUG4L43.js → chunk-X3S36RR2.js} +2 -2
  13. package/dist/client/index.d.ts +1051 -17
  14. package/dist/client/index.js +1 -1
  15. package/dist/react/api/vibe-coding.d.ts +3 -3
  16. package/dist/react/api/vibe-coding.js +2 -2
  17. package/dist/react/components/chat/index.d.ts +6 -5
  18. package/dist/react/components/chat/index.js +5 -5
  19. package/dist/react/components/plan/index.js +3 -3
  20. package/dist/react/components/session/index.d.ts +1 -1
  21. package/dist/react/components/session/index.js +3 -3
  22. package/dist/react/components/workspace/index.js +3 -3
  23. package/dist/react/index.d.ts +177 -8
  24. package/dist/react/index.js +469 -6
  25. package/dist/react/index.js.map +1 -1
  26. package/dist/{session-ADRevzHD.d.ts → session-BuaeCsMC.d.ts} +62 -2
  27. package/dist/style.css +1 -1
  28. package/package.json +1 -1
  29. package/dist/chunk-CBO2A567.js.map +0 -1
  30. package/dist/chunk-D7IT5PRL.js.map +0 -1
  31. package/dist/chunk-PX53WJ2C.js.map +0 -1
  32. package/dist/chunk-VPWN6VS4.js.map +0 -1
  33. /package/dist/{chunk-T3G4VHAM.js.map → chunk-STCTXRMJ.js.map} +0 -0
  34. /package/dist/{chunk-NOUG4L43.js.map → chunk-X3S36RR2.js.map} +0 -0
@@ -6,7 +6,8 @@ declare enum LayoutType {
6
6
  SkillEditor = "skill-editor",
7
7
  BladeCoa = "blade-coa",
8
8
  ChatPreview = "chat-preview",
9
- ChatOnly = "chat-only"
9
+ ChatOnly = "chat-only",
10
+ SolutionApp = "solution-app"
10
11
  }
11
12
  interface Solution {
12
13
  id: string;
@@ -22,6 +23,65 @@ interface Solution {
22
23
  } | null;
23
24
  roles?: BizRole[] | null;
24
25
  data?: Record<string, unknown> | null;
26
+ ui_config?: SolutionAppUiConfig | null;
27
+ }
28
+ interface SolutionAppUiConfig {
29
+ branding: {
30
+ name: string;
31
+ subtitle?: string;
32
+ icon_text: string;
33
+ icon_gradient?: string;
34
+ };
35
+ list: {
36
+ title: string;
37
+ create_button: string;
38
+ card?: {
39
+ subtitle?: string;
40
+ stats?: Array<{
41
+ label: string;
42
+ value: string;
43
+ color?: string;
44
+ }>;
45
+ };
46
+ };
47
+ create: {
48
+ title: string;
49
+ description?: string;
50
+ submit_button: string;
51
+ sections: Array<{
52
+ id: string;
53
+ title: string;
54
+ description?: string;
55
+ fields: Array<SolutionAppField>;
56
+ }>;
57
+ };
58
+ }
59
+ type SolutionAppField = {
60
+ id: string;
61
+ kind: "textarea";
62
+ label: string;
63
+ placeholder?: string;
64
+ } | {
65
+ id: string;
66
+ kind: "file-upload";
67
+ accept?: string[];
68
+ categories?: Array<{
69
+ label: string;
70
+ description: string;
71
+ color: string;
72
+ }>;
73
+ };
74
+ interface SolutionAppState {
75
+ pipeline: Array<{
76
+ id: string;
77
+ label: string;
78
+ status: "done" | "active" | "pending" | "error";
79
+ }>;
80
+ meta: Record<string, {
81
+ label: string;
82
+ value: string;
83
+ color?: string;
84
+ }>;
25
85
  }
26
86
  interface BizRole {
27
87
  id: string;
@@ -150,4 +210,4 @@ interface SessionDetail extends SessionInfo {
150
210
  env?: Record<string, string>;
151
211
  }
152
212
 
153
- export { type BizRole as B, LayoutType as L, type ModeId as M, type PrimarySkillParallelMode as P, SessionInfo as S, type TemplateId as T, SessionStatus as a, type SessionDetail as b, type Solution as c, type PrimarySkillSnapshot as d, type PrimarySkillStageSpec as e, type PrimarySkillStepSpec as f, type SkillEditorTemplateId as g };
213
+ export { type BizRole as B, LayoutType as L, type ModeId as M, type PrimarySkillParallelMode as P, SessionInfo as S, type TemplateId as T, SessionStatus as a, type SessionDetail as b, type Solution as c, type PrimarySkillSnapshot as d, type PrimarySkillStageSpec as e, type PrimarySkillStepSpec as f, type SessionPortMapping as g, type SkillEditorTemplateId as h, type SolutionAppField as i, type SolutionAppState as j, type SolutionAppUiConfig as k };