@inf-monkeys-tech/monkeys 1.0.38 → 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];
@@ -7463,6 +7464,7 @@ var AgentWorkbenchSessionItemSchema = z3.object({
7463
7464
  title: z3.string().min(1),
7464
7465
  updatedAt: IsoDateTimeSchema,
7465
7466
  thumbnailUrl: z3.string().url().optional(),
7467
+ mode: AgentModeSchema.optional(),
7466
7468
  status: AgentWorkbenchNavigationItemStatusSchema.default("idle"),
7467
7469
  pinned: z3.boolean().default(false),
7468
7470
  contextUsage: z3.object({
@@ -7584,15 +7586,16 @@ var AgentWorkbenchComposerViewModelSchema = z3.object({
7584
7586
  }
7585
7587
  });
7586
7588
  var AgentExecutionModeSchema = AgentModeSchema;
7587
- function normalizeAgentMode(value) {
7589
+ function normalizeStudioAgentMode(value) {
7588
7590
  const normalized = String(value ?? "").trim().toLowerCase();
7589
- if (normalized === "agent" || normalized === "codex") return "agent";
7590
- if (normalized === "chatbot" || normalized === "vercel-ai" || normalized === "vercel" || normalized === "ai-sdk") {
7591
- 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";
7592
7594
  }
7593
7595
  return void 0;
7594
7596
  }
7595
- var normalizeAgentExecutionMode = normalizeAgentMode;
7597
+ var normalizeAgentMode = normalizeStudioAgentMode;
7598
+ var normalizeAgentExecutionMode = normalizeStudioAgentMode;
7596
7599
 
7597
7600
  // src/contracts/capability.ts
7598
7601
  import { z as z5 } from "zod";
@@ -12789,6 +12792,7 @@ export {
12789
12792
  Sha256Schema,
12790
12793
  SourceRecordRefSchema,
12791
12794
  StorageLocatorSchema,
12795
+ StudioAgentModeSchema,
12792
12796
  TenantApplicationConfigSchema,
12793
12797
  TenantAuthBindingSchema,
12794
12798
  TenantAuthBindingsSchema,
@@ -12838,6 +12842,7 @@ export {
12838
12842
  isAgentSessionTerminalStatus,
12839
12843
  normalizeAgentExecutionMode,
12840
12844
  normalizeAgentMode,
12845
+ normalizeStudioAgentMode,
12841
12846
  resolveAgentSessionCommandTransition
12842
12847
  };
12843
12848
  //# sourceMappingURL=index.mjs.map