@cotal-ai/connector-claude-code 0.94.1 → 0.94.2
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/mcp.cjs +10 -8
- package/package.json +3 -3
package/dist/mcp.cjs
CHANGED
|
@@ -74797,10 +74797,10 @@ async function submitFeedback(input, options = {}) {
|
|
|
74797
74797
|
var import_node_child_process3 = require("node:child_process");
|
|
74798
74798
|
|
|
74799
74799
|
// ../connector-core/dist/docs-bundle.generated.js
|
|
74800
|
-
var DOCS_VERSION = "0.94.
|
|
74800
|
+
var DOCS_VERSION = "0.94.2";
|
|
74801
74801
|
function loadDocsBundle() {
|
|
74802
74802
|
return {
|
|
74803
|
-
"version": "0.94.
|
|
74803
|
+
"version": "0.94.2",
|
|
74804
74804
|
"generatedFrom": "docs/*.md + SPEC.md + spec/cotal-lang.md + spec/cotal.schema.json",
|
|
74805
74805
|
"pages": [
|
|
74806
74806
|
{
|
|
@@ -77088,21 +77088,23 @@ ${accessLine(c.config)}${listening}`
|
|
|
77088
77088
|
});
|
|
77089
77089
|
} catch (e) {
|
|
77090
77090
|
if (e instanceof ApprovalRequired) {
|
|
77091
|
+
const resume = options.approvalResume ? ` and approval_id ${JSON.stringify(e.pending.approval.id)}` : "";
|
|
77092
|
+
const message = `Permission approval required. This conversation is not connected.
|
|
77093
|
+
The person must open ${e.pending.approval.url}, review or edit the permissions, and choose Approve or Deny.
|
|
77094
|
+
Expires: ${e.pending.approval.expiresAt}. Only the person's decision in Cotal counts; do not open the decision page or approve on their behalf.
|
|
77095
|
+
After they approve, retry cotal_connect with name ${JSON.stringify(candidate2)}${resume} and the same requested permissions. Do not poll or start another request while waiting.`;
|
|
77091
77096
|
const structuredContent = {
|
|
77092
77097
|
v: 1,
|
|
77093
77098
|
status: "pending",
|
|
77094
77099
|
name: candidate2,
|
|
77095
77100
|
requestId: e.pending.requestId,
|
|
77096
77101
|
approval: e.pending.approval,
|
|
77097
|
-
proposed: e.pending.proposed
|
|
77102
|
+
proposed: e.pending.proposed,
|
|
77103
|
+
message
|
|
77098
77104
|
};
|
|
77099
|
-
const resume = options.approvalResume ? ` and approval_id ${JSON.stringify(e.pending.approval.id)}` : "";
|
|
77100
77105
|
return {
|
|
77101
77106
|
content: [
|
|
77102
|
-
{ type: "text", text:
|
|
77103
|
-
The person must open ${e.pending.approval.url}, review or edit the permissions, and choose Approve or Deny.
|
|
77104
|
-
Expires: ${e.pending.approval.expiresAt}. Only the person's decision in Cotal counts; do not open the decision page or approve on their behalf.
|
|
77105
|
-
After they approve, retry cotal_connect with name ${JSON.stringify(candidate2)}${resume} and the same requested permissions. Do not poll or start another request while waiting.` },
|
|
77107
|
+
{ type: "text", text: message },
|
|
77106
77108
|
{ type: "text", text: JSON.stringify(structuredContent) }
|
|
77107
77109
|
],
|
|
77108
77110
|
structuredContent
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cotal-ai/connector-claude-code",
|
|
3
3
|
"description": "Cotal connector for Claude Code: an installed plugin that joins a session to the mesh.",
|
|
4
|
-
"version": "0.94.
|
|
4
|
+
"version": "0.94.2",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"@cotal-ai/core": ">=0.1.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@cotal-ai/connector-core": "0.94.
|
|
29
|
-
"@cotal-ai/core": "0.94.
|
|
28
|
+
"@cotal-ai/connector-core": "0.94.2",
|
|
29
|
+
"@cotal-ai/core": "0.94.2",
|
|
30
30
|
"@cotal-ai/smoke-kit": "0.0.0",
|
|
31
31
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
32
32
|
"@nats-io/transport-node": "^3.4.0",
|