@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.
@@ -6652,7 +6652,8 @@ var OutputRecordSchema = z2.object({
6652
6652
 
6653
6653
  // src/contracts/agent.ts
6654
6654
  import { z as z3 } from "zod";
6655
- var AgentModeSchema = z3.enum(["chatbot", "agent"]);
6655
+ var StudioAgentModeSchema = z3.enum(["chat", "work"]);
6656
+ var AgentModeSchema = StudioAgentModeSchema;
6656
6657
  var AgentConfigurationCapabilitySchema = z3.enum([
6657
6658
  "models",
6658
6659
  "skills",
@@ -6671,14 +6672,14 @@ var AgentResourceModeSupportSchema = z3.object({
6671
6672
  modes: z3.array(AgentModeSchema).min(1)
6672
6673
  }).strict();
6673
6674
  var AGENT_MODE_CAPABILITIES = Object.freeze({
6674
- chatbot: AgentModeCapabilitiesSchema.parse({
6675
+ chat: AgentModeCapabilitiesSchema.parse({
6675
6676
  models: true,
6676
6677
  skills: true,
6677
6678
  tools: true,
6678
6679
  mcp: true,
6679
6680
  reasoning: false
6680
6681
  }),
6681
- agent: AgentModeCapabilitiesSchema.parse({
6682
+ work: AgentModeCapabilitiesSchema.parse({
6682
6683
  models: true,
6683
6684
  skills: true,
6684
6685
  tools: true,
@@ -6747,8 +6748,8 @@ var AgentSessionPermissionProfileSchema = z3.enum([
6747
6748
  "full-access"
6748
6749
  ]);
6749
6750
  var AGENT_SESSION_RUNTIME_CAPABILITIES = Object.freeze({
6750
- chatbot: AgentSessionCapabilitiesSchema.parse({ text: true, tools: true, mcp: true, skills: true, approval: true, usage: true, editAndRerun: true, summary: true }),
6751
- 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 })
6751
+ chat: AgentSessionCapabilitiesSchema.parse({ text: true, tools: true, mcp: true, skills: true, approval: true, usage: true, editAndRerun: true, summary: true }),
6752
+ 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 })
6752
6753
  });
6753
6754
  function getAgentSessionRuntimeCapabilities(mode) {
6754
6755
  return AGENT_SESSION_RUNTIME_CAPABILITIES[mode];
@@ -7585,15 +7586,16 @@ var AgentWorkbenchComposerViewModelSchema = z3.object({
7585
7586
  }
7586
7587
  });
7587
7588
  var AgentExecutionModeSchema = AgentModeSchema;
7588
- function normalizeAgentMode(value) {
7589
+ function normalizeStudioAgentMode(value) {
7589
7590
  const normalized = String(value ?? "").trim().toLowerCase();
7590
- if (normalized === "agent" || normalized === "codex") return "agent";
7591
- if (normalized === "chatbot" || normalized === "vercel-ai" || normalized === "vercel" || normalized === "ai-sdk") {
7592
- return "chatbot";
7591
+ if (normalized === "work" || normalized === "agent" || normalized === "codex") return "work";
7592
+ if (normalized === "chat" || normalized === "chatbot" || normalized === "vercel-ai" || normalized === "vercel" || normalized === "ai-sdk") {
7593
+ return "chat";
7593
7594
  }
7594
7595
  return void 0;
7595
7596
  }
7596
- var normalizeAgentExecutionMode = normalizeAgentMode;
7597
+ var normalizeAgentMode = normalizeStudioAgentMode;
7598
+ var normalizeAgentExecutionMode = normalizeStudioAgentMode;
7597
7599
 
7598
7600
  // src/contracts/capability.ts
7599
7601
  import { z as z5 } from "zod";
@@ -12790,6 +12792,7 @@ export {
12790
12792
  Sha256Schema,
12791
12793
  SourceRecordRefSchema,
12792
12794
  StorageLocatorSchema,
12795
+ StudioAgentModeSchema,
12793
12796
  TenantApplicationConfigSchema,
12794
12797
  TenantAuthBindingSchema,
12795
12798
  TenantAuthBindingsSchema,
@@ -12839,6 +12842,7 @@ export {
12839
12842
  isAgentSessionTerminalStatus,
12840
12843
  normalizeAgentExecutionMode,
12841
12844
  normalizeAgentMode,
12845
+ normalizeStudioAgentMode,
12842
12846
  resolveAgentSessionCommandTransition
12843
12847
  };
12844
12848
  //# sourceMappingURL=index.mjs.map