@case-framework/survey-assistant 0.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/README.md +212 -0
- package/dist/authoring-references-Cy8J-DWt.d.mts +48 -0
- package/dist/authoring-references-Cy8J-DWt.d.mts.map +1 -0
- package/dist/authoring-references-X6uRaWuf.mjs +68 -0
- package/dist/authoring-references-X6uRaWuf.mjs.map +1 -0
- package/dist/capabilities-B6tvE7fK.mjs +66 -0
- package/dist/capabilities-B6tvE7fK.mjs.map +1 -0
- package/dist/capabilities-DvSKtjAw.d.mts +182 -0
- package/dist/capabilities-DvSKtjAw.d.mts.map +1 -0
- package/dist/capabilities-default.d.mts +15 -0
- package/dist/capabilities-default.d.mts.map +1 -0
- package/dist/capabilities-default.mjs +347 -0
- package/dist/capabilities-default.mjs.map +1 -0
- package/dist/constants-CFUWrRtl.mjs +7 -0
- package/dist/constants-CFUWrRtl.mjs.map +1 -0
- package/dist/constants-Jw0k8ojS.d.mts +67 -0
- package/dist/constants-Jw0k8ojS.d.mts.map +1 -0
- package/dist/controller-proxy-BRDusFiO.d.mts +57 -0
- package/dist/controller-proxy-BRDusFiO.d.mts.map +1 -0
- package/dist/controller-proxy-Duxo2IFE.mjs +92 -0
- package/dist/controller-proxy-Duxo2IFE.mjs.map +1 -0
- package/dist/digest-BsoVq49o.d.mts +9 -0
- package/dist/digest-BsoVq49o.d.mts.map +1 -0
- package/dist/digest.d.mts +2 -0
- package/dist/digest.mjs +20 -0
- package/dist/digest.mjs.map +1 -0
- package/dist/engine-sPvuixWg.mjs +4857 -0
- package/dist/engine-sPvuixWg.mjs.map +1 -0
- package/dist/engine.d.mts +3 -0
- package/dist/engine.mjs +4 -0
- package/dist/index-BWNHkpkh.d.mts +187 -0
- package/dist/index-BWNHkpkh.d.mts.map +1 -0
- package/dist/index-CUqbBjkc.d.mts +641 -0
- package/dist/index-CUqbBjkc.d.mts.map +1 -0
- package/dist/index-MpEMQzTm.d.mts +123 -0
- package/dist/index-MpEMQzTm.d.mts.map +1 -0
- package/dist/index-TFtvBiSQ.d.mts +1149 -0
- package/dist/index-TFtvBiSQ.d.mts.map +1 -0
- package/dist/memory-thread-repository-CJkkVE2-.mjs +718 -0
- package/dist/memory-thread-repository-CJkkVE2-.mjs.map +1 -0
- package/dist/protocol-DV0ka9WT.mjs +1032 -0
- package/dist/protocol-DV0ka9WT.mjs.map +1 -0
- package/dist/protocol.d.mts +3 -0
- package/dist/protocol.mjs +2 -0
- package/dist/react-VuYe-cPh.mjs +521 -0
- package/dist/react-VuYe-cPh.mjs.map +1 -0
- package/dist/react-integration.d.mts +2 -0
- package/dist/react-integration.mjs +3 -0
- package/dist/react.d.mts +3 -0
- package/dist/react.mjs +4 -0
- package/dist/references/assistant-operations.md +287 -0
- package/dist/references/core-rules.md +11 -0
- package/dist/references/embedded-forms.md +80 -0
- package/dist/references/expressions.md +301 -0
- package/dist/references/item-types.md +364 -0
- package/dist/references/localization.md +25 -0
- package/dist/references/rich-text-content.md +193 -0
- package/dist/references/source-material-surveys.md +60 -0
- package/dist/references/survey-data-model.md +109 -0
- package/dist/references/survey-quality.md +23 -0
- package/dist/request-context-jcmXT_Q2.mjs +44 -0
- package/dist/request-context-jcmXT_Q2.mjs.map +1 -0
- package/dist/request-guardrails-C59IWnH8.mjs +73 -0
- package/dist/request-guardrails-C59IWnH8.mjs.map +1 -0
- package/dist/server-agent.d.mts +131 -0
- package/dist/server-agent.d.mts.map +1 -0
- package/dist/server-agent.mjs +229 -0
- package/dist/server-agent.mjs.map +1 -0
- package/dist/server-runtime.d.mts +123 -0
- package/dist/server-runtime.d.mts.map +1 -0
- package/dist/server-runtime.mjs +296 -0
- package/dist/server-runtime.mjs.map +1 -0
- package/dist/server-tasks.d.mts +78 -0
- package/dist/server-tasks.d.mts.map +1 -0
- package/dist/server-tasks.mjs +253 -0
- package/dist/server-tasks.mjs.map +1 -0
- package/dist/server-tools.d.mts +2 -0
- package/dist/server-tools.mjs +2 -0
- package/dist/server.d.mts +52 -0
- package/dist/server.d.mts.map +1 -0
- package/dist/server.mjs +6 -0
- package/dist/storage-postgres.d.mts +37 -0
- package/dist/storage-postgres.d.mts.map +1 -0
- package/dist/storage-postgres.mjs +167 -0
- package/dist/storage-postgres.mjs.map +1 -0
- package/dist/thread-documents-DamIq9Od.d.mts +91 -0
- package/dist/thread-documents-DamIq9Od.d.mts.map +1 -0
- package/dist/thread-handlers-DpynUc64.d.mts +112 -0
- package/dist/thread-handlers-DpynUc64.d.mts.map +1 -0
- package/dist/tools-Hz2p7vyv.mjs +1879 -0
- package/dist/tools-Hz2p7vyv.mjs.map +1 -0
- package/dist/ui.css +2 -0
- package/dist/ui.d.mts +63 -0
- package/dist/ui.d.mts.map +1 -0
- package/dist/ui.mjs +2238 -0
- package/dist/ui.mjs.map +1 -0
- package/package.json +166 -0
- package/ui.css.d.ts +3 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import * as _$_mastra_core_tools0 from "@mastra/core/tools";
|
|
2
|
+
|
|
3
|
+
//#region src/server/tools/survey-audit-tool.d.ts
|
|
4
|
+
declare const surveyAuditTool: _$_mastra_core_tools0.Tool<{
|
|
5
|
+
sourceLocale?: string | undefined;
|
|
6
|
+
targetLocales?: string[] | undefined;
|
|
7
|
+
maxFindings?: number | undefined;
|
|
8
|
+
reason?: string | undefined;
|
|
9
|
+
}, {
|
|
10
|
+
ok: boolean;
|
|
11
|
+
reason?: string | undefined;
|
|
12
|
+
report?: unknown;
|
|
13
|
+
}, unknown, unknown, _$_mastra_core_tools0.ToolExecutionContext<unknown, unknown, unknown>, "survey_audit", unknown>;
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region src/server/tools/survey-asset-tool.d.ts
|
|
16
|
+
declare const surveyAssetTool: _$_mastra_core_tools0.Tool<{
|
|
17
|
+
action: "import-attachment" | "update-metadata" | "remove";
|
|
18
|
+
summary: string;
|
|
19
|
+
documentId?: string | undefined;
|
|
20
|
+
assetId?: string | undefined;
|
|
21
|
+
name?: string | null | undefined;
|
|
22
|
+
filename?: string | null | undefined;
|
|
23
|
+
alt?: string | null | undefined;
|
|
24
|
+
continuationMode?: "replace" | "append" | undefined;
|
|
25
|
+
}, unknown, unknown, unknown, _$_mastra_core_tools0.ToolExecutionContext<unknown, unknown, unknown>, "survey_asset", unknown>;
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/server/tools/index.d.ts
|
|
28
|
+
declare const SURVEY_ASSISTANT_TOOL_IDS: readonly ["survey_inspect", "survey_change", "survey_expression", "survey_authoring_reference", "survey_attachment", "survey_audit", "survey_asset"];
|
|
29
|
+
declare const surveyAssistantTools: Readonly<{
|
|
30
|
+
survey_inspect: _$_mastra_core_tools0.Tool<{
|
|
31
|
+
action: "current-context" | "search-items" | "item-details" | "assets" | "raw-json";
|
|
32
|
+
reason: unknown;
|
|
33
|
+
scopes: unknown;
|
|
34
|
+
query: unknown;
|
|
35
|
+
itemRef: unknown;
|
|
36
|
+
cursor: unknown;
|
|
37
|
+
outlineMode: unknown;
|
|
38
|
+
paths: unknown;
|
|
39
|
+
includeChildren: unknown;
|
|
40
|
+
includeItemConfig: unknown;
|
|
41
|
+
limit: unknown;
|
|
42
|
+
} | {
|
|
43
|
+
action: "current-context" | "search-items" | "item-details" | "assets" | "raw-json";
|
|
44
|
+
reason?: string | undefined;
|
|
45
|
+
scopes?: ("summary" | "selected-item" | "outline" | "response-slots" | "ui-context" | "history")[] | undefined;
|
|
46
|
+
query?: string | undefined;
|
|
47
|
+
itemRef?: string | undefined;
|
|
48
|
+
cursor?: string | undefined;
|
|
49
|
+
outlineMode?: "full" | "focused" | "children" | undefined;
|
|
50
|
+
paths?: string[] | undefined;
|
|
51
|
+
includeChildren?: boolean | undefined;
|
|
52
|
+
includeItemConfig?: boolean | undefined;
|
|
53
|
+
limit?: number | undefined;
|
|
54
|
+
}, {
|
|
55
|
+
ok: boolean;
|
|
56
|
+
action: "current-context" | "search-items" | "item-details" | "assets" | "raw-json";
|
|
57
|
+
modelSummary: string;
|
|
58
|
+
reason?: string | undefined;
|
|
59
|
+
result?: unknown;
|
|
60
|
+
}, unknown, unknown, _$_mastra_core_tools0.ToolExecutionContext<unknown, unknown, unknown>, "survey_inspect", unknown>;
|
|
61
|
+
survey_change: _$_mastra_core_tools0.Tool<{
|
|
62
|
+
intent: string;
|
|
63
|
+
summary: string;
|
|
64
|
+
operations: unknown[];
|
|
65
|
+
continuationMode?: "replace" | "append" | null | undefined;
|
|
66
|
+
inspectedContext?: string[] | null | undefined;
|
|
67
|
+
notes?: string | null | undefined;
|
|
68
|
+
}, unknown, unknown, unknown, _$_mastra_core_tools0.ToolExecutionContext<unknown, unknown, unknown>, "survey_change", unknown>;
|
|
69
|
+
survey_authoring_reference: _$_mastra_core_tools0.Tool<{
|
|
70
|
+
topic: string;
|
|
71
|
+
itemType?: string | undefined;
|
|
72
|
+
reason?: string | undefined;
|
|
73
|
+
}, {
|
|
74
|
+
ok: boolean;
|
|
75
|
+
topic: string;
|
|
76
|
+
title: string;
|
|
77
|
+
content: string;
|
|
78
|
+
itemType?: string | undefined;
|
|
79
|
+
}, unknown, unknown, _$_mastra_core_tools0.ToolExecutionContext<unknown, unknown, unknown>, "survey_authoring_reference", unknown>;
|
|
80
|
+
survey_expression: _$_mastra_core_tools0.Tool<{
|
|
81
|
+
action: "context" | "prepare";
|
|
82
|
+
reason?: string | undefined;
|
|
83
|
+
itemIds?: string[] | undefined;
|
|
84
|
+
includeRawLocations?: boolean | undefined;
|
|
85
|
+
intent?: string | undefined;
|
|
86
|
+
summary?: string | undefined;
|
|
87
|
+
mutations?: Record<string, unknown>[] | undefined;
|
|
88
|
+
continuationMode?: "replace" | "append" | undefined;
|
|
89
|
+
inspectedContext?: string[] | undefined;
|
|
90
|
+
}, unknown, unknown, unknown, _$_mastra_core_tools0.ToolExecutionContext<unknown, unknown, unknown>, "survey_expression", unknown>;
|
|
91
|
+
survey_attachment: _$_mastra_core_tools0.Tool<{
|
|
92
|
+
documentIds: string[];
|
|
93
|
+
}, {
|
|
94
|
+
loaded: {
|
|
95
|
+
id: string;
|
|
96
|
+
filename: string;
|
|
97
|
+
mediaType: string;
|
|
98
|
+
}[];
|
|
99
|
+
}, unknown, unknown, _$_mastra_core_tools0.ToolExecutionContext<unknown, unknown, unknown>, "survey_attachment", unknown>;
|
|
100
|
+
survey_audit: _$_mastra_core_tools0.Tool<{
|
|
101
|
+
sourceLocale?: string | undefined;
|
|
102
|
+
targetLocales?: string[] | undefined;
|
|
103
|
+
maxFindings?: number | undefined;
|
|
104
|
+
reason?: string | undefined;
|
|
105
|
+
}, {
|
|
106
|
+
ok: boolean;
|
|
107
|
+
reason?: string | undefined;
|
|
108
|
+
report?: unknown;
|
|
109
|
+
}, unknown, unknown, _$_mastra_core_tools0.ToolExecutionContext<unknown, unknown, unknown>, "survey_audit", unknown>;
|
|
110
|
+
survey_asset: _$_mastra_core_tools0.Tool<{
|
|
111
|
+
action: "import-attachment" | "update-metadata" | "remove";
|
|
112
|
+
summary: string;
|
|
113
|
+
documentId?: string | undefined;
|
|
114
|
+
assetId?: string | undefined;
|
|
115
|
+
name?: string | null | undefined;
|
|
116
|
+
filename?: string | null | undefined;
|
|
117
|
+
alt?: string | null | undefined;
|
|
118
|
+
continuationMode?: "replace" | "append" | undefined;
|
|
119
|
+
}, unknown, unknown, unknown, _$_mastra_core_tools0.ToolExecutionContext<unknown, unknown, unknown>, "survey_asset", unknown>;
|
|
120
|
+
}>;
|
|
121
|
+
//#endregion
|
|
122
|
+
export { surveyAuditTool as i, surveyAssistantTools as n, surveyAssetTool as r, SURVEY_ASSISTANT_TOOL_IDS as t };
|
|
123
|
+
//# sourceMappingURL=index-MpEMQzTm.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-MpEMQzTm.d.mts","names":[],"sources":["../src/server/tools/survey-audit-tool.ts","../src/server/tools/survey-asset-tool.ts","../src/server/tools/index.ts"],"mappings":";;;cAwBa,eAAA,EAwBX,qBAAA,CAxB0B,IAAA;;;;;;;;;qBAwB1B,qBAAA,CAAA,oBAAA;;;cCsHW,eAAA,EA+GX,qBAAA,CA/G0B,IAAA;;;;;;;;;8BA+G1B,qBAAA,CAAA,oBAAA;;;cC1QW,yBAAA;AAAA,cAUA,oBAAA,EAAoB,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAQ/B,qBAAA,CAAA,oBAAA"}
|