@memberjunction/ng-core-entity-forms 6.1.0-edge.1 → 6.1.0-edge.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 (80) hide show
  1. package/dist/lib/custom/AIAgents/FlowAgentType/flow-agent-form-section.component.d.ts +19 -2
  2. package/dist/lib/custom/AIAgents/FlowAgentType/flow-agent-form-section.component.d.ts.map +1 -1
  3. package/dist/lib/custom/AIAgents/FlowAgentType/flow-agent-form-section.component.js +50 -9
  4. package/dist/lib/custom/AIAgents/FlowAgentType/flow-agent-form-section.component.js.map +1 -1
  5. package/dist/lib/custom/AIAgents/agent-form-tabs.d.ts +59 -0
  6. package/dist/lib/custom/AIAgents/agent-form-tabs.d.ts.map +1 -0
  7. package/dist/lib/custom/AIAgents/agent-form-tabs.js +53 -0
  8. package/dist/lib/custom/AIAgents/agent-form-tabs.js.map +1 -0
  9. package/dist/lib/custom/AIAgents/ai-agent-form.component.d.ts +54 -0
  10. package/dist/lib/custom/AIAgents/ai-agent-form.component.d.ts.map +1 -1
  11. package/dist/lib/custom/AIAgents/ai-agent-form.component.js +1300 -1143
  12. package/dist/lib/custom/AIAgents/ai-agent-form.component.js.map +1 -1
  13. package/dist/lib/custom/ai-agent-run/ai-agent-run-analytics.component.d.ts +25 -1
  14. package/dist/lib/custom/ai-agent-run/ai-agent-run-analytics.component.d.ts.map +1 -1
  15. package/dist/lib/custom/ai-agent-run/ai-agent-run-analytics.component.js +228 -170
  16. package/dist/lib/custom/ai-agent-run/ai-agent-run-analytics.component.js.map +1 -1
  17. package/dist/lib/custom/ai-agent-run/ai-agent-run-step-detail.component.d.ts +31 -1
  18. package/dist/lib/custom/ai-agent-run/ai-agent-run-step-detail.component.d.ts.map +1 -1
  19. package/dist/lib/custom/ai-agent-run/ai-agent-run-step-detail.component.js +229 -157
  20. package/dist/lib/custom/ai-agent-run/ai-agent-run-step-detail.component.js.map +1 -1
  21. package/dist/lib/custom/ai-agent-run/ai-agent-run-step-node.component.d.ts +9 -0
  22. package/dist/lib/custom/ai-agent-run/ai-agent-run-step-node.component.d.ts.map +1 -1
  23. package/dist/lib/custom/ai-agent-run/ai-agent-run-step-node.component.js +86 -51
  24. package/dist/lib/custom/ai-agent-run/ai-agent-run-step-node.component.js.map +1 -1
  25. package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.d.ts +73 -4
  26. package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.d.ts.map +1 -1
  27. package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.js +133 -7
  28. package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.js.map +1 -1
  29. package/dist/lib/custom/ai-agent-run/ai-agent-run.component.d.ts +49 -1
  30. package/dist/lib/custom/ai-agent-run/ai-agent-run.component.d.ts.map +1 -1
  31. package/dist/lib/custom/ai-agent-run/ai-agent-run.component.js +383 -264
  32. package/dist/lib/custom/ai-agent-run/ai-agent-run.component.js.map +1 -1
  33. package/dist/lib/custom/ai-agent-run/flow/agent-run-flow.component.d.ts +10 -1
  34. package/dist/lib/custom/ai-agent-run/flow/agent-run-flow.component.d.ts.map +1 -1
  35. package/dist/lib/custom/ai-agent-run/flow/agent-run-flow.component.js +25 -3
  36. package/dist/lib/custom/ai-agent-run/flow/agent-run-flow.component.js.map +1 -1
  37. package/dist/lib/custom/ai-agent-run/flow/agent-run-flow.model.d.ts +21 -1
  38. package/dist/lib/custom/ai-agent-run/flow/agent-run-flow.model.d.ts.map +1 -1
  39. package/dist/lib/custom/ai-agent-run/flow/agent-run-flow.model.js +11 -0
  40. package/dist/lib/custom/ai-agent-run/flow/agent-run-flow.model.js.map +1 -1
  41. package/dist/lib/custom/ai-agent-run/flow/run-tree-flow-projection.d.ts +28 -0
  42. package/dist/lib/custom/ai-agent-run/flow/run-tree-flow-projection.d.ts.map +1 -0
  43. package/dist/lib/custom/ai-agent-run/flow/run-tree-flow-projection.js +120 -0
  44. package/dist/lib/custom/ai-agent-run/flow/run-tree-flow-projection.js.map +1 -0
  45. package/dist/lib/custom/ai-agent-run/run-tree-timeline-projection.d.ts +90 -0
  46. package/dist/lib/custom/ai-agent-run/run-tree-timeline-projection.d.ts.map +1 -0
  47. package/dist/lib/custom/ai-agent-run/run-tree-timeline-projection.js +326 -0
  48. package/dist/lib/custom/ai-agent-run/run-tree-timeline-projection.js.map +1 -0
  49. package/dist/lib/custom/custom-forms.module.d.ts +1 -1
  50. package/dist/lib/custom/custom-forms.module.d.ts.map +1 -1
  51. package/dist/lib/custom/custom-forms.module.js +4 -1
  52. package/dist/lib/custom/custom-forms.module.js.map +1 -1
  53. package/dist/lib/generated/Entities/MJAIAgentRequest/mjaiagentrequest.form.component.js +8 -6
  54. package/dist/lib/generated/Entities/MJAIAgentRequest/mjaiagentrequest.form.component.js.map +1 -1
  55. package/dist/lib/generated/Entities/MJAIModel/mjaimodel.form.component.js +171 -169
  56. package/dist/lib/generated/Entities/MJAIModel/mjaimodel.form.component.js.map +1 -1
  57. package/dist/lib/generated/Entities/MJAIModelType/mjaimodeltype.form.component.js +25 -23
  58. package/dist/lib/generated/Entities/MJAIModelType/mjaimodeltype.form.component.js.map +1 -1
  59. package/dist/lib/generated/Entities/MJAIModelVendor/mjaimodelvendor.form.component.js +15 -13
  60. package/dist/lib/generated/Entities/MJAIModelVendor/mjaimodelvendor.form.component.js.map +1 -1
  61. package/dist/lib/generated/Entities/MJAIPrompt/mjaiprompt.form.component.d.ts.map +1 -1
  62. package/dist/lib/generated/Entities/MJAIPrompt/mjaiprompt.form.component.js +43 -25
  63. package/dist/lib/generated/Entities/MJAIPrompt/mjaiprompt.form.component.js.map +1 -1
  64. package/dist/lib/generated/Entities/MJAction/mjaction.form.component.d.ts.map +1 -1
  65. package/dist/lib/generated/Entities/MJAction/mjaction.form.component.js +35 -17
  66. package/dist/lib/generated/Entities/MJAction/mjaction.form.component.js.map +1 -1
  67. package/dist/lib/generated/Entities/MJActionExecutionLog/mjactionexecutionlog.form.component.js +11 -11
  68. package/dist/lib/generated/Entities/MJActionExecutionLog/mjactionexecutionlog.form.component.js.map +1 -1
  69. package/dist/lib/generated/Entities/MJEntityAction/mjentityaction.form.component.js +38 -36
  70. package/dist/lib/generated/Entities/MJEntityAction/mjentityaction.form.component.js.map +1 -1
  71. package/dist/lib/generated/Entities/MJEntityActionParam/mjentityactionparam.form.component.d.ts.map +1 -1
  72. package/dist/lib/generated/Entities/MJEntityActionParam/mjentityactionparam.form.component.js +7 -13
  73. package/dist/lib/generated/Entities/MJEntityActionParam/mjentityactionparam.form.component.js.map +1 -1
  74. package/dist/lib/generated/Entities/MJTask/mjtask.form.component.d.ts.map +1 -1
  75. package/dist/lib/generated/Entities/MJTask/mjtask.form.component.js +52 -26
  76. package/dist/lib/generated/Entities/MJTask/mjtask.form.component.js.map +1 -1
  77. package/dist/lib/generated/Entities/MJTaskDependency/mjtaskdependency.form.component.d.ts.map +1 -1
  78. package/dist/lib/generated/Entities/MJTaskDependency/mjtaskdependency.form.component.js +16 -4
  79. package/dist/lib/generated/Entities/MJTaskDependency/mjtaskdependency.form.component.js.map +1 -1
  80. package/package.json +40 -40
@@ -1,7 +1,8 @@
1
1
  import { EventEmitter, ChangeDetectorRef } from '@angular/core';
2
2
  import { TimelineItem } from './ai-agent-run-timeline.component';
3
3
  import { MJAIAgentRunStepEntity_AgentSkillInvocation } from '@memberjunction/core-entities';
4
- import type { TaskGraphSpec } from '@memberjunction/ai-core-plus';
4
+ import { type TaskGraphSpec } from '@memberjunction/ai-core-plus';
5
+ import type { FlowPosition } from '@memberjunction/ng-flow-editor';
5
6
  import * as i0 from "@angular/core";
6
7
  interface ScratchpadSnapshotView {
7
8
  notes: string;
@@ -31,6 +32,25 @@ export declare class AIAgentRunStepDetailComponent {
31
32
  scratchpadSubTab: 'input' | 'output' | 'diff';
32
33
  constructor(cdr: ChangeDetectorRef);
33
34
  ngOnChanges(): void;
35
+ /**
36
+ * What to say about a step that never executed, or null when it ran.
37
+ *
38
+ * **Why this needs saying at all.** A workflow persists every step at submission, before anything
39
+ * runs — the rows are the dispatcher's work queue, and the skip cascade is computed from the graph
40
+ * they form. So a branch the workflow did not take still has a row, and opening it shows a
41
+ * perfectly normal record with empty payloads. Without a word of explanation the reader is left to
42
+ * work out whether that emptiness is a branch that was not chosen, work still queued, or a step
43
+ * that broke silently — three very different situations that look identical in JSON.
44
+ *
45
+ * The distinction between Skipped and Blocked is load-bearing and deliberately preserved here:
46
+ * `Skipped` means the workflow chose another route, `Blocked` means something upstream failed. The
47
+ * dispatcher separated them precisely because conflating them made every conditional workflow look
48
+ * half-broken.
49
+ */
50
+ get StepNotice(): {
51
+ Variant: 'info' | 'warning' | 'error';
52
+ Message: string;
53
+ } | null;
34
54
  getSelectedItemJson(): string;
35
55
  /**
36
56
  * Check if selected timeline item is a step with payload changes
@@ -75,6 +95,16 @@ export declare class AIAgentRunStepDetailComponent {
75
95
  * a malformed or absent payload simply means no tab rather than a broken panel.
76
96
  */
77
97
  get stepTaskGraph(): TaskGraphSpec | null;
98
+ /**
99
+ * Where the recorded graph's nodes go on the canvas.
100
+ *
101
+ * Without this the editor receives a spec and no geometry, so every node projects to the origin —
102
+ * all of them, in one place. The canvas then rescues it with a deferred layout pass whose
103
+ * zoom-to-fit measures a bounding box one node wide, and a four-step workflow renders as a single
104
+ * enormous box at 265%. The positions exist the whole time: a workflow compiled from a Flow agent
105
+ * carries the arrangement its author dragged into place, on every node.
106
+ */
107
+ get stepTaskGraphPositions(): Map<string, FlowPosition> | null;
78
108
  /** True when the recorded graph was constant-folded rather than dispatched (D9). */
79
109
  get stepTaskGraphWasFolded(): boolean;
80
110
  /** Asks the host to save this run's graph as a reusable workflow. */
@@ -1 +1 @@
1
- {"version":3,"file":"ai-agent-run-step-detail.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/custom/ai-agent-run/ai-agent-run-step-detail.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;A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;;OAMG;IACH,IAAI,YAAY,IAAI,OAAO,CAE1B;IAED;;;;;OAKG;IACH,IAAI,aAAa,IAAI,aAAa,GAAG,IAAI,CAgBxC;IAED,oFAAoF;IACpF,IAAI,sBAAsB,IAAI,OAAO,CAUpC;IAED,qEAAqE;IAC9D,qBAAqB,IAAI,IAAI;IAKpC;;OAEG;IACH,IAAI,iBAAiB,IAAI,OAAO,CAK/B;IAED;;OAEG;IACH,IAAI,mBAAmB,IAAI,sBAAsB,GAAG,IAAI,CAEvD;IAED;;OAEG;IACH,IAAI,oBAAoB,IAAI,sBAAsB,GAAG,IAAI,CAExD;IAED;;OAEG;IACH,IAAI,yBAAyB,IAAI,MAAM,CAqBtC;IAED,OAAO,CAAC,0BAA0B;yCA3SvB,6BAA6B;2CAA7B,6BAA6B;CAmUzC"}
1
+ {"version":3,"file":"ai-agent-run-step-detail.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/custom/ai-agent-run/ai-agent-run-step-detail.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAC1F,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAA0B,2CAA2C,EAAE,MAAM,+BAA+B,CAAC;AACpH,OAAO,EAA6B,KAAK,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7F,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;;AAGnE,UAAU,sBAAsB;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,KAAK,CAAC;QACX,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC,CAAC;CACJ;AAED,qBAMa,6BAA6B;IAkB5B,OAAO,CAAC,GAAG;IAjBd,oBAAoB,EAAE,YAAY,GAAG,IAAI,CAAQ;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