@runloop/reflex-client 0.16.0 → 0.18.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.
- package/dist/generated/agents.d.ts +18 -5
- package/dist/generated/agents.d.ts.map +1 -1
- package/dist/generated/agents.js +25 -5
- package/dist/generated/agents.js.map +1 -1
- package/dist/generated/model/agentSessionIndexEntry.d.ts +13 -0
- package/dist/generated/model/agentSessionIndexEntry.d.ts.map +1 -0
- package/dist/generated/model/agentSessionIndexEntry.js +2 -0
- package/dist/generated/model/agentSessionIndexEntry.js.map +1 -0
- package/dist/generated/model/agentSessionIndexEntryEntry.d.ts +28 -0
- package/dist/generated/model/agentSessionIndexEntryEntry.d.ts.map +1 -0
- package/dist/generated/model/agentSessionIndexEntryEntry.js +8 -0
- package/dist/generated/model/agentSessionIndexEntryEntry.js.map +1 -0
- package/dist/generated/model/agentSessionIndexResponse.d.ts +12 -0
- package/dist/generated/model/agentSessionIndexResponse.d.ts.map +1 -0
- package/dist/generated/model/agentSessionIndexResponse.js +2 -0
- package/dist/generated/model/agentSessionIndexResponse.js.map +1 -0
- package/dist/generated/model/agentStreamPageInfo.d.ts +13 -0
- package/dist/generated/model/agentStreamPageInfo.d.ts.map +1 -0
- package/dist/generated/model/agentStreamPageInfo.js +8 -0
- package/dist/generated/model/agentStreamPageInfo.js.map +1 -0
- package/dist/generated/model/getAgentStreamPaged.d.ts +12 -0
- package/dist/generated/model/getAgentStreamPaged.d.ts.map +1 -0
- package/dist/generated/model/getAgentStreamPaged.js +11 -0
- package/dist/generated/model/getAgentStreamPaged.js.map +1 -0
- package/dist/generated/model/getAgentStreamParams.d.ts +26 -0
- package/dist/generated/model/getAgentStreamParams.d.ts.map +1 -0
- package/dist/generated/model/getAgentStreamParams.js +2 -0
- package/dist/generated/model/getAgentStreamParams.js.map +1 -0
- package/dist/generated/model/getIdpConfig200Config.d.ts +3 -0
- package/dist/generated/model/getIdpConfig200Config.d.ts.map +1 -1
- package/dist/generated/model/index.d.ts +7 -0
- package/dist/generated/model/index.d.ts.map +1 -1
- package/dist/generated/model/index.js +7 -0
- package/dist/generated/model/index.js.map +1 -1
- package/dist/generated/model/pagedAgentStreamResponse.d.ts +13 -0
- package/dist/generated/model/pagedAgentStreamResponse.d.ts.map +1 -0
- package/dist/generated/model/pagedAgentStreamResponse.js +2 -0
- package/dist/generated/model/pagedAgentStreamResponse.js.map +1 -0
- package/dist/generated/model/upsertIdpConfig200.d.ts +3 -0
- package/dist/generated/model/upsertIdpConfig200.d.ts.map +1 -1
- package/dist/generated/model/upsertIdpConfigBody.d.ts +9 -0
- package/dist/generated/model/upsertIdpConfigBody.d.ts.map +1 -1
- package/dist/react/agents.d.ts +31 -6
- package/dist/react/agents.d.ts.map +1 -1
- package/dist/react/agents.js +38 -11
- package/dist/react/agents.js.map +1 -1
- package/dist/react/model/agentSessionIndexEntry.d.ts +13 -0
- package/dist/react/model/agentSessionIndexEntry.d.ts.map +1 -0
- package/dist/react/model/agentSessionIndexEntry.js +2 -0
- package/dist/react/model/agentSessionIndexEntry.js.map +1 -0
- package/dist/react/model/agentSessionIndexEntryEntry.d.ts +28 -0
- package/dist/react/model/agentSessionIndexEntryEntry.d.ts.map +1 -0
- package/dist/react/model/agentSessionIndexEntryEntry.js +8 -0
- package/dist/react/model/agentSessionIndexEntryEntry.js.map +1 -0
- package/dist/react/model/agentSessionIndexResponse.d.ts +12 -0
- package/dist/react/model/agentSessionIndexResponse.d.ts.map +1 -0
- package/dist/react/model/agentSessionIndexResponse.js +2 -0
- package/dist/react/model/agentSessionIndexResponse.js.map +1 -0
- package/dist/react/model/agentStreamPageInfo.d.ts +13 -0
- package/dist/react/model/agentStreamPageInfo.d.ts.map +1 -0
- package/dist/react/model/agentStreamPageInfo.js +8 -0
- package/dist/react/model/agentStreamPageInfo.js.map +1 -0
- package/dist/react/model/getAgentStreamPaged.d.ts +12 -0
- package/dist/react/model/getAgentStreamPaged.d.ts.map +1 -0
- package/dist/react/model/getAgentStreamPaged.js +11 -0
- package/dist/react/model/getAgentStreamPaged.js.map +1 -0
- package/dist/react/model/getAgentStreamParams.d.ts +26 -0
- package/dist/react/model/getAgentStreamParams.d.ts.map +1 -0
- package/dist/react/model/getAgentStreamParams.js +2 -0
- package/dist/react/model/getAgentStreamParams.js.map +1 -0
- package/dist/react/model/getIdpConfig200Config.d.ts +3 -0
- package/dist/react/model/getIdpConfig200Config.d.ts.map +1 -1
- package/dist/react/model/pagedAgentStreamResponse.d.ts +13 -0
- package/dist/react/model/pagedAgentStreamResponse.d.ts.map +1 -0
- package/dist/react/model/pagedAgentStreamResponse.js +2 -0
- package/dist/react/model/pagedAgentStreamResponse.js.map +1 -0
- package/dist/react/model/upsertIdpConfig200.d.ts +3 -0
- package/dist/react/model/upsertIdpConfig200.d.ts.map +1 -1
- package/dist/react/model/upsertIdpConfigBody.d.ts +9 -0
- package/dist/react/model/upsertIdpConfigBody.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/generated/agents.ts +53 -6
- package/src/generated/model/agentSessionIndexEntry.ts +13 -0
- package/src/generated/model/agentSessionIndexEntryEntry.ts +28 -0
- package/src/generated/model/agentSessionIndexResponse.ts +12 -0
- package/src/generated/model/agentStreamPageInfo.ts +13 -0
- package/src/generated/model/getAgentStreamPaged.ts +14 -0
- package/src/generated/model/getAgentStreamParams.ts +26 -0
- package/src/generated/model/getIdpConfig200Config.ts +3 -0
- package/src/generated/model/index.ts +7 -0
- package/src/generated/model/pagedAgentStreamResponse.ts +13 -0
- package/src/generated/model/upsertIdpConfig200.ts +3 -0
- package/src/generated/model/upsertIdpConfigBody.ts +9 -0
- package/src/react/agents.ts +96 -11
- package/src/react/model/agentSessionIndexEntry.ts +13 -0
- package/src/react/model/agentSessionIndexEntryEntry.ts +28 -0
- package/src/react/model/agentSessionIndexResponse.ts +12 -0
- package/src/react/model/agentStreamPageInfo.ts +13 -0
- package/src/react/model/getAgentStreamPaged.ts +14 -0
- package/src/react/model/getAgentStreamParams.ts +26 -0
- package/src/react/model/getIdpConfig200Config.ts +3 -0
- package/src/react/model/pagedAgentStreamResponse.ts +13 -0
- package/src/react/model/upsertIdpConfig200.ts +3 -0
- package/src/react/model/upsertIdpConfigBody.ts +9 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentSessionIndexEntry.js","sourceRoot":"","sources":["../../../src/react/model/agentSessionIndexEntry.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.18.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Reflex API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
export type AgentSessionIndexEntryEntry = {
|
|
8
|
+
type: 'prompt';
|
|
9
|
+
data: {
|
|
10
|
+
/** @maxLength 64 */
|
|
11
|
+
text: string;
|
|
12
|
+
opensTurn: boolean;
|
|
13
|
+
protocolType: string;
|
|
14
|
+
};
|
|
15
|
+
} | {
|
|
16
|
+
type: 'turn.end';
|
|
17
|
+
data: {
|
|
18
|
+
reason: 'completed' | 'errored' | 'interrupted' | 'suspended' | 'shutdown';
|
|
19
|
+
durationMs?: number;
|
|
20
|
+
tokenUsage?: {
|
|
21
|
+
inputTokens?: number | null;
|
|
22
|
+
outputTokens?: number | null;
|
|
23
|
+
cacheReadTokens?: number | null;
|
|
24
|
+
cacheWriteTokens?: number | null;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=agentSessionIndexEntryEntry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentSessionIndexEntryEntry.d.ts","sourceRoot":"","sources":["../../../src/react/model/agentSessionIndexEntryEntry.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE;QACN,oBAAoB;QACpB,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,OAAO,CAAC;QACnB,YAAY,EAAE,MAAM,CAAC;KACtB,CAAC;CACD,GAAG;IACF,IAAI,EAAE,UAAU,CAAC;IACjB,IAAI,EAAE;QACN,MAAM,EAAE,WAAW,GAAG,SAAS,GAAG,aAAa,GAAG,WAAW,GAAG,UAAU,CAAC;QAC3E,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,UAAU,CAAC,EAAE;YACb,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAC5B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAC7B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAChC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;SAClC,CAAC;KACD,CAAC;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentSessionIndexEntryEntry.js","sourceRoot":"","sources":["../../../src/react/model/agentSessionIndexEntryEntry.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.18.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Reflex API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
import type { AgentSessionIndexEntry } from './agentSessionIndexEntry.js';
|
|
8
|
+
export interface AgentSessionIndexResponse {
|
|
9
|
+
entries: AgentSessionIndexEntry[];
|
|
10
|
+
sessionIndexFromSeq: number | null;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=agentSessionIndexResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentSessionIndexResponse.d.ts","sourceRoot":"","sources":["../../../src/react/model/agentSessionIndexResponse.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAE1E,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,sBAAsB,EAAE,CAAC;IAClC,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;CACpC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentSessionIndexResponse.js","sourceRoot":"","sources":["../../../src/react/model/agentSessionIndexResponse.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.18.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Reflex API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
export interface AgentStreamPageInfo {
|
|
8
|
+
startSeq: number;
|
|
9
|
+
endSeq: number;
|
|
10
|
+
prevCursor: number | null;
|
|
11
|
+
hasMore: boolean;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=agentStreamPageInfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentStreamPageInfo.d.ts","sourceRoot":"","sources":["../../../src/react/model/agentStreamPageInfo.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentStreamPageInfo.js","sourceRoot":"","sources":["../../../src/react/model/agentStreamPageInfo.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.18.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Reflex API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
export type GetAgentStreamPaged = typeof GetAgentStreamPaged[keyof typeof GetAgentStreamPaged];
|
|
8
|
+
export declare const GetAgentStreamPaged: {
|
|
9
|
+
readonly true: "true";
|
|
10
|
+
readonly false: "false";
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=getAgentStreamPaged.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAgentStreamPaged.d.ts","sourceRoot":"","sources":["../../../src/react/model/getAgentStreamPaged.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAG/F,eAAO,MAAM,mBAAmB;;;CAGtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAgentStreamPaged.js","sourceRoot":"","sources":["../../../src/react/model/getAgentStreamPaged.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;CACN,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.18.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Reflex API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
import type { GetAgentStreamPaged } from './getAgentStreamPaged.js';
|
|
8
|
+
export type GetAgentStreamParams = {
|
|
9
|
+
paged?: GetAgentStreamPaged;
|
|
10
|
+
/**
|
|
11
|
+
* @maximum 9007199254740991
|
|
12
|
+
* @exclusiveMinimum 0
|
|
13
|
+
*/
|
|
14
|
+
before?: number;
|
|
15
|
+
/**
|
|
16
|
+
* @minimum 0
|
|
17
|
+
* @maximum 9007199254740991
|
|
18
|
+
*/
|
|
19
|
+
fromSeq?: number;
|
|
20
|
+
/**
|
|
21
|
+
* @minimum 0
|
|
22
|
+
* @maximum 9007199254740991
|
|
23
|
+
*/
|
|
24
|
+
toSeq?: number;
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=getAgentStreamParams.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAgentStreamParams.d.ts","sourceRoot":"","sources":["../../../src/react/model/getAgentStreamParams.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,MAAM,oBAAoB,GAAG;IACnC,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAC5B;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CACd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAgentStreamParams.js","sourceRoot":"","sources":["../../../src/react/model/getAgentStreamParams.ts"],"names":[],"mappings":""}
|
|
@@ -10,6 +10,9 @@ export type GetIdpConfig200Config = {
|
|
|
10
10
|
organizationId: string;
|
|
11
11
|
displayName: string | null;
|
|
12
12
|
issuer: string;
|
|
13
|
+
idJagEnabled: boolean;
|
|
14
|
+
idJagAllowedClientIds: string[];
|
|
15
|
+
jwksUri: string | null;
|
|
13
16
|
groupMappings: GetIdpConfig200ConfigGroupMappingsItem[];
|
|
14
17
|
oktaOrgUrl: string | null;
|
|
15
18
|
oktaSyncEnabled: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getIdpConfig200Config.d.ts","sourceRoot":"","sources":["../../../src/react/model/getIdpConfig200Config.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,6CAA6C,CAAC;AAE1G,MAAM,MAAM,qBAAqB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,sCAAsC,EAAE,CAAC;IACxD,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,eAAe,EAAE,OAAO,CAAC;IACzB,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,GAAG,IAAI,CAAC"}
|
|
1
|
+
{"version":3,"file":"getIdpConfig200Config.d.ts","sourceRoot":"","sources":["../../../src/react/model/getIdpConfig200Config.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,6CAA6C,CAAC;AAE1G,MAAM,MAAM,qBAAqB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,OAAO,CAAC;IACtB,qBAAqB,EAAE,MAAM,EAAE,CAAC;IAChC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,aAAa,EAAE,sCAAsC,EAAE,CAAC;IACxD,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,eAAe,EAAE,OAAO,CAAC;IACzB,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.18.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Reflex API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
import type { AgentStreamPageInfo } from './agentStreamPageInfo.js';
|
|
8
|
+
import type { AxonEvent } from './axonEvent.js';
|
|
9
|
+
export interface PagedAgentStreamResponse {
|
|
10
|
+
events: AxonEvent[];
|
|
11
|
+
page: AgentStreamPageInfo;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=pagedAgentStreamResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagedAgentStreamResponse.d.ts","sourceRoot":"","sources":["../../../src/react/model/pagedAgentStreamResponse.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,IAAI,EAAE,mBAAmB,CAAC;CAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagedAgentStreamResponse.js","sourceRoot":"","sources":["../../../src/react/model/pagedAgentStreamResponse.ts"],"names":[],"mappings":""}
|
|
@@ -10,6 +10,9 @@ export type UpsertIdpConfig200 = {
|
|
|
10
10
|
organizationId: string;
|
|
11
11
|
displayName: string | null;
|
|
12
12
|
issuer: string;
|
|
13
|
+
idJagEnabled: boolean;
|
|
14
|
+
idJagAllowedClientIds: string[];
|
|
15
|
+
jwksUri: string | null;
|
|
13
16
|
groupMappings: UpsertIdpConfig200GroupMappingsItem[];
|
|
14
17
|
oktaOrgUrl: string | null;
|
|
15
18
|
oktaSyncEnabled: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upsertIdpConfig200.d.ts","sourceRoot":"","sources":["../../../src/react/model/upsertIdpConfig200.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,0CAA0C,CAAC;AAEpG,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,mCAAmC,EAAE,CAAC;IACrD,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,eAAe,EAAE,OAAO,CAAC;IACzB,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
1
|
+
{"version":3,"file":"upsertIdpConfig200.d.ts","sourceRoot":"","sources":["../../../src/react/model/upsertIdpConfig200.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,0CAA0C,CAAC;AAEpG,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,OAAO,CAAC;IACtB,qBAAqB,EAAE,MAAM,EAAE,CAAC;IAChC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,aAAa,EAAE,mCAAmC,EAAE,CAAC;IACrD,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,eAAe,EAAE,OAAO,CAAC;IACzB,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -8,9 +8,18 @@ import type { UpsertIdpConfigBodyGroupMappingsItem } from './upsertIdpConfigBody
|
|
|
8
8
|
export type UpsertIdpConfigBody = {
|
|
9
9
|
displayName?: string | null;
|
|
10
10
|
issuer: string;
|
|
11
|
+
idJagEnabled?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* @maxItems 50
|
|
14
|
+
* @items.minLength 1
|
|
15
|
+
* @items.maxLength 512
|
|
16
|
+
*/
|
|
17
|
+
idJagAllowedClientIds?: string[];
|
|
18
|
+
jwksUri?: string | null;
|
|
11
19
|
/** @maxItems 200 */
|
|
12
20
|
groupMappings?: UpsertIdpConfigBodyGroupMappingsItem[];
|
|
13
21
|
oktaOrgUrl?: string | null;
|
|
14
22
|
oktaSyncEnabled?: boolean;
|
|
23
|
+
expectedUpdatedAt?: number;
|
|
15
24
|
};
|
|
16
25
|
//# sourceMappingURL=upsertIdpConfigBody.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upsertIdpConfigBody.d.ts","sourceRoot":"","sources":["../../../src/react/model/upsertIdpConfigBody.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,2CAA2C,CAAC;AAEtG,MAAM,MAAM,mBAAmB,GAAG;IAChC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,oBAAoB;IACpB,aAAa,CAAC,EAAE,oCAAoC,EAAE,CAAC;IACvD,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"upsertIdpConfigBody.d.ts","sourceRoot":"","sources":["../../../src/react/model/upsertIdpConfigBody.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,2CAA2C,CAAC;AAEtG,MAAM,MAAM,mBAAmB,GAAG;IAChC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;SAIK;IACL,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;IACjC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,oBAAoB;IACpB,aAAa,CAAC,EAAE,oCAAoC,EAAE,CAAC;IACvD,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC"}
|
package/package.json
CHANGED
package/src/generated/agents.ts
CHANGED
|
@@ -9,6 +9,7 @@ import type {
|
|
|
9
9
|
AgentCommandPendingResponse,
|
|
10
10
|
AgentCommandStatusResponse,
|
|
11
11
|
AgentServiceStatusesResponse,
|
|
12
|
+
AgentSessionIndexResponse,
|
|
12
13
|
AgentView,
|
|
13
14
|
AgentViewsResponse,
|
|
14
15
|
ArchiveAllAgents200,
|
|
@@ -23,8 +24,10 @@ import type {
|
|
|
23
24
|
EnqueueAgentMessageBody,
|
|
24
25
|
GetAgentCommandStatusParams,
|
|
25
26
|
GetAgentQueue200Item,
|
|
27
|
+
GetAgentStreamParams,
|
|
26
28
|
ListAgents200,
|
|
27
29
|
ListAgentsParams,
|
|
30
|
+
PagedAgentStreamResponse,
|
|
28
31
|
RemoveQueuedAgentMessage200,
|
|
29
32
|
ReorderAgentQueue200Item,
|
|
30
33
|
ReorderAgentQueueBody,
|
|
@@ -939,6 +942,41 @@ export const getAgentServiceStatuses = async (id: string, options?: RequestInit)
|
|
|
939
942
|
);}
|
|
940
943
|
|
|
941
944
|
|
|
945
|
+
export type getAgentSessionIndexResponse200 = {
|
|
946
|
+
data: AgentSessionIndexResponse
|
|
947
|
+
status: 200
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
export type getAgentSessionIndexResponseSuccess = (getAgentSessionIndexResponse200) & {
|
|
951
|
+
headers: Headers;
|
|
952
|
+
};
|
|
953
|
+
;
|
|
954
|
+
|
|
955
|
+
export type getAgentSessionIndexResponse = (getAgentSessionIndexResponseSuccess)
|
|
956
|
+
|
|
957
|
+
export const getGetAgentSessionIndexUrl = (id: string,) => {
|
|
958
|
+
|
|
959
|
+
|
|
960
|
+
|
|
961
|
+
|
|
962
|
+
return `/agents/${encodeURIComponent(String(id))}/session-index`
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* @summary The agent's session index: every prompt and turn boundary, for nav and paging.
|
|
967
|
+
*/
|
|
968
|
+
export const getAgentSessionIndex = async (id: string, options?: RequestInit): Promise<getAgentSessionIndexResponse> => {
|
|
969
|
+
|
|
970
|
+
return apiFetch<getAgentSessionIndexResponse>(getGetAgentSessionIndexUrl(id),
|
|
971
|
+
{
|
|
972
|
+
...options,
|
|
973
|
+
method: 'GET'
|
|
974
|
+
|
|
975
|
+
|
|
976
|
+
}
|
|
977
|
+
);}
|
|
978
|
+
|
|
979
|
+
|
|
942
980
|
export type createAgentSnapshotResponse202 = {
|
|
943
981
|
data: Snapshot
|
|
944
982
|
status: 202
|
|
@@ -1012,7 +1050,7 @@ export const stopAgent = async (id: string, options?: RequestInit): Promise<stop
|
|
|
1012
1050
|
|
|
1013
1051
|
|
|
1014
1052
|
export type getAgentStreamResponse200 = {
|
|
1015
|
-
data: AxonEvent[]
|
|
1053
|
+
data: AxonEvent[] | PagedAgentStreamResponse
|
|
1016
1054
|
status: 200
|
|
1017
1055
|
}
|
|
1018
1056
|
|
|
@@ -1023,20 +1061,29 @@ export type getAgentStreamResponseSuccess = (getAgentStreamResponse200) & {
|
|
|
1023
1061
|
|
|
1024
1062
|
export type getAgentStreamResponse = (getAgentStreamResponseSuccess)
|
|
1025
1063
|
|
|
1026
|
-
export const getGetAgentStreamUrl = (id: string,
|
|
1064
|
+
export const getGetAgentStreamUrl = (id: string,
|
|
1065
|
+
params?: GetAgentStreamParams,) => {
|
|
1066
|
+
const normalizedParams = new URLSearchParams();
|
|
1027
1067
|
|
|
1068
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
1028
1069
|
|
|
1070
|
+
if (value !== undefined) {
|
|
1071
|
+
normalizedParams.append(key, value === null ? 'null' : String(value))
|
|
1072
|
+
}
|
|
1073
|
+
});
|
|
1029
1074
|
|
|
1075
|
+
const stringifiedParams = normalizedParams.toString();
|
|
1030
1076
|
|
|
1031
|
-
return `/agents/${encodeURIComponent(String(id))}/stream`
|
|
1077
|
+
return stringifiedParams.length > 0 ? `/agents/${encodeURIComponent(String(id))}/stream?${stringifiedParams}` : `/agents/${encodeURIComponent(String(id))}/stream`
|
|
1032
1078
|
}
|
|
1033
1079
|
|
|
1034
1080
|
/**
|
|
1035
|
-
* @summary Get the agent's full
|
|
1081
|
+
* @summary Get the agent's event history: a turn-aligned window for indexed agents, the full array for legacy ones.
|
|
1036
1082
|
*/
|
|
1037
|
-
export const getAgentStream = async (id: string,
|
|
1083
|
+
export const getAgentStream = async (id: string,
|
|
1084
|
+
params?: GetAgentStreamParams, options?: RequestInit): Promise<getAgentStreamResponse> => {
|
|
1038
1085
|
|
|
1039
|
-
return apiFetch<getAgentStreamResponse>(getGetAgentStreamUrl(id),
|
|
1086
|
+
return apiFetch<getAgentStreamResponse>(getGetAgentStreamUrl(id,params),
|
|
1040
1087
|
{
|
|
1041
1088
|
...options,
|
|
1042
1089
|
method: 'GET'
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.18.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Reflex API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
import type { AgentSessionIndexEntryEntry } from './agentSessionIndexEntryEntry.js';
|
|
8
|
+
|
|
9
|
+
export interface AgentSessionIndexEntry {
|
|
10
|
+
seqNumber: number;
|
|
11
|
+
timestamp: number | null;
|
|
12
|
+
entry: AgentSessionIndexEntryEntry;
|
|
13
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.18.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Reflex API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export type AgentSessionIndexEntryEntry = {
|
|
9
|
+
type: 'prompt';
|
|
10
|
+
data: {
|
|
11
|
+
/** @maxLength 64 */
|
|
12
|
+
text: string;
|
|
13
|
+
opensTurn: boolean;
|
|
14
|
+
protocolType: string;
|
|
15
|
+
};
|
|
16
|
+
} | {
|
|
17
|
+
type: 'turn.end';
|
|
18
|
+
data: {
|
|
19
|
+
reason: 'completed' | 'errored' | 'interrupted' | 'suspended' | 'shutdown';
|
|
20
|
+
durationMs?: number;
|
|
21
|
+
tokenUsage?: {
|
|
22
|
+
inputTokens?: number | null;
|
|
23
|
+
outputTokens?: number | null;
|
|
24
|
+
cacheReadTokens?: number | null;
|
|
25
|
+
cacheWriteTokens?: number | null;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.18.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Reflex API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
import type { AgentSessionIndexEntry } from './agentSessionIndexEntry.js';
|
|
8
|
+
|
|
9
|
+
export interface AgentSessionIndexResponse {
|
|
10
|
+
entries: AgentSessionIndexEntry[];
|
|
11
|
+
sessionIndexFromSeq: number | null;
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.18.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Reflex API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export type GetAgentStreamPaged = typeof GetAgentStreamPaged[keyof typeof GetAgentStreamPaged];
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export const GetAgentStreamPaged = {
|
|
12
|
+
true: 'true',
|
|
13
|
+
false: 'false',
|
|
14
|
+
} as const;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.18.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Reflex API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
import type { GetAgentStreamPaged } from './getAgentStreamPaged.js';
|
|
8
|
+
|
|
9
|
+
export type GetAgentStreamParams = {
|
|
10
|
+
paged?: GetAgentStreamPaged;
|
|
11
|
+
/**
|
|
12
|
+
* @maximum 9007199254740991
|
|
13
|
+
* @exclusiveMinimum 0
|
|
14
|
+
*/
|
|
15
|
+
before?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @minimum 0
|
|
18
|
+
* @maximum 9007199254740991
|
|
19
|
+
*/
|
|
20
|
+
fromSeq?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @minimum 0
|
|
23
|
+
* @maximum 9007199254740991
|
|
24
|
+
*/
|
|
25
|
+
toSeq?: number;
|
|
26
|
+
};
|
|
@@ -11,6 +11,9 @@ export type GetIdpConfig200Config = {
|
|
|
11
11
|
organizationId: string;
|
|
12
12
|
displayName: string | null;
|
|
13
13
|
issuer: string;
|
|
14
|
+
idJagEnabled: boolean;
|
|
15
|
+
idJagAllowedClientIds: string[];
|
|
16
|
+
jwksUri: string | null;
|
|
14
17
|
groupMappings: GetIdpConfig200ConfigGroupMappingsItem[];
|
|
15
18
|
oktaOrgUrl: string | null;
|
|
16
19
|
oktaSyncEnabled: boolean;
|
|
@@ -50,7 +50,11 @@ export * from './agentSandboxOptionsCustomSize.js';
|
|
|
50
50
|
export * from './agentSandboxOptionsResourceSize.js';
|
|
51
51
|
export * from './agentServiceStatus.js';
|
|
52
52
|
export * from './agentServiceStatusesResponse.js';
|
|
53
|
+
export * from './agentSessionIndexEntry.js';
|
|
54
|
+
export * from './agentSessionIndexEntryEntry.js';
|
|
55
|
+
export * from './agentSessionIndexResponse.js';
|
|
53
56
|
export * from './agentStatus.js';
|
|
57
|
+
export * from './agentStreamPageInfo.js';
|
|
54
58
|
export * from './agentTurnState.js';
|
|
55
59
|
export * from './agentView.js';
|
|
56
60
|
export * from './agentViewerAccess.js';
|
|
@@ -168,6 +172,8 @@ export * from './flagUserOverride.js';
|
|
|
168
172
|
export * from './getAgentCommandStatusParams.js';
|
|
169
173
|
export * from './getAgentQueue200Item.js';
|
|
170
174
|
export * from './getAgentQueue200ItemAttachments.js';
|
|
175
|
+
export * from './getAgentStreamPaged.js';
|
|
176
|
+
export * from './getAgentStreamParams.js';
|
|
171
177
|
export * from './getAuthSettings200.js';
|
|
172
178
|
export * from './getAuthSettings200Mode.js';
|
|
173
179
|
export * from './getAuthStatus200.js';
|
|
@@ -273,6 +279,7 @@ export * from './organizationSharingSettings.js';
|
|
|
273
279
|
export * from './organizationStatus.js';
|
|
274
280
|
export * from './organizationSubscription.js';
|
|
275
281
|
export * from './organizationSubscriptionType.js';
|
|
282
|
+
export * from './pagedAgentStreamResponse.js';
|
|
276
283
|
export * from './pollDeviceAuthToken200.js';
|
|
277
284
|
export * from './pollDeviceAuthTokenBody.js';
|
|
278
285
|
export * from './profileStatsResponse.js';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.18.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Reflex API
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
import type { AgentStreamPageInfo } from './agentStreamPageInfo.js';
|
|
8
|
+
import type { AxonEvent } from './axonEvent.js';
|
|
9
|
+
|
|
10
|
+
export interface PagedAgentStreamResponse {
|
|
11
|
+
events: AxonEvent[];
|
|
12
|
+
page: AgentStreamPageInfo;
|
|
13
|
+
}
|
|
@@ -11,6 +11,9 @@ export type UpsertIdpConfig200 = {
|
|
|
11
11
|
organizationId: string;
|
|
12
12
|
displayName: string | null;
|
|
13
13
|
issuer: string;
|
|
14
|
+
idJagEnabled: boolean;
|
|
15
|
+
idJagAllowedClientIds: string[];
|
|
16
|
+
jwksUri: string | null;
|
|
14
17
|
groupMappings: UpsertIdpConfig200GroupMappingsItem[];
|
|
15
18
|
oktaOrgUrl: string | null;
|
|
16
19
|
oktaSyncEnabled: boolean;
|
|
@@ -9,8 +9,17 @@ import type { UpsertIdpConfigBodyGroupMappingsItem } from './upsertIdpConfigBody
|
|
|
9
9
|
export type UpsertIdpConfigBody = {
|
|
10
10
|
displayName?: string | null;
|
|
11
11
|
issuer: string;
|
|
12
|
+
idJagEnabled?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* @maxItems 50
|
|
15
|
+
* @items.minLength 1
|
|
16
|
+
* @items.maxLength 512
|
|
17
|
+
*/
|
|
18
|
+
idJagAllowedClientIds?: string[];
|
|
19
|
+
jwksUri?: string | null;
|
|
12
20
|
/** @maxItems 200 */
|
|
13
21
|
groupMappings?: UpsertIdpConfigBodyGroupMappingsItem[];
|
|
14
22
|
oktaOrgUrl?: string | null;
|
|
15
23
|
oktaSyncEnabled?: boolean;
|
|
24
|
+
expectedUpdatedAt?: number;
|
|
16
25
|
};
|