@overmap-ai/core 1.0.57-project-view-only-flag.0 → 1.0.58-qr-code-field-fix.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/LICENSE +1 -0
- package/dist/overmap-core.js +26 -4
- package/dist/overmap-core.js.map +1 -1
- package/dist/overmap-core.umd.cjs +26 -4
- package/dist/overmap-core.umd.cjs.map +1 -1
- package/dist/sdk/services/AgentService.d.ts +2 -21
- package/dist/store/slices/formSubmissionSlice.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,24 +1,5 @@
|
|
|
1
1
|
import { BaseApiService } from "./BaseApiService";
|
|
2
|
-
import {
|
|
3
|
-
import { JSONContent } from "@tiptap/core";
|
|
4
|
-
export interface PromptAgentResponse {
|
|
5
|
-
/**
|
|
6
|
-
* The response from the agent.
|
|
7
|
-
*/
|
|
8
|
-
response: JSONContent[];
|
|
9
|
-
/**
|
|
10
|
-
* The UUID of the conversation.
|
|
11
|
-
*/
|
|
12
|
-
conversation_id: string;
|
|
13
|
-
/**
|
|
14
|
-
* The UUID of the response (used when submitting ratings)
|
|
15
|
-
*/
|
|
16
|
-
response_id: string;
|
|
17
|
-
/**
|
|
18
|
-
* The profile of the agent. Only included in the first response in a conversation.
|
|
19
|
-
*/
|
|
20
|
-
profile?: AgentProfile;
|
|
21
|
-
}
|
|
2
|
+
import { AgentUserConversation } from "../../typings";
|
|
22
3
|
export declare class AgentService extends BaseApiService {
|
|
23
4
|
startConversation(prompt: string): Promise<AgentUserConversation>;
|
|
24
5
|
/**
|
|
@@ -26,7 +7,7 @@ export declare class AgentService extends BaseApiService {
|
|
|
26
7
|
* @param prompt The message to prompt the agent with.
|
|
27
8
|
* @param conversationId If continuing an existing message, the UUID of that conversation.
|
|
28
9
|
*/
|
|
29
|
-
continueConversation(prompt:
|
|
10
|
+
continueConversation(prompt: string, conversationId: AgentUserConversation["offline_id"]): Promise<void>;
|
|
30
11
|
fetchDetails(conversationId: AgentUserConversation["offline_id"]): Promise<void>;
|
|
31
12
|
rate(responseId: string, rating: 1 | 5): Promise<undefined>;
|
|
32
13
|
refreshStore(): Promise<void>;
|
|
@@ -42,6 +42,7 @@ export declare const selectFormSubmissionsOfForm: SelectorWithArgs<string, Store
|
|
|
42
42
|
export declare const selectFormSubmissionsByFormRevisions: Selector<Record<string, Stored<UserFormSubmission>[]>>;
|
|
43
43
|
export declare const selectSortedFormSubmissionsOfForm: SelectorWithArgs<string, Stored<UserFormSubmission>[]>;
|
|
44
44
|
export declare const selectFormSubmissionsOfIssue: SelectorWithArgs<string, Stored<UserFormSubmission>[]>;
|
|
45
|
+
export declare const selectFormSubmissionsByIssues: SelectorWithArgs<string[], Record<string, Stored<UserFormSubmission>[]>>;
|
|
45
46
|
export declare const selectFormSubmissionsOfAsset: SelectorWithArgs<string, Stored<UserFormSubmission>[]>;
|
|
46
47
|
export declare const selectFormSubmissionsByAssets: Selector<Record<string, Stored<UserFormSubmission>[]>>;
|
|
47
48
|
export declare const selectFormSubmissionAttachmentsMapping: Selector<FormSubmissionState["attachments"]>;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Core functionality for Overmap",
|
|
4
4
|
"author": "Wôrdn Inc.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.58-qr-code-field-fix.0",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "dist/overmap-core.umd.cjs",
|
|
9
9
|
"module": "dist/overmap-core.js",
|