namirasoft-expert 1.4.51 → 1.4.52

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.
@@ -15,7 +15,7 @@ const NamirasoftExpertServerTest_1 = require("./NamirasoftExpertServerTest");
15
15
  const NamirasoftExpertServerValue_1 = require("./NamirasoftExpertServerValue");
16
16
  class NamirasoftExpertServer extends namirasoft_account_1.NSABaseServer {
17
17
  constructor(base_url, token_manager, onError) {
18
- super(base_url, `1.4.51`, token_manager, onError);
18
+ super(base_url, `1.4.52`, token_manager, onError);
19
19
  this.healthz = new NamirasoftExpertServerHealthz_1.NamirasoftExpertServerHealthz(this);
20
20
  this.health = new NamirasoftExpertServerHealth_1.NamirasoftExpertServerHealth(this);
21
21
  this.metrics = new NamirasoftExpertServerMetrics_1.NamirasoftExpertServerMetrics(this);
@@ -0,0 +1,6 @@
1
+ export declare enum report_strategy {
2
+ inline = "inline",
3
+ summarized = "summarized",
4
+ placeholder_pattern = "placeholder_pattern",
5
+ artifact = "artifact"
6
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.report_strategy = void 0;
4
+ var report_strategy;
5
+ (function (report_strategy) {
6
+ report_strategy["inline"] = "inline";
7
+ report_strategy["summarized"] = "summarized";
8
+ report_strategy["placeholder_pattern"] = "placeholder_pattern";
9
+ report_strategy["artifact"] = "artifact";
10
+ })(report_strategy || (exports.report_strategy = report_strategy = {}));
11
+ //# sourceMappingURL=report_strategy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"report_strategy.js","sourceRoot":"","sources":["../../src/enum/report_strategy.ts"],"names":[],"mappings":";;;AAoBA,IAAY,eAMX;AAND,WAAY,eAAe;IAEvB,oCAAiB,CAAA;IACjB,4CAAyB,CAAA;IACzB,8DAA2C,CAAA;IAC3C,wCAAqB,CAAA;AACzB,CAAC,EANW,eAAe,+BAAf,eAAe,QAM1B"}
package/dist/index.d.ts CHANGED
@@ -66,6 +66,7 @@ export * from "./enum/execution_mode";
66
66
  export * from "./enum/intent";
67
67
  export * from "./enum/planner_decision";
68
68
  export * from "./enum/priority";
69
+ export * from "./enum/report_strategy";
69
70
  export * from "./enum/sort_direction";
70
71
  export * from "./enum/task_type";
71
72
  export * from "./enum/value_type";
@@ -84,8 +85,6 @@ export * from "./row/AgentTrackResponseRow";
84
85
  export * from "./row/AgentTrackResponse_AnalyzerOutputRow";
85
86
  export * from "./row/AgentTrackResponse_AnalyzerRow";
86
87
  export * from "./row/AgentTrackResponse_ClassificationRow";
87
- export * from "./row/AgentTrackResponse_CommandEntityRow";
88
- export * from "./row/AgentTrackResponse_CommandRow";
89
88
  export * from "./row/AgentTrackResponse_ConditionRow";
90
89
  export * from "./row/AgentTrackResponse_ConditionSetRow";
91
90
  export * from "./row/AgentTrackResponse_ErrorRow";
@@ -95,6 +94,7 @@ export * from "./row/AgentTrackResponse_PlanOutputRow";
95
94
  export * from "./row/AgentTrackResponse_PlanRow";
96
95
  export * from "./row/AgentTrackResponse_QueryRow";
97
96
  export * from "./row/AgentTrackResponse_QuerySortRow";
97
+ export * from "./row/AgentTrackResponse_ReportPlanRow";
98
98
  export * from "./row/AgentTrackResponse_StepDefinitionRow";
99
99
  export * from "./row/AgentTrackResponse_StepReferenceRow";
100
100
  export * from "./row/AgentTrackResponse_StepRow";
package/dist/index.js CHANGED
@@ -82,6 +82,7 @@ __exportStar(require("./enum/execution_mode"), exports);
82
82
  __exportStar(require("./enum/intent"), exports);
83
83
  __exportStar(require("./enum/planner_decision"), exports);
84
84
  __exportStar(require("./enum/priority"), exports);
85
+ __exportStar(require("./enum/report_strategy"), exports);
85
86
  __exportStar(require("./enum/sort_direction"), exports);
86
87
  __exportStar(require("./enum/task_type"), exports);
87
88
  __exportStar(require("./enum/value_type"), exports);
@@ -100,8 +101,6 @@ __exportStar(require("./row/AgentTrackResponseRow"), exports);
100
101
  __exportStar(require("./row/AgentTrackResponse_AnalyzerOutputRow"), exports);
101
102
  __exportStar(require("./row/AgentTrackResponse_AnalyzerRow"), exports);
102
103
  __exportStar(require("./row/AgentTrackResponse_ClassificationRow"), exports);
103
- __exportStar(require("./row/AgentTrackResponse_CommandEntityRow"), exports);
104
- __exportStar(require("./row/AgentTrackResponse_CommandRow"), exports);
105
104
  __exportStar(require("./row/AgentTrackResponse_ConditionRow"), exports);
106
105
  __exportStar(require("./row/AgentTrackResponse_ConditionSetRow"), exports);
107
106
  __exportStar(require("./row/AgentTrackResponse_ErrorRow"), exports);
@@ -111,6 +110,7 @@ __exportStar(require("./row/AgentTrackResponse_PlanOutputRow"), exports);
111
110
  __exportStar(require("./row/AgentTrackResponse_PlanRow"), exports);
112
111
  __exportStar(require("./row/AgentTrackResponse_QueryRow"), exports);
113
112
  __exportStar(require("./row/AgentTrackResponse_QuerySortRow"), exports);
113
+ __exportStar(require("./row/AgentTrackResponse_ReportPlanRow"), exports);
114
114
  __exportStar(require("./row/AgentTrackResponse_StepDefinitionRow"), exports);
115
115
  __exportStar(require("./row/AgentTrackResponse_StepReferenceRow"), exports);
116
116
  __exportStar(require("./row/AgentTrackResponse_StepRow"), exports);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAoBA,2DAAyC;AACzC,gEAA8C;AAC9C,wEAAsD;AACtD,qEAAmD;AACnD,mEAAiD;AACjD,+DAA6C;AAC7C,+DAA6C;AAC7C,iEAA+C;AAC/C,kEAAgD;AAChD,kEAAgD;AAChD,8DAA4C;AAC5C,+DAA6C;AAC7C,gEAA8C;AAC9C,iEAA+C;AAC/C,uEAAqD;AACrD,uEAAqD;AACrD,oEAAkD;AAClD,qEAAmD;AACnD,yDAAuC;AACvC,iEAA+C;AAC/C,+DAA6C;AAC7C,+DAA6C;AAC7C,8DAA4C;AAC5C,oEAAkD;AAClD,oEAAkD;AAClD,iEAA+C;AAC/C,kEAAgD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AAsC;AACtC,mDAAiC;AACjC,oDAAkC;AAClC,gEAA8C;AAC9C,6DAA2C;AAC3C,wDAAsC;AACtC,2DAAyC;AACzC,uDAAqC;AACrC,sEAAoD;AACpD,yDAAuC;AACvC,sDAAoC;AACpC,sDAAoC;AACpC,iDAA+B;AAC/B,oDAAkC;AAClC,8DAA4C;AAC5C,6EAA2D;AAC3D,uEAAqD;AACrD,6EAA2D;AAC3D,wEAAsD;AACtD,2EAAyD;AACzD,oEAAkD;AAClD,oEAAkD;AAClD,0EAAwD;AACxD,yEAAuD;AACvD,mEAAiD;AACjD,oEAAkD;AAClD,wEAAsD;AACtD,yEAAuD;AACvD,6EAA2D;AAC3D,4EAA0D;AAC1D,mEAAiD;AACjD,qEAAmD;AACnD,6EAA2D;AAC3D,yEAAuD;AACvD,mEAAiD;AACjD,uEAAqD;AACrD,mEAAiD;AACjD,oEAAkD;AAClD,gDAA8B;AAC9B,sDAAoC;AACpC,+DAA6C;AAC7C,4DAA0C;AAC1C,0DAAwC;AACxC,+CAA6B;AAC7B,0DAAwC;AACxC,0DAAwC;AACxC,2DAAyC;AACzC,0DAAwC"}
@@ -1,10 +1,10 @@
1
1
  import { AgentTrackResponse_AnalyzerRow } from "./AgentTrackResponse_AnalyzerRow";
2
2
  import { AgentTrackResponse_ClassificationRow } from "./AgentTrackResponse_ClassificationRow";
3
- import { AgentTrackResponse_CommandRow } from "./AgentTrackResponse_CommandRow";
4
3
  import { AgentTrackResponse_ErrorRow } from "./AgentTrackResponse_ErrorRow";
5
4
  import { AgentTrackResponse_InputRow } from "./AgentTrackResponse_InputRow";
6
5
  import { AgentTrackResponse_ObservationRow } from "./AgentTrackResponse_ObservationRow";
7
6
  import { AgentTrackResponse_PlanRow } from "./AgentTrackResponse_PlanRow";
7
+ import { AgentTrackResponse_ReportPlanRow } from "./AgentTrackResponse_ReportPlanRow";
8
8
  import { AgentTrackResponse_StepRow } from "./AgentTrackResponse_StepRow";
9
9
  import { AgentTrackResponse_TaskRow } from "./AgentTrackResponse_TaskRow";
10
10
  import { AgentTrackResponse_TemplateRow } from "./AgentTrackResponse_TemplateRow";
@@ -21,13 +21,13 @@ export type AgentTrackResponseRow = {
21
21
  step_processed: any;
22
22
  step_result: any;
23
23
  tasks: AgentTrackResponse_TaskRow[];
24
+ task_requested: any;
24
25
  task_result: any;
25
- commands: AgentTrackResponse_CommandRow[];
26
- command_requested: any;
27
- command_result: any;
28
26
  analyses: AgentTrackResponse_AnalyzerRow[];
29
27
  analyses_tools_retrieved: any;
30
28
  analyses_templates_retrieved: any;
29
+ report_plan: (AgentTrackResponse_ReportPlanRow | null);
30
+ report_raw: string;
31
31
  report: string;
32
32
  interrupted: boolean;
33
33
  error: (AgentTrackResponse_ErrorRow | null);
@@ -0,0 +1,6 @@
1
+ import { report_strategy } from "../enum/report_strategy";
2
+ export type AgentTrackResponse_ReportPlanRow = {
3
+ strategy: report_strategy;
4
+ sum_of_total_size: number;
5
+ sum_of_excerpt_size: number;
6
+ };
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=AgentTrackResponse_CommandRow.js.map
3
+ //# sourceMappingURL=AgentTrackResponse_ReportPlanRow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AgentTrackResponse_ReportPlanRow.js","sourceRoot":"","sources":["../../src/row/AgentTrackResponse_ReportPlanRow.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "framework": "npm",
9
9
  "application": "package",
10
10
  "private": false,
11
- "version": "1.4.51",
11
+ "version": "1.4.52",
12
12
  "author": "Amir Abolhasani",
13
13
  "license": "MIT",
14
14
  "main": "./dist/index.js",
@@ -47,7 +47,7 @@ export class NamirasoftExpertServer extends NSABaseServer
47
47
  test: NamirasoftExpertServerTest;
48
48
  constructor(base_url: string, token_manager: TokenManager, onError: (error: Error) => void)
49
49
  {
50
- super(base_url, `1.4.51`, token_manager, onError);
50
+ super(base_url, `1.4.52`, token_manager, onError);
51
51
  this.healthz = new NamirasoftExpertServerHealthz(this);
52
52
  this.health = new NamirasoftExpertServerHealth(this);
53
53
  this.metrics = new NamirasoftExpertServerMetrics(this);
@@ -18,10 +18,10 @@
18
18
  /* */
19
19
  /****************************************************************/
20
20
 
21
- import { entity_type } from "../enum/entity_type";
22
-
23
- export type AgentTrackResponse_CommandEntityRow =
24
- {
25
- type: entity_type;
26
- id: string;
27
- }
21
+ export enum report_strategy
22
+ {
23
+ inline = "inline",
24
+ summarized = "summarized",
25
+ placeholder_pattern = "placeholder_pattern",
26
+ artifact = "artifact",
27
+ }
package/src/index.ts CHANGED
@@ -86,6 +86,7 @@ export * from "./enum/execution_mode";
86
86
  export * from "./enum/intent";
87
87
  export * from "./enum/planner_decision";
88
88
  export * from "./enum/priority";
89
+ export * from "./enum/report_strategy";
89
90
  export * from "./enum/sort_direction";
90
91
  export * from "./enum/task_type";
91
92
  export * from "./enum/value_type";
@@ -104,8 +105,6 @@ export * from "./row/AgentTrackResponseRow";
104
105
  export * from "./row/AgentTrackResponse_AnalyzerOutputRow";
105
106
  export * from "./row/AgentTrackResponse_AnalyzerRow";
106
107
  export * from "./row/AgentTrackResponse_ClassificationRow";
107
- export * from "./row/AgentTrackResponse_CommandEntityRow";
108
- export * from "./row/AgentTrackResponse_CommandRow";
109
108
  export * from "./row/AgentTrackResponse_ConditionRow";
110
109
  export * from "./row/AgentTrackResponse_ConditionSetRow";
111
110
  export * from "./row/AgentTrackResponse_ErrorRow";
@@ -115,6 +114,7 @@ export * from "./row/AgentTrackResponse_PlanOutputRow";
115
114
  export * from "./row/AgentTrackResponse_PlanRow";
116
115
  export * from "./row/AgentTrackResponse_QueryRow";
117
116
  export * from "./row/AgentTrackResponse_QuerySortRow";
117
+ export * from "./row/AgentTrackResponse_ReportPlanRow";
118
118
  export * from "./row/AgentTrackResponse_StepDefinitionRow";
119
119
  export * from "./row/AgentTrackResponse_StepReferenceRow";
120
120
  export * from "./row/AgentTrackResponse_StepRow";
@@ -20,11 +20,11 @@
20
20
 
21
21
  import { AgentTrackResponse_AnalyzerRow } from "./AgentTrackResponse_AnalyzerRow";
22
22
  import { AgentTrackResponse_ClassificationRow } from "./AgentTrackResponse_ClassificationRow";
23
- import { AgentTrackResponse_CommandRow } from "./AgentTrackResponse_CommandRow";
24
23
  import { AgentTrackResponse_ErrorRow } from "./AgentTrackResponse_ErrorRow";
25
24
  import { AgentTrackResponse_InputRow } from "./AgentTrackResponse_InputRow";
26
25
  import { AgentTrackResponse_ObservationRow } from "./AgentTrackResponse_ObservationRow";
27
26
  import { AgentTrackResponse_PlanRow } from "./AgentTrackResponse_PlanRow";
27
+ import { AgentTrackResponse_ReportPlanRow } from "./AgentTrackResponse_ReportPlanRow";
28
28
  import { AgentTrackResponse_StepRow } from "./AgentTrackResponse_StepRow";
29
29
  import { AgentTrackResponse_TaskRow } from "./AgentTrackResponse_TaskRow";
30
30
  import { AgentTrackResponse_TemplateRow } from "./AgentTrackResponse_TemplateRow";
@@ -43,13 +43,13 @@ export type AgentTrackResponseRow =
43
43
  step_processed: any;
44
44
  step_result: any;
45
45
  tasks: AgentTrackResponse_TaskRow[];
46
+ task_requested: any;
46
47
  task_result: any;
47
- commands: AgentTrackResponse_CommandRow[];
48
- command_requested: any;
49
- command_result: any;
50
48
  analyses: AgentTrackResponse_AnalyzerRow[];
51
49
  analyses_tools_retrieved: any;
52
50
  analyses_templates_retrieved: any;
51
+ report_plan: (AgentTrackResponse_ReportPlanRow | null);
52
+ report_raw: string;
53
53
  report: string;
54
54
  interrupted: boolean;
55
55
  error: (AgentTrackResponse_ErrorRow | null);
@@ -18,14 +18,11 @@
18
18
  /* */
19
19
  /****************************************************************/
20
20
 
21
- import { AgentTrackResponse_CommandEntityRow } from "./AgentTrackResponse_CommandEntityRow";
21
+ import { report_strategy } from "../enum/report_strategy";
22
22
 
23
- export type AgentTrackResponse_CommandRow =
23
+ export type AgentTrackResponse_ReportPlanRow =
24
24
  {
25
- rid: string;
26
- step_rid: string;
27
- task_rid: string;
28
- index: number;
29
- entity: AgentTrackResponse_CommandEntityRow;
30
- command: string;
25
+ strategy: report_strategy;
26
+ sum_of_total_size: number;
27
+ sum_of_excerpt_size: number;
31
28
  }
@@ -1,5 +0,0 @@
1
- import { entity_type } from "../enum/entity_type";
2
- export type AgentTrackResponse_CommandEntityRow = {
3
- type: entity_type;
4
- id: string;
5
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=AgentTrackResponse_CommandEntityRow.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AgentTrackResponse_CommandEntityRow.js","sourceRoot":"","sources":["../../src/row/AgentTrackResponse_CommandEntityRow.ts"],"names":[],"mappings":""}
@@ -1,9 +0,0 @@
1
- import { AgentTrackResponse_CommandEntityRow } from "./AgentTrackResponse_CommandEntityRow";
2
- export type AgentTrackResponse_CommandRow = {
3
- rid: string;
4
- step_rid: string;
5
- task_rid: string;
6
- index: number;
7
- entity: AgentTrackResponse_CommandEntityRow;
8
- command: string;
9
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"AgentTrackResponse_CommandRow.js","sourceRoot":"","sources":["../../src/row/AgentTrackResponse_CommandRow.ts"],"names":[],"mappings":""}