@inf-monkeys-tech/monkeys 1.0.39 → 1.0.40

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/esm/index.mjs CHANGED
@@ -6689,7 +6689,8 @@ var OutputRecordSchema = z2.object({
6689
6689
 
6690
6690
  // src/contracts/agent.ts
6691
6691
  import { z as z3 } from "zod";
6692
- var AgentModeSchema = z3.enum(["chatbot", "agent"]);
6692
+ var StudioAgentModeSchema = z3.enum(["chat", "work"]);
6693
+ var AgentModeSchema = StudioAgentModeSchema;
6693
6694
  var AgentConfigurationCapabilitySchema = z3.enum([
6694
6695
  "models",
6695
6696
  "skills",
@@ -6708,14 +6709,14 @@ var AgentResourceModeSupportSchema = z3.object({
6708
6709
  modes: z3.array(AgentModeSchema).min(1)
6709
6710
  }).strict();
6710
6711
  var AGENT_MODE_CAPABILITIES = Object.freeze({
6711
- chatbot: AgentModeCapabilitiesSchema.parse({
6712
+ chat: AgentModeCapabilitiesSchema.parse({
6712
6713
  models: true,
6713
6714
  skills: true,
6714
6715
  tools: true,
6715
6716
  mcp: true,
6716
6717
  reasoning: false
6717
6718
  }),
6718
- agent: AgentModeCapabilitiesSchema.parse({
6719
+ work: AgentModeCapabilitiesSchema.parse({
6719
6720
  models: true,
6720
6721
  skills: true,
6721
6722
  tools: true,
@@ -6784,8 +6785,8 @@ var AgentSessionPermissionProfileSchema = z3.enum([
6784
6785
  "full-access"
6785
6786
  ]);
6786
6787
  var AGENT_SESSION_RUNTIME_CAPABILITIES = Object.freeze({
6787
- chatbot: AgentSessionCapabilitiesSchema.parse({ text: true, tools: true, mcp: true, skills: true, approval: true, usage: true, editAndRerun: true, summary: true }),
6788
- 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 })
6788
+ chat: AgentSessionCapabilitiesSchema.parse({ text: true, tools: true, mcp: true, skills: true, approval: true, usage: true, editAndRerun: true, summary: true }),
6789
+ 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 })
6789
6790
  });
6790
6791
  function getAgentSessionRuntimeCapabilities(mode) {
6791
6792
  return AGENT_SESSION_RUNTIME_CAPABILITIES[mode];
@@ -7622,15 +7623,16 @@ var AgentWorkbenchComposerViewModelSchema = z3.object({
7622
7623
  }
7623
7624
  });
7624
7625
  var AgentExecutionModeSchema = AgentModeSchema;
7625
- function normalizeAgentMode(value) {
7626
+ function normalizeStudioAgentMode(value) {
7626
7627
  const normalized = String(value ?? "").trim().toLowerCase();
7627
- if (normalized === "agent" || normalized === "codex") return "agent";
7628
- if (normalized === "chatbot" || normalized === "vercel-ai" || normalized === "vercel" || normalized === "ai-sdk") {
7629
- return "chatbot";
7628
+ if (normalized === "work" || normalized === "agent" || normalized === "codex") return "work";
7629
+ if (normalized === "chat" || normalized === "chatbot" || normalized === "vercel-ai" || normalized === "vercel" || normalized === "ai-sdk") {
7630
+ return "chat";
7630
7631
  }
7631
7632
  return void 0;
7632
7633
  }
7633
- var normalizeAgentExecutionMode = normalizeAgentMode;
7634
+ var normalizeAgentMode = normalizeStudioAgentMode;
7635
+ var normalizeAgentExecutionMode = normalizeStudioAgentMode;
7634
7636
 
7635
7637
  // src/contracts/capability.ts
7636
7638
  import { z as z5 } from "zod";
@@ -14682,6 +14684,7 @@ export {
14682
14684
  Sha256Schema,
14683
14685
  SourceRecordRefSchema,
14684
14686
  StorageLocatorSchema,
14687
+ StudioAgentModeSchema,
14685
14688
  TenantApplicationConfigSchema,
14686
14689
  TenantAuthBindingSchema,
14687
14690
  TenantAuthBindingsSchema,
@@ -14764,6 +14767,7 @@ export {
14764
14767
  mergeThemeTokenDocuments,
14765
14768
  normalizeAgentExecutionMode,
14766
14769
  normalizeAgentMode,
14770
+ normalizeStudioAgentMode,
14767
14771
  parseApplicationHandoff,
14768
14772
  projectAgentSessionEvents,
14769
14773
  publishOpenApiToolCapabilityManifests,