@inf-monkeys-tech/monkeys 1.0.12 → 1.0.14
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/lib/contracts/agent.d.ts +44 -2
- package/lib/contracts/agent.d.ts.map +1 -1
- package/lib/contracts/agent.js +50 -1
- package/lib/contracts/agent.js.map +1 -1
- package/lib/contracts/tenant.d.ts +30 -30
- package/lib/contracts/tenant.js +8 -8
- package/lib/contracts/tenant.js.map +1 -1
- package/lib/esm/contracts/index.mjs +57 -8
- package/lib/esm/contracts/index.mjs.map +1 -1
- package/lib/esm/index.mjs +57 -8
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +8 -8
- package/lib/esm/runtime/index.mjs.map +1 -1
- package/lib/esm/schemas/index.mjs +44 -8
- package/lib/esm/schemas/index.mjs.map +1 -1
- package/lib/json-schema/tenant-product-config.schema.json +11 -11
- package/lib/json-schema/tenant-runtime-config.schema.json +11 -11
- package/lib/schemas/index.d.ts +21 -21
- package/lib/schemas/index.d.ts.map +1 -1
- package/lib/schemas/index.js +6 -3
- package/lib/schemas/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -7092,6 +7092,39 @@ var CapabilityRegistryDocumentSchema = z4.object({
|
|
|
7092
7092
|
// src/contracts/agent.ts
|
|
7093
7093
|
import { z as z5 } from "zod";
|
|
7094
7094
|
var AgentModeSchema = z5.enum(["chatbot", "agent"]);
|
|
7095
|
+
var AgentConfigurationCapabilitySchema = z5.enum([
|
|
7096
|
+
"models",
|
|
7097
|
+
"skills",
|
|
7098
|
+
"tools",
|
|
7099
|
+
"mcp",
|
|
7100
|
+
"reasoning"
|
|
7101
|
+
]);
|
|
7102
|
+
var AgentModeCapabilitiesSchema = z5.object({
|
|
7103
|
+
models: z5.boolean(),
|
|
7104
|
+
skills: z5.boolean(),
|
|
7105
|
+
tools: z5.boolean(),
|
|
7106
|
+
mcp: z5.boolean(),
|
|
7107
|
+
reasoning: z5.boolean()
|
|
7108
|
+
}).strict();
|
|
7109
|
+
var AgentResourceModeSupportSchema = z5.object({
|
|
7110
|
+
modes: z5.array(AgentModeSchema).min(1)
|
|
7111
|
+
}).strict();
|
|
7112
|
+
var AGENT_MODE_CAPABILITIES = Object.freeze({
|
|
7113
|
+
chatbot: AgentModeCapabilitiesSchema.parse({
|
|
7114
|
+
models: true,
|
|
7115
|
+
skills: true,
|
|
7116
|
+
tools: true,
|
|
7117
|
+
mcp: true,
|
|
7118
|
+
reasoning: false
|
|
7119
|
+
}),
|
|
7120
|
+
agent: AgentModeCapabilitiesSchema.parse({
|
|
7121
|
+
models: true,
|
|
7122
|
+
skills: true,
|
|
7123
|
+
tools: true,
|
|
7124
|
+
mcp: true,
|
|
7125
|
+
reasoning: true
|
|
7126
|
+
})
|
|
7127
|
+
});
|
|
7095
7128
|
var AgentSessionCapabilitySchema = z5.enum([
|
|
7096
7129
|
"text",
|
|
7097
7130
|
"reasoning",
|
|
@@ -10585,13 +10618,13 @@ var TenantApplicationConfigSchema = z12.object({
|
|
|
10585
10618
|
rememberWorkflowModelSelection: z12.boolean().optional()
|
|
10586
10619
|
}).strict(),
|
|
10587
10620
|
dataManagement: z12.object({
|
|
10588
|
-
|
|
10589
|
-
|
|
10590
|
-
|
|
10591
|
-
|
|
10592
|
-
|
|
10621
|
+
favoriteOntologyId: z12.string().optional(),
|
|
10622
|
+
pairedOntologyId: z12.string().optional(),
|
|
10623
|
+
galleryOntologyId: z12.string().optional(),
|
|
10624
|
+
dataBrowserDefaultOntologyId: z12.string().optional(),
|
|
10625
|
+
workflowResultOntologyId: z12.string().optional(),
|
|
10593
10626
|
homeAdvertisement: z12.object({
|
|
10594
|
-
|
|
10627
|
+
ontologyId: ContractIdentifierSchema,
|
|
10595
10628
|
viewId: ContractIdentifierSchema.optional(),
|
|
10596
10629
|
viewType: z12.enum(["filter", "container", "share_link"]).optional(),
|
|
10597
10630
|
teamId: ContractIdentifierSchema.optional(),
|
|
@@ -10603,7 +10636,7 @@ var TenantApplicationConfigSchema = z12.object({
|
|
|
10603
10636
|
columnIds: z12.record(z12.string(), z12.string()).optional()
|
|
10604
10637
|
}).strict().optional(),
|
|
10605
10638
|
homeTrendAssistant: z12.object({
|
|
10606
|
-
|
|
10639
|
+
ontologyId: ContractIdentifierSchema.optional(),
|
|
10607
10640
|
viewId: ContractIdentifierSchema.optional(),
|
|
10608
10641
|
viewInstanceId: ContractIdentifierSchema.optional(),
|
|
10609
10642
|
viewName: z12.string().optional(),
|
|
@@ -10613,7 +10646,7 @@ var TenantApplicationConfigSchema = z12.object({
|
|
|
10613
10646
|
runtime: z12.object({ appId: ContractIdentifierSchema, tepBaseUrlConfigured: z12.boolean(), tepAuthorizationConfigured: z12.boolean(), tepCookieConfigured: z12.boolean() }).strict().optional()
|
|
10614
10647
|
}).strict().optional(),
|
|
10615
10648
|
sharing: z12.object({
|
|
10616
|
-
silentViewLinks: z12.object({ enabled: z12.boolean().optional(), placement: z12.object({ mode: z12.enum(["
|
|
10649
|
+
silentViewLinks: z12.object({ enabled: z12.boolean().optional(), placement: z12.object({ mode: z12.enum(["sourceOntology", "ontology"]).optional(), ontologyId: ContractIdentifierSchema.optional(), parentId: ContractIdentifierSchema.optional(), navId: ContractIdentifierSchema.optional() }).strict().optional() }).strict().optional(),
|
|
10617
10650
|
shareAccess: z12.object({ publicLinksEnabled: z12.boolean().optional(), passwordGateEnabled: z12.boolean().optional(), passwordAccessTtlSeconds: z12.number().int().positive().optional(), defaultViewTreeDelivery: z12.enum(["manual", "auto"]).optional() }).strict().optional(),
|
|
10618
10651
|
shareDialog: z12.object({
|
|
10619
10652
|
audience: z12.object({ enabled: z12.boolean().optional(), allowed: z12.array(z12.enum(["user", "team", "public"])).optional(), default: z12.enum(["user", "team", "public"]).optional() }).strict().optional(),
|
|
@@ -11412,8 +11445,11 @@ var canonicalContractSchemas = {
|
|
|
11412
11445
|
"workflow-definition": WorkflowDefinitionSchema
|
|
11413
11446
|
};
|
|
11414
11447
|
export {
|
|
11448
|
+
AgentConfigurationCapabilitySchema,
|
|
11415
11449
|
AgentExecutionModeSchema,
|
|
11450
|
+
AgentModeCapabilitiesSchema,
|
|
11416
11451
|
AgentModeSchema,
|
|
11452
|
+
AgentResourceModeSupportSchema,
|
|
11417
11453
|
AgentRuntimeEventSchema,
|
|
11418
11454
|
AgentSessionCapabilitiesSchema,
|
|
11419
11455
|
AgentSessionCapabilitySchema,
|