@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
|
@@ -7171,6 +7171,11 @@ var AgentSessionCapabilitiesSchema = z5.object({
|
|
|
7171
7171
|
steering: z5.boolean().default(false),
|
|
7172
7172
|
summary: z5.boolean().default(false)
|
|
7173
7173
|
}).strict();
|
|
7174
|
+
var AgentSessionPermissionProfileSchema = z5.enum([
|
|
7175
|
+
"approval-required",
|
|
7176
|
+
"auto-approve",
|
|
7177
|
+
"full-access"
|
|
7178
|
+
]);
|
|
7174
7179
|
var AGENT_SESSION_RUNTIME_CAPABILITIES = Object.freeze({
|
|
7175
7180
|
chatbot: AgentSessionCapabilitiesSchema.parse({ text: true, tools: true, mcp: true, skills: true, approval: true, usage: true, editAndRerun: true, summary: true }),
|
|
7176
7181
|
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 })
|
|
@@ -7201,7 +7206,8 @@ var AGENT_SESSION_CAPABILITY_EVIDENCE = Object.freeze({
|
|
|
7201
7206
|
var AgentSessionSnapshotSchema = z5.object({
|
|
7202
7207
|
mode: AgentModeSchema,
|
|
7203
7208
|
modelId: z5.string().trim().min(1),
|
|
7204
|
-
capabilities: AgentSessionCapabilitiesSchema
|
|
7209
|
+
capabilities: AgentSessionCapabilitiesSchema,
|
|
7210
|
+
permissionProfile: AgentSessionPermissionProfileSchema.optional()
|
|
7205
7211
|
}).strict();
|
|
7206
7212
|
var AgentSessionStatusSchema = z5.enum([
|
|
7207
7213
|
"queued",
|
|
@@ -12097,6 +12103,7 @@ export {
|
|
|
12097
12103
|
AgentSessionContinuationResultSchema,
|
|
12098
12104
|
AgentSessionEventSchema,
|
|
12099
12105
|
AgentSessionLineageSchema,
|
|
12106
|
+
AgentSessionPermissionProfileSchema,
|
|
12100
12107
|
AgentSessionRunEventSchema,
|
|
12101
12108
|
AgentSessionRunSchema,
|
|
12102
12109
|
AgentSessionSnapshotSchema,
|