@inf-monkeys-tech/monkeys 1.0.39 → 1.0.41
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 +36 -27
- package/lib/contracts/agent.d.ts.map +1 -1
- package/lib/contracts/agent.js +18 -14
- package/lib/contracts/agent.js.map +1 -1
- package/lib/contracts/menu.d.ts +1 -1
- package/lib/contracts/page.d.ts +3 -3
- package/lib/contracts/semantic.d.ts +2 -2
- package/lib/contracts/tenant.d.ts +41 -6
- package/lib/contracts/tenant.d.ts.map +1 -1
- package/lib/contracts/tenant.js +10 -2
- package/lib/contracts/tenant.js.map +1 -1
- package/lib/contracts/trend.d.ts +259 -0
- package/lib/contracts/trend.d.ts.map +1 -1
- package/lib/contracts/trend.js +146 -1
- package/lib/contracts/trend.js.map +1 -1
- package/lib/esm/contracts/index.mjs +149 -11
- package/lib/esm/contracts/index.mjs.map +1 -1
- package/lib/esm/index.mjs +150 -11
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +12 -6
- package/lib/esm/runtime/index.mjs.map +1 -1
- package/lib/esm/schemas/index.mjs +145 -6
- package/lib/esm/schemas/index.mjs.map +1 -1
- package/lib/json-schema/agent-session-view-model.schema.json +2 -2
- package/lib/json-schema/agent-workbench-composer-view-model.schema.json +4 -4
- package/lib/json-schema/agent-workbench-navigation-view-model.schema.json +2 -2
- package/lib/json-schema/index.json +1 -0
- package/lib/json-schema/radar-analysis-detail.schema.json +83 -0
- package/lib/json-schema/radar-analysis-run.schema.json +83 -0
- package/lib/json-schema/tenant-product-config.schema.json +34 -0
- package/lib/json-schema/tenant-runtime-config.schema.json +34 -0
- package/lib/json-schema/trend-radar-collection-item.schema.json +524 -0
- package/lib/schemas/index.d.ts +159 -17
- package/lib/schemas/index.d.ts.map +1 -1
- package/lib/schemas/index.js +22 -4
- package/lib/schemas/index.js.map +1 -1
- package/package.json +1 -1
- package/test/fixtures/{agent-session-chatbot.json → agent-session-chat.json} +22 -22
- package/test/fixtures/agent-session-kernel.json +1 -1
- package/test/fixtures/agent-session-scenarios.json +6 -6
- package/test/fixtures/{agent-session-agent.json → agent-session-work.json} +1 -1
|
@@ -7595,7 +7595,8 @@ var compileCapabilityRegistry = (sources) => {
|
|
|
7595
7595
|
|
|
7596
7596
|
// src/contracts/agent.ts
|
|
7597
7597
|
import { z as z5 } from "zod";
|
|
7598
|
-
var
|
|
7598
|
+
var StudioAgentModeSchema = z5.enum(["chat", "work"]);
|
|
7599
|
+
var AgentModeSchema = StudioAgentModeSchema;
|
|
7599
7600
|
var AgentConfigurationCapabilitySchema = z5.enum([
|
|
7600
7601
|
"models",
|
|
7601
7602
|
"skills",
|
|
@@ -7614,14 +7615,14 @@ var AgentResourceModeSupportSchema = z5.object({
|
|
|
7614
7615
|
modes: z5.array(AgentModeSchema).min(1)
|
|
7615
7616
|
}).strict();
|
|
7616
7617
|
var AGENT_MODE_CAPABILITIES = Object.freeze({
|
|
7617
|
-
|
|
7618
|
+
chat: AgentModeCapabilitiesSchema.parse({
|
|
7618
7619
|
models: true,
|
|
7619
7620
|
skills: true,
|
|
7620
7621
|
tools: true,
|
|
7621
7622
|
mcp: true,
|
|
7622
7623
|
reasoning: false
|
|
7623
7624
|
}),
|
|
7624
|
-
|
|
7625
|
+
work: AgentModeCapabilitiesSchema.parse({
|
|
7625
7626
|
models: true,
|
|
7626
7627
|
skills: true,
|
|
7627
7628
|
tools: true,
|
|
@@ -7681,8 +7682,8 @@ var AgentSessionPermissionProfileSchema = z5.enum([
|
|
|
7681
7682
|
"full-access"
|
|
7682
7683
|
]);
|
|
7683
7684
|
var AGENT_SESSION_RUNTIME_CAPABILITIES = Object.freeze({
|
|
7684
|
-
|
|
7685
|
-
|
|
7685
|
+
chat: AgentSessionCapabilitiesSchema.parse({ text: true, tools: true, mcp: true, skills: true, approval: true, usage: true, editAndRerun: true, summary: true }),
|
|
7686
|
+
work: AgentSessionCapabilitiesSchema.parse({ text: true, tools: true, mcp: true, shell: true, fileChange: true, skills: true, approval: true, artifacts: true, usage: true, resume: true, editAndRerun: true, steering: true, summary: true })
|
|
7686
7687
|
});
|
|
7687
7688
|
var AGENT_SESSION_CAPABILITY_EVIDENCE = Object.freeze({
|
|
7688
7689
|
text: { eventTypes: ["message"], commandTypes: [] },
|
|
@@ -12864,9 +12865,14 @@ var TenantTrendRadarSourceSchema = z11.object({
|
|
|
12864
12865
|
ontologyId: ContractIdentifierSchema,
|
|
12865
12866
|
viewId: ContractIdentifierSchema
|
|
12866
12867
|
}).strict();
|
|
12868
|
+
var TenantTrendRadarCollectionTargetSchema = z11.object({
|
|
12869
|
+
ontologyId: ContractIdentifierSchema
|
|
12870
|
+
}).strict();
|
|
12867
12871
|
var TenantTrendRadarSourcesSchema = z11.object({
|
|
12872
|
+
products: TenantTrendRadarSourceSchema.optional(),
|
|
12868
12873
|
hotwords: TenantTrendRadarSourceSchema.optional(),
|
|
12869
|
-
brands: TenantTrendRadarSourceSchema.optional()
|
|
12874
|
+
brands: TenantTrendRadarSourceSchema.optional(),
|
|
12875
|
+
collection: TenantTrendRadarCollectionTargetSchema.optional()
|
|
12870
12876
|
}).strict();
|
|
12871
12877
|
var AssetVariantsSchema = z11.object({
|
|
12872
12878
|
light: z11.string().optional(),
|