@inf-monkeys-tech/monkeys 1.0.27 → 1.0.28
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/lib/esm/index.mjs
CHANGED
|
@@ -6778,6 +6778,11 @@ var AgentSessionCapabilitiesSchema = z3.object({
|
|
|
6778
6778
|
steering: z3.boolean().default(false),
|
|
6779
6779
|
summary: z3.boolean().default(false)
|
|
6780
6780
|
}).strict();
|
|
6781
|
+
var AgentSessionPermissionProfileSchema = z3.enum([
|
|
6782
|
+
"approval-required",
|
|
6783
|
+
"auto-approve",
|
|
6784
|
+
"full-access"
|
|
6785
|
+
]);
|
|
6781
6786
|
var AGENT_SESSION_RUNTIME_CAPABILITIES = Object.freeze({
|
|
6782
6787
|
chatbot: AgentSessionCapabilitiesSchema.parse({ text: true, tools: true, mcp: true, skills: true, approval: true, usage: true, editAndRerun: true, summary: true }),
|
|
6783
6788
|
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 })
|
|
@@ -6820,7 +6825,8 @@ function findUnsupportedAgentSessionCapabilities(capabilities, evidence) {
|
|
|
6820
6825
|
var AgentSessionSnapshotSchema = z3.object({
|
|
6821
6826
|
mode: AgentModeSchema,
|
|
6822
6827
|
modelId: z3.string().trim().min(1),
|
|
6823
|
-
capabilities: AgentSessionCapabilitiesSchema
|
|
6828
|
+
capabilities: AgentSessionCapabilitiesSchema,
|
|
6829
|
+
permissionProfile: AgentSessionPermissionProfileSchema.optional()
|
|
6824
6830
|
}).strict();
|
|
6825
6831
|
var AgentSessionStatusSchema = z3.enum([
|
|
6826
6832
|
"queued",
|
|
@@ -13465,6 +13471,7 @@ export {
|
|
|
13465
13471
|
AgentSessionInheritedContextMessageSchema,
|
|
13466
13472
|
AgentSessionInheritedContextSchema,
|
|
13467
13473
|
AgentSessionLineageSchema,
|
|
13474
|
+
AgentSessionPermissionProfileSchema,
|
|
13468
13475
|
AgentSessionRunEventSchema,
|
|
13469
13476
|
AgentSessionRunSchema,
|
|
13470
13477
|
AgentSessionSnapshotSchema,
|