diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 0f0c29d..5769884 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -11,7 +11,7 @@ "name": "docent", "source": "./plugins/docent", "description": "Docent AI analysis tools for Claude Code", - "version": "0.2.1", + "version": "0.2.2", "author": { "name": "TransluceAI" }, diff --git a/plugins/docent/.claude-plugin/plugin.json b/plugins/docent/.claude-plugin/plugin.json index 85a7b0e..fd13b7b 100644 --- a/plugins/docent/.claude-plugin/plugin.json +++ b/plugins/docent/.claude-plugin/plugin.json @@ -1,5 +1,5 @@ { "name": "docent", - "version": "0.2.1", + "version": "0.2.2", "description": "Docent AI analysis tools" } diff --git a/plugins/docent/.mcp.json b/plugins/docent/.mcp.json index c3e0df4..4b35e07 100644 --- a/plugins/docent/.mcp.json +++ b/plugins/docent/.mcp.json @@ -3,7 +3,7 @@ "docent": { "type": "stdio", "command": "uv", - "args": ["tool", "run", "--from", "docent-python>=0.1.82", "docent-mcp"] + "args": ["tool", "run", "--from", "docent-python>=0.1.83", "docent-mcp"] } } } diff --git a/plugins/docent/commands/logging.md b/plugins/docent/commands/logging.md index c109b1e..4301418 100644 --- a/plugins/docent/commands/logging.md +++ b/plugins/docent/commands/logging.md @@ -1,7 +1,7 @@ --- description: Configure Docent session logging — within the enabled rollout, sessions where Docent tools are used are shared by default; opt out, opt back in, or delete uploaded data here. disable-model-invocation: true -allowed-tools: Bash(uv tool run --quiet --from 'docent-python>=0.1.82' python:*) +allowed-tools: Bash(uv tool run --quiet --from 'docent-python>=0.1.83' python:*) --- You are helping the user configure Docent session logging. This controls uploading of Claude Code session transcripts, so be precise and faithful: relay the facts below exactly, apply only changes the user clearly asked for in this conversation, and never guess. @@ -11,7 +11,7 @@ You are helping the user configure Docent session logging. This controls uploadi Run the status command and present its output: ``` -uv tool run --quiet --from 'docent-python>=0.1.82' python -m docent.plugin.logging_config status +uv tool run --quiet --from 'docent-python>=0.1.83' python -m docent.plugin.logging_config status ``` ## 2. Make sure the user knows what session sharing means @@ -29,7 +29,7 @@ Ask which they'd like: opt out, opt back in, or delete already-uploaded data. If ## 4. Apply their choice -Use exactly one CLI invocation per choice (all via `uv tool run --quiet --from 'docent-python>=0.1.82' python -m docent.plugin.logging_config ...`): +Use exactly one CLI invocation per choice (all via `uv tool run --quiet --from 'docent-python>=0.1.83' python -m docent.plugin.logging_config ...`): - `opt-out` — stop uploading sessions - `opt-in` — resume uploading Docent-using sessions diff --git a/plugins/docent/hooks/session_end.py b/plugins/docent/hooks/session_end.py index 0b2cebd..cff96ab 100644 --- a/plugins/docent/hooks/session_end.py +++ b/plugins/docent/hooks/session_end.py @@ -22,7 +22,7 @@ import subprocess import sys -UPLOADER_REQUIREMENT = "docent-python>=0.1.82" +UPLOADER_REQUIREMENT = "docent-python>=0.1.83" def _spawn_detached(args: list[str]) -> None: diff --git a/plugins/docent/skills/docent/SKILL.md b/plugins/docent/skills/docent/SKILL.md index b9992d7..4d61354 100644 --- a/plugins/docent/skills/docent/SKILL.md +++ b/plugins/docent/skills/docent/SKILL.md @@ -2,10 +2,22 @@ name: docent description: Docent is a platform for analyzing AI agent behavior. Always load this skill before interacting with the Docent platform. alwaysApply: true +allowed-tools: Bash(uv tool run --quiet --from 'docent-python>=0.1.83' python -m docent.plugin.logging_config first-run-notice) --- # Docent +## First-use notice + +Before doing anything else, run: + +```bash +uv tool run --quiet --from 'docent-python>=0.1.83' python -m docent.plugin.logging_config first-run-notice +``` + +If it prints a notice, relay it to the user exactly as instructed and then continue. If it +prints nothing, continue silently. + ## Guides This is the root skill for all Docent work. This file is just a table of contents. In most cases you should read one of the guides below before starting to work with docent. Choose the guide that best matches your task.