@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.
- package/lib/contracts/agent.d.ts +40 -23
- package/lib/contracts/agent.d.ts.map +1 -1
- package/lib/contracts/agent.js +19 -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 +5 -5
- package/lib/esm/contracts/index.mjs +15 -10
- package/lib/esm/contracts/index.mjs.map +1 -1
- package/lib/esm/index.mjs +15 -10
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +7 -5
- package/lib/esm/runtime/index.mjs.map +1 -1
- package/lib/esm/schemas/index.mjs +8 -5
- 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 +7 -0
- package/lib/schemas/index.d.ts +17 -13
- package/lib/schemas/index.d.ts.map +1 -1
- package/lib/schemas/index.js +5 -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: [] },
|
|
@@ -8353,6 +8354,7 @@ var AgentWorkbenchSessionItemSchema = z5.object({
|
|
|
8353
8354
|
title: z5.string().min(1),
|
|
8354
8355
|
updatedAt: IsoDateTimeSchema,
|
|
8355
8356
|
thumbnailUrl: z5.string().url().optional(),
|
|
8357
|
+
mode: AgentModeSchema.optional(),
|
|
8356
8358
|
status: AgentWorkbenchNavigationItemStatusSchema.default("idle"),
|
|
8357
8359
|
pinned: z5.boolean().default(false),
|
|
8358
8360
|
contextUsage: z5.object({
|