@stack-spot/portal-network 0.172.2 → 0.172.3-beta.1
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.
- package/CHANGELOG.md +191 -0
- package/dist/api/account.d.ts +19 -11
- package/dist/api/account.d.ts.map +1 -1
- package/dist/api/account.js +2 -2
- package/dist/api/account.js.map +1 -1
- package/dist/api/agent-tools.d.ts +1 -0
- package/dist/api/agent-tools.d.ts.map +1 -1
- package/dist/api/agent-tools.js.map +1 -1
- package/dist/api/ai.d.ts +2 -1
- package/dist/api/ai.d.ts.map +1 -1
- package/dist/api/ai.js.map +1 -1
- package/dist/api/codeShift.d.ts +483 -18
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +204 -0
- package/dist/api/codeShift.js.map +1 -1
- package/dist/client/account.d.ts +16 -0
- package/dist/client/account.d.ts.map +1 -1
- package/dist/client/account.js +10 -1
- package/dist/client/account.js.map +1 -1
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +3 -8
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/ai.js +3 -3
- package/dist/client/ai.js.map +1 -1
- package/dist/client/code-shift.d.ts +171 -23
- package/dist/client/code-shift.d.ts.map +1 -1
- package/dist/client/code-shift.js +97 -7
- package/dist/client/code-shift.js.map +1 -1
- package/dist/error/dictionary/agent-tools.d.ts +75 -0
- package/dist/error/dictionary/agent-tools.d.ts.map +1 -0
- package/dist/error/dictionary/agent-tools.js +75 -0
- package/dist/error/dictionary/agent-tools.js.map +1 -0
- package/package.json +2 -2
- package/readme.md +1 -1
- package/src/api/account.ts +21 -12
- package/src/api/agent-tools.ts +4 -0
- package/src/api/agent.ts +2 -0
- package/src/api/ai.ts +2 -1
- package/src/api/codeShift.ts +843 -28
- package/src/api/notification.ts +2 -0
- package/src/client/account.ts +5 -0
- package/src/client/agent-tools.ts +4 -8
- package/src/client/ai.ts +4 -3
- package/src/client/code-shift.ts +68 -7
- package/src/error/dictionary/agent-tools.ts +76 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { analyticsRepositoryLastReportStatusDownloadV1AnalyticsRepositoriesLastReportStatusDownloadGet, analyticsRepositoryLastReportStatusV1AnalyticsRepositoriesLastReportStatusGet, analyticsRepositoryUsageDownloadV1AnalyticsRepositoriesUsageDownloadGet, analyticsRepositoryUsageV1AnalyticsRepositoriesUsageGet, analyticsProgramGroupsLastReportStatusDownloadV1AnalyticsProgramGroupsLastReportStatusDownloadGet, analyticsProgramGroupsLastReportStatusV1AnalyticsProgramGroupsLastReportStatusGet, analyticsProgramGroupsUsageDownloadV1AnalyticsProgramGroupsUsageDownloadGet, analyticsProgramGroupsUsageV1AnalyticsProgramGroupsUsageGet, analyticsUserUsageDownloadV1AnalyticsUsersUsageDownloadGet, analyticsUserUsageV1AnalyticsUsersUsageGet, checkRoleRouteV1RolesRoleGet, createAccountSettingsV1SettingsPut, createIntegrationServiceV1IntegrationsPost, createModuleServiceV1ModulesPost, createProgramGroupServiceV1ProgramGroupsPost, createReposBatchServiceV1ReposBatchPost, createRepositoryServiceV1ReposPost, defaults, deleteIntegrationServiceV1IntegrationsIntegrationIdDelete, deleteProgramGroupServiceV1ProgramGroupsProgramGroupIdDelete, deleteRepositoryServiceV1ReposRepositoryIdDelete, dispatchModuleServiceV1ModulesDispatchesPost, downloadReportV1ReportsReportIdDownloadGet, downloadSearchReposScmServiceV1ReposSearchScmSearchRepoIdDownloadGet, generalReportSuccessAndErrorsV1AnalyticsReportsGeneralSuccessAndErrorsGet, getAccountSettingsV1SettingsGet, getIntegrationByIdServiceV1IntegrationsIntegrationIdGet, getProgramGroupByIdServiceV1ProgramGroupsProgramGroupIdGet, getReportPullRequestContentV1ReportsReportIdPullRequestGet, getReportV1ReportsReportIdGet, getRepositoryByIdServiceV1ReposRepositoryIdGet, getStatusSearchReposScmServiceV1ReposSearchScmSearchRepoIdStatusGet, listBranchesServiceV1ReposBranchesGet, listIntegrationServiceV1IntegrationsGet, listModulesServiceV1ModulesGet, listProgramGroupReportServiceV1ProgramGroupsProgramGroupIdReportsGet, listProgramGroupServiceV1ProgramGroupsGet, listRepositoryReportV1ReposRepositoryIdReportsGet, listRepositoryServiceV1ReposGet, listTagsServiceV1TagsGet, searchReposScmServiceV1ReposSearchScmGet, updateIntegrationServiceV1IntegrationsIntegrationIdPut, updateProgramGroupComponentsServiceV1ProgramGroupsProgramGroupIdComponentsPut, updateProgramGroupServiceV1ProgramGroupsProgramGroupIdPut, updateRepositoryServiceV1ReposRepositoryIdPut, validateScmUrlServiceV1ReposValidateScmUrlPost, listUserServiceV1UsersGet, } from '../api/codeShift.js';
|
|
1
|
+
import { analyticsRepositoryLastReportStatusDownloadV1AnalyticsRepositoriesLastReportStatusDownloadGet, analyticsRepositoryLastReportStatusV1AnalyticsRepositoriesLastReportStatusGet, analyticsRepositoryUsageDownloadV1AnalyticsRepositoriesUsageDownloadGet, analyticsRepositoryUsageV1AnalyticsRepositoriesUsageGet, analyticsProgramGroupsLastReportStatusDownloadV1AnalyticsProgramGroupsLastReportStatusDownloadGet, analyticsProgramGroupsLastReportStatusV1AnalyticsProgramGroupsLastReportStatusGet, analyticsProgramGroupsUsageDownloadV1AnalyticsProgramGroupsUsageDownloadGet, analyticsProgramGroupsUsageV1AnalyticsProgramGroupsUsageGet, analyticsUserUsageDownloadV1AnalyticsUsersUsageDownloadGet, analyticsUserUsageV1AnalyticsUsersUsageGet, checkRoleRouteV1RolesRoleGet, createAccountSettingsV1SettingsPut, createIntegrationServiceV1IntegrationsPost, createModuleServiceV1ModulesPost, createProgramGroupServiceV1ProgramGroupsPost, createReposBatchServiceV1ReposBatchPost, createRepositoryServiceV1ReposPost, defaults, deleteIntegrationServiceV1IntegrationsIntegrationIdDelete, deleteProgramGroupServiceV1ProgramGroupsProgramGroupIdDelete, deleteRepositoryServiceV1ReposRepositoryIdDelete, dispatchModuleServiceV1ModulesDispatchesPost, downloadReportV1ReportsReportIdDownloadGet, downloadSearchReposScmServiceV1ReposSearchScmSearchRepoIdDownloadGet, generalReportSuccessAndErrorsV1AnalyticsReportsGeneralSuccessAndErrorsGet, getAccountSettingsV1SettingsGet, getIntegrationByIdServiceV1IntegrationsIntegrationIdGet, getProgramGroupByIdServiceV1ProgramGroupsProgramGroupIdGet, getReportPullRequestContentV1ReportsReportIdPullRequestGet, getReportV1ReportsReportIdGet, getRepositoryByIdServiceV1ReposRepositoryIdGet, getStatusSearchReposScmServiceV1ReposSearchScmSearchRepoIdStatusGet, listBranchesServiceV1ReposBranchesGet, listIntegrationServiceV1IntegrationsGet, listModulesServiceV1ModulesGet, listProgramGroupReportServiceV1ProgramGroupsProgramGroupIdReportsGet, listProgramGroupServiceV1ProgramGroupsGet, listRepositoryReportV1ReposRepositoryIdReportsGet, listRepositoryServiceV1ReposGet, listTagsServiceV1TagsGet, searchReposScmServiceV1ReposSearchScmGet, updateIntegrationServiceV1IntegrationsIntegrationIdPut, updateProgramGroupComponentsServiceV1ProgramGroupsProgramGroupIdComponentsPut, updateProgramGroupServiceV1ProgramGroupsProgramGroupIdPut, updateRepositoryServiceV1ReposRepositoryIdPut, validateScmUrlServiceV1ReposValidateScmUrlPost, listUserServiceV1UsersGet, analyticsProgramGroupsDetailsV1AnalyticsProgramGroupsDetailsGet, analyticsProgramGroupsDetailsDownloadV1AnalyticsProgramGroupsDetailsDownloadGet, getModuleInputsV1ModulesModuleIdInputsGet, analyticsRepositoryDetailedReportDownloadV1AnalyticsRepositoriesDetailsDownloadGet, analyticsRepositoryDetailedReportV1AnalyticsRepositoriesDetailsGet, listRepositoryDownloadServiceV1ReposDownloadGet, listProgramGroupDownloadServiceV1ProgramGroupsDownloadGet, getModuleV1ModulesModuleIdGet, analyticsProgramGroupsTargetDetailsV1AnalyticsProgramGroupsTargetDetailsGet, analyticsProgramGroupsTargetDetailsDownloadV1AnalyticsProgramGroupsTargetDetailsDownloadGet, } from '../api/codeShift.js';
|
|
2
2
|
import { DefaultAPIError } from '../error/DefaultAPIError.js';
|
|
3
3
|
import { codeShiftDictionary } from '../error/dictionary/code-shift.js';
|
|
4
4
|
import { ReactQueryNetworkClient } from '../network/ReactQueryNetworkClient.js';
|
|
@@ -61,6 +61,15 @@ class CodeShift extends ReactQueryNetworkClient {
|
|
|
61
61
|
writable: true,
|
|
62
62
|
value: this.mutation(removeAuthorizationParam(updateRepositoryServiceV1ReposRepositoryIdPut))
|
|
63
63
|
});
|
|
64
|
+
/**
|
|
65
|
+
* List Repository Download Service
|
|
66
|
+
*/
|
|
67
|
+
Object.defineProperty(this, "repositoryDownload", {
|
|
68
|
+
enumerable: true,
|
|
69
|
+
configurable: true,
|
|
70
|
+
writable: true,
|
|
71
|
+
value: this.query(removeAuthorizationParam(listRepositoryDownloadServiceV1ReposDownloadGet))
|
|
72
|
+
});
|
|
64
73
|
/**
|
|
65
74
|
* Get a report for a pull request by id.
|
|
66
75
|
*/
|
|
@@ -79,6 +88,24 @@ class CodeShift extends ReactQueryNetworkClient {
|
|
|
79
88
|
writable: true,
|
|
80
89
|
value: this.query(removeAuthorizationParam(listModulesServiceV1ModulesGet))
|
|
81
90
|
});
|
|
91
|
+
/**
|
|
92
|
+
* Gets module by id.
|
|
93
|
+
*/
|
|
94
|
+
Object.defineProperty(this, "module", {
|
|
95
|
+
enumerable: true,
|
|
96
|
+
configurable: true,
|
|
97
|
+
writable: true,
|
|
98
|
+
value: this.query(removeAuthorizationParam(getModuleV1ModulesModuleIdGet))
|
|
99
|
+
});
|
|
100
|
+
/**
|
|
101
|
+
* Gets module inputs.
|
|
102
|
+
*/
|
|
103
|
+
Object.defineProperty(this, "modulesInputs", {
|
|
104
|
+
enumerable: true,
|
|
105
|
+
configurable: true,
|
|
106
|
+
writable: true,
|
|
107
|
+
value: this.query(removeAuthorizationParam(getModuleInputsV1ModulesModuleIdInputsGet))
|
|
108
|
+
});
|
|
82
109
|
/**
|
|
83
110
|
* Creates a module.
|
|
84
111
|
*/
|
|
@@ -287,6 +314,15 @@ class CodeShift extends ReactQueryNetworkClient {
|
|
|
287
314
|
writable: true,
|
|
288
315
|
value: this.mutation(removeAuthorizationParam(deleteProgramGroupServiceV1ProgramGroupsProgramGroupIdDelete))
|
|
289
316
|
});
|
|
317
|
+
/**
|
|
318
|
+
* List Program Group Download Service
|
|
319
|
+
*/
|
|
320
|
+
Object.defineProperty(this, "programGroupDownload", {
|
|
321
|
+
enumerable: true,
|
|
322
|
+
configurable: true,
|
|
323
|
+
writable: true,
|
|
324
|
+
value: this.query(removeAuthorizationParam(listProgramGroupDownloadServiceV1ProgramGroupsDownloadGet))
|
|
325
|
+
});
|
|
290
326
|
/**
|
|
291
327
|
* Gets list of tags.
|
|
292
328
|
*/
|
|
@@ -360,13 +396,13 @@ class CodeShift extends ReactQueryNetworkClient {
|
|
|
360
396
|
value: this.query(removeAuthorizationParam(analyticsProgramGroupsLastReportStatusV1AnalyticsProgramGroupsLastReportStatusGet))
|
|
361
397
|
});
|
|
362
398
|
/**
|
|
363
|
-
* Analytics Program Groups
|
|
399
|
+
* Analytics Program Groups Last Report Status Download
|
|
364
400
|
*/
|
|
365
|
-
Object.defineProperty(this, "
|
|
401
|
+
Object.defineProperty(this, "analyticsProgramGroupsLastReportStatusDownload", {
|
|
366
402
|
enumerable: true,
|
|
367
403
|
configurable: true,
|
|
368
404
|
writable: true,
|
|
369
|
-
value: this.query(removeAuthorizationParam(
|
|
405
|
+
value: this.query(removeAuthorizationParam(analyticsProgramGroupsLastReportStatusDownloadV1AnalyticsProgramGroupsLastReportStatusDownloadGet))
|
|
370
406
|
});
|
|
371
407
|
/**
|
|
372
408
|
* Analytics User Usage
|
|
@@ -396,13 +432,13 @@ class CodeShift extends ReactQueryNetworkClient {
|
|
|
396
432
|
value: this.query(removeAuthorizationParam(analyticsRepositoryUsageDownloadV1AnalyticsRepositoriesUsageDownloadGet))
|
|
397
433
|
});
|
|
398
434
|
/**
|
|
399
|
-
* Analytics Program Groups
|
|
435
|
+
* Analytics Program Groups Usage
|
|
400
436
|
*/
|
|
401
|
-
Object.defineProperty(this, "
|
|
437
|
+
Object.defineProperty(this, "analyticsProgramGroupsUsage", {
|
|
402
438
|
enumerable: true,
|
|
403
439
|
configurable: true,
|
|
404
440
|
writable: true,
|
|
405
|
-
value: this.query(removeAuthorizationParam(
|
|
441
|
+
value: this.query(removeAuthorizationParam(analyticsProgramGroupsUsageV1AnalyticsProgramGroupsUsageGet))
|
|
406
442
|
});
|
|
407
443
|
/**
|
|
408
444
|
* Analytics Program Groups Usage Download
|
|
@@ -422,6 +458,60 @@ class CodeShift extends ReactQueryNetworkClient {
|
|
|
422
458
|
writable: true,
|
|
423
459
|
value: this.query(removeAuthorizationParam(listUserServiceV1UsersGet))
|
|
424
460
|
});
|
|
461
|
+
/**
|
|
462
|
+
* Analytics Program Groups Details
|
|
463
|
+
*/
|
|
464
|
+
Object.defineProperty(this, "analyticsProgramGroupsDetails", {
|
|
465
|
+
enumerable: true,
|
|
466
|
+
configurable: true,
|
|
467
|
+
writable: true,
|
|
468
|
+
value: this.query(removeAuthorizationParam(analyticsProgramGroupsDetailsV1AnalyticsProgramGroupsDetailsGet))
|
|
469
|
+
});
|
|
470
|
+
/**
|
|
471
|
+
* Analytics Program Groups Details Download
|
|
472
|
+
*/
|
|
473
|
+
Object.defineProperty(this, "analyticsProgramGroupsDetailsDownload", {
|
|
474
|
+
enumerable: true,
|
|
475
|
+
configurable: true,
|
|
476
|
+
writable: true,
|
|
477
|
+
value: this.query(removeAuthorizationParam(analyticsProgramGroupsDetailsDownloadV1AnalyticsProgramGroupsDetailsDownloadGet))
|
|
478
|
+
});
|
|
479
|
+
/**
|
|
480
|
+
* Analytics Program Groups Details
|
|
481
|
+
*/
|
|
482
|
+
Object.defineProperty(this, "analyticsRepositoryDetails", {
|
|
483
|
+
enumerable: true,
|
|
484
|
+
configurable: true,
|
|
485
|
+
writable: true,
|
|
486
|
+
value: this.query(removeAuthorizationParam(analyticsRepositoryDetailedReportV1AnalyticsRepositoriesDetailsGet))
|
|
487
|
+
});
|
|
488
|
+
/**
|
|
489
|
+
* Analytics Program Groups Details Download
|
|
490
|
+
*/
|
|
491
|
+
Object.defineProperty(this, "analyticsRepositoryDetailsDownload", {
|
|
492
|
+
enumerable: true,
|
|
493
|
+
configurable: true,
|
|
494
|
+
writable: true,
|
|
495
|
+
value: this.query(removeAuthorizationParam(analyticsRepositoryDetailedReportDownloadV1AnalyticsRepositoriesDetailsDownloadGet))
|
|
496
|
+
});
|
|
497
|
+
/**
|
|
498
|
+
* Analytics Program Groups Target Details
|
|
499
|
+
*/
|
|
500
|
+
Object.defineProperty(this, "analyticsProgramGroupsTargetDetails", {
|
|
501
|
+
enumerable: true,
|
|
502
|
+
configurable: true,
|
|
503
|
+
writable: true,
|
|
504
|
+
value: this.query(removeAuthorizationParam(analyticsProgramGroupsTargetDetailsV1AnalyticsProgramGroupsTargetDetailsGet))
|
|
505
|
+
});
|
|
506
|
+
/**
|
|
507
|
+
* Analytics Program Groups Target Details Download
|
|
508
|
+
*/
|
|
509
|
+
Object.defineProperty(this, "analyticsProgramGroupsTargetDetailsDownload", {
|
|
510
|
+
enumerable: true,
|
|
511
|
+
configurable: true,
|
|
512
|
+
writable: true,
|
|
513
|
+
value: this.query(removeAuthorizationParam(analyticsProgramGroupsTargetDetailsDownloadV1AnalyticsProgramGroupsTargetDetailsDownloadGet))
|
|
514
|
+
});
|
|
425
515
|
}
|
|
426
516
|
buildStackSpotError(error) {
|
|
427
517
|
return new DefaultAPIError(error.data, error.status, codeShiftDictionary, error.headers);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-shift.js","sourceRoot":"","sources":["../../src/client/code-shift.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,6FAA6F,EAC7F,6EAA6E,EAC7E,uEAAuE,EACvE,uDAAuD,EACvD,iGAAiG,EACjG,iFAAiF,EACjF,2EAA2E,EAC3E,2DAA2D,EAC3D,0DAA0D,EAC1D,0CAA0C,EAC1C,4BAA4B,EAC5B,kCAAkC,EAClC,0CAA0C,EAC1C,gCAAgC,EAChC,4CAA4C,EAC5C,uCAAuC,EACvC,kCAAkC,EAClC,QAAQ,EACR,yDAAyD,EACzD,4DAA4D,EAC5D,gDAAgD,EAChD,4CAA4C,EAC5C,0CAA0C,EAC1C,oEAAoE,EACpE,yEAAyE,EACzE,+BAA+B,EAC/B,uDAAuD,EACvD,0DAA0D,EAC1D,0DAA0D,EAC1D,6BAA6B,EAC7B,8CAA8C,EAC9C,mEAAmE,EACnE,qCAAqC,EACrC,uCAAuC,EACvC,8BAA8B,EAC9B,oEAAoE,EACpE,yCAAyC,EACzC,iDAAiD,EACjD,+BAA+B,EAC/B,wBAAwB,EACxB,wCAAwC,EACxC,sDAAsD,EACtD,6EAA6E,EAC7E,yDAAyD,EACzD,6CAA6C,EAC7C,8CAA8C,EAC9C,yBAAyB,
|
|
1
|
+
{"version":3,"file":"code-shift.js","sourceRoot":"","sources":["../../src/client/code-shift.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,6FAA6F,EAC7F,6EAA6E,EAC7E,uEAAuE,EACvE,uDAAuD,EACvD,iGAAiG,EACjG,iFAAiF,EACjF,2EAA2E,EAC3E,2DAA2D,EAC3D,0DAA0D,EAC1D,0CAA0C,EAC1C,4BAA4B,EAC5B,kCAAkC,EAClC,0CAA0C,EAC1C,gCAAgC,EAChC,4CAA4C,EAC5C,uCAAuC,EACvC,kCAAkC,EAClC,QAAQ,EACR,yDAAyD,EACzD,4DAA4D,EAC5D,gDAAgD,EAChD,4CAA4C,EAC5C,0CAA0C,EAC1C,oEAAoE,EACpE,yEAAyE,EACzE,+BAA+B,EAC/B,uDAAuD,EACvD,0DAA0D,EAC1D,0DAA0D,EAC1D,6BAA6B,EAC7B,8CAA8C,EAC9C,mEAAmE,EACnE,qCAAqC,EACrC,uCAAuC,EACvC,8BAA8B,EAC9B,oEAAoE,EACpE,yCAAyC,EACzC,iDAAiD,EACjD,+BAA+B,EAC/B,wBAAwB,EACxB,wCAAwC,EACx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AA;IAC1F,CAAC;CAiQF;AAED,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,SAAS,EAAE,CAAA"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
export declare const agentToolsDictionary: {
|
|
2
|
+
en: {
|
|
3
|
+
AGENT_1000_INVALID_JWT: string;
|
|
4
|
+
AGENT_1001_DECODE_JWT_ERROR: string;
|
|
5
|
+
AGENTS_6000_FORBIDDEN_1: string;
|
|
6
|
+
AGENTS_6000_FORBIDDEN_2: string;
|
|
7
|
+
AGENTS_6000_FORBIDDEN_3: string;
|
|
8
|
+
AGENT_1002_STRUCT_OUTPUT_WITH_BUILTIN_TOOLS_NOT_PERMITED: string;
|
|
9
|
+
AGENT_1003_REQUIRED_LLM_PARAM_NOT_PROVIDED: string;
|
|
10
|
+
AGENT_1004_INVALID_LLM_PARAM: string;
|
|
11
|
+
AGENT_1005_INVALID_KNOWLEDGE_SOURCE_ID: string;
|
|
12
|
+
AGENT_1006_INVALID_LLM_PARAM_VALUE_TYPE: string;
|
|
13
|
+
AGENT_1007_LLM_PARAM_VALUE_IS_REQUIRED: string;
|
|
14
|
+
AGENT_1008_INVALID_ULID_FOR_MODEL_ID: string;
|
|
15
|
+
AGENT_1009_INVALID_STRUCTURE_OUTPUT_SCHEMA: string;
|
|
16
|
+
AGENT_1010_STRUCTURED_OUTPUT_SCHEMA_CONTAINS_INVALID_DATA: string;
|
|
17
|
+
AGENT_1011_AGENT_WITH_SLUG_ALREADY_EXISTS: string;
|
|
18
|
+
AGENT_1013_INVALID_VISIBILITY: string;
|
|
19
|
+
AGENT_1015_AGENT_HAS_PERSONAL_SECRET_TOOL: string;
|
|
20
|
+
AGENT_2002_INVALID_VISIBILITY_CHANGE: string;
|
|
21
|
+
AGENT_2003_SECRETS_WITH_SAME_TYPE: string;
|
|
22
|
+
TOOL_1200_TOOL_IN_USE: string;
|
|
23
|
+
AGENT_1101_TOOLKIT_IN_USE: string;
|
|
24
|
+
AGENT_1101_TOOLKIT_INVALID_CREDENTIAL_TYPE: string;
|
|
25
|
+
AGENT_1102_TOOLKIT_AUTHENTICATION_FAILED: string;
|
|
26
|
+
AGENT_1105_TOOLKIT_WITH_PERSONAL_SECRET: string;
|
|
27
|
+
AGENT_1012_AGENT_NOT_FOUND: string;
|
|
28
|
+
AGENT_1014_AGENT_TOOL_NOT_FOUND: string;
|
|
29
|
+
AGENT_1100_TOOLKIT_NOT_FOUND: string;
|
|
30
|
+
TOOL_1201_TOOL_NOT_FOUND: string;
|
|
31
|
+
TOOL_1202_INVALID_SUB_AGENT_ASSIGNMENT: string;
|
|
32
|
+
TOOL_1203_INVALID_SUB_AGENT_SELF_ASSIGNMENT: string;
|
|
33
|
+
TOOL_1204_INVALID_SUB_AGENT_AS_ORCHESTRATOR: string;
|
|
34
|
+
AGENT_5000_UNEXPECTED_ERROR: string;
|
|
35
|
+
AGENT_2000_ACCOUNT_API_ERROR: string;
|
|
36
|
+
AGENT_2001_IAM_API_ERROR: string;
|
|
37
|
+
};
|
|
38
|
+
pt: {
|
|
39
|
+
AGENT_1000_INVALID_JWT: string;
|
|
40
|
+
AGENT_1001_DECODE_JWT_ERROR: string;
|
|
41
|
+
AGENTS_6000_FORBIDDEN_1: string;
|
|
42
|
+
AGENTS_6000_FORBIDDEN_2: string;
|
|
43
|
+
AGENTS_6000_FORBIDDEN_3: string;
|
|
44
|
+
AGENT_1002_STRUCT_OUTPUT_WITH_BUILTIN_TOOLS_NOT_PERMITED: string;
|
|
45
|
+
AGENT_1003_REQUIRED_LLM_PARAM_NOT_PROVIDED: string;
|
|
46
|
+
AGENT_1004_INVALID_LLM_PARAM: string;
|
|
47
|
+
AGENT_1005_INVALID_KNOWLEDGE_SOURCE_ID: string;
|
|
48
|
+
AGENT_1006_INVALID_LLM_PARAM_VALUE_TYPE: string;
|
|
49
|
+
AGENT_1007_LLM_PARAM_VALUE_IS_REQUIRED: string;
|
|
50
|
+
AGENT_1008_INVALID_ULID_FOR_MODEL_ID: string;
|
|
51
|
+
AGENT_1009_INVALID_STRUCTURE_OUTPUT_SCHEMA: string;
|
|
52
|
+
AGENT_1010_STRUCTURED_OUTPUT_SCHEMA_CONTAINS_INVALID_DATA: string;
|
|
53
|
+
AGENT_1011_AGENT_WITH_SLUG_ALREADY_EXISTS: string;
|
|
54
|
+
AGENT_1013_INVALID_VISIBILITY: string;
|
|
55
|
+
AGENT_1015_AGENT_HAS_PERSONAL_SECRET_TOOL: string;
|
|
56
|
+
AGENT_2002_INVALID_VISIBILITY_CHANGE: string;
|
|
57
|
+
AGENT_2003_SECRETS_WITH_SAME_TYPE: string;
|
|
58
|
+
TOOL_1200_TOOL_IN_USE: string;
|
|
59
|
+
AGENT_1101_TOOLKIT_IN_USE: string;
|
|
60
|
+
AGENT_1101_TOOLKIT_INVALID_CREDENTIAL_TYPE: string;
|
|
61
|
+
AGENT_1102_TOOLKIT_AUTHENTICATION_FAILED: string;
|
|
62
|
+
AGENT_1105_TOOLKIT_WITH_PERSONAL_SECRET: string;
|
|
63
|
+
AGENT_1012_AGENT_NOT_FOUND: string;
|
|
64
|
+
AGENT_1014_AGENT_TOOL_NOT_FOUND: string;
|
|
65
|
+
AGENT_1100_TOOLKIT_NOT_FOUND: string;
|
|
66
|
+
TOOL_1201_TOOL_NOT_FOUND: string;
|
|
67
|
+
TOOL_1202_INVALID_SUB_AGENT_ASSIGNMENT: string;
|
|
68
|
+
TOOL_1203_INVALID_SUB_AGENT_SELF_ASSIGNMENT: string;
|
|
69
|
+
TOOL_1204_INVALID_SUB_AGENT_AS_ORCHESTRATOR: string;
|
|
70
|
+
AGENT_5000_UNEXPECTED_ERROR: string;
|
|
71
|
+
AGENT_2000_ACCOUNT_API_ERROR: string;
|
|
72
|
+
AGENT_2001_IAM_API_ERROR: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
//# sourceMappingURL=agent-tools.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-tools.d.ts","sourceRoot":"","sources":["../../../src/error/dictionary/agent-tools.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyEX,CAAA"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
export const agentToolsDictionary = {
|
|
2
|
+
en: {
|
|
3
|
+
AGENT_1000_INVALID_JWT: 'Invalid JWT token',
|
|
4
|
+
AGENT_1001_DECODE_JWT_ERROR: 'Error decoding JWT token',
|
|
5
|
+
AGENTS_6000_FORBIDDEN_1: 'Insufficient permissions',
|
|
6
|
+
AGENTS_6000_FORBIDDEN_2: 'You do not have permission to access the specified secret.',
|
|
7
|
+
AGENTS_6000_FORBIDDEN_3: 'Toolkit publication is restricted to account secrets or if secrets are not present.',
|
|
8
|
+
AGENT_1002_STRUCT_OUTPUT_WITH_BUILTIN_TOOLS_NOT_PERMITED: 'Structured output cannot be used alongside with builtin tools',
|
|
9
|
+
AGENT_1003_REQUIRED_LLM_PARAM_NOT_PROVIDED: 'Required parameter of llm model was not provided',
|
|
10
|
+
AGENT_1004_INVALID_LLM_PARAM: "The parameter '{param}' is invalid",
|
|
11
|
+
AGENT_1005_INVALID_KNOWLEDGE_SOURCE_ID: 'Knowledge source is invalid',
|
|
12
|
+
AGENT_1006_INVALID_LLM_PARAM_VALUE_TYPE: 'LLM param value is invalid',
|
|
13
|
+
AGENT_1007_LLM_PARAM_VALUE_IS_REQUIRED: 'LLM param value is required',
|
|
14
|
+
AGENT_1008_INVALID_ULID_FOR_MODEL_ID: 'Invalid ulid passed for model id',
|
|
15
|
+
AGENT_1009_INVALID_STRUCTURE_OUTPUT_SCHEMA: 'Structure output schema is invalid. Please, check our documentation or contact our support',
|
|
16
|
+
AGENT_1010_STRUCTURED_OUTPUT_SCHEMA_CONTAINS_INVALID_DATA: 'Your structure output schema contains invalid data. Please, check our documentation or contact our support',
|
|
17
|
+
AGENT_1011_AGENT_WITH_SLUG_ALREADY_EXISTS: 'An agent with this slug already exists',
|
|
18
|
+
AGENT_1013_INVALID_VISIBILITY: 'Visibility is invalid',
|
|
19
|
+
AGENT_1015_AGENT_HAS_PERSONAL_SECRET_TOOL: 'It is not possible to publish this agent, because it has a tool with a personal secret',
|
|
20
|
+
AGENT_2002_INVALID_VISIBILITY_CHANGE: 'Cannot change visibility',
|
|
21
|
+
AGENT_2003_SECRETS_WITH_SAME_TYPE: 'Secrets with the same type are not allowed.',
|
|
22
|
+
TOOL_1200_TOOL_IN_USE: 'You have a tool that is already in use by an Agent and therefore cannot be removed.',
|
|
23
|
+
AGENT_1101_TOOLKIT_IN_USE: 'The toolkit is already in use by an Agent and therefore cannot be removed.',
|
|
24
|
+
AGENT_1101_TOOLKIT_INVALID_CREDENTIAL_TYPE: 'Your toolkit has an invalid type of authorization. Only Client Credentials, and API Key are accepted.',
|
|
25
|
+
AGENT_1102_TOOLKIT_AUTHENTICATION_FAILED: 'An error occurred during authentication in the toolkit.',
|
|
26
|
+
AGENT_1105_TOOLKIT_WITH_PERSONAL_SECRET: 'It is not possible to share the agent, as it has a tool with a personal secret. Remove the tool or replace it with an organization secret.',
|
|
27
|
+
AGENT_1012_AGENT_NOT_FOUND: 'Agent with id was not found',
|
|
28
|
+
AGENT_1014_AGENT_TOOL_NOT_FOUND: 'Agent Tool with id was not found',
|
|
29
|
+
AGENT_1100_TOOLKIT_NOT_FOUND: 'Toolkit with id was not found',
|
|
30
|
+
TOOL_1201_TOOL_NOT_FOUND: 'Tool was not found',
|
|
31
|
+
TOOL_1202_INVALID_SUB_AGENT_ASSIGNMENT: 'Cannot assign sub-agents, this agent is already a sub-agent of another agent.',
|
|
32
|
+
TOOL_1203_INVALID_SUB_AGENT_SELF_ASSIGNMENT: 'Agent cannot be assigned as its own tool. Please select a different agent.',
|
|
33
|
+
TOOL_1204_INVALID_SUB_AGENT_AS_ORCHESTRATOR: 'Cannot assign an orchestrator agent as a sub-agent to another orchestrator. Only single-level agent delegation is supported.',
|
|
34
|
+
AGENT_5000_UNEXPECTED_ERROR: 'An unexpected error occurred. Try again later or contact our support',
|
|
35
|
+
AGENT_2000_ACCOUNT_API_ERROR: 'Error with Account API integration',
|
|
36
|
+
AGENT_2001_IAM_API_ERROR: 'Error with IAM API integration',
|
|
37
|
+
},
|
|
38
|
+
pt: {
|
|
39
|
+
AGENT_1000_INVALID_JWT: 'Token JWT inválido',
|
|
40
|
+
AGENT_1001_DECODE_JWT_ERROR: 'Erro ao decodificar o token JWT',
|
|
41
|
+
AGENTS_6000_FORBIDDEN_1: 'Permissões insuficientes',
|
|
42
|
+
AGENTS_6000_FORBIDDEN_2: 'Você não tem permissão para acessar o segredo especificado.',
|
|
43
|
+
AGENTS_6000_FORBIDDEN_3: 'A publicação do toolkit é restrita a segredos de conta ou se segredos não estiverem presentes.',
|
|
44
|
+
AGENT_1002_STRUCT_OUTPUT_WITH_BUILTIN_TOOLS_NOT_PERMITED: 'A saída estruturada não pode ser usada juntamente com ferramentas internas.',
|
|
45
|
+
AGENT_1003_REQUIRED_LLM_PARAM_NOT_PROVIDED: 'Parâmetro obrigatório do modelo LLM não foi fornecido',
|
|
46
|
+
AGENT_1004_INVALID_LLM_PARAM: "O parâmetro '{param}' é inválido",
|
|
47
|
+
AGENT_1005_INVALID_KNOWLEDGE_SOURCE_ID: 'Fonte de conhecimento inválida',
|
|
48
|
+
AGENT_1006_INVALID_LLM_PARAM_VALUE_TYPE: 'Valor do parâmetro LLM é inválido',
|
|
49
|
+
AGENT_1007_LLM_PARAM_VALUE_IS_REQUIRED: 'Valor do parâmetro LLM é obrigatório',
|
|
50
|
+
AGENT_1008_INVALID_ULID_FOR_MODEL_ID: 'ULID inválido fornecido para o ID do modelo',
|
|
51
|
+
AGENT_1009_INVALID_STRUCTURE_OUTPUT_SCHEMA: 'O schema de saída da estrutura é inválido. Por favor, verifique nossa documentação ou entre em contato com o suporte',
|
|
52
|
+
AGENT_1010_STRUCTURED_OUTPUT_SCHEMA_CONTAINS_INVALID_DATA: 'Seu schema de saída da estrutura contém dados inválidos. Por favor, verifique nossa documentação ou entre em contato com o suporte',
|
|
53
|
+
AGENT_1011_AGENT_WITH_SLUG_ALREADY_EXISTS: 'Já existe um agente com este slug',
|
|
54
|
+
AGENT_1013_INVALID_VISIBILITY: 'Visibilidade inválida',
|
|
55
|
+
AGENT_1015_AGENT_HAS_PERSONAL_SECRET_TOOL: 'Não é possível publicar este agente, pois ele possui uma ferramenta com segredo pessoal',
|
|
56
|
+
AGENT_2002_INVALID_VISIBILITY_CHANGE: 'Não é possível alterar a visibilidade',
|
|
57
|
+
AGENT_2003_SECRETS_WITH_SAME_TYPE: 'Segredos do mesmo tipo não são permitidos.',
|
|
58
|
+
TOOL_1200_TOOL_IN_USE: 'Você possui uma ferramenta que já está em uso por um agente e, portanto, não pode ser removida.',
|
|
59
|
+
AGENT_1101_TOOLKIT_IN_USE: 'O toolkit já está em uso por um agente e, portanto, não pode ser removido.',
|
|
60
|
+
AGENT_1101_TOOLKIT_INVALID_CREDENTIAL_TYPE: 'Seu toolkit possui um tipo de autorização inválido. Apenas Client Credentials e API Key são aceitos.',
|
|
61
|
+
AGENT_1102_TOOLKIT_AUTHENTICATION_FAILED: 'Ocorreu um erro durante a autenticação no toolkit.',
|
|
62
|
+
AGENT_1105_TOOLKIT_WITH_PERSONAL_SECRET: 'Não é possível compartilhar o agente, pois ele possui uma ferramenta com segredo pessoal. Remova a ferramenta ou substitua por um segredo da organização.',
|
|
63
|
+
AGENT_1012_AGENT_NOT_FOUND: 'Agente com o ID informado não foi encontrado',
|
|
64
|
+
AGENT_1014_AGENT_TOOL_NOT_FOUND: 'Ferramenta do agente com o ID informado não foi encontrada',
|
|
65
|
+
AGENT_1100_TOOLKIT_NOT_FOUND: 'Toolkit com o ID informado não foi encontrado',
|
|
66
|
+
TOOL_1201_TOOL_NOT_FOUND: 'Ferramenta não encontrada',
|
|
67
|
+
TOOL_1202_INVALID_SUB_AGENT_ASSIGNMENT: 'Não é possível atribuir subagentes, este agente já é subagente de outro agente.',
|
|
68
|
+
TOOL_1203_INVALID_SUB_AGENT_SELF_ASSIGNMENT: 'O agente não pode ser atribuído como sua própria ferramenta. Por favor, selecione outro agente.',
|
|
69
|
+
TOOL_1204_INVALID_SUB_AGENT_AS_ORCHESTRATOR: 'Não é possível atribuir um agente orquestrador como subagente de outro orquestrador. Apenas delegação de agente em um único nível é suportada.',
|
|
70
|
+
AGENT_5000_UNEXPECTED_ERROR: 'Ocorreu um erro inesperado. Tente novamente mais tarde ou entre em contato com o suporte',
|
|
71
|
+
AGENT_2000_ACCOUNT_API_ERROR: 'Erro na integração com a API de Conta',
|
|
72
|
+
AGENT_2001_IAM_API_ERROR: 'Erro na integração com a API IAM',
|
|
73
|
+
},
|
|
74
|
+
};
|
|
75
|
+
//# sourceMappingURL=agent-tools.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-tools.js","sourceRoot":"","sources":["../../../src/error/dictionary/agent-tools.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,EAAE,EAAE;QACF,sBAAsB,EAAE,mBAAmB;QAC3C,2BAA2B,EAAE,0BAA0B;QACvD,uBAAuB,EAAE,0BAA0B;QACnD,uBAAuB,EAAE,4DAA4D;QACrF,uBAAuB,EAAE,qFAAqF;QAC9G,wDAAwD,EAAE,+DAA+D;QACzH,0CAA0C,EAAE,kDAAkD;QAC9F,4BAA4B,EAAE,oCAAoC;QAClE,sCAAsC,EAAE,6BAA6B;QACrE,uCAAuC,EAAE,4BAA4B;QACrE,sCAAsC,EAAE,6BAA6B;QACrE,oCAAoC,EAAE,kCAAkC;QACxE,0CAA0C,EAAE,4FAA4F;QACxI,yDAAyD,EAAE,4GAA4G;QACvK,yCAAyC,EAAE,wCAAwC;QACnF,6BAA6B,EAAE,uBAAuB;QACtD,yCAAyC,EAAE,wFAAwF;QACnI,oCAAoC,EAAE,0BAA0B;QACh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A+B,EAAE,4DAA4D;QAC7F,4BAA4B,EAAE,+CAA+C;QAC7E,wBAAwB,EAAE,2BAA2B;QACrD,sCAAsC,EAAE,iFAAiF;QACzH,2CAA2C,EAAE,iGAAiG;QAC9I,2CAA2C,EAAE,gJAAgJ;QAC7L,2BAA2B,EAAE,0FAA0F;QACvH,4BAA4B,EAAE,uCAAuC;QACrE,wBAAwB,EAAE,kCAAkC;KAC7D;CACmB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stack-spot/portal-network",
|
|
3
|
-
"version": "0.172.
|
|
3
|
+
"version": "0.172.3-beta.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -56,4 +56,4 @@
|
|
|
56
56
|
"fetch-event-stream": "^0.1.5",
|
|
57
57
|
"lodash": "^4.17.21"
|
|
58
58
|
}
|
|
59
|
-
}
|
|
59
|
+
}
|
package/readme.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
# Network
|
|
1
|
+
# Network
|
package/src/api/account.ts
CHANGED
|
@@ -1358,9 +1358,6 @@ export type ExtensionLinkCreateResponse = {
|
|
|
1358
1358
|
/** The Extension path */
|
|
1359
1359
|
path?: string;
|
|
1360
1360
|
};
|
|
1361
|
-
export type InputStreamSource = {
|
|
1362
|
-
inputStream?: object;
|
|
1363
|
-
};
|
|
1364
1361
|
export type HasUserAnsweredFormRequest = {
|
|
1365
1362
|
formIds: string[];
|
|
1366
1363
|
"from"?: string;
|
|
@@ -1458,11 +1455,11 @@ export type UpdateTrialSsoSettingsResponse = {
|
|
|
1458
1455
|
google: boolean;
|
|
1459
1456
|
};
|
|
1460
1457
|
export type UpdateSecretsSettingsResponse = {
|
|
1461
|
-
/** Maximum amount of secrets allowed per
|
|
1458
|
+
/** Maximum amount of secrets allowed per user */
|
|
1462
1459
|
max_overall_secrets_amount?: number;
|
|
1463
1460
|
};
|
|
1464
1461
|
export type UpdateSecretsSettingsRequest = {
|
|
1465
|
-
/** Maximum amount of secrets allowed per
|
|
1462
|
+
/** Maximum amount of secrets allowed per user */
|
|
1466
1463
|
max_overall_secrets_amount?: number;
|
|
1467
1464
|
};
|
|
1468
1465
|
export type UpdateCatalogSettingsRequest = {
|
|
@@ -2158,13 +2155,15 @@ export type FullResourceResponse = {
|
|
|
2158
2155
|
};
|
|
2159
2156
|
export type ResourceAssociationResponse = {
|
|
2160
2157
|
/** Resource name */
|
|
2161
|
-
name
|
|
2162
|
-
/** Resource type */
|
|
2163
|
-
"type": string;
|
|
2158
|
+
name?: string;
|
|
2164
2159
|
/** Resource slug */
|
|
2165
2160
|
slug: string;
|
|
2161
|
+
/** Resource type slug */
|
|
2162
|
+
resourceTypeSlug: string;
|
|
2163
|
+
/** Resource type name */
|
|
2164
|
+
resourceTypeName: string;
|
|
2166
2165
|
/** Last time in days that the resource associated with secret was used */
|
|
2167
|
-
daysSinceLastUsed
|
|
2166
|
+
daysSinceLastUsed?: number;
|
|
2168
2167
|
};
|
|
2169
2168
|
export type PageResponseResourceAssociationResponse = {
|
|
2170
2169
|
/** Current page content */
|
|
@@ -4861,14 +4860,23 @@ export function createExtensionLink({ extensionLinkCreateRequest }: {
|
|
|
4861
4860
|
/**
|
|
4862
4861
|
* Receive engagement form webhook
|
|
4863
4862
|
*/
|
|
4864
|
-
export function receiveWebhook({ provider,
|
|
4863
|
+
export function receiveWebhook({ provider, body }: {
|
|
4865
4864
|
provider: string;
|
|
4866
|
-
|
|
4865
|
+
body: {
|
|
4866
|
+
short?: number;
|
|
4867
|
+
char?: string;
|
|
4868
|
+
int?: number;
|
|
4869
|
+
long?: number;
|
|
4870
|
+
float?: number;
|
|
4871
|
+
double?: number;
|
|
4872
|
+
direct?: boolean;
|
|
4873
|
+
readOnly?: boolean;
|
|
4874
|
+
};
|
|
4867
4875
|
}, opts?: Oazapfts.RequestOpts) {
|
|
4868
4876
|
return oazapfts.ok(oazapfts.fetchText(`/v1/engagement/forms/webhook/${encodeURIComponent(provider)}`, oazapfts.json({
|
|
4869
4877
|
...opts,
|
|
4870
4878
|
method: "POST",
|
|
4871
|
-
body
|
|
4879
|
+
body
|
|
4872
4880
|
})));
|
|
4873
4881
|
}
|
|
4874
4882
|
/**
|
|
@@ -8357,3 +8365,4 @@ export function deleteMember({ groupId, memberId }: {
|
|
|
8357
8365
|
method: "DELETE"
|
|
8358
8366
|
}));
|
|
8359
8367
|
}
|
|
8368
|
+
|
package/src/api/agent-tools.ts
CHANGED
|
@@ -540,6 +540,7 @@ export type AgentModel = {
|
|
|
540
540
|
knowledge_sources_config?: KnowledgeSourceConfigModel | null;
|
|
541
541
|
toolkits?: AgentToolsDto | null;
|
|
542
542
|
settings?: LlmSettingsModel[];
|
|
543
|
+
is_sub_agent?: boolean | null;
|
|
543
544
|
created_by?: string | null;
|
|
544
545
|
created_at?: string | null;
|
|
545
546
|
updated_by?: string | null;
|
|
@@ -2053,3 +2054,6 @@ export function internalForkToolkitsByIdsV1SpotToolkitsForkPost({ xAccountId, xU
|
|
|
2053
2054
|
})
|
|
2054
2055
|
})));
|
|
2055
2056
|
}
|
|
2057
|
+
|
|
2058
|
+
|
|
2059
|
+
|
package/src/api/agent.ts
CHANGED
package/src/api/ai.ts
CHANGED
|
@@ -512,6 +512,7 @@ export type QuickCommandStepLlmResponse = {
|
|
|
512
512
|
agent_data?: AgentDefinitionResponse | null;
|
|
513
513
|
next_step_slug?: string | null;
|
|
514
514
|
use_uploaded_files?: boolean;
|
|
515
|
+
allow_use_current_workspace?: boolean;
|
|
515
516
|
};
|
|
516
517
|
export type ConditionExpr2 = {
|
|
517
518
|
left?: any | null;
|
|
@@ -599,10 +600,10 @@ export type QuickCommandEvaluateStepRouterRequest = {
|
|
|
599
600
|
input_data?: string | {
|
|
600
601
|
[key: string]: any;
|
|
601
602
|
} | null;
|
|
603
|
+
selected_code?: string | null;
|
|
602
604
|
slugs_executions: {
|
|
603
605
|
[key: string]: QuickCommandPromptResponse | QuickCommandFetchResponseResult;
|
|
604
606
|
} | null;
|
|
605
|
-
selected_code: string | null;
|
|
606
607
|
};
|
|
607
608
|
export type QuickCommandEvaluateStepRouterResponse = {
|
|
608
609
|
next_step_slug: string;
|