@overmap-ai/core 1.0.48-fix-agent-errors.0 → 1.0.48-fix-agent-errors.2

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.
@@ -35,5 +35,5 @@ export declare class AgentService extends BaseApiService {
35
35
  * @param request The message to prompt the agent with.
36
36
  * @param conversationId If continuing an existing message, the UUID of that conversation.
37
37
  */
38
- prompt(request: Payload<string>, conversationId: string): Promise<PromptAgentResponse>;
38
+ prompt(request: Payload<string>, conversationId?: string): Promise<PromptAgentResponse>;
39
39
  }
@@ -1,4 +1,4 @@
1
- import { BaseApiService } from "./BaseApiService.ts";
1
+ import { BaseApiService } from "./BaseApiService";
2
2
  import { License, Project, Transaction } from "../../typings";
3
3
  export declare class LicenseService extends BaseApiService {
4
4
  fetchLicensesForOrganization(organizationId: number, showLoading?: boolean): Promise<License[]>;
@@ -15,7 +15,7 @@ export declare const componentSlice: import("@reduxjs/toolkit").Slice<ComponentS
15
15
  payload: Component[];
16
16
  }) => void;
17
17
  setComponentAttachments: (state: ComponentState, action: {
18
- payload: import('../../typings/models/issues.ts').Created<ComponentAttachment>[];
18
+ payload: import('../../typings/models/issues').Created<ComponentAttachment>[];
19
19
  type: string;
20
20
  }) => void;
21
21
  addComponentAttachment: (state: ComponentState, action: {
@@ -59,5 +59,5 @@ export declare const selectAttachmentsOfComponentByType: (args: string) => (stat
59
59
  fileAttachments: Stored<ComponentAttachment>[];
60
60
  imageAttachments: Stored<ComponentAttachment>[];
61
61
  };
62
- export declare const addComponent: import("@reduxjs/toolkit").ActionCreatorWithPayload<Component, "components/addComponent">, updateComponent: import("@reduxjs/toolkit").ActionCreatorWithPayload<Component, "components/updateComponent">, removeComponent: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "components/removeComponent">, addComponentsInBatches: import("@reduxjs/toolkit").ActionCreatorWithPayload<(Component | Submitted<Component>)[], "components/addComponentsInBatches">, setComponents: import("@reduxjs/toolkit").ActionCreatorWithPayload<Component[], "components/setComponents">, setComponentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues.ts').Created<ComponentAttachment>[], "components/setComponentAttachments">, addComponentAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<ComponentAttachment>, "components/addComponentAttachment">, addComponentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<ComponentAttachment>[], "components/addComponentAttachments">, updateComponentAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<ComponentAttachment>, "components/updateComponentAttachment">, removeComponentAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "components/removeComponentAttachment">, removeComponentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "components/removeComponentAttachments">, removeAllComponentsOfType: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "components/removeAllComponentsOfType">;
62
+ export declare const addComponent: import("@reduxjs/toolkit").ActionCreatorWithPayload<Component, "components/addComponent">, updateComponent: import("@reduxjs/toolkit").ActionCreatorWithPayload<Component, "components/updateComponent">, removeComponent: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "components/removeComponent">, addComponentsInBatches: import("@reduxjs/toolkit").ActionCreatorWithPayload<(Component | Submitted<Component>)[], "components/addComponentsInBatches">, setComponents: import("@reduxjs/toolkit").ActionCreatorWithPayload<Component[], "components/setComponents">, setComponentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues').Created<ComponentAttachment>[], "components/setComponentAttachments">, addComponentAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<ComponentAttachment>, "components/addComponentAttachment">, addComponentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<ComponentAttachment>[], "components/addComponentAttachments">, updateComponentAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<ComponentAttachment>, "components/updateComponentAttachment">, removeComponentAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "components/removeComponentAttachment">, removeComponentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "components/removeComponentAttachments">, removeAllComponentsOfType: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "components/removeAllComponentsOfType">;
63
63
  export declare const componentReducer: Reducer<ComponentState>;
@@ -13,19 +13,19 @@ export declare const componentTypeSlice: import("@reduxjs/toolkit").Slice<Compon
13
13
  payload: ComponentType[];
14
14
  }) => void;
15
15
  setComponentTypeAttachments: (state: ComponentTypeState, action: {
16
- payload: import('../../typings/models/issues.ts').Created<ComponentTypeAttachment>[];
16
+ payload: import('../../typings/models/issues').Created<ComponentTypeAttachment>[];
17
17
  type: string;
18
18
  }) => void;
19
19
  addComponentTypeAttachment: (state: ComponentTypeState, action: {
20
- payload: import('../../typings/models/issues.ts').Submitted<ComponentTypeAttachment>;
20
+ payload: import('../../typings/models/issues').Submitted<ComponentTypeAttachment>;
21
21
  type: string;
22
22
  }) => void;
23
23
  addComponentTypeAttachments: (state: ComponentTypeState, action: {
24
- payload: import('../../typings/models/issues.ts').Submitted<ComponentTypeAttachment>[];
24
+ payload: import('../../typings/models/issues').Submitted<ComponentTypeAttachment>[];
25
25
  type: string;
26
26
  }) => void;
27
27
  updateComponentTypeAttachment: (state: ComponentTypeState, action: {
28
- payload: import('../../typings/models/issues.ts').Submitted<ComponentTypeAttachment>;
28
+ payload: import('../../typings/models/issues').Submitted<ComponentTypeAttachment>;
29
29
  type: string;
30
30
  }) => void;
31
31
  removeComponentTypeAttachment: (state: ComponentTypeState, action: {
@@ -61,6 +61,6 @@ export declare const selectAttachmentsOfComponentTypeByType: (args: string) => (
61
61
  fileAttachments: Stored<ComponentTypeAttachment>[];
62
62
  imageAttachments: Stored<ComponentTypeAttachment>[];
63
63
  };
64
- export declare const addComponentType: import("@reduxjs/toolkit").ActionCreatorWithPayload<ComponentType, "componentTypes/addComponentType">, setComponentTypes: import("@reduxjs/toolkit").ActionCreatorWithPayload<ComponentType[], "componentTypes/setComponentTypes">, setComponentTypeAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues.ts').Created<ComponentTypeAttachment>[], "componentTypes/setComponentTypeAttachments">, addComponentTypeAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues.ts').Submitted<ComponentTypeAttachment>, "componentTypes/addComponentTypeAttachment">, addComponentTypeAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues.ts').Submitted<ComponentTypeAttachment>[], "componentTypes/addComponentTypeAttachments">, updateComponentTypeAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues.ts').Submitted<ComponentTypeAttachment>, "componentTypes/updateComponentTypeAttachment">, removeComponentTypeAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "componentTypes/removeComponentTypeAttachment">, removeComponentTypeAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "componentTypes/removeComponentTypeAttachments">, toggleComponentTypeVisibility: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "componentTypes/toggleComponentTypeVisibility">, deleteComponentType: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "componentTypes/deleteComponentType">;
64
+ export declare const addComponentType: import("@reduxjs/toolkit").ActionCreatorWithPayload<ComponentType, "componentTypes/addComponentType">, setComponentTypes: import("@reduxjs/toolkit").ActionCreatorWithPayload<ComponentType[], "componentTypes/setComponentTypes">, setComponentTypeAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues').Created<ComponentTypeAttachment>[], "componentTypes/setComponentTypeAttachments">, addComponentTypeAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues').Submitted<ComponentTypeAttachment>, "componentTypes/addComponentTypeAttachment">, addComponentTypeAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues').Submitted<ComponentTypeAttachment>[], "componentTypes/addComponentTypeAttachments">, updateComponentTypeAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues').Submitted<ComponentTypeAttachment>, "componentTypes/updateComponentTypeAttachment">, removeComponentTypeAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "componentTypes/removeComponentTypeAttachment">, removeComponentTypeAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "componentTypes/removeComponentTypeAttachments">, toggleComponentTypeVisibility: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "componentTypes/toggleComponentTypeVisibility">, deleteComponentType: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "componentTypes/deleteComponentType">;
65
65
  export declare const componentTypeReducer: Reducer<ComponentTypeState>;
66
66
  export {};
@@ -1,6 +1,5 @@
1
- import { License } from "../../typings/models/license.ts";
1
+ import { License, Selector, SelectorWithArgs } from "../../typings";
2
2
  import { Reducer } from "@reduxjs/toolkit";
3
- import { Selector, SelectorWithArgs } from "../../typings";
4
3
  export interface LicenseState {
5
4
  licenses: Record<string, License>;
6
5
  }
@@ -1,6 +1,6 @@
1
1
  import { Reducer } from "@reduxjs/toolkit";
2
2
  import { Selector, SelectorWithArgs } from '../../typings/store';
3
- import { User, Organization, License, Project } from "../../typings";
3
+ import { License, Organization, Project, User } from "../../typings";
4
4
  export interface OrganizationState {
5
5
  organizations: Record<number, Organization>;
6
6
  activeOrganizationId: number | null;
@@ -1,4 +1,4 @@
1
- import { OptionalFileModel } from "./base.ts";
1
+ import { OptionalFileModel } from "./base";
2
2
  export interface Profile extends OptionalFileModel {
3
3
  favourite_project_ids: number[];
4
4
  tour_step: number;
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.48-fix-agent-errors.0",
6
+ "version": "1.0.48-fix-agent-errors.2",
7
7
  "type": "module",
8
8
  "main": "dist/overmap-core.umd.cjs",
9
9
  "module": "dist/overmap-core.js",