@cjhyy/code-shell-capability-coding 0.9.26 → 0.9.28

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.
@@ -146,6 +146,10 @@ export const TERMINAL_CODING_PRESET = {
146
146
  label: "Terminal Coding Assistant",
147
147
  description: "General orchestration plus coding-focused guidance and code-navigation tools.",
148
148
  promptSections: ["base", "orchestration", "coding", "browser", "tone"],
149
+ initialToolNames: [
150
+ ...(generalBase.initialToolNames ?? []).filter((name) => name !== "Write"),
151
+ "ApplyPatch",
152
+ ],
149
153
  builtinTools: [
150
154
  ...generalBase.builtinTools,
151
155
  ...productFullExposure.builtinTools,
@@ -188,7 +192,7 @@ export function createCodingModule() {
188
192
  promptSections: CODING_PROMPT_SECTIONS,
189
193
  dynamicContextProviders: [gitDynamicContextProvider],
190
194
  instructionBoundary: findCodingInstructionBoundary,
191
- createToolService: createCodingToolService,
195
+ privateService: { scope: "engine", create: createCodingToolService },
192
196
  artifactDetectors: [codingArtifactDetector],
193
197
  fileHistory: CODING_FILE_HISTORY,
194
198
  sessionWorkspace: CODING_SESSION_WORKSPACE,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cjhyy/code-shell-capability-coding",
3
- "version": "0.9.26",
3
+ "version": "0.9.28",
4
4
  "description": "Coding capability pack for the generic code-shell agent core.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -39,7 +39,7 @@
39
39
  "clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\""
40
40
  },
41
41
  "dependencies": {
42
- "@cjhyy/code-shell-core": "0.9.26"
42
+ "@cjhyy/code-shell-core": "0.9.28"
43
43
  },
44
44
  "engines": {
45
45
  "node": ">=20.10"