@phuetz/code-buddy 1.3.1 → 1.3.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 +2 -2
- package/dist/agent/autonomous/agentic-coding-runner.d.ts +2 -2
- package/dist/agent/autonomous/agentic-coding-runner.js +24 -24
- package/dist/agent/autonomous/checkpoint-manager.d.ts +2 -2
- package/dist/agent/base-agent.d.ts +1 -1
- package/dist/agent/base-agent.js +1 -1
- package/dist/agent/hermes-tool-parity-local.js +2 -2
- package/dist/agent/tool-handler.js +2 -2
- package/dist/codebuddy/providers/provider-chatgpt-responses.d.ts +4 -0
- package/dist/codebuddy/providers/provider-chatgpt-responses.js +34 -13
- package/dist/codebuddy/providers/provider-openai-compat.js +8 -0
- package/dist/codebuddy/tool-definitions/code-explorer-tools.d.ts +8 -0
- package/dist/codebuddy/tool-definitions/code-explorer-tools.js +24 -0
- package/dist/codebuddy/tool-definitions/graph-tools.d.ts +1 -1
- package/dist/codebuddy/tool-definitions/graph-tools.js +1 -1
- package/dist/codebuddy/tool-definitions/index.d.ts +1 -1
- package/dist/codebuddy/tool-definitions/index.js +2 -2
- package/dist/codebuddy/tools.d.ts +2 -2
- package/dist/codebuddy/tools.js +13 -13
- package/dist/collaboration/ai-colab-manager.js +9 -4
- package/dist/commands/cli/code-explorer-commands.d.ts +7 -0
- package/dist/commands/cli/code-explorer-commands.js +40 -0
- package/dist/commands/cli/native-engine-commands.js +64 -0
- package/dist/commands/handlers/graph-handlers.d.ts +1 -1
- package/dist/commands/handlers/graph-handlers.js +1 -1
- package/dist/config/model-tools.js +1 -1
- package/dist/daemon/autonomous-loop.d.ts +0 -7
- package/dist/daemon/autonomous-loop.js +24 -14
- package/dist/fleet/capability-registry.js +9 -1
- package/dist/fleet/colab-store.d.ts +109 -3
- package/dist/fleet/colab-store.js +181 -6
- package/dist/index.js +28 -11
- package/dist/kanban/colab-kanban-adapter.d.ts +31 -0
- package/dist/kanban/colab-kanban-adapter.js +232 -0
- package/dist/knowledge/community-detector.d.ts +1 -1
- package/dist/knowledge/community-detector.js +1 -1
- package/dist/knowledge/process-detector.d.ts +1 -1
- package/dist/knowledge/process-detector.js +1 -1
- package/dist/plugins/{gitnexus/GitNexusMCPClient.d.ts → code-explorer/CodeExplorerMCPClient.d.ts} +9 -9
- package/dist/plugins/{gitnexus/GitNexusMCPClient.js → code-explorer/CodeExplorerMCPClient.js} +17 -17
- package/dist/plugins/{gitnexus/GitNexusManager.d.ts → code-explorer/CodeExplorerManager.d.ts} +16 -16
- package/dist/plugins/{gitnexus/GitNexusManager.js → code-explorer/CodeExplorerManager.js} +35 -35
- package/dist/plugins/code-explorer/index.d.ts +9 -0
- package/dist/plugins/code-explorer/index.js +8 -0
- package/dist/providers/provider-catalog.js +23 -1
- package/dist/services/prompt-builder.js +9 -9
- package/dist/skills/parser.js +1 -1
- package/dist/tools/{gitnexus-tool.d.ts → code-explorer-tool.d.ts} +9 -9
- package/dist/tools/{gitnexus-tool.js → code-explorer-tool.js} +16 -16
- package/dist/tools/metadata.js +3 -3
- package/dist/tools/registry/code-explorer-tools.d.ts +18 -0
- package/dist/tools/registry/{gitnexus-tools.js → code-explorer-tools.js} +14 -14
- package/dist/tools/registry/graph-tools.d.ts +1 -1
- package/dist/tools/registry/graph-tools.js +1 -1
- package/dist/tools/registry/index.d.ts +1 -1
- package/dist/tools/registry/index.js +6 -6
- package/dist/tools/registry/kanban-tools.d.ts +1 -1
- package/dist/tools/registry/kanban-tools.js +2 -2
- package/package.json +1 -1
- package/dist/codebuddy/tool-definitions/gitnexus-tools.d.ts +0 -8
- package/dist/codebuddy/tool-definitions/gitnexus-tools.js +0 -24
- package/dist/commands/cli/gitnexus-commands.d.ts +0 -7
- package/dist/commands/cli/gitnexus-commands.js +0 -42
- package/dist/plugins/gitnexus/index.d.ts +0 -9
- package/dist/plugins/gitnexus/index.js +0 -8
- package/dist/tools/registry/gitnexus-tools.d.ts +0 -18
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GitNexus Tool Definitions
|
|
3
|
-
*
|
|
4
|
-
* OpenAI function calling schema for the GitNexus tool.
|
|
5
|
-
*/
|
|
6
|
-
export const GITNEXUS_ASK_TOOL = {
|
|
7
|
-
type: 'function',
|
|
8
|
-
function: {
|
|
9
|
-
name: 'gitnexus_ask',
|
|
10
|
-
description: 'Consult GitNexus for a query or code understanding request. Returns related files, dependent symbols, tests to watch, and technical recommendations. This is a read-only tool.',
|
|
11
|
-
parameters: {
|
|
12
|
-
type: 'object',
|
|
13
|
-
properties: {
|
|
14
|
-
query: {
|
|
15
|
-
type: 'string',
|
|
16
|
-
description: 'The query or task description to ask GitNexus about.',
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
required: ['query'],
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
};
|
|
23
|
-
export const GITNEXUS_TOOLS = [GITNEXUS_ASK_TOOL];
|
|
24
|
-
//# sourceMappingURL=gitnexus-tools.js.map
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GitNexus CLI commands
|
|
3
|
-
*
|
|
4
|
-
* Exposes commands to consult GitNexus and push session summaries.
|
|
5
|
-
*/
|
|
6
|
-
import { GitNexusTool } from '../../tools/gitnexus-tool.js';
|
|
7
|
-
export function registerGitNexusCommands(program) {
|
|
8
|
-
const gitnexus = program
|
|
9
|
-
.command('gitnexus')
|
|
10
|
-
.description('Interact with GitNexus for code understanding and session syncing');
|
|
11
|
-
gitnexus
|
|
12
|
-
.command('ask')
|
|
13
|
-
.description('Consult GitNexus for a query or code understanding request')
|
|
14
|
-
.argument('<query>', 'The query or task description to ask GitNexus about')
|
|
15
|
-
.action(async (query) => {
|
|
16
|
-
try {
|
|
17
|
-
const gitNexus = new GitNexusTool();
|
|
18
|
-
const result = await gitNexus.ask(query);
|
|
19
|
-
console.log(JSON.stringify(result, null, 2));
|
|
20
|
-
}
|
|
21
|
-
catch (error) {
|
|
22
|
-
console.error('Error querying GitNexus:', error);
|
|
23
|
-
process.exit(1);
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
gitnexus
|
|
27
|
-
.command('push-session')
|
|
28
|
-
.description('Push the session summary to GitNexus as technical memory')
|
|
29
|
-
.argument('<summary>', 'The session summary to push')
|
|
30
|
-
.action(async (summary) => {
|
|
31
|
-
try {
|
|
32
|
-
const gitNexus = new GitNexusTool();
|
|
33
|
-
const result = await gitNexus.pushSession(summary);
|
|
34
|
-
console.log(JSON.stringify(result, null, 2));
|
|
35
|
-
}
|
|
36
|
-
catch (error) {
|
|
37
|
-
console.error('Error pushing session to GitNexus:', error);
|
|
38
|
-
process.exit(1);
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
//# sourceMappingURL=gitnexus-commands.js.map
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GitNexus Plugin — Barrel Export
|
|
3
|
-
*
|
|
4
|
-
* Code graph analysis via GitNexus MCP server integration.
|
|
5
|
-
*/
|
|
6
|
-
export { GitNexusManager, getGitNexusManager, clearGitNexusManagerCache, } from './GitNexusManager.js';
|
|
7
|
-
export { GitNexusMCPClient } from './GitNexusMCPClient.js';
|
|
8
|
-
export type { GNQueryResult, GNContextResult, GNImpactResult, GNCluster, GNProcess, } from './GitNexusMCPClient.js';
|
|
9
|
-
export type { GitNexusStats } from './GitNexusManager.js';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GitNexus Plugin — Barrel Export
|
|
3
|
-
*
|
|
4
|
-
* Code graph analysis via GitNexus MCP server integration.
|
|
5
|
-
*/
|
|
6
|
-
export { GitNexusManager, getGitNexusManager, clearGitNexusManagerCache, } from './GitNexusManager.js';
|
|
7
|
-
export { GitNexusMCPClient } from './GitNexusMCPClient.js';
|
|
8
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GitNexus Tool Adapter
|
|
3
|
-
*
|
|
4
|
-
* ITool-compliant adapter for the GitNexus tool.
|
|
5
|
-
*/
|
|
6
|
-
import type { ToolResult } from '../../types/index.js';
|
|
7
|
-
import type { ITool, ToolSchema, IToolMetadata, IValidationResult } from './types.js';
|
|
8
|
-
export declare class GitNexusAskTool implements ITool {
|
|
9
|
-
readonly name = "gitnexus_ask";
|
|
10
|
-
readonly description = "Consult GitNexus for a query or code understanding request. Returns related files, dependent symbols, tests to watch, and technical recommendations. This is a read-only tool.";
|
|
11
|
-
execute(input: Record<string, unknown>): Promise<ToolResult>;
|
|
12
|
-
getSchema(): ToolSchema;
|
|
13
|
-
validate(input: unknown): IValidationResult;
|
|
14
|
-
getMetadata(): IToolMetadata;
|
|
15
|
-
isAvailable(): boolean;
|
|
16
|
-
}
|
|
17
|
-
export declare function createGitNexusTools(): ITool[];
|
|
18
|
-
export declare function resetGitNexusInstances(): void;
|