@sudocode-ai/claude-code-acp 0.12.8 → 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 +1 -1
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.
|