@nuvin/agent-core 0.2.0-rc.1 → 0.2.0-rc.10

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.
Files changed (95) hide show
  1. package/dist/VERSION +2 -2
  2. package/dist/agent/index.js +1 -1
  3. package/dist/agent/metrics.d.ts +17 -1
  4. package/dist/chunk-D5IVWJHX.js +1 -1
  5. package/dist/chunk-FFIZ6TKW.js +1 -1
  6. package/dist/chunk-GAZGO6N7.js +1 -0
  7. package/dist/chunk-IUZALP6K.js +1 -0
  8. package/dist/chunk-LIE76IJA.js +1 -0
  9. package/dist/chunk-X7VAACWY.js +1 -1
  10. package/dist/chunk-YNOIG4FD.js +1 -0
  11. package/dist/chunk-ZHE3E26D.js +1 -0
  12. package/dist/formats/index.js +1 -1
  13. package/dist/hooks/index.js +1 -1
  14. package/dist/lsp/client.d.ts +4 -0
  15. package/dist/models/chat-model.d.ts +1 -0
  16. package/dist/models/index.d.ts +3 -0
  17. package/dist/models/index.js +1 -1
  18. package/dist/models/mock-model.d.ts +2 -0
  19. package/dist/models/model-cost.d.ts +5 -0
  20. package/dist/models/model-pricing-generator.d.ts +9 -0
  21. package/dist/models/model-pricing-products.d.ts +45 -0
  22. package/dist/models/model-pricing-types.d.ts +33 -0
  23. package/dist/models/model-pricing.d.ts +13 -0
  24. package/dist/models/model-pricing.generated.d.ts +23147 -0
  25. package/dist/models/model-registry.d.ts +8 -0
  26. package/dist/models/openai-surfaces.d.ts +4 -1
  27. package/dist/models/routed-model.d.ts +3 -0
  28. package/dist/shared/abort-aware-semaphore.d.ts +5 -0
  29. package/dist/shared/index.d.ts +1 -0
  30. package/dist/shared/index.js +1 -1
  31. package/dist/shared/reasoning-config.d.ts +3 -4
  32. package/dist/shared/types.d.ts +94 -22
  33. package/dist/tools/{internal-tool-runtime.d.ts → core/internal-tool-runtime.d.ts} +1 -1
  34. package/dist/tools/core/mock-tool-runtime.d.ts +3 -0
  35. package/dist/tools/core/runtime-manager-tools.d.ts +87 -0
  36. package/dist/tools/{tool-output-offload.d.ts → core/tool-output-offload.d.ts} +1 -1
  37. package/dist/tools/{tools.d.ts → core/tools.d.ts} +4 -1
  38. package/dist/tools/file-editing/anchored-file-edit.d.ts +53 -0
  39. package/dist/tools/file-editing/anchored-file-errors.d.ts +5 -0
  40. package/dist/tools/file-editing/anchored-file-operations.d.ts +38 -0
  41. package/dist/tools/file-editing/anchored-file-read.d.ts +37 -0
  42. package/dist/tools/file-editing/atomic-file-write.d.ts +19 -0
  43. package/dist/tools/file-editing/file-edit-tool.d.ts +166 -0
  44. package/dist/tools/file-editing/file-mutation-coordinator.d.ts +13 -0
  45. package/dist/tools/file-editing/file-mutation.d.ts +15 -0
  46. package/dist/tools/{file-new-tool.d.ts → file-editing/file-new-tool.d.ts} +5 -2
  47. package/dist/tools/file-editing/file-observation-store.d.ts +40 -0
  48. package/dist/tools/{file-read-tool.d.ts → file-editing/file-read-tool.d.ts} +8 -2
  49. package/dist/tools/file-editing/file-snapshot.d.ts +16 -0
  50. package/dist/tools/file-editing/hashline-file-edit-adapter.d.ts +19 -0
  51. package/dist/tools/file-editing/structured-file-edit-adapter.d.ts +94 -0
  52. package/dist/tools/file-editing/workspace-paths.d.ts +20 -0
  53. package/dist/tools/index.d.ts +43 -29
  54. package/dist/tools/index.js +1 -1
  55. package/dist/tools/mcp/mcp-connection-generation.d.ts +59 -0
  56. package/dist/tools/mcp/mcp-safe-error-provenance.d.ts +4 -0
  57. package/dist/tools/mcp/mcp-safe-error.d.ts +14 -0
  58. package/dist/tools/mcp/mcp-server-manager.d.ts +16 -0
  59. package/dist/tools/mcp/mcp-tool-adapter.d.ts +72 -0
  60. package/dist/tools/{glob-tool.d.ts → search/glob-tool.d.ts} +2 -2
  61. package/dist/tools/search/grep-engine.d.ts +22 -0
  62. package/dist/tools/{grep-tool.d.ts → search/grep-tool.d.ts} +3 -3
  63. package/dist/tools/{ls-tool.d.ts → search/ls-tool.d.ts} +2 -2
  64. package/dist/tools/{ripgrep.d.ts → search/ripgrep.d.ts} +1 -0
  65. package/dist/tools/{view-file-tool.d.ts → search/view-file-tool.d.ts} +2 -2
  66. package/dist/tools/{ask-user-tool.d.ts → session/ask-user-tool.d.ts} +2 -2
  67. package/dist/tools/{lsp-tool.d.ts → session/lsp-tool.d.ts} +5 -5
  68. package/dist/tools/{skill-tool.d.ts → session/skill-tool.d.ts} +2 -2
  69. package/dist/tools/{todo-write-tool.d.ts → session/todo-write-tool.d.ts} +2 -2
  70. package/dist/tools/session/update-topic-tool.d.ts +12 -0
  71. package/dist/tools/shell/background-process-registry.d.ts +116 -0
  72. package/dist/tools/{bash-output-tool.d.ts → shell/bash-output-tool.d.ts} +2 -2
  73. package/dist/tools/{bash-tool.d.ts → shell/bash-tool.d.ts} +10 -6
  74. package/dist/tools/{command-tool.d.ts → shell/command-tool.d.ts} +2 -2
  75. package/dist/tools/{kill-shell-tool.d.ts → shell/kill-shell-tool.d.ts} +2 -2
  76. package/dist/tools/shell/process-tree-termination.d.ts +25 -0
  77. package/dist/tools/shell/terminal-output-normalizer.d.ts +6 -0
  78. package/dist/tools/{web-fetch-tool.d.ts → web/web-fetch-tool.d.ts} +2 -2
  79. package/dist/tools/{web-search-tool.d.ts → web/web-search-tool.d.ts} +2 -2
  80. package/package.json +4 -3
  81. package/dist/chunk-E4R6CEFK.js +0 -1
  82. package/dist/chunk-NYZR4XKO.js +0 -1
  83. package/dist/chunk-RABU4RC2.js +0 -1
  84. package/dist/chunk-RTDLM6FU.js +0 -1
  85. package/dist/tools/background-process-registry.d.ts +0 -64
  86. package/dist/tools/file-edit-tool.d.ts +0 -34
  87. package/dist/tools/mcp-server-manager.d.ts +0 -60
  88. package/dist/tools/mcp-tool-adapter.d.ts +0 -47
  89. package/dist/tools/mock-tool-runtime.d.ts +0 -3
  90. package/dist/tools/runtime-manager-tools.d.ts +0 -58
  91. package/dist/tools/update-topic-tool.d.ts +0 -12
  92. package/dist/tools/workspace-paths.d.ts +0 -5
  93. /package/dist/tools/{mcp-oauth-provider.d.ts → mcp/mcp-oauth-provider.d.ts} +0 -0
  94. /package/dist/tools/{bash-internals.d.ts → shell/bash-internals.d.ts} +0 -0
  95. /package/dist/tools/{safe-fetch.d.ts → web/safe-fetch.d.ts} +0 -0
@@ -1,58 +0,0 @@
1
- import type { AgentDefinitionFactoryContext, AgentOptions } from "../shared/types.ts";
2
- export interface DelegatedAgentFactoryContext extends AgentDefinitionFactoryContext {
3
- parentSessionId: string;
4
- runId: string;
5
- }
6
- export type DelegatedAgentDefinition = AgentOptions | ((ctx: DelegatedAgentFactoryContext) => AgentOptions | Promise<AgentOptions>);
7
- export interface CreateDelegationToolsOptions {
8
- agents?: Record<string, DelegatedAgentDefinition>;
9
- }
10
- export declare function resolveDelegatedAgentOptions(definition: DelegatedAgentDefinition, ctx: DelegatedAgentFactoryContext): Promise<AgentOptions>;
11
- export declare function createAssignTaskTool(options: CreateDelegationToolsOptions): import("../shared/types.ts").ToolDefinition<{
12
- description: string;
13
- task: string;
14
- agentId: string;
15
- nickname: string;
16
- }, import("../shared/types.ts").ToolOutputEnvelope, import("../shared/types.ts").ToolOutputEnvelope, {
17
- type: "object";
18
- properties: {
19
- agentId: {
20
- type: "string";
21
- };
22
- description: {
23
- type: "string";
24
- };
25
- nickname: {
26
- type: "string";
27
- };
28
- task: {
29
- type: "string";
30
- };
31
- };
32
- required: string[];
33
- }>;
34
- export declare const createDelegateToAgentTool: typeof createAssignTaskTool;
35
- export declare function createDelegationTools(options: CreateDelegationToolsOptions): import("../shared/types.ts").ToolDefinition<{
36
- description: string;
37
- task: string;
38
- agentId: string;
39
- nickname: string;
40
- }, import("../shared/types.ts").ToolOutputEnvelope, import("../shared/types.ts").ToolOutputEnvelope, {
41
- type: "object";
42
- properties: {
43
- agentId: {
44
- type: "string";
45
- };
46
- description: {
47
- type: "string";
48
- };
49
- nickname: {
50
- type: "string";
51
- };
52
- task: {
53
- type: "string";
54
- };
55
- };
56
- required: string[];
57
- }>[];
58
- //# sourceMappingURL=runtime-manager-tools.d.ts.map
@@ -1,12 +0,0 @@
1
- export declare function createUpdateTopicTool(): import("../shared/types.ts").ToolDefinition<{
2
- topic: string;
3
- }, import("../shared/types.ts").ToolOutputEnvelope, undefined, {
4
- readonly type: "object";
5
- readonly properties: {
6
- readonly topic: {
7
- readonly type: "string";
8
- };
9
- };
10
- readonly required: readonly ["topic"];
11
- }>;
12
- //# sourceMappingURL=update-topic-tool.d.ts.map
@@ -1,5 +0,0 @@
1
- export declare function resolveWorkspacePath(rootDir: string, inputPath: string): string;
2
- export declare function resolveAllowedPath(rootDir: string, allowedDirs: readonly string[], inputPath: string): string;
3
- export declare function assertWorkspaceFile(filePath: string): Promise<void>;
4
- export declare function isProbablyBinary(buffer: Buffer): boolean;
5
- //# sourceMappingURL=workspace-paths.d.ts.map