namirasoft-expert 1.4.60 → 1.4.63

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 (61) hide show
  1. package/dist/NamirasoftExpertServer.js +1 -1
  2. package/dist/NamirasoftExpertServerTask.d.ts +1 -0
  3. package/dist/NamirasoftExpertServerTask.js +8 -0
  4. package/dist/NamirasoftExpertServerTask.js.map +1 -1
  5. package/dist/command/TaskCommand.js +2 -0
  6. package/dist/command/TaskCommand.js.map +1 -1
  7. package/dist/command/TaskDownloadCommand.d.ts +5 -0
  8. package/dist/command/TaskDownloadCommand.js +38 -0
  9. package/dist/command/TaskDownloadCommand.js.map +1 -0
  10. package/dist/enum/{AgentLlmFullProviderName.d.ts → AgentLLMFullProviderName.d.ts} +1 -1
  11. package/dist/enum/AgentLLMFullProviderName.js +10 -0
  12. package/dist/enum/AgentLLMFullProviderName.js.map +1 -0
  13. package/dist/enum/{AgentLlmMiniProviderName.d.ts → AgentLLMMiniProviderName.d.ts} +1 -1
  14. package/dist/enum/AgentLLMMiniProviderName.js +10 -0
  15. package/dist/enum/AgentLLMMiniProviderName.js.map +1 -0
  16. package/dist/enum/PlannerDecisionEnum.d.ts +1 -1
  17. package/dist/enum/PlannerDecisionEnum.js +1 -1
  18. package/dist/enum/PlannerDecisionEnum.js.map +1 -1
  19. package/dist/index.d.ts +3 -4
  20. package/dist/index.js +3 -4
  21. package/dist/index.js.map +1 -1
  22. package/dist/meta/AgentMetaTable.js +4 -4
  23. package/dist/meta/RunMetaTable.d.ts +0 -4
  24. package/dist/meta/RunMetaTable.js +0 -4
  25. package/dist/meta/RunMetaTable.js.map +1 -1
  26. package/dist/row/AgentInputRow.d.ts +4 -4
  27. package/dist/row/AgentRow.d.ts +4 -4
  28. package/dist/row/AgentTrackResponseRow.d.ts +1 -4
  29. package/dist/row/AgentTrackResponse_PlanOutputRow.d.ts +3 -1
  30. package/dist/row/AgentTrackResponse_ReportPlanRow.d.ts +1 -0
  31. package/dist/row/AgentTrackResponse_TaskDefinitionRow.d.ts +0 -2
  32. package/dist/row/RunRow.d.ts +0 -5
  33. package/package.json +2 -2
  34. package/src/NamirasoftExpertServer.ts +1 -1
  35. package/src/NamirasoftExpertServerTask.ts +7 -0
  36. package/src/command/TaskCommand.ts +2 -0
  37. package/src/{row/AgentTrackResponse_TemplateRow.ts → command/TaskDownloadCommand.ts} +23 -6
  38. package/src/enum/{AgentLlmFullProviderName.ts → AgentLLMFullProviderName.ts} +1 -1
  39. package/src/enum/{AgentLlmMiniProviderName.ts → AgentLLMMiniProviderName.ts} +1 -1
  40. package/src/enum/PlannerDecisionEnum.ts +1 -1
  41. package/src/index.ts +3 -4
  42. package/src/meta/AgentMetaTable.ts +4 -4
  43. package/src/meta/RunMetaTable.ts +0 -8
  44. package/src/row/AgentInputRow.ts +4 -4
  45. package/src/row/AgentRow.ts +4 -4
  46. package/src/row/AgentTrackResponseRow.ts +1 -4
  47. package/src/row/AgentTrackResponse_PlanOutputRow.ts +3 -1
  48. package/src/row/AgentTrackResponse_ReportPlanRow.ts +1 -0
  49. package/src/row/AgentTrackResponse_TaskDefinitionRow.ts +0 -2
  50. package/src/row/RunRow.ts +0 -5
  51. package/dist/enum/AgentLlmFullProviderName.js +0 -10
  52. package/dist/enum/AgentLlmFullProviderName.js.map +0 -1
  53. package/dist/enum/AgentLlmMiniProviderName.js +0 -10
  54. package/dist/enum/AgentLlmMiniProviderName.js.map +0 -1
  55. package/dist/enum/TaskTypeEnum.d.ts +0 -4
  56. package/dist/enum/TaskTypeEnum.js +0 -9
  57. package/dist/enum/TaskTypeEnum.js.map +0 -1
  58. package/dist/row/AgentTrackResponse_TemplateRow.d.ts +0 -6
  59. package/dist/row/AgentTrackResponse_TemplateRow.js +0 -3
  60. package/dist/row/AgentTrackResponse_TemplateRow.js.map +0 -1
  61. package/src/enum/TaskTypeEnum.ts +0 -25
@@ -17,7 +17,7 @@ const NamirasoftExpertServerTest_1 = require("./NamirasoftExpertServerTest");
17
17
  const NamirasoftExpertServerValue_1 = require("./NamirasoftExpertServerValue");
18
18
  class NamirasoftExpertServer extends namirasoft_account_1.NSABaseServer {
19
19
  constructor(base_url, token_manager, onError) {
20
- super(base_url, `1.4.60`, token_manager, onError);
20
+ super(base_url, `1.4.63`, token_manager, onError);
21
21
  this.healthz = new NamirasoftExpertServerHealthz_1.NamirasoftExpertServerHealthz(this);
22
22
  this.health = new NamirasoftExpertServerHealth_1.NamirasoftExpertServerHealth(this);
23
23
  this.metrics = new NamirasoftExpertServerMetrics_1.NamirasoftExpertServerMetrics(this);
@@ -7,4 +7,5 @@ export declare class NamirasoftExpertServerTask extends NamirasoftExpertServerBa
7
7
  constructor(server: NamirasoftExpertServer);
8
8
  List(run_id: string, config?: BaseServerConfig<any>): Promise<TaskListResponseRow>;
9
9
  Get(rid: string, config?: BaseServerConfig<any>): Promise<TaskGetResponseRow>;
10
+ Download(rid: string, config?: BaseServerConfig<any>): Promise<string>;
10
11
  }
@@ -16,6 +16,7 @@ class NamirasoftExpertServerTask extends NamirasoftExpertServerBase_1.Namirasoft
16
16
  super(server);
17
17
  this.List = this.List.bind(this);
18
18
  this.Get = this.Get.bind(this);
19
+ this.Download = this.Download.bind(this);
19
20
  }
20
21
  List(run_id, config) {
21
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -31,6 +32,13 @@ class NamirasoftExpertServerTask extends NamirasoftExpertServerBase_1.Namirasoft
31
32
  return data;
32
33
  });
33
34
  }
35
+ Download(rid, config) {
36
+ return __awaiter(this, void 0, void 0, function* () {
37
+ let path = `/task/${rid}/download`;
38
+ let { data } = yield this.server._get(path, {}, config);
39
+ return data;
40
+ });
41
+ }
34
42
  }
35
43
  exports.NamirasoftExpertServerTask = NamirasoftExpertServerTask;
36
44
  ;
@@ -1 +1 @@
1
- {"version":3,"file":"NamirasoftExpertServerTask.js","sourceRoot":"","sources":["../src/NamirasoftExpertServerTask.ts"],"names":[],"mappings":";;;;;;;;;;;;AAsBA,6EAA0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AAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7C,CAAC;IACK,IAAI,CAAC,MAAc,EAAE,MAA8B;;YAErD,IAAI,IAAI,GAAG,kBAAkB,MAAM,EAAE,CAAC;YACtC,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAsB,IAAI,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;YAC7E,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,GAAG,CAAC,GAAW,EAAE,MAA8B;;YAEjD,IAAI,IAAI,GAAG,SAAS,GAAG,EAAE,CAAC;YAC1B,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAqB,IAAI,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;YAC5E,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,QAAQ,CAAC,GAAW,EAAE,MAA8B;;YAEtD,IAAI,IAAI,GAAG,SAAS,GAAG,WAAW,CAAC;YACnC,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAS,IAAI,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;YAChE,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;CACJ;AA3BD,gEA2BC;AAAA,CAAC"}
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TaskCommand = void 0;
4
4
  const namirasoft_node_cli_1 = require("namirasoft-node-cli");
5
+ const TaskDownloadCommand_1 = require("./TaskDownloadCommand");
5
6
  const TaskGetCommand_1 = require("./TaskGetCommand");
6
7
  const TaskListCommand_1 = require("./TaskListCommand");
7
8
  class TaskCommand extends namirasoft_node_cli_1.BaseNavigatorCommand {
@@ -9,6 +10,7 @@ class TaskCommand extends namirasoft_node_cli_1.BaseNavigatorCommand {
9
10
  super(argv, {
10
11
  "list": TaskListCommand_1.TaskListCommand,
11
12
  "get": TaskGetCommand_1.TaskGetCommand,
13
+ "download": TaskDownloadCommand_1.TaskDownloadCommand,
12
14
  });
13
15
  }
14
16
  }
@@ -1 +1 @@
1
- {"version":3,"file":"TaskCommand.js","sourceRoot":"","sources":["../../src/command/TaskCommand.ts"],"names":[],"mappings":";;;AAoBA,6DAA2D;AAC3D,qDAAkD;AAClD,uDAAoD;AAEpD,MAAa,WAAY,SAAQ,0CAAoB;IAEjD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE;YACR,MAAM,EAAE,iCAAe;YACvB,KAAK,EAAE,+BAAc;SACxB,CAAC,CAAC;IACP,CAAC;CACJ;AATD,kCASC;AAAA,CAAC"}
1
+ {"version":3,"file":"TaskCommand.js","sourceRoot":"","sources":["../../src/command/TaskCommand.ts"],"names":[],"mappings":";;;AAoBA,6DAA2D;AAC3D,+DAA4D;AAC5D,qDAAkD;AAClD,uDAAoD;AAEpD,MAAa,WAAY,SAAQ,0CAAoB;IAEjD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE;YACR,MAAM,EAAE,iCAAe;YACvB,KAAK,EAAE,+BAAc;YACrB,UAAU,EAAE,yCAAmB;SAClC,CAAC,CAAC;IACP,CAAC;CACJ;AAVD,kCAUC;AAAA,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { BaseFinalCommand } from "namirasoft-node-cli";
2
+ export declare class TaskDownloadCommand extends BaseFinalCommand {
3
+ constructor(argv: string[]);
4
+ exec(): Promise<void>;
5
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.TaskDownloadCommand = void 0;
13
+ const namirasoft_node_cli_1 = require("namirasoft-node-cli");
14
+ const namirasoft_core_1 = require("namirasoft-core");
15
+ const NamirasoftExpertServer_1 = require("../NamirasoftExpertServer");
16
+ const namirasoft_account_1 = require("namirasoft-account");
17
+ class TaskDownloadCommand extends namirasoft_node_cli_1.BaseFinalCommand {
18
+ constructor(argv) {
19
+ super(argv, ["rid"], []);
20
+ }
21
+ exec() {
22
+ return __awaiter(this, void 0, void 0, function* () {
23
+ let token = this.app.storage.getNSAToken();
24
+ if (token == null)
25
+ throw new Error("Token is not available. Please login first using:\nns-expert account config \nor \nns-expert account login.");
26
+ let storage = new namirasoft_core_1.IStorageMemoryDedicated();
27
+ let token_manager = new namirasoft_account_1.TokenManager(storage, () => { });
28
+ token_manager.setValue(token, false);
29
+ let url = this.app.storage.getItem("ns-expert-server-url");
30
+ let server = new NamirasoftExpertServer_1.NamirasoftExpertServer(url, token_manager, e => this.app.logger.error(e.message));
31
+ let ans = yield server.task.Download(this.arg_values[0]);
32
+ this.app.logger.success(JSON.stringify(ans));
33
+ });
34
+ }
35
+ }
36
+ exports.TaskDownloadCommand = TaskDownloadCommand;
37
+ ;
38
+ //# sourceMappingURL=TaskDownloadCommand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TaskDownloadCommand.js","sourceRoot":"","sources":["../../src/command/TaskDownloadCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAA0D;AAC1D,sEAAmE;AACnE,2DAAkD;AAElD,MAAa,mBAAoB,SAAQ,sCAAgB;IAErD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC;IAC7B,CAAC;IACc,IAAI;;YAEf,IAAI,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;YAC3C,IAAI,KAAK,IAAI,IAAI;gBACb,MAAM,IAAI,KAAK,CAAC,6GAA6G,CAAC,CAAC;YACnI,IAAI,OAAO,GAAG,IAAI,yCAAuB,EAAE,CAAC;YAC5C,IAAI,aAAa,GAAG,IAAI,iCAAY,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;YACzD,aAAa,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YACrC,IAAI,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC;YAC3D,IAAI,MAAM,GAAG,IAAI,+CAAsB,CAAC,GAAG,EAAE,aAAa,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YACnG,IAAI,GAAG,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;YACzD,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACjD,CAAC;KAAA;CACJ;AAnBD,kDAmBC;AAAA,CAAC"}
@@ -1,4 +1,4 @@
1
- export declare enum AgentLlmFullProviderName {
1
+ export declare enum AgentLLMFullProviderName {
2
2
  OpenAI = "OpenAI",
3
3
  Anthropic = "Anthropic",
4
4
  DeepSeek = "DeepSeek"
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AgentLLMFullProviderName = void 0;
4
+ var AgentLLMFullProviderName;
5
+ (function (AgentLLMFullProviderName) {
6
+ AgentLLMFullProviderName["OpenAI"] = "OpenAI";
7
+ AgentLLMFullProviderName["Anthropic"] = "Anthropic";
8
+ AgentLLMFullProviderName["DeepSeek"] = "DeepSeek";
9
+ })(AgentLLMFullProviderName || (exports.AgentLLMFullProviderName = AgentLLMFullProviderName = {}));
10
+ //# sourceMappingURL=AgentLLMFullProviderName.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AgentLLMFullProviderName.js","sourceRoot":"","sources":["../../src/enum/AgentLLMFullProviderName.ts"],"names":[],"mappings":";;;AAoBA,IAAY,wBAKX;AALD,WAAY,wBAAwB;IAEhC,6CAAiB,CAAA;IACjB,mDAAuB,CAAA;IACvB,iDAAqB,CAAA;AACzB,CAAC,EALW,wBAAwB,wCAAxB,wBAAwB,QAKnC"}
@@ -1,4 +1,4 @@
1
- export declare enum AgentLlmMiniProviderName {
1
+ export declare enum AgentLLMMiniProviderName {
2
2
  OpenAI = "OpenAI",
3
3
  Anthropic = "Anthropic",
4
4
  DeepSeek = "DeepSeek"
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AgentLLMMiniProviderName = void 0;
4
+ var AgentLLMMiniProviderName;
5
+ (function (AgentLLMMiniProviderName) {
6
+ AgentLLMMiniProviderName["OpenAI"] = "OpenAI";
7
+ AgentLLMMiniProviderName["Anthropic"] = "Anthropic";
8
+ AgentLLMMiniProviderName["DeepSeek"] = "DeepSeek";
9
+ })(AgentLLMMiniProviderName || (exports.AgentLLMMiniProviderName = AgentLLMMiniProviderName = {}));
10
+ //# sourceMappingURL=AgentLLMMiniProviderName.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AgentLLMMiniProviderName.js","sourceRoot":"","sources":["../../src/enum/AgentLLMMiniProviderName.ts"],"names":[],"mappings":";;;AAoBA,IAAY,wBAKX;AALD,WAAY,wBAAwB;IAEhC,6CAAiB,CAAA;IACjB,mDAAuB,CAAA;IACvB,iDAAqB,CAAA;AACzB,CAAC,EALW,wBAAwB,wCAAxB,wBAAwB,QAKnC"}
@@ -1,5 +1,5 @@
1
1
  export declare enum PlannerDecisionEnum {
2
2
  clarification = "clarification",
3
- more_resources = "more_resources",
3
+ more_tools = "more_tools",
4
4
  execution = "execution"
5
5
  }
@@ -4,7 +4,7 @@ exports.PlannerDecisionEnum = void 0;
4
4
  var PlannerDecisionEnum;
5
5
  (function (PlannerDecisionEnum) {
6
6
  PlannerDecisionEnum["clarification"] = "clarification";
7
- PlannerDecisionEnum["more_resources"] = "more_resources";
7
+ PlannerDecisionEnum["more_tools"] = "more_tools";
8
8
  PlannerDecisionEnum["execution"] = "execution";
9
9
  })(PlannerDecisionEnum || (exports.PlannerDecisionEnum = PlannerDecisionEnum = {}));
10
10
  //# sourceMappingURL=PlannerDecisionEnum.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlannerDecisionEnum.js","sourceRoot":"","sources":["../../src/enum/PlannerDecisionEnum.ts"],"names":[],"mappings":";;;AAoBA,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAE3B,sDAA+B,CAAA;IAC/B,wDAAiC,CAAA;IACjC,8CAAuB,CAAA;AAC3B,CAAC,EALW,mBAAmB,mCAAnB,mBAAmB,QAK9B"}
1
+ {"version":3,"file":"PlannerDecisionEnum.js","sourceRoot":"","sources":["../../src/enum/PlannerDecisionEnum.ts"],"names":[],"mappings":";;;AAoBA,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAE3B,sDAA+B,CAAA;IAC/B,gDAAyB,CAAA;IACzB,8CAAuB,CAAA;AAC3B,CAAC,EALW,mBAAmB,mCAAnB,mBAAmB,QAK9B"}
package/dist/index.d.ts CHANGED
@@ -57,6 +57,7 @@ export * from "./command/RunCommand";
57
57
  export * from "./command/RunGetCommand";
58
58
  export * from "./command/RunListCommand";
59
59
  export * from "./command/TaskCommand";
60
+ export * from "./command/TaskDownloadCommand";
60
61
  export * from "./command/TaskGetCommand";
61
62
  export * from "./command/TaskListCommand";
62
63
  export * from "./command/TestCommand";
@@ -69,8 +70,8 @@ export * from "./enum/AWorkflowStateTypeClasificationPriority";
69
70
  export * from "./enum/AWorkflowStateType_Analyzer_Decision";
70
71
  export * from "./enum/AWorkflowStateType_ReportStrategy";
71
72
  export * from "./enum/AWorkflowStateType_ResourceRequestedByType";
72
- export * from "./enum/AgentLlmFullProviderName";
73
- export * from "./enum/AgentLlmMiniProviderName";
73
+ export * from "./enum/AgentLLMFullProviderName";
74
+ export * from "./enum/AgentLLMMiniProviderName";
74
75
  export * from "./enum/ChatType";
75
76
  export * from "./enum/ConditionOperationEnum";
76
77
  export * from "./enum/EntityType";
@@ -79,7 +80,6 @@ export * from "./enum/PlannerDecisionEnum";
79
80
  export * from "./enum/RunStatus";
80
81
  export * from "./enum/SortDirectionEnum";
81
82
  export * from "./enum/TaskTargetExecutionModeEnum";
82
- export * from "./enum/TaskTypeEnum";
83
83
  export * from "./enum/ValueTypeEnum";
84
84
  export * from "./meta/AgentCategoryMetaTable";
85
85
  export * from "./meta/AgentFieldMetaTable";
@@ -114,7 +114,6 @@ export * from "./row/AgentTrackResponse_TargetRow";
114
114
  export * from "./row/AgentTrackResponse_TaskDefinitionRow";
115
115
  export * from "./row/AgentTrackResponse_TaskEntityRow";
116
116
  export * from "./row/AgentTrackResponse_TaskRow";
117
- export * from "./row/AgentTrackResponse_TemplateRow";
118
117
  export * from "./row/AgentTrackResponse_ToolRow";
119
118
  export * from "./row/AgentTrackResponse_ValueRow";
120
119
  export * from "./row/ChatRow";
package/dist/index.js CHANGED
@@ -73,6 +73,7 @@ __exportStar(require("./command/RunCommand"), exports);
73
73
  __exportStar(require("./command/RunGetCommand"), exports);
74
74
  __exportStar(require("./command/RunListCommand"), exports);
75
75
  __exportStar(require("./command/TaskCommand"), exports);
76
+ __exportStar(require("./command/TaskDownloadCommand"), exports);
76
77
  __exportStar(require("./command/TaskGetCommand"), exports);
77
78
  __exportStar(require("./command/TaskListCommand"), exports);
78
79
  __exportStar(require("./command/TestCommand"), exports);
@@ -85,8 +86,8 @@ __exportStar(require("./enum/AWorkflowStateTypeClasificationPriority"), exports)
85
86
  __exportStar(require("./enum/AWorkflowStateType_Analyzer_Decision"), exports);
86
87
  __exportStar(require("./enum/AWorkflowStateType_ReportStrategy"), exports);
87
88
  __exportStar(require("./enum/AWorkflowStateType_ResourceRequestedByType"), exports);
88
- __exportStar(require("./enum/AgentLlmFullProviderName"), exports);
89
- __exportStar(require("./enum/AgentLlmMiniProviderName"), exports);
89
+ __exportStar(require("./enum/AgentLLMFullProviderName"), exports);
90
+ __exportStar(require("./enum/AgentLLMMiniProviderName"), exports);
90
91
  __exportStar(require("./enum/ChatType"), exports);
91
92
  __exportStar(require("./enum/ConditionOperationEnum"), exports);
92
93
  __exportStar(require("./enum/EntityType"), exports);
@@ -95,7 +96,6 @@ __exportStar(require("./enum/PlannerDecisionEnum"), exports);
95
96
  __exportStar(require("./enum/RunStatus"), exports);
96
97
  __exportStar(require("./enum/SortDirectionEnum"), exports);
97
98
  __exportStar(require("./enum/TaskTargetExecutionModeEnum"), exports);
98
- __exportStar(require("./enum/TaskTypeEnum"), exports);
99
99
  __exportStar(require("./enum/ValueTypeEnum"), exports);
100
100
  __exportStar(require("./meta/AgentCategoryMetaTable"), exports);
101
101
  __exportStar(require("./meta/AgentFieldMetaTable"), exports);
@@ -130,7 +130,6 @@ __exportStar(require("./row/AgentTrackResponse_TargetRow"), exports);
130
130
  __exportStar(require("./row/AgentTrackResponse_TaskDefinitionRow"), exports);
131
131
  __exportStar(require("./row/AgentTrackResponse_TaskEntityRow"), exports);
132
132
  __exportStar(require("./row/AgentTrackResponse_TaskRow"), exports);
133
- __exportStar(require("./row/AgentTrackResponse_TemplateRow"), exports);
134
133
  __exportStar(require("./row/AgentTrackResponse_ToolRow"), exports);
135
134
  __exportStar(require("./row/AgentTrackResponse_ValueRow"), exports);
136
135
  __exportStar(require("./row/ChatRow"), exports);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"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C;AACzC,qEAAmD;AACnD,sDAAoC;AACpC,uDAAqC;AACrC,gEAA8C;AAC9C,6DAA2C;AAC3C,wDAAsC;AACtC,2DAAyC;AACzC,uDAAqC;AACrC,sEAAoD;AACpD,sDAAoC;AACpC,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,uDAAqC;AACrC,2DAAyC;AACzC,+CAA6B;AAC7B,2DAAyC;AACzC,wDAAsC;AACtC,4DAA0C;AAC1C,6DAA2C;AAC3C,mEAAiD;AACjD,mEAAiD;AACjD,wEAAsD;AACtD,kEAAgD"}
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,8DAA4C;AAC5C,kEAAgD;AAChD,8DAA4C;AAC5C,+DAA6C;AAC7C,+DAA6C;AAC7C,gEAA8C;AAC9C,8CAA4B;AAC5B,iEAA+C;AAC/C,uEAAqD;AACrD,uEAAqD;AACrD,oEAAkD;AAClD,qEAAmD;AACnD,yDAAuC;AACv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uD;AACvD,mEAAiD;AACjD,oEAAkD;AAClD,wEAAsD;AACtD,yEAAuD;AACvD,6EAA2D;AAC3D,4EAA0D;AAC1D,mEAAiD;AACjD,qEAAmD;AACnD,6EAA2D;AAC3D,yEAAuD;AACvD,mEAAiD;AACjD,mEAAiD;AACjD,oEAAkD;AAClD,gDAA8B;AAC9B,sDAAoC;AACpC,+DAA6C;AAC7C,4DAA0C;AAC1C,0DAAwC;AACxC,uDAAqC;AACrC,2DAAyC;AACzC,+CAA6B;AAC7B,2DAAyC;AACzC,wDAAsC;AACtC,4DAA0C;AAC1C,6DAA2C;AAC3C,mEAAiD;AACjD,mEAAiD;AACjD,wEAAsD;AACtD,kEAAgD"}
@@ -24,10 +24,10 @@ class AgentMetaTable extends namirasoft_site_1.NSBaseMetaTable {
24
24
  target_topic_id: new namirasoft_core_1.BaseMetaColumn(this, "target_topic_id", "Target Topic ID", "String", false),
25
25
  log_group_id: new namirasoft_core_1.BaseMetaColumn(this, "log_group_id", "Log Group ID", "String", false),
26
26
  name: new namirasoft_core_1.BaseMetaColumn(this, "name", "Name", "String", true),
27
- llm_mini_provider_name: new namirasoft_core_1.BaseMetaColumn(this, "llm_mini_provider_name", "Llm Mini Provider Name", "Enum", true),
28
- llm_mini_model_name: new namirasoft_core_1.BaseMetaColumn(this, "llm_mini_model_name", "Llm Mini Model Name", "String", true),
29
- llm_full_provider_name: new namirasoft_core_1.BaseMetaColumn(this, "llm_full_provider_name", "Llm Full Provider Name", "Enum", true),
30
- llm_full_model_name: new namirasoft_core_1.BaseMetaColumn(this, "llm_full_model_name", "Llm Full Model Name", "String", true),
27
+ llm_mini_provider_name: new namirasoft_core_1.BaseMetaColumn(this, "llm_mini_provider_name", "LLM Mini Provider Name", "Enum", true),
28
+ llm_mini_model_name: new namirasoft_core_1.BaseMetaColumn(this, "llm_mini_model_name", "LLM Mini Model Name", "String", true),
29
+ llm_full_provider_name: new namirasoft_core_1.BaseMetaColumn(this, "llm_full_provider_name", "LLM Full Provider Name", "Enum", true),
30
+ llm_full_model_name: new namirasoft_core_1.BaseMetaColumn(this, "llm_full_model_name", "LLM Full Model Name", "String", true),
31
31
  filter_cloud_ids: new namirasoft_core_1.BaseMetaColumn(this, "filter_cloud_ids", "Filter Cloud Ids", "Any", false),
32
32
  filter_server_ids: new namirasoft_core_1.BaseMetaColumn(this, "filter_server_ids", "Filter Server Ids", "Any", false),
33
33
  filter_kubernetes_ids: new namirasoft_core_1.BaseMetaColumn(this, "filter_kubernetes_ids", "Filter Kubernetes Ids", "Any", false),
@@ -23,10 +23,6 @@ export declare class RunMetaTable extends NSBaseMetaTable<NamirasoftExpertServer
23
23
  finished_at: BaseMetaColumn;
24
24
  created_at: BaseMetaColumn;
25
25
  updated_at: BaseMetaColumn;
26
- agent_id: BaseMetaColumn;
27
- type: BaseMetaColumn;
28
- name: BaseMetaColumn;
29
- description: BaseMetaColumn;
30
26
  };
31
27
  constructor(database: NSBaseMetaDatabase<NamirasoftExpertServer>);
32
28
  }
@@ -35,10 +35,6 @@ class RunMetaTable extends namirasoft_site_1.NSBaseMetaTable {
35
35
  finished_at: new namirasoft_core_1.BaseMetaColumn(this, "finished_at", "Finished At", "DateTime", false),
36
36
  created_at: new namirasoft_core_1.BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
37
37
  updated_at: new namirasoft_core_1.BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
38
- agent_id: new namirasoft_core_1.BaseMetaColumn(this, "agent_id", "Agent ID", "String", true),
39
- type: new namirasoft_core_1.BaseMetaColumn(this, "type", "Type", "Enum", true),
40
- name: new namirasoft_core_1.BaseMetaColumn(this, "name", "Name", "String", true),
41
- description: new namirasoft_core_1.BaseMetaColumn(this, "description", "Description", "String", true),
42
38
  };
43
39
  this.back_end.list = (filters, page, size, sorts) => __awaiter(this, void 0, void 0, function* () {
44
40
  let server = this.database.getServer();
@@ -1 +1 @@
1
- {"version":3,"file":"RunMetaTable.js","sourceRoot":"","sources":["../../src/meta/RunMet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EAAE,YAAY,EAAE,UAAU,EAAE,KAAK,CAAC;YACnF,WAAW,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,aAAa,EAAE,aAAa,EAAE,UAAU,EAAE,KAAK,CAAC;YACtF,UAAU,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,IAAI,CAAC;YAClF,UAAU,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,IAAI,CAAC;SACrF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAO,OAA4B,EAAE,IAAqB,EAAE,IAAqB,EAAE,KAAiB,EAAE,EAAE;YAEzH,IAAI,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,SAAS,EAAE,CAAC;YACvC,OAAO,MAAM,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;QAC7D,CAAC,CAAA,CAAC;QACF,IAAI,CAAC,SAAS,CAAC,UAAU,GAAG,GAAG,EAAE,CAAC,EAAE,CAAC;QACrC,IAAI,CAAC,SAAS,CAAC,aAAa,GAAG,GAAG,EAAE,CAAC,EAAE,CAAC;IAC5C,CAAC;CACJ;AAvDD,oCAuDC;AAAA,CAAC"}
@@ -1,5 +1,5 @@
1
- import { AgentLlmFullProviderName } from "../enum/AgentLlmFullProviderName";
2
- import { AgentLlmMiniProviderName } from "../enum/AgentLlmMiniProviderName";
1
+ import { AgentLLMFullProviderName } from "../enum/AgentLLMFullProviderName";
2
+ import { AgentLLMMiniProviderName } from "../enum/AgentLLMMiniProviderName";
3
3
  import { EntityCategoryInputRow } from "./EntityCategoryInputRow";
4
4
  import { EntityFieldInputRow } from "./EntityFieldInputRow";
5
5
  import { EntityTagInputRow } from "./EntityTagInputRow";
@@ -10,9 +10,9 @@ export type AgentInputRow = {
10
10
  target_topic_id: (string | null);
11
11
  log_group_id: (string | null);
12
12
  name: string;
13
- llm_mini_provider_name: AgentLlmMiniProviderName;
13
+ llm_mini_provider_name: AgentLLMMiniProviderName;
14
14
  llm_mini_model_name: string;
15
- llm_full_provider_name: AgentLlmFullProviderName;
15
+ llm_full_provider_name: AgentLLMFullProviderName;
16
16
  llm_full_model_name: string;
17
17
  filter_cloud_ids: (any | null);
18
18
  filter_server_ids: (any | null);
@@ -1,5 +1,5 @@
1
- import { AgentLlmFullProviderName } from "../enum/AgentLlmFullProviderName";
2
- import { AgentLlmMiniProviderName } from "../enum/AgentLlmMiniProviderName";
1
+ import { AgentLLMFullProviderName } from "../enum/AgentLLMFullProviderName";
2
+ import { AgentLLMMiniProviderName } from "../enum/AgentLLMMiniProviderName";
3
3
  export type AgentRow = {
4
4
  id: string;
5
5
  user_id: string;
@@ -9,9 +9,9 @@ export type AgentRow = {
9
9
  target_topic_id: (string | null);
10
10
  log_group_id: (string | null);
11
11
  name: string;
12
- llm_mini_provider_name: AgentLlmMiniProviderName;
12
+ llm_mini_provider_name: AgentLLMMiniProviderName;
13
13
  llm_mini_model_name: string;
14
- llm_full_provider_name: AgentLlmFullProviderName;
14
+ llm_full_provider_name: AgentLLMFullProviderName;
15
15
  llm_full_model_name: string;
16
16
  filter_cloud_ids: (any | null);
17
17
  filter_server_ids: (any | null);
@@ -7,7 +7,6 @@ import { AgentTrackResponse_PlanRow } from "./AgentTrackResponse_PlanRow";
7
7
  import { AgentTrackResponse_ReportPlanRow } from "./AgentTrackResponse_ReportPlanRow";
8
8
  import { AgentTrackResponse_StepRow } from "./AgentTrackResponse_StepRow";
9
9
  import { AgentTrackResponse_TaskRow } from "./AgentTrackResponse_TaskRow";
10
- import { AgentTrackResponse_TemplateRow } from "./AgentTrackResponse_TemplateRow";
11
10
  import { AgentTrackResponse_ToolRow } from "./AgentTrackResponse_ToolRow";
12
11
  import { RunStatus } from "../enum/RunStatus";
13
12
  export type AgentTrackResponseRow = {
@@ -15,10 +14,9 @@ export type AgentTrackResponseRow = {
15
14
  classification: (AgentTrackResponse_ClassificationRow | null);
16
15
  observation: (AgentTrackResponse_ObservationRow[] | null);
17
16
  tools: (AgentTrackResponse_ToolRow[] | null);
18
- templates: (AgentTrackResponse_TemplateRow[] | null);
19
17
  plans: AgentTrackResponse_PlanRow[];
20
18
  plans_compiled: any;
21
- plans_resrouces_requested: any;
19
+ plans_tools_requested: any;
22
20
  steps: AgentTrackResponse_StepRow[];
23
21
  step_processed: any;
24
22
  step_result: any;
@@ -27,7 +25,6 @@ export type AgentTrackResponseRow = {
27
25
  task_result: any;
28
26
  analyses: AgentTrackResponse_AnalyzerRow[];
29
27
  analyses_tools_retrieved: any;
30
- analyses_templates_retrieved: any;
31
28
  report_plan: (AgentTrackResponse_ReportPlanRow | null);
32
29
  report_raw: string;
33
30
  report: string;
@@ -1,4 +1,5 @@
1
1
  import { AgentTrackResponse_StepDefinitionRow } from "./AgentTrackResponse_StepDefinitionRow";
2
+ import { EntityType } from "../enum/EntityType";
2
3
  import { PlannerDecisionEnum } from "../enum/PlannerDecisionEnum";
3
4
  export type AgentTrackResponse_PlanOutputRow = {
4
5
  id: string;
@@ -7,5 +8,6 @@ export type AgentTrackResponse_PlanOutputRow = {
7
8
  reason: string;
8
9
  goal: string;
9
10
  question: string[];
10
- resource_hint: string;
11
+ tool_entity_types: EntityType[];
12
+ tool_hint: string;
11
13
  };
@@ -1,6 +1,7 @@
1
1
  import { AWorkflowStateType_ReportStrategy } from "../enum/AWorkflowStateType_ReportStrategy";
2
2
  export type AgentTrackResponse_ReportPlanRow = {
3
3
  strategy: AWorkflowStateType_ReportStrategy;
4
+ reason: string;
4
5
  sum_of_total_size: number;
5
6
  sum_of_excerpt_size: number;
6
7
  };
@@ -1,7 +1,5 @@
1
1
  import { AgentTrackResponse_ValueRow } from "./AgentTrackResponse_ValueRow";
2
- import { TaskTypeEnum } from "../enum/TaskTypeEnum";
3
2
  export type AgentTrackResponse_TaskDefinitionRow = {
4
3
  name: string;
5
- type: TaskTypeEnum;
6
4
  args: AgentTrackResponse_ValueRow[];
7
5
  };
@@ -1,4 +1,3 @@
1
- import { ChatType } from "../enum/ChatType";
2
1
  import { RunStatus } from "../enum/RunStatus";
3
2
  export type RunRow = {
4
3
  id: string;
@@ -20,8 +19,4 @@ export type RunRow = {
20
19
  finished_at: (Date | null);
21
20
  created_at: Date;
22
21
  updated_at: Date;
23
- agent_id: string;
24
- type: ChatType;
25
- name: string;
26
- description: string;
27
22
  };
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "framework": "npm",
9
9
  "application": "package",
10
10
  "private": false,
11
- "version": "1.4.60",
11
+ "version": "1.4.63",
12
12
  "author": "Amir Abolhasani",
13
13
  "license": "MIT",
14
14
  "main": "./dist/index.js",
@@ -17,7 +17,7 @@
17
17
  "build": ""
18
18
  },
19
19
  "dependencies": {
20
- "namirasoft-core": "^1.4.114",
20
+ "namirasoft-core": "^1.4.117",
21
21
  "namirasoft-site": "^1.4.45",
22
22
  "namirasoft-node-cli": "^1.4.13",
23
23
  "namirasoft-account": "^1.4.108"
@@ -51,7 +51,7 @@ export class NamirasoftExpertServer extends NSABaseServer
51
51
  test: NamirasoftExpertServerTest;
52
52
  constructor(base_url: string, token_manager: TokenManager, onError: (error: Error) => void)
53
53
  {
54
- super(base_url, `1.4.60`, token_manager, onError);
54
+ super(base_url, `1.4.63`, token_manager, onError);
55
55
  this.healthz = new NamirasoftExpertServerHealthz(this);
56
56
  this.health = new NamirasoftExpertServerHealth(this);
57
57
  this.metrics = new NamirasoftExpertServerMetrics(this);
@@ -31,6 +31,7 @@ export class NamirasoftExpertServerTask extends NamirasoftExpertServerBase
31
31
  super(server);
32
32
  this.List = this.List.bind(this);
33
33
  this.Get = this.Get.bind(this);
34
+ this.Download = this.Download.bind(this);
34
35
  }
35
36
  async List(run_id: string, config?: BaseServerConfig<any>): Promise<TaskListResponseRow>
36
37
  {
@@ -44,4 +45,10 @@ export class NamirasoftExpertServerTask extends NamirasoftExpertServerBase
44
45
  let { data } = await this.server._get<TaskGetResponseRow>(path, {}, config);
45
46
  return data;
46
47
  }
48
+ async Download(rid: string, config?: BaseServerConfig<any>): Promise<string>
49
+ {
50
+ let path = `/task/${rid}/download`;
51
+ let { data } = await this.server._get<string>(path, {}, config);
52
+ return data;
53
+ }
47
54
  };
@@ -19,6 +19,7 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseNavigatorCommand } from "namirasoft-node-cli";
22
+ import { TaskDownloadCommand } from "./TaskDownloadCommand";
22
23
  import { TaskGetCommand } from "./TaskGetCommand";
23
24
  import { TaskListCommand } from "./TaskListCommand";
24
25
 
@@ -29,6 +30,7 @@ export class TaskCommand extends BaseNavigatorCommand
29
30
  super(argv, {
30
31
  "list": TaskListCommand,
31
32
  "get": TaskGetCommand,
33
+ "download": TaskDownloadCommand,
32
34
  });
33
35
  }
34
36
  };
@@ -18,11 +18,28 @@
18
18
  /* */
19
19
  /****************************************************************/
20
20
 
21
- import { AWorkflowStateType_ResourceRequestedByType } from "../enum/AWorkflowStateType_ResourceRequestedByType";
21
+ import { BaseFinalCommand } from "namirasoft-node-cli";
22
+ import { IStorageMemoryDedicated } from "namirasoft-core";
23
+ import { NamirasoftExpertServer } from "../NamirasoftExpertServer";
24
+ import { TokenManager } from "namirasoft-account";
22
25
 
23
- export type AgentTrackResponse_TemplateRow =
26
+ export class TaskDownloadCommand extends BaseFinalCommand
27
+ {
28
+ constructor(argv: string[])
24
29
  {
25
- name: string;
26
- requested_by_type: AWorkflowStateType_ResourceRequestedByType;
27
- requested_by_rid: string;
28
- }
30
+ super(argv, ["rid"], []);
31
+ }
32
+ override async exec()
33
+ {
34
+ let token = this.app.storage.getNSAToken();
35
+ if (token == null)
36
+ throw new Error("Token is not available. Please login first using:\nns-expert account config \nor \nns-expert account login.");
37
+ let storage = new IStorageMemoryDedicated();
38
+ let token_manager = new TokenManager(storage, () => { });
39
+ token_manager.setValue(token, false);
40
+ let url = this.app.storage.getItem("ns-expert-server-url");
41
+ let server = new NamirasoftExpertServer(url, token_manager, e => this.app.logger.error(e.message));
42
+ let ans = await server.task.Download(this.arg_values[0]);
43
+ this.app.logger.success(JSON.stringify(ans));
44
+ }
45
+ };
@@ -18,7 +18,7 @@
18
18
  /* */
19
19
  /****************************************************************/
20
20
 
21
- export enum AgentLlmFullProviderName
21
+ export enum AgentLLMFullProviderName
22
22
  {
23
23
  OpenAI = "OpenAI",
24
24
  Anthropic = "Anthropic",
@@ -18,7 +18,7 @@
18
18
  /* */
19
19
  /****************************************************************/
20
20
 
21
- export enum AgentLlmMiniProviderName
21
+ export enum AgentLLMMiniProviderName
22
22
  {
23
23
  OpenAI = "OpenAI",
24
24
  Anthropic = "Anthropic",
@@ -21,6 +21,6 @@
21
21
  export enum PlannerDecisionEnum
22
22
  {
23
23
  clarification = "clarification",
24
- more_resources = "more_resources",
24
+ more_tools = "more_tools",
25
25
  execution = "execution",
26
26
  }
package/src/index.ts CHANGED
@@ -77,6 +77,7 @@ export * from "./command/RunCommand";
77
77
  export * from "./command/RunGetCommand";
78
78
  export * from "./command/RunListCommand";
79
79
  export * from "./command/TaskCommand";
80
+ export * from "./command/TaskDownloadCommand";
80
81
  export * from "./command/TaskGetCommand";
81
82
  export * from "./command/TaskListCommand";
82
83
  export * from "./command/TestCommand";
@@ -89,8 +90,8 @@ export * from "./enum/AWorkflowStateTypeClasificationPriority";
89
90
  export * from "./enum/AWorkflowStateType_Analyzer_Decision";
90
91
  export * from "./enum/AWorkflowStateType_ReportStrategy";
91
92
  export * from "./enum/AWorkflowStateType_ResourceRequestedByType";
92
- export * from "./enum/AgentLlmFullProviderName";
93
- export * from "./enum/AgentLlmMiniProviderName";
93
+ export * from "./enum/AgentLLMFullProviderName";
94
+ export * from "./enum/AgentLLMMiniProviderName";
94
95
  export * from "./enum/ChatType";
95
96
  export * from "./enum/ConditionOperationEnum";
96
97
  export * from "./enum/EntityType";
@@ -99,7 +100,6 @@ export * from "./enum/PlannerDecisionEnum";
99
100
  export * from "./enum/RunStatus";
100
101
  export * from "./enum/SortDirectionEnum";
101
102
  export * from "./enum/TaskTargetExecutionModeEnum";
102
- export * from "./enum/TaskTypeEnum";
103
103
  export * from "./enum/ValueTypeEnum";
104
104
  export * from "./meta/AgentCategoryMetaTable";
105
105
  export * from "./meta/AgentFieldMetaTable";
@@ -134,7 +134,6 @@ export * from "./row/AgentTrackResponse_TargetRow";
134
134
  export * from "./row/AgentTrackResponse_TaskDefinitionRow";
135
135
  export * from "./row/AgentTrackResponse_TaskEntityRow";
136
136
  export * from "./row/AgentTrackResponse_TaskRow";
137
- export * from "./row/AgentTrackResponse_TemplateRow";
138
137
  export * from "./row/AgentTrackResponse_ToolRow";
139
138
  export * from "./row/AgentTrackResponse_ValueRow";
140
139
  export * from "./row/ChatRow";
@@ -108,10 +108,10 @@ export class AgentMetaTable extends NSBaseMetaTable<NamirasoftExpertServer, Agen
108
108
  target_topic_id: new BaseMetaColumn(this, "target_topic_id", "Target Topic ID", "String", false),
109
109
  log_group_id: new BaseMetaColumn(this, "log_group_id", "Log Group ID", "String", false),
110
110
  name: new BaseMetaColumn(this, "name", "Name", "String", true),
111
- llm_mini_provider_name: new BaseMetaColumn(this, "llm_mini_provider_name", "Llm Mini Provider Name", "Enum", true),
112
- llm_mini_model_name: new BaseMetaColumn(this, "llm_mini_model_name", "Llm Mini Model Name", "String", true),
113
- llm_full_provider_name: new BaseMetaColumn(this, "llm_full_provider_name", "Llm Full Provider Name", "Enum", true),
114
- llm_full_model_name: new BaseMetaColumn(this, "llm_full_model_name", "Llm Full Model Name", "String", true),
111
+ llm_mini_provider_name: new BaseMetaColumn(this, "llm_mini_provider_name", "LLM Mini Provider Name", "Enum", true),
112
+ llm_mini_model_name: new BaseMetaColumn(this, "llm_mini_model_name", "LLM Mini Model Name", "String", true),
113
+ llm_full_provider_name: new BaseMetaColumn(this, "llm_full_provider_name", "LLM Full Provider Name", "Enum", true),
114
+ llm_full_model_name: new BaseMetaColumn(this, "llm_full_model_name", "LLM Full Model Name", "String", true),
115
115
  filter_cloud_ids: new BaseMetaColumn(this, "filter_cloud_ids", "Filter Cloud Ids", "Any", false),
116
116
  filter_server_ids: new BaseMetaColumn(this, "filter_server_ids", "Filter Server Ids", "Any", false),
117
117
  filter_kubernetes_ids: new BaseMetaColumn(this, "filter_kubernetes_ids", "Filter Kubernetes Ids", "Any", false),
@@ -46,10 +46,6 @@ export class RunMetaTable extends NSBaseMetaTable<NamirasoftExpertServer, RunRow
46
46
  finished_at: BaseMetaColumn;
47
47
  created_at: BaseMetaColumn;
48
48
  updated_at: BaseMetaColumn;
49
- agent_id: BaseMetaColumn;
50
- type: BaseMetaColumn;
51
- name: BaseMetaColumn;
52
- description: BaseMetaColumn;
53
49
  }
54
50
  constructor(database: NSBaseMetaDatabase<NamirasoftExpertServer>)
55
51
  {
@@ -74,10 +70,6 @@ export class RunMetaTable extends NSBaseMetaTable<NamirasoftExpertServer, RunRow
74
70
  finished_at: new BaseMetaColumn(this, "finished_at", "Finished At", "DateTime", false),
75
71
  created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
76
72
  updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
77
- agent_id: new BaseMetaColumn(this, "agent_id", "Agent ID", "String", true),
78
- type: new BaseMetaColumn(this, "type", "Type", "Enum", true),
79
- name: new BaseMetaColumn(this, "name", "Name", "String", true),
80
- description: new BaseMetaColumn(this, "description", "Description", "String", true),
81
73
  };
82
74
  this.back_end.list = async (filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[]) =>
83
75
  {
@@ -18,8 +18,8 @@
18
18
  /* */
19
19
  /****************************************************************/
20
20
 
21
- import { AgentLlmFullProviderName } from "../enum/AgentLlmFullProviderName";
22
- import { AgentLlmMiniProviderName } from "../enum/AgentLlmMiniProviderName";
21
+ import { AgentLLMFullProviderName } from "../enum/AgentLLMFullProviderName";
22
+ import { AgentLLMMiniProviderName } from "../enum/AgentLLMMiniProviderName";
23
23
  import { EntityCategoryInputRow } from "./EntityCategoryInputRow";
24
24
  import { EntityFieldInputRow } from "./EntityFieldInputRow";
25
25
  import { EntityTagInputRow } from "./EntityTagInputRow";
@@ -32,9 +32,9 @@ export type AgentInputRow =
32
32
  target_topic_id: (string | null);
33
33
  log_group_id: (string | null);
34
34
  name: string;
35
- llm_mini_provider_name: AgentLlmMiniProviderName;
35
+ llm_mini_provider_name: AgentLLMMiniProviderName;
36
36
  llm_mini_model_name: string;
37
- llm_full_provider_name: AgentLlmFullProviderName;
37
+ llm_full_provider_name: AgentLLMFullProviderName;
38
38
  llm_full_model_name: string;
39
39
  filter_cloud_ids: (any | null);
40
40
  filter_server_ids: (any | null);
@@ -18,8 +18,8 @@
18
18
  /* */
19
19
  /****************************************************************/
20
20
 
21
- import { AgentLlmFullProviderName } from "../enum/AgentLlmFullProviderName";
22
- import { AgentLlmMiniProviderName } from "../enum/AgentLlmMiniProviderName";
21
+ import { AgentLLMFullProviderName } from "../enum/AgentLLMFullProviderName";
22
+ import { AgentLLMMiniProviderName } from "../enum/AgentLLMMiniProviderName";
23
23
 
24
24
  export type AgentRow =
25
25
  {
@@ -31,9 +31,9 @@ export type AgentRow =
31
31
  target_topic_id: (string | null);
32
32
  log_group_id: (string | null);
33
33
  name: string;
34
- llm_mini_provider_name: AgentLlmMiniProviderName;
34
+ llm_mini_provider_name: AgentLLMMiniProviderName;
35
35
  llm_mini_model_name: string;
36
- llm_full_provider_name: AgentLlmFullProviderName;
36
+ llm_full_provider_name: AgentLLMFullProviderName;
37
37
  llm_full_model_name: string;
38
38
  filter_cloud_ids: (any | null);
39
39
  filter_server_ids: (any | null);
@@ -27,7 +27,6 @@ import { AgentTrackResponse_PlanRow } from "./AgentTrackResponse_PlanRow";
27
27
  import { AgentTrackResponse_ReportPlanRow } from "./AgentTrackResponse_ReportPlanRow";
28
28
  import { AgentTrackResponse_StepRow } from "./AgentTrackResponse_StepRow";
29
29
  import { AgentTrackResponse_TaskRow } from "./AgentTrackResponse_TaskRow";
30
- import { AgentTrackResponse_TemplateRow } from "./AgentTrackResponse_TemplateRow";
31
30
  import { AgentTrackResponse_ToolRow } from "./AgentTrackResponse_ToolRow";
32
31
  import { RunStatus } from "../enum/RunStatus";
33
32
 
@@ -37,10 +36,9 @@ export type AgentTrackResponseRow =
37
36
  classification: (AgentTrackResponse_ClassificationRow | null);
38
37
  observation: (AgentTrackResponse_ObservationRow[] | null);
39
38
  tools: (AgentTrackResponse_ToolRow[] | null);
40
- templates: (AgentTrackResponse_TemplateRow[] | null);
41
39
  plans: AgentTrackResponse_PlanRow[];
42
40
  plans_compiled: any;
43
- plans_resrouces_requested: any;
41
+ plans_tools_requested: any;
44
42
  steps: AgentTrackResponse_StepRow[];
45
43
  step_processed: any;
46
44
  step_result: any;
@@ -49,7 +47,6 @@ export type AgentTrackResponseRow =
49
47
  task_result: any;
50
48
  analyses: AgentTrackResponse_AnalyzerRow[];
51
49
  analyses_tools_retrieved: any;
52
- analyses_templates_retrieved: any;
53
50
  report_plan: (AgentTrackResponse_ReportPlanRow | null);
54
51
  report_raw: string;
55
52
  report: string;
@@ -19,6 +19,7 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { AgentTrackResponse_StepDefinitionRow } from "./AgentTrackResponse_StepDefinitionRow";
22
+ import { EntityType } from "../enum/EntityType";
22
23
  import { PlannerDecisionEnum } from "../enum/PlannerDecisionEnum";
23
24
 
24
25
  export type AgentTrackResponse_PlanOutputRow =
@@ -29,5 +30,6 @@ export type AgentTrackResponse_PlanOutputRow =
29
30
  reason: string;
30
31
  goal: string;
31
32
  question: string[];
32
- resource_hint: string;
33
+ tool_entity_types: EntityType[];
34
+ tool_hint: string;
33
35
  }
@@ -23,6 +23,7 @@ import { AWorkflowStateType_ReportStrategy } from "../enum/AWorkflowStateType_Re
23
23
  export type AgentTrackResponse_ReportPlanRow =
24
24
  {
25
25
  strategy: AWorkflowStateType_ReportStrategy;
26
+ reason: string;
26
27
  sum_of_total_size: number;
27
28
  sum_of_excerpt_size: number;
28
29
  }
@@ -19,11 +19,9 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { AgentTrackResponse_ValueRow } from "./AgentTrackResponse_ValueRow";
22
- import { TaskTypeEnum } from "../enum/TaskTypeEnum";
23
22
 
24
23
  export type AgentTrackResponse_TaskDefinitionRow =
25
24
  {
26
25
  name: string;
27
- type: TaskTypeEnum;
28
26
  args: AgentTrackResponse_ValueRow[];
29
27
  }
package/src/row/RunRow.ts CHANGED
@@ -18,7 +18,6 @@
18
18
  /* */
19
19
  /****************************************************************/
20
20
 
21
- import { ChatType } from "../enum/ChatType";
22
21
  import { RunStatus } from "../enum/RunStatus";
23
22
 
24
23
  export type RunRow =
@@ -42,8 +41,4 @@ export type RunRow =
42
41
  finished_at: (Date | null);
43
42
  created_at: Date;
44
43
  updated_at: Date;
45
- agent_id: string;
46
- type: ChatType;
47
- name: string;
48
- description: string;
49
44
  }
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AgentLlmFullProviderName = void 0;
4
- var AgentLlmFullProviderName;
5
- (function (AgentLlmFullProviderName) {
6
- AgentLlmFullProviderName["OpenAI"] = "OpenAI";
7
- AgentLlmFullProviderName["Anthropic"] = "Anthropic";
8
- AgentLlmFullProviderName["DeepSeek"] = "DeepSeek";
9
- })(AgentLlmFullProviderName || (exports.AgentLlmFullProviderName = AgentLlmFullProviderName = {}));
10
- //# sourceMappingURL=AgentLlmFullProviderName.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AgentLlmFullProviderName.js","sourceRoot":"","sources":["../../src/enum/AgentLlmFullProviderName.ts"],"names":[],"mappings":";;;AAoBA,IAAY,wBAKX;AALD,WAAY,wBAAwB;IAEhC,6CAAiB,CAAA;IACjB,mDAAuB,CAAA;IACvB,iDAAqB,CAAA;AACzB,CAAC,EALW,wBAAwB,wCAAxB,wBAAwB,QAKnC"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AgentLlmMiniProviderName = void 0;
4
- var AgentLlmMiniProviderName;
5
- (function (AgentLlmMiniProviderName) {
6
- AgentLlmMiniProviderName["OpenAI"] = "OpenAI";
7
- AgentLlmMiniProviderName["Anthropic"] = "Anthropic";
8
- AgentLlmMiniProviderName["DeepSeek"] = "DeepSeek";
9
- })(AgentLlmMiniProviderName || (exports.AgentLlmMiniProviderName = AgentLlmMiniProviderName = {}));
10
- //# sourceMappingURL=AgentLlmMiniProviderName.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AgentLlmMiniProviderName.js","sourceRoot":"","sources":["../../src/enum/AgentLlmMiniProviderName.ts"],"names":[],"mappings":";;;AAoBA,IAAY,wBAKX;AALD,WAAY,wBAAwB;IAEhC,6CAAiB,CAAA;IACjB,mDAAuB,CAAA;IACvB,iDAAqB,CAAA;AACzB,CAAC,EALW,wBAAwB,wCAAxB,wBAAwB,QAKnC"}
@@ -1,4 +0,0 @@
1
- export declare enum TaskTypeEnum {
2
- tool = "tool",
3
- template = "template"
4
- }
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TaskTypeEnum = void 0;
4
- var TaskTypeEnum;
5
- (function (TaskTypeEnum) {
6
- TaskTypeEnum["tool"] = "tool";
7
- TaskTypeEnum["template"] = "template";
8
- })(TaskTypeEnum || (exports.TaskTypeEnum = TaskTypeEnum = {}));
9
- //# sourceMappingURL=TaskTypeEnum.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TaskTypeEnum.js","sourceRoot":"","sources":["../../src/enum/TaskTypeEnum.ts"],"names":[],"mappings":";;;AAoBA,IAAY,YAIX;AAJD,WAAY,YAAY;IAEpB,6BAAa,CAAA;IACb,qCAAqB,CAAA;AACzB,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB"}
@@ -1,6 +0,0 @@
1
- import { AWorkflowStateType_ResourceRequestedByType } from "../enum/AWorkflowStateType_ResourceRequestedByType";
2
- export type AgentTrackResponse_TemplateRow = {
3
- name: string;
4
- requested_by_type: AWorkflowStateType_ResourceRequestedByType;
5
- requested_by_rid: string;
6
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=AgentTrackResponse_TemplateRow.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AgentTrackResponse_TemplateRow.js","sourceRoot":"","sources":["../../src/row/AgentTrackResponse_TemplateRow.ts"],"names":[],"mappings":""}
@@ -1,25 +0,0 @@
1
- /****************************************************************/
2
- /* */
3
- /* This is an Auto-Generated File */
4
- /* Made By */
5
- /* Namirasoft SDK Generator NPM Package */
6
- /* */
7
- /****************************************************************/
8
- /****************************************************************/
9
- /* */
10
- /* Please do not make any change to this file */
11
- /* If any change is required, ns-sdkg command must be used */
12
- /* */
13
- /****************************************************************/
14
- /****************************************************************/
15
- /* */
16
- /* Namira Software Corporation */
17
- /* https://namirasoft.com */
18
- /* */
19
- /****************************************************************/
20
-
21
- export enum TaskTypeEnum
22
- {
23
- tool = "tool",
24
- template = "template",
25
- }