awaitly-visualizer 20.0.0 → 20.0.2

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 (49) hide show
  1. package/binding.gyp +9 -0
  2. package/dist/devtools.cjs +5 -5
  3. package/dist/devtools.cjs.map +1 -1
  4. package/dist/devtools.d.cts +3 -3
  5. package/dist/devtools.d.ts +3 -3
  6. package/dist/devtools.js +5 -5
  7. package/dist/devtools.js.map +1 -1
  8. package/dist/index.browser.cjs +17 -17
  9. package/dist/index.browser.cjs.map +1 -1
  10. package/dist/index.browser.d.cts +4 -4
  11. package/dist/index.browser.d.ts +4 -4
  12. package/dist/index.browser.js +19 -19
  13. package/dist/index.browser.js.map +1 -1
  14. package/dist/index.cjs +20 -20
  15. package/dist/index.cjs.map +1 -1
  16. package/dist/index.d.cts +4 -4
  17. package/dist/index.d.ts +4 -4
  18. package/dist/index.js +22 -22
  19. package/dist/index.js.map +1 -1
  20. package/dist/kroki/fetch.cjs.map +1 -1
  21. package/dist/kroki/fetch.d.cts +2 -2
  22. package/dist/kroki/fetch.d.ts +2 -2
  23. package/dist/kroki/fetch.js.map +1 -1
  24. package/dist/notifiers/discord.cjs +2 -2
  25. package/dist/notifiers/discord.cjs.map +1 -1
  26. package/dist/notifiers/discord.d.cts +2 -2
  27. package/dist/notifiers/discord.d.ts +2 -2
  28. package/dist/notifiers/discord.js +2 -2
  29. package/dist/notifiers/discord.js.map +1 -1
  30. package/dist/notifiers/slack.cjs +12 -12
  31. package/dist/notifiers/slack.cjs.map +1 -1
  32. package/dist/notifiers/slack.d.cts +2 -2
  33. package/dist/notifiers/slack.d.ts +2 -2
  34. package/dist/notifiers/slack.js +12 -12
  35. package/dist/notifiers/slack.js.map +1 -1
  36. package/dist/notifiers/webhook.cjs +1 -1
  37. package/dist/notifiers/webhook.cjs.map +1 -1
  38. package/dist/notifiers/webhook.d.cts +2 -2
  39. package/dist/notifiers/webhook.d.ts +2 -2
  40. package/dist/notifiers/webhook.js +2 -2
  41. package/dist/notifiers/webhook.js.map +1 -1
  42. package/dist/{performance-analyzer-MwxDr6ej.d.ts → performance-analyzer-C9WFkUSa.d.cts} +16 -1
  43. package/dist/{performance-analyzer-DyIZZ2rA.d.cts → performance-analyzer-ffmMicjZ.d.ts} +16 -1
  44. package/dist/{types-fuxEig2j.d.ts → types-Bmb5LpD-.d.ts} +1 -1
  45. package/dist/{types-CgO2me2s.d.cts → types-BmktN16n.d.cts} +1 -1
  46. package/dist/{url-BskfOf3W.d.cts → url-CxqaR2K3.d.cts} +6 -1
  47. package/dist/{url-BskfOf3W.d.ts → url-CxqaR2K3.d.ts} +6 -1
  48. package/index.js +1 -0
  49. package/package.json +4 -4
@@ -1,4 +1,4 @@
1
- import { F as FlowNode, S as ScopeStartEvent, c as ScopeEndEvent, D as DecisionStartEvent, a as DecisionBranchEvent, b as DecisionEndEvent, W as WorkflowIR, I as IRSnapshot, z as StepState, C as ColorScheme, t as Renderer, s as RenderOptions, H as HTMLRenderOptions, q as LiveVisualizerOptions, T as TimeTravelState, N as NodePerformance, m as HeatmapData, l as HeatLevel } from './url-BskfOf3W.js';
1
+ import { F as FlowNode, S as ScopeStartEvent, c as ScopeEndEvent, D as DecisionStartEvent, a as DecisionBranchEvent, b as DecisionEndEvent, W as WorkflowIR, I as IRSnapshot, z as StepState, C as ColorScheme, t as Renderer, s as RenderOptions, H as HTMLRenderOptions, q as LiveVisualizerOptions, T as TimeTravelState, N as NodePerformance, m as HeatmapData, l as HeatLevel } from './url-CxqaR2K3.cjs';
2
2
  import { WorkflowEvent } from 'awaitly/workflow';
3
3
 
4
4
  /**
@@ -171,6 +171,16 @@ interface StepLog {
171
171
  timedOut?: boolean;
172
172
  timeoutMs?: number;
173
173
  error?: string;
174
+ domain?: string;
175
+ owner?: string;
176
+ intent?: string;
177
+ calls?: readonly string[];
178
+ errorDiagnostics?: {
179
+ tag: string;
180
+ severity?: string;
181
+ retryable?: boolean;
182
+ origin?: string;
183
+ };
174
184
  }
175
185
  /**
176
186
  * Hook execution log entry.
@@ -205,6 +215,11 @@ interface WorkflowSummary {
205
215
  name: string;
206
216
  durationMs: number;
207
217
  };
218
+ byDomain?: Record<string, {
219
+ total: number;
220
+ errors: number;
221
+ avgDurationMs: number;
222
+ }>;
208
223
  }
209
224
  /**
210
225
  * Complete logger output structure.
@@ -1,4 +1,4 @@
1
- import { F as FlowNode, S as ScopeStartEvent, c as ScopeEndEvent, D as DecisionStartEvent, a as DecisionBranchEvent, b as DecisionEndEvent, W as WorkflowIR, I as IRSnapshot, z as StepState, C as ColorScheme, t as Renderer, s as RenderOptions, H as HTMLRenderOptions, q as LiveVisualizerOptions, T as TimeTravelState, N as NodePerformance, m as HeatmapData, l as HeatLevel } from './url-BskfOf3W.cjs';
1
+ import { F as FlowNode, S as ScopeStartEvent, c as ScopeEndEvent, D as DecisionStartEvent, a as DecisionBranchEvent, b as DecisionEndEvent, W as WorkflowIR, I as IRSnapshot, z as StepState, C as ColorScheme, t as Renderer, s as RenderOptions, H as HTMLRenderOptions, q as LiveVisualizerOptions, T as TimeTravelState, N as NodePerformance, m as HeatmapData, l as HeatLevel } from './url-CxqaR2K3.js';
2
2
  import { WorkflowEvent } from 'awaitly/workflow';
3
3
 
4
4
  /**
@@ -171,6 +171,16 @@ interface StepLog {
171
171
  timedOut?: boolean;
172
172
  timeoutMs?: number;
173
173
  error?: string;
174
+ domain?: string;
175
+ owner?: string;
176
+ intent?: string;
177
+ calls?: readonly string[];
178
+ errorDiagnostics?: {
179
+ tag: string;
180
+ severity?: string;
181
+ retryable?: boolean;
182
+ origin?: string;
183
+ };
174
184
  }
175
185
  /**
176
186
  * Hook execution log entry.
@@ -205,6 +215,11 @@ interface WorkflowSummary {
205
215
  name: string;
206
216
  durationMs: number;
207
217
  };
218
+ byDomain?: Record<string, {
219
+ total: number;
220
+ errors: number;
221
+ avgDurationMs: number;
222
+ }>;
208
223
  }
209
224
  /**
210
225
  * Complete logger output structure.
@@ -1,6 +1,6 @@
1
1
  import { AsyncResult } from 'awaitly';
2
2
  import { WorkflowEvent } from 'awaitly/workflow';
3
- import { W as WorkflowIR, M as MermaidInkExportOptions, U as UrlGeneratorOptions, S as ScopeStartEvent, c as ScopeEndEvent, D as DecisionStartEvent, a as DecisionBranchEvent, b as DecisionEndEvent } from './url-BskfOf3W.js';
3
+ import { W as WorkflowIR, M as MermaidInkExportOptions, U as UrlGeneratorOptions, S as ScopeStartEvent, c as ScopeEndEvent, D as DecisionStartEvent, a as DecisionBranchEvent, b as DecisionEndEvent } from './url-CxqaR2K3.js';
4
4
 
5
5
  /**
6
6
  * Mermaid.ink URL Generation
@@ -1,6 +1,6 @@
1
1
  import { AsyncResult } from 'awaitly';
2
2
  import { WorkflowEvent } from 'awaitly/workflow';
3
- import { W as WorkflowIR, M as MermaidInkExportOptions, U as UrlGeneratorOptions, S as ScopeStartEvent, c as ScopeEndEvent, D as DecisionStartEvent, a as DecisionBranchEvent, b as DecisionEndEvent } from './url-BskfOf3W.cjs';
3
+ import { W as WorkflowIR, M as MermaidInkExportOptions, U as UrlGeneratorOptions, S as ScopeStartEvent, c as ScopeEndEvent, D as DecisionStartEvent, a as DecisionBranchEvent, b as DecisionEndEvent } from './url-CxqaR2K3.cjs';
4
4
 
5
5
  /**
6
6
  * Mermaid.ink URL Generation
@@ -1,5 +1,6 @@
1
- import { ScopeType, WorkflowOptions, WorkflowEvent } from 'awaitly/workflow';
1
+ import * as awaitly_core from 'awaitly/core';
2
2
  import { UnexpectedError } from 'awaitly/core';
3
+ import { ScopeType, WorkflowOptions, WorkflowEvent } from 'awaitly/workflow';
3
4
 
4
5
  /**
5
6
  * Workflow Visualization - Intermediate Representation Types
@@ -51,6 +52,10 @@ interface BaseNode {
51
52
  timedOut?: boolean;
52
53
  /** Timeout duration in ms (if timed out) */
53
54
  timeoutMs?: number;
55
+ /** Agent metadata from step options (domain, intent, owner, etc.) */
56
+ metadata?: awaitly_core.StepMetadata;
57
+ /** Error diagnostics (tag, classification, origin) */
58
+ errorDiagnostics?: awaitly_core.StepErrorDiagnostics;
54
59
  }
55
60
  /**
56
61
  * A single step execution node.
@@ -1,5 +1,6 @@
1
- import { ScopeType, WorkflowOptions, WorkflowEvent } from 'awaitly/workflow';
1
+ import * as awaitly_core from 'awaitly/core';
2
2
  import { UnexpectedError } from 'awaitly/core';
3
+ import { ScopeType, WorkflowOptions, WorkflowEvent } from 'awaitly/workflow';
3
4
 
4
5
  /**
5
6
  * Workflow Visualization - Intermediate Representation Types
@@ -51,6 +52,10 @@ interface BaseNode {
51
52
  timedOut?: boolean;
52
53
  /** Timeout duration in ms (if timed out) */
53
54
  timeoutMs?: number;
55
+ /** Agent metadata from step options (domain, intent, owner, etc.) */
56
+ metadata?: awaitly_core.StepMetadata;
57
+ /** Error diagnostics (tag, classification, origin) */
58
+ errorDiagnostics?: awaitly_core.StepErrorDiagnostics;
54
59
  }
55
60
  /**
56
61
  * A single step execution node.