@stack-spot/portal-network 0.197.0 → 0.197.1-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 +123 -0
- package/dist/api/agent-tools.d.ts +139 -148
- package/dist/api/agent-tools.d.ts.map +1 -1
- package/dist/api/agent-tools.js +41 -4
- package/dist/api/agent-tools.js.map +1 -1
- package/dist/api/agent.d.ts +55 -55
- package/dist/api/agent.d.ts.map +1 -1
- package/dist/api/ai.d.ts +288 -19
- package/dist/api/ai.d.ts.map +1 -1
- package/dist/api/ai.js +196 -11
- package/dist/api/ai.js.map +1 -1
- package/dist/api/cloudPlatformHorizon.d.ts +178 -9
- package/dist/api/cloudPlatformHorizon.d.ts.map +1 -1
- package/dist/api/cloudPlatformHorizon.js +69 -1
- package/dist/api/cloudPlatformHorizon.js.map +1 -1
- package/dist/api/codeShift.d.ts +316 -32
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +172 -8
- package/dist/api/codeShift.js.map +1 -1
- package/dist/api/dataIntegration.d.ts +291 -1
- package/dist/api/dataIntegration.d.ts.map +1 -1
- package/dist/api/dataIntegration.js +254 -0
- package/dist/api/dataIntegration.js.map +1 -1
- package/dist/api/discover.d.ts +95 -12
- package/dist/api/discover.d.ts.map +1 -1
- package/dist/api/discover.js +78 -2
- package/dist/api/discover.js.map +1 -1
- package/dist/api-addresses.d.ts.map +1 -1
- package/dist/client/account.d.ts +233 -233
- package/dist/client/account.d.ts.map +1 -1
- package/dist/client/agent-tools.d.ts +159 -126
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +35 -4
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/agent.d.ts +46 -46
- package/dist/client/agent.d.ts.map +1 -1
- package/dist/client/ai.d.ts +226 -108
- package/dist/client/ai.d.ts.map +1 -1
- package/dist/client/ai.js +92 -2
- package/dist/client/ai.js.map +1 -1
- package/dist/client/api-management.d.ts +2 -2
- package/dist/client/cloud-account.d.ts +13 -13
- package/dist/client/cloud-platform-horizon.d.ts +38 -19
- package/dist/client/cloud-platform-horizon.d.ts.map +1 -1
- package/dist/client/cloud-platform-horizon.js +19 -1
- package/dist/client/cloud-platform-horizon.js.map +1 -1
- package/dist/client/cloud-platform.d.ts +50 -50
- package/dist/client/cloud-runtimes.d.ts +4 -4
- package/dist/client/cloud-services.d.ts +17 -17
- package/dist/client/cloud-services.d.ts.map +1 -1
- package/dist/client/code-shift.d.ts +332 -265
- package/dist/client/code-shift.d.ts.map +1 -1
- package/dist/client/code-shift.js +55 -1
- package/dist/client/code-shift.js.map +1 -1
- package/dist/client/content.d.ts +127 -132
- package/dist/client/content.d.ts.map +1 -1
- package/dist/client/data-integration.d.ts +85 -55
- package/dist/client/data-integration.d.ts.map +1 -1
- package/dist/client/data-integration.js +22 -2
- package/dist/client/data-integration.js.map +1 -1
- package/dist/client/discover.d.ts +29 -9
- package/dist/client/discover.d.ts.map +1 -1
- package/dist/client/discover.js +236 -1
- package/dist/client/discover.js.map +1 -1
- package/dist/client/event-bus.d.ts.map +1 -1
- package/dist/client/gen-ai-inference.d.ts +20 -20
- package/dist/client/insights.d.ts +7 -7
- package/dist/client/notification.d.ts +10 -10
- package/dist/client/runtime-manager.d.ts +8 -8
- package/dist/client/secrets.d.ts.map +1 -1
- package/dist/client/secrets.js +1 -1
- package/dist/client/secrets.js.map +1 -1
- package/dist/client/types.d.ts +14 -0
- package/dist/client/types.d.ts.map +1 -1
- package/dist/client/workflow.d.ts +10 -10
- package/dist/client/workspace-ai.d.ts +53 -53
- package/dist/client/workspace-manager.d.ts +77 -77
- package/dist/client/workspace-search.d.ts +2 -2
- package/dist/client/workspace.d.ts +58 -105
- package/dist/client/workspace.d.ts.map +1 -1
- package/dist/error/dictionary/cloud-platform.d.ts +6 -0
- package/dist/error/dictionary/cloud-platform.d.ts.map +1 -1
- package/dist/error/dictionary/cloud-platform.js +6 -0
- package/dist/error/dictionary/cloud-platform.js.map +1 -1
- package/dist/utils/StreamedJson.d.ts.map +1 -1
- package/dist/utils/StreamedJson.js +9 -1
- package/dist/utils/StreamedJson.js.map +1 -1
- package/package.json +2 -2
- package/src/api/agent-tools.ts +186 -150
- package/src/api/ai.ts +521 -24
- package/src/api/cloudPlatformHorizon.ts +412 -9
- package/src/api/codeShift.ts +631 -37
- package/src/api/dataIntegration.ts +635 -1
- package/src/api/discover.ts +180 -14
- package/src/client/agent-tools.ts +26 -4
- package/src/client/ai.ts +74 -10
- package/src/client/cloud-platform-horizon.ts +12 -4
- package/src/client/code-shift.ts +35 -1
- package/src/client/data-integration.ts +15 -1
- package/src/client/discover.ts +233 -3
- package/src/client/secrets.ts +1 -1
- package/src/client/types.ts +17 -2
- package/src/error/dictionary/cloud-platform.ts +6 -0
- package/src/utils/StreamedJson.tsx +9 -2
package/dist/client/agent.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpError } from '@oazapfts/runtime';
|
|
2
2
|
import { StackspotAPIError } from '../error/StackspotAPIError.js';
|
|
3
3
|
import { ReactQueryNetworkClient } from '../network/ReactQueryNetworkClient.js';
|
|
4
|
-
export declare const isAgentDefault: (agentSlug?: string) =>
|
|
4
|
+
export declare const isAgentDefault: (agentSlug?: string) => agentSlug is "stk_code_buddy";
|
|
5
5
|
declare class AgentClient extends ReactQueryNetworkClient {
|
|
6
6
|
constructor();
|
|
7
7
|
protected buildStackSpotError(error: HttpError): StackspotAPIError;
|
|
@@ -15,36 +15,36 @@ declare class AgentClient extends ReactQueryNetworkClient {
|
|
|
15
15
|
id: string;
|
|
16
16
|
name: string;
|
|
17
17
|
slug: string;
|
|
18
|
-
description?: string
|
|
19
|
-
avatar?: string
|
|
18
|
+
description?: string;
|
|
19
|
+
avatar?: string;
|
|
20
20
|
system_prompt: string;
|
|
21
21
|
type: string;
|
|
22
|
-
llm_config?: import("../api/agent.js").LlmConfigResponse
|
|
23
|
-
suggested_prompts?: string[]
|
|
24
|
-
knowledge_sources_config?: import("../api/agent.js").KnowledgeSourceResponse
|
|
22
|
+
llm_config?: import("../api/agent.js").LlmConfigResponse;
|
|
23
|
+
suggested_prompts?: string[];
|
|
24
|
+
knowledge_sources_config?: import("../api/agent.js").KnowledgeSourceResponse;
|
|
25
25
|
visibility_level: import("../api/agent.js").VisibilityLevel;
|
|
26
26
|
use_only: boolean;
|
|
27
27
|
creator_name: string;
|
|
28
28
|
created_by: string;
|
|
29
|
-
created_at:
|
|
30
|
-
updated_by?: string
|
|
31
|
-
updated_at?:
|
|
32
|
-
toolkits?: import("../api/agent.js").ToolkitsInAgentResponse
|
|
33
|
-
detail_mode?: boolean
|
|
34
|
-
model_id?: string
|
|
35
|
-
model_name?: string
|
|
29
|
+
created_at: import("../api/agent.js").ZonedDateTime;
|
|
30
|
+
updated_by?: string;
|
|
31
|
+
updated_at?: import("../api/agent.js").ZonedDateTime;
|
|
32
|
+
toolkits?: import("../api/agent.js").ToolkitsInAgentResponse;
|
|
33
|
+
detail_mode?: boolean;
|
|
34
|
+
model_id?: string;
|
|
35
|
+
model_name?: string;
|
|
36
36
|
structured_output?: {
|
|
37
37
|
[key: string]: any;
|
|
38
|
-
} | null
|
|
38
|
+
} | null;
|
|
39
39
|
llm_settings?: {
|
|
40
40
|
[key: string]: any;
|
|
41
|
-
} | null
|
|
41
|
+
} | null;
|
|
42
42
|
}>, "isAllowed" | "useAllowed" | "getPermissionKey">;
|
|
43
43
|
/**
|
|
44
44
|
* List commons agents
|
|
45
45
|
*/
|
|
46
46
|
agents: import("../network/types.js").QueryObject<{
|
|
47
|
-
visibility?: import("../api/agent.js").VisibilityLevel
|
|
47
|
+
visibility?: import("../api/agent.js").VisibilityLevel;
|
|
48
48
|
}, import("../api/agent.js").AgentResponse[]>;
|
|
49
49
|
/**
|
|
50
50
|
* Gets a common agent by id
|
|
@@ -55,36 +55,36 @@ declare class AgentClient extends ReactQueryNetworkClient {
|
|
|
55
55
|
id: string;
|
|
56
56
|
name: string;
|
|
57
57
|
slug: string;
|
|
58
|
-
description?: string
|
|
59
|
-
avatar?: string
|
|
58
|
+
description?: string;
|
|
59
|
+
avatar?: string;
|
|
60
60
|
system_prompt: string;
|
|
61
61
|
type: string;
|
|
62
|
-
llm_config?: import("../api/agent.js").LlmConfigResponse
|
|
63
|
-
suggested_prompts?: string[]
|
|
64
|
-
knowledge_sources_config?: import("../api/agent.js").KnowledgeSourceResponse
|
|
62
|
+
llm_config?: import("../api/agent.js").LlmConfigResponse;
|
|
63
|
+
suggested_prompts?: string[];
|
|
64
|
+
knowledge_sources_config?: import("../api/agent.js").KnowledgeSourceResponse;
|
|
65
65
|
visibility_level: import("../api/agent.js").VisibilityLevel;
|
|
66
66
|
use_only: boolean;
|
|
67
67
|
creator_name: string;
|
|
68
68
|
created_by: string;
|
|
69
|
-
created_at:
|
|
70
|
-
updated_by?: string
|
|
71
|
-
updated_at?:
|
|
72
|
-
toolkits?: import("../api/agent.js").ToolkitsInAgentResponse
|
|
73
|
-
detail_mode?: boolean
|
|
74
|
-
model_id?: string
|
|
75
|
-
model_name?: string
|
|
69
|
+
created_at: import("../api/agent.js").ZonedDateTime;
|
|
70
|
+
updated_by?: string;
|
|
71
|
+
updated_at?: import("../api/agent.js").ZonedDateTime;
|
|
72
|
+
toolkits?: import("../api/agent.js").ToolkitsInAgentResponse;
|
|
73
|
+
detail_mode?: boolean;
|
|
74
|
+
model_id?: string;
|
|
75
|
+
model_name?: string;
|
|
76
76
|
structured_output?: {
|
|
77
77
|
[key: string]: any;
|
|
78
|
-
} | null
|
|
78
|
+
} | null;
|
|
79
79
|
llm_settings?: {
|
|
80
80
|
[key: string]: any;
|
|
81
|
-
} | null
|
|
81
|
+
} | null;
|
|
82
82
|
}>;
|
|
83
83
|
/**
|
|
84
84
|
* List all public agents (built-in)
|
|
85
85
|
*/
|
|
86
86
|
publicAgents: import("../network/types.js").QueryObject<{
|
|
87
|
-
visibility?: import("../api/agent.js").VisibilityLevel
|
|
87
|
+
visibility?: import("../api/agent.js").VisibilityLevel;
|
|
88
88
|
}, import("../api/agent.js").AgentResponse[]>;
|
|
89
89
|
/**
|
|
90
90
|
* Gets a public agent by id (built-in)
|
|
@@ -95,30 +95,30 @@ declare class AgentClient extends ReactQueryNetworkClient {
|
|
|
95
95
|
id: string;
|
|
96
96
|
name: string;
|
|
97
97
|
slug: string;
|
|
98
|
-
description?: string
|
|
99
|
-
avatar?: string
|
|
98
|
+
description?: string;
|
|
99
|
+
avatar?: string;
|
|
100
100
|
system_prompt: string;
|
|
101
101
|
type: string;
|
|
102
|
-
llm_config?: import("../api/agent.js").LlmConfigResponse
|
|
103
|
-
suggested_prompts?: string[]
|
|
104
|
-
knowledge_sources_config?: import("../api/agent.js").KnowledgeSourceResponse
|
|
102
|
+
llm_config?: import("../api/agent.js").LlmConfigResponse;
|
|
103
|
+
suggested_prompts?: string[];
|
|
104
|
+
knowledge_sources_config?: import("../api/agent.js").KnowledgeSourceResponse;
|
|
105
105
|
visibility_level: import("../api/agent.js").VisibilityLevel;
|
|
106
106
|
use_only: boolean;
|
|
107
107
|
creator_name: string;
|
|
108
108
|
created_by: string;
|
|
109
|
-
created_at:
|
|
110
|
-
updated_by?: string
|
|
111
|
-
updated_at?:
|
|
112
|
-
toolkits?: import("../api/agent.js").ToolkitsInAgentResponse
|
|
113
|
-
detail_mode?: boolean
|
|
114
|
-
model_id?: string
|
|
115
|
-
model_name?: string
|
|
109
|
+
created_at: import("../api/agent.js").ZonedDateTime;
|
|
110
|
+
updated_by?: string;
|
|
111
|
+
updated_at?: import("../api/agent.js").ZonedDateTime;
|
|
112
|
+
toolkits?: import("../api/agent.js").ToolkitsInAgentResponse;
|
|
113
|
+
detail_mode?: boolean;
|
|
114
|
+
model_id?: string;
|
|
115
|
+
model_name?: string;
|
|
116
116
|
structured_output?: {
|
|
117
117
|
[key: string]: any;
|
|
118
|
-
} | null
|
|
118
|
+
} | null;
|
|
119
119
|
llm_settings?: {
|
|
120
120
|
[key: string]: any;
|
|
121
|
-
} | null
|
|
121
|
+
} | null;
|
|
122
122
|
}>;
|
|
123
123
|
/**
|
|
124
124
|
* Adds the resource of type Agent to the list of favorites.
|
|
@@ -137,7 +137,7 @@ declare class AgentClient extends ReactQueryNetworkClient {
|
|
|
137
137
|
*/
|
|
138
138
|
updateAgent: import("../network/types.js").MutationObject<{
|
|
139
139
|
agentId: string;
|
|
140
|
-
modifiedAgentRequest?: import("../api/agent.js").ModifiedAgentRequest
|
|
140
|
+
modifiedAgentRequest?: import("../api/agent.js").ModifiedAgentRequest;
|
|
141
141
|
}, unknown>;
|
|
142
142
|
}
|
|
143
143
|
export declare const agentClient: AgentClient;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../src/client/agent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAK7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAA;AAG5E,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../src/client/agent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAK7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAA;AAG5E,eAAO,MAAM,cAAc,GAAI,YAAY,MAAM,kCAAmC,CAAA;AAQpF,cAAM,WAAY,SAAQ,uBAAuB;;IAK/C,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,SAAS,GAAG,iBAAiB;IAalE;;OAEG;IACH,SAAS;iBAEiC,MAAM;iBAAW,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yDAGhE;IAEF;;OAEG;IACH,MAAM;;+CAA0B;IAEhC;;OAEG;IACH,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAkC;IAEvC;;OAEG;IACH,YAAY;;+CAAgC;IAE5C;;OAEG;IACH,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAwC;IAEnD;;OAEG;IACH,gBAAgB;;aAA8C;IAE9D;;OAEG;IACH,mBAAmB;;aAAgD;IACnE;;OAEG;IACH,WAAW;;;gBAAqC;CACjD;AAED,eAAO,MAAM,WAAW,aAAoB,CAAA"}
|