@inf-monkeys-tech/monkeys 1.0.14 → 1.0.15
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 +115 -0
- package/lib/contracts/agent.d.ts.map +1 -1
- package/lib/contracts/agent.js +39 -1
- package/lib/contracts/agent.js.map +1 -1
- package/lib/esm/contracts/index.mjs +39 -0
- package/lib/esm/contracts/index.mjs.map +1 -1
- package/lib/esm/index.mjs +134 -0
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +876 -430
- package/lib/esm/runtime/index.mjs.map +1 -1
- package/lib/esm/schemas/index.mjs +23 -0
- package/lib/esm/schemas/index.mjs.map +1 -1
- package/lib/runtime/agent-session-projector.d.ts +17 -0
- package/lib/runtime/agent-session-projector.d.ts.map +1 -0
- package/lib/runtime/agent-session-projector.js +85 -0
- package/lib/runtime/agent-session-projector.js.map +1 -0
- package/lib/runtime/index.d.ts +1 -0
- package/lib/runtime/index.d.ts.map +1 -1
- package/lib/runtime/index.js +1 -0
- package/lib/runtime/index.js.map +1 -1
- package/package.json +3 -1
- package/test/fixtures/agent-session-agent.json +134 -0
- package/test/fixtures/agent-session-chatbot.json +73 -0
- package/test/fixtures/agent-session-commands.json +72 -0
- package/test/fixtures/agent-session-kernel.json +131 -0
- package/test/fixtures/tenant-product-config.public.json +179 -0
|
@@ -7163,6 +7163,29 @@ var AgentSessionCapabilitiesSchema = z5.object({
|
|
|
7163
7163
|
terminal: z5.boolean().default(false),
|
|
7164
7164
|
testResults: z5.boolean().default(false)
|
|
7165
7165
|
}).strict();
|
|
7166
|
+
var AGENT_SESSION_RUNTIME_CAPABILITIES = Object.freeze({
|
|
7167
|
+
chatbot: AgentSessionCapabilitiesSchema.parse({ text: true, tools: true, mcp: true, skills: true, approval: true, usage: true }),
|
|
7168
|
+
agent: AgentSessionCapabilitiesSchema.parse({ text: true, tools: true, mcp: true, shell: true, fileChange: true, skills: true, approval: true, artifacts: true, usage: true, resume: true })
|
|
7169
|
+
});
|
|
7170
|
+
var AGENT_SESSION_CAPABILITY_EVIDENCE = Object.freeze({
|
|
7171
|
+
text: { eventTypes: ["message"], commandTypes: [] },
|
|
7172
|
+
reasoning: { eventTypes: ["reasoning"], commandTypes: [] },
|
|
7173
|
+
plan: { eventTypes: ["plan"], commandTypes: [] },
|
|
7174
|
+
tasks: { eventTypes: ["task"], commandTypes: [] },
|
|
7175
|
+
tools: { eventTypes: ["tool"], commandTypes: [] },
|
|
7176
|
+
mcp: { eventTypes: ["tool"], commandTypes: [] },
|
|
7177
|
+
shell: { eventTypes: ["tool", "terminal"], commandTypes: [] },
|
|
7178
|
+
fileChange: { eventTypes: ["tool", "diff", "workspace-file"], commandTypes: [] },
|
|
7179
|
+
skills: { eventTypes: ["tool"], commandTypes: [] },
|
|
7180
|
+
approval: { eventTypes: ["approval"], commandTypes: ["approval"] },
|
|
7181
|
+
artifacts: { eventTypes: ["artifact"], commandTypes: [] },
|
|
7182
|
+
usage: { eventTypes: ["usage"], commandTypes: [] },
|
|
7183
|
+
resume: { eventTypes: ["resume"], commandTypes: ["resume"] },
|
|
7184
|
+
diff: { eventTypes: ["diff"], commandTypes: [] },
|
|
7185
|
+
workspaceFiles: { eventTypes: ["workspace-file"], commandTypes: [] },
|
|
7186
|
+
terminal: { eventTypes: ["terminal"], commandTypes: [] },
|
|
7187
|
+
testResults: { eventTypes: ["test-result"], commandTypes: [] }
|
|
7188
|
+
});
|
|
7166
7189
|
var AgentSessionSnapshotSchema = z5.object({
|
|
7167
7190
|
mode: AgentModeSchema,
|
|
7168
7191
|
modelId: z5.string().trim().min(1),
|