deepseek-coder-agent-cli 1.0.72 → 1.0.73

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 (60) hide show
  1. package/dist/bin/erosolar.js +0 -0
  2. package/dist/capabilities/hitlCapability.js +2 -2
  3. package/dist/capabilities/hitlCapability.js.map +1 -1
  4. package/dist/contracts/agent-profiles.schema.json +41 -41
  5. package/dist/contracts/agent-schemas.json +471 -477
  6. package/dist/contracts/models.schema.json +7 -7
  7. package/dist/contracts/module-schema.json +392 -403
  8. package/dist/contracts/schemas/agent-profile.schema.json +144 -144
  9. package/dist/contracts/schemas/agent-rules.schema.json +226 -226
  10. package/dist/contracts/schemas/agent-schemas.schema.json +497 -497
  11. package/dist/contracts/schemas/agent.schema.json +81 -82
  12. package/dist/contracts/schemas/tool-selection.schema.json +160 -159
  13. package/dist/contracts/tools.schema.json +80 -80
  14. package/dist/contracts/unified-schema.json +743 -750
  15. package/dist/contracts/v1/agent.d.ts +2 -12
  16. package/dist/contracts/v1/agent.d.ts.map +1 -1
  17. package/dist/contracts/v1/toolAccess.d.ts +1 -1
  18. package/dist/contracts/v1/toolAccess.d.ts.map +1 -1
  19. package/dist/core/hitl.d.ts +0 -8
  20. package/dist/core/hitl.d.ts.map +1 -1
  21. package/dist/core/hitl.js +0 -37
  22. package/dist/core/hitl.js.map +1 -1
  23. package/dist/headless/interactiveShell.d.ts.map +1 -1
  24. package/dist/headless/interactiveShell.js +6 -24
  25. package/dist/headless/interactiveShell.js.map +1 -1
  26. package/dist/runtime/agentController.d.ts.map +1 -1
  27. package/dist/runtime/agentController.js +0 -10
  28. package/dist/runtime/agentController.js.map +1 -1
  29. package/dist/tools/editTools.d.ts.map +1 -1
  30. package/dist/tools/editTools.js +0 -35
  31. package/dist/tools/editTools.js.map +1 -1
  32. package/dist/tools/humanOpsTools.d.ts +3 -0
  33. package/dist/tools/humanOpsTools.d.ts.map +1 -0
  34. package/dist/tools/humanOpsTools.js +86 -0
  35. package/dist/tools/humanOpsTools.js.map +1 -0
  36. package/dist/tools/planningTools.d.ts +81 -0
  37. package/dist/tools/planningTools.d.ts.map +1 -0
  38. package/dist/tools/planningTools.js +370 -0
  39. package/dist/tools/planningTools.js.map +1 -0
  40. package/dist/tools/unifiedOps.d.ts +3 -0
  41. package/dist/tools/unifiedOps.d.ts.map +1 -0
  42. package/dist/tools/unifiedOps.js +57 -0
  43. package/dist/tools/unifiedOps.js.map +1 -0
  44. package/dist/ui/PromptController.d.ts +4 -3
  45. package/dist/ui/PromptController.d.ts.map +1 -1
  46. package/dist/ui/PromptController.js +9 -6
  47. package/dist/ui/PromptController.js.map +1 -1
  48. package/dist/ui/UnifiedUIRenderer.d.ts +4 -5
  49. package/dist/ui/UnifiedUIRenderer.d.ts.map +1 -1
  50. package/dist/ui/UnifiedUIRenderer.js +2 -22
  51. package/dist/ui/UnifiedUIRenderer.js.map +1 -1
  52. package/dist/ui/theme.d.ts +161 -161
  53. package/dist/ui/toolDisplay.d.ts.map +1 -1
  54. package/dist/ui/toolDisplay.js +29 -0
  55. package/dist/ui/toolDisplay.js.map +1 -1
  56. package/dist/utils/planFormatter.d.ts +34 -0
  57. package/dist/utils/planFormatter.d.ts.map +1 -0
  58. package/dist/utils/planFormatter.js +141 -0
  59. package/dist/utils/planFormatter.js.map +1 -0
  60. package/package.json +1 -1
@@ -1,91 +1,90 @@
1
1
  {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "title": "Agent Contract v1.0",
4
- "description": "JSON Schema for agent interaction contract",
5
- "version": "1.0.0",
6
- "definitions": {
7
- "AgentEvent": {
8
- "type": "object",
9
- "required": ["type", "timestamp"],
10
- "properties": {
11
- "type": {
12
- "enum": [
13
- "message.start",
14
- "message.delta",
15
- "message.complete",
16
- "tool.start",
17
- "tool.complete",
18
- "tool.error",
19
- "edit.explanation",
20
- "error",
21
- "usage",
22
- "tool.progress"
23
- ]
24
- },
25
- "timestamp": {
26
- "type": "number"
27
- }
28
- }
29
- },
30
- "ModelConfig": {
31
- "type": "object",
32
- "required": ["provider", "model"],
33
- "properties": {
34
- "provider": {
35
- "type": "string"
36
- },
37
- "model": {
38
- "type": "string"
39
- },
40
- "temperature": {
41
- "type": "number",
42
- "minimum": 0,
43
- "maximum": 2
44
- },
45
- "maxTokens": {
46
- "type": "integer",
47
- "minimum": 1
48
- }
49
- }
50
- },
51
- "CapabilityManifest": {
52
- "type": "object",
53
- "required": ["contractVersion", "profile", "model", "tools", "features"],
54
- "properties": {
55
- "contractVersion": {
56
- "type": "string"
57
- },
58
- "profile": {
59
- "type": "string"
60
- },
61
- "model": {
62
- "$ref": "#/definitions/ModelConfig"
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Agent Contract v1.0",
4
+ "description": "JSON Schema for agent interaction contract",
5
+ "version": "1.0.0",
6
+ "definitions": {
7
+ "AgentEvent": {
8
+ "type": "object",
9
+ "required": ["type", "timestamp"],
10
+ "properties": {
11
+ "type": {
12
+ "enum": [
13
+ "message.start",
14
+ "message.delta",
15
+ "message.complete",
16
+ "tool.start",
17
+ "tool.complete",
18
+ "tool.error",
19
+ "edit.explanation",
20
+ "error",
21
+ "usage"
22
+ ]
23
+ },
24
+ "timestamp": {
25
+ "type": "number"
26
+ }
27
+ }
63
28
  },
64
- "tools": {
65
- "type": "array",
66
- "items": {
29
+ "ModelConfig": {
67
30
  "type": "object",
68
- "required": ["name", "description", "category"],
31
+ "required": ["provider", "model"],
69
32
  "properties": {
70
- "name": {
71
- "type": "string"
72
- },
73
- "description": {
74
- "type": "string"
75
- },
76
- "category": {
77
- "type": "string"
78
- }
33
+ "provider": {
34
+ "type": "string"
35
+ },
36
+ "model": {
37
+ "type": "string"
38
+ },
39
+ "temperature": {
40
+ "type": "number",
41
+ "minimum": 0,
42
+ "maximum": 2
43
+ },
44
+ "maxTokens": {
45
+ "type": "integer",
46
+ "minimum": 1
47
+ }
79
48
  }
80
- }
81
49
  },
82
- "features": {
83
- "type": "array",
84
- "items": {
85
- "type": "string"
86
- }
50
+ "CapabilityManifest": {
51
+ "type": "object",
52
+ "required": ["contractVersion", "profile", "model", "tools", "features"],
53
+ "properties": {
54
+ "contractVersion": {
55
+ "type": "string"
56
+ },
57
+ "profile": {
58
+ "type": "string"
59
+ },
60
+ "model": {
61
+ "$ref": "#/definitions/ModelConfig"
62
+ },
63
+ "tools": {
64
+ "type": "array",
65
+ "items": {
66
+ "type": "object",
67
+ "required": ["name", "description", "category"],
68
+ "properties": {
69
+ "name": {
70
+ "type": "string"
71
+ },
72
+ "description": {
73
+ "type": "string"
74
+ },
75
+ "category": {
76
+ "type": "string"
77
+ }
78
+ }
79
+ }
80
+ },
81
+ "features": {
82
+ "type": "array",
83
+ "items": {
84
+ "type": "string"
85
+ }
86
+ }
87
+ }
87
88
  }
88
- }
89
89
  }
90
- }
91
90
  }
@@ -1,173 +1,174 @@
1
1
  {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "title": "Tool Selection Contract v1.0",
4
- "description": "Schema describing toggleable tool suites and presets exposed to an agent runtime.",
5
- "type": "object",
6
- "required": ["contractVersion", "profile", "version", "options"],
7
- "properties": {
8
- "contractVersion": {
9
- "type": "string",
10
- "description": "Version of the tool selection contract implemented by the payload."
11
- },
12
- "profile": {
13
- "type": "string",
14
- "description": "Agent profile identifier that the tool selection applies to."
15
- },
16
- "version": {
17
- "type": "string",
18
- "description": "Semantic or date-based version for the manifest."
19
- },
20
- "label": {
21
- "type": "string",
22
- "description": "Optional human readable label for the manifest."
23
- },
24
- "description": {
25
- "type": "string",
26
- "description": "Optional longer description."
27
- },
28
- "options": {
29
- "type": "array",
30
- "minItems": 1,
31
- "items": {
32
- "$ref": "#/definitions/ToolOption"
33
- },
34
- "description": "Toggleable tool suites."
35
- },
36
- "presets": {
37
- "type": "array",
38
- "description": "Optional named sets of enabled/disabled tools.",
39
- "items": {
40
- "$ref": "#/definitions/ToolPreset"
41
- }
42
- },
43
- "metadata": {
44
- "type": "object",
45
- "description": "Implementation specific metadata."
46
- }
47
- },
48
- "definitions": {
49
- "ToolOption": {
50
- "type": "object",
51
- "required": ["id", "label", "description", "defaultEnabled", "pluginIds"],
52
- "properties": {
53
- "id": {
54
- "type": "string",
55
- "description": "Unique identifier for the tool option."
56
- },
57
- "label": {
58
- "type": "string",
59
- "description": "Human readable name."
60
- },
61
- "description": {
62
- "type": "string",
63
- "description": "Operator facing description."
64
- },
65
- "category": {
66
- "type": "string",
67
- "description": "Optional grouping/category label."
68
- },
69
- "defaultEnabled": {
70
- "type": "boolean",
71
- "description": "Whether the tool is enabled by default."
72
- },
73
- "pluginIds": {
74
- "type": "array",
75
- "minItems": 1,
76
- "description": "IDs of the tool plugins activated by this option.",
77
- "items": {
78
- "type": "string"
79
- },
80
- "uniqueItems": true
81
- },
82
- "requiresSecret": {
83
- "type": "string",
84
- "description": "Identifier of a secret that must be configured before the tool can load."
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Tool Selection Contract v1.0",
4
+ "description": "Schema describing toggleable tool suites and presets exposed to an agent runtime.",
5
+ "type": "object",
6
+ "required": ["contractVersion", "profile", "version", "options"],
7
+ "properties": {
8
+ "contractVersion": {
9
+ "type": "string",
10
+ "description": "Version of the tool selection contract implemented by the payload."
85
11
  },
86
- "scopes": {
87
- "type": "array",
88
- "description": "Capabilities unlocked when this option is enabled.",
89
- "items": {
12
+ "profile": {
90
13
  "type": "string",
91
- "enum": [
92
- "filesystem:read",
93
- "filesystem:write",
94
- "process:exec",
95
- "network:web",
96
- "network:api",
97
- "analysis:code",
98
- "analysis:quality",
99
- "analysis:dependency",
100
- "analysis:testing",
101
- "analysis:security",
102
- "external:web-search"
103
- ]
104
- },
105
- "uniqueItems": true
14
+ "description": "Agent profile identifier that the tool selection applies to."
106
15
  },
107
- "metadata": {
108
- "type": "object",
109
- "description": "Implementation specific metadata."
110
- }
111
- }
112
- },
113
- "ToolPreset": {
114
- "type": "object",
115
- "required": ["id", "label"],
116
- "properties": {
117
- "id": {
118
- "type": "string",
119
- "description": "Unique identifier for the preset."
16
+ "version": {
17
+ "type": "string",
18
+ "description": "Semantic or date-based version for the manifest."
120
19
  },
121
20
  "label": {
122
- "type": "string",
123
- "description": "Human readable name for the preset."
21
+ "type": "string",
22
+ "description": "Optional human readable label for the manifest."
124
23
  },
125
24
  "description": {
126
- "type": "string",
127
- "description": "Longer description or guidance."
128
- },
129
- "enabled": {
130
- "type": "array",
131
- "description": "Tool option IDs forced on by the preset.",
132
- "items": {
133
- "type": "string"
134
- },
135
- "uniqueItems": true
136
- },
137
- "disabled": {
138
- "type": "array",
139
- "description": "Tool option IDs forced off by the preset.",
140
- "items": {
141
- "type": "string"
142
- },
143
- "uniqueItems": true
144
- },
145
- "locked": {
146
- "type": "array",
147
- "description": "Tool option IDs that cannot be toggled while the preset is active.",
148
- "items": {
149
- "type": "string"
150
- },
151
- "uniqueItems": true
152
- },
153
- "appliesTo": {
154
- "type": "array",
155
- "description": "Frontends where this preset should be available.",
156
- "items": {
157
25
  "type": "string",
158
- "enum": ["cli", "browser", "http", "worker", "service"]
159
- },
160
- "uniqueItems": true
161
- },
162
- "notes": {
163
- "type": "string",
164
- "description": "Optional operator note rendered with the preset."
26
+ "description": "Optional longer description."
27
+ },
28
+ "options": {
29
+ "type": "array",
30
+ "minItems": 1,
31
+ "items": {
32
+ "$ref": "#/definitions/ToolOption"
33
+ },
34
+ "description": "Toggleable tool suites."
35
+ },
36
+ "presets": {
37
+ "type": "array",
38
+ "description": "Optional named sets of enabled/disabled tools.",
39
+ "items": {
40
+ "$ref": "#/definitions/ToolPreset"
41
+ }
165
42
  },
166
43
  "metadata": {
167
- "type": "object",
168
- "description": "Implementation specific metadata."
44
+ "type": "object",
45
+ "description": "Implementation specific metadata."
46
+ }
47
+ },
48
+ "definitions": {
49
+ "ToolOption": {
50
+ "type": "object",
51
+ "required": ["id", "label", "description", "defaultEnabled", "pluginIds"],
52
+ "properties": {
53
+ "id": {
54
+ "type": "string",
55
+ "description": "Unique identifier for the tool option."
56
+ },
57
+ "label": {
58
+ "type": "string",
59
+ "description": "Human readable name."
60
+ },
61
+ "description": {
62
+ "type": "string",
63
+ "description": "Operator facing description."
64
+ },
65
+ "category": {
66
+ "type": "string",
67
+ "description": "Optional grouping/category label."
68
+ },
69
+ "defaultEnabled": {
70
+ "type": "boolean",
71
+ "description": "Whether the tool is enabled by default."
72
+ },
73
+ "pluginIds": {
74
+ "type": "array",
75
+ "minItems": 1,
76
+ "description": "IDs of the tool plugins activated by this option.",
77
+ "items": {
78
+ "type": "string"
79
+ },
80
+ "uniqueItems": true
81
+ },
82
+ "requiresSecret": {
83
+ "type": "string",
84
+ "description": "Identifier of a secret that must be configured before the tool can load."
85
+ },
86
+ "scopes": {
87
+ "type": "array",
88
+ "description": "Capabilities unlocked when this option is enabled.",
89
+ "items": {
90
+ "type": "string",
91
+ "enum": [
92
+ "filesystem:read",
93
+ "filesystem:write",
94
+ "process:exec",
95
+ "network:web",
96
+ "network:api",
97
+ "analysis:code",
98
+ "analysis:quality",
99
+ "analysis:dependency",
100
+ "analysis:testing",
101
+ "analysis:security",
102
+ "planning:refactor",
103
+ "external:web-search"
104
+ ]
105
+ },
106
+ "uniqueItems": true
107
+ },
108
+ "metadata": {
109
+ "type": "object",
110
+ "description": "Implementation specific metadata."
111
+ }
112
+ }
113
+ },
114
+ "ToolPreset": {
115
+ "type": "object",
116
+ "required": ["id", "label"],
117
+ "properties": {
118
+ "id": {
119
+ "type": "string",
120
+ "description": "Unique identifier for the preset."
121
+ },
122
+ "label": {
123
+ "type": "string",
124
+ "description": "Human readable name for the preset."
125
+ },
126
+ "description": {
127
+ "type": "string",
128
+ "description": "Longer description or guidance."
129
+ },
130
+ "enabled": {
131
+ "type": "array",
132
+ "description": "Tool option IDs forced on by the preset.",
133
+ "items": {
134
+ "type": "string"
135
+ },
136
+ "uniqueItems": true
137
+ },
138
+ "disabled": {
139
+ "type": "array",
140
+ "description": "Tool option IDs forced off by the preset.",
141
+ "items": {
142
+ "type": "string"
143
+ },
144
+ "uniqueItems": true
145
+ },
146
+ "locked": {
147
+ "type": "array",
148
+ "description": "Tool option IDs that cannot be toggled while the preset is active.",
149
+ "items": {
150
+ "type": "string"
151
+ },
152
+ "uniqueItems": true
153
+ },
154
+ "appliesTo": {
155
+ "type": "array",
156
+ "description": "Frontends where this preset should be available.",
157
+ "items": {
158
+ "type": "string",
159
+ "enum": ["cli", "browser", "http", "worker", "service"]
160
+ },
161
+ "uniqueItems": true
162
+ },
163
+ "notes": {
164
+ "type": "string",
165
+ "description": "Optional operator note rendered with the preset."
166
+ },
167
+ "metadata": {
168
+ "type": "object",
169
+ "description": "Implementation specific metadata."
170
+ }
171
+ }
169
172
  }
170
- }
171
173
  }
172
- }
173
174
  }
@@ -1,82 +1,82 @@
1
1
  {
2
- "$schema": "./schemas/tool-selection.schema.json",
3
- "contractVersion": "1.0.0",
4
- "profile": "agi-cli",
5
- "version": "2024.12.04",
6
- "label": "AGI CLI unified tool manifest",
7
- "description": "Core toolset with filesystem, editing, search, and execution.",
8
- "options": [
9
- {
10
- "id": "core-tools",
11
- "label": "Core Tools",
12
- "description": "Filesystem, editing, unified search, and execution.",
13
- "defaultEnabled": true,
14
- "category": "core",
15
- "pluginIds": [
16
- "tool.filesystem.local",
17
- "tool.edit",
18
- "tool.search.local",
19
- "tool.bash.local",
20
- "tool.enhanced-git",
21
- "tool.orchestration.unified",
22
- "tool.bidirectional-audit"
23
- ],
24
- "metadata": {
25
- "locked": true
26
- }
27
- },
28
- {
29
- "id": "security-tools",
30
- "label": "Security Tools",
31
- "description": "Offensive security tooling for network reconnaissance and penetration testing.",
32
- "defaultEnabled": false,
33
- "category": "security",
34
- "pluginIds": [
35
- "tool.tao"
36
- ],
37
- "metadata": {
38
- "restartRequired": true
39
- }
40
- },
41
- {
42
- "id": "zero-day-discovery",
43
- "label": "Zero-Day Discovery",
44
- "description": "Advanced zero-day vulnerability discovery and analysis for ANY target.",
45
- "defaultEnabled": true,
46
- "category": "security",
47
- "pluginIds": [
48
- "tool.zero-day-discovery"
49
- ],
50
- "metadata": {
51
- "requiresAuthorization": true
52
- }
53
- },
54
- {
55
- "id": "universal-attack-tools",
56
- "label": "Universal Attack Tools",
57
- "description": "Comprehensive attack toolkit for ANY target, service, or infrastructure.",
58
- "defaultEnabled": true,
59
- "category": "security",
60
- "pluginIds": [
61
- "tool.universal-attack"
62
- ],
63
- "metadata": {
64
- "requiresAuthorization": true,
65
- "restartRequired": true
66
- }
67
- },
68
- {
69
- "id": "dependency-management-tools",
70
- "label": "Dependency Management Tools",
71
- "description": "Automatic dependency recovery, npm install on failure, and continuous operation capabilities.",
72
- "defaultEnabled": true,
73
- "category": "operations",
74
- "pluginIds": [
75
- "tool.dependency-management"
76
- ],
77
- "metadata": {
78
- "locked": true
79
- }
80
- }
81
- ]
2
+ "$schema": "./schemas/tool-selection.schema.json",
3
+ "contractVersion": "1.0.0",
4
+ "profile": "agi-cli",
5
+ "version": "2024.12.04",
6
+ "label": "AGI CLI unified tool manifest",
7
+ "description": "Core toolset with filesystem, editing, search, and execution.",
8
+ "options": [
9
+ {
10
+ "id": "core-tools",
11
+ "label": "Core Tools",
12
+ "description": "Filesystem, editing, unified search, and execution.",
13
+ "defaultEnabled": true,
14
+ "category": "core",
15
+ "pluginIds": [
16
+ "tool.filesystem.local",
17
+ "tool.edit",
18
+ "tool.search.local",
19
+ "tool.bash.local",
20
+ "tool.enhanced-git",
21
+ "tool.orchestration.unified",
22
+ "tool.bidirectional-audit"
23
+ ],
24
+ "metadata": {
25
+ "locked": true
26
+ }
27
+ },
28
+ {
29
+ "id": "security-tools",
30
+ "label": "Security Tools",
31
+ "description": "Offensive security tooling for network reconnaissance and penetration testing.",
32
+ "defaultEnabled": false,
33
+ "category": "security",
34
+ "pluginIds": [
35
+ "tool.tao"
36
+ ],
37
+ "metadata": {
38
+ "restartRequired": true
39
+ }
40
+ },
41
+ {
42
+ "id": "zero-day-discovery",
43
+ "label": "Zero-Day Discovery",
44
+ "description": "Advanced zero-day vulnerability discovery and analysis for ANY target.",
45
+ "defaultEnabled": true,
46
+ "category": "security",
47
+ "pluginIds": [
48
+ "tool.zero-day-discovery"
49
+ ],
50
+ "metadata": {
51
+ "requiresAuthorization": true
52
+ }
53
+ },
54
+ {
55
+ "id": "universal-attack-tools",
56
+ "label": "Universal Attack Tools",
57
+ "description": "Comprehensive attack toolkit for ANY target, service, or infrastructure.",
58
+ "defaultEnabled": true,
59
+ "category": "security",
60
+ "pluginIds": [
61
+ "tool.universal-attack"
62
+ ],
63
+ "metadata": {
64
+ "requiresAuthorization": true,
65
+ "restartRequired": true
66
+ }
67
+ },
68
+ {
69
+ "id": "dependency-management-tools",
70
+ "label": "Dependency Management Tools",
71
+ "description": "Automatic dependency recovery, npm install on failure, and continuous operation capabilities.",
72
+ "defaultEnabled": true,
73
+ "category": "operations",
74
+ "pluginIds": [
75
+ "tool.dependency-management"
76
+ ],
77
+ "metadata": {
78
+ "locked": true
79
+ }
80
+ }
81
+ ]
82
82
  }