@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/contracts/agent.d.ts +36 -27
- package/lib/contracts/agent.d.ts.map +1 -1
- package/lib/contracts/agent.js +18 -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 +14 -10
- package/lib/esm/contracts/index.mjs.map +1 -1
- package/lib/esm/index.mjs +14 -10
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +6 -5
- package/lib/esm/runtime/index.mjs.map +1 -1
- package/lib/esm/schemas/index.mjs +7 -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 +2 -2
- package/lib/schemas/index.d.ts +15 -15
- 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
|
@@ -7091,7 +7091,8 @@ var CapabilityRegistryDocumentSchema = z4.object({
|
|
|
7091
7091
|
|
|
7092
7092
|
// src/contracts/agent.ts
|
|
7093
7093
|
import { z as z5 } from "zod";
|
|
7094
|
-
var
|
|
7094
|
+
var StudioAgentModeSchema = z5.enum(["chat", "work"]);
|
|
7095
|
+
var AgentModeSchema = StudioAgentModeSchema;
|
|
7095
7096
|
var AgentConfigurationCapabilitySchema = z5.enum([
|
|
7096
7097
|
"models",
|
|
7097
7098
|
"skills",
|
|
@@ -7110,14 +7111,14 @@ var AgentResourceModeSupportSchema = z5.object({
|
|
|
7110
7111
|
modes: z5.array(AgentModeSchema).min(1)
|
|
7111
7112
|
}).strict();
|
|
7112
7113
|
var AGENT_MODE_CAPABILITIES = Object.freeze({
|
|
7113
|
-
|
|
7114
|
+
chat: AgentModeCapabilitiesSchema.parse({
|
|
7114
7115
|
models: true,
|
|
7115
7116
|
skills: true,
|
|
7116
7117
|
tools: true,
|
|
7117
7118
|
mcp: true,
|
|
7118
7119
|
reasoning: false
|
|
7119
7120
|
}),
|
|
7120
|
-
|
|
7121
|
+
work: AgentModeCapabilitiesSchema.parse({
|
|
7121
7122
|
models: true,
|
|
7122
7123
|
skills: true,
|
|
7123
7124
|
tools: true,
|
|
@@ -7177,8 +7178,8 @@ var AgentSessionPermissionProfileSchema = z5.enum([
|
|
|
7177
7178
|
"full-access"
|
|
7178
7179
|
]);
|
|
7179
7180
|
var AGENT_SESSION_RUNTIME_CAPABILITIES = Object.freeze({
|
|
7180
|
-
|
|
7181
|
-
|
|
7181
|
+
chat: AgentSessionCapabilitiesSchema.parse({ text: true, tools: true, mcp: true, skills: true, approval: true, usage: true, editAndRerun: true, summary: true }),
|
|
7182
|
+
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 })
|
|
7182
7183
|
});
|
|
7183
7184
|
var AGENT_SESSION_CAPABILITY_EVIDENCE = Object.freeze({
|
|
7184
7185
|
text: { eventTypes: ["message"], commandTypes: [] },
|
|
@@ -12770,6 +12771,7 @@ export {
|
|
|
12770
12771
|
SavedRadarQuerySchema,
|
|
12771
12772
|
SourceRecordRefSchema,
|
|
12772
12773
|
StorageLocatorSchema,
|
|
12774
|
+
StudioAgentModeSchema,
|
|
12773
12775
|
TenantApplicationConfigSchema,
|
|
12774
12776
|
TenantLandingPageConfigSchema,
|
|
12775
12777
|
TenantProductConfigSchema,
|