@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.
Files changed (104) hide show
  1. package/CHANGELOG.md +123 -0
  2. package/dist/api/agent-tools.d.ts +139 -148
  3. package/dist/api/agent-tools.d.ts.map +1 -1
  4. package/dist/api/agent-tools.js +41 -4
  5. package/dist/api/agent-tools.js.map +1 -1
  6. package/dist/api/agent.d.ts +55 -55
  7. package/dist/api/agent.d.ts.map +1 -1
  8. package/dist/api/ai.d.ts +288 -19
  9. package/dist/api/ai.d.ts.map +1 -1
  10. package/dist/api/ai.js +196 -11
  11. package/dist/api/ai.js.map +1 -1
  12. package/dist/api/cloudPlatformHorizon.d.ts +178 -9
  13. package/dist/api/cloudPlatformHorizon.d.ts.map +1 -1
  14. package/dist/api/cloudPlatformHorizon.js +69 -1
  15. package/dist/api/cloudPlatformHorizon.js.map +1 -1
  16. package/dist/api/codeShift.d.ts +316 -32
  17. package/dist/api/codeShift.d.ts.map +1 -1
  18. package/dist/api/codeShift.js +172 -8
  19. package/dist/api/codeShift.js.map +1 -1
  20. package/dist/api/dataIntegration.d.ts +291 -1
  21. package/dist/api/dataIntegration.d.ts.map +1 -1
  22. package/dist/api/dataIntegration.js +254 -0
  23. package/dist/api/dataIntegration.js.map +1 -1
  24. package/dist/api/discover.d.ts +95 -12
  25. package/dist/api/discover.d.ts.map +1 -1
  26. package/dist/api/discover.js +78 -2
  27. package/dist/api/discover.js.map +1 -1
  28. package/dist/api-addresses.d.ts.map +1 -1
  29. package/dist/client/account.d.ts +233 -233
  30. package/dist/client/account.d.ts.map +1 -1
  31. package/dist/client/agent-tools.d.ts +159 -126
  32. package/dist/client/agent-tools.d.ts.map +1 -1
  33. package/dist/client/agent-tools.js +35 -4
  34. package/dist/client/agent-tools.js.map +1 -1
  35. package/dist/client/agent.d.ts +46 -46
  36. package/dist/client/agent.d.ts.map +1 -1
  37. package/dist/client/ai.d.ts +226 -108
  38. package/dist/client/ai.d.ts.map +1 -1
  39. package/dist/client/ai.js +92 -2
  40. package/dist/client/ai.js.map +1 -1
  41. package/dist/client/api-management.d.ts +2 -2
  42. package/dist/client/cloud-account.d.ts +13 -13
  43. package/dist/client/cloud-platform-horizon.d.ts +38 -19
  44. package/dist/client/cloud-platform-horizon.d.ts.map +1 -1
  45. package/dist/client/cloud-platform-horizon.js +19 -1
  46. package/dist/client/cloud-platform-horizon.js.map +1 -1
  47. package/dist/client/cloud-platform.d.ts +50 -50
  48. package/dist/client/cloud-runtimes.d.ts +4 -4
  49. package/dist/client/cloud-services.d.ts +17 -17
  50. package/dist/client/cloud-services.d.ts.map +1 -1
  51. package/dist/client/code-shift.d.ts +332 -265
  52. package/dist/client/code-shift.d.ts.map +1 -1
  53. package/dist/client/code-shift.js +55 -1
  54. package/dist/client/code-shift.js.map +1 -1
  55. package/dist/client/content.d.ts +127 -132
  56. package/dist/client/content.d.ts.map +1 -1
  57. package/dist/client/data-integration.d.ts +85 -55
  58. package/dist/client/data-integration.d.ts.map +1 -1
  59. package/dist/client/data-integration.js +22 -2
  60. package/dist/client/data-integration.js.map +1 -1
  61. package/dist/client/discover.d.ts +29 -9
  62. package/dist/client/discover.d.ts.map +1 -1
  63. package/dist/client/discover.js +236 -1
  64. package/dist/client/discover.js.map +1 -1
  65. package/dist/client/event-bus.d.ts.map +1 -1
  66. package/dist/client/gen-ai-inference.d.ts +20 -20
  67. package/dist/client/insights.d.ts +7 -7
  68. package/dist/client/notification.d.ts +10 -10
  69. package/dist/client/runtime-manager.d.ts +8 -8
  70. package/dist/client/secrets.d.ts.map +1 -1
  71. package/dist/client/secrets.js +1 -1
  72. package/dist/client/secrets.js.map +1 -1
  73. package/dist/client/types.d.ts +14 -0
  74. package/dist/client/types.d.ts.map +1 -1
  75. package/dist/client/workflow.d.ts +10 -10
  76. package/dist/client/workspace-ai.d.ts +53 -53
  77. package/dist/client/workspace-manager.d.ts +77 -77
  78. package/dist/client/workspace-search.d.ts +2 -2
  79. package/dist/client/workspace.d.ts +58 -105
  80. package/dist/client/workspace.d.ts.map +1 -1
  81. package/dist/error/dictionary/cloud-platform.d.ts +6 -0
  82. package/dist/error/dictionary/cloud-platform.d.ts.map +1 -1
  83. package/dist/error/dictionary/cloud-platform.js +6 -0
  84. package/dist/error/dictionary/cloud-platform.js.map +1 -1
  85. package/dist/utils/StreamedJson.d.ts.map +1 -1
  86. package/dist/utils/StreamedJson.js +9 -1
  87. package/dist/utils/StreamedJson.js.map +1 -1
  88. package/package.json +2 -2
  89. package/src/api/agent-tools.ts +186 -150
  90. package/src/api/ai.ts +521 -24
  91. package/src/api/cloudPlatformHorizon.ts +412 -9
  92. package/src/api/codeShift.ts +631 -37
  93. package/src/api/dataIntegration.ts +635 -1
  94. package/src/api/discover.ts +180 -14
  95. package/src/client/agent-tools.ts +26 -4
  96. package/src/client/ai.ts +74 -10
  97. package/src/client/cloud-platform-horizon.ts +12 -4
  98. package/src/client/code-shift.ts +35 -1
  99. package/src/client/data-integration.ts +15 -1
  100. package/src/client/discover.ts +233 -3
  101. package/src/client/secrets.ts +1 -1
  102. package/src/client/types.ts +17 -2
  103. package/src/error/dictionary/cloud-platform.ts +6 -0
  104. package/src/utils/StreamedJson.tsx +9 -2
@@ -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) => boolean;
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 | undefined;
19
- avatar?: string | undefined;
18
+ description?: string;
19
+ avatar?: string;
20
20
  system_prompt: string;
21
21
  type: string;
22
- llm_config?: import("../api/agent.js").LlmConfigResponse | undefined;
23
- suggested_prompts?: string[] | undefined;
24
- knowledge_sources_config?: import("../api/agent.js").KnowledgeSourceResponse | undefined;
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: string;
30
- updated_by?: string | undefined;
31
- updated_at?: string | undefined;
32
- toolkits?: import("../api/agent.js").ToolkitsInAgentResponse | undefined;
33
- detail_mode?: boolean | undefined;
34
- model_id?: string | undefined;
35
- model_name?: string | undefined;
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 | undefined;
38
+ } | null;
39
39
  llm_settings?: {
40
40
  [key: string]: any;
41
- } | null | undefined;
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 | undefined;
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 | undefined;
59
- avatar?: string | undefined;
58
+ description?: string;
59
+ avatar?: string;
60
60
  system_prompt: string;
61
61
  type: string;
62
- llm_config?: import("../api/agent.js").LlmConfigResponse | undefined;
63
- suggested_prompts?: string[] | undefined;
64
- knowledge_sources_config?: import("../api/agent.js").KnowledgeSourceResponse | undefined;
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: string;
70
- updated_by?: string | undefined;
71
- updated_at?: string | undefined;
72
- toolkits?: import("../api/agent.js").ToolkitsInAgentResponse | undefined;
73
- detail_mode?: boolean | undefined;
74
- model_id?: string | undefined;
75
- model_name?: string | undefined;
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 | undefined;
78
+ } | null;
79
79
  llm_settings?: {
80
80
  [key: string]: any;
81
- } | null | undefined;
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 | undefined;
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 | undefined;
99
- avatar?: string | undefined;
98
+ description?: string;
99
+ avatar?: string;
100
100
  system_prompt: string;
101
101
  type: string;
102
- llm_config?: import("../api/agent.js").LlmConfigResponse | undefined;
103
- suggested_prompts?: string[] | undefined;
104
- knowledge_sources_config?: import("../api/agent.js").KnowledgeSourceResponse | undefined;
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: string;
110
- updated_by?: string | undefined;
111
- updated_at?: string | undefined;
112
- toolkits?: import("../api/agent.js").ToolkitsInAgentResponse | undefined;
113
- detail_mode?: boolean | undefined;
114
- model_id?: string | undefined;
115
- model_name?: string | undefined;
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 | undefined;
118
+ } | null;
119
119
  llm_settings?: {
120
120
  [key: string]: any;
121
- } | null | undefined;
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 | undefined;
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,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