@inf-monkeys-tech/monkeys 1.0.13 → 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/contracts/tenant.d.ts +30 -30
- package/lib/contracts/tenant.js +8 -8
- package/lib/contracts/tenant.js.map +1 -1
- package/lib/esm/contracts/index.mjs +47 -8
- package/lib/esm/contracts/index.mjs.map +1 -1
- package/lib/esm/index.mjs +142 -8
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +878 -432
- package/lib/esm/runtime/index.mjs.map +1 -1
- package/lib/esm/schemas/index.mjs +31 -8
- package/lib/esm/schemas/index.mjs.map +1 -1
- package/lib/json-schema/tenant-product-config.schema.json +11 -11
- package/lib/json-schema/tenant-runtime-config.schema.json +11 -11
- 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/lib/schemas/index.d.ts +20 -20
- 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),
|
|
@@ -10618,13 +10641,13 @@ var TenantApplicationConfigSchema = z12.object({
|
|
|
10618
10641
|
rememberWorkflowModelSelection: z12.boolean().optional()
|
|
10619
10642
|
}).strict(),
|
|
10620
10643
|
dataManagement: z12.object({
|
|
10621
|
-
|
|
10622
|
-
|
|
10623
|
-
|
|
10624
|
-
|
|
10625
|
-
|
|
10644
|
+
favoriteOntologyId: z12.string().optional(),
|
|
10645
|
+
pairedOntologyId: z12.string().optional(),
|
|
10646
|
+
galleryOntologyId: z12.string().optional(),
|
|
10647
|
+
dataBrowserDefaultOntologyId: z12.string().optional(),
|
|
10648
|
+
workflowResultOntologyId: z12.string().optional(),
|
|
10626
10649
|
homeAdvertisement: z12.object({
|
|
10627
|
-
|
|
10650
|
+
ontologyId: ContractIdentifierSchema,
|
|
10628
10651
|
viewId: ContractIdentifierSchema.optional(),
|
|
10629
10652
|
viewType: z12.enum(["filter", "container", "share_link"]).optional(),
|
|
10630
10653
|
teamId: ContractIdentifierSchema.optional(),
|
|
@@ -10636,7 +10659,7 @@ var TenantApplicationConfigSchema = z12.object({
|
|
|
10636
10659
|
columnIds: z12.record(z12.string(), z12.string()).optional()
|
|
10637
10660
|
}).strict().optional(),
|
|
10638
10661
|
homeTrendAssistant: z12.object({
|
|
10639
|
-
|
|
10662
|
+
ontologyId: ContractIdentifierSchema.optional(),
|
|
10640
10663
|
viewId: ContractIdentifierSchema.optional(),
|
|
10641
10664
|
viewInstanceId: ContractIdentifierSchema.optional(),
|
|
10642
10665
|
viewName: z12.string().optional(),
|
|
@@ -10646,7 +10669,7 @@ var TenantApplicationConfigSchema = z12.object({
|
|
|
10646
10669
|
runtime: z12.object({ appId: ContractIdentifierSchema, tepBaseUrlConfigured: z12.boolean(), tepAuthorizationConfigured: z12.boolean(), tepCookieConfigured: z12.boolean() }).strict().optional()
|
|
10647
10670
|
}).strict().optional(),
|
|
10648
10671
|
sharing: z12.object({
|
|
10649
|
-
silentViewLinks: z12.object({ enabled: z12.boolean().optional(), placement: z12.object({ mode: z12.enum(["
|
|
10672
|
+
silentViewLinks: z12.object({ enabled: z12.boolean().optional(), placement: z12.object({ mode: z12.enum(["sourceOntology", "ontology"]).optional(), ontologyId: ContractIdentifierSchema.optional(), parentId: ContractIdentifierSchema.optional(), navId: ContractIdentifierSchema.optional() }).strict().optional() }).strict().optional(),
|
|
10650
10673
|
shareAccess: z12.object({ publicLinksEnabled: z12.boolean().optional(), passwordGateEnabled: z12.boolean().optional(), passwordAccessTtlSeconds: z12.number().int().positive().optional(), defaultViewTreeDelivery: z12.enum(["manual", "auto"]).optional() }).strict().optional(),
|
|
10651
10674
|
shareDialog: z12.object({
|
|
10652
10675
|
audience: z12.object({ enabled: z12.boolean().optional(), allowed: z12.array(z12.enum(["user", "team", "public"])).optional(), default: z12.enum(["user", "team", "public"]).optional() }).strict().optional(),
|