@accomplish_ai/agent-core 0.2.0 → 0.2.2
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/README.md +141 -0
- package/dist/common/constants.d.ts +1 -1
- package/dist/common/constants.d.ts.map +1 -1
- package/dist/common/constants.js +1 -1
- package/dist/common/constants.js.map +1 -1
- package/dist/common/types/index.d.ts +14 -10
- package/dist/common/types/index.d.ts.map +1 -1
- package/dist/common/types/index.js +4 -10
- package/dist/common/types/index.js.map +1 -1
- package/dist/common/utils/index.d.ts +3 -3
- package/dist/common/utils/index.d.ts.map +1 -1
- package/dist/common/utils/index.js +3 -3
- package/dist/common/utils/index.js.map +1 -1
- package/dist/factories/speech.d.ts.map +1 -1
- package/dist/factories/speech.js.map +1 -1
- package/dist/index.d.ts +1 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -20
- package/dist/index.js.map +1 -1
- package/dist/internal/classes/SecureStorage.d.ts.map +1 -1
- package/dist/internal/classes/SecureStorage.js +3 -0
- package/dist/internal/classes/SecureStorage.js.map +1 -1
- package/dist/internal/classes/TaskManager.d.ts +3 -2
- package/dist/internal/classes/TaskManager.d.ts.map +1 -1
- package/dist/internal/classes/TaskManager.js +34 -1
- package/dist/internal/classes/TaskManager.js.map +1 -1
- package/dist/storage/index.d.ts +4 -1
- package/dist/storage/index.d.ts.map +1 -1
- package/dist/storage/index.js +4 -1
- package/dist/storage/index.js.map +1 -1
- package/dist/types/log-writer.d.ts +2 -15
- package/dist/types/log-writer.d.ts.map +1 -1
- package/dist/types/skills-manager.d.ts +13 -0
- package/dist/types/skills-manager.d.ts.map +1 -1
- package/dist/types/speech.d.ts +3 -2
- package/dist/types/speech.d.ts.map +1 -1
- package/dist/types/storage.d.ts +70 -0
- package/dist/types/storage.d.ts.map +1 -1
- package/dist/types/task-manager.d.ts +13 -3
- package/dist/types/task-manager.d.ts.map +1 -1
- package/dist/types.d.ts +0 -17
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/index.d.ts +16 -13
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +13 -13
- package/dist/utils/index.js.map +1 -1
- package/mcp-tools/dev-browser/server.cjs +144 -0
- package/package.json +16 -3
- package/mcp-tools/ask-user-question/src/index.ts +0 -183
- package/mcp-tools/ask-user-question/tsconfig.json +0 -12
- package/mcp-tools/complete-task/src/index.ts +0 -92
- package/mcp-tools/dev-browser/src/index.ts +0 -290
- package/mcp-tools/dev-browser/src/relay.ts +0 -652
- package/mcp-tools/dev-browser/src/types.ts +0 -31
- package/mcp-tools/dev-browser/tsconfig.json +0 -36
- package/mcp-tools/dev-browser-mcp/src/index.ts +0 -3940
- package/mcp-tools/dev-browser-mcp/src/snapshot/compactor.test.ts +0 -86
- package/mcp-tools/dev-browser-mcp/src/snapshot/compactor.ts +0 -31
- package/mcp-tools/dev-browser-mcp/src/snapshot/differ.test.ts +0 -178
- package/mcp-tools/dev-browser-mcp/src/snapshot/differ.ts +0 -167
- package/mcp-tools/dev-browser-mcp/src/snapshot/index.ts +0 -19
- package/mcp-tools/dev-browser-mcp/src/snapshot/manager.test.ts +0 -247
- package/mcp-tools/dev-browser-mcp/src/snapshot/manager.ts +0 -131
- package/mcp-tools/dev-browser-mcp/src/snapshot/parser.test.ts +0 -94
- package/mcp-tools/dev-browser-mcp/src/snapshot/parser.ts +0 -81
- package/mcp-tools/dev-browser-mcp/src/snapshot/priority.test.ts +0 -104
- package/mcp-tools/dev-browser-mcp/src/snapshot/priority.ts +0 -84
- package/mcp-tools/dev-browser-mcp/src/snapshot/tokens.test.ts +0 -64
- package/mcp-tools/dev-browser-mcp/src/snapshot/tokens.ts +0 -36
- package/mcp-tools/dev-browser-mcp/src/snapshot/types.ts +0 -89
- package/mcp-tools/dev-browser-mcp/tsconfig.json +0 -15
- package/mcp-tools/file-permission/src/index.ts +0 -125
- package/mcp-tools/file-permission/tsconfig.json +0 -17
- package/mcp-tools/report-checkpoint/src/index.ts +0 -127
- package/mcp-tools/report-checkpoint/tsconfig.json +0 -12
- package/mcp-tools/report-thought/src/index.ts +0 -109
- package/mcp-tools/report-thought/tsconfig.json +0 -12
- package/mcp-tools/start-task/src/index.ts +0 -86
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
|
|
3
|
-
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
|
4
|
-
import {
|
|
5
|
-
CallToolRequestSchema,
|
|
6
|
-
ListToolsRequestSchema,
|
|
7
|
-
} from '@modelcontextprotocol/sdk/types.js';
|
|
8
|
-
|
|
9
|
-
const server = new Server(
|
|
10
|
-
{ name: 'start-task', version: '1.0.0' },
|
|
11
|
-
{ capabilities: { tools: {} } }
|
|
12
|
-
);
|
|
13
|
-
|
|
14
|
-
server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
15
|
-
tools: [
|
|
16
|
-
{
|
|
17
|
-
name: 'start_task',
|
|
18
|
-
description:
|
|
19
|
-
'Call this tool FIRST before executing any task. Captures your plan. Other tools will fail until this is called.',
|
|
20
|
-
inputSchema: {
|
|
21
|
-
type: 'object',
|
|
22
|
-
required: ['original_request', 'goal', 'steps', 'verification', 'skills'],
|
|
23
|
-
properties: {
|
|
24
|
-
original_request: {
|
|
25
|
-
type: 'string',
|
|
26
|
-
description: 'Echo the user\'s original request exactly as stated',
|
|
27
|
-
},
|
|
28
|
-
goal: {
|
|
29
|
-
type: 'string',
|
|
30
|
-
description: 'What you aim to accomplish for the user',
|
|
31
|
-
},
|
|
32
|
-
steps: {
|
|
33
|
-
type: 'array',
|
|
34
|
-
items: { type: 'string' },
|
|
35
|
-
description: 'Planned actions to achieve the goal, in order',
|
|
36
|
-
},
|
|
37
|
-
verification: {
|
|
38
|
-
type: 'array',
|
|
39
|
-
items: { type: 'string' },
|
|
40
|
-
description: 'How you will verify the task is complete',
|
|
41
|
-
},
|
|
42
|
-
skills: {
|
|
43
|
-
type: 'array',
|
|
44
|
-
items: { type: 'string' },
|
|
45
|
-
description: 'Skill names or commands from the available-skills list that are relevant to this task. Use empty array [] if no skills apply.',
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
],
|
|
51
|
-
}));
|
|
52
|
-
|
|
53
|
-
server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
54
|
-
if (request.params.name !== 'start_task') {
|
|
55
|
-
throw new Error(`Unknown tool: ${request.params.name}`);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
const { original_request, goal, steps, verification, skills } = request.params.arguments as {
|
|
59
|
-
original_request: string;
|
|
60
|
-
goal: string;
|
|
61
|
-
steps: string[];
|
|
62
|
-
verification: string[];
|
|
63
|
-
skills: string[];
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
console.error(`[start-task] original_request=${original_request}`);
|
|
67
|
-
console.error(`[start-task] goal=${goal}`);
|
|
68
|
-
console.error(`[start-task] steps=${JSON.stringify(steps)}`);
|
|
69
|
-
console.error(`[start-task] verification=${JSON.stringify(verification)}`);
|
|
70
|
-
console.error(`[start-task] skills=${JSON.stringify(skills)}`);
|
|
71
|
-
|
|
72
|
-
return {
|
|
73
|
-
content: [{ type: 'text', text: 'Plan registered. Proceed with execution.' }],
|
|
74
|
-
};
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
async function main() {
|
|
78
|
-
const transport = new StdioServerTransport();
|
|
79
|
-
await server.connect(transport);
|
|
80
|
-
console.error('[start-task] MCP server running');
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
main().catch((error) => {
|
|
84
|
-
console.error('[start-task] Fatal error:', error);
|
|
85
|
-
process.exit(1);
|
|
86
|
-
});
|