robotrock 1.3.4 → 1.5.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/README.md +11 -1
- package/dist/agent-admin.d.ts +5 -0
- package/dist/agent-admin.js +75 -2
- package/dist/agent-admin.js.map +1 -1
- package/dist/ai/index.d.ts +5 -5
- package/dist/ai/index.js +120 -4
- package/dist/ai/index.js.map +1 -1
- package/dist/ai/trigger.d.ts +3 -3
- package/dist/ai/trigger.js +120 -4
- package/dist/ai/trigger.js.map +1 -1
- package/dist/ai/workflow.d.ts +3 -3
- package/dist/ai/workflow.js +120 -4
- package/dist/ai/workflow.js.map +1 -1
- package/dist/{client-CZ5eWH5v.d.ts → client-BxbxttFH.d.ts} +19 -1
- package/dist/eve/agent/index.d.ts +4 -4
- package/dist/eve/agent/index.js +577 -261
- package/dist/eve/agent/index.js.map +1 -1
- package/dist/eve/index.d.ts +4 -4
- package/dist/eve/index.js +507 -7
- package/dist/eve/index.js.map +1 -1
- package/dist/eve/tools/admin/assign-tasks.d.ts +40 -19
- package/dist/eve/tools/admin/assign-tasks.js +334 -25
- package/dist/eve/tools/admin/assign-tasks.js.map +1 -1
- package/dist/eve/tools/admin/get-workspace-usage.d.ts +71 -0
- package/dist/eve/tools/admin/get-workspace-usage.js +1365 -0
- package/dist/eve/tools/admin/get-workspace-usage.js.map +1 -0
- package/dist/eve/tools/admin/manage-groups.d.ts +122 -7
- package/dist/eve/tools/admin/manage-groups.js +350 -31
- package/dist/eve/tools/admin/manage-groups.js.map +1 -1
- package/dist/eve/tools/admin/manage-team-members.d.ts +86 -7
- package/dist/eve/tools/admin/manage-team-members.js +318 -16
- package/dist/eve/tools/admin/manage-team-members.js.map +1 -1
- package/dist/eve/tools/admin/query-tasks.d.ts +82 -7
- package/dist/eve/tools/admin/query-tasks.js +363 -40
- package/dist/eve/tools/admin/query-tasks.js.map +1 -1
- package/dist/eve/tools/catalog/generate-image.d.ts +64 -0
- package/dist/eve/tools/catalog/generate-image.js +2077 -0
- package/dist/eve/tools/catalog/generate-image.js.map +1 -0
- package/dist/eve/tools/catalog/generate-random-chart.d.ts +77 -0
- package/dist/eve/tools/catalog/generate-random-chart.js +411 -0
- package/dist/eve/tools/catalog/generate-random-chart.js.map +1 -0
- package/dist/eve/tools/catalog/search-products.d.ts +36 -43
- package/dist/eve/tools/catalog/search-products.js +253 -6
- package/dist/eve/tools/catalog/search-products.js.map +1 -1
- package/dist/eve/tools/identity/index.d.ts +2 -1
- package/dist/eve/tools/identity/index.js +26 -6
- package/dist/eve/tools/identity/index.js.map +1 -1
- package/dist/eve/tools/identity/my-access.d.ts +88 -3
- package/dist/eve/tools/identity/my-access.js +26 -6
- package/dist/eve/tools/identity/my-access.js.map +1 -1
- package/dist/eve/tools/identity/whoami.d.ts +1 -1
- package/dist/eve/tools/identity/whoami.js.map +1 -1
- package/dist/eve/tools/inbox/create-task.d.ts +1 -1
- package/dist/eve/tools/inbox/create-task.js +119 -2
- package/dist/eve/tools/inbox/create-task.js.map +1 -1
- package/dist/eve/tools/inbox/index.d.ts +1 -1
- package/dist/eve/tools/inbox/index.js +119 -2
- package/dist/eve/tools/inbox/index.js.map +1 -1
- package/dist/eve/tools/index.d.ts +5 -2
- package/dist/eve/tools/index.js +964 -115
- package/dist/eve/tools/index.js.map +1 -1
- package/dist/index-amkHKVGs.d.ts +1054 -0
- package/dist/index.d.ts +5 -5
- package/dist/index.js +328 -13
- package/dist/index.js.map +1 -1
- package/dist/schemas/index.js +67 -1
- package/dist/schemas/index.js.map +1 -1
- package/dist/{tool-approval-bridge-DnGaRES4.d.ts → tool-approval-bridge-Cz7qQUpw.d.ts} +1 -1
- package/dist/{tool-reply-guidance-C3qrT1In.d.ts → tool-reply-guidance-CJko9liH.d.ts} +5 -2
- package/dist/tool-result-ui-meta-KT0VafEO.d.ts +52 -0
- package/dist/trigger/index.d.ts +1 -1
- package/dist/trigger/index.js +118 -2
- package/dist/trigger/index.js.map +1 -1
- package/dist/{trigger--qTIK0s6.d.ts → trigger-C1ooSegc.d.ts} +2 -2
- package/dist/workflow/index.d.ts +1 -1
- package/dist/workflow/index.js +118 -2
- package/dist/workflow/index.js.map +1 -1
- package/package.json +21 -4
- package/dist/index-Blq0XoAr.d.ts +0 -204
- package/dist/tool-ui-hint-CMpug5sC.d.ts +0 -13
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TaskContextInput, AssignToInput, TaskPriority, ThreadUpdateStatus, TaskResponse, Task, ThreadUpdate, TaskContextFormatVersion, DiscriminatedApprovalResult } from './schemas/index.js';
|
|
2
|
-
import { AgentChatSeedMessage, AgentChatStageHitlBody, AgentChatAuditInputBody, AgentChatAuditToolBody, AgentChatLinkTaskBody, listTasksQuerySchema, AgentAdminTaskSummary } from '@robotrock/core';
|
|
2
|
+
import { AgentChatSeedMessage, AgentChatStageHitlBody, AgentChatAuditInputBody, AgentChatAuditToolBody, AgentChatLinkTaskBody, AgentChatUploadImageBodyInput, listTasksQuerySchema, AgentAdminTaskSummary } from '@robotrock/core';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { R as RobotRockAuthConfig, C as ChatCorrelation } from './chat-correlation-BsHD-tOQ.js';
|
|
5
5
|
|
|
@@ -41,6 +41,17 @@ type LogChatToolExecutionInput = AgentChatAuditToolBody;
|
|
|
41
41
|
type LogChatInputSubmissionInput = AgentChatAuditInputBody;
|
|
42
42
|
type StageChatHitlRequestsInput = AgentChatStageHitlBody;
|
|
43
43
|
type LinkChatTaskInput = AgentChatLinkTaskBody;
|
|
44
|
+
type UploadChatImageInput = AgentChatUploadImageBodyInput;
|
|
45
|
+
type UploadedChatImage = {
|
|
46
|
+
storageId: string;
|
|
47
|
+
url: string;
|
|
48
|
+
mediaType: string;
|
|
49
|
+
chatId?: string;
|
|
50
|
+
publicTaskId?: string;
|
|
51
|
+
filename?: string;
|
|
52
|
+
description?: string;
|
|
53
|
+
tags?: string[];
|
|
54
|
+
};
|
|
44
55
|
type StagedChatHitlRequest = StageChatHitlRequestsInput["requests"][number];
|
|
45
56
|
interface ChatsApi {
|
|
46
57
|
/** Create an agent chat owned by a single user. */
|
|
@@ -57,6 +68,11 @@ interface ChatsApi {
|
|
|
57
68
|
logToolExecution(input: LogChatToolExecutionInput): Promise<void>;
|
|
58
69
|
/** Link an inbox task to the originating Eve chat session. */
|
|
59
70
|
linkTask(input: LinkChatTaskInput): Promise<void>;
|
|
71
|
+
/**
|
|
72
|
+
* Upload an image into Convex storage linked to a chat and/or task.
|
|
73
|
+
* Prefer this over embedding base64 in tool results / chat transcripts.
|
|
74
|
+
*/
|
|
75
|
+
uploadImage(input: UploadChatImageInput): Promise<UploadedChatImage>;
|
|
60
76
|
}
|
|
61
77
|
/**
|
|
62
78
|
* Build the `client.chats` namespace. Mirrors the `client.tasks` surface for the
|
|
@@ -93,6 +109,8 @@ type RobotRockClientBaseConfig = {
|
|
|
93
109
|
chatCorrelation?: ChatCorrelation;
|
|
94
110
|
/** Optional override for API key. Falls back to ROBOTROCK_API_KEY when agentService is unset. */
|
|
95
111
|
apiKey?: string;
|
|
112
|
+
/** Acting dashboard user id (required for user-scoped agent APIs like image upload). */
|
|
113
|
+
actingUserId?: string;
|
|
96
114
|
/** Hosted-agent service auth (mutually exclusive with apiKey). */
|
|
97
115
|
agentService?: {
|
|
98
116
|
token: string;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
export { a as TenantCaller, T as TenantRole, i as isAdminCaller, r as requireAdminCaller, b as requireTenantCaller, t as tryResolveTenantCaller } from '../../tenant-DmN0MMyC.js';
|
|
2
2
|
import { AuthFn, vercelOidc } from 'eve/channels/auth';
|
|
3
3
|
import * as eve_channels_eve from 'eve/channels/eve';
|
|
4
|
-
import { R as RobotRock, q as StagedChatHitlRequest, a as SendToHumanInput, S as SendToHumanActionInput, e as CreateChatResult } from '../../client-
|
|
4
|
+
import { R as RobotRock, q as StagedChatHitlRequest, a as SendToHumanInput, S as SendToHumanActionInput, e as CreateChatResult } from '../../client-BxbxttFH.js';
|
|
5
5
|
import { SessionContext } from 'eve/context';
|
|
6
6
|
import { TaskPriority } from '../../schemas/index.js';
|
|
7
7
|
import { HookDefinition } from 'eve/hooks';
|
|
8
8
|
export { AgentAdminApi, createAgentAdminApi, createBoundAgentAdminClient, requireBoundAgentAdminClient } from '../../agent-admin.js';
|
|
9
9
|
export { ROBOTROCK_PLATFORM_USER_CONTEXT_PUBLIC_KEY_URL } from '@robotrock/core/eve/platform-user-context-public-key';
|
|
10
|
-
export { R as ROBOTROCK_READY_HOOK_SLUG } from '../../index-
|
|
10
|
+
export { R as ROBOTROCK_READY_HOOK_SLUG } from '../../index-amkHKVGs.js';
|
|
11
11
|
export { ROBOTROCK_USER_CONTEXT_AUDIENCE, ROBOTROCK_USER_CONTEXT_ISSUER } from '@robotrock/core/eve/user-context-jwt';
|
|
12
12
|
import '@robotrock/core';
|
|
13
13
|
import 'zod';
|
|
14
14
|
import '../../chat-correlation-BsHD-tOQ.js';
|
|
15
15
|
import '@robotrock/core/schemas';
|
|
16
|
-
import '../../tool-
|
|
17
|
-
import '../../tool-
|
|
16
|
+
import '../../tool-result-ui-meta-KT0VafEO.js';
|
|
17
|
+
import '../../tool-reply-guidance-CJko9liH.js';
|
|
18
18
|
|
|
19
19
|
/** Header carrying the dashboard user-context JWT on proxied Eve requests. */
|
|
20
20
|
declare const ROBOTROCK_USER_CONTEXT_HEADER = "x-robotrock-user-token";
|