@sudocode-ai/claude-code-acp 0.12.7 → 0.12.9
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/dist/acp-agent.js +5 -4
- package/package.json +5 -4
package/dist/acp-agent.js
CHANGED
|
@@ -79,8 +79,9 @@ export class ClaudeAcpAgent {
|
|
|
79
79
|
/**
|
|
80
80
|
* Fork an existing session to create a new independent session.
|
|
81
81
|
* This is the ACP protocol method handler for session/fork.
|
|
82
|
+
* Named unstable_forkSession to match SDK expectations (session/fork routes to this method).
|
|
82
83
|
*/
|
|
83
|
-
async
|
|
84
|
+
async unstable_forkSession(params) {
|
|
84
85
|
// cwd and mcpServers are passed via _meta since they're not in the SDK type yet
|
|
85
86
|
const meta = params._meta;
|
|
86
87
|
return await this.createSession({
|
|
@@ -93,10 +94,10 @@ export class ClaudeAcpAgent {
|
|
|
93
94
|
});
|
|
94
95
|
}
|
|
95
96
|
/**
|
|
96
|
-
*
|
|
97
|
+
* Alias for unstable_forkSession for convenience.
|
|
97
98
|
*/
|
|
98
|
-
async
|
|
99
|
-
return this.
|
|
99
|
+
async forkSession(params) {
|
|
100
|
+
return this.unstable_forkSession(params);
|
|
100
101
|
}
|
|
101
102
|
/**
|
|
102
103
|
* Load an existing session to resume a previous conversation.
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.12.
|
|
6
|
+
"version": "0.12.9",
|
|
7
7
|
"description": "An ACP-compatible coding agent powered by the Claude Code SDK (TypeScript)",
|
|
8
8
|
"main": "dist/lib.js",
|
|
9
9
|
"bin": {
|
|
@@ -30,10 +30,11 @@
|
|
|
30
30
|
"test:run": "vitest run",
|
|
31
31
|
"test:coverage": "vitest run --coverage",
|
|
32
32
|
"prepublishOnly": "npm run build",
|
|
33
|
+
"preversion": "npm run test:run && npm run build",
|
|
33
34
|
"release": "./scripts/release.sh",
|
|
34
|
-
"publish:patch": "npm version patch && npm publish",
|
|
35
|
-
"publish:minor": "npm version minor && npm publish",
|
|
36
|
-
"publish:major": "npm version major && npm publish"
|
|
35
|
+
"publish:patch": "npm run test:run && npm run build && npm version patch && npm publish",
|
|
36
|
+
"publish:minor": "npm run test:run && npm run build && npm version minor && npm publish",
|
|
37
|
+
"publish:major": "npm run test:run && npm run build && npm version major && npm publish"
|
|
37
38
|
},
|
|
38
39
|
"keywords": [
|
|
39
40
|
"claude",
|