@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.
Files changed (41) hide show
  1. package/lib/contracts/agent.d.ts +36 -27
  2. package/lib/contracts/agent.d.ts.map +1 -1
  3. package/lib/contracts/agent.js +18 -14
  4. package/lib/contracts/agent.js.map +1 -1
  5. package/lib/contracts/menu.d.ts +1 -1
  6. package/lib/contracts/page.d.ts +3 -3
  7. package/lib/contracts/semantic.d.ts +2 -2
  8. package/lib/contracts/tenant.d.ts +41 -6
  9. package/lib/contracts/tenant.d.ts.map +1 -1
  10. package/lib/contracts/tenant.js +10 -2
  11. package/lib/contracts/tenant.js.map +1 -1
  12. package/lib/contracts/trend.d.ts +259 -0
  13. package/lib/contracts/trend.d.ts.map +1 -1
  14. package/lib/contracts/trend.js +146 -1
  15. package/lib/contracts/trend.js.map +1 -1
  16. package/lib/esm/contracts/index.mjs +149 -11
  17. package/lib/esm/contracts/index.mjs.map +1 -1
  18. package/lib/esm/index.mjs +150 -11
  19. package/lib/esm/index.mjs.map +1 -1
  20. package/lib/esm/runtime/index.mjs +12 -6
  21. package/lib/esm/runtime/index.mjs.map +1 -1
  22. package/lib/esm/schemas/index.mjs +145 -6
  23. package/lib/esm/schemas/index.mjs.map +1 -1
  24. package/lib/json-schema/agent-session-view-model.schema.json +2 -2
  25. package/lib/json-schema/agent-workbench-composer-view-model.schema.json +4 -4
  26. package/lib/json-schema/agent-workbench-navigation-view-model.schema.json +2 -2
  27. package/lib/json-schema/index.json +1 -0
  28. package/lib/json-schema/radar-analysis-detail.schema.json +83 -0
  29. package/lib/json-schema/radar-analysis-run.schema.json +83 -0
  30. package/lib/json-schema/tenant-product-config.schema.json +34 -0
  31. package/lib/json-schema/tenant-runtime-config.schema.json +34 -0
  32. package/lib/json-schema/trend-radar-collection-item.schema.json +524 -0
  33. package/lib/schemas/index.d.ts +159 -17
  34. package/lib/schemas/index.d.ts.map +1 -1
  35. package/lib/schemas/index.js +22 -4
  36. package/lib/schemas/index.js.map +1 -1
  37. package/package.json +1 -1
  38. package/test/fixtures/{agent-session-chatbot.json → agent-session-chat.json} +22 -22
  39. package/test/fixtures/agent-session-kernel.json +1 -1
  40. package/test/fixtures/agent-session-scenarios.json +6 -6
  41. 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 AgentModeSchema = z5.enum(["chatbot", "agent"]);
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
- chatbot: AgentModeCapabilitiesSchema.parse({
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
- agent: AgentModeCapabilitiesSchema.parse({
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
- chatbot: AgentSessionCapabilitiesSchema.parse({ text: true, tools: true, mcp: true, skills: true, approval: true, usage: true, editAndRerun: true, summary: true }),
7685
- agent: 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 })
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(),