@osdk/foundry.aipagents 2.3.0 → 2.4.0

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 (42) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/build/browser/_components.d.ts +35 -40
  3. package/build/browser/_components.d.ts.map +1 -1
  4. package/build/browser/_errors.d.ts +111 -3
  5. package/build/browser/_errors.d.ts.map +1 -1
  6. package/build/browser/index.d.ts +2 -2
  7. package/build/browser/index.d.ts.map +1 -1
  8. package/build/browser/public/Agent.d.ts +5 -6
  9. package/build/browser/public/Agent.d.ts.map +1 -1
  10. package/build/browser/public/Agent.js +3 -4
  11. package/build/browser/public/Agent.js.map +1 -1
  12. package/build/browser/public/AgentVersion.d.ts +2 -2
  13. package/build/browser/public/AgentVersion.js +2 -2
  14. package/build/browser/public/AgentVersion.js.map +1 -1
  15. package/build/browser/public/Content.d.ts +1 -1
  16. package/build/browser/public/Content.js +1 -1
  17. package/build/browser/public/Content.js.map +1 -1
  18. package/build/browser/public/Session.d.ts +21 -27
  19. package/build/browser/public/Session.d.ts.map +1 -1
  20. package/build/browser/public/Session.js +21 -27
  21. package/build/browser/public/Session.js.map +1 -1
  22. package/build/esm/_components.d.ts +35 -40
  23. package/build/esm/_components.d.ts.map +1 -1
  24. package/build/esm/_errors.d.ts +111 -3
  25. package/build/esm/_errors.d.ts.map +1 -1
  26. package/build/esm/index.d.ts +2 -2
  27. package/build/esm/index.d.ts.map +1 -1
  28. package/build/esm/public/Agent.d.ts +5 -6
  29. package/build/esm/public/Agent.d.ts.map +1 -1
  30. package/build/esm/public/Agent.js +3 -4
  31. package/build/esm/public/Agent.js.map +1 -1
  32. package/build/esm/public/AgentVersion.d.ts +2 -2
  33. package/build/esm/public/AgentVersion.js +2 -2
  34. package/build/esm/public/AgentVersion.js.map +1 -1
  35. package/build/esm/public/Content.d.ts +1 -1
  36. package/build/esm/public/Content.js +1 -1
  37. package/build/esm/public/Content.js.map +1 -1
  38. package/build/esm/public/Session.d.ts +21 -27
  39. package/build/esm/public/Session.d.ts.map +1 -1
  40. package/build/esm/public/Session.js +21 -27
  41. package/build/esm/public/Session.js.map +1 -1
  42. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @osdk/foundry.aipagents
2
2
 
3
+ ## 2.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 4720b1d: Update platform APIs with new APIs, including Runtime Derived Property API's
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [4720b1d]
12
+ - @osdk/foundry.core@2.4.0
13
+
3
14
  ## 2.3.0
4
15
 
5
16
  ### Minor Changes
@@ -29,17 +29,16 @@ export interface AgentMetadata {
29
29
  suggestedPrompts: Array<string>;
30
30
  }
31
31
  /**
32
- * A RID identifying an AIP Agent created in AIP Agent Studio.
32
+ * An RID identifying an AIP Agent created in AIP Agent Studio.
33
33
  *
34
34
  * Log Safety: SAFE
35
35
  */
36
36
  export type AgentRid = LooselyBrandedString<"AgentRid">;
37
37
  /**
38
- * Context retrieved from an Agent's configured context data sources which was relevant to the
39
- supplied user message.
40
- *
41
- * Log Safety: SAFE
42
- */
38
+ * Context retrieved from an Agent's configured context data sources which was relevant to the supplied user message.
39
+ *
40
+ * Log Safety: SAFE
41
+ */
43
42
  export interface AgentSessionRagContextResponse {
44
43
  objectContexts: Array<ObjectContext>;
45
44
  }
@@ -60,7 +59,7 @@ export interface AgentVersionDetails {
60
59
  minor: number;
61
60
  }
62
61
  /**
63
- * The semantic version of the Agent, formatted as ".".
62
+ * The semantic version of the Agent, formatted as "majorVersion.minorVersion".
64
63
  *
65
64
  * Log Safety: SAFE
66
65
  */
@@ -72,7 +71,7 @@ Sessions are returned in order of most recently updated first.
72
71
  * Log Safety: UNSAFE
73
72
  */
74
73
  export interface AgentsSessionsPage {
75
- nextPageToken?: PageToken;
74
+ nextPageToken?: _Core.PageToken;
76
75
  data: Array<Session>;
77
76
  }
78
77
  /**
@@ -109,11 +108,10 @@ export interface CreateSessionRequest {
109
108
  agentVersion?: AgentVersionString;
110
109
  }
111
110
  /**
112
- * Custom retrieved context to provide
113
- to an Agent for continuing a session.
114
- *
115
- * Log Safety: UNSAFE
116
- */
111
+ * Custom retrieved context to provide to an Agent for continuing a session.
112
+ *
113
+ * Log Safety: UNSAFE
114
+ */
117
115
  export type InputContext = {
118
116
  type: "objectContext";
119
117
  } & ObjectContext;
@@ -139,11 +137,10 @@ This can be used by clients to cancel a streamed exchange.
139
137
  */
140
138
  export type MessageId = string;
141
139
  /**
142
- * Details of relevant retrieved object instances for a user's message to include as
143
- additional context in the prompt to the Agent.
144
- *
145
- * Log Safety: SAFE
146
- */
140
+ * Details of relevant retrieved object instances for a user's message to include as additional context in the prompt to the Agent.
141
+ *
142
+ * Log Safety: SAFE
143
+ */
147
144
  export interface ObjectContext {
148
145
  objectRids: Array<_Core.ObjectRid>;
149
146
  propertyTypeRids: Array<_Core.PropertyTypeRid>;
@@ -155,23 +152,20 @@ export interface ObjectSetParameter {
155
152
  expectedObjectTypes: Array<_Core.ObjectTypeId>;
156
153
  }
157
154
  /**
158
- * Log Safety: SAFE
159
- */
160
- export interface ObjectSetParameterValueUpdate {
161
- value: _Core.ObjectSetRid;
162
- }
163
- /**
164
- * The maximum number of results to return in a single page.
155
+ * A value passed for ObjectSetParameter parameter types.
165
156
  *
166
- * Log Safety: SAFE
157
+ * Log Safety: UNSAFE
167
158
  */
168
- export type PageSize = number;
159
+ export interface ObjectSetParameterValue {
160
+ objectSet: _Core.ObjectSet;
161
+ ontology: _Core.OntologyIdentifier;
162
+ }
169
163
  /**
170
- * The token to use to retrieve a page of results from.
171
- *
172
164
  * Log Safety: SAFE
173
165
  */
174
- export type PageToken = LooselyBrandedString<"PageToken">;
166
+ export interface ObjectSetParameterValueUpdate {
167
+ value: _Core.ObjectSetRid;
168
+ }
175
169
  /**
176
170
  * A parameter configured for an Agent in AIP Agent Studio.
177
171
  *
@@ -204,18 +198,19 @@ export type ParameterType = ({
204
198
  type: "objectSet";
205
199
  } & ObjectSetParameter);
206
200
  /**
207
- * The value provided for a parameter
208
- configured on an Agent.
209
- *
210
- * Log Safety: UNSAFE
211
- */
212
- export type ParameterValue = {
201
+ * The value provided for a parameter configured on an Agent.
202
+ *
203
+ * Log Safety: UNSAFE
204
+ */
205
+ export type ParameterValue = ({
213
206
  type: "string";
214
- } & StringParameterValue;
207
+ } & StringParameterValue) | ({
208
+ type: "objectSet";
209
+ } & ObjectSetParameterValue);
215
210
  /**
216
- * A value update for a parameter which was
217
- generated by the Agent. For StringParameter parameter types, this will be the updated string value. For
218
- ObjectSetParameter parameter types, this will be a Resource Identifier (RID) for the updated object set.
211
+ * A value update for a parameter which was generated by the Agent.
212
+ For StringParameter parameter types, this will be the updated string value.
213
+ For ObjectSetParameter parameter types, this will be a Resource Identifier (RID) for the updated object set.
219
214
  *
220
215
  * Log Safety: UNSAFE
221
216
  */
@@ -1 +1 @@
1
- {"version":3,"file":"_components.d.ts","sourceRoot":"","sources":["../../src/_components.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AAEjD,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,KAAK;IACpB,GAAG,EAAE,QAAQ,CAAC;IACd,OAAO,EAAE,kBAAkB,CAAC;IAC5B,QAAQ,EAAE,aAAa,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC;CAC5C;AAED;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG,oBAAoB,CACtD,uBAAuB,CACxB,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC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K,CAAC,aAAa,CAAC,CAAC;CACtC;AAED;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,gBAAgB,EAAE,MAAM,CAAC,WAAW,EAAE,oBAAoB,CAAC,CAAC;IAC5D,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AAED;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,oBAAoB,EAAE,MAAM,CAAC;CAC9B;AAED;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG,oBAAoB,CAAC,YAAY,CAAC,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C,SAAS,EAAE,aAAa,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,CAAC;IACrD,gBAAgB,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IACvC,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -124,9 +124,8 @@ export interface ContentNotFound {
124
124
  };
125
125
  }
126
126
  /**
127
- * Failed to generate a response for a session because the context size of the LLM has been
128
- exceeded. Clients should either retry with a shorter message or create a new session
129
- and try re-sending the message.
127
+ * Failed to generate a response for a session because the context size of the LLM has been exceeded.
128
+ Clients should either retry with a shorter message or create a new session and try re-sending the message.
130
129
 
131
130
  *
132
131
  * Log Safety: UNSAFE
@@ -154,6 +153,24 @@ export interface CreateSessionPermissionDenied {
154
153
  agentRid: unknown;
155
154
  };
156
155
  }
156
+ /**
157
+ * The specified function locator is configured for use by the Agent but could not be found.
158
+ The function type or version may not exist or the client token does not have access.
159
+
160
+ *
161
+ * Log Safety: UNSAFE
162
+ */
163
+ export interface FunctionLocatorNotFound {
164
+ errorCode: "NOT_FOUND";
165
+ errorName: "FunctionLocatorNotFound";
166
+ errorInstanceId: string;
167
+ parameters: {
168
+ agentRid: unknown;
169
+ sessionRid: unknown;
170
+ functionRid: unknown;
171
+ functionVersion: unknown;
172
+ };
173
+ }
157
174
  /**
158
175
  * The calling user does not have permission to list all sessions across all Agents.
159
176
  Listing all sessions across all agents requires the `api:aip-agents-write` scope.
@@ -182,8 +199,47 @@ export interface InvalidAgentVersion {
182
199
  version: unknown;
183
200
  };
184
201
  }
202
+ /**
203
+ * The provided parameter is not valid for the Agent for this session.
204
+ Check the available parameters for the Agent and version through the API with `getAgent`, or in AIP Agent Studio.
205
+ The Agent version used for the session can be checked through the API with `getSession`.
206
+
207
+ *
208
+ * Log Safety: UNSAFE
209
+ */
210
+ export interface InvalidParameter {
211
+ errorCode: "INVALID_ARGUMENT";
212
+ errorName: "InvalidParameter";
213
+ errorInstanceId: string;
214
+ parameters: {
215
+ agentRid: unknown;
216
+ sessionRid: unknown;
217
+ parameter: unknown;
218
+ };
219
+ }
220
+ /**
221
+ * The provided parameter type does not match the expected type for the parameter configured on the Agent for this session.
222
+ Check the available parameters and their expected types for the Agent and version through the API with `getAgent`, or in AIP Agent Studio.
223
+ The Agent version used for the session can be checked through the API with `getSession`.
224
+
225
+ *
226
+ * Log Safety: UNSAFE
227
+ */
228
+ export interface InvalidParameterType {
229
+ errorCode: "INVALID_ARGUMENT";
230
+ errorName: "InvalidParameterType";
231
+ errorInstanceId: string;
232
+ parameters: {
233
+ agentRid: unknown;
234
+ sessionRid: unknown;
235
+ parameter: unknown;
236
+ expectedType: unknown;
237
+ receivedType: unknown;
238
+ };
239
+ }
185
240
  /**
186
241
  * Failed to retrieve the latest published version of the Agent because the Agent has no published versions.
242
+ Try publishing the Agent in AIP Agent Studio to use the latest published version, or specify the version of the Agent to use.
187
243
 
188
244
  *
189
245
  * Log Safety: SAFE
@@ -196,6 +252,42 @@ export interface NoPublishedAgentVersion {
196
252
  agentRid: unknown;
197
253
  };
198
254
  }
255
+ /**
256
+ * Some object types are configured for use by the Agent but could not be found.
257
+ The object types either do not exist or the client token does not have access.
258
+ Object types can be checked by listing available object types through the API, or searching in [Ontology Manager](/docs/foundry/ontology-manager/overview/).
259
+
260
+ *
261
+ * Log Safety: UNSAFE
262
+ */
263
+ export interface ObjectTypeIdsNotFound {
264
+ errorCode: "NOT_FOUND";
265
+ errorName: "ObjectTypeIdsNotFound";
266
+ errorInstanceId: string;
267
+ parameters: {
268
+ agentRid: unknown;
269
+ sessionRid: unknown;
270
+ objectTypeIds: unknown;
271
+ };
272
+ }
273
+ /**
274
+ * Some object types are configured for use by the Agent but could not be found.
275
+ The object types either do not exist or the client token does not have access.
276
+ Object types can be checked by listing available object types through the API, or searching in [Ontology Manager](/docs/foundry/ontology-manager/overview/).
277
+
278
+ *
279
+ * Log Safety: SAFE
280
+ */
281
+ export interface ObjectTypeRidsNotFound {
282
+ errorCode: "NOT_FOUND";
283
+ errorName: "ObjectTypeRidsNotFound";
284
+ errorInstanceId: string;
285
+ parameters: {
286
+ agentRid: unknown;
287
+ sessionRid: unknown;
288
+ objectTypeRids: unknown;
289
+ };
290
+ }
199
291
  /**
200
292
  * Could not ragContext the Session.
201
293
  *
@@ -210,6 +302,22 @@ export interface RagContextSessionPermissionDenied {
210
302
  sessionRid: unknown;
211
303
  };
212
304
  }
305
+ /**
306
+ * Failed to generate a response as the model rate limits were exceeded. Clients should wait and retry.
307
+
308
+ *
309
+ * Log Safety: UNSAFE
310
+ */
311
+ export interface RateLimitExceeded {
312
+ errorCode: "CUSTOM_CLIENT";
313
+ errorName: "RateLimitExceeded";
314
+ errorInstanceId: string;
315
+ parameters: {
316
+ agentRid: unknown;
317
+ sessionRid: unknown;
318
+ details: unknown;
319
+ };
320
+ }
213
321
  /**
214
322
  * Failed to generate a response for a session due to an unexpected error.
215
323
 
@@ -1 +1 @@
1
- {"version":3,"file":"_errors.d.ts","sourceRoot":"","sources":["../../src/_errors.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;KAOK;AACL,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,8BAA8B,CAAC;IAC1C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,QAAQ,EAAE,OAAO,CAAC;QAClB,UAAU,EAAE,OAAO,CAAC;QACpB,OAAO,EAAE,OAAO,CAAC;KAClB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,WAAW,CAAC;IACvB,SAAS,EAAE,eAAe,CAAC;IAC3B,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,QAAQ,EAAE,OAAO,CAAC;KACnB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,WAAW,CAAC;IACvB,SAAS,EAAE,sBAAsB,CAAC;IAClC,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,QAAQ,EAAE,OAAO,CAAC;QAClB,kBAAkB,EAAE,OAAO,CAAC;KAC7B,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAChD,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,mCAAmC,CAAC;IAC/C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,EAAE,CAAC;CAChB;AAED;;;;GAIG;AACH,MAAM,W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e,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,QAAQ,EAAE,OAAO,CAAC;QAClB,UAAU,EAAE,OAAO,CAAC;KACrB,CAAC;CACH"}
@@ -1,5 +1,5 @@
1
- export type { Agent, AgentMarkdownResponse, AgentMetadata, AgentRid, AgentSessionRagContextResponse, AgentsSessionsPage, AgentVersion, AgentVersionDetails, AgentVersionString, BlockingContinueSessionRequest, CancelSessionRequest, CancelSessionResponse, Content, CreateSessionRequest, InputContext, ListAgentVersionsResponse, ListSessionsResponse, MessageId, ObjectContext, ObjectSetParameter, ObjectSetParameterValueUpdate, PageSize, PageToken, Parameter, ParameterAccessMode, ParameterId, ParameterType, ParameterValue, ParameterValueUpdate, RagContextSessionRequest, Session, SessionExchange, SessionExchangeContexts, SessionExchangeResult, SessionMetadata, SessionRid, StreamingContinueSessionRequest, StringParameter, StringParameterValue, UserTextInput, } from "./_components.js";
2
- export type { AgentIterationsExceededLimit, AgentNotFound, AgentVersionNotFound, AllSessionsAgentsPermissionDenied, BlockingContinueSessionPermissionDenied, CancelSessionFailedMessageNotInProgress, CancelSessionPermissionDenied, ContentNotFound, ContextSizeExceededLimit, CreateSessionPermissionDenied, GetAllSessionsAgentsPermissionDenied, InvalidAgentVersion, NoPublishedAgentVersion, RagContextSessionPermissionDenied, SessionExecutionFailed, SessionNotFound, StreamingContinueSessionPermissionDenied, } from "./_errors.js";
1
+ export type { Agent, AgentMarkdownResponse, AgentMetadata, AgentRid, AgentSessionRagContextResponse, AgentsSessionsPage, AgentVersion, AgentVersionDetails, AgentVersionString, BlockingContinueSessionRequest, CancelSessionRequest, CancelSessionResponse, Content, CreateSessionRequest, InputContext, ListAgentVersionsResponse, ListSessionsResponse, MessageId, ObjectContext, ObjectSetParameter, ObjectSetParameterValue, ObjectSetParameterValueUpdate, Parameter, ParameterAccessMode, ParameterId, ParameterType, ParameterValue, ParameterValueUpdate, RagContextSessionRequest, Session, SessionExchange, SessionExchangeContexts, SessionExchangeResult, SessionMetadata, SessionRid, StreamingContinueSessionRequest, StringParameter, StringParameterValue, UserTextInput, } from "./_components.js";
2
+ export type { AgentIterationsExceededLimit, AgentNotFound, AgentVersionNotFound, AllSessionsAgentsPermissionDenied, BlockingContinueSessionPermissionDenied, CancelSessionFailedMessageNotInProgress, CancelSessionPermissionDenied, ContentNotFound, ContextSizeExceededLimit, CreateSessionPermissionDenied, FunctionLocatorNotFound, GetAllSessionsAgentsPermissionDenied, InvalidAgentVersion, InvalidParameter, InvalidParameterType, NoPublishedAgentVersion, ObjectTypeIdsNotFound, ObjectTypeRidsNotFound, RagContextSessionPermissionDenied, RateLimitExceeded, SessionExecutionFailed, SessionNotFound, StreamingContinueSessionPermissionDenied, } from "./_errors.js";
3
3
  export * as Agents from "./public/Agent.js";
4
4
  export * as AgentVersions from "./public/AgentVersion.js";
5
5
  export * as Contents from "./public/Content.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EACV,KAAK,EACL,qBAAqB,EACrB,aAAa,EACb,QAAQ,EACR,8BAA8B,EAC9B,kBAAkB,EAClB,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,EAClB,8BAA8B,EAC9B,oBAAoB,EACpB,qBAAqB,EACrB,OAAO,EACP,oBAAoB,EACpB,YAAY,EACZ,yBAAyB,EACzB,oBAAoB,EACpB,SAAS,EACT,aAAa,EACb,kBAAkB,EAClB,6BAA6B,EAC7B,QAAQ,EACR,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,WAAW,EACX,aAAa,EACb,cAAc,EACd,oBAAoB,EACpB,wBAAwB,EACxB,OAAO,EACP,eAAe,EACf,uBAAuB,EACvB,qBAAqB,EACrB,eAAe,EACf,UAAU,EACV,+BAA+B,EAC/B,eAAe,EACf,oBAAoB,EACpB,aAAa,GACd,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,4BAA4B,EAC5B,aAAa,EACb,oBAAoB,EACpB,iCAAiC,EACjC,uCAAuC,EACvC,uCAAuC,EACvC,6BAA6B,EAC7B,eAAe,EACf,wBAAwB,EACxB,6BAA6B,EAC7B,oCAAoC,EACpC,mBAAmB,EACnB,uBAAuB,EACvB,iCAAiC,EACjC,sBAAsB,EACtB,eAAe,EACf,wCAAwC,GACzC,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,aAAa,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EACV,KAAK,EACL,qBAAqB,EACrB,aAAa,EACb,QAAQ,EACR,8BAA8B,EAC9B,kBAAkB,EAClB,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,EAClB,8BAA8B,EAC9B,oBAAoB,EACpB,qBAAqB,EACrB,OAAO,EACP,oBAAoB,EACpB,YAAY,EACZ,yBAAyB,EACzB,oBAAoB,EACpB,SAAS,EACT,aAAa,EACb,kBAAkB,EAClB,uBAAuB,EACvB,6BAA6B,EAC7B,SAAS,EACT,mBAAmB,EACnB,WAAW,EACX,aAAa,EACb,cAAc,EACd,oBAAoB,EACpB,wBAAwB,EACxB,OAAO,EACP,eAAe,EACf,uBAAuB,EACvB,qBAAqB,EACrB,eAAe,EACf,UAAU,EACV,+BAA+B,EAC/B,eAAe,EACf,oBAAoB,EACpB,aAAa,GACd,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,4BAA4B,EAC5B,aAAa,EACb,oBAAoB,EACpB,iCAAiC,EACjC,uCAAuC,EACvC,uCAAuC,EACvC,6BAA6B,EAC7B,eAAe,EACf,wBAAwB,EACxB,6BAA6B,EAC7B,uBAAuB,EACvB,oCAAoC,EACpC,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,EACpB,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,iCAAiC,EACjC,iBAAiB,EACjB,sBAAsB,EACtB,eAAe,EACf,wCAAwC,GACzC,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,aAAa,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC"}
@@ -5,7 +5,7 @@ import type * as _AipAgents from "../_components.js";
5
5
  /**
6
6
  * Get details for an AIP Agent.
7
7
  *
8
- * @alpha
8
+ * @beta
9
9
  *
10
10
  * Required Scopes: [api:aip-agents-read]
11
11
  * URL: /v2/aipAgents/agents/{agentRid}
@@ -18,19 +18,18 @@ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldCl
18
18
  }
19
19
  ]): Promise<_AipAgents.Agent>;
20
20
  /**
21
- * List all conversation sessions between the calling user across all accessible Agents that were created
22
- * by this client.
21
+ * List all conversation sessions between the calling user and all accessible Agents that were created by this client.
23
22
  * Sessions are returned in order of most recently updated first.
24
23
  *
25
- * @alpha
24
+ * @beta
26
25
  *
27
26
  * Required Scopes: [api:aip-agents-write]
28
27
  * URL: /v2/aipAgents/agents/allSessions
29
28
  */
30
29
  export declare function allSessions($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
31
30
  $queryParams?: {
32
- pageSize?: _AipAgents.PageSize | undefined;
33
- pageToken?: _AipAgents.PageToken | undefined;
31
+ pageSize?: _Core.PageSize | undefined;
32
+ pageToken?: _Core.PageToken | undefined;
34
33
  preview?: _Core.PreviewMode | undefined;
35
34
  }
36
35
  ]): Promise<_AipAgents.AgentsSessionsPage>;
@@ -1 +1 @@
1
- {"version":3,"file":"Agent.d.ts","sourceRoot":"","sources":["../../../src/public/Agent.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM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AAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAcrD;;;;;;;GAOG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,UAAU,CAAC,QAAQ;IAE7B,YAAY,CAAC,EAAE;QACb,OAAO,CAAC,EAAE,UAAU,CAAC,kBAAkB,GAAG,SAAS,CAAC;QACpD,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAE3B;AAUD;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CACzB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;QACxC,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,CAExC"}
@@ -19,7 +19,7 @@ const _get = [0, "/v2/aipAgents/agents/{0}", 2];
19
19
  /**
20
20
  * Get details for an AIP Agent.
21
21
  *
22
- * @alpha
22
+ * @beta
23
23
  *
24
24
  * Required Scopes: [api:aip-agents-read]
25
25
  * URL: /v2/aipAgents/agents/{agentRid}
@@ -29,11 +29,10 @@ export function get($ctx, ...args) {
29
29
  }
30
30
  const _allSessions = [0, "/v2/aipAgents/agents/allSessions", 2];
31
31
  /**
32
- * List all conversation sessions between the calling user across all accessible Agents that were created
33
- * by this client.
32
+ * List all conversation sessions between the calling user and all accessible Agents that were created by this client.
34
33
  * Sessions are returned in order of most recently updated first.
35
34
  *
36
- * @alpha
35
+ * @beta
37
36
  *
38
37
  * Required Scopes: [api:aip-agents-write]
39
38
  * URL: /v2/aipAgents/agents/allSessions
@@ -1 +1 @@
1
- {"version":3,"file":"Agent.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_get","get","$ctx","args","_allSessions","allSessions"],"sources":["Agent.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _get = [0, \"/v2/aipAgents/agents/{0}\", 2];\n/**\n * Get details for an AIP Agent.\n *\n * @alpha\n *\n * Required Scopes: [api:aip-agents-read]\n * URL: /v2/aipAgents/agents/{agentRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _allSessions = [0, \"/v2/aipAgents/agents/allSessions\", 2];\n/**\n * List all conversation sessions between the calling user across all accessible Agents that were created\n * by this client.\n * Sessions are returned in order of most recently updated first.\n *\n * @alpha\n *\n * Required Scopes: [api:aip-agents-write]\n * URL: /v2/aipAgents/agents/allSessions\n */\nexport function allSessions($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _allSessions, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,0BAA0B,EAAE,CAAC,CAAC;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,IAAI,EAAE,GAAGG,IAAI,CAAC;AACrD;AACA,MAAMC,YAAY,GAAG,CAAC,CAAC,EAAE,kCAAkC,EAAE,CAAC,CAAC;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,WAAWA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACvC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,YAAY,EAAE,GAAGD,IAAI,CAAC;AAC7D","ignoreList":[]}
1
+ {"version":3,"file":"Agent.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_get","get","$ctx","args","_allSessions","allSessions"],"sources":["Agent.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _get = [0, \"/v2/aipAgents/agents/{0}\", 2];\n/**\n * Get details for an AIP Agent.\n *\n * @beta\n *\n * Required Scopes: [api:aip-agents-read]\n * URL: /v2/aipAgents/agents/{agentRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _allSessions = [0, \"/v2/aipAgents/agents/allSessions\", 2];\n/**\n * List all conversation sessions between the calling user and all accessible Agents that were created by this client.\n * Sessions are returned in order of most recently updated first.\n *\n * @beta\n *\n * Required Scopes: [api:aip-agents-write]\n * URL: /v2/aipAgents/agents/allSessions\n */\nexport function allSessions($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _allSessions, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,0BAA0B,EAAE,CAAC,CAAC;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,IAAI,EAAE,GAAGG,IAAI,CAAC;AACrD;AACA,MAAMC,YAAY,GAAG,CAAC,CAAC,EAAE,kCAAkC,EAAE,CAAC,CAAC;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,WAAWA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACvC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,YAAY,EAAE,GAAGD,IAAI,CAAC;AAC7D","ignoreList":[]}
@@ -6,7 +6,7 @@ import type * as _AipAgents from "../_components.js";
6
6
  * List all versions for an AIP Agent.
7
7
  * Versions are returned in descending order, by most recent versions first.
8
8
  *
9
- * @alpha
9
+ * @beta
10
10
  *
11
11
  * Required Scopes: [api:aip-agents-read]
12
12
  * URL: /v2/aipAgents/agents/{agentRid}/agentVersions
@@ -22,7 +22,7 @@ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldC
22
22
  /**
23
23
  * Get version details for an AIP Agent.
24
24
  *
25
- * @alpha
25
+ * @beta
26
26
  *
27
27
  * Required Scopes: [api:aip-agents-read]
28
28
  * URL: /v2/aipAgents/agents/{agentRid}/agentVersions/{agentVersionString}
@@ -20,7 +20,7 @@ const _list = [0, "/v2/aipAgents/agents/{0}/agentVersions", 2];
20
20
  * List all versions for an AIP Agent.
21
21
  * Versions are returned in descending order, by most recent versions first.
22
22
  *
23
- * @alpha
23
+ * @beta
24
24
  *
25
25
  * Required Scopes: [api:aip-agents-read]
26
26
  * URL: /v2/aipAgents/agents/{agentRid}/agentVersions
@@ -32,7 +32,7 @@ const _get = [0, "/v2/aipAgents/agents/{0}/agentVersions/{1}", 2];
32
32
  /**
33
33
  * Get version details for an AIP Agent.
34
34
  *
35
- * @alpha
35
+ * @beta
36
36
  *
37
37
  * Required Scopes: [api:aip-agents-read]
38
38
  * URL: /v2/aipAgents/agents/{agentRid}/agentVersions/{agentVersionString}
@@ -1 +1 @@
1
- {"version":3,"file":"AgentVersion.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get"],"sources":["AgentVersion.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _list = [0, \"/v2/aipAgents/agents/{0}/agentVersions\", 2];\n/**\n * List all versions for an AIP Agent.\n * Versions are returned in descending order, by most recent versions first.\n *\n * @alpha\n *\n * Required Scopes: [api:aip-agents-read]\n * URL: /v2/aipAgents/agents/{agentRid}/agentVersions\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/aipAgents/agents/{0}/agentVersions/{1}\", 2];\n/**\n * Get version details for an AIP Agent.\n *\n * @alpha\n *\n * Required Scopes: [api:aip-agents-read]\n * URL: /v2/aipAgents/agents/{agentRid}/agentVersions/{agentVersionString}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,KAAK,GAAG,CAAC,CAAC,EAAE,wCAAwC,EAAE,CAAC,CAAC;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,KAAK,EAAE,GAAGG,IAAI,CAAC;AACtD;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,4CAA4C,EAAE,CAAC,CAAC;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD","ignoreList":[]}
1
+ {"version":3,"file":"AgentVersion.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get"],"sources":["AgentVersion.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _list = [0, \"/v2/aipAgents/agents/{0}/agentVersions\", 2];\n/**\n * List all versions for an AIP Agent.\n * Versions are returned in descending order, by most recent versions first.\n *\n * @beta\n *\n * Required Scopes: [api:aip-agents-read]\n * URL: /v2/aipAgents/agents/{agentRid}/agentVersions\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/aipAgents/agents/{0}/agentVersions/{1}\", 2];\n/**\n * Get version details for an AIP Agent.\n *\n * @beta\n *\n * Required Scopes: [api:aip-agents-read]\n * URL: /v2/aipAgents/agents/{agentRid}/agentVersions/{agentVersionString}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,KAAK,GAAG,CAAC,CAAC,EAAE,wCAAwC,EAAE,CAAC,CAAC;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,KAAK,EAAE,GAAGG,IAAI,CAAC;AACtD;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,4CAA4C,EAAE,CAAC,CAAC;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD","ignoreList":[]}
@@ -5,7 +5,7 @@ import type * as _AipAgents from "../_components.js";
5
5
  /**
6
6
  * Get the conversation content for a session between the calling user and an Agent.
7
7
  *
8
- * @alpha
8
+ * @beta
9
9
  *
10
10
  * Required Scopes: [api:aip-agents-read]
11
11
  * URL: /v2/aipAgents/agents/{agentRid}/sessions/{sessionRid}/content
@@ -19,7 +19,7 @@ const _get = [0, "/v2/aipAgents/agents/{0}/sessions/{1}/content", 2];
19
19
  /**
20
20
  * Get the conversation content for a session between the calling user and an Agent.
21
21
  *
22
- * @alpha
22
+ * @beta
23
23
  *
24
24
  * Required Scopes: [api:aip-agents-read]
25
25
  * URL: /v2/aipAgents/agents/{agentRid}/sessions/{sessionRid}/content
@@ -1 +1 @@
1
- {"version":3,"file":"Content.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_get","get","$ctx","args"],"sources":["Content.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _get = [0, \"/v2/aipAgents/agents/{0}/sessions/{1}/content\", 2];\n/**\n * Get the conversation content for a session between the calling user and an Agent.\n *\n * @alpha\n *\n * Required Scopes: [api:aip-agents-read]\n * URL: /v2/aipAgents/agents/{agentRid}/sessions/{sessionRid}/content\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,+CAA+C,EAAE,CAAC,CAAC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,IAAI,EAAE,GAAGG,IAAI,CAAC;AACrD","ignoreList":[]}
1
+ {"version":3,"file":"Content.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_get","get","$ctx","args"],"sources":["Content.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _get = [0, \"/v2/aipAgents/agents/{0}/sessions/{1}/content\", 2];\n/**\n * Get the conversation content for a session between the calling user and an Agent.\n *\n * @beta\n *\n * Required Scopes: [api:aip-agents-read]\n * URL: /v2/aipAgents/agents/{agentRid}/sessions/{sessionRid}/content\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,+CAA+C,EAAE,CAAC,CAAC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,IAAI,EAAE,GAAGG,IAAI,CAAC;AACrD","ignoreList":[]}
@@ -6,7 +6,7 @@ import type * as _AipAgents from "../_components.js";
6
6
  * Create a new conversation session between the calling user and an Agent.
7
7
  * Use `blockingContinue` or `streamingContinue` to start adding exchanges to the session.
8
8
  *
9
- * @alpha
9
+ * @beta
10
10
  *
11
11
  * Required Scopes: [api:aip-agents-write]
12
12
  * URL: /v2/aipAgents/agents/{agentRid}/sessions
@@ -19,12 +19,12 @@ export declare function create($ctx: $Client | $ClientContext | $OldClient | $Ol
19
19
  }
20
20
  ]): Promise<_AipAgents.Session>;
21
21
  /**
22
- * List all conversation sessions between the calling user and an Agent that were created by this client.
23
- * This does not list sessions for the user created by other clients. For example, any sessions created by
24
- * the user in AIP Agent Studio will not be listed here.
22
+ * List all conversation sessions between the calling user and an Agent that was created by this client.
23
+ * This does not list sessions for the user created by other clients.
24
+ * For example, any sessions created by the user in AIP Agent Studio will not be listed here.
25
25
  * Sessions are returned in order of most recently updated first.
26
26
  *
27
- * @alpha
27
+ * @beta
28
28
  *
29
29
  * Required Scopes: [api:aip-agents-read]
30
30
  * URL: /v2/aipAgents/agents/{agentRid}/sessions
@@ -38,9 +38,9 @@ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldC
38
38
  }
39
39
  ]): Promise<_AipAgents.ListSessionsResponse>;
40
40
  /**
41
- * Get details of a conversation session between the calling user and an Agent.
41
+ * Get the details of a conversation session between the calling user and an Agent.
42
42
  *
43
- * @alpha
43
+ * @beta
44
44
  *
45
45
  * Required Scopes: [api:aip-agents-read]
46
46
  * URL: /v2/aipAgents/agents/{agentRid}/sessions/{sessionRid}
@@ -57,10 +57,10 @@ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldCl
57
57
  * Adds a new exchange to the session with the provided inputs, and generates a response from the Agent.
58
58
  * Blocks on returning the result of the added exchange until the response is fully generated.
59
59
  * Streamed responses are also supported; see `streamingContinue` for details.
60
- * Concurrent requests to continue the same session are not supported. Clients should wait
61
- * to receive a response before sending the next message.
60
+ * Concurrent requests to continue the same session are not supported.
61
+ * Clients should wait to receive a response before sending the next message.
62
62
  *
63
- * @alpha
63
+ * @beta
64
64
  *
65
65
  * Required Scopes: [api:aip-agents-write]
66
66
  * URL: /v2/aipAgents/agents/{agentRid}/sessions/{sessionRid}/blockingContinue
@@ -76,15 +76,13 @@ export declare function blockingContinue($ctx: $Client | $ClientContext | $OldCl
76
76
  /**
77
77
  * Continue a conversation session with an Agent, or add the first exchange to a session after creation.
78
78
  * Adds a new exchange to the session with the provided inputs, and generates a response from the Agent.
79
- * Returns a stream of the Agent response text (formatted using markdown) for clients to consume as
80
- * the response is generated.
81
- * On completion of the streamed response, clients can load the full details of the exchange that was
82
- * added to the session by reloading the session content.
79
+ * Returns a stream of the Agent response text (formatted using markdown) for clients to consume as the response is generated.
80
+ * On completion of the streamed response, clients can load the full details of the exchange that was added to the session by reloading the session content.
83
81
  * Streamed exchanges also support cancellation; see `cancel` for details.
84
- * Concurrent requests to continue the same session are not supported. Clients should wait to receive a
85
- * response, or cancel the in-progress exchange, before sending the next message.
82
+ * Concurrent requests to continue the same session are not supported.
83
+ * Clients should wait to receive a response, or cancel the in-progress exchange, before sending the next message.
86
84
  *
87
- * @alpha
85
+ * @beta
88
86
  *
89
87
  * Required Scopes: [api:aip-agents-write]
90
88
  * URL: /v2/aipAgents/agents/{agentRid}/sessions/{sessionRid}/streamingContinue
@@ -99,12 +97,10 @@ export declare function streamingContinue($ctx: $Client | $ClientContext | $OldC
99
97
  ]): Promise<Blob>;
100
98
  /**
101
99
  * Cancel an in-progress streamed exchange with an Agent which was initiated with `streamingContinue`.
102
- * Canceling an exchange allows clients to prevent the exchange from being added to the session,
103
- * or to provide a response to replace the Agent-generated response.
104
- * Note that canceling an exchange does not terminate the stream returned by `streamingContinue`;
105
- * clients should close the stream on triggering the cancellation request to stop reading from the stream.
100
+ * Canceling an exchange allows clients to prevent the exchange from being added to the session, or to provide a response to replace the Agent-generated response.
101
+ * Note that canceling an exchange does not terminate the stream returned by `streamingContinue`; clients should close the stream on triggering the cancellation request to stop reading from the stream.
106
102
  *
107
- * @alpha
103
+ * @beta
108
104
  *
109
105
  * Required Scopes: [api:aip-agents-write]
110
106
  * URL: /v2/aipAgents/agents/{agentRid}/sessions/{sessionRid}/cancel
@@ -118,12 +114,10 @@ export declare function cancel($ctx: $Client | $ClientContext | $OldClient | $Ol
118
114
  }
119
115
  ]): Promise<_AipAgents.CancelSessionResponse>;
120
116
  /**
121
- * Retrieve relevant [context](https://www.palantir.com/docs/foundry/agent-studio/core-concepts/#retrieval-context) for a user message
122
- * from the data sources configured for the session. This allows clients to pre-retrieve context for a user
123
- * message before sending it to the Agent with the `contextsOverride` option when continuing a session, to
124
- * allow any pre-processing of the context before sending it to the Agent.
117
+ * Retrieve relevant [context](https://www.palantir.com/docs/foundry/agent-studio/core-concepts/#retrieval-context) for a user message from the data sources configured for the session.
118
+ * This allows clients to pre-retrieve context for a user message before sending it to the Agent with the `contextsOverride` option when continuing a session, to allow any pre-processing of the context before sending it to the Agent.
125
119
  *
126
- * @alpha
120
+ * @beta
127
121
  *
128
122
  * Required Scopes: [api:aip-agents-write]
129
123
  * URL: /v2/aipAgents/agents/{agentRid}/sessions/{sessionRid}/ragContext