@inf-monkeys-tech/monkeys 1.0.27 → 1.0.29
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 +20 -0
- package/lib/contracts/agent.d.ts.map +1 -1
- package/lib/contracts/agent.js +11 -1
- package/lib/contracts/agent.js.map +1 -1
- package/lib/esm/contracts/index.mjs +8 -1
- package/lib/esm/contracts/index.mjs.map +1 -1
- package/lib/esm/index.mjs +8 -1
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +7 -1
- package/lib/esm/runtime/index.mjs.map +1 -1
- package/lib/esm/schemas/index.mjs +8 -1
- package/lib/esm/schemas/index.mjs.map +1 -1
- package/lib/json-schema/agent-session-view-model.schema.json +8 -0
- package/lib/schemas/index.d.ts +6 -1
- package/lib/schemas/index.d.ts.map +1 -1
- package/lib/schemas/index.js +4 -3
- package/lib/schemas/index.js.map +1 -1
- package/package.json +1 -1
- package/test/fixtures/agent-session-scenarios.json +328 -0
|
@@ -7675,6 +7675,11 @@ var AgentSessionCapabilitiesSchema = z5.object({
|
|
|
7675
7675
|
steering: z5.boolean().default(false),
|
|
7676
7676
|
summary: z5.boolean().default(false)
|
|
7677
7677
|
}).strict();
|
|
7678
|
+
var AgentSessionPermissionProfileSchema = z5.enum([
|
|
7679
|
+
"approval-required",
|
|
7680
|
+
"auto-approve",
|
|
7681
|
+
"full-access"
|
|
7682
|
+
]);
|
|
7678
7683
|
var AGENT_SESSION_RUNTIME_CAPABILITIES = Object.freeze({
|
|
7679
7684
|
chatbot: AgentSessionCapabilitiesSchema.parse({ text: true, tools: true, mcp: true, skills: true, approval: true, usage: true, editAndRerun: true, summary: true }),
|
|
7680
7685
|
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 })
|
|
@@ -7705,7 +7710,8 @@ var AGENT_SESSION_CAPABILITY_EVIDENCE = Object.freeze({
|
|
|
7705
7710
|
var AgentSessionSnapshotSchema = z5.object({
|
|
7706
7711
|
mode: AgentModeSchema,
|
|
7707
7712
|
modelId: z5.string().trim().min(1),
|
|
7708
|
-
capabilities: AgentSessionCapabilitiesSchema
|
|
7713
|
+
capabilities: AgentSessionCapabilitiesSchema,
|
|
7714
|
+
permissionProfile: AgentSessionPermissionProfileSchema.optional()
|
|
7709
7715
|
}).strict();
|
|
7710
7716
|
var AgentSessionStatusSchema = z5.enum([
|
|
7711
7717
|
"queued",
|