@blade-hq/agent-kit 0.0.0-placeholder.0 → 0.4.4

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 (39) hide show
  1. package/README.md +66 -3
  2. package/dist/AskUserQuestionBlock-CjvG_pUY.d.ts +116 -0
  3. package/dist/SkillStatusBar-DItrW2vv.d.ts +203 -0
  4. package/dist/blade-client-nOsdVlb1.d.ts +1498 -0
  5. package/dist/client/index.d.ts +8036 -0
  6. package/dist/client/index.js +1057 -0
  7. package/dist/client/index.js.map +1 -0
  8. package/dist/licenses-Cxl1xGVy.d.ts +16 -0
  9. package/dist/projection-DIfyh6RK.d.ts +85 -0
  10. package/dist/react/api/licenses.d.ts +7 -0
  11. package/dist/react/api/licenses.js +1477 -0
  12. package/dist/react/api/licenses.js.map +1 -0
  13. package/dist/react/api/vibe-coding.d.ts +55 -0
  14. package/dist/react/api/vibe-coding.js +1503 -0
  15. package/dist/react/api/vibe-coding.js.map +1 -0
  16. package/dist/react/cards/register.d.ts +2 -0
  17. package/dist/react/cards/register.js +4367 -0
  18. package/dist/react/cards/register.js.map +1 -0
  19. package/dist/react/components/chat/index.d.ts +128 -0
  20. package/dist/react/components/chat/index.js +11389 -0
  21. package/dist/react/components/chat/index.js.map +1 -0
  22. package/dist/react/components/plan/index.d.ts +111 -0
  23. package/dist/react/components/plan/index.js +3490 -0
  24. package/dist/react/components/plan/index.js.map +1 -0
  25. package/dist/react/components/session/index.d.ts +53 -0
  26. package/dist/react/components/session/index.js +2175 -0
  27. package/dist/react/components/session/index.js.map +1 -0
  28. package/dist/react/components/workspace/index.d.ts +35 -0
  29. package/dist/react/components/workspace/index.js +2886 -0
  30. package/dist/react/components/workspace/index.js.map +1 -0
  31. package/dist/react/devtools/bridge-devtools/index.d.ts +36 -0
  32. package/dist/react/devtools/bridge-devtools/index.js +692 -0
  33. package/dist/react/devtools/bridge-devtools/index.js.map +1 -0
  34. package/dist/react/index.d.ts +1283 -0
  35. package/dist/react/index.js +14299 -0
  36. package/dist/react/index.js.map +1 -0
  37. package/dist/session-CDeiO81j.d.ts +128 -0
  38. package/package.json +73 -7
  39. package/index.js +0 -1
@@ -0,0 +1,36 @@
1
+ declare function mountBridgeDevtools(): void;
2
+
3
+ type BridgeEventSide = "agent" | "host";
4
+ type BridgeEventDirection = "host-to-agent" | "agent-to-host" | "host-to-iframe" | "iframe-to-host";
5
+ interface BridgeEventInput {
6
+ side: BridgeEventSide;
7
+ direction: BridgeEventDirection;
8
+ action: string;
9
+ payload?: unknown;
10
+ meta?: Record<string, unknown>;
11
+ iframeKey?: string;
12
+ iframeLabel?: string;
13
+ note?: string;
14
+ rejected?: boolean;
15
+ }
16
+ interface BridgeEventRecord extends BridgeEventInput {
17
+ id: string;
18
+ ts: number;
19
+ }
20
+ interface RegisteredIframeEntry {
21
+ key: string;
22
+ label: string;
23
+ getContentWindow: () => Window | null;
24
+ }
25
+ interface BridgeDevtoolsHook {
26
+ record: (event: BridgeEventInput) => void;
27
+ registerIframe: (entry: RegisteredIframeEntry) => () => void;
28
+ }
29
+ declare global {
30
+ var __bladeBridgeDevtools: BridgeDevtoolsHook | undefined;
31
+ }
32
+
33
+ declare function tapBridgeEvent(event: BridgeEventInput): void;
34
+ declare function registerBridgeIframe(entry: RegisteredIframeEntry): () => void;
35
+
36
+ export { type BridgeEventDirection, type BridgeEventInput, type BridgeEventRecord, type BridgeEventSide, mountBridgeDevtools, registerBridgeIframe, tapBridgeEvent };