@g9tm/aiassistant 1.0.0 → 1.1.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/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/blocks.d.ts +4 -0
- package/dist/blocks.js +6 -1
- package/dist/csv.d.ts +10 -0
- package/dist/csv.js +27 -0
- package/dist/history.d.ts +20 -0
- package/dist/history.js +39 -0
- package/dist/i18n.js +32 -0
- package/dist/pages.d.ts +19 -0
- package/dist/pages.js +19 -0
- package/dist/routine.d.ts +35 -0
- package/dist/routine.js +53 -0
- package/package.json +6 -2
package/dist/api.d.ts
CHANGED
|
@@ -75,6 +75,7 @@ export declare class AssistantApi {
|
|
|
75
75
|
get(path: string): Promise<unknown>;
|
|
76
76
|
post(path: string, body?: unknown): Promise<unknown>;
|
|
77
77
|
put(path: string, body?: unknown): Promise<unknown>;
|
|
78
|
+
patch(path: string, body?: unknown): Promise<unknown>;
|
|
78
79
|
delete(path: string): Promise<unknown>;
|
|
79
80
|
}
|
|
80
81
|
export declare function toRawEvent(v: unknown): RawEvent;
|
package/dist/api.js
CHANGED
|
@@ -125,6 +125,7 @@ export class AssistantApi {
|
|
|
125
125
|
get(path) { return this.request("GET", path); }
|
|
126
126
|
post(path, body) { return this.request("POST", path, body); }
|
|
127
127
|
put(path, body) { return this.request("PUT", path, body); }
|
|
128
|
+
patch(path, body) { return this.request("PATCH", path, body); }
|
|
128
129
|
delete(path) { return this.request("DELETE", path); }
|
|
129
130
|
}
|
|
130
131
|
export function toRawEvent(v) {
|
package/dist/blocks.d.ts
CHANGED
package/dist/blocks.js
CHANGED
|
@@ -73,7 +73,12 @@ export function blockView(raw, locale, custom = new Set()) {
|
|
|
73
73
|
case "image":
|
|
74
74
|
case "gallery": return { type: "image", fileIds: arr(b["fileIds"]).filter((x) => typeof x === "string"), fallbackText };
|
|
75
75
|
case "open": return str(b["pageId"]).length > 0 ? { type: "open", pageId: str(b["pageId"]), fallbackText } : { type: "fallback", fallbackText };
|
|
76
|
-
case "export":
|
|
76
|
+
case "export": {
|
|
77
|
+
// every row and column, as raw text: the file is for a spreadsheet, not for reading here
|
|
78
|
+
const cols = columns(b["columns"]);
|
|
79
|
+
const rows = arr(b["rows"]).map((r) => cols.map((_, i) => { const v = arr(r).at(i); return v === null || v === undefined ? "" : typeof v === "string" ? v : String(v); }));
|
|
80
|
+
return withTitle({ type: "export", format: str(b["format"], "csv"), columns: cols, rows, fallbackText });
|
|
81
|
+
}
|
|
77
82
|
default: return { type: "fallback", fallbackText }; // compare, gauge, timeline, items: drawn by the host or shown as text
|
|
78
83
|
}
|
|
79
84
|
function cols(x) {
|
package/dist/csv.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** A table as a CSV file a spreadsheet opens right: a BOM for the encoding, every cell quoted, no formula injection. */
|
|
2
|
+
import type { AssistantHost } from "./host.js";
|
|
3
|
+
/** One cell: quoted, with inner quotes doubled; a cell a spreadsheet would run as a formula gets a leading apostrophe. */
|
|
4
|
+
export declare function csvCell(value: string): string;
|
|
5
|
+
/** The whole file: a BOM, a header row of the column labels, then the rows, lines ended with CRLF. */
|
|
6
|
+
export declare function toCsv(labels: readonly string[], rows: readonly (readonly string[])[]): string;
|
|
7
|
+
/** A file name from a title: letters, digits and dashes only, with the extension. */
|
|
8
|
+
export declare function fileName(title: string | undefined, extension: string): string;
|
|
9
|
+
/** Saves a table through the host; false when the host cannot save files or the save did not happen. */
|
|
10
|
+
export declare function saveCsv(host: AssistantHost, title: string | undefined, labels: readonly string[], rows: readonly (readonly string[])[]): Promise<boolean>;
|
package/dist/csv.js
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const BOM = "\uFEFF";
|
|
2
|
+
/** One cell: quoted, with inner quotes doubled; a cell a spreadsheet would run as a formula gets a leading apostrophe. */
|
|
3
|
+
export function csvCell(value) {
|
|
4
|
+
const safe = /^[-=+@\t\r]/u.test(value) ? "'" + value : value;
|
|
5
|
+
return '"' + safe.replace(/"/gu, '""') + '"';
|
|
6
|
+
}
|
|
7
|
+
/** The whole file: a BOM, a header row of the column labels, then the rows, lines ended with CRLF. */
|
|
8
|
+
export function toCsv(labels, rows) {
|
|
9
|
+
const lines = [labels.map(csvCell).join(","), ...rows.map((r) => labels.map((_, i) => csvCell(r[i] ?? "")).join(","))];
|
|
10
|
+
return BOM + lines.join("\r\n") + "\r\n";
|
|
11
|
+
}
|
|
12
|
+
/** A file name from a title: letters, digits and dashes only, with the extension. */
|
|
13
|
+
export function fileName(title, extension) {
|
|
14
|
+
const base = (title ?? "").trim().replace(/[\\/:*?"<>|\s]+/gu, "-").replace(/-+/gu, "-").replace(/^-|-$/gu, "");
|
|
15
|
+
return (base.length > 0 ? base.slice(0, 80) : "export") + "." + extension;
|
|
16
|
+
}
|
|
17
|
+
/** Saves a table through the host; false when the host cannot save files or the save did not happen. */
|
|
18
|
+
export async function saveCsv(host, title, labels, rows) {
|
|
19
|
+
if (typeof host.saveFile !== "function")
|
|
20
|
+
return false;
|
|
21
|
+
try {
|
|
22
|
+
return await host.saveFile(fileName(title, "csv"), toCsv(labels, rows));
|
|
23
|
+
}
|
|
24
|
+
catch {
|
|
25
|
+
return false;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface ConversationRow {
|
|
2
|
+
id: string;
|
|
3
|
+
title: string;
|
|
4
|
+
capability: string;
|
|
5
|
+
pinned: boolean;
|
|
6
|
+
/** A card in it waits for the person's code or click. */
|
|
7
|
+
waiting: boolean;
|
|
8
|
+
/** When it last changed (milliseconds since 1970). */
|
|
9
|
+
updatedAt: number;
|
|
10
|
+
}
|
|
11
|
+
export type HistoryTab = "today" | "earlier" | "pinned" | "waiting";
|
|
12
|
+
export declare const HISTORY_TABS: readonly HistoryTab[];
|
|
13
|
+
/** Reads the server's list (`GET conversations`), pinned first and then the newest. */
|
|
14
|
+
export declare function readConversations(raw: unknown): ConversationRow[];
|
|
15
|
+
/** Folds the letters people type two ways (Arabic yeh and kaf, digits, case) so a search finds both. */
|
|
16
|
+
export declare function foldSearch(text: string): string;
|
|
17
|
+
/** The rows of each tab, after a search over the titles; a day starts at the person's local midnight. */
|
|
18
|
+
export declare function historyTabs(rows: readonly ConversationRow[], now: Date, search?: string): Record<HistoryTab, ConversationRow[]>;
|
|
19
|
+
/** How many rows each tab has. */
|
|
20
|
+
export declare function tabCounts(tabs: Record<HistoryTab, ConversationRow[]>): Record<HistoryTab, number>;
|
package/dist/history.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/** The person's conversations as tabs: today, earlier, pinned and waiting for their code, each with its count. */
|
|
2
|
+
import { latinDigits } from "./fa.js";
|
|
3
|
+
export const HISTORY_TABS = ["today", "earlier", "pinned", "waiting"];
|
|
4
|
+
function obj(v) {
|
|
5
|
+
return v !== null && typeof v === "object" && !Array.isArray(v) ? v : {};
|
|
6
|
+
}
|
|
7
|
+
/** Reads the server's list (`GET conversations`), pinned first and then the newest. */
|
|
8
|
+
export function readConversations(raw) {
|
|
9
|
+
const list = obj(raw)["conversations"];
|
|
10
|
+
const rows = (Array.isArray(list) ? list : []).map(obj).map((c) => ({
|
|
11
|
+
id: typeof c["id"] === "string" ? c["id"] : "",
|
|
12
|
+
title: typeof c["title"] === "string" ? c["title"] : "",
|
|
13
|
+
capability: typeof c["capability"] === "string" ? c["capability"] : "",
|
|
14
|
+
pinned: c["pinned"] === true,
|
|
15
|
+
waiting: c["waiting"] === true,
|
|
16
|
+
updatedAt: typeof c["updatedAt"] === "number" ? c["updatedAt"] : 0,
|
|
17
|
+
})).filter((c) => c.id.length > 0);
|
|
18
|
+
return rows.sort((a, b) => Number(b.pinned) - Number(a.pinned) || b.updatedAt - a.updatedAt);
|
|
19
|
+
}
|
|
20
|
+
/** Folds the letters people type two ways (Arabic yeh and kaf, digits, case) so a search finds both. */
|
|
21
|
+
export function foldSearch(text) {
|
|
22
|
+
return latinDigits(text).replace(/\u064A/gu, "\u06CC").replace(/\u0643/gu, "\u06A9").replace(/\u200C/gu, " ").toLowerCase().trim();
|
|
23
|
+
}
|
|
24
|
+
/** The rows of each tab, after a search over the titles; a day starts at the person's local midnight. */
|
|
25
|
+
export function historyTabs(rows, now, search = "") {
|
|
26
|
+
const start = new Date(now.getFullYear(), now.getMonth(), now.getDate()).getTime();
|
|
27
|
+
const q = foldSearch(search);
|
|
28
|
+
const found = q.length === 0 ? [...rows] : rows.filter((r) => foldSearch(r.title).includes(q));
|
|
29
|
+
return {
|
|
30
|
+
today: found.filter((r) => r.updatedAt >= start),
|
|
31
|
+
earlier: found.filter((r) => r.updatedAt < start),
|
|
32
|
+
pinned: found.filter((r) => r.pinned),
|
|
33
|
+
waiting: found.filter((r) => r.waiting),
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
/** How many rows each tab has. */
|
|
37
|
+
export function tabCounts(tabs) {
|
|
38
|
+
return { today: tabs.today.length, earlier: tabs.earlier.length, pinned: tabs.pinned.length, waiting: tabs.waiting.length };
|
|
39
|
+
}
|
package/dist/i18n.js
CHANGED
|
@@ -52,6 +52,22 @@ const fa = {
|
|
|
52
52
|
"history.pinned": "سنجاقشده",
|
|
53
53
|
"history.waiting": "منتظر",
|
|
54
54
|
"history.search": "جستوجو",
|
|
55
|
+
"history.pin": "سنجاق",
|
|
56
|
+
"history.unpin": "برداشتن سنجاق",
|
|
57
|
+
"history.delete": "حذف",
|
|
58
|
+
"history.delete_confirm": "این گفتوگو حذف شود؟",
|
|
59
|
+
"routine.choose": "انتخاب",
|
|
60
|
+
"routine.back": "بازگشت",
|
|
61
|
+
"routine.preview": "پیشنمایش",
|
|
62
|
+
"routine.missing": "لازم است",
|
|
63
|
+
"routine.invalid": "درست نیست",
|
|
64
|
+
"routine.done": "انجام شد",
|
|
65
|
+
"csv.save": "ذخیره به CSV",
|
|
66
|
+
"csv.saved": "ذخیره شد",
|
|
67
|
+
"csv.not_saved": "ذخیره نشد",
|
|
68
|
+
"pdf.download": "دریافت PDF",
|
|
69
|
+
"pdf.busy": "در حال آمادهسازی PDF…",
|
|
70
|
+
"pdf.failed": "PDF ساخته نشد",
|
|
55
71
|
"panel.close": "بستن",
|
|
56
72
|
"panel.new": "گفتوگوی تازه",
|
|
57
73
|
"files.remove": "حذف فایل",
|
|
@@ -113,6 +129,22 @@ const en = {
|
|
|
113
129
|
"history.pinned": "Pinned",
|
|
114
130
|
"history.waiting": "Waiting",
|
|
115
131
|
"history.search": "Search",
|
|
132
|
+
"history.pin": "Pin",
|
|
133
|
+
"history.unpin": "Unpin",
|
|
134
|
+
"history.delete": "Delete",
|
|
135
|
+
"history.delete_confirm": "Delete this conversation?",
|
|
136
|
+
"routine.choose": "Choose",
|
|
137
|
+
"routine.back": "Back",
|
|
138
|
+
"routine.preview": "Preview",
|
|
139
|
+
"routine.missing": "Required",
|
|
140
|
+
"routine.invalid": "Not right",
|
|
141
|
+
"routine.done": "Done",
|
|
142
|
+
"csv.save": "Save as CSV",
|
|
143
|
+
"csv.saved": "Saved",
|
|
144
|
+
"csv.not_saved": "Not saved",
|
|
145
|
+
"pdf.download": "Download PDF",
|
|
146
|
+
"pdf.busy": "Preparing the PDF…",
|
|
147
|
+
"pdf.failed": "Could not make the PDF",
|
|
116
148
|
"panel.close": "Close",
|
|
117
149
|
"panel.new": "New conversation",
|
|
118
150
|
"files.remove": "Remove file",
|
package/dist/pages.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { AssistantApi } from "./api.js";
|
|
2
|
+
export * from "./csv.js";
|
|
3
|
+
export * from "./history.js";
|
|
4
|
+
export * from "./routine.js";
|
|
5
|
+
/** The calls of the person's pages, over the API's plain verbs. */
|
|
6
|
+
export declare const pageCalls: {
|
|
7
|
+
/** Pins or unpins a conversation (pinned ones come first in the list). */
|
|
8
|
+
pin: (api: AssistantApi, conversationId: string, pinned: boolean) => Promise<unknown>;
|
|
9
|
+
/** Deletes a conversation of the person. */
|
|
10
|
+
remove: (api: AssistantApi, conversationId: string) => Promise<unknown>;
|
|
11
|
+
/** The routines the person may run, with their slots (`gaps`). */
|
|
12
|
+
routines: (api: AssistantApi) => Promise<unknown>;
|
|
13
|
+
/** What fills an entity slot: the host's things of a kind that match the text. */
|
|
14
|
+
pick: (api: AssistantApi, kind: string, q: string) => Promise<unknown>;
|
|
15
|
+
/** A routine's preview with the slots' values: a card to confirm, or the report of a read-only routine. */
|
|
16
|
+
preview: (api: AssistantApi, routineId: string, values: Readonly<Record<string, string>>, conversationId?: string) => Promise<unknown>;
|
|
17
|
+
/** Runs a previewed routine with the person's confirmation. */
|
|
18
|
+
run: (api: AssistantApi, routineId: string, routineRunId: string, hash: string, code?: string) => Promise<unknown>;
|
|
19
|
+
};
|
package/dist/pages.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export * from "./csv.js";
|
|
2
|
+
export * from "./history.js";
|
|
3
|
+
export * from "./routine.js";
|
|
4
|
+
const enc = encodeURIComponent;
|
|
5
|
+
/** The calls of the person's pages, over the API's plain verbs. */
|
|
6
|
+
export const pageCalls = {
|
|
7
|
+
/** Pins or unpins a conversation (pinned ones come first in the list). */
|
|
8
|
+
pin: (api, conversationId, pinned) => api.patch("conversations/" + enc(conversationId), { pinned }),
|
|
9
|
+
/** Deletes a conversation of the person. */
|
|
10
|
+
remove: (api, conversationId) => api.delete("conversations/" + enc(conversationId)),
|
|
11
|
+
/** The routines the person may run, with their slots (`gaps`). */
|
|
12
|
+
routines: (api) => api.get("routines"),
|
|
13
|
+
/** What fills an entity slot: the host's things of a kind that match the text. */
|
|
14
|
+
pick: (api, kind, q) => api.get("pick?kind=" + enc(kind) + "&q=" + enc(q)),
|
|
15
|
+
/** A routine's preview with the slots' values: a card to confirm, or the report of a read-only routine. */
|
|
16
|
+
preview: (api, routineId, values, conversationId) => api.post("routines/" + enc(routineId) + "/preview", conversationId ? { values, conversationId } : { values }),
|
|
17
|
+
/** Runs a previewed routine with the person's confirmation. */
|
|
18
|
+
run: (api, routineId, routineRunId, hash, code) => api.post("routines/" + enc(routineId) + "/run", code ? { routineRunId, hash, code } : { routineRunId, hash }),
|
|
19
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export type SlotKind = "pick" | "number" | "money" | "date" | "choice" | "text";
|
|
2
|
+
export interface RoutineSlot {
|
|
3
|
+
/** The slot's name (the key of its value). */
|
|
4
|
+
name: string;
|
|
5
|
+
/** The routine's own kind (item, customer, number...). */
|
|
6
|
+
kind: string;
|
|
7
|
+
/** How the form asks for it. */
|
|
8
|
+
field: SlotKind;
|
|
9
|
+
}
|
|
10
|
+
export interface Routine {
|
|
11
|
+
id: string;
|
|
12
|
+
title: string;
|
|
13
|
+
hits: number;
|
|
14
|
+
steps: {
|
|
15
|
+
index: number;
|
|
16
|
+
tool: string;
|
|
17
|
+
text?: string;
|
|
18
|
+
}[];
|
|
19
|
+
slots: RoutineSlot[];
|
|
20
|
+
}
|
|
21
|
+
/** Kinds that name a thing of the host (a picker finds them); everything else is typed. */
|
|
22
|
+
export declare const PICKED_KINDS: Set<string>;
|
|
23
|
+
/** How a slot of a kind is asked for. */
|
|
24
|
+
export declare function slotField(kind: string): SlotKind;
|
|
25
|
+
/** Reads the server's routines (`GET routines`). */
|
|
26
|
+
export declare function readRoutines(raw: unknown): Routine[];
|
|
27
|
+
/** One typed value as the routine takes it: Persian digits and separators read as a number; null when it is not right. */
|
|
28
|
+
export declare function slotValue(slot: RoutineSlot, text: string): string | null;
|
|
29
|
+
/** The slots still without a value, in order. */
|
|
30
|
+
export declare function missingSlots(slots: readonly RoutineSlot[], values: Readonly<Record<string, string>>): RoutineSlot[];
|
|
31
|
+
/** What the picker found (`GET pick?kind=&q=`). */
|
|
32
|
+
export declare function readPicks(raw: unknown): {
|
|
33
|
+
id: string;
|
|
34
|
+
label: string;
|
|
35
|
+
}[];
|
package/dist/routine.js
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/** A routine's slots as a form: entity slots open a picker over `GET pick`, the rest are typed fields. */
|
|
2
|
+
import { latinDigits } from "./fa.js";
|
|
3
|
+
/** Kinds that name a thing of the host (a picker finds them); everything else is typed. */
|
|
4
|
+
export const PICKED_KINDS = new Set(["item", "category", "customer", "material", "supplier", "product", "person", "branch"]);
|
|
5
|
+
function obj(v) {
|
|
6
|
+
return v !== null && typeof v === "object" && !Array.isArray(v) ? v : {};
|
|
7
|
+
}
|
|
8
|
+
function arr(v) {
|
|
9
|
+
return Array.isArray(v) ? v : [];
|
|
10
|
+
}
|
|
11
|
+
function str(v) {
|
|
12
|
+
return typeof v === "string" ? v : "";
|
|
13
|
+
}
|
|
14
|
+
/** How a slot of a kind is asked for. */
|
|
15
|
+
export function slotField(kind) {
|
|
16
|
+
if (PICKED_KINDS.has(kind))
|
|
17
|
+
return "pick";
|
|
18
|
+
if (kind === "number" || kind === "money" || kind === "date" || kind === "choice")
|
|
19
|
+
return kind;
|
|
20
|
+
return "text";
|
|
21
|
+
}
|
|
22
|
+
/** Reads the server's routines (`GET routines`). */
|
|
23
|
+
export function readRoutines(raw) {
|
|
24
|
+
const o = obj(raw);
|
|
25
|
+
return arr(o["routines"] ?? o["items"]).map(obj).map((r) => ({
|
|
26
|
+
id: str(r["id"]),
|
|
27
|
+
title: str(r["title"]) || str(r["name"]),
|
|
28
|
+
hits: typeof r["hits"] === "number" ? r["hits"] : 0,
|
|
29
|
+
steps: arr(r["steps"]).map(obj).map((s) => ({ index: typeof s["index"] === "number" ? s["index"] : 0, tool: str(s["tool"]), ...(typeof s["text"] === "string" ? { text: s["text"] } : {}) })),
|
|
30
|
+
slots: arr(r["gaps"]).map(obj).map((g) => ({ name: str(g["name"]), kind: str(g["kind"]), field: slotField(str(g["kind"])) })).filter((g) => g.name.length > 0),
|
|
31
|
+
})).filter((r) => r.id.length > 0);
|
|
32
|
+
}
|
|
33
|
+
/** One typed value as the routine takes it: Persian digits and separators read as a number; null when it is not right. */
|
|
34
|
+
export function slotValue(slot, text) {
|
|
35
|
+
const t = latinDigits(text).trim();
|
|
36
|
+
if (t.length === 0)
|
|
37
|
+
return null;
|
|
38
|
+
if (slot.field === "number" || slot.field === "money") {
|
|
39
|
+
const n = t.replace(/[,\u066C\u060C\s]/gu, "").replace(/\u066B/gu, ".");
|
|
40
|
+
return /^-?\d+(\.\d+)?$/u.test(n) ? n : null;
|
|
41
|
+
}
|
|
42
|
+
if (slot.field === "date")
|
|
43
|
+
return /^\d{4}[-/]\d{1,2}[-/]\d{1,2}$/u.test(t) ? t.replace(/\//gu, "-") : null;
|
|
44
|
+
return t;
|
|
45
|
+
}
|
|
46
|
+
/** The slots still without a value, in order. */
|
|
47
|
+
export function missingSlots(slots, values) {
|
|
48
|
+
return slots.filter((s) => (values[s.name] ?? "").length === 0);
|
|
49
|
+
}
|
|
50
|
+
/** What the picker found (`GET pick?kind=&q=`). */
|
|
51
|
+
export function readPicks(raw) {
|
|
52
|
+
return arr(obj(raw)["items"]).map(obj).map((p) => ({ id: str(p["id"]), label: str(p["text"]) || str(p["label"]) })).filter((p) => p.id.length > 0);
|
|
53
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@g9tm/aiassistant",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Headless client of the G9 AI assistant: API client, run state, transports, block view models, safe text and Persian helpers. No DOM, no framework.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -19,6 +19,10 @@
|
|
|
19
19
|
"./admin": {
|
|
20
20
|
"types": "./dist/admin.d.ts",
|
|
21
21
|
"import": "./dist/admin.js"
|
|
22
|
+
},
|
|
23
|
+
"./pages": {
|
|
24
|
+
"types": "./dist/pages.d.ts",
|
|
25
|
+
"import": "./dist/pages.js"
|
|
22
26
|
}
|
|
23
27
|
},
|
|
24
28
|
"files": [
|
|
@@ -29,7 +33,7 @@
|
|
|
29
33
|
"access": "public"
|
|
30
34
|
},
|
|
31
35
|
"dependencies": {
|
|
32
|
-
"@g9tm/aiassistant-contracts": "1.
|
|
36
|
+
"@g9tm/aiassistant-contracts": "1.1.0"
|
|
33
37
|
},
|
|
34
38
|
"scripts": {
|
|
35
39
|
"build": "tsc -p tsconfig.json",
|