@runloop/reflex-client 0.12.0 → 0.14.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/agent-personas.d.ts +48 -0
- package/dist/generated/agent-personas.d.ts.map +1 -0
- package/dist/generated/agent-personas.js +44 -0
- package/dist/generated/agent-personas.js.map +1 -0
- package/dist/generated/model/agentPersona.d.ts +36 -0
- package/dist/generated/model/agentPersona.d.ts.map +1 -0
- package/dist/generated/model/agentPersona.js +2 -0
- package/dist/generated/model/agentPersona.js.map +1 -0
- package/dist/generated/model/agentPersonaAttachments.d.ts +12 -0
- package/dist/generated/model/agentPersonaAttachments.d.ts.map +1 -0
- package/dist/generated/model/agentPersonaAttachments.js +8 -0
- package/dist/generated/model/agentPersonaAttachments.js.map +1 -0
- package/dist/generated/model/agentPersonaEnvVars.d.ts +17 -0
- package/dist/generated/model/agentPersonaEnvVars.d.ts.map +1 -0
- package/dist/generated/model/agentPersonaEnvVars.js +8 -0
- package/dist/generated/model/agentPersonaEnvVars.js.map +1 -0
- package/dist/generated/model/agentPersonaPromptMode.d.ts +13 -0
- package/dist/generated/model/agentPersonaPromptMode.d.ts.map +1 -0
- package/dist/generated/model/agentPersonaPromptMode.js +12 -0
- package/dist/generated/model/agentPersonaPromptMode.js.map +1 -0
- package/dist/generated/model/agentPersonaSandboxOptions.d.ts +21 -0
- package/dist/generated/model/agentPersonaSandboxOptions.d.ts.map +1 -0
- package/dist/generated/model/agentPersonaSandboxOptions.js +2 -0
- package/dist/generated/model/agentPersonaSandboxOptions.js.map +1 -0
- package/dist/generated/model/agentPersonaSandboxOptionsCustomSize.d.ts +22 -0
- package/dist/generated/model/agentPersonaSandboxOptionsCustomSize.d.ts.map +1 -0
- package/dist/generated/model/agentPersonaSandboxOptionsCustomSize.js +8 -0
- package/dist/generated/model/agentPersonaSandboxOptionsCustomSize.js.map +1 -0
- package/dist/generated/model/agentPersonaSandboxOptionsResourceSize.d.ts +15 -0
- package/dist/generated/model/agentPersonaSandboxOptionsResourceSize.d.ts.map +1 -0
- package/dist/generated/model/agentPersonaSandboxOptionsResourceSize.js +14 -0
- package/dist/generated/model/agentPersonaSandboxOptionsResourceSize.js.map +1 -0
- package/dist/generated/model/index.d.ts +17 -0
- package/dist/generated/model/index.d.ts.map +1 -1
- package/dist/generated/model/index.js +17 -0
- package/dist/generated/model/index.js.map +1 -1
- package/dist/generated/model/launchAgentFromPersonaBody.d.ts +39 -0
- package/dist/generated/model/launchAgentFromPersonaBody.d.ts.map +1 -0
- package/dist/generated/model/launchAgentFromPersonaBody.js +2 -0
- package/dist/generated/model/launchAgentFromPersonaBody.js.map +1 -0
- package/dist/generated/model/launchAgentFromPersonaBodyAuthMethod.d.ts +13 -0
- package/dist/generated/model/launchAgentFromPersonaBodyAuthMethod.d.ts.map +1 -0
- package/dist/generated/model/launchAgentFromPersonaBodyAuthMethod.js +12 -0
- package/dist/generated/model/launchAgentFromPersonaBodyAuthMethod.js.map +1 -0
- package/dist/generated/model/launchAgentFromPersonaBodyContentItem.d.ts +20 -0
- package/dist/generated/model/launchAgentFromPersonaBodyContentItem.d.ts.map +1 -0
- package/dist/generated/model/launchAgentFromPersonaBodyContentItem.js +8 -0
- package/dist/generated/model/launchAgentFromPersonaBodyContentItem.js.map +1 -0
- package/dist/generated/model/launchAgentFromPersonaBodyExtraAttachmentsItem.d.ts +12 -0
- package/dist/generated/model/launchAgentFromPersonaBodyExtraAttachmentsItem.d.ts.map +1 -0
- package/dist/generated/model/launchAgentFromPersonaBodyExtraAttachmentsItem.js +8 -0
- package/dist/generated/model/launchAgentFromPersonaBodyExtraAttachmentsItem.js.map +1 -0
- package/dist/generated/model/launchAgentFromPersonaBodyExtraEnvVarsItem.d.ts +17 -0
- package/dist/generated/model/launchAgentFromPersonaBodyExtraEnvVarsItem.d.ts.map +1 -0
- package/dist/generated/model/launchAgentFromPersonaBodyExtraEnvVarsItem.js +8 -0
- package/dist/generated/model/launchAgentFromPersonaBodyExtraEnvVarsItem.js.map +1 -0
- package/dist/generated/model/launchAgentFromPersonaBodyPromptMode.d.ts +13 -0
- package/dist/generated/model/launchAgentFromPersonaBodyPromptMode.d.ts.map +1 -0
- package/dist/generated/model/launchAgentFromPersonaBodyPromptMode.js +12 -0
- package/dist/generated/model/launchAgentFromPersonaBodyPromptMode.js.map +1 -0
- package/dist/generated/model/launchAgentFromPersonaBodyPromptStrategy.d.ts +12 -0
- package/dist/generated/model/launchAgentFromPersonaBodyPromptStrategy.d.ts.map +1 -0
- package/dist/generated/model/launchAgentFromPersonaBodyPromptStrategy.js +11 -0
- package/dist/generated/model/launchAgentFromPersonaBodyPromptStrategy.js.map +1 -0
- package/dist/generated/model/launchAgentFromPersonaBodySandboxOptions.d.ts +21 -0
- package/dist/generated/model/launchAgentFromPersonaBodySandboxOptions.d.ts.map +1 -0
- package/dist/generated/model/launchAgentFromPersonaBodySandboxOptions.js +2 -0
- package/dist/generated/model/launchAgentFromPersonaBodySandboxOptions.js.map +1 -0
- package/dist/generated/model/launchAgentFromPersonaBodySandboxOptionsCustomSize.d.ts +22 -0
- package/dist/generated/model/launchAgentFromPersonaBodySandboxOptionsCustomSize.d.ts.map +1 -0
- package/dist/generated/model/launchAgentFromPersonaBodySandboxOptionsCustomSize.js +8 -0
- package/dist/generated/model/launchAgentFromPersonaBodySandboxOptionsCustomSize.js.map +1 -0
- package/dist/generated/model/launchAgentFromPersonaBodySandboxOptionsResourceSize.d.ts +15 -0
- package/dist/generated/model/launchAgentFromPersonaBodySandboxOptionsResourceSize.d.ts.map +1 -0
- package/dist/generated/model/launchAgentFromPersonaBodySandboxOptionsResourceSize.js +14 -0
- package/dist/generated/model/launchAgentFromPersonaBodySandboxOptionsResourceSize.js.map +1 -0
- package/dist/generated/model/llmTaskAssignmentModel.d.ts +1 -0
- package/dist/generated/model/llmTaskAssignmentModel.d.ts.map +1 -1
- package/dist/generated/model/llmTaskAssignmentModel.js +1 -0
- package/dist/generated/model/llmTaskAssignmentModel.js.map +1 -1
- package/dist/generated/model/upsertLlmTaskAssignmentBodyModel.d.ts +1 -0
- package/dist/generated/model/upsertLlmTaskAssignmentBodyModel.d.ts.map +1 -1
- package/dist/generated/model/upsertLlmTaskAssignmentBodyModel.js +1 -0
- package/dist/generated/model/upsertLlmTaskAssignmentBodyModel.js.map +1 -1
- package/dist/generated/organizations.d.ts +14 -0
- package/dist/generated/organizations.d.ts.map +1 -1
- package/dist/generated/organizations.js +14 -0
- package/dist/generated/organizations.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/react/agent-personas.d.ts +85 -0
- package/dist/react/agent-personas.d.ts.map +1 -0
- package/dist/react/agent-personas.js +105 -0
- package/dist/react/agent-personas.js.map +1 -0
- package/dist/react/model/agentPersona.d.ts +36 -0
- package/dist/react/model/agentPersona.d.ts.map +1 -0
- package/dist/react/model/agentPersona.js +2 -0
- package/dist/react/model/agentPersona.js.map +1 -0
- package/dist/react/model/agentPersonaAttachments.d.ts +12 -0
- package/dist/react/model/agentPersonaAttachments.d.ts.map +1 -0
- package/dist/react/model/agentPersonaAttachments.js +8 -0
- package/dist/react/model/agentPersonaAttachments.js.map +1 -0
- package/dist/react/model/agentPersonaEnvVars.d.ts +17 -0
- package/dist/react/model/agentPersonaEnvVars.d.ts.map +1 -0
- package/dist/react/model/agentPersonaEnvVars.js +8 -0
- package/dist/react/model/agentPersonaEnvVars.js.map +1 -0
- package/dist/react/model/agentPersonaPromptMode.d.ts +13 -0
- package/dist/react/model/agentPersonaPromptMode.d.ts.map +1 -0
- package/dist/react/model/agentPersonaPromptMode.js +12 -0
- package/dist/react/model/agentPersonaPromptMode.js.map +1 -0
- package/dist/react/model/agentPersonaSandboxOptions.d.ts +21 -0
- package/dist/react/model/agentPersonaSandboxOptions.d.ts.map +1 -0
- package/dist/react/model/agentPersonaSandboxOptions.js +2 -0
- package/dist/react/model/agentPersonaSandboxOptions.js.map +1 -0
- package/dist/react/model/agentPersonaSandboxOptionsCustomSize.d.ts +22 -0
- package/dist/react/model/agentPersonaSandboxOptionsCustomSize.d.ts.map +1 -0
- package/dist/react/model/agentPersonaSandboxOptionsCustomSize.js +8 -0
- package/dist/react/model/agentPersonaSandboxOptionsCustomSize.js.map +1 -0
- package/dist/react/model/agentPersonaSandboxOptionsResourceSize.d.ts +15 -0
- package/dist/react/model/agentPersonaSandboxOptionsResourceSize.d.ts.map +1 -0
- package/dist/react/model/agentPersonaSandboxOptionsResourceSize.js +14 -0
- package/dist/react/model/agentPersonaSandboxOptionsResourceSize.js.map +1 -0
- package/dist/react/model/launchAgentFromPersonaBody.d.ts +39 -0
- package/dist/react/model/launchAgentFromPersonaBody.d.ts.map +1 -0
- package/dist/react/model/launchAgentFromPersonaBody.js +2 -0
- package/dist/react/model/launchAgentFromPersonaBody.js.map +1 -0
- package/dist/react/model/launchAgentFromPersonaBodyAuthMethod.d.ts +13 -0
- package/dist/react/model/launchAgentFromPersonaBodyAuthMethod.d.ts.map +1 -0
- package/dist/react/model/launchAgentFromPersonaBodyAuthMethod.js +12 -0
- package/dist/react/model/launchAgentFromPersonaBodyAuthMethod.js.map +1 -0
- package/dist/react/model/launchAgentFromPersonaBodyContentItem.d.ts +20 -0
- package/dist/react/model/launchAgentFromPersonaBodyContentItem.d.ts.map +1 -0
- package/dist/react/model/launchAgentFromPersonaBodyContentItem.js +8 -0
- package/dist/react/model/launchAgentFromPersonaBodyContentItem.js.map +1 -0
- package/dist/react/model/launchAgentFromPersonaBodyExtraAttachmentsItem.d.ts +12 -0
- package/dist/react/model/launchAgentFromPersonaBodyExtraAttachmentsItem.d.ts.map +1 -0
- package/dist/react/model/launchAgentFromPersonaBodyExtraAttachmentsItem.js +8 -0
- package/dist/react/model/launchAgentFromPersonaBodyExtraAttachmentsItem.js.map +1 -0
- package/dist/react/model/launchAgentFromPersonaBodyExtraEnvVarsItem.d.ts +17 -0
- package/dist/react/model/launchAgentFromPersonaBodyExtraEnvVarsItem.d.ts.map +1 -0
- package/dist/react/model/launchAgentFromPersonaBodyExtraEnvVarsItem.js +8 -0
- package/dist/react/model/launchAgentFromPersonaBodyExtraEnvVarsItem.js.map +1 -0
- package/dist/react/model/launchAgentFromPersonaBodyPromptMode.d.ts +13 -0
- package/dist/react/model/launchAgentFromPersonaBodyPromptMode.d.ts.map +1 -0
- package/dist/react/model/launchAgentFromPersonaBodyPromptMode.js +12 -0
- package/dist/react/model/launchAgentFromPersonaBodyPromptMode.js.map +1 -0
- package/dist/react/model/launchAgentFromPersonaBodyPromptStrategy.d.ts +12 -0
- package/dist/react/model/launchAgentFromPersonaBodyPromptStrategy.d.ts.map +1 -0
- package/dist/react/model/launchAgentFromPersonaBodyPromptStrategy.js +11 -0
- package/dist/react/model/launchAgentFromPersonaBodyPromptStrategy.js.map +1 -0
- package/dist/react/model/launchAgentFromPersonaBodySandboxOptions.d.ts +21 -0
- package/dist/react/model/launchAgentFromPersonaBodySandboxOptions.d.ts.map +1 -0
- package/dist/react/model/launchAgentFromPersonaBodySandboxOptions.js +2 -0
- package/dist/react/model/launchAgentFromPersonaBodySandboxOptions.js.map +1 -0
- package/dist/react/model/launchAgentFromPersonaBodySandboxOptionsCustomSize.d.ts +22 -0
- package/dist/react/model/launchAgentFromPersonaBodySandboxOptionsCustomSize.d.ts.map +1 -0
- package/dist/react/model/launchAgentFromPersonaBodySandboxOptionsCustomSize.js +8 -0
- package/dist/react/model/launchAgentFromPersonaBodySandboxOptionsCustomSize.js.map +1 -0
- package/dist/react/model/launchAgentFromPersonaBodySandboxOptionsResourceSize.d.ts +15 -0
- package/dist/react/model/launchAgentFromPersonaBodySandboxOptionsResourceSize.d.ts.map +1 -0
- package/dist/react/model/launchAgentFromPersonaBodySandboxOptionsResourceSize.js +14 -0
- package/dist/react/model/launchAgentFromPersonaBodySandboxOptionsResourceSize.js.map +1 -0
- package/dist/react/model/llmTaskAssignmentModel.d.ts +1 -0
- package/dist/react/model/llmTaskAssignmentModel.d.ts.map +1 -1
- package/dist/react/model/llmTaskAssignmentModel.js +1 -0
- package/dist/react/model/llmTaskAssignmentModel.js.map +1 -1
- package/dist/react/model/upsertLlmTaskAssignmentBodyModel.d.ts +1 -0
- package/dist/react/model/upsertLlmTaskAssignmentBodyModel.d.ts.map +1 -1
- package/dist/react/model/upsertLlmTaskAssignmentBodyModel.js +1 -0
- package/dist/react/model/upsertLlmTaskAssignmentBodyModel.js.map +1 -1
- package/dist/react/organizations.d.ts +30 -0
- package/dist/react/organizations.d.ts.map +1 -1
- package/dist/react/organizations.js +27 -0
- package/dist/react/organizations.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/agent-personas.ts +122 -0
- package/src/generated/model/agentPersona.ts +36 -0
- package/src/generated/model/agentPersonaAttachments.ts +12 -0
- package/src/generated/model/agentPersonaEnvVars.ts +17 -0
- package/src/generated/model/agentPersonaPromptMode.ts +15 -0
- package/src/generated/model/agentPersonaSandboxOptions.ts +21 -0
- package/src/generated/model/agentPersonaSandboxOptionsCustomSize.ts +22 -0
- package/src/generated/model/agentPersonaSandboxOptionsResourceSize.ts +17 -0
- package/src/generated/model/index.ts +17 -0
- package/src/generated/model/launchAgentFromPersonaBody.ts +39 -0
- package/src/generated/model/launchAgentFromPersonaBodyAuthMethod.ts +15 -0
- package/src/generated/model/launchAgentFromPersonaBodyContentItem.ts +20 -0
- package/src/generated/model/launchAgentFromPersonaBodyExtraAttachmentsItem.ts +12 -0
- package/src/generated/model/launchAgentFromPersonaBodyExtraEnvVarsItem.ts +17 -0
- package/src/generated/model/launchAgentFromPersonaBodyPromptMode.ts +15 -0
- package/src/generated/model/launchAgentFromPersonaBodyPromptStrategy.ts +14 -0
- package/src/generated/model/launchAgentFromPersonaBodySandboxOptions.ts +21 -0
- package/src/generated/model/launchAgentFromPersonaBodySandboxOptionsCustomSize.ts +22 -0
- package/src/generated/model/launchAgentFromPersonaBodySandboxOptionsResourceSize.ts +17 -0
- package/src/generated/model/llmTaskAssignmentModel.ts +1 -0
- package/src/generated/model/upsertLlmTaskAssignmentBodyModel.ts +1 -0
- package/src/generated/organizations.ts +38 -0
- package/src/index.ts +1 -0
- package/src/react/agent-personas.ts +260 -0
- package/src/react/model/agentPersona.ts +36 -0
- package/src/react/model/agentPersonaAttachments.ts +12 -0
- package/src/react/model/agentPersonaEnvVars.ts +17 -0
- package/src/react/model/agentPersonaPromptMode.ts +15 -0
- package/src/react/model/agentPersonaSandboxOptions.ts +21 -0
- package/src/react/model/agentPersonaSandboxOptionsCustomSize.ts +22 -0
- package/src/react/model/agentPersonaSandboxOptionsResourceSize.ts +17 -0
- package/src/react/model/launchAgentFromPersonaBody.ts +39 -0
- package/src/react/model/launchAgentFromPersonaBodyAuthMethod.ts +15 -0
- package/src/react/model/launchAgentFromPersonaBodyContentItem.ts +20 -0
- package/src/react/model/launchAgentFromPersonaBodyExtraAttachmentsItem.ts +12 -0
- package/src/react/model/launchAgentFromPersonaBodyExtraEnvVarsItem.ts +17 -0
- package/src/react/model/launchAgentFromPersonaBodyPromptMode.ts +15 -0
- package/src/react/model/launchAgentFromPersonaBodyPromptStrategy.ts +14 -0
- package/src/react/model/launchAgentFromPersonaBodySandboxOptions.ts +21 -0
- package/src/react/model/launchAgentFromPersonaBodySandboxOptionsCustomSize.ts +22 -0
- package/src/react/model/launchAgentFromPersonaBodySandboxOptionsResourceSize.ts +17 -0
- package/src/react/model/llmTaskAssignmentModel.ts +1 -0
- package/src/react/model/upsertLlmTaskAssignmentBodyModel.ts +1 -0
- package/src/react/organizations.ts +63 -0
|
@@ -0,0 +1,39 @@
|
|
|
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 { LaunchAgentFromPersonaBodyAuthMethod } from './launchAgentFromPersonaBodyAuthMethod.js';
|
|
8
|
+
import type { LaunchAgentFromPersonaBodyContentItem } from './launchAgentFromPersonaBodyContentItem.js';
|
|
9
|
+
import type { LaunchAgentFromPersonaBodyExtraAttachmentsItem } from './launchAgentFromPersonaBodyExtraAttachmentsItem.js';
|
|
10
|
+
import type { LaunchAgentFromPersonaBodyExtraEnvVarsItem } from './launchAgentFromPersonaBodyExtraEnvVarsItem.js';
|
|
11
|
+
import type { LaunchAgentFromPersonaBodyPromptMode } from './launchAgentFromPersonaBodyPromptMode.js';
|
|
12
|
+
import type { LaunchAgentFromPersonaBodyPromptStrategy } from './launchAgentFromPersonaBodyPromptStrategy.js';
|
|
13
|
+
import type { LaunchAgentFromPersonaBodySandboxOptions } from './launchAgentFromPersonaBodySandboxOptions.js';
|
|
14
|
+
|
|
15
|
+
export type LaunchAgentFromPersonaBody = {
|
|
16
|
+
/** @minLength 1 */
|
|
17
|
+
prompt: string;
|
|
18
|
+
promptStrategy?: LaunchAgentFromPersonaBodyPromptStrategy;
|
|
19
|
+
name?: string;
|
|
20
|
+
/** @minLength 1 */
|
|
21
|
+
agentType?: string;
|
|
22
|
+
model?: string;
|
|
23
|
+
/** @minLength 1 */
|
|
24
|
+
modelEndpointId?: string;
|
|
25
|
+
systemPrompt?: string;
|
|
26
|
+
promptMode?: LaunchAgentFromPersonaBodyPromptMode;
|
|
27
|
+
authMethod?: LaunchAgentFromPersonaBodyAuthMethod;
|
|
28
|
+
/** @pattern ^mps_[A-Za-z0-9]{22}$ */
|
|
29
|
+
providerSecretId?: string;
|
|
30
|
+
content?: LaunchAgentFromPersonaBodyContentItem[];
|
|
31
|
+
extraAttachments?: LaunchAgentFromPersonaBodyExtraAttachmentsItem[];
|
|
32
|
+
extraEnvVars?: LaunchAgentFromPersonaBodyExtraEnvVarsItem[];
|
|
33
|
+
repoSlug?: string;
|
|
34
|
+
repoBranch?: string;
|
|
35
|
+
extraLabelIds?: string[];
|
|
36
|
+
groupId?: string;
|
|
37
|
+
blueprintName?: string;
|
|
38
|
+
sandboxOptions?: LaunchAgentFromPersonaBodySandboxOptions;
|
|
39
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
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 LaunchAgentFromPersonaBodyAuthMethod = typeof LaunchAgentFromPersonaBodyAuthMethod[keyof typeof LaunchAgentFromPersonaBodyAuthMethod];
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export const LaunchAgentFromPersonaBodyAuthMethod = {
|
|
12
|
+
'org-key': 'org-key',
|
|
13
|
+
'claude-max': 'claude-max',
|
|
14
|
+
'codex-subscription': 'codex-subscription',
|
|
15
|
+
} as const;
|
|
@@ -0,0 +1,20 @@
|
|
|
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 LaunchAgentFromPersonaBodyContentItem = {
|
|
9
|
+
type: 'text';
|
|
10
|
+
text: string;
|
|
11
|
+
} | {
|
|
12
|
+
type: 'image';
|
|
13
|
+
mimeType: string;
|
|
14
|
+
data: string;
|
|
15
|
+
} | {
|
|
16
|
+
type: 'file';
|
|
17
|
+
name: string;
|
|
18
|
+
mimeType: string;
|
|
19
|
+
data: string;
|
|
20
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
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 LaunchAgentFromPersonaBodyExtraEnvVarsItem = {
|
|
9
|
+
/**
|
|
10
|
+
* @minLength 1
|
|
11
|
+
* @pattern ^[A-Za-z_][A-Za-z0-9_]*$
|
|
12
|
+
*/
|
|
13
|
+
key: string;
|
|
14
|
+
value?: string;
|
|
15
|
+
secretRef?: string;
|
|
16
|
+
isSecret?: boolean;
|
|
17
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
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 LaunchAgentFromPersonaBodyPromptMode = typeof LaunchAgentFromPersonaBodyPromptMode[keyof typeof LaunchAgentFromPersonaBodyPromptMode];
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export const LaunchAgentFromPersonaBodyPromptMode = {
|
|
12
|
+
implement: 'implement',
|
|
13
|
+
plan: 'plan',
|
|
14
|
+
review: 'review',
|
|
15
|
+
} as const;
|
|
@@ -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 LaunchAgentFromPersonaBodyPromptStrategy = typeof LaunchAgentFromPersonaBodyPromptStrategy[keyof typeof LaunchAgentFromPersonaBodyPromptStrategy];
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export const LaunchAgentFromPersonaBodyPromptStrategy = {
|
|
12
|
+
'prepend-default': 'prepend-default',
|
|
13
|
+
replace: 'replace',
|
|
14
|
+
} as const;
|
|
@@ -0,0 +1,21 @@
|
|
|
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 { LaunchAgentFromPersonaBodySandboxOptionsCustomSize } from './launchAgentFromPersonaBodySandboxOptionsCustomSize.js';
|
|
8
|
+
import type { LaunchAgentFromPersonaBodySandboxOptionsResourceSize } from './launchAgentFromPersonaBodySandboxOptionsResourceSize.js';
|
|
9
|
+
|
|
10
|
+
export type LaunchAgentFromPersonaBodySandboxOptions = {
|
|
11
|
+
blueprintName?: string | null;
|
|
12
|
+
blueprintId?: string | null;
|
|
13
|
+
snapshotId?: string | null;
|
|
14
|
+
resourceSize?: LaunchAgentFromPersonaBodySandboxOptionsResourceSize;
|
|
15
|
+
customSize?: LaunchAgentFromPersonaBodySandboxOptionsCustomSize;
|
|
16
|
+
dockerd?: boolean | null;
|
|
17
|
+
computerUse?: boolean | null;
|
|
18
|
+
artifactMirrors?: boolean | null;
|
|
19
|
+
idleTimeMinutes?: number | null;
|
|
20
|
+
resumeOnHttp?: boolean | null;
|
|
21
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
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 LaunchAgentFromPersonaBodySandboxOptionsCustomSize = {
|
|
9
|
+
/**
|
|
10
|
+
* @minLength 1
|
|
11
|
+
* @maxLength 50
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
/** @minimum 0.5 */
|
|
15
|
+
cpuCores: number;
|
|
16
|
+
/**
|
|
17
|
+
* @minimum 1
|
|
18
|
+
* @maximum 9007199254740991
|
|
19
|
+
*/
|
|
20
|
+
gbMemory: number;
|
|
21
|
+
diskSizeGb?: number | null;
|
|
22
|
+
} | null;
|
|
@@ -0,0 +1,17 @@
|
|
|
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 LaunchAgentFromPersonaBodySandboxOptionsResourceSize = typeof LaunchAgentFromPersonaBodySandboxOptionsResourceSize[keyof typeof LaunchAgentFromPersonaBodySandboxOptionsResourceSize] | null;
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export const LaunchAgentFromPersonaBodySandboxOptionsResourceSize = {
|
|
12
|
+
SMALL: 'SMALL',
|
|
13
|
+
MEDIUM: 'MEDIUM',
|
|
14
|
+
LARGE: 'LARGE',
|
|
15
|
+
X_LARGE: 'X_LARGE',
|
|
16
|
+
XX_LARGE: 'XX_LARGE',
|
|
17
|
+
} as const;
|
|
@@ -558,6 +558,44 @@ export const revokeOrgInvite = async (id: string,
|
|
|
558
558
|
);}
|
|
559
559
|
|
|
560
560
|
|
|
561
|
+
export type resendOrgInviteResponse200 = {
|
|
562
|
+
data: void
|
|
563
|
+
status: 200
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
export type resendOrgInviteResponseSuccess = (resendOrgInviteResponse200) & {
|
|
567
|
+
headers: Headers;
|
|
568
|
+
};
|
|
569
|
+
;
|
|
570
|
+
|
|
571
|
+
export type resendOrgInviteResponse = (resendOrgInviteResponseSuccess)
|
|
572
|
+
|
|
573
|
+
export const getResendOrgInviteUrl = (id: string,
|
|
574
|
+
inviteId: string,) => {
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
return `/organizations/${encodeURIComponent(String(id))}/invites/${encodeURIComponent(String(inviteId))}/resend`
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* The previously shared link stops working immediately. The replacement token and redeem link are returned in plaintext exactly once on this response and cannot be retrieved again.
|
|
584
|
+
* @summary Expire an invite's current link and issue a fresh one.
|
|
585
|
+
*/
|
|
586
|
+
export const resendOrgInvite = async (id: string,
|
|
587
|
+
inviteId: string, options?: RequestInit): Promise<resendOrgInviteResponse> => {
|
|
588
|
+
|
|
589
|
+
return apiFetch<resendOrgInviteResponse>(getResendOrgInviteUrl(id,inviteId),
|
|
590
|
+
{
|
|
591
|
+
...options,
|
|
592
|
+
method: 'POST'
|
|
593
|
+
|
|
594
|
+
|
|
595
|
+
}
|
|
596
|
+
);}
|
|
597
|
+
|
|
598
|
+
|
|
561
599
|
export type listOrgMembersResponse200 = {
|
|
562
600
|
data: void
|
|
563
601
|
status: 200
|
package/src/index.ts
CHANGED
|
@@ -62,6 +62,7 @@ export * from './generated/agent-associations.js';
|
|
|
62
62
|
export * from './generated/agent-drafts.js';
|
|
63
63
|
export * from './generated/agent-groups.js';
|
|
64
64
|
export * from './generated/agent-labels.js';
|
|
65
|
+
export * from './generated/agent-personas.js';
|
|
65
66
|
export * from './generated/agents.js';
|
|
66
67
|
export * from './generated/auth.js';
|
|
67
68
|
export * from './generated/blueprints.js';
|
|
@@ -0,0 +1,260 @@
|
|
|
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 {
|
|
8
|
+
useMutation,
|
|
9
|
+
useQuery
|
|
10
|
+
} from '@tanstack/react-query';
|
|
11
|
+
import type {
|
|
12
|
+
MutationFunction,
|
|
13
|
+
QueryFunction,
|
|
14
|
+
QueryKey,
|
|
15
|
+
UseMutationOptions,
|
|
16
|
+
UseMutationResult,
|
|
17
|
+
UseQueryOptions,
|
|
18
|
+
UseQueryResult
|
|
19
|
+
} from '@tanstack/react-query';
|
|
20
|
+
|
|
21
|
+
import type {
|
|
22
|
+
Agent
|
|
23
|
+
} from './model/agent.js';
|
|
24
|
+
|
|
25
|
+
import type {
|
|
26
|
+
AgentPersona
|
|
27
|
+
} from './model/agentPersona.js';
|
|
28
|
+
|
|
29
|
+
import type {
|
|
30
|
+
LaunchAgentFromPersonaBody
|
|
31
|
+
} from './model/launchAgentFromPersonaBody.js';
|
|
32
|
+
|
|
33
|
+
import { apiFetch } from '../react-mutator.js';
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
type AwaitedInput<T> = PromiseLike<T> | T;
|
|
37
|
+
|
|
38
|
+
type Awaited<O> = O extends AwaitedInput<infer T> ? T : never;
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
const withQueryKey = <T extends object, K>(query: T, queryKey: K): T & { queryKey: K } => {
|
|
46
|
+
const result = { queryKey } as T & { queryKey: K };
|
|
47
|
+
for (const key of Object.keys(query)) {
|
|
48
|
+
// The explicit queryKey always wins, matching the previous
|
|
49
|
+
// `{ ...query, queryKey }` spread where it was set last.
|
|
50
|
+
if (key === 'queryKey') continue;
|
|
51
|
+
Object.defineProperty(result, key, {
|
|
52
|
+
enumerable: true,
|
|
53
|
+
configurable: true,
|
|
54
|
+
get: () => (query as Record<string, unknown>)[key],
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
return result;
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @summary List the agent personas visible in the active organization.
|
|
62
|
+
*/
|
|
63
|
+
export const listAgentPersonas = (
|
|
64
|
+
|
|
65
|
+
options?: SecondParameter<typeof apiFetch>,signal?: AbortSignal
|
|
66
|
+
) => {
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
return apiFetch<AgentPersona[]>(
|
|
70
|
+
{url: `/agent-personas`, method: 'GET', signal
|
|
71
|
+
},
|
|
72
|
+
options);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
export const getListAgentPersonasQueryKey = () => {
|
|
79
|
+
return [
|
|
80
|
+
`/agent-personas`
|
|
81
|
+
] as const;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
export const getListAgentPersonasQueryOptions = <TData = Awaited<ReturnType<typeof listAgentPersonas>>, TError = unknown>( options?: { query?:UseQueryOptions<Awaited<ReturnType<typeof listAgentPersonas>>, TError, TData>, request?: SecondParameter<typeof apiFetch>}
|
|
86
|
+
) => {
|
|
87
|
+
|
|
88
|
+
const {query: queryOptions, request: requestOptions} = options ?? {};
|
|
89
|
+
|
|
90
|
+
const queryKey = queryOptions?.queryKey ?? getListAgentPersonasQueryKey();
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof listAgentPersonas>>> = ({ signal }) => listAgentPersonas(requestOptions, signal);
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
return { queryKey, queryFn, ...queryOptions} as UseQueryOptions<Awaited<ReturnType<typeof listAgentPersonas>>, TError, TData> & { queryKey: QueryKey }
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export type ListAgentPersonasQueryResult = NonNullable<Awaited<ReturnType<typeof listAgentPersonas>>>
|
|
104
|
+
export type ListAgentPersonasQueryError = unknown
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* @summary List the agent personas visible in the active organization.
|
|
109
|
+
*/
|
|
110
|
+
|
|
111
|
+
export function useListAgentPersonas<TData = Awaited<ReturnType<typeof listAgentPersonas>>, TError = unknown>(
|
|
112
|
+
options?: { query?:UseQueryOptions<Awaited<ReturnType<typeof listAgentPersonas>>, TError, TData>, request?: SecondParameter<typeof apiFetch>}
|
|
113
|
+
|
|
114
|
+
): UseQueryResult<TData, TError> & { queryKey: QueryKey } {
|
|
115
|
+
|
|
116
|
+
const queryOptions = getListAgentPersonasQueryOptions(options)
|
|
117
|
+
|
|
118
|
+
const query = useQuery(queryOptions) as UseQueryResult<TData, TError> & { queryKey: QueryKey };
|
|
119
|
+
|
|
120
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* @summary Get an agent persona by id.
|
|
130
|
+
*/
|
|
131
|
+
export const getAgentPersona = (
|
|
132
|
+
id: string,
|
|
133
|
+
options?: SecondParameter<typeof apiFetch>,signal?: AbortSignal
|
|
134
|
+
) => {
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
return apiFetch<AgentPersona>(
|
|
138
|
+
{url: `/agent-personas/${encodeURIComponent(String(id))}`, method: 'GET', signal
|
|
139
|
+
},
|
|
140
|
+
options);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
export const getGetAgentPersonaQueryKey = (id: string,) => {
|
|
147
|
+
return [
|
|
148
|
+
`/agent-personas/${id}`
|
|
149
|
+
] as const;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
export const getGetAgentPersonaQueryOptions = <TData = Awaited<ReturnType<typeof getAgentPersona>>, TError = unknown>(id: string, options?: { query?:UseQueryOptions<Awaited<ReturnType<typeof getAgentPersona>>, TError, TData>, request?: SecondParameter<typeof apiFetch>}
|
|
154
|
+
) => {
|
|
155
|
+
|
|
156
|
+
const {query: queryOptions, request: requestOptions} = options ?? {};
|
|
157
|
+
|
|
158
|
+
const queryKey = queryOptions?.queryKey ?? getGetAgentPersonaQueryKey(id);
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof getAgentPersona>>> = ({ signal }) => getAgentPersona(id, requestOptions, signal);
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
return { queryKey, queryFn, enabled: id !== null && id !== undefined, ...queryOptions} as UseQueryOptions<Awaited<ReturnType<typeof getAgentPersona>>, TError, TData> & { queryKey: QueryKey }
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export type GetAgentPersonaQueryResult = NonNullable<Awaited<ReturnType<typeof getAgentPersona>>>
|
|
172
|
+
export type GetAgentPersonaQueryError = unknown
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* @summary Get an agent persona by id.
|
|
177
|
+
*/
|
|
178
|
+
|
|
179
|
+
export function useGetAgentPersona<TData = Awaited<ReturnType<typeof getAgentPersona>>, TError = unknown>(
|
|
180
|
+
id: string, options?: { query?:UseQueryOptions<Awaited<ReturnType<typeof getAgentPersona>>, TError, TData>, request?: SecondParameter<typeof apiFetch>}
|
|
181
|
+
|
|
182
|
+
): UseQueryResult<TData, TError> & { queryKey: QueryKey } {
|
|
183
|
+
|
|
184
|
+
const queryOptions = getGetAgentPersonaQueryOptions(id,options)
|
|
185
|
+
|
|
186
|
+
const query = useQuery(queryOptions) as UseQueryResult<TData, TError> & { queryKey: QueryKey };
|
|
187
|
+
|
|
188
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Starts an agent from the persona's saved configuration with per-launch overrides layered on top. `agentType` runs the persona as a different agent — the model, endpoint route, and the persona's pinned provider key are then re-resolved for that type rather than carried over.
|
|
198
|
+
* @summary Launch an agent from a persona.
|
|
199
|
+
*/
|
|
200
|
+
export const launchAgentFromPersona = (
|
|
201
|
+
id: string,
|
|
202
|
+
launchAgentFromPersonaBody: LaunchAgentFromPersonaBody,
|
|
203
|
+
options?: SecondParameter<typeof apiFetch>,signal?: AbortSignal
|
|
204
|
+
) => {
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
return apiFetch<Agent>(
|
|
208
|
+
{url: `/agent-personas/${encodeURIComponent(String(id))}/launch`, method: 'POST',
|
|
209
|
+
headers: {'Content-Type': 'application/json', },
|
|
210
|
+
data: launchAgentFromPersonaBody, signal
|
|
211
|
+
},
|
|
212
|
+
options);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
export const getLaunchAgentFromPersonaMutationOptions = <TError = unknown,
|
|
218
|
+
TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof launchAgentFromPersona>>, TError,{id: string;data: LaunchAgentFromPersonaBody}, TContext>, request?: SecondParameter<typeof apiFetch>}
|
|
219
|
+
): UseMutationOptions<Awaited<ReturnType<typeof launchAgentFromPersona>>, TError,{id: string;data: LaunchAgentFromPersonaBody}, TContext> => {
|
|
220
|
+
|
|
221
|
+
const mutationKey = ['launchAgentFromPersona'];
|
|
222
|
+
const {mutation: mutationOptions, request: requestOptions} = options ?
|
|
223
|
+
options.mutation && 'mutationKey' in options.mutation && options.mutation.mutationKey ?
|
|
224
|
+
options
|
|
225
|
+
: {...options, mutation: {...options.mutation, mutationKey}}
|
|
226
|
+
: {mutation: { mutationKey, }, request: undefined};
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
const mutationFn: MutationFunction<Awaited<ReturnType<typeof launchAgentFromPersona>>, {id: string;data: LaunchAgentFromPersonaBody}> = (props) => {
|
|
232
|
+
const {id,data} = props ?? {};
|
|
233
|
+
|
|
234
|
+
return launchAgentFromPersona(id,data,requestOptions)
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
return { mutationFn, ...mutationOptions }}
|
|
243
|
+
|
|
244
|
+
export type LaunchAgentFromPersonaMutationResult = NonNullable<Awaited<ReturnType<typeof launchAgentFromPersona>>>
|
|
245
|
+
export type LaunchAgentFromPersonaMutationBody = LaunchAgentFromPersonaBody
|
|
246
|
+
export type LaunchAgentFromPersonaMutationError = unknown
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* @summary Launch an agent from a persona.
|
|
250
|
+
*/
|
|
251
|
+
export const useLaunchAgentFromPersona = <TError = unknown,
|
|
252
|
+
TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof launchAgentFromPersona>>, TError,{id: string;data: LaunchAgentFromPersonaBody}, TContext>, request?: SecondParameter<typeof apiFetch>}
|
|
253
|
+
): UseMutationResult<
|
|
254
|
+
Awaited<ReturnType<typeof launchAgentFromPersona>>,
|
|
255
|
+
TError,
|
|
256
|
+
{id: string;data: LaunchAgentFromPersonaBody},
|
|
257
|
+
TContext
|
|
258
|
+
> => {
|
|
259
|
+
return useMutation(getLaunchAgentFromPersonaMutationOptions(options));
|
|
260
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 { AgentPersonaAttachments } from './agentPersonaAttachments.js';
|
|
8
|
+
import type { AgentPersonaEnvVars } from './agentPersonaEnvVars.js';
|
|
9
|
+
import type { AgentPersonaPromptMode } from './agentPersonaPromptMode.js';
|
|
10
|
+
import type { AgentPersonaSandboxOptions } from './agentPersonaSandboxOptions.js';
|
|
11
|
+
|
|
12
|
+
export interface AgentPersona {
|
|
13
|
+
name: string;
|
|
14
|
+
agentType: string;
|
|
15
|
+
systemPrompt: string | null;
|
|
16
|
+
model: string | null;
|
|
17
|
+
modelEndpointId: string | null;
|
|
18
|
+
blueprintId?: string;
|
|
19
|
+
blueprintName: string | null;
|
|
20
|
+
sandboxOptions: AgentPersonaSandboxOptions;
|
|
21
|
+
attachments: AgentPersonaAttachments;
|
|
22
|
+
envVars: AgentPersonaEnvVars;
|
|
23
|
+
promptMode: AgentPersonaPromptMode;
|
|
24
|
+
labelIds: string[] | null;
|
|
25
|
+
groupId: string | null;
|
|
26
|
+
modelProviderSecretId: string | null;
|
|
27
|
+
id: string;
|
|
28
|
+
description: string | null;
|
|
29
|
+
icon: string | null;
|
|
30
|
+
defaultPrompt: string | null;
|
|
31
|
+
isBuiltIn: boolean;
|
|
32
|
+
organizationId: string | null;
|
|
33
|
+
ownerId: string | null;
|
|
34
|
+
createdAt: number;
|
|
35
|
+
updatedAt: number;
|
|
36
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
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 AgentPersonaEnvVars = {
|
|
9
|
+
/**
|
|
10
|
+
* @minLength 1
|
|
11
|
+
* @pattern ^[A-Za-z_][A-Za-z0-9_]*$
|
|
12
|
+
*/
|
|
13
|
+
key: string;
|
|
14
|
+
value?: string;
|
|
15
|
+
secretRef?: string;
|
|
16
|
+
isSecret?: boolean;
|
|
17
|
+
}[] | null;
|
|
@@ -0,0 +1,15 @@
|
|
|
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 AgentPersonaPromptMode = typeof AgentPersonaPromptMode[keyof typeof AgentPersonaPromptMode] | null;
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export const AgentPersonaPromptMode = {
|
|
12
|
+
implement: 'implement',
|
|
13
|
+
plan: 'plan',
|
|
14
|
+
review: 'review',
|
|
15
|
+
} as const;
|
|
@@ -0,0 +1,21 @@
|
|
|
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 { AgentPersonaSandboxOptionsCustomSize } from './agentPersonaSandboxOptionsCustomSize.js';
|
|
8
|
+
import type { AgentPersonaSandboxOptionsResourceSize } from './agentPersonaSandboxOptionsResourceSize.js';
|
|
9
|
+
|
|
10
|
+
export type AgentPersonaSandboxOptions = {
|
|
11
|
+
blueprintName?: string | null;
|
|
12
|
+
blueprintId?: string | null;
|
|
13
|
+
snapshotId?: string | null;
|
|
14
|
+
resourceSize?: AgentPersonaSandboxOptionsResourceSize;
|
|
15
|
+
customSize?: AgentPersonaSandboxOptionsCustomSize;
|
|
16
|
+
dockerd?: boolean | null;
|
|
17
|
+
computerUse?: boolean | null;
|
|
18
|
+
artifactMirrors?: boolean | null;
|
|
19
|
+
idleTimeMinutes?: number | null;
|
|
20
|
+
resumeOnHttp?: boolean | null;
|
|
21
|
+
} | null;
|
|
@@ -0,0 +1,22 @@
|
|
|
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 AgentPersonaSandboxOptionsCustomSize = {
|
|
9
|
+
/**
|
|
10
|
+
* @minLength 1
|
|
11
|
+
* @maxLength 50
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
/** @minimum 0.5 */
|
|
15
|
+
cpuCores: number;
|
|
16
|
+
/**
|
|
17
|
+
* @minimum 1
|
|
18
|
+
* @maximum 9007199254740991
|
|
19
|
+
*/
|
|
20
|
+
gbMemory: number;
|
|
21
|
+
diskSizeGb?: number | null;
|
|
22
|
+
} | null;
|