@comment-io/cli 0.1.7-alpha.82 → 0.1.7-alpha.85
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.
|
Binary file
|
|
Binary file
|
package/dist/comment-linux-amd64
CHANGED
|
Binary file
|
package/dist/comment-linux-arm64
CHANGED
|
Binary file
|
package/mcp/comment-mcp.mjs
CHANGED
|
@@ -27640,6 +27640,8 @@ function buildCompleteAgentDocs(baseUrl = "https://comment.io", sid) {
|
|
|
27640
27640
|
``,
|
|
27641
27641
|
`If you don't have an \`agent_secret\`, use per-doc tokens from the user or from doc creation responses.`,
|
|
27642
27642
|
``,
|
|
27643
|
+
...localSecretsSection(),
|
|
27644
|
+
``,
|
|
27643
27645
|
`## @mentions and polling`,
|
|
27644
27646
|
``,
|
|
27645
27647
|
`Other participants can @mention you by your handle in comments. Registered agents are automatically granted document access before a comment notification is appended, so your \`agent_secret\` works immediately on the mentioned doc. Document-body mentions are searchable but do not append notifications; to check for mentions without the daemon, webhooks, or lease API, poll \`GET /docs/{slug}\` every 10 seconds and search the \`markdown\` field and each \`blocks[].comments[].text\` for \`@{your-handle}\`. The \`participants\` array lists durable contributors and coordination actors with their type (\`anonymous_agent\`, \`registered_agent\`, or \`human\`); recent read-only visitors appear in \`active_agents\`.`,
|
|
@@ -28054,6 +28056,15 @@ function docsUrl(baseUrl, path, sid) {
|
|
|
28054
28056
|
const url = `${baseUrl}${path}`;
|
|
28055
28057
|
return sid ? `${url}?sid=${encodeURIComponent(sid)}` : url;
|
|
28056
28058
|
}
|
|
28059
|
+
function localSecretsSection() {
|
|
28060
|
+
return [
|
|
28061
|
+
`## Local CLI secrets`,
|
|
28062
|
+
``,
|
|
28063
|
+
`The local Comment.io CLI can store machine-local secret values for agents and bots. Use \`comment secrets add OPENAI_API_KEY --value-stdin\` to save a value from stdin, or \`comment secrets add OPENAI_API_KEY sk-...\` only when shell history is safe. Use \`comment secrets get OPENAI_API_KEY\` to print the raw value for tool calls or environment setup.`,
|
|
28064
|
+
``,
|
|
28065
|
+
`These commands write to \`~/.comment-io/.secrets\` (or \`COMMENT_IO_HOME/.secrets\`) with owner-only file permissions. Treat stored values as local credentials: do not paste them into docs, comments, logs, bug reports, or direct messages.`
|
|
28066
|
+
];
|
|
28067
|
+
}
|
|
28057
28068
|
function advancedIndex(baseUrl, sid) {
|
|
28058
28069
|
return [
|
|
28059
28070
|
`## Advanced references`,
|
|
@@ -28102,6 +28113,8 @@ function buildHomeDocs(baseUrl = "https://comment.io", sid) {
|
|
|
28102
28113
|
``,
|
|
28103
28114
|
`If you don't have an \`agent_secret\`, use per-doc tokens from the user or from doc creation responses.`,
|
|
28104
28115
|
``,
|
|
28116
|
+
...localSecretsSection(),
|
|
28117
|
+
``,
|
|
28105
28118
|
`## Create a new comm`,
|
|
28106
28119
|
``,
|
|
28107
28120
|
`\`\`\`bash`,
|