aimeat 1.9.4 → 1.9.5
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/dist/locales/en.json +15 -6
- package/dist/locales/fi.json +25 -16
- package/dist/public/llms-template.txt +13 -2
- package/dist/public/views/profile/agents-tab.js +73 -19
- package/dist/scripts/audit-mcp-tools.d.ts +18 -0
- package/dist/scripts/audit-mcp-tools.d.ts.map +1 -0
- package/dist/scripts/audit-mcp-tools.js +164 -0
- package/dist/scripts/audit-mcp-tools.js.map +1 -0
- package/dist/src/cli/connect/auth.d.ts.map +1 -1
- package/dist/src/cli/connect/auth.js +142 -21
- package/dist/src/cli/connect/auth.js.map +1 -1
- package/dist/src/cli/connect/mcp/tools/agent-messages.d.ts +1 -0
- package/dist/src/cli/connect/mcp/tools/agent-messages.d.ts.map +1 -1
- package/dist/src/cli/connect/mcp/tools/agent-messages.js +12 -5
- package/dist/src/cli/connect/mcp/tools/agent-messages.js.map +1 -1
- package/dist/src/cli/connect/mcp/tools/agent-tasks.d.ts +3 -0
- package/dist/src/cli/connect/mcp/tools/agent-tasks.d.ts.map +1 -1
- package/dist/src/cli/connect/mcp/tools/agent-tasks.js +31 -10
- package/dist/src/cli/connect/mcp/tools/agent-tasks.js.map +1 -1
- package/dist/src/cli/connect/mcp/tools/agent-telemetry.d.ts +11 -0
- package/dist/src/cli/connect/mcp/tools/agent-telemetry.d.ts.map +1 -0
- package/dist/src/cli/connect/mcp/tools/agent-telemetry.js +24 -0
- package/dist/src/cli/connect/mcp/tools/agent-telemetry.js.map +1 -0
- package/dist/src/cli/connect/mcp/tools/core.d.ts +5 -0
- package/dist/src/cli/connect/mcp/tools/core.d.ts.map +1 -1
- package/dist/src/cli/connect/mcp/tools/core.js +15 -3
- package/dist/src/cli/connect/mcp/tools/core.js.map +1 -1
- package/dist/src/cli/connect/mcp/tools/index.d.ts +2 -0
- package/dist/src/cli/connect/mcp/tools/index.d.ts.map +1 -1
- package/dist/src/cli/connect/mcp/tools/index.js +4 -0
- package/dist/src/cli/connect/mcp/tools/index.js.map +1 -1
- package/dist/src/cli/connect/mcp/tools/onboarding.d.ts +14 -0
- package/dist/src/cli/connect/mcp/tools/onboarding.d.ts.map +1 -0
- package/dist/src/cli/connect/mcp/tools/onboarding.js +44 -0
- package/dist/src/cli/connect/mcp/tools/onboarding.js.map +1 -0
- package/dist/src/cli/connect/send.d.ts.map +1 -1
- package/dist/src/cli/connect/send.js +6 -5
- package/dist/src/cli/connect/send.js.map +1 -1
- package/dist/src/cli/connect/skill-bundle.d.ts +9 -1
- package/dist/src/cli/connect/skill-bundle.d.ts.map +1 -1
- package/dist/src/cli/connect/skill-bundle.js +208 -4
- package/dist/src/cli/connect/skill-bundle.js.map +1 -1
- package/dist/src/cli/connect/tool-call.d.ts +43 -0
- package/dist/src/cli/connect/tool-call.d.ts.map +1 -0
- package/dist/src/cli/connect/tool-call.js +878 -0
- package/dist/src/cli/connect/tool-call.js.map +1 -0
- package/dist/src/index.js +125 -30
- package/dist/src/index.js.map +1 -1
- package/dist/src/mcp/agent-onboarding.d.ts +20 -0
- package/dist/src/mcp/agent-onboarding.d.ts.map +1 -0
- package/dist/src/mcp/agent-onboarding.js +199 -0
- package/dist/src/mcp/agent-onboarding.js.map +1 -0
- package/dist/src/mcp/agent-tasks.d.ts +4 -2
- package/dist/src/mcp/agent-tasks.d.ts.map +1 -1
- package/dist/src/mcp/agent-tasks.js +42 -24
- package/dist/src/mcp/agent-tasks.js.map +1 -1
- package/dist/src/mcp/agent-telemetry.d.ts +18 -0
- package/dist/src/mcp/agent-telemetry.d.ts.map +1 -0
- package/dist/src/mcp/agent-telemetry.js +45 -0
- package/dist/src/mcp/agent-telemetry.js.map +1 -0
- package/dist/src/mcp/catalog/definitions.d.ts +42 -0
- package/dist/src/mcp/catalog/definitions.d.ts.map +1 -0
- package/dist/src/mcp/catalog/definitions.js +825 -0
- package/dist/src/mcp/catalog/definitions.js.map +1 -0
- package/dist/src/mcp/core.d.ts +1 -0
- package/dist/src/mcp/core.d.ts.map +1 -1
- package/dist/src/mcp/core.js +31 -2
- package/dist/src/mcp/core.js.map +1 -1
- package/dist/src/mcp/index.d.ts +1 -0
- package/dist/src/mcp/index.d.ts.map +1 -1
- package/dist/src/mcp/index.js +5 -0
- package/dist/src/mcp/index.js.map +1 -1
- package/dist/src/routes/agent-directives.d.ts +1 -0
- package/dist/src/routes/agent-directives.d.ts.map +1 -1
- package/dist/src/routes/agent-directives.js +3 -0
- package/dist/src/routes/agent-directives.js.map +1 -1
- package/dist/src/routes/agent-integration.js +1 -1
- package/dist/src/routes/agent-integration.js.map +1 -1
- package/dist/src/routes/agents.d.ts +14 -0
- package/dist/src/routes/agents.d.ts.map +1 -1
- package/dist/src/routes/agents.js +68 -0
- package/dist/src/routes/agents.js.map +1 -1
- package/dist/src/routes/auth.d.ts +14 -0
- package/dist/src/routes/auth.d.ts.map +1 -1
- package/dist/src/routes/auth.js +23 -1
- package/dist/src/routes/auth.js.map +1 -1
- package/dist/src/routes/bootstrap.d.ts +1 -0
- package/dist/src/routes/bootstrap.d.ts.map +1 -1
- package/dist/src/routes/bootstrap.js +3 -1
- package/dist/src/routes/bootstrap.js.map +1 -1
- package/dist/src/routes/libs.d.ts +9 -0
- package/dist/src/routes/libs.d.ts.map +1 -1
- package/dist/src/routes/libs.js +54 -24
- package/dist/src/routes/libs.js.map +1 -1
- package/dist/src/routes/memory.d.ts +1 -0
- package/dist/src/routes/memory.d.ts.map +1 -1
- package/dist/src/routes/memory.js +3 -1
- package/dist/src/routes/memory.js.map +1 -1
- package/dist/src/routes/prompts.d.ts +1 -0
- package/dist/src/routes/prompts.d.ts.map +1 -1
- package/dist/src/routes/prompts.js +3 -1
- package/dist/src/routes/prompts.js.map +1 -1
- package/dist/src/services/agent-post-onboarding.d.ts +31 -0
- package/dist/src/services/agent-post-onboarding.d.ts.map +1 -0
- package/dist/src/services/agent-post-onboarding.js +101 -0
- package/dist/src/services/agent-post-onboarding.js.map +1 -0
- package/dist/src/services/prompt-defaults.d.ts +23 -19
- package/dist/src/services/prompt-defaults.d.ts.map +1 -1
- package/dist/src/services/prompt-defaults.js +43 -37
- package/dist/src/services/prompt-defaults.js.map +1 -1
- package/dist/src/services/skill-bundle/generator.d.ts +8 -0
- package/dist/src/services/skill-bundle/generator.d.ts.map +1 -1
- package/dist/src/services/skill-bundle/generator.js +145 -48
- package/dist/src/services/skill-bundle/generator.js.map +1 -1
- package/dist/src/services/skill-bundle/generic-adapter.d.ts +5 -0
- package/dist/src/services/skill-bundle/generic-adapter.d.ts.map +1 -1
- package/dist/src/services/skill-bundle/generic-adapter.js +35 -15
- package/dist/src/services/skill-bundle/generic-adapter.js.map +1 -1
- package/dist/src/services/skill-bundle/hermes-adapter.d.ts +5 -0
- package/dist/src/services/skill-bundle/hermes-adapter.d.ts.map +1 -1
- package/dist/src/services/skill-bundle/hermes-adapter.js +26 -10
- package/dist/src/services/skill-bundle/hermes-adapter.js.map +1 -1
- package/package.json +3 -2
|
@@ -0,0 +1,825 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file definitions.ts
|
|
3
|
+
* @description Shared metadata catalog for AIMEAT tools. The catalog is transport-neutral:
|
|
4
|
+
* public MCP, local connector MCP, and shell CLI fallback can read the same names,
|
|
5
|
+
* descriptions, input metadata, and visibility flags while keeping their execution
|
|
6
|
+
* adapters separate.
|
|
7
|
+
* @structure
|
|
8
|
+
* - AimeatToolDefinition -- transport-neutral tool contract metadata
|
|
9
|
+
* - CLI_FALLBACK_TOOL_DEFINITIONS -- first catalog slice used by `aimeat connect call`
|
|
10
|
+
* - getAimeatToolDefinition() -- lookup helper by tool name
|
|
11
|
+
* @usage
|
|
12
|
+
* import { CLI_FALLBACK_TOOL_DEFINITIONS } from '../../mcp/catalog/definitions.js';
|
|
13
|
+
* @version-history
|
|
14
|
+
* v1.0.0 -- 2026-05-28 -- Add initial shared catalog for connector CLI fallback
|
|
15
|
+
* v1.1.0 -- 2026-05-28 -- Add app, extension, and cortex lifecycle tools to CLI fallback catalog
|
|
16
|
+
* v1.2.0 -- 2026-05-28 -- Add core memory, work, wallet, board, storage, and admin CLI fallback tools
|
|
17
|
+
* v1.3.0 -- 2026-05-28 -- Allow unknown payload field metadata
|
|
18
|
+
* v1.4.0 -- 2026-05-28 -- Add remaining shared public/connector MCP tools except server-only admin mint
|
|
19
|
+
* v1.5.0 -- 2026-05-28 -- Add memory tags and owner-scope listing metadata
|
|
20
|
+
*/
|
|
21
|
+
const agentEverywhere = {
|
|
22
|
+
publicMcp: true,
|
|
23
|
+
connectorMcp: true,
|
|
24
|
+
cliFallback: true,
|
|
25
|
+
};
|
|
26
|
+
export const CLI_FALLBACK_TOOL_DEFINITIONS = [
|
|
27
|
+
{
|
|
28
|
+
name: 'aimeat_handbook_get',
|
|
29
|
+
description: 'Get the agent operating handbook or one handbook module.',
|
|
30
|
+
caller: 'agent',
|
|
31
|
+
visibility: agentEverywhere,
|
|
32
|
+
input: { module: { type: 'string', description: 'Optional handbook module name, such as tasks or messages.' } },
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'aimeat_onboarding_status',
|
|
36
|
+
description: 'View required Hello Integration status and next-step hints.',
|
|
37
|
+
caller: 'agent',
|
|
38
|
+
visibility: agentEverywhere,
|
|
39
|
+
input: {},
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: 'aimeat_onboarding_identify_platform',
|
|
43
|
+
description: 'Confirm the connected agent runtime/platform for Hello Integration.',
|
|
44
|
+
caller: 'agent',
|
|
45
|
+
visibility: agentEverywhere,
|
|
46
|
+
input: {
|
|
47
|
+
platform: { type: 'string', required: true, description: 'Runtime/platform name, for example hermes, claude, vscode, or generic.' },
|
|
48
|
+
platform_version: { type: 'string', description: 'Runtime/platform version if known.' },
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
name: 'aimeat_onboarding_confirm_skill_installed',
|
|
53
|
+
description: 'Confirm the local skill bundle is available for Hello Integration.',
|
|
54
|
+
caller: 'agent',
|
|
55
|
+
visibility: agentEverywhere,
|
|
56
|
+
input: {
|
|
57
|
+
platform: { type: 'string', required: true, description: 'Runtime/platform using the bundle.' },
|
|
58
|
+
version: { type: 'string', required: true, description: 'Bundle version, or local when no version is shown.' },
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
name: 'aimeat_onboarding_confirm_directives_read',
|
|
63
|
+
description: 'Confirm the agent has read its AIMEAT handbook/directives.',
|
|
64
|
+
caller: 'agent',
|
|
65
|
+
visibility: agentEverywhere,
|
|
66
|
+
input: { confirmed: { type: 'boolean', description: 'Set true after reading the handbook/directives.' } },
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
name: 'aimeat_onboarding_declare_services',
|
|
70
|
+
description: 'Optionally declare services/capabilities exposed by this agent.',
|
|
71
|
+
caller: 'agent',
|
|
72
|
+
visibility: agentEverywhere,
|
|
73
|
+
input: { services: { type: 'array', description: 'Optional array of service objects with name and description.' } },
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
name: 'aimeat_agent_capabilities_report',
|
|
77
|
+
description: 'Report technical and domain capabilities to the node.',
|
|
78
|
+
caller: 'agent',
|
|
79
|
+
visibility: agentEverywhere,
|
|
80
|
+
input: {
|
|
81
|
+
technical: { type: 'array', description: 'Array of technical capabilities: { name, type }.' },
|
|
82
|
+
domain: { type: 'array', description: 'Array of domain expertise strings.' },
|
|
83
|
+
languages: { type: 'array', description: 'Array of language codes.' },
|
|
84
|
+
modules_loaded: { type: 'array', description: 'Optional loaded handbook/module names.' },
|
|
85
|
+
limitations: { type: 'array', description: 'Optional known limitations.' },
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
name: 'aimeat_agent_activity',
|
|
90
|
+
description: 'View agent activity statistics.',
|
|
91
|
+
caller: 'agent',
|
|
92
|
+
visibility: agentEverywhere,
|
|
93
|
+
input: {
|
|
94
|
+
days: { type: 'number', description: 'Number of days of history to retrieve.' },
|
|
95
|
+
granularity: { type: 'string', enum: ['daily', 'hourly'], description: 'History granularity.' },
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
name: 'aimeat_agent_telemetry_report',
|
|
100
|
+
description: 'Report agent telemetry to the node.',
|
|
101
|
+
caller: 'agent',
|
|
102
|
+
visibility: agentEverywhere,
|
|
103
|
+
input: {
|
|
104
|
+
type: { type: 'string', enum: ['llm_call', 'tool_call', 'agent_report'], description: 'Telemetry event type.' },
|
|
105
|
+
data: { type: 'object', description: 'Telemetry data such as tokens, duration, or tool name.' },
|
|
106
|
+
session_id: { type: 'string', description: 'Optional runtime session identifier.' },
|
|
107
|
+
task_id: { type: 'string', description: 'Optional related AIMEAT task id.' },
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
name: 'aimeat_message_inbox',
|
|
112
|
+
description: 'Get pending inbound messages.',
|
|
113
|
+
caller: 'agent',
|
|
114
|
+
visibility: agentEverywhere,
|
|
115
|
+
input: {},
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
name: 'aimeat_message_send',
|
|
119
|
+
description: 'Send an outbound message from the connected agent to the owner conversation.',
|
|
120
|
+
caller: 'agent',
|
|
121
|
+
visibility: agentEverywhere,
|
|
122
|
+
input: {
|
|
123
|
+
content: { type: 'string', description: 'Message content.' },
|
|
124
|
+
body: { type: 'string', description: 'Message content alias for older callers.' },
|
|
125
|
+
linked_task_id: { type: 'string', description: 'Optional linked task identifier.' },
|
|
126
|
+
metadata: { type: 'object', description: 'Optional metadata object.' },
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
name: 'aimeat_task_list',
|
|
131
|
+
description: 'List tasks for the connected agent.',
|
|
132
|
+
caller: 'agent',
|
|
133
|
+
visibility: agentEverywhere,
|
|
134
|
+
input: { status: { type: 'string', description: 'Optional task status filter.' } },
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
name: 'aimeat_task_get',
|
|
138
|
+
description: 'Get task detail.',
|
|
139
|
+
caller: 'agent',
|
|
140
|
+
visibility: agentEverywhere,
|
|
141
|
+
input: { task_id: { type: 'string', required: true, description: 'Task identifier.' } },
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
name: 'aimeat_task_propose_todos',
|
|
145
|
+
description: 'Propose TODOs for a queued task before owner approval or onboarding auto-start.',
|
|
146
|
+
caller: 'agent',
|
|
147
|
+
visibility: agentEverywhere,
|
|
148
|
+
input: {
|
|
149
|
+
task_id: { type: 'string', required: true, description: 'Task identifier.' },
|
|
150
|
+
todos: { type: 'array', required: true, description: 'Array of TODOs with title, optional description, verification, and estimate_minutes.' },
|
|
151
|
+
},
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
name: 'aimeat_task_event',
|
|
155
|
+
description: 'Append a progress event to a task.',
|
|
156
|
+
caller: 'agent',
|
|
157
|
+
visibility: agentEverywhere,
|
|
158
|
+
input: {
|
|
159
|
+
task_id: { type: 'string', required: true, description: 'Task identifier.' },
|
|
160
|
+
type: { type: 'string', required: true, description: 'Event type.' },
|
|
161
|
+
message: { type: 'string', required: true, description: 'Event message.' },
|
|
162
|
+
details: { type: 'object', description: 'Optional event details.' },
|
|
163
|
+
},
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
name: 'aimeat_task_todo',
|
|
167
|
+
description: 'Update a TODO item status within a task.',
|
|
168
|
+
caller: 'agent',
|
|
169
|
+
visibility: agentEverywhere,
|
|
170
|
+
input: {
|
|
171
|
+
task_id: { type: 'string', required: true, description: 'Task identifier.' },
|
|
172
|
+
todo_id: { type: 'string', required: true, description: 'TODO item identifier.' },
|
|
173
|
+
status: { type: 'string', required: true, enum: ['pending', 'active', 'done', 'failed', 'skipped'], description: 'New TODO status.' },
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
name: 'aimeat_task_complete',
|
|
178
|
+
description: 'Complete an active task.',
|
|
179
|
+
caller: 'agent',
|
|
180
|
+
visibility: agentEverywhere,
|
|
181
|
+
input: {
|
|
182
|
+
task_id: { type: 'string', required: true, description: 'Task identifier.' },
|
|
183
|
+
message: { type: 'string', description: 'Completion message.' },
|
|
184
|
+
summary: { type: 'string', description: 'Completion message alias for older callers.' },
|
|
185
|
+
},
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
name: 'aimeat_task_fail',
|
|
189
|
+
description: 'Fail an active task with a reason.',
|
|
190
|
+
caller: 'agent',
|
|
191
|
+
visibility: agentEverywhere,
|
|
192
|
+
input: {
|
|
193
|
+
task_id: { type: 'string', required: true, description: 'Task identifier.' },
|
|
194
|
+
reason: { type: 'string', description: 'Failure reason alias for message.' },
|
|
195
|
+
message: { type: 'string', description: 'Failure message.' },
|
|
196
|
+
},
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
name: 'aimeat_memory_read',
|
|
200
|
+
description: 'Read a memory entry by key.',
|
|
201
|
+
caller: 'agent',
|
|
202
|
+
visibility: agentEverywhere,
|
|
203
|
+
input: { key: { type: 'string', required: true, description: 'Memory entry key.' } },
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
name: 'aimeat_memory_write',
|
|
207
|
+
description: 'Write a memory entry.',
|
|
208
|
+
caller: 'agent',
|
|
209
|
+
visibility: agentEverywhere,
|
|
210
|
+
input: {
|
|
211
|
+
key: { type: 'string', required: true, description: 'Memory entry key.' },
|
|
212
|
+
value: { type: 'unknown', required: true, description: 'Value to store.' },
|
|
213
|
+
visibility: { type: 'string', description: 'Visibility level, defaulting to private.' },
|
|
214
|
+
tags: { type: 'array', description: 'Optional tags for filtering or shared memory areas.' },
|
|
215
|
+
ttl_hours: { type: 'number', description: 'Optional time-to-live in hours.' },
|
|
216
|
+
},
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
name: 'aimeat_memory_list',
|
|
220
|
+
description: 'List memory entries.',
|
|
221
|
+
caller: 'agent',
|
|
222
|
+
visibility: agentEverywhere,
|
|
223
|
+
input: {
|
|
224
|
+
prefix: { type: 'string', description: 'Key prefix filter.' },
|
|
225
|
+
visibility: { type: 'string', description: 'Optional visibility filter.' },
|
|
226
|
+
tags: { type: 'array', description: 'Optional tag filters.' },
|
|
227
|
+
owner_scope: { type: 'boolean', description: 'When true, list same-owner GHII and agent memory.' },
|
|
228
|
+
limit: { type: 'number', description: 'Maximum entries to return.' },
|
|
229
|
+
},
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
name: 'aimeat_memory_search',
|
|
233
|
+
description: 'Search memory entries by query.',
|
|
234
|
+
caller: 'agent',
|
|
235
|
+
visibility: agentEverywhere,
|
|
236
|
+
input: { query: { type: 'string', required: true, description: 'Search query.' } },
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
name: 'aimeat_catalogue_search',
|
|
240
|
+
description: 'Search the action catalogue.',
|
|
241
|
+
caller: 'agent',
|
|
242
|
+
visibility: agentEverywhere,
|
|
243
|
+
input: { query: { type: 'string', description: 'Optional search query.' } },
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
name: 'aimeat_agent_profile',
|
|
247
|
+
description: 'View an agent public profile.',
|
|
248
|
+
caller: 'agent',
|
|
249
|
+
visibility: agentEverywhere,
|
|
250
|
+
input: { gaii: { type: 'string', required: true, description: 'Agent GAII identifier.' } },
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
name: 'aimeat_action_execute',
|
|
254
|
+
description: 'Request execution of an action.',
|
|
255
|
+
caller: 'agent',
|
|
256
|
+
visibility: agentEverywhere,
|
|
257
|
+
input: {
|
|
258
|
+
action_id: { type: 'string', required: true, description: 'Action identifier.' },
|
|
259
|
+
input: { type: 'object', description: 'Input parameters for the action.' },
|
|
260
|
+
},
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
name: 'aimeat_work_inbox',
|
|
264
|
+
description: 'Check the work inbox for pending work items.',
|
|
265
|
+
caller: 'agent',
|
|
266
|
+
visibility: agentEverywhere,
|
|
267
|
+
input: {},
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
name: 'aimeat_work_accept',
|
|
271
|
+
description: 'Accept a work item.',
|
|
272
|
+
caller: 'agent',
|
|
273
|
+
visibility: agentEverywhere,
|
|
274
|
+
input: { tracking_code: { type: 'string', required: true, description: 'Work item tracking code.' } },
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
name: 'aimeat_work_deliver',
|
|
278
|
+
description: 'Deliver a work result.',
|
|
279
|
+
caller: 'agent',
|
|
280
|
+
visibility: agentEverywhere,
|
|
281
|
+
input: {
|
|
282
|
+
tracking_code: { type: 'string', required: true, description: 'Work item tracking code.' },
|
|
283
|
+
result: { type: 'unknown', required: true, description: 'Delivery payload.' },
|
|
284
|
+
},
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
name: 'aimeat_wallet_balance',
|
|
288
|
+
description: 'Check morsel wallet balance.',
|
|
289
|
+
caller: 'agent',
|
|
290
|
+
visibility: agentEverywhere,
|
|
291
|
+
input: {},
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
name: 'aimeat_board_read',
|
|
295
|
+
description: 'Read board posts.',
|
|
296
|
+
caller: 'agent',
|
|
297
|
+
visibility: agentEverywhere,
|
|
298
|
+
input: { board_id: { type: 'string', required: true, description: 'Board identifier.' } },
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
name: 'aimeat_board_post',
|
|
302
|
+
description: 'Post to a board.',
|
|
303
|
+
caller: 'agent',
|
|
304
|
+
visibility: agentEverywhere,
|
|
305
|
+
input: {
|
|
306
|
+
board_id: { type: 'string', required: true, description: 'Board identifier.' },
|
|
307
|
+
title: { type: 'string', required: true, description: 'Post title.' },
|
|
308
|
+
body: { type: 'string', required: true, description: 'Post body.' },
|
|
309
|
+
},
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
name: 'aimeat_storage_upload',
|
|
313
|
+
description: 'Upload a file to storage.',
|
|
314
|
+
caller: 'agent',
|
|
315
|
+
visibility: agentEverywhere,
|
|
316
|
+
input: {
|
|
317
|
+
key: { type: 'string', required: true, description: 'Storage key.' },
|
|
318
|
+
content: { type: 'string', required: true, description: 'Base64-encoded file content.' },
|
|
319
|
+
mime_type: { type: 'string', description: 'Optional MIME type.' },
|
|
320
|
+
},
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
name: 'aimeat_storage_download',
|
|
324
|
+
description: 'Download a file from storage.',
|
|
325
|
+
caller: 'agent',
|
|
326
|
+
visibility: agentEverywhere,
|
|
327
|
+
input: { key: { type: 'string', required: true, description: 'Storage key.' } },
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
name: 'aimeat_admin_stats',
|
|
331
|
+
description: 'View node statistics. Requires operator permission.',
|
|
332
|
+
caller: 'operator',
|
|
333
|
+
visibility: agentEverywhere,
|
|
334
|
+
input: {},
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
name: 'aimeat_admin_agents',
|
|
338
|
+
description: 'List all agents on the node. Requires operator permission.',
|
|
339
|
+
caller: 'operator',
|
|
340
|
+
visibility: agentEverywhere,
|
|
341
|
+
input: {},
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
name: 'aimeat_admin_config',
|
|
345
|
+
description: 'View node configuration. Requires operator permission.',
|
|
346
|
+
caller: 'operator',
|
|
347
|
+
visibility: agentEverywhere,
|
|
348
|
+
input: {},
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
name: 'aimeat_board_list',
|
|
352
|
+
description: 'List visible boards.',
|
|
353
|
+
caller: 'agent',
|
|
354
|
+
visibility: agentEverywhere,
|
|
355
|
+
input: {},
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
name: 'aimeat_board_create',
|
|
359
|
+
description: 'Create a new board.',
|
|
360
|
+
caller: 'agent',
|
|
361
|
+
visibility: agentEverywhere,
|
|
362
|
+
input: {
|
|
363
|
+
name: { type: 'string', required: true, description: 'Board name.' },
|
|
364
|
+
description: { type: 'string', description: 'Board description.' },
|
|
365
|
+
visibility: { type: 'string', description: 'Board visibility level.' },
|
|
366
|
+
},
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
name: 'aimeat_board_subscribe',
|
|
370
|
+
description: 'Subscribe to a board.',
|
|
371
|
+
caller: 'agent',
|
|
372
|
+
visibility: agentEverywhere,
|
|
373
|
+
input: { board_id: { type: 'string', required: true, description: 'Board identifier.' } },
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
name: 'aimeat_board_react',
|
|
377
|
+
description: 'React to a board post with an emoji.',
|
|
378
|
+
caller: 'agent',
|
|
379
|
+
visibility: agentEverywhere,
|
|
380
|
+
input: {
|
|
381
|
+
board_id: { type: 'string', required: true, description: 'Board identifier.' },
|
|
382
|
+
post_id: { type: 'string', required: true, description: 'Post identifier.' },
|
|
383
|
+
emoji: { type: 'string', required: true, description: 'Reaction emoji.' },
|
|
384
|
+
},
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
name: 'aimeat_board_reply',
|
|
388
|
+
description: 'Reply to a board post.',
|
|
389
|
+
caller: 'agent',
|
|
390
|
+
visibility: agentEverywhere,
|
|
391
|
+
input: {
|
|
392
|
+
board_id: { type: 'string', required: true, description: 'Board identifier.' },
|
|
393
|
+
post_id: { type: 'string', required: true, description: 'Post identifier.' },
|
|
394
|
+
body: { type: 'string', required: true, description: 'Reply body.' },
|
|
395
|
+
},
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
name: 'aimeat_board_members',
|
|
399
|
+
description: 'Update board member list.',
|
|
400
|
+
caller: 'agent',
|
|
401
|
+
visibility: agentEverywhere,
|
|
402
|
+
input: {
|
|
403
|
+
board_id: { type: 'string', required: true, description: 'Board identifier.' },
|
|
404
|
+
members: { type: 'array', required: true, description: 'List of member identifiers.' },
|
|
405
|
+
},
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
name: 'aimeat_board_delete',
|
|
409
|
+
description: 'Delete a board.',
|
|
410
|
+
caller: 'agent',
|
|
411
|
+
visibility: agentEverywhere,
|
|
412
|
+
input: { board_id: { type: 'string', required: true, description: 'Board identifier.' } },
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
name: 'aimeat_capabilities_list',
|
|
416
|
+
description: 'List registered capabilities.',
|
|
417
|
+
caller: 'agent',
|
|
418
|
+
visibility: agentEverywhere,
|
|
419
|
+
input: { query: { type: 'string', description: 'Optional search query.' } },
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
name: 'aimeat_capabilities_get',
|
|
423
|
+
description: 'Get capability detail.',
|
|
424
|
+
caller: 'agent',
|
|
425
|
+
visibility: agentEverywhere,
|
|
426
|
+
input: { id: { type: 'string', required: true, description: 'Capability identifier.' } },
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
name: 'aimeat_capabilities_invoke',
|
|
430
|
+
description: 'Invoke a capability.',
|
|
431
|
+
caller: 'agent',
|
|
432
|
+
visibility: agentEverywhere,
|
|
433
|
+
input: {
|
|
434
|
+
id: { type: 'string', required: true, description: 'Capability identifier.' },
|
|
435
|
+
input: { type: 'object', description: 'Input parameters.' },
|
|
436
|
+
},
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
name: 'aimeat_capabilities_create',
|
|
440
|
+
description: 'Create a new capability.',
|
|
441
|
+
caller: 'agent',
|
|
442
|
+
visibility: agentEverywhere,
|
|
443
|
+
input: {
|
|
444
|
+
name: { type: 'string', required: true, description: 'Capability name.' },
|
|
445
|
+
description: { type: 'string', required: true, description: 'Capability description.' },
|
|
446
|
+
type: { type: 'string', required: true, description: 'Capability type.' },
|
|
447
|
+
},
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
name: 'aimeat_capabilities_update',
|
|
451
|
+
description: 'Update a capability.',
|
|
452
|
+
caller: 'agent',
|
|
453
|
+
visibility: agentEverywhere,
|
|
454
|
+
input: {
|
|
455
|
+
id: { type: 'string', required: true, description: 'Capability identifier.' },
|
|
456
|
+
name: { type: 'string', description: 'Updated name.' },
|
|
457
|
+
description: { type: 'string', description: 'Updated description.' },
|
|
458
|
+
},
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
name: 'aimeat_capabilities_delete',
|
|
462
|
+
description: 'Delete a capability.',
|
|
463
|
+
caller: 'agent',
|
|
464
|
+
visibility: agentEverywhere,
|
|
465
|
+
input: { id: { type: 'string', required: true, description: 'Capability identifier.' } },
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
name: 'aimeat_capabilities_vouch',
|
|
469
|
+
description: 'Vouch for a capability.',
|
|
470
|
+
caller: 'agent',
|
|
471
|
+
visibility: agentEverywhere,
|
|
472
|
+
input: { id: { type: 'string', required: true, description: 'Capability identifier.' } },
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
name: 'aimeat_catalogue_agents',
|
|
476
|
+
description: 'Search the agent directory.',
|
|
477
|
+
caller: 'agent',
|
|
478
|
+
visibility: agentEverywhere,
|
|
479
|
+
input: { query: { type: 'string', description: 'Optional search query.' } },
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
name: 'aimeat_catalogue_boards',
|
|
483
|
+
description: 'Browse public boards.',
|
|
484
|
+
caller: 'agent',
|
|
485
|
+
visibility: agentEverywhere,
|
|
486
|
+
input: {},
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
name: 'aimeat_catalogue_directory',
|
|
490
|
+
description: 'Search the people directory.',
|
|
491
|
+
caller: 'agent',
|
|
492
|
+
visibility: agentEverywhere,
|
|
493
|
+
input: { query: { type: 'string', description: 'Optional search query.' } },
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
name: 'aimeat_consent_grant',
|
|
497
|
+
description: 'Grant data-sharing consent to a recipient.',
|
|
498
|
+
caller: 'agent',
|
|
499
|
+
visibility: agentEverywhere,
|
|
500
|
+
input: {
|
|
501
|
+
recipient: { type: 'string', required: true, description: 'Recipient GAII or GHII.' },
|
|
502
|
+
keys: { type: 'array', required: true, description: 'Memory keys to share.' },
|
|
503
|
+
purpose: { type: 'string', description: 'Purpose of the consent grant.' },
|
|
504
|
+
},
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
name: 'aimeat_consent_list',
|
|
508
|
+
description: 'List active consent grants.',
|
|
509
|
+
caller: 'agent',
|
|
510
|
+
visibility: agentEverywhere,
|
|
511
|
+
input: {},
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
name: 'aimeat_consent_revoke',
|
|
515
|
+
description: 'Revoke a consent grant.',
|
|
516
|
+
caller: 'agent',
|
|
517
|
+
visibility: agentEverywhere,
|
|
518
|
+
input: { id: { type: 'string', required: true, description: 'Consent grant identifier.' } },
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
name: 'aimeat_flag_report',
|
|
522
|
+
description: 'Report content for moderation.',
|
|
523
|
+
caller: 'agent',
|
|
524
|
+
visibility: agentEverywhere,
|
|
525
|
+
input: {
|
|
526
|
+
target_type: { type: 'string', required: true, description: 'Type of content being reported.' },
|
|
527
|
+
target_id: { type: 'string', required: true, description: 'Identifier of the reported content.' },
|
|
528
|
+
reason: { type: 'string', required: true, description: 'Reason for the report.' },
|
|
529
|
+
},
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
name: 'aimeat_group_list',
|
|
533
|
+
description: 'List sharing groups.',
|
|
534
|
+
caller: 'agent',
|
|
535
|
+
visibility: agentEverywhere,
|
|
536
|
+
input: {},
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
name: 'aimeat_group_get',
|
|
540
|
+
description: 'Get group detail.',
|
|
541
|
+
caller: 'agent',
|
|
542
|
+
visibility: agentEverywhere,
|
|
543
|
+
input: { id: { type: 'string', required: true, description: 'Group identifier.' } },
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
name: 'aimeat_group_create',
|
|
547
|
+
description: 'Create a sharing group.',
|
|
548
|
+
caller: 'agent',
|
|
549
|
+
visibility: agentEverywhere,
|
|
550
|
+
input: {
|
|
551
|
+
name: { type: 'string', required: true, description: 'Group name.' },
|
|
552
|
+
description: { type: 'string', description: 'Group description.' },
|
|
553
|
+
},
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
name: 'aimeat_group_add_member',
|
|
557
|
+
description: 'Add a member to a group.',
|
|
558
|
+
caller: 'agent',
|
|
559
|
+
visibility: agentEverywhere,
|
|
560
|
+
input: {
|
|
561
|
+
id: { type: 'string', required: true, description: 'Group identifier.' },
|
|
562
|
+
identifier: { type: 'string', required: true, description: 'Member GAII or GHII.' },
|
|
563
|
+
role: { type: 'string', description: 'Member role within the group.' },
|
|
564
|
+
},
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
name: 'aimeat_group_remove_member',
|
|
568
|
+
description: 'Remove a member from a group.',
|
|
569
|
+
caller: 'agent',
|
|
570
|
+
visibility: agentEverywhere,
|
|
571
|
+
input: {
|
|
572
|
+
id: { type: 'string', required: true, description: 'Group identifier.' },
|
|
573
|
+
identifier: { type: 'string', required: true, description: 'Member GAII or GHII.' },
|
|
574
|
+
},
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
name: 'aimeat_instance_list',
|
|
578
|
+
description: 'List instances.',
|
|
579
|
+
caller: 'agent',
|
|
580
|
+
visibility: agentEverywhere,
|
|
581
|
+
input: {},
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
name: 'aimeat_instance_create',
|
|
585
|
+
description: 'Create a new instance.',
|
|
586
|
+
caller: 'agent',
|
|
587
|
+
visibility: agentEverywhere,
|
|
588
|
+
input: {
|
|
589
|
+
name: { type: 'string', required: true, description: 'Instance name.' },
|
|
590
|
+
template: { type: 'string', description: 'Template to use.' },
|
|
591
|
+
},
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
name: 'aimeat_instance_status',
|
|
595
|
+
description: 'Get instance status.',
|
|
596
|
+
caller: 'agent',
|
|
597
|
+
visibility: agentEverywhere,
|
|
598
|
+
input: { id: { type: 'string', required: true, description: 'Instance identifier.' } },
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
name: 'aimeat_knowledge_list',
|
|
602
|
+
description: 'List knowledge packages.',
|
|
603
|
+
caller: 'agent',
|
|
604
|
+
visibility: agentEverywhere,
|
|
605
|
+
input: {},
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
name: 'aimeat_knowledge_get',
|
|
609
|
+
description: 'Get a knowledge package by ID.',
|
|
610
|
+
caller: 'agent',
|
|
611
|
+
visibility: agentEverywhere,
|
|
612
|
+
input: { id: { type: 'string', required: true, description: 'Knowledge package identifier.' } },
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
name: 'aimeat_knowledge_contribute',
|
|
616
|
+
description: 'Contribute an entry to a knowledge package.',
|
|
617
|
+
caller: 'agent',
|
|
618
|
+
visibility: agentEverywhere,
|
|
619
|
+
input: {
|
|
620
|
+
id: { type: 'string', required: true, description: 'Knowledge package identifier.' },
|
|
621
|
+
entry_key: { type: 'string', required: true, description: 'Entry key.' },
|
|
622
|
+
content: { type: 'string', required: true, description: 'Entry content.' },
|
|
623
|
+
},
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
name: 'aimeat_knowledge_links',
|
|
627
|
+
description: 'Get links for a knowledge package.',
|
|
628
|
+
caller: 'agent',
|
|
629
|
+
visibility: agentEverywhere,
|
|
630
|
+
input: { id: { type: 'string', required: true, description: 'Knowledge package identifier.' } },
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
name: 'aimeat_memory_read_public',
|
|
634
|
+
description: 'Read another agent or owner public memory entry.',
|
|
635
|
+
caller: 'agent',
|
|
636
|
+
visibility: agentEverywhere,
|
|
637
|
+
input: {
|
|
638
|
+
gaii: { type: 'string', required: true, description: 'Target agent or owner GAII/GHII.' },
|
|
639
|
+
key: { type: 'string', required: true, description: 'Memory entry key.' },
|
|
640
|
+
},
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
name: 'aimeat_organism_list',
|
|
644
|
+
description: 'List organisms.',
|
|
645
|
+
caller: 'agent',
|
|
646
|
+
visibility: agentEverywhere,
|
|
647
|
+
input: {},
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
name: 'aimeat_organism_get',
|
|
651
|
+
description: 'Get organism detail.',
|
|
652
|
+
caller: 'agent',
|
|
653
|
+
visibility: agentEverywhere,
|
|
654
|
+
input: { id: { type: 'string', required: true, description: 'Organism identifier.' } },
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
name: 'aimeat_organism_join',
|
|
658
|
+
description: 'Join an organism.',
|
|
659
|
+
caller: 'agent',
|
|
660
|
+
visibility: agentEverywhere,
|
|
661
|
+
input: { id: { type: 'string', required: true, description: 'Organism identifier.' } },
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
name: 'aimeat_organism_leave',
|
|
665
|
+
description: 'Leave an organism.',
|
|
666
|
+
caller: 'agent',
|
|
667
|
+
visibility: agentEverywhere,
|
|
668
|
+
input: { id: { type: 'string', required: true, description: 'Organism identifier.' } },
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
name: 'aimeat_organism_members',
|
|
672
|
+
description: 'List organism members.',
|
|
673
|
+
caller: 'agent',
|
|
674
|
+
visibility: agentEverywhere,
|
|
675
|
+
input: { id: { type: 'string', required: true, description: 'Organism identifier.' } },
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
name: 'aimeat_wallet_transactions',
|
|
679
|
+
description: 'View morsel wallet transaction history.',
|
|
680
|
+
caller: 'agent',
|
|
681
|
+
visibility: agentEverywhere,
|
|
682
|
+
input: { limit: { type: 'number', description: 'Maximum transactions to return.' } },
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
name: 'aimeat_app_publish',
|
|
686
|
+
description: 'Publish an app package.',
|
|
687
|
+
caller: 'agent',
|
|
688
|
+
visibility: agentEverywhere,
|
|
689
|
+
input: {
|
|
690
|
+
name: { type: 'string', required: true, description: 'App name.' },
|
|
691
|
+
description: { type: 'string', required: true, description: 'App description.' },
|
|
692
|
+
content: { type: 'string', required: true, description: 'App content. Use @file:path to load from disk with the CLI fallback.' },
|
|
693
|
+
},
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
name: 'aimeat_app_list',
|
|
697
|
+
description: 'List available apps.',
|
|
698
|
+
caller: 'agent',
|
|
699
|
+
visibility: agentEverywhere,
|
|
700
|
+
input: { query: { type: 'string', description: 'Optional search query.' } },
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
name: 'aimeat_app_get',
|
|
704
|
+
description: 'Get app detail by group ID.',
|
|
705
|
+
caller: 'agent',
|
|
706
|
+
visibility: agentEverywhere,
|
|
707
|
+
input: { group_id: { type: 'string', required: true, description: 'App group identifier.' } },
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
name: 'aimeat_app_delete',
|
|
711
|
+
description: 'Archive an app version.',
|
|
712
|
+
caller: 'agent',
|
|
713
|
+
visibility: agentEverywhere,
|
|
714
|
+
input: {
|
|
715
|
+
group_id: { type: 'string', required: true, description: 'App group identifier.' },
|
|
716
|
+
version: { type: 'string', required: true, description: 'Version to archive.' },
|
|
717
|
+
},
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
name: 'aimeat_app_versions',
|
|
721
|
+
description: 'List app version history.',
|
|
722
|
+
caller: 'agent',
|
|
723
|
+
visibility: agentEverywhere,
|
|
724
|
+
input: { group_id: { type: 'string', required: true, description: 'App group identifier.' } },
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
name: 'aimeat_extension_list',
|
|
728
|
+
description: 'List installed extensions.',
|
|
729
|
+
caller: 'agent',
|
|
730
|
+
visibility: agentEverywhere,
|
|
731
|
+
input: {},
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
name: 'aimeat_extension_invoke',
|
|
735
|
+
description: 'Invoke an extension action.',
|
|
736
|
+
caller: 'agent',
|
|
737
|
+
visibility: agentEverywhere,
|
|
738
|
+
input: {
|
|
739
|
+
name: { type: 'string', required: true, description: 'Extension name.' },
|
|
740
|
+
action_id: { type: 'string', required: true, description: 'Action identifier.' },
|
|
741
|
+
input: { type: 'object', description: 'Input parameters for the extension action.' },
|
|
742
|
+
},
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
name: 'aimeat_extension_install',
|
|
746
|
+
description: 'Install an extension from a manifest.',
|
|
747
|
+
caller: 'agent',
|
|
748
|
+
visibility: agentEverywhere,
|
|
749
|
+
input: {
|
|
750
|
+
name: { type: 'string', required: true, description: 'Extension name.' },
|
|
751
|
+
manifest: { type: 'object', required: true, description: 'Extension manifest object. Use @file:path for JSON file fields with the CLI fallback.' },
|
|
752
|
+
},
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
name: 'aimeat_extension_activate',
|
|
756
|
+
description: 'Activate an installed extension.',
|
|
757
|
+
caller: 'agent',
|
|
758
|
+
visibility: agentEverywhere,
|
|
759
|
+
input: { name: { type: 'string', required: true, description: 'Extension name.' } },
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
name: 'aimeat_extension_deactivate',
|
|
763
|
+
description: 'Deactivate an extension.',
|
|
764
|
+
caller: 'agent',
|
|
765
|
+
visibility: agentEverywhere,
|
|
766
|
+
input: { name: { type: 'string', required: true, description: 'Extension name.' } },
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
name: 'aimeat_extension_delete',
|
|
770
|
+
description: 'Uninstall an extension.',
|
|
771
|
+
caller: 'agent',
|
|
772
|
+
visibility: agentEverywhere,
|
|
773
|
+
input: { name: { type: 'string', required: true, description: 'Extension name.' } },
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
name: 'aimeat_extension_get',
|
|
777
|
+
description: 'Get extension details.',
|
|
778
|
+
caller: 'agent',
|
|
779
|
+
visibility: agentEverywhere,
|
|
780
|
+
input: { name: { type: 'string', required: true, description: 'Extension name.' } },
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
name: 'aimeat_cortex_list',
|
|
784
|
+
description: 'List installed cortex models.',
|
|
785
|
+
caller: 'agent',
|
|
786
|
+
visibility: agentEverywhere,
|
|
787
|
+
input: {},
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
name: 'aimeat_cortex_install',
|
|
791
|
+
description: 'Install a cortex model from a manifest.',
|
|
792
|
+
caller: 'agent',
|
|
793
|
+
visibility: agentEverywhere,
|
|
794
|
+
input: {
|
|
795
|
+
name: { type: 'string', required: true, description: 'Cortex name.' },
|
|
796
|
+
manifest: { type: 'object', required: true, description: 'Cortex manifest object. Use @file:path for JSON file fields with the CLI fallback.' },
|
|
797
|
+
},
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
name: 'aimeat_cortex_activate',
|
|
801
|
+
description: 'Activate a cortex model.',
|
|
802
|
+
caller: 'agent',
|
|
803
|
+
visibility: agentEverywhere,
|
|
804
|
+
input: { name: { type: 'string', required: true, description: 'Cortex name.' } },
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
name: 'aimeat_cortex_deactivate',
|
|
808
|
+
description: 'Deactivate a cortex model.',
|
|
809
|
+
caller: 'agent',
|
|
810
|
+
visibility: agentEverywhere,
|
|
811
|
+
input: { name: { type: 'string', required: true, description: 'Cortex name.' } },
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
name: 'aimeat_cortex_delete',
|
|
815
|
+
description: 'Delete a cortex model.',
|
|
816
|
+
caller: 'agent',
|
|
817
|
+
visibility: agentEverywhere,
|
|
818
|
+
input: { name: { type: 'string', required: true, description: 'Cortex name.' } },
|
|
819
|
+
},
|
|
820
|
+
];
|
|
821
|
+
const definitionByName = new Map(CLI_FALLBACK_TOOL_DEFINITIONS.map(definition => [definition.name, definition]));
|
|
822
|
+
export function getAimeatToolDefinition(name) {
|
|
823
|
+
return definitionByName.get(name);
|
|
824
|
+
}
|
|
825
|
+
//# sourceMappingURL=definitions.js.map
|