mindoodb-app-sdk 0.0.70 → 0.0.71
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 +36 -0
- package/dist/{chunk-P7SOHCEQ.js → chunk-GTNDGA7P.js} +179 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +21 -1
- package/dist/testing/index.d.ts +38 -2
- package/dist/testing/index.js +83 -2
- package/dist/{types-7oOzrSr5.d.ts → types-Dff-SyIx.d.ts} +67 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -400,6 +400,42 @@ In tests, `host.setEmbedAgentTools(embedId, ["text_insert"])` acts as if the com
|
|
|
400
400
|
registered tools, and an app under test launched with `launchContext.embed` offers only
|
|
401
401
|
its document tools, as in Haven.
|
|
402
402
|
|
|
403
|
+
#### Agent profile: what agents learn before opening the app
|
|
404
|
+
|
|
405
|
+
Agents only see an app's tools while it runs. To pick the right app first, they call Haven's `haven_apps_describe`, which answers from the `agent` block of `haven-app.json`:
|
|
406
|
+
|
|
407
|
+
```json
|
|
408
|
+
"agent": {
|
|
409
|
+
"summary": { "en": "Mind maps whose nodes are also tasks; the same nodes as Kanban, Gantt and spreadsheet.", "de": "…" },
|
|
410
|
+
"capabilities": [
|
|
411
|
+
{ "id": "maps", "title": { "en": "Find, open and create maps", "de": "…" }, "tools": ["maps_list", "map_get", "map_create", "map_open"] },
|
|
412
|
+
{ "id": "nodes", "title": { "en": "Edit nodes and task fields", "de": "…" }, "tools": ["nodes_add", "nodes_update", "ops_guide"] }
|
|
413
|
+
],
|
|
414
|
+
"examples": { "en": ["Turn these meeting notes into a mind map"], "de": ["…"] },
|
|
415
|
+
"limits": { "en": ["Maps are trees: a node has one parent"], "de": ["…"] },
|
|
416
|
+
"guide": { "en": "agent/agent.en.md" }
|
|
417
|
+
}
|
|
418
|
+
```
|
|
419
|
+
|
|
420
|
+
- **`summary`**: neutral, 1-3 sentences, at most 400 characters per locale; `en` is required.
|
|
421
|
+
- **`capabilities`**: 1-8 entries; `tools` names the tools as in `registerTools` (no prefix, no `haven_*`). Together they should cover every tool.
|
|
422
|
+
- **`examples`**, **`limits`**: up to 8 strings per locale.
|
|
423
|
+
- **`guide`**: Markdown how-to per locale, a path relative to `haven-app.json` (at most 8 KB): typical steps, where ids come from, pitfalls. Parameter tables belong in the tools (or `ops_guide`), not here.
|
|
424
|
+
|
|
425
|
+
Keep the profile honest with a unit test: `checkAgentManifest` from `mindoodb-app-sdk/testing` compares it with the registered tools and fails when a capability or the guide names a tool that does not exist (`assertAgentManifest` throws instead):
|
|
426
|
+
|
|
427
|
+
```ts
|
|
428
|
+
import { assertAgentManifest } from "mindoodb-app-sdk/testing";
|
|
429
|
+
|
|
430
|
+
const tools = createMyAgentTools(deps);
|
|
431
|
+
const warnings = assertAgentManifest({
|
|
432
|
+
definition: JSON.parse(readFileSync("public/haven-app.json", "utf8")),
|
|
433
|
+
tools,
|
|
434
|
+
guideTexts: { "agent.en.md": readFileSync("public/agent/agent.en.md", "utf8") },
|
|
435
|
+
});
|
|
436
|
+
expect(warnings).toEqual([]); // every tool belongs to a capability
|
|
437
|
+
```
|
|
438
|
+
|
|
403
439
|
`session.agent` is absent on hosts without agent tools, so check for it. Test tools by calling `execute` directly in unit tests; the reference implementation is `src/features/agent/` in [mindoodb-app-vega](https://github.com/klehmann/mindoodb-app-vega). How to design tools that agents use well is in the [best practices guide](https://github.com/klehmann/MindooDB/blob/main/docs/best-practices.md) (section "Offer operations to AI agents").
|
|
404
440
|
|
|
405
441
|
### Host-owned drag
|
|
@@ -86,6 +86,15 @@ var MINDOODB_APP_DEFINITION_REGISTRATION_PERMISSIONS = ["proposeapps"];
|
|
|
86
86
|
var MINDOODB_APP_LISTING_SUMMARY_MAX = 300;
|
|
87
87
|
var MINDOODB_APP_LISTING_DESCRIPTION_MAX = 4e3;
|
|
88
88
|
var MINDOODB_APP_LISTING_MAX_SCREENSHOTS = 8;
|
|
89
|
+
var MINDOODB_APP_AGENT_SUMMARY_MAX = 400;
|
|
90
|
+
var MINDOODB_APP_AGENT_CAPABILITIES_MAX = 8;
|
|
91
|
+
var MINDOODB_APP_AGENT_CAPABILITY_TITLE_MAX = 80;
|
|
92
|
+
var MINDOODB_APP_AGENT_CAPABILITY_TOOLS_MAX = 64;
|
|
93
|
+
var MINDOODB_APP_AGENT_LIST_MAX = 8;
|
|
94
|
+
var MINDOODB_APP_AGENT_EXAMPLE_MAX = 200;
|
|
95
|
+
var MINDOODB_APP_AGENT_LIMIT_MAX = 300;
|
|
96
|
+
var MINDOODB_APP_AGENT_GUIDE_MAX_BYTES = 8 * 1024;
|
|
97
|
+
var MINDOODB_APP_AGENT_TOOL_NAME_PATTERN = /^[a-z][a-z0-9_]{0,47}$/;
|
|
89
98
|
var LOGICAL_DATABASE_ID_PATTERN = /^[a-z0-9][a-z0-9._-]*$/i;
|
|
90
99
|
function isPlainObject(value) {
|
|
91
100
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
@@ -692,6 +701,163 @@ function readListing(value, errors) {
|
|
|
692
701
|
}
|
|
693
702
|
return Object.keys(listing).length ? listing : void 0;
|
|
694
703
|
}
|
|
704
|
+
var AGENT_CAPABILITY_ID_PATTERN = /^[a-z0-9][a-z0-9_-]{0,47}$/;
|
|
705
|
+
var AGENT_LOCALE_PATTERN = /^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$/;
|
|
706
|
+
var AGENT_GUIDE_PATH_PATTERN = /^[A-Za-z0-9_][A-Za-z0-9_.\/-]{0,199}\.md$/;
|
|
707
|
+
function readAgentLocaleText(value, label, maxLength, errors) {
|
|
708
|
+
if (!isPlainObject(value)) {
|
|
709
|
+
errors.push(`${label} must be an object of per-locale strings with an "en" entry.`);
|
|
710
|
+
return void 0;
|
|
711
|
+
}
|
|
712
|
+
const result = {};
|
|
713
|
+
for (const [locale, text] of Object.entries(value)) {
|
|
714
|
+
if (!AGENT_LOCALE_PATTERN.test(locale)) {
|
|
715
|
+
errors.push(`${label} has an invalid locale ${JSON.stringify(locale)}.`);
|
|
716
|
+
return void 0;
|
|
717
|
+
}
|
|
718
|
+
const trimmed = typeof text === "string" ? text.trim() : "";
|
|
719
|
+
if (!trimmed) {
|
|
720
|
+
errors.push(`${label}.${locale} must be a non-empty string.`);
|
|
721
|
+
return void 0;
|
|
722
|
+
}
|
|
723
|
+
if (trimmed.length > maxLength) {
|
|
724
|
+
errors.push(`${label}.${locale} must not be longer than ${maxLength} characters.`);
|
|
725
|
+
return void 0;
|
|
726
|
+
}
|
|
727
|
+
result[locale] = trimmed;
|
|
728
|
+
}
|
|
729
|
+
if (!result.en) {
|
|
730
|
+
errors.push(`${label} must include an "en" entry as the fallback for other locales.`);
|
|
731
|
+
return void 0;
|
|
732
|
+
}
|
|
733
|
+
return result;
|
|
734
|
+
}
|
|
735
|
+
function readAgentLocaleList(value, label, maxLength, errors) {
|
|
736
|
+
if (value === void 0) {
|
|
737
|
+
return void 0;
|
|
738
|
+
}
|
|
739
|
+
if (!isPlainObject(value)) {
|
|
740
|
+
errors.push(`${label} must be an object of per-locale string arrays with an "en" entry.`);
|
|
741
|
+
return void 0;
|
|
742
|
+
}
|
|
743
|
+
const result = {};
|
|
744
|
+
for (const [locale, entries] of Object.entries(value)) {
|
|
745
|
+
if (!AGENT_LOCALE_PATTERN.test(locale)) {
|
|
746
|
+
errors.push(`${label} has an invalid locale ${JSON.stringify(locale)}.`);
|
|
747
|
+
return void 0;
|
|
748
|
+
}
|
|
749
|
+
if (!Array.isArray(entries) || !entries.length || entries.length > MINDOODB_APP_AGENT_LIST_MAX) {
|
|
750
|
+
errors.push(`${label}.${locale} must be an array of 1-${MINDOODB_APP_AGENT_LIST_MAX} strings.`);
|
|
751
|
+
return void 0;
|
|
752
|
+
}
|
|
753
|
+
const list = [];
|
|
754
|
+
for (const entry of entries) {
|
|
755
|
+
const trimmed = typeof entry === "string" ? entry.trim() : "";
|
|
756
|
+
if (!trimmed || trimmed.length > maxLength) {
|
|
757
|
+
errors.push(`${label}.${locale} must only hold non-empty strings of at most ${maxLength} characters.`);
|
|
758
|
+
return void 0;
|
|
759
|
+
}
|
|
760
|
+
list.push(trimmed);
|
|
761
|
+
}
|
|
762
|
+
result[locale] = list;
|
|
763
|
+
}
|
|
764
|
+
if (!result.en) {
|
|
765
|
+
errors.push(`${label} must include an "en" entry as the fallback for other locales.`);
|
|
766
|
+
return void 0;
|
|
767
|
+
}
|
|
768
|
+
return result;
|
|
769
|
+
}
|
|
770
|
+
function readAgentCapabilities(value, errors) {
|
|
771
|
+
const label = "App definition agent.capabilities";
|
|
772
|
+
if (!Array.isArray(value) || !value.length || value.length > MINDOODB_APP_AGENT_CAPABILITIES_MAX) {
|
|
773
|
+
errors.push(`${label} must be an array of 1-${MINDOODB_APP_AGENT_CAPABILITIES_MAX} capabilities.`);
|
|
774
|
+
return void 0;
|
|
775
|
+
}
|
|
776
|
+
const result = [];
|
|
777
|
+
const ids = /* @__PURE__ */ new Set();
|
|
778
|
+
for (const [index, entry] of value.entries()) {
|
|
779
|
+
const at = `${label}[${index}]`;
|
|
780
|
+
if (!isPlainObject(entry)) {
|
|
781
|
+
errors.push(`${at} must be an object.`);
|
|
782
|
+
return void 0;
|
|
783
|
+
}
|
|
784
|
+
const id = typeof entry.id === "string" ? entry.id.trim() : "";
|
|
785
|
+
if (!AGENT_CAPABILITY_ID_PATTERN.test(id)) {
|
|
786
|
+
errors.push(`${at}.id must be 1-48 lowercase letters, digits, "-" or "_", received ${JSON.stringify(entry.id)}.`);
|
|
787
|
+
return void 0;
|
|
788
|
+
}
|
|
789
|
+
if (ids.has(id)) {
|
|
790
|
+
errors.push(`${at}.id "${id}" is used twice.`);
|
|
791
|
+
return void 0;
|
|
792
|
+
}
|
|
793
|
+
ids.add(id);
|
|
794
|
+
const title = readAgentLocaleText(entry.title, `${at}.title`, MINDOODB_APP_AGENT_CAPABILITY_TITLE_MAX, errors);
|
|
795
|
+
if (!title) {
|
|
796
|
+
return void 0;
|
|
797
|
+
}
|
|
798
|
+
if (!Array.isArray(entry.tools) || !entry.tools.length || entry.tools.length > MINDOODB_APP_AGENT_CAPABILITY_TOOLS_MAX) {
|
|
799
|
+
errors.push(`${at}.tools must be an array of 1-${MINDOODB_APP_AGENT_CAPABILITY_TOOLS_MAX} tool names.`);
|
|
800
|
+
return void 0;
|
|
801
|
+
}
|
|
802
|
+
const tools = [];
|
|
803
|
+
for (const tool of entry.tools) {
|
|
804
|
+
const name = typeof tool === "string" ? tool.trim() : "";
|
|
805
|
+
if (!MINDOODB_APP_AGENT_TOOL_NAME_PATTERN.test(name) || /^haven(?:_|$)/.test(name)) {
|
|
806
|
+
errors.push(
|
|
807
|
+
`${at}.tools contains ${JSON.stringify(tool)}; name the app's own tools as registered, without prefix and never "haven_*".`
|
|
808
|
+
);
|
|
809
|
+
return void 0;
|
|
810
|
+
}
|
|
811
|
+
if (!tools.includes(name)) {
|
|
812
|
+
tools.push(name);
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
result.push({ id, title, tools });
|
|
816
|
+
}
|
|
817
|
+
return result;
|
|
818
|
+
}
|
|
819
|
+
function readAgentProfile(value, errors) {
|
|
820
|
+
if (value === void 0 || value === null) {
|
|
821
|
+
return void 0;
|
|
822
|
+
}
|
|
823
|
+
if (!isPlainObject(value)) {
|
|
824
|
+
errors.push("App definition agent must be an object.");
|
|
825
|
+
return void 0;
|
|
826
|
+
}
|
|
827
|
+
const errorCount = errors.length;
|
|
828
|
+
const summary = readAgentLocaleText(value.summary, "App definition agent.summary", MINDOODB_APP_AGENT_SUMMARY_MAX, errors);
|
|
829
|
+
const capabilities = readAgentCapabilities(value.capabilities, errors);
|
|
830
|
+
const examples = readAgentLocaleList(value.examples, "App definition agent.examples", MINDOODB_APP_AGENT_EXAMPLE_MAX, errors);
|
|
831
|
+
const limits = readAgentLocaleList(value.limits, "App definition agent.limits", MINDOODB_APP_AGENT_LIMIT_MAX, errors);
|
|
832
|
+
let guide;
|
|
833
|
+
if (value.guide !== void 0) {
|
|
834
|
+
guide = readAgentLocaleText(value.guide, "App definition agent.guide", 200, errors);
|
|
835
|
+
for (const [locale, path] of Object.entries(guide ?? {})) {
|
|
836
|
+
if (!AGENT_GUIDE_PATH_PATTERN.test(path) || path.split("/").some((part) => part === "." || part === "..")) {
|
|
837
|
+
errors.push(
|
|
838
|
+
`App definition agent.guide.${locale} must be a relative path to a .md file next to the manifest, e.g. "agent/agent.${locale}.md".`
|
|
839
|
+
);
|
|
840
|
+
guide = void 0;
|
|
841
|
+
break;
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
if (errors.length !== errorCount || !summary || !capabilities) {
|
|
846
|
+
return void 0;
|
|
847
|
+
}
|
|
848
|
+
return {
|
|
849
|
+
summary,
|
|
850
|
+
capabilities,
|
|
851
|
+
...examples ? { examples } : {},
|
|
852
|
+
...limits ? { limits } : {},
|
|
853
|
+
...guide ? { guide } : {}
|
|
854
|
+
};
|
|
855
|
+
}
|
|
856
|
+
function validateMindooDBAppAgentProfile(value) {
|
|
857
|
+
const errors = [];
|
|
858
|
+
const agent = readAgentProfile(value, errors);
|
|
859
|
+
return { agent: errors.length ? void 0 : agent, errors };
|
|
860
|
+
}
|
|
695
861
|
function resolveMindooDBAppLocalizedText(text, locale) {
|
|
696
862
|
if (text === void 0) {
|
|
697
863
|
return "";
|
|
@@ -772,6 +938,7 @@ function validateMindooDBAppDefinition(raw) {
|
|
|
772
938
|
const listing = readListing(raw.listing, errors);
|
|
773
939
|
const accepts = readAccepts(raw.accepts, errors);
|
|
774
940
|
const components = readComponents(raw.components, errors);
|
|
941
|
+
const agent = readAgentProfile(raw.agent, errors);
|
|
775
942
|
const agentToolPrefix = readOptionalString(raw, "agentToolPrefix", errors);
|
|
776
943
|
if (agentToolPrefix !== void 0 && (!/^[a-z][a-z0-9_]{0,15}$/.test(agentToolPrefix) || agentToolPrefix.endsWith("_") || /^haven(?:_|$)/.test(agentToolPrefix))) {
|
|
777
944
|
errors.push(
|
|
@@ -813,7 +980,8 @@ function validateMindooDBAppDefinition(raw) {
|
|
|
813
980
|
databases,
|
|
814
981
|
accepts,
|
|
815
982
|
components,
|
|
816
|
-
listing
|
|
983
|
+
listing,
|
|
984
|
+
agent
|
|
817
985
|
},
|
|
818
986
|
errors: []
|
|
819
987
|
};
|
|
@@ -3747,6 +3915,15 @@ export {
|
|
|
3747
3915
|
MINDOODB_APP_LISTING_SUMMARY_MAX,
|
|
3748
3916
|
MINDOODB_APP_LISTING_DESCRIPTION_MAX,
|
|
3749
3917
|
MINDOODB_APP_LISTING_MAX_SCREENSHOTS,
|
|
3918
|
+
MINDOODB_APP_AGENT_SUMMARY_MAX,
|
|
3919
|
+
MINDOODB_APP_AGENT_CAPABILITIES_MAX,
|
|
3920
|
+
MINDOODB_APP_AGENT_CAPABILITY_TITLE_MAX,
|
|
3921
|
+
MINDOODB_APP_AGENT_CAPABILITY_TOOLS_MAX,
|
|
3922
|
+
MINDOODB_APP_AGENT_LIST_MAX,
|
|
3923
|
+
MINDOODB_APP_AGENT_EXAMPLE_MAX,
|
|
3924
|
+
MINDOODB_APP_AGENT_LIMIT_MAX,
|
|
3925
|
+
MINDOODB_APP_AGENT_GUIDE_MAX_BYTES,
|
|
3926
|
+
MINDOODB_APP_AGENT_TOOL_NAME_PATTERN,
|
|
3750
3927
|
MINDOODB_APP_ACCEPTS_MAX,
|
|
3751
3928
|
validateMindooDBAppAccepts,
|
|
3752
3929
|
mindooDBAppAcceptMatchesType,
|
|
@@ -3754,6 +3931,7 @@ export {
|
|
|
3754
3931
|
MINDOODB_APP_COMPONENT_CONTRACT_PATTERN,
|
|
3755
3932
|
validateMindooDBAppComponents,
|
|
3756
3933
|
mindooDBAppComponentFieldsMatch,
|
|
3934
|
+
validateMindooDBAppAgentProfile,
|
|
3757
3935
|
resolveMindooDBAppLocalizedText,
|
|
3758
3936
|
resolveMindooDBAppListingAssetUrl,
|
|
3759
3937
|
validateMindooDBAppDefinition,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as MindooDBAppAttachmentPreviewMode, a as MindooDBAppDragBindSourceOptions, b as MindooDBAppDragStartInput, c as MindooDBAppDragStartResult, d as MindooDBAppDragPreview, e as MindooDBAppBridge, f as MindooDBAppAgentToolErrorCode, g as MindooDBAppAgentTool, h as MindooDBAppHostShortcutBinding, i as MindooDBAppHostShortcutAction, j as MindooDBAppHostingMode, k as MindooDBAppDefinition, l as MindooDBAppDatabase, m as MindooDBAppDocument, n as MindooDBAppRichTextSpan, o as MindooDBAppRichTextSnapshot, p as MindooDBAppCreateDocumentInput } from './types-
|
|
2
|
-
export { q as MINDOODB_APP_ACCEPTS_MAX, r as MINDOODB_APP_COMPONENTS_MAX, s as MINDOODB_APP_COMPONENT_CONTRACT_PATTERN, t as MINDOODB_APP_DEFINITION_FILE_NAME, u as MINDOODB_APP_DEFINITION_FORMAT, v as MINDOODB_APP_DEFINITION_PERMISSIONS, w as MINDOODB_APP_DEFINITION_REGISTRATION_PERMISSIONS, x as MINDOODB_APP_DEFINITION_VERSION, y as MINDOODB_APP_LISTING_DESCRIPTION_MAX, z as MINDOODB_APP_LISTING_MAX_SCREENSHOTS, A as MINDOODB_APP_LISTING_SUMMARY_MAX, B as MINDOODB_APP_SEAL_SIGNING_DOMAIN, C as MINDOODB_APP_WELL_KNOWN_DRAG_TYPES, D as MindooDBAppAcceptSpec, E as MindooDBAppAccessDecision, F as MindooDBAppAccessTier, G as MindooDBAppAgentApi, H as MindooDBAppAgentRegistration, I as MindooDBAppAgentToolAnnotations, J as MindooDBAppAgentToolDescriptor, K as MindooDBAppAgentToolScope, L as MindooDBAppAttachmentApi, N as MindooDBAppAttachmentChunk, O as MindooDBAppAttachmentInfo, P as MindooDBAppAttachmentPreviewOptions, Q as MindooDBAppAttachmentPreviewSession, R as MindooDBAppAutomergeChangesPatch, S as MindooDBAppAutomergeChangesSince, T as MindooDBAppAutomergeGetOptions, U as MindooDBAppAutomergePatchResult, V as MindooDBAppAutomergeSnapshot, W as MindooDBAppBridgeAgentInvokeMessage, X as MindooDBAppBridgeAgentResultMessage, Y as MindooDBAppBridgeBeforeCloseAck, Z as MindooDBAppBridgeBeforeCloseMessage, _ as MindooDBAppBridgeConnectMessage, $ as MindooDBAppBridgeConnectOptions, a0 as MindooDBAppBridgeConnectedMessage, a1 as MindooDBAppBridgeDragDropMessage, a2 as MindooDBAppBridgeDragLeaveMessage, a3 as MindooDBAppBridgeDragOverMessage, a4 as MindooDBAppBridgeEmbedEventMessage, a5 as MindooDBAppBridgeEmbeddingRequestMessage, a6 as MindooDBAppBridgeErrorPayload, a7 as MindooDBAppBridgeHandshakeErrorMessage, a8 as MindooDBAppBridgeHostFocusChangedMessage, a9 as MindooDBAppBridgeIncomingContentMessage, aa as MindooDBAppBridgeLocaleChangedMessage, ab as MindooDBAppBridgePortMessage, ac as MindooDBAppBridgeQueryResultMessage, ad as MindooDBAppBridgeReminderOpenedMessage, ae as MindooDBAppBridgeRpcError, af as MindooDBAppBridgeRpcMessage, ag as MindooDBAppBridgeRpcRequest, ah as MindooDBAppBridgeRpcSuccess, ai as MindooDBAppBridgeShortcutInvokedMessage, aj as MindooDBAppBridgeShortcutsChangedMessage, ak as MindooDBAppBridgeStreamAbortRequest, al as MindooDBAppBridgeStreamAck, am as MindooDBAppBridgeStreamCloseRequest, an as MindooDBAppBridgeStreamError, ao as MindooDBAppBridgeStreamMessage, ap as MindooDBAppBridgeStreamOpenResult, aq as MindooDBAppBridgeStreamReadRequest, ar as MindooDBAppBridgeStreamWriteRequest, as as MindooDBAppBridgeThemeChangedMessage, at as MindooDBAppBridgeUiPreferencesChangedMessage, au as MindooDBAppBridgeViewChangedMessage, av as MindooDBAppBridgeViewportChangedMessage, aw as MindooDBAppBridgeWorkspaceFocusRequestedMessage, ax as MindooDBAppBrowserFeatures, ay as MindooDBAppCapability, az as MindooDBAppComponentCategory, aA as MindooDBAppComponentChildren, aB as MindooDBAppComponentContract, aC as MindooDBAppComponentFieldValue, aD as MindooDBAppComponentInfo, aE as MindooDBAppComponentIntent, aF as MindooDBAppComponentQuery, aG as MindooDBAppComponentReference, aH as MindooDBAppComponentSpec, aI as MindooDBAppComponentsApi, aJ as MindooDBAppConfiguredViewCategorizationStyle, aK as MindooDBAppConfiguredViewColumn, aL as MindooDBAppConfiguredViewColumnRole, aM as MindooDBAppConfiguredViewExpressionMode, aN as MindooDBAppConfiguredViewFieldExpression, aO as MindooDBAppConfiguredViewFilterDefinition, aP as MindooDBAppConfiguredViewFilterMode, aQ as MindooDBAppConfiguredViewFilterRule, aR as MindooDBAppConfiguredViewFormulaExpression, aS as MindooDBAppConfiguredViewFormulaFilterDefinition, aT as MindooDBAppConfiguredViewPreviewMode, aU as MindooDBAppConfiguredViewRuleFilterDefinition, aV as MindooDBAppConfiguredViewRuleMatchMode, aW as MindooDBAppConfiguredViewRuleOperator, aX as MindooDBAppConfiguredViewValueExpression, aY as MindooDBAppCreateKeyInfo, aZ as MindooDBAppCreateViewInput, a_ as MindooDBAppCreateViewNavigatorInput, a$ as MindooDBAppDatabaseInfo, b0 as MindooDBAppDefinitionDatabase, b1 as MindooDBAppDefinitionListing, b2 as MindooDBAppDefinitionPermission, b3 as MindooDBAppDefinitionRegistrationPermission, b4 as MindooDBAppDefinitionScreenshot, b5 as MindooDBAppDefinitionValidation, b6 as MindooDBAppDirectoryApi, b7 as MindooDBAppDirectoryEntry, b8 as MindooDBAppDocumentApi, b9 as MindooDBAppDocumentHeadCursorResult, ba as MindooDBAppDocumentHistoryEntry, bb as MindooDBAppDocumentListQuery, bc as MindooDBAppDocumentListResult, bd as MindooDBAppDocumentQuery, be as MindooDBAppDocumentRevisionId, bf as MindooDBAppDocumentScanPreset, bg as MindooDBAppDocumentSummary, bh as MindooDBAppDragApi, bi as MindooDBAppDragCancelReason, bj as MindooDBAppDragDropEvent, bk as MindooDBAppDragEffect, bl as MindooDBAppDragHoverResult, bm as MindooDBAppDragOffer, bn as MindooDBAppDragOverEvent, bo as MindooDBAppDragPointer, bp as MindooDBAppDragProfile, bq as MindooDBAppEmbed, br as MindooDBAppEmbedAccessComponent, bs as MindooDBAppEmbedAccessInput, bt as MindooDBAppEmbedAccessPair, bu as MindooDBAppEmbedAccessResult, bv as MindooDBAppEmbedAgentTools, bw as MindooDBAppEmbedAgentToolsEvent, bx as MindooDBAppEmbedCloseReason, by as MindooDBAppEmbedClosedEvent, bz as MindooDBAppEmbedContext, bA as MindooDBAppEmbedDirtyEvent, bB as MindooDBAppEmbedOpenInput, bC as MindooDBAppEmbedRect, bD as MindooDBAppEmbeddingApi, bE as MindooDBAppEmbeddingLookupOptions, bF as MindooDBAppEmbeddingLookupResult, bG as MindooDBAppEmbedsApi, bH as MindooDBAppEntryAttachmentRef, bI as MindooDBAppEntryProvenance, bJ as MindooDBAppExtractDocumentTextInput, bK as MindooDBAppExtractDocumentTextResult, bL as MindooDBAppExtractTextFormat, bM as MindooDBAppExtractionSetup, bN as MindooDBAppFulltextSetup, bO as MindooDBAppHistoricalDocument, bP as MindooDBAppHistoryQuery, bQ as MindooDBAppHostTheme, bR as MindooDBAppIdentityApi, bS as MindooDBAppInaccessibleDocument, bT as MindooDBAppInaccessibleDocumentListQuery, bU as MindooDBAppInaccessibleDocumentListResult, bV as MindooDBAppIncomingContent, bW as MindooDBAppIncomingContentHandler, bX as MindooDBAppIncomingContentInfo, bY as MindooDBAppIncomingItem, bZ as MindooDBAppIncomingItemInfo, b_ as MindooDBAppIncomingResult, b$ as MindooDBAppIncomingSource, c0 as MindooDBAppJsonCounterIncrementPatch, c1 as MindooDBAppJsonListDeletePatch, c2 as MindooDBAppJsonListInsertPatch, c3 as MindooDBAppJsonPatch, c4 as MindooDBAppJsonSetPatch, c5 as MindooDBAppJsonTextMarkPatch, c6 as MindooDBAppJsonTextSplicePatch, c7 as MindooDBAppJsonTextUnmarkPatch, c8 as MindooDBAppJsonUnsetPatch, c9 as MindooDBAppLaunchContext, ca as MindooDBAppListUsersOptions, cb as MindooDBAppListUsersPage, cc as MindooDBAppLiveQuerySubscription, cd as MindooDBAppLocalizedText, ce as MindooDBAppMenuAnchor, cf as MindooDBAppMenuApi, cg as MindooDBAppMenuCommandItem, ch as MindooDBAppMenuDismissReason, ci as MindooDBAppMenuDismissedResult, cj as MindooDBAppMenuItem, ck as MindooDBAppMenuKind, cl as MindooDBAppMenuPlacement, cm as MindooDBAppMenuPointAnchor, cn as MindooDBAppMenuRect, co as MindooDBAppMenuRectAnchor, cp as MindooDBAppMenuSelectionResult, cq as MindooDBAppMenuSeparatorItem, cr as MindooDBAppNotificationSeverity, cs as MindooDBAppNotifyInput, ct as MindooDBAppNotifyResult, cu as MindooDBAppPdfApi, cv as MindooDBAppPdfSignInput, cw as MindooDBAppPdfSignResult, cx as MindooDBAppPdfSignaturePosition, cy as MindooDBAppPdfSigner, cz as MindooDBAppProposeAppInput, cA as MindooDBAppProposeAppResult, cB as MindooDBAppQueryCoverage, cC as MindooDBAppQueryInclude, cD as MindooDBAppQueryIncludeCardinality, cE as MindooDBAppQueryIncludeSlots, cF as MindooDBAppQueryResult, cG as MindooDBAppQueryRow, cH as MindooDBAppQuerySortKey, cI as MindooDBAppQueryTextClause, cJ as MindooDBAppReadableAttachmentStream, cK as MindooDBAppRecipientOptions, cL as MindooDBAppReminder, cM as MindooDBAppReminderOpened, cN as MindooDBAppReminderOpenedHandler, cO as MindooDBAppReminderRequest, cP as MindooDBAppReminderScheduleResult, cQ as MindooDBAppRemindersApi, cR as MindooDBAppResolvedViewDefinition, cS as MindooDBAppResolvedViewSource, cT as MindooDBAppRevisionPhase, cU as MindooDBAppRevisionVerification, cV as MindooDBAppRichTextBlockSpan, cW as MindooDBAppRichTextGetOptions, cX as MindooDBAppRichTextImmutableString, cY as MindooDBAppRichTextMarkRange, cZ as MindooDBAppRichTextMaterializeValue, c_ as MindooDBAppRichTextPatch, c$ as MindooDBAppRichTextScalar, d0 as MindooDBAppRichTextSpliceStep, d1 as MindooDBAppRichTextStep, d2 as MindooDBAppRichTextStepPatch, d3 as MindooDBAppRichTextTextSpan, d4 as MindooDBAppRuntime, d5 as MindooDBAppScanAttachmentOptions, d6 as MindooDBAppScanAttachmentResult, d7 as MindooDBAppScopedDocId, d8 as MindooDBAppScopedDocumentSummary, d9 as MindooDBAppSealIntent, da as MindooDBAppSealedChannelOpenInput, db as MindooDBAppSealedChannelOpenResult, dc as MindooDBAppSealedChannelRequestInput, dd as MindooDBAppSession, de as MindooDBAppShowMenuInput, df as MindooDBAppShowMenuResult, dg as MindooDBAppSignPreview, dh as MindooDBAppSignPreviewScope, di as MindooDBAppSignStatementInput, dj as MindooDBAppSignStatementResult, dk as MindooDBAppStorageApi, dl as MindooDBAppSummarySetup, dm as MindooDBAppTextCursorOptions, dn as MindooDBAppTextCursorPosition, dp as MindooDBAppTextCursorPositionsResult, dq as MindooDBAppTextCursorsResult, dr as MindooDBAppTextEdit, ds as MindooDBAppTextPatch, dt as MindooDBAppThemeMode, du as MindooDBAppTimestampApi, dv as MindooDBAppTimestampInput, dw as MindooDBAppTimestampProvider, dx as MindooDBAppTimestampResult, dy as MindooDBAppUiPreferences, dz as MindooDBAppUpdateDocumentInput, dA as MindooDBAppViewCursorDocumentListResult, dB as MindooDBAppViewCursorResult, dC as MindooDBAppViewEntry, dD as MindooDBAppViewEntryKind, dE as MindooDBAppViewNavigator, dF as MindooDBAppViewNavigatorExpansionState, dG as MindooDBAppViewNavigatorOpenOptions, dH as MindooDBAppViewNavigatorPageOptions, dI as MindooDBAppViewNavigatorPageResult, dJ as MindooDBAppViewNavigatorRangeQuery, dK as MindooDBAppViewNavigatorSelectionState, dL as MindooDBAppViewUpdateStats, dM as MindooDBAppViewport, dN as MindooDBAppWellKnownDragType, dO as MindooDBAppWritableAttachmentStream, dP as mindooDBAppAcceptMatchesType, dQ as mindooDBAppComponentFieldsMatch, dR as resolveMindooDBAppDefinitionUrl, dS as resolveMindooDBAppListingAssetUrl, dT as resolveMindooDBAppLocalizedText, dU as validateMindooDBAppAccepts, dV as validateMindooDBAppComponents, dW as validateMindooDBAppDefinition } from './types-7oOzrSr5.js';
|
|
1
|
+
import { M as MindooDBAppAttachmentPreviewMode, a as MindooDBAppDragBindSourceOptions, b as MindooDBAppDragStartInput, c as MindooDBAppDragStartResult, d as MindooDBAppDragPreview, e as MindooDBAppBridge, f as MindooDBAppAgentToolErrorCode, g as MindooDBAppAgentTool, h as MindooDBAppHostShortcutBinding, i as MindooDBAppHostShortcutAction, j as MindooDBAppHostingMode, k as MindooDBAppDefinition, l as MindooDBAppDatabase, m as MindooDBAppDocument, n as MindooDBAppRichTextSpan, o as MindooDBAppRichTextSnapshot, p as MindooDBAppCreateDocumentInput } from './types-Dff-SyIx.js';
|
|
2
|
+
export { q as MINDOODB_APP_ACCEPTS_MAX, r as MINDOODB_APP_AGENT_CAPABILITIES_MAX, s as MINDOODB_APP_AGENT_CAPABILITY_TITLE_MAX, t as MINDOODB_APP_AGENT_CAPABILITY_TOOLS_MAX, u as MINDOODB_APP_AGENT_EXAMPLE_MAX, v as MINDOODB_APP_AGENT_GUIDE_MAX_BYTES, w as MINDOODB_APP_AGENT_LIMIT_MAX, x as MINDOODB_APP_AGENT_LIST_MAX, y as MINDOODB_APP_AGENT_SUMMARY_MAX, z as MINDOODB_APP_AGENT_TOOL_NAME_PATTERN, A as MINDOODB_APP_COMPONENTS_MAX, B as MINDOODB_APP_COMPONENT_CONTRACT_PATTERN, C as MINDOODB_APP_DEFINITION_FILE_NAME, D as MINDOODB_APP_DEFINITION_FORMAT, E as MINDOODB_APP_DEFINITION_PERMISSIONS, F as MINDOODB_APP_DEFINITION_REGISTRATION_PERMISSIONS, G as MINDOODB_APP_DEFINITION_VERSION, H as MINDOODB_APP_LISTING_DESCRIPTION_MAX, I as MINDOODB_APP_LISTING_MAX_SCREENSHOTS, J as MINDOODB_APP_LISTING_SUMMARY_MAX, K as MINDOODB_APP_SEAL_SIGNING_DOMAIN, L as MINDOODB_APP_WELL_KNOWN_DRAG_TYPES, N as MindooDBAppAcceptSpec, O as MindooDBAppAccessDecision, P as MindooDBAppAccessTier, Q as MindooDBAppAgentApi, R as MindooDBAppAgentCapability, S as MindooDBAppAgentProfile, T as MindooDBAppAgentRegistration, U as MindooDBAppAgentToolAnnotations, V as MindooDBAppAgentToolDescriptor, W as MindooDBAppAgentToolScope, X as MindooDBAppAttachmentApi, Y as MindooDBAppAttachmentChunk, Z as MindooDBAppAttachmentInfo, _ as MindooDBAppAttachmentPreviewOptions, $ as MindooDBAppAttachmentPreviewSession, a0 as MindooDBAppAutomergeChangesPatch, a1 as MindooDBAppAutomergeChangesSince, a2 as MindooDBAppAutomergeGetOptions, a3 as MindooDBAppAutomergePatchResult, a4 as MindooDBAppAutomergeSnapshot, a5 as MindooDBAppBridgeAgentInvokeMessage, a6 as MindooDBAppBridgeAgentResultMessage, a7 as MindooDBAppBridgeBeforeCloseAck, a8 as MindooDBAppBridgeBeforeCloseMessage, a9 as MindooDBAppBridgeConnectMessage, aa as MindooDBAppBridgeConnectOptions, ab as MindooDBAppBridgeConnectedMessage, ac as MindooDBAppBridgeDragDropMessage, ad as MindooDBAppBridgeDragLeaveMessage, ae as MindooDBAppBridgeDragOverMessage, af as MindooDBAppBridgeEmbedEventMessage, ag as MindooDBAppBridgeEmbeddingRequestMessage, ah as MindooDBAppBridgeErrorPayload, ai as MindooDBAppBridgeHandshakeErrorMessage, aj as MindooDBAppBridgeHostFocusChangedMessage, ak as MindooDBAppBridgeIncomingContentMessage, al as MindooDBAppBridgeLocaleChangedMessage, am as MindooDBAppBridgePortMessage, an as MindooDBAppBridgeQueryResultMessage, ao as MindooDBAppBridgeReminderOpenedMessage, ap as MindooDBAppBridgeRpcError, aq as MindooDBAppBridgeRpcMessage, ar as MindooDBAppBridgeRpcRequest, as as MindooDBAppBridgeRpcSuccess, at as MindooDBAppBridgeShortcutInvokedMessage, au as MindooDBAppBridgeShortcutsChangedMessage, av as MindooDBAppBridgeStreamAbortRequest, aw as MindooDBAppBridgeStreamAck, ax as MindooDBAppBridgeStreamCloseRequest, ay as MindooDBAppBridgeStreamError, az as MindooDBAppBridgeStreamMessage, aA as MindooDBAppBridgeStreamOpenResult, aB as MindooDBAppBridgeStreamReadRequest, aC as MindooDBAppBridgeStreamWriteRequest, aD as MindooDBAppBridgeThemeChangedMessage, aE as MindooDBAppBridgeUiPreferencesChangedMessage, aF as MindooDBAppBridgeViewChangedMessage, aG as MindooDBAppBridgeViewportChangedMessage, aH as MindooDBAppBridgeWorkspaceFocusRequestedMessage, aI as MindooDBAppBrowserFeatures, aJ as MindooDBAppCapability, aK as MindooDBAppComponentCategory, aL as MindooDBAppComponentChildren, aM as MindooDBAppComponentContract, aN as MindooDBAppComponentFieldValue, aO as MindooDBAppComponentInfo, aP as MindooDBAppComponentIntent, aQ as MindooDBAppComponentQuery, aR as MindooDBAppComponentReference, aS as MindooDBAppComponentSpec, aT as MindooDBAppComponentsApi, aU as MindooDBAppConfiguredViewCategorizationStyle, aV as MindooDBAppConfiguredViewColumn, aW as MindooDBAppConfiguredViewColumnRole, aX as MindooDBAppConfiguredViewExpressionMode, aY as MindooDBAppConfiguredViewFieldExpression, aZ as MindooDBAppConfiguredViewFilterDefinition, a_ as MindooDBAppConfiguredViewFilterMode, a$ as MindooDBAppConfiguredViewFilterRule, b0 as MindooDBAppConfiguredViewFormulaExpression, b1 as MindooDBAppConfiguredViewFormulaFilterDefinition, b2 as MindooDBAppConfiguredViewPreviewMode, b3 as MindooDBAppConfiguredViewRuleFilterDefinition, b4 as MindooDBAppConfiguredViewRuleMatchMode, b5 as MindooDBAppConfiguredViewRuleOperator, b6 as MindooDBAppConfiguredViewValueExpression, b7 as MindooDBAppCreateKeyInfo, b8 as MindooDBAppCreateViewInput, b9 as MindooDBAppCreateViewNavigatorInput, ba as MindooDBAppDatabaseInfo, bb as MindooDBAppDefinitionDatabase, bc as MindooDBAppDefinitionListing, bd as MindooDBAppDefinitionPermission, be as MindooDBAppDefinitionRegistrationPermission, bf as MindooDBAppDefinitionScreenshot, bg as MindooDBAppDefinitionValidation, bh as MindooDBAppDirectoryApi, bi as MindooDBAppDirectoryEntry, bj as MindooDBAppDocumentApi, bk as MindooDBAppDocumentHeadCursorResult, bl as MindooDBAppDocumentHistoryEntry, bm as MindooDBAppDocumentListQuery, bn as MindooDBAppDocumentListResult, bo as MindooDBAppDocumentQuery, bp as MindooDBAppDocumentRevisionId, bq as MindooDBAppDocumentScanPreset, br as MindooDBAppDocumentSummary, bs as MindooDBAppDragApi, bt as MindooDBAppDragCancelReason, bu as MindooDBAppDragDropEvent, bv as MindooDBAppDragEffect, bw as MindooDBAppDragHoverResult, bx as MindooDBAppDragOffer, by as MindooDBAppDragOverEvent, bz as MindooDBAppDragPointer, bA as MindooDBAppDragProfile, bB as MindooDBAppEmbed, bC as MindooDBAppEmbedAccessComponent, bD as MindooDBAppEmbedAccessInput, bE as MindooDBAppEmbedAccessPair, bF as MindooDBAppEmbedAccessResult, bG as MindooDBAppEmbedAgentTools, bH as MindooDBAppEmbedAgentToolsEvent, bI as MindooDBAppEmbedCloseReason, bJ as MindooDBAppEmbedClosedEvent, bK as MindooDBAppEmbedContext, bL as MindooDBAppEmbedDirtyEvent, bM as MindooDBAppEmbedOpenInput, bN as MindooDBAppEmbedRect, bO as MindooDBAppEmbeddingApi, bP as MindooDBAppEmbeddingLookupOptions, bQ as MindooDBAppEmbeddingLookupResult, bR as MindooDBAppEmbedsApi, bS as MindooDBAppEntryAttachmentRef, bT as MindooDBAppEntryProvenance, bU as MindooDBAppExtractDocumentTextInput, bV as MindooDBAppExtractDocumentTextResult, bW as MindooDBAppExtractTextFormat, bX as MindooDBAppExtractionSetup, bY as MindooDBAppFulltextSetup, bZ as MindooDBAppHistoricalDocument, b_ as MindooDBAppHistoryQuery, b$ as MindooDBAppHostTheme, c0 as MindooDBAppIdentityApi, c1 as MindooDBAppInaccessibleDocument, c2 as MindooDBAppInaccessibleDocumentListQuery, c3 as MindooDBAppInaccessibleDocumentListResult, c4 as MindooDBAppIncomingContent, c5 as MindooDBAppIncomingContentHandler, c6 as MindooDBAppIncomingContentInfo, c7 as MindooDBAppIncomingItem, c8 as MindooDBAppIncomingItemInfo, c9 as MindooDBAppIncomingResult, ca as MindooDBAppIncomingSource, cb as MindooDBAppJsonCounterIncrementPatch, cc as MindooDBAppJsonListDeletePatch, cd as MindooDBAppJsonListInsertPatch, ce as MindooDBAppJsonPatch, cf as MindooDBAppJsonSetPatch, cg as MindooDBAppJsonTextMarkPatch, ch as MindooDBAppJsonTextSplicePatch, ci as MindooDBAppJsonTextUnmarkPatch, cj as MindooDBAppJsonUnsetPatch, ck as MindooDBAppLaunchContext, cl as MindooDBAppListUsersOptions, cm as MindooDBAppListUsersPage, cn as MindooDBAppLiveQuerySubscription, co as MindooDBAppLocaleMap, cp as MindooDBAppLocalizedText, cq as MindooDBAppMenuAnchor, cr as MindooDBAppMenuApi, cs as MindooDBAppMenuCommandItem, ct as MindooDBAppMenuDismissReason, cu as MindooDBAppMenuDismissedResult, cv as MindooDBAppMenuItem, cw as MindooDBAppMenuKind, cx as MindooDBAppMenuPlacement, cy as MindooDBAppMenuPointAnchor, cz as MindooDBAppMenuRect, cA as MindooDBAppMenuRectAnchor, cB as MindooDBAppMenuSelectionResult, cC as MindooDBAppMenuSeparatorItem, cD as MindooDBAppNotificationSeverity, cE as MindooDBAppNotifyInput, cF as MindooDBAppNotifyResult, cG as MindooDBAppPdfApi, cH as MindooDBAppPdfSignInput, cI as MindooDBAppPdfSignResult, cJ as MindooDBAppPdfSignaturePosition, cK as MindooDBAppPdfSigner, cL as MindooDBAppProposeAppInput, cM as MindooDBAppProposeAppResult, cN as MindooDBAppQueryCoverage, cO as MindooDBAppQueryInclude, cP as MindooDBAppQueryIncludeCardinality, cQ as MindooDBAppQueryIncludeSlots, cR as MindooDBAppQueryResult, cS as MindooDBAppQueryRow, cT as MindooDBAppQuerySortKey, cU as MindooDBAppQueryTextClause, cV as MindooDBAppReadableAttachmentStream, cW as MindooDBAppRecipientOptions, cX as MindooDBAppReminder, cY as MindooDBAppReminderOpened, cZ as MindooDBAppReminderOpenedHandler, c_ as MindooDBAppReminderRequest, c$ as MindooDBAppReminderScheduleResult, d0 as MindooDBAppRemindersApi, d1 as MindooDBAppResolvedViewDefinition, d2 as MindooDBAppResolvedViewSource, d3 as MindooDBAppRevisionPhase, d4 as MindooDBAppRevisionVerification, d5 as MindooDBAppRichTextBlockSpan, d6 as MindooDBAppRichTextGetOptions, d7 as MindooDBAppRichTextImmutableString, d8 as MindooDBAppRichTextMarkRange, d9 as MindooDBAppRichTextMaterializeValue, da as MindooDBAppRichTextPatch, db as MindooDBAppRichTextScalar, dc as MindooDBAppRichTextSpliceStep, dd as MindooDBAppRichTextStep, de as MindooDBAppRichTextStepPatch, df as MindooDBAppRichTextTextSpan, dg as MindooDBAppRuntime, dh as MindooDBAppScanAttachmentOptions, di as MindooDBAppScanAttachmentResult, dj as MindooDBAppScopedDocId, dk as MindooDBAppScopedDocumentSummary, dl as MindooDBAppSealIntent, dm as MindooDBAppSealedChannelOpenInput, dn as MindooDBAppSealedChannelOpenResult, dp as MindooDBAppSealedChannelRequestInput, dq as MindooDBAppSession, dr as MindooDBAppShowMenuInput, ds as MindooDBAppShowMenuResult, dt as MindooDBAppSignPreview, du as MindooDBAppSignPreviewScope, dv as MindooDBAppSignStatementInput, dw as MindooDBAppSignStatementResult, dx as MindooDBAppStorageApi, dy as MindooDBAppSummarySetup, dz as MindooDBAppTextCursorOptions, dA as MindooDBAppTextCursorPosition, dB as MindooDBAppTextCursorPositionsResult, dC as MindooDBAppTextCursorsResult, dD as MindooDBAppTextEdit, dE as MindooDBAppTextPatch, dF as MindooDBAppThemeMode, dG as MindooDBAppTimestampApi, dH as MindooDBAppTimestampInput, dI as MindooDBAppTimestampProvider, dJ as MindooDBAppTimestampResult, dK as MindooDBAppUiPreferences, dL as MindooDBAppUpdateDocumentInput, dM as MindooDBAppViewCursorDocumentListResult, dN as MindooDBAppViewCursorResult, dO as MindooDBAppViewEntry, dP as MindooDBAppViewEntryKind, dQ as MindooDBAppViewNavigator, dR as MindooDBAppViewNavigatorExpansionState, dS as MindooDBAppViewNavigatorOpenOptions, dT as MindooDBAppViewNavigatorPageOptions, dU as MindooDBAppViewNavigatorPageResult, dV as MindooDBAppViewNavigatorRangeQuery, dW as MindooDBAppViewNavigatorSelectionState, dX as MindooDBAppViewUpdateStats, dY as MindooDBAppViewport, dZ as MindooDBAppWellKnownDragType, d_ as MindooDBAppWritableAttachmentStream, d$ as mindooDBAppAcceptMatchesType, e0 as mindooDBAppComponentFieldsMatch, e1 as resolveMindooDBAppDefinitionUrl, e2 as resolveMindooDBAppListingAssetUrl, e3 as resolveMindooDBAppLocalizedText, e4 as validateMindooDBAppAccepts, e5 as validateMindooDBAppAgentProfile, e6 as validateMindooDBAppComponents, e7 as validateMindooDBAppDefinition } from './types-Dff-SyIx.js';
|
|
3
3
|
export { M as MINDOODB_APP_BUNDLE_ARCHIVE_FILE_NAME, a as MINDOODB_APP_BUNDLE_MANIFEST_FILE_NAME, b as MINDOODB_APP_BUNDLE_MANIFEST_FORMAT, c as MINDOODB_APP_BUNDLE_MANIFEST_VERSION, d as MindooDBAppBundleArchive, e as MindooDBAppBundleFileEntry, f as MindooDBAppBundleHash, g as MindooDBAppBundleManifest, h as MindooDBAppBundleManifestValidation, i as buildMindooDBAppBundleContentHashInput, j as isMindooDBAppBundleHash, n as normalizeMindooDBAppBundlePath, v as validateMindooDBAppBundleManifest } from './appBundleManifest-B0xfpaXG.js';
|
|
4
4
|
import { MindooDBAppBooleanExpression } from 'mindoodb-view-language';
|
|
5
5
|
export { MindooDBAppBooleanExpression, MindooDBAppExpression, MindooDBAppFilterDefinition, MindooDBAppViewCategoryChildrenPageRequest, MindooDBAppViewColumn, MindooDBAppViewColumnRole, MindooDBAppViewDefinition, MindooDBAppViewExpansionState, MindooDBAppViewExpressionBase, MindooDBAppViewExpressionDatePart, MindooDBAppViewExpressionOperation, MindooDBAppViewFieldExpression, MindooDBAppViewIfExpression, MindooDBAppViewLetExpression, MindooDBAppViewLiteralExpression, MindooDBAppViewLookupByPath, MindooDBAppViewOperationExpression, MindooDBAppViewOriginExpression, MindooDBAppViewPageRequest, MindooDBAppViewPageResult, MindooDBAppViewRow, MindooDBAppViewSortDirection, MindooDBAppViewTotalMode, MindooDBAppViewValueExpressionRef, MindooDBAppViewVariableExpression, createViewLanguage } from 'mindoodb-view-language';
|
package/dist/index.js
CHANGED
|
@@ -3,6 +3,15 @@ import {
|
|
|
3
3
|
DEFAULT_DRAG_POINTER_THRESHOLD_PX,
|
|
4
4
|
DEFAULT_HAVEN_HOST_SHORTCUTS,
|
|
5
5
|
MINDOODB_APP_ACCEPTS_MAX,
|
|
6
|
+
MINDOODB_APP_AGENT_CAPABILITIES_MAX,
|
|
7
|
+
MINDOODB_APP_AGENT_CAPABILITY_TITLE_MAX,
|
|
8
|
+
MINDOODB_APP_AGENT_CAPABILITY_TOOLS_MAX,
|
|
9
|
+
MINDOODB_APP_AGENT_EXAMPLE_MAX,
|
|
10
|
+
MINDOODB_APP_AGENT_GUIDE_MAX_BYTES,
|
|
11
|
+
MINDOODB_APP_AGENT_LIMIT_MAX,
|
|
12
|
+
MINDOODB_APP_AGENT_LIST_MAX,
|
|
13
|
+
MINDOODB_APP_AGENT_SUMMARY_MAX,
|
|
14
|
+
MINDOODB_APP_AGENT_TOOL_NAME_PATTERN,
|
|
6
15
|
MINDOODB_APP_COMPONENTS_MAX,
|
|
7
16
|
MINDOODB_APP_COMPONENT_CONTRACT_PATTERN,
|
|
8
17
|
MINDOODB_APP_DEFINITION_FILE_NAME,
|
|
@@ -47,9 +56,10 @@ import {
|
|
|
47
56
|
sanitizeHostShortcutBindings,
|
|
48
57
|
snapshotElementToPng,
|
|
49
58
|
validateMindooDBAppAccepts,
|
|
59
|
+
validateMindooDBAppAgentProfile,
|
|
50
60
|
validateMindooDBAppComponents,
|
|
51
61
|
validateMindooDBAppDefinition
|
|
52
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-GTNDGA7P.js";
|
|
53
63
|
import {
|
|
54
64
|
MINDOODB_APP_BUNDLE_ARCHIVE_FILE_NAME,
|
|
55
65
|
MINDOODB_APP_BUNDLE_MANIFEST_FILE_NAME,
|
|
@@ -1367,6 +1377,15 @@ export {
|
|
|
1367
1377
|
DEFAULT_HAVEN_HOST_SHORTCUTS,
|
|
1368
1378
|
DEFAULT_HAVEN_URL,
|
|
1369
1379
|
MINDOODB_APP_ACCEPTS_MAX,
|
|
1380
|
+
MINDOODB_APP_AGENT_CAPABILITIES_MAX,
|
|
1381
|
+
MINDOODB_APP_AGENT_CAPABILITY_TITLE_MAX,
|
|
1382
|
+
MINDOODB_APP_AGENT_CAPABILITY_TOOLS_MAX,
|
|
1383
|
+
MINDOODB_APP_AGENT_EXAMPLE_MAX,
|
|
1384
|
+
MINDOODB_APP_AGENT_GUIDE_MAX_BYTES,
|
|
1385
|
+
MINDOODB_APP_AGENT_LIMIT_MAX,
|
|
1386
|
+
MINDOODB_APP_AGENT_LIST_MAX,
|
|
1387
|
+
MINDOODB_APP_AGENT_SUMMARY_MAX,
|
|
1388
|
+
MINDOODB_APP_AGENT_TOOL_NAME_PATTERN,
|
|
1370
1389
|
MINDOODB_APP_BUNDLE_ARCHIVE_FILE_NAME,
|
|
1371
1390
|
MINDOODB_APP_BUNDLE_MANIFEST_FILE_NAME,
|
|
1372
1391
|
MINDOODB_APP_BUNDLE_MANIFEST_FORMAT,
|
|
@@ -1447,6 +1466,7 @@ export {
|
|
|
1447
1466
|
sanitizeListingHref,
|
|
1448
1467
|
snapshotElementToPng,
|
|
1449
1468
|
validateMindooDBAppAccepts,
|
|
1469
|
+
validateMindooDBAppAgentProfile,
|
|
1450
1470
|
validateMindooDBAppBundleManifest,
|
|
1451
1471
|
validateMindooDBAppComponents,
|
|
1452
1472
|
validateMindooDBAppDefinition,
|
package/dist/testing/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aO as MindooDBAppComponentInfo, bN as MindooDBAppEmbedRect, bG as MindooDBAppEmbedAgentTools, bP as MindooDBAppEmbeddingLookupOptions, bQ as MindooDBAppEmbeddingLookupResult, bE as MindooDBAppEmbedAccessPair, V as MindooDBAppAgentToolDescriptor, f as MindooDBAppAgentToolErrorCode, a6 as MindooDBAppBridgeAgentResultMessage, a5 as MindooDBAppBridgeAgentInvokeMessage, b9 as MindooDBAppCreateViewNavigatorInput, dQ as MindooDBAppViewNavigator, ar as MindooDBAppBridgeRpcRequest, b$ as MindooDBAppHostTheme, aJ as MindooDBAppCapability, dL as MindooDBAppUpdateDocumentInput, m as MindooDBAppDocument, k as MindooDBAppDefinition, X as MindooDBAppAttachmentApi, e as MindooDBAppBridge, dq as MindooDBAppSession, cL as MindooDBAppProposeAppInput, dY as MindooDBAppViewport, dK as MindooDBAppUiPreferences, cR as MindooDBAppQueryResult, dX as MindooDBAppViewUpdateStats, am as MindooDBAppBridgePortMessage, ba as MindooDBAppDatabaseInfo, cH as MindooDBAppPdfSignInput, bD as MindooDBAppEmbedAccessInput, bI as MindooDBAppEmbedCloseReason, ah as MindooDBAppBridgeErrorPayload, ck as MindooDBAppLaunchContext, bj as MindooDBAppDocumentApi, dS as MindooDBAppViewNavigatorOpenOptions, c0 as MindooDBAppIdentityApi, dG as MindooDBAppTimestampApi, bh as MindooDBAppDirectoryApi, bY as MindooDBAppFulltextSetup, bX as MindooDBAppExtractionSetup, dy as MindooDBAppSummarySetup, cM as MindooDBAppProposeAppResult, ca as MindooDBAppIncomingSource, c as MindooDBAppDragStartResult, bA as MindooDBAppDragProfile, c9 as MindooDBAppIncomingResult, cX as MindooDBAppReminder } from '../types-Dff-SyIx.js';
|
|
2
2
|
import * as mindoodb from 'mindoodb';
|
|
3
3
|
import 'mindoodb-view-language';
|
|
4
4
|
|
|
@@ -411,6 +411,42 @@ declare function previewJson(value: unknown, maxString?: number, maxItems?: numb
|
|
|
411
411
|
declare function modeSwitch(current: "single" | "two"): HTMLElement;
|
|
412
412
|
declare function mountHavenTestHost(options: MountHavenTestHostOptions): BrowserTestHost;
|
|
413
413
|
|
|
414
|
+
interface AgentManifestCheckOptions {
|
|
415
|
+
/** haven-app.json as parsed JSON, or an already validated definition. */
|
|
416
|
+
definition: unknown;
|
|
417
|
+
/**
|
|
418
|
+
* The prefix agents see. Defaults to the definition's `agentToolPrefix`, else the
|
|
419
|
+
* prefix Haven derives from the app id.
|
|
420
|
+
*/
|
|
421
|
+
toolPrefix?: string;
|
|
422
|
+
/** The tools the app registers: names as in `registerTools`, or the tool objects. */
|
|
423
|
+
tools: ReadonlyArray<string | {
|
|
424
|
+
name: string;
|
|
425
|
+
}>;
|
|
426
|
+
/**
|
|
427
|
+
* Texts agents read that name tools: agent.md files, the ops_guide output, tool
|
|
428
|
+
* descriptions. An object names each text in the messages.
|
|
429
|
+
*/
|
|
430
|
+
guideTexts?: Record<string, string> | readonly string[];
|
|
431
|
+
/** Registered tools that need no capability (no warning when none lists them). */
|
|
432
|
+
internalTools?: readonly string[];
|
|
433
|
+
/** Names in guide texts that look like tools but are not, e.g. an op called `node_add`. */
|
|
434
|
+
ignore?: readonly string[];
|
|
435
|
+
}
|
|
436
|
+
interface AgentManifestCheckResult {
|
|
437
|
+
errors: string[];
|
|
438
|
+
warnings: string[];
|
|
439
|
+
}
|
|
440
|
+
/**
|
|
441
|
+
* Compares the agent profile with the registered tools and the guide texts. Errors: a
|
|
442
|
+
* capability names a tool that is not registered, a guide text names a missing tool,
|
|
443
|
+
* the summary is missing or too long, the locales of summary, titles and examples
|
|
444
|
+
* differ. Warning: a registered tool belongs to no capability.
|
|
445
|
+
*/
|
|
446
|
+
declare function checkAgentManifest(options: AgentManifestCheckOptions): AgentManifestCheckResult;
|
|
447
|
+
/** {@link checkAgentManifest} for a test: throws with every error; returns the warnings. */
|
|
448
|
+
declare function assertAgentManifest(options: AgentManifestCheckOptions): string[];
|
|
449
|
+
|
|
414
450
|
/**
|
|
415
451
|
* In-memory attachments for mock databases: what an app writes can be listed and read
|
|
416
452
|
* back, like in Haven. The default mock attachment API stores nothing; the browser test
|
|
@@ -818,4 +854,4 @@ interface FakeBridgeHostController {
|
|
|
818
854
|
}
|
|
819
855
|
declare function createFakeBridgeHost(options?: CreateFakeBridgeHostOptions): FakeBridgeHostController;
|
|
820
856
|
|
|
821
|
-
export { ALL_CAPABILITIES, type BrowserTestHost, type BrowserTestHostLog, type BrowserTestHostScan, type BrowserTestHostScanMode, type CreateBrowserTestHostOptions, type CreateFakeBridgeHostOptions, type CreateMockMindooDBAppSessionOptions, DEFAULT_TEST_HOST_USERS, type EvaluatingViewDocument, type FakeBridgeHostController, type FakeBridgePortMessageHandler, type FakeBridgeRequestHandler, type FakeBridgeRpcResponse, type MockAgentCall, type MockAgentCallResult, type MockAgentConsent, type MockAgentFile, type MockAgentHost, type MockAgentHostController, type MockAgentHostOptions, type MockDatabaseOverride, type MockDatabasesFromDefinitionOptions, type MockEmbedState, type MockEmbeddingFinish, MockForbiddenError, type MockIncomingContentInput, type MockMindooDBAppDatabaseDefinition, type MockMindooDBAppSessionController, type MockPdfSignOutcome, type MockRemoteUpdateOptions, type MockSealedChannelOptions, type MockSeedDocument, type MountHavenTestHostOptions, TEST_HOST_LOCALES, type TestHostUrlSettings, type TestHostUser, type TwoUserTestHost, capabilitiesForDefinitionPermissions, createBrowserTestHost, createEvaluatingViewNavigator, createFakeBridgeHost, createMemoryAttachments, createMockAgentHost, createMockMindooDBAppBridge, createMockMindooDBAppSession, generateDirectoryUsers, loadMindoodbForTesting, mockAgentToolPrefix, mockDatabasesFromDefinition, mockReplicaDifferences, modeSwitch, mountHavenTestHost, mountTwoUserTestHost, previewJson, readTestHostUrlSettings, syncMockReplicas, validateMockAgentTools };
|
|
857
|
+
export { ALL_CAPABILITIES, type AgentManifestCheckOptions, type AgentManifestCheckResult, type BrowserTestHost, type BrowserTestHostLog, type BrowserTestHostScan, type BrowserTestHostScanMode, type CreateBrowserTestHostOptions, type CreateFakeBridgeHostOptions, type CreateMockMindooDBAppSessionOptions, DEFAULT_TEST_HOST_USERS, type EvaluatingViewDocument, type FakeBridgeHostController, type FakeBridgePortMessageHandler, type FakeBridgeRequestHandler, type FakeBridgeRpcResponse, type MockAgentCall, type MockAgentCallResult, type MockAgentConsent, type MockAgentFile, type MockAgentHost, type MockAgentHostController, type MockAgentHostOptions, type MockDatabaseOverride, type MockDatabasesFromDefinitionOptions, type MockEmbedState, type MockEmbeddingFinish, MockForbiddenError, type MockIncomingContentInput, type MockMindooDBAppDatabaseDefinition, type MockMindooDBAppSessionController, type MockPdfSignOutcome, type MockRemoteUpdateOptions, type MockSealedChannelOptions, type MockSeedDocument, type MountHavenTestHostOptions, TEST_HOST_LOCALES, type TestHostUrlSettings, type TestHostUser, type TwoUserTestHost, assertAgentManifest, capabilitiesForDefinitionPermissions, checkAgentManifest, createBrowserTestHost, createEvaluatingViewNavigator, createFakeBridgeHost, createMemoryAttachments, createMockAgentHost, createMockMindooDBAppBridge, createMockMindooDBAppSession, generateDirectoryUsers, loadMindoodbForTesting, mockAgentToolPrefix, mockDatabasesFromDefinition, mockReplicaDifferences, modeSwitch, mountHavenTestHost, mountTwoUserTestHost, previewJson, readTestHostUrlSettings, syncMockReplicas, validateMockAgentTools };
|
package/dist/testing/index.js
CHANGED
|
@@ -3,8 +3,9 @@ import {
|
|
|
3
3
|
assertValidMindooDBCreateIds,
|
|
4
4
|
mindooDBAppComponentFieldsMatch,
|
|
5
5
|
pageUsers,
|
|
6
|
-
releaseMindooDBAppBridgeSessions
|
|
7
|
-
|
|
6
|
+
releaseMindooDBAppBridgeSessions,
|
|
7
|
+
validateMindooDBAppDefinition
|
|
8
|
+
} from "../chunk-GTNDGA7P.js";
|
|
8
9
|
|
|
9
10
|
// src/testing/index.ts
|
|
10
11
|
import * as Automerge from "@automerge/automerge";
|
|
@@ -2383,6 +2384,84 @@ Allow?`),
|
|
|
2383
2384
|
return testHost;
|
|
2384
2385
|
}
|
|
2385
2386
|
|
|
2387
|
+
// src/testing/agentManifest.ts
|
|
2388
|
+
function localeKeys(map) {
|
|
2389
|
+
return map ? Object.keys(map).sort().join(",") : "";
|
|
2390
|
+
}
|
|
2391
|
+
function findGuideProblems(name, text, prefix, registered, ignore) {
|
|
2392
|
+
const problems = /* @__PURE__ */ new Set();
|
|
2393
|
+
const prefixed = new RegExp(`(?<![A-Za-z0-9_])${prefix}_([a-z0-9_]+)(?![A-Za-z0-9_*<])`, "g");
|
|
2394
|
+
for (const match of text.matchAll(prefixed)) {
|
|
2395
|
+
const full = match[0];
|
|
2396
|
+
const bare = match[1].replace(/_+$/, "");
|
|
2397
|
+
if (!bare || ignore.has(full) || ignore.has(bare) || registered.has(bare)) continue;
|
|
2398
|
+
problems.add(`${name} names \`${full}\`, which the app does not register.`);
|
|
2399
|
+
}
|
|
2400
|
+
const families = new Set([...registered].filter((tool) => tool.includes("_")).map((tool) => tool.split("_")[0]));
|
|
2401
|
+
for (const match of text.matchAll(/`([a-z][a-z0-9]*_[a-z0-9_]*[a-z0-9])(?:\(\))?`/g)) {
|
|
2402
|
+
const bare = match[1];
|
|
2403
|
+
if (bare.startsWith("haven_") || bare.startsWith(`${prefix}_`)) continue;
|
|
2404
|
+
if (registered.has(bare) || ignore.has(bare) || !families.has(bare.split("_")[0])) continue;
|
|
2405
|
+
problems.add(`${name} names \`${bare}\`, which looks like a tool but the app does not register it.`);
|
|
2406
|
+
}
|
|
2407
|
+
return [...problems];
|
|
2408
|
+
}
|
|
2409
|
+
function checkAgentManifest(options) {
|
|
2410
|
+
const errors = [];
|
|
2411
|
+
const warnings = [];
|
|
2412
|
+
const validation = validateMindooDBAppDefinition(options.definition);
|
|
2413
|
+
errors.push(...validation.errors);
|
|
2414
|
+
const definition = validation.definition;
|
|
2415
|
+
if (!definition) {
|
|
2416
|
+
return { errors, warnings };
|
|
2417
|
+
}
|
|
2418
|
+
const agent = definition.agent;
|
|
2419
|
+
if (!agent) {
|
|
2420
|
+
errors.push("haven-app.json has no agent block.");
|
|
2421
|
+
return { errors, warnings };
|
|
2422
|
+
}
|
|
2423
|
+
const prefix = options.toolPrefix ?? mockAgentToolPrefix(definition.appId, definition.agentToolPrefix);
|
|
2424
|
+
const registered = new Set(options.tools.map((tool) => typeof tool === "string" ? tool : tool.name));
|
|
2425
|
+
const ignore = new Set(options.ignore ?? []);
|
|
2426
|
+
const covered = /* @__PURE__ */ new Set();
|
|
2427
|
+
for (const capability of agent.capabilities) {
|
|
2428
|
+
for (const tool of capability.tools) {
|
|
2429
|
+
covered.add(tool);
|
|
2430
|
+
if (!registered.has(tool)) {
|
|
2431
|
+
const hint = tool.startsWith(`${prefix}_`) ? " Name it without the prefix." : "";
|
|
2432
|
+
errors.push(`Capability "${capability.id}" names the tool "${tool}", which the app does not register.${hint}`);
|
|
2433
|
+
}
|
|
2434
|
+
}
|
|
2435
|
+
}
|
|
2436
|
+
const internal = new Set(options.internalTools ?? []);
|
|
2437
|
+
for (const tool of registered) {
|
|
2438
|
+
if (!covered.has(tool) && !internal.has(tool)) {
|
|
2439
|
+
warnings.push(`The tool "${tool}" belongs to no capability.`);
|
|
2440
|
+
}
|
|
2441
|
+
}
|
|
2442
|
+
const summaryLocales = localeKeys(agent.summary);
|
|
2443
|
+
const mismatched = [
|
|
2444
|
+
...agent.capabilities.map((capability) => [`capability "${capability.id}" title`, localeKeys(capability.title)]),
|
|
2445
|
+
...agent.examples ? [["examples", localeKeys(agent.examples)]] : []
|
|
2446
|
+
].filter(([, locales]) => locales !== summaryLocales);
|
|
2447
|
+
for (const [what, locales] of mismatched) {
|
|
2448
|
+
errors.push(`The agent ${what} has the locales ${locales || "(none)"}, the summary ${summaryLocales}.`);
|
|
2449
|
+
}
|
|
2450
|
+
const texts = Array.isArray(options.guideTexts) ? options.guideTexts.map((text, index) => [`guide text #${index}`, text]) : Object.entries(options.guideTexts ?? {});
|
|
2451
|
+
for (const [name, text] of texts) {
|
|
2452
|
+
errors.push(...findGuideProblems(name, text, prefix, registered, ignore));
|
|
2453
|
+
}
|
|
2454
|
+
return { errors, warnings };
|
|
2455
|
+
}
|
|
2456
|
+
function assertAgentManifest(options) {
|
|
2457
|
+
const { errors, warnings } = checkAgentManifest(options);
|
|
2458
|
+
if (errors.length) {
|
|
2459
|
+
throw new Error(`The agent profile does not match the app's tools:
|
|
2460
|
+
- ${errors.join("\n- ")}`);
|
|
2461
|
+
}
|
|
2462
|
+
return warnings;
|
|
2463
|
+
}
|
|
2464
|
+
|
|
2386
2465
|
// src/testing/index.ts
|
|
2387
2466
|
var PROTOCOL = "mindoodb-app-bridge";
|
|
2388
2467
|
var MOCK_SIGNING_PUBLIC_KEY_PEM = "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAmockmockmockmockmockmockmockmockmockmockmoc=\n-----END PUBLIC KEY-----\n";
|
|
@@ -7040,7 +7119,9 @@ export {
|
|
|
7040
7119
|
DEFAULT_TEST_HOST_USERS,
|
|
7041
7120
|
MockForbiddenError,
|
|
7042
7121
|
TEST_HOST_LOCALES,
|
|
7122
|
+
assertAgentManifest,
|
|
7043
7123
|
capabilitiesForDefinitionPermissions,
|
|
7124
|
+
checkAgentManifest,
|
|
7044
7125
|
createBrowserTestHost,
|
|
7045
7126
|
createEvaluatingViewNavigator,
|
|
7046
7127
|
createFakeBridgeHost,
|
|
@@ -135,6 +135,51 @@ interface MindooDBAppDefinition {
|
|
|
135
135
|
* Display-only; nothing in here affects what the app is granted.
|
|
136
136
|
*/
|
|
137
137
|
listing?: MindooDBAppDefinitionListing;
|
|
138
|
+
/**
|
|
139
|
+
* What AI agents learn about the app before they open it: what it is for, what its
|
|
140
|
+
* agent tools can do, example requests and a longer how-to. Haven shows it through
|
|
141
|
+
* `haven_apps_describe`. See {@link MindooDBAppAgentProfile}.
|
|
142
|
+
*/
|
|
143
|
+
agent?: MindooDBAppAgentProfile;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Per-locale text: `en` is required and the fallback for every locale it does not
|
|
147
|
+
* name. Unlike {@link MindooDBAppLocalizedText} a plain string is not accepted.
|
|
148
|
+
*/
|
|
149
|
+
type MindooDBAppLocaleMap<T> = {
|
|
150
|
+
en: T;
|
|
151
|
+
} & Record<string, T>;
|
|
152
|
+
/** One thing an agent can do with the app, and the tools it takes. */
|
|
153
|
+
interface MindooDBAppAgentCapability {
|
|
154
|
+
/** Stable id, unique within the profile. Lowercase letters, digits, `-` and `_`. */
|
|
155
|
+
id: string;
|
|
156
|
+
/** Short title, e.g. "Find, open and create maps". At most 80 characters. */
|
|
157
|
+
title: MindooDBAppLocaleMap<string>;
|
|
158
|
+
/**
|
|
159
|
+
* The tools behind it, named as in `registerTools` (without the app's prefix):
|
|
160
|
+
* `nodes_add`, not `vega_nodes_add`. Haven's own `haven_*` tools do not belong here.
|
|
161
|
+
*/
|
|
162
|
+
tools: string[];
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* The app as an agent should know it before opening it (`agent` in haven-app.json).
|
|
166
|
+
* Everything here is text the publisher writes for agents; it grants nothing.
|
|
167
|
+
*/
|
|
168
|
+
interface MindooDBAppAgentProfile {
|
|
169
|
+
/** Neutral description in 1-3 sentences, at most 400 characters per locale. */
|
|
170
|
+
summary: MindooDBAppLocaleMap<string>;
|
|
171
|
+
/** 1-8 capabilities that together cover the app's agent tools. */
|
|
172
|
+
capabilities: MindooDBAppAgentCapability[];
|
|
173
|
+
/** Example requests a user might give an agent, per locale. */
|
|
174
|
+
examples?: MindooDBAppLocaleMap<string[]>;
|
|
175
|
+
/** What the app deliberately does not do, so an agent does not try. */
|
|
176
|
+
limits?: MindooDBAppLocaleMap<string[]>;
|
|
177
|
+
/**
|
|
178
|
+
* Markdown how-to per locale (`agent/agent.en.md`): typical steps, where ids come
|
|
179
|
+
* from, pitfalls. A path relative to haven-app.json, at most
|
|
180
|
+
* {@link MINDOODB_APP_AGENT_GUIDE_MAX_BYTES} bytes.
|
|
181
|
+
*/
|
|
182
|
+
guide?: MindooDBAppLocaleMap<string>;
|
|
138
183
|
}
|
|
139
184
|
/** One kind of content an app takes, as a choice in Haven's picker. */
|
|
140
185
|
interface MindooDBAppAcceptSpec {
|
|
@@ -274,6 +319,19 @@ interface MindooDBAppDefinitionListing {
|
|
|
274
319
|
declare const MINDOODB_APP_LISTING_SUMMARY_MAX = 300;
|
|
275
320
|
declare const MINDOODB_APP_LISTING_DESCRIPTION_MAX = 4000;
|
|
276
321
|
declare const MINDOODB_APP_LISTING_MAX_SCREENSHOTS = 8;
|
|
322
|
+
declare const MINDOODB_APP_AGENT_SUMMARY_MAX = 400;
|
|
323
|
+
declare const MINDOODB_APP_AGENT_CAPABILITIES_MAX = 8;
|
|
324
|
+
declare const MINDOODB_APP_AGENT_CAPABILITY_TITLE_MAX = 80;
|
|
325
|
+
/** Most tools one capability lists; an app registers at most 64 tools. */
|
|
326
|
+
declare const MINDOODB_APP_AGENT_CAPABILITY_TOOLS_MAX = 64;
|
|
327
|
+
/** Most examples or limits per locale. */
|
|
328
|
+
declare const MINDOODB_APP_AGENT_LIST_MAX = 8;
|
|
329
|
+
declare const MINDOODB_APP_AGENT_EXAMPLE_MAX = 200;
|
|
330
|
+
declare const MINDOODB_APP_AGENT_LIMIT_MAX = 300;
|
|
331
|
+
/** Largest agent guide a host loads; longer guides are cut. */
|
|
332
|
+
declare const MINDOODB_APP_AGENT_GUIDE_MAX_BYTES: number;
|
|
333
|
+
/** An agent tool name as `registerTools` accepts it, without the app's prefix. */
|
|
334
|
+
declare const MINDOODB_APP_AGENT_TOOL_NAME_PATTERN: RegExp;
|
|
277
335
|
interface MindooDBAppDefinitionValidation {
|
|
278
336
|
definition: MindooDBAppDefinition | null;
|
|
279
337
|
errors: string[];
|
|
@@ -302,6 +360,14 @@ declare function validateMindooDBAppComponents(value: unknown): {
|
|
|
302
360
|
};
|
|
303
361
|
/** Whether every field in `match` has exactly that value in `data`. */
|
|
304
362
|
declare function mindooDBAppComponentFieldsMatch(match: Readonly<Record<string, MindooDBAppComponentFieldValue>>, data: Readonly<Record<string, unknown>> | null | undefined): boolean;
|
|
363
|
+
/**
|
|
364
|
+
* Validates an `agent` block on its own, for hosts that read it from another manifest
|
|
365
|
+
* format (Haven's app store catalog).
|
|
366
|
+
*/
|
|
367
|
+
declare function validateMindooDBAppAgentProfile(value: unknown): {
|
|
368
|
+
agent: MindooDBAppAgentProfile | undefined;
|
|
369
|
+
errors: string[];
|
|
370
|
+
};
|
|
305
371
|
/**
|
|
306
372
|
* Picks the text for `locale` out of a localized value: the exact locale, then its
|
|
307
373
|
* language (`de` for `de-CH`), then `en`.
|
|
@@ -3816,4 +3882,4 @@ interface MindooDBAppBridge {
|
|
|
3816
3882
|
connect(options?: MindooDBAppBridgeConnectOptions): Promise<MindooDBAppSession>;
|
|
3817
3883
|
}
|
|
3818
3884
|
|
|
3819
|
-
export { type MindooDBAppBridgeConnectOptions as $, MINDOODB_APP_LISTING_SUMMARY_MAX as A, MINDOODB_APP_SEAL_SIGNING_DOMAIN as B, MINDOODB_APP_WELL_KNOWN_DRAG_TYPES as C, type MindooDBAppAcceptSpec as D, type MindooDBAppAccessDecision as E, type MindooDBAppAccessTier as F, type MindooDBAppAgentApi as G, type MindooDBAppAgentRegistration as H, type MindooDBAppAgentToolAnnotations as I, type MindooDBAppAgentToolDescriptor as J, type MindooDBAppAgentToolScope as K, type MindooDBAppAttachmentApi as L, type MindooDBAppAttachmentPreviewMode as M, type MindooDBAppAttachmentChunk as N, type MindooDBAppAttachmentInfo as O, type MindooDBAppAttachmentPreviewOptions as P, type MindooDBAppAttachmentPreviewSession as Q, type MindooDBAppAutomergeChangesPatch as R, type MindooDBAppAutomergeChangesSince as S, type MindooDBAppAutomergeGetOptions as T, type MindooDBAppAutomergePatchResult as U, type MindooDBAppAutomergeSnapshot as V, type MindooDBAppBridgeAgentInvokeMessage as W, type MindooDBAppBridgeAgentResultMessage as X, type MindooDBAppBridgeBeforeCloseAck as Y, type MindooDBAppBridgeBeforeCloseMessage as Z, type MindooDBAppBridgeConnectMessage as _, type MindooDBAppDragBindSourceOptions as a, type MindooDBAppDatabaseInfo as a$, type MindooDBAppBridgeConnectedMessage as a0, type MindooDBAppBridgeDragDropMessage as a1, type MindooDBAppBridgeDragLeaveMessage as a2, type MindooDBAppBridgeDragOverMessage as a3, type MindooDBAppBridgeEmbedEventMessage as a4, type MindooDBAppBridgeEmbeddingRequestMessage as a5, type MindooDBAppBridgeErrorPayload as a6, type MindooDBAppBridgeHandshakeErrorMessage as a7, type MindooDBAppBridgeHostFocusChangedMessage as a8, type MindooDBAppBridgeIncomingContentMessage as a9, type MindooDBAppComponentChildren as aA, type MindooDBAppComponentContract as aB, type MindooDBAppComponentFieldValue as aC, type MindooDBAppComponentInfo as aD, type MindooDBAppComponentIntent as aE, type MindooDBAppComponentQuery as aF, type MindooDBAppComponentReference as aG, type MindooDBAppComponentSpec as aH, type MindooDBAppComponentsApi as aI, type MindooDBAppConfiguredViewCategorizationStyle as aJ, type MindooDBAppConfiguredViewColumn as aK, type MindooDBAppConfiguredViewColumnRole as aL, type MindooDBAppConfiguredViewExpressionMode as aM, type MindooDBAppConfiguredViewFieldExpression as aN, type MindooDBAppConfiguredViewFilterDefinition as aO, type MindooDBAppConfiguredViewFilterMode as aP, type MindooDBAppConfiguredViewFilterRule as aQ, type MindooDBAppConfiguredViewFormulaExpression as aR, type MindooDBAppConfiguredViewFormulaFilterDefinition as aS, type MindooDBAppConfiguredViewPreviewMode as aT, type MindooDBAppConfiguredViewRuleFilterDefinition as aU, type MindooDBAppConfiguredViewRuleMatchMode as aV, type MindooDBAppConfiguredViewRuleOperator as aW, type MindooDBAppConfiguredViewValueExpression as aX, type MindooDBAppCreateKeyInfo as aY, type MindooDBAppCreateViewInput as aZ, type MindooDBAppCreateViewNavigatorInput as a_, type MindooDBAppBridgeLocaleChangedMessage as aa, type MindooDBAppBridgePortMessage as ab, type MindooDBAppBridgeQueryResultMessage as ac, type MindooDBAppBridgeReminderOpenedMessage as ad, type MindooDBAppBridgeRpcError as ae, type MindooDBAppBridgeRpcMessage as af, type MindooDBAppBridgeRpcRequest as ag, type MindooDBAppBridgeRpcSuccess as ah, type MindooDBAppBridgeShortcutInvokedMessage as ai, type MindooDBAppBridgeShortcutsChangedMessage as aj, type MindooDBAppBridgeStreamAbortRequest as ak, type MindooDBAppBridgeStreamAck as al, type MindooDBAppBridgeStreamCloseRequest as am, type MindooDBAppBridgeStreamError as an, type MindooDBAppBridgeStreamMessage as ao, type MindooDBAppBridgeStreamOpenResult as ap, type MindooDBAppBridgeStreamReadRequest as aq, type MindooDBAppBridgeStreamWriteRequest as ar, type MindooDBAppBridgeThemeChangedMessage as as, type MindooDBAppBridgeUiPreferencesChangedMessage as at, type MindooDBAppBridgeViewChangedMessage as au, type MindooDBAppBridgeViewportChangedMessage as av, type MindooDBAppBridgeWorkspaceFocusRequestedMessage as aw, type MindooDBAppBrowserFeatures as ax, type MindooDBAppCapability as ay, type MindooDBAppComponentCategory as az, type MindooDBAppDragStartInput as b, type MindooDBAppIncomingSource as b$, type MindooDBAppDefinitionDatabase as b0, type MindooDBAppDefinitionListing as b1, type MindooDBAppDefinitionPermission as b2, type MindooDBAppDefinitionRegistrationPermission as b3, type MindooDBAppDefinitionScreenshot as b4, type MindooDBAppDefinitionValidation as b5, type MindooDBAppDirectoryApi as b6, type MindooDBAppDirectoryEntry as b7, type MindooDBAppDocumentApi as b8, type MindooDBAppDocumentHeadCursorResult as b9, type MindooDBAppEmbedDirtyEvent as bA, type MindooDBAppEmbedOpenInput as bB, type MindooDBAppEmbedRect as bC, type MindooDBAppEmbeddingApi as bD, type MindooDBAppEmbeddingLookupOptions as bE, type MindooDBAppEmbeddingLookupResult as bF, type MindooDBAppEmbedsApi as bG, type MindooDBAppEntryAttachmentRef as bH, type MindooDBAppEntryProvenance as bI, type MindooDBAppExtractDocumentTextInput as bJ, type MindooDBAppExtractDocumentTextResult as bK, type MindooDBAppExtractTextFormat as bL, type MindooDBAppExtractionSetup as bM, type MindooDBAppFulltextSetup as bN, type MindooDBAppHistoricalDocument as bO, type MindooDBAppHistoryQuery as bP, type MindooDBAppHostTheme as bQ, type MindooDBAppIdentityApi as bR, type MindooDBAppInaccessibleDocument as bS, type MindooDBAppInaccessibleDocumentListQuery as bT, type MindooDBAppInaccessibleDocumentListResult as bU, type MindooDBAppIncomingContent as bV, type MindooDBAppIncomingContentHandler as bW, type MindooDBAppIncomingContentInfo as bX, type MindooDBAppIncomingItem as bY, type MindooDBAppIncomingItemInfo as bZ, type MindooDBAppIncomingResult as b_, type MindooDBAppDocumentHistoryEntry as ba, type MindooDBAppDocumentListQuery as bb, type MindooDBAppDocumentListResult as bc, type MindooDBAppDocumentQuery as bd, type MindooDBAppDocumentRevisionId as be, type MindooDBAppDocumentScanPreset as bf, type MindooDBAppDocumentSummary as bg, type MindooDBAppDragApi as bh, type MindooDBAppDragCancelReason as bi, type MindooDBAppDragDropEvent as bj, type MindooDBAppDragEffect as bk, type MindooDBAppDragHoverResult as bl, type MindooDBAppDragOffer as bm, type MindooDBAppDragOverEvent as bn, type MindooDBAppDragPointer as bo, type MindooDBAppDragProfile as bp, type MindooDBAppEmbed as bq, type MindooDBAppEmbedAccessComponent as br, type MindooDBAppEmbedAccessInput as bs, type MindooDBAppEmbedAccessPair as bt, type MindooDBAppEmbedAccessResult as bu, type MindooDBAppEmbedAgentTools as bv, type MindooDBAppEmbedAgentToolsEvent as bw, type MindooDBAppEmbedCloseReason as bx, type MindooDBAppEmbedClosedEvent as by, type MindooDBAppEmbedContext as bz, type MindooDBAppDragStartResult as c, type MindooDBAppRichTextScalar as c$, type MindooDBAppJsonCounterIncrementPatch as c0, type MindooDBAppJsonListDeletePatch as c1, type MindooDBAppJsonListInsertPatch as c2, type MindooDBAppJsonPatch as c3, type MindooDBAppJsonSetPatch as c4, type MindooDBAppJsonTextMarkPatch as c5, type MindooDBAppJsonTextSplicePatch as c6, type MindooDBAppJsonTextUnmarkPatch as c7, type MindooDBAppJsonUnsetPatch as c8, type MindooDBAppLaunchContext as c9, type MindooDBAppProposeAppResult as cA, type MindooDBAppQueryCoverage as cB, type MindooDBAppQueryInclude as cC, type MindooDBAppQueryIncludeCardinality as cD, type MindooDBAppQueryIncludeSlots as cE, type MindooDBAppQueryResult as cF, type MindooDBAppQueryRow as cG, type MindooDBAppQuerySortKey as cH, type MindooDBAppQueryTextClause as cI, type MindooDBAppReadableAttachmentStream as cJ, type MindooDBAppRecipientOptions as cK, type MindooDBAppReminder as cL, type MindooDBAppReminderOpened as cM, type MindooDBAppReminderOpenedHandler as cN, type MindooDBAppReminderRequest as cO, type MindooDBAppReminderScheduleResult as cP, type MindooDBAppRemindersApi as cQ, type MindooDBAppResolvedViewDefinition as cR, type MindooDBAppResolvedViewSource as cS, type MindooDBAppRevisionPhase as cT, type MindooDBAppRevisionVerification as cU, type MindooDBAppRichTextBlockSpan as cV, type MindooDBAppRichTextGetOptions as cW, type MindooDBAppRichTextImmutableString as cX, type MindooDBAppRichTextMarkRange as cY, type MindooDBAppRichTextMaterializeValue as cZ, type MindooDBAppRichTextPatch as c_, type MindooDBAppListUsersOptions as ca, type MindooDBAppListUsersPage as cb, type MindooDBAppLiveQuerySubscription as cc, type MindooDBAppLocalizedText as cd, type MindooDBAppMenuAnchor as ce, type MindooDBAppMenuApi as cf, type MindooDBAppMenuCommandItem as cg, type MindooDBAppMenuDismissReason as ch, type MindooDBAppMenuDismissedResult as ci, type MindooDBAppMenuItem as cj, type MindooDBAppMenuKind as ck, type MindooDBAppMenuPlacement as cl, type MindooDBAppMenuPointAnchor as cm, type MindooDBAppMenuRect as cn, type MindooDBAppMenuRectAnchor as co, type MindooDBAppMenuSelectionResult as cp, type MindooDBAppMenuSeparatorItem as cq, type MindooDBAppNotificationSeverity as cr, type MindooDBAppNotifyInput as cs, type MindooDBAppNotifyResult as ct, type MindooDBAppPdfApi as cu, type MindooDBAppPdfSignInput as cv, type MindooDBAppPdfSignResult as cw, type MindooDBAppPdfSignaturePosition as cx, type MindooDBAppPdfSigner as cy, type MindooDBAppProposeAppInput as cz, type MindooDBAppDragPreview as d, type MindooDBAppRichTextSpliceStep as d0, type MindooDBAppRichTextStep as d1, type MindooDBAppRichTextStepPatch as d2, type MindooDBAppRichTextTextSpan as d3, type MindooDBAppRuntime as d4, type MindooDBAppScanAttachmentOptions as d5, type MindooDBAppScanAttachmentResult as d6, type MindooDBAppScopedDocId as d7, type MindooDBAppScopedDocumentSummary as d8, type MindooDBAppSealIntent as d9, type MindooDBAppViewCursorDocumentListResult as dA, type MindooDBAppViewCursorResult as dB, type MindooDBAppViewEntry as dC, type MindooDBAppViewEntryKind as dD, type MindooDBAppViewNavigator as dE, type MindooDBAppViewNavigatorExpansionState as dF, type MindooDBAppViewNavigatorOpenOptions as dG, type MindooDBAppViewNavigatorPageOptions as dH, type MindooDBAppViewNavigatorPageResult as dI, type MindooDBAppViewNavigatorRangeQuery as dJ, type MindooDBAppViewNavigatorSelectionState as dK, type MindooDBAppViewUpdateStats as dL, type MindooDBAppViewport as dM, type MindooDBAppWellKnownDragType as dN, type MindooDBAppWritableAttachmentStream as dO, mindooDBAppAcceptMatchesType as dP, mindooDBAppComponentFieldsMatch as dQ, resolveMindooDBAppDefinitionUrl as dR, resolveMindooDBAppListingAssetUrl as dS, resolveMindooDBAppLocalizedText as dT, validateMindooDBAppAccepts as dU, validateMindooDBAppComponents as dV, validateMindooDBAppDefinition as dW, type MindooDBAppSealedChannelOpenInput as da, type MindooDBAppSealedChannelOpenResult as db, type MindooDBAppSealedChannelRequestInput as dc, type MindooDBAppSession as dd, type MindooDBAppShowMenuInput as de, type MindooDBAppShowMenuResult as df, type MindooDBAppSignPreview as dg, type MindooDBAppSignPreviewScope as dh, type MindooDBAppSignStatementInput as di, type MindooDBAppSignStatementResult as dj, type MindooDBAppStorageApi as dk, type MindooDBAppSummarySetup as dl, type MindooDBAppTextCursorOptions as dm, type MindooDBAppTextCursorPosition as dn, type MindooDBAppTextCursorPositionsResult as dp, type MindooDBAppTextCursorsResult as dq, type MindooDBAppTextEdit as dr, type MindooDBAppTextPatch as ds, type MindooDBAppThemeMode as dt, type MindooDBAppTimestampApi as du, type MindooDBAppTimestampInput as dv, type MindooDBAppTimestampProvider as dw, type MindooDBAppTimestampResult as dx, type MindooDBAppUiPreferences as dy, type MindooDBAppUpdateDocumentInput as dz, type MindooDBAppBridge as e, type MindooDBAppAgentToolErrorCode as f, type MindooDBAppAgentTool as g, type MindooDBAppHostShortcutBinding as h, type MindooDBAppHostShortcutAction as i, type MindooDBAppHostingMode as j, type MindooDBAppDefinition as k, type MindooDBAppDatabase as l, type MindooDBAppDocument as m, type MindooDBAppRichTextSpan as n, type MindooDBAppRichTextSnapshot as o, type MindooDBAppCreateDocumentInput as p, MINDOODB_APP_ACCEPTS_MAX as q, MINDOODB_APP_COMPONENTS_MAX as r, MINDOODB_APP_COMPONENT_CONTRACT_PATTERN as s, MINDOODB_APP_DEFINITION_FILE_NAME as t, MINDOODB_APP_DEFINITION_FORMAT as u, MINDOODB_APP_DEFINITION_PERMISSIONS as v, MINDOODB_APP_DEFINITION_REGISTRATION_PERMISSIONS as w, MINDOODB_APP_DEFINITION_VERSION as x, MINDOODB_APP_LISTING_DESCRIPTION_MAX as y, MINDOODB_APP_LISTING_MAX_SCREENSHOTS as z };
|
|
3885
|
+
export { type MindooDBAppAttachmentPreviewSession as $, MINDOODB_APP_COMPONENTS_MAX as A, MINDOODB_APP_COMPONENT_CONTRACT_PATTERN as B, MINDOODB_APP_DEFINITION_FILE_NAME as C, MINDOODB_APP_DEFINITION_FORMAT as D, MINDOODB_APP_DEFINITION_PERMISSIONS as E, MINDOODB_APP_DEFINITION_REGISTRATION_PERMISSIONS as F, MINDOODB_APP_DEFINITION_VERSION as G, MINDOODB_APP_LISTING_DESCRIPTION_MAX as H, MINDOODB_APP_LISTING_MAX_SCREENSHOTS as I, MINDOODB_APP_LISTING_SUMMARY_MAX as J, MINDOODB_APP_SEAL_SIGNING_DOMAIN as K, MINDOODB_APP_WELL_KNOWN_DRAG_TYPES as L, type MindooDBAppAttachmentPreviewMode as M, type MindooDBAppAcceptSpec as N, type MindooDBAppAccessDecision as O, type MindooDBAppAccessTier as P, type MindooDBAppAgentApi as Q, type MindooDBAppAgentCapability as R, type MindooDBAppAgentProfile as S, type MindooDBAppAgentRegistration as T, type MindooDBAppAgentToolAnnotations as U, type MindooDBAppAgentToolDescriptor as V, type MindooDBAppAgentToolScope as W, type MindooDBAppAttachmentApi as X, type MindooDBAppAttachmentChunk as Y, type MindooDBAppAttachmentInfo as Z, type MindooDBAppAttachmentPreviewOptions as _, type MindooDBAppDragBindSourceOptions as a, type MindooDBAppConfiguredViewFilterRule as a$, type MindooDBAppAutomergeChangesPatch as a0, type MindooDBAppAutomergeChangesSince as a1, type MindooDBAppAutomergeGetOptions as a2, type MindooDBAppAutomergePatchResult as a3, type MindooDBAppAutomergeSnapshot as a4, type MindooDBAppBridgeAgentInvokeMessage as a5, type MindooDBAppBridgeAgentResultMessage as a6, type MindooDBAppBridgeBeforeCloseAck as a7, type MindooDBAppBridgeBeforeCloseMessage as a8, type MindooDBAppBridgeConnectMessage as a9, type MindooDBAppBridgeStreamOpenResult as aA, type MindooDBAppBridgeStreamReadRequest as aB, type MindooDBAppBridgeStreamWriteRequest as aC, type MindooDBAppBridgeThemeChangedMessage as aD, type MindooDBAppBridgeUiPreferencesChangedMessage as aE, type MindooDBAppBridgeViewChangedMessage as aF, type MindooDBAppBridgeViewportChangedMessage as aG, type MindooDBAppBridgeWorkspaceFocusRequestedMessage as aH, type MindooDBAppBrowserFeatures as aI, type MindooDBAppCapability as aJ, type MindooDBAppComponentCategory as aK, type MindooDBAppComponentChildren as aL, type MindooDBAppComponentContract as aM, type MindooDBAppComponentFieldValue as aN, type MindooDBAppComponentInfo as aO, type MindooDBAppComponentIntent as aP, type MindooDBAppComponentQuery as aQ, type MindooDBAppComponentReference as aR, type MindooDBAppComponentSpec as aS, type MindooDBAppComponentsApi as aT, type MindooDBAppConfiguredViewCategorizationStyle as aU, type MindooDBAppConfiguredViewColumn as aV, type MindooDBAppConfiguredViewColumnRole as aW, type MindooDBAppConfiguredViewExpressionMode as aX, type MindooDBAppConfiguredViewFieldExpression as aY, type MindooDBAppConfiguredViewFilterDefinition as aZ, type MindooDBAppConfiguredViewFilterMode as a_, type MindooDBAppBridgeConnectOptions as aa, type MindooDBAppBridgeConnectedMessage as ab, type MindooDBAppBridgeDragDropMessage as ac, type MindooDBAppBridgeDragLeaveMessage as ad, type MindooDBAppBridgeDragOverMessage as ae, type MindooDBAppBridgeEmbedEventMessage as af, type MindooDBAppBridgeEmbeddingRequestMessage as ag, type MindooDBAppBridgeErrorPayload as ah, type MindooDBAppBridgeHandshakeErrorMessage as ai, type MindooDBAppBridgeHostFocusChangedMessage as aj, type MindooDBAppBridgeIncomingContentMessage as ak, type MindooDBAppBridgeLocaleChangedMessage as al, type MindooDBAppBridgePortMessage as am, type MindooDBAppBridgeQueryResultMessage as an, type MindooDBAppBridgeReminderOpenedMessage as ao, type MindooDBAppBridgeRpcError as ap, type MindooDBAppBridgeRpcMessage as aq, type MindooDBAppBridgeRpcRequest as ar, type MindooDBAppBridgeRpcSuccess as as, type MindooDBAppBridgeShortcutInvokedMessage as at, type MindooDBAppBridgeShortcutsChangedMessage as au, type MindooDBAppBridgeStreamAbortRequest as av, type MindooDBAppBridgeStreamAck as aw, type MindooDBAppBridgeStreamCloseRequest as ax, type MindooDBAppBridgeStreamError as ay, type MindooDBAppBridgeStreamMessage as az, type MindooDBAppDragStartInput as b, type MindooDBAppHostTheme as b$, type MindooDBAppConfiguredViewFormulaExpression as b0, type MindooDBAppConfiguredViewFormulaFilterDefinition as b1, type MindooDBAppConfiguredViewPreviewMode as b2, type MindooDBAppConfiguredViewRuleFilterDefinition as b3, type MindooDBAppConfiguredViewRuleMatchMode as b4, type MindooDBAppConfiguredViewRuleOperator as b5, type MindooDBAppConfiguredViewValueExpression as b6, type MindooDBAppCreateKeyInfo as b7, type MindooDBAppCreateViewInput as b8, type MindooDBAppCreateViewNavigatorInput as b9, type MindooDBAppDragProfile as bA, type MindooDBAppEmbed as bB, type MindooDBAppEmbedAccessComponent as bC, type MindooDBAppEmbedAccessInput as bD, type MindooDBAppEmbedAccessPair as bE, type MindooDBAppEmbedAccessResult as bF, type MindooDBAppEmbedAgentTools as bG, type MindooDBAppEmbedAgentToolsEvent as bH, type MindooDBAppEmbedCloseReason as bI, type MindooDBAppEmbedClosedEvent as bJ, type MindooDBAppEmbedContext as bK, type MindooDBAppEmbedDirtyEvent as bL, type MindooDBAppEmbedOpenInput as bM, type MindooDBAppEmbedRect as bN, type MindooDBAppEmbeddingApi as bO, type MindooDBAppEmbeddingLookupOptions as bP, type MindooDBAppEmbeddingLookupResult as bQ, type MindooDBAppEmbedsApi as bR, type MindooDBAppEntryAttachmentRef as bS, type MindooDBAppEntryProvenance as bT, type MindooDBAppExtractDocumentTextInput as bU, type MindooDBAppExtractDocumentTextResult as bV, type MindooDBAppExtractTextFormat as bW, type MindooDBAppExtractionSetup as bX, type MindooDBAppFulltextSetup as bY, type MindooDBAppHistoricalDocument as bZ, type MindooDBAppHistoryQuery as b_, type MindooDBAppDatabaseInfo as ba, type MindooDBAppDefinitionDatabase as bb, type MindooDBAppDefinitionListing as bc, type MindooDBAppDefinitionPermission as bd, type MindooDBAppDefinitionRegistrationPermission as be, type MindooDBAppDefinitionScreenshot as bf, type MindooDBAppDefinitionValidation as bg, type MindooDBAppDirectoryApi as bh, type MindooDBAppDirectoryEntry as bi, type MindooDBAppDocumentApi as bj, type MindooDBAppDocumentHeadCursorResult as bk, type MindooDBAppDocumentHistoryEntry as bl, type MindooDBAppDocumentListQuery as bm, type MindooDBAppDocumentListResult as bn, type MindooDBAppDocumentQuery as bo, type MindooDBAppDocumentRevisionId as bp, type MindooDBAppDocumentScanPreset as bq, type MindooDBAppDocumentSummary as br, type MindooDBAppDragApi as bs, type MindooDBAppDragCancelReason as bt, type MindooDBAppDragDropEvent as bu, type MindooDBAppDragEffect as bv, type MindooDBAppDragHoverResult as bw, type MindooDBAppDragOffer as bx, type MindooDBAppDragOverEvent as by, type MindooDBAppDragPointer as bz, type MindooDBAppDragStartResult as c, type MindooDBAppReminderScheduleResult as c$, type MindooDBAppIdentityApi as c0, type MindooDBAppInaccessibleDocument as c1, type MindooDBAppInaccessibleDocumentListQuery as c2, type MindooDBAppInaccessibleDocumentListResult as c3, type MindooDBAppIncomingContent as c4, type MindooDBAppIncomingContentHandler as c5, type MindooDBAppIncomingContentInfo as c6, type MindooDBAppIncomingItem as c7, type MindooDBAppIncomingItemInfo as c8, type MindooDBAppIncomingResult as c9, type MindooDBAppMenuRectAnchor as cA, type MindooDBAppMenuSelectionResult as cB, type MindooDBAppMenuSeparatorItem as cC, type MindooDBAppNotificationSeverity as cD, type MindooDBAppNotifyInput as cE, type MindooDBAppNotifyResult as cF, type MindooDBAppPdfApi as cG, type MindooDBAppPdfSignInput as cH, type MindooDBAppPdfSignResult as cI, type MindooDBAppPdfSignaturePosition as cJ, type MindooDBAppPdfSigner as cK, type MindooDBAppProposeAppInput as cL, type MindooDBAppProposeAppResult as cM, type MindooDBAppQueryCoverage as cN, type MindooDBAppQueryInclude as cO, type MindooDBAppQueryIncludeCardinality as cP, type MindooDBAppQueryIncludeSlots as cQ, type MindooDBAppQueryResult as cR, type MindooDBAppQueryRow as cS, type MindooDBAppQuerySortKey as cT, type MindooDBAppQueryTextClause as cU, type MindooDBAppReadableAttachmentStream as cV, type MindooDBAppRecipientOptions as cW, type MindooDBAppReminder as cX, type MindooDBAppReminderOpened as cY, type MindooDBAppReminderOpenedHandler as cZ, type MindooDBAppReminderRequest as c_, type MindooDBAppIncomingSource as ca, type MindooDBAppJsonCounterIncrementPatch as cb, type MindooDBAppJsonListDeletePatch as cc, type MindooDBAppJsonListInsertPatch as cd, type MindooDBAppJsonPatch as ce, type MindooDBAppJsonSetPatch as cf, type MindooDBAppJsonTextMarkPatch as cg, type MindooDBAppJsonTextSplicePatch as ch, type MindooDBAppJsonTextUnmarkPatch as ci, type MindooDBAppJsonUnsetPatch as cj, type MindooDBAppLaunchContext as ck, type MindooDBAppListUsersOptions as cl, type MindooDBAppListUsersPage as cm, type MindooDBAppLiveQuerySubscription as cn, type MindooDBAppLocaleMap as co, type MindooDBAppLocalizedText as cp, type MindooDBAppMenuAnchor as cq, type MindooDBAppMenuApi as cr, type MindooDBAppMenuCommandItem as cs, type MindooDBAppMenuDismissReason as ct, type MindooDBAppMenuDismissedResult as cu, type MindooDBAppMenuItem as cv, type MindooDBAppMenuKind as cw, type MindooDBAppMenuPlacement as cx, type MindooDBAppMenuPointAnchor as cy, type MindooDBAppMenuRect as cz, type MindooDBAppDragPreview as d, mindooDBAppAcceptMatchesType as d$, type MindooDBAppRemindersApi as d0, type MindooDBAppResolvedViewDefinition as d1, type MindooDBAppResolvedViewSource as d2, type MindooDBAppRevisionPhase as d3, type MindooDBAppRevisionVerification as d4, type MindooDBAppRichTextBlockSpan as d5, type MindooDBAppRichTextGetOptions as d6, type MindooDBAppRichTextImmutableString as d7, type MindooDBAppRichTextMarkRange as d8, type MindooDBAppRichTextMaterializeValue as d9, type MindooDBAppTextCursorPosition as dA, type MindooDBAppTextCursorPositionsResult as dB, type MindooDBAppTextCursorsResult as dC, type MindooDBAppTextEdit as dD, type MindooDBAppTextPatch as dE, type MindooDBAppThemeMode as dF, type MindooDBAppTimestampApi as dG, type MindooDBAppTimestampInput as dH, type MindooDBAppTimestampProvider as dI, type MindooDBAppTimestampResult as dJ, type MindooDBAppUiPreferences as dK, type MindooDBAppUpdateDocumentInput as dL, type MindooDBAppViewCursorDocumentListResult as dM, type MindooDBAppViewCursorResult as dN, type MindooDBAppViewEntry as dO, type MindooDBAppViewEntryKind as dP, type MindooDBAppViewNavigator as dQ, type MindooDBAppViewNavigatorExpansionState as dR, type MindooDBAppViewNavigatorOpenOptions as dS, type MindooDBAppViewNavigatorPageOptions as dT, type MindooDBAppViewNavigatorPageResult as dU, type MindooDBAppViewNavigatorRangeQuery as dV, type MindooDBAppViewNavigatorSelectionState as dW, type MindooDBAppViewUpdateStats as dX, type MindooDBAppViewport as dY, type MindooDBAppWellKnownDragType as dZ, type MindooDBAppWritableAttachmentStream as d_, type MindooDBAppRichTextPatch as da, type MindooDBAppRichTextScalar as db, type MindooDBAppRichTextSpliceStep as dc, type MindooDBAppRichTextStep as dd, type MindooDBAppRichTextStepPatch as de, type MindooDBAppRichTextTextSpan as df, type MindooDBAppRuntime as dg, type MindooDBAppScanAttachmentOptions as dh, type MindooDBAppScanAttachmentResult as di, type MindooDBAppScopedDocId as dj, type MindooDBAppScopedDocumentSummary as dk, type MindooDBAppSealIntent as dl, type MindooDBAppSealedChannelOpenInput as dm, type MindooDBAppSealedChannelOpenResult as dn, type MindooDBAppSealedChannelRequestInput as dp, type MindooDBAppSession as dq, type MindooDBAppShowMenuInput as dr, type MindooDBAppShowMenuResult as ds, type MindooDBAppSignPreview as dt, type MindooDBAppSignPreviewScope as du, type MindooDBAppSignStatementInput as dv, type MindooDBAppSignStatementResult as dw, type MindooDBAppStorageApi as dx, type MindooDBAppSummarySetup as dy, type MindooDBAppTextCursorOptions as dz, type MindooDBAppBridge as e, mindooDBAppComponentFieldsMatch as e0, resolveMindooDBAppDefinitionUrl as e1, resolveMindooDBAppListingAssetUrl as e2, resolveMindooDBAppLocalizedText as e3, validateMindooDBAppAccepts as e4, validateMindooDBAppAgentProfile as e5, validateMindooDBAppComponents as e6, validateMindooDBAppDefinition as e7, type MindooDBAppAgentToolErrorCode as f, type MindooDBAppAgentTool as g, type MindooDBAppHostShortcutBinding as h, type MindooDBAppHostShortcutAction as i, type MindooDBAppHostingMode as j, type MindooDBAppDefinition as k, type MindooDBAppDatabase as l, type MindooDBAppDocument as m, type MindooDBAppRichTextSpan as n, type MindooDBAppRichTextSnapshot as o, type MindooDBAppCreateDocumentInput as p, MINDOODB_APP_ACCEPTS_MAX as q, MINDOODB_APP_AGENT_CAPABILITIES_MAX as r, MINDOODB_APP_AGENT_CAPABILITY_TITLE_MAX as s, MINDOODB_APP_AGENT_CAPABILITY_TOOLS_MAX as t, MINDOODB_APP_AGENT_EXAMPLE_MAX as u, MINDOODB_APP_AGENT_GUIDE_MAX_BYTES as v, MINDOODB_APP_AGENT_LIMIT_MAX as w, MINDOODB_APP_AGENT_LIST_MAX as x, MINDOODB_APP_AGENT_SUMMARY_MAX as y, MINDOODB_APP_AGENT_TOOL_NAME_PATTERN as z };
|