Repository navigation
Agents get everything a DirXMLDev install gives them: MCP, personal tokens, the agent kit - #158
Merged
Merged
Conversation
The server answers MCP (JSON-RPC over HTTP POST, stateless) with 22 tools, each an in-process call to its own API with the caller's headers: same sign-in, origin check, roles, audit, write lock and production gate. People make tokens for their agents (/api/agent-tokens), which act as them, marked 'via' the token's label in the audit; only a hash is kept, roles follow the person, an agent cannot make tokens. agent.tokens / agent.tokens.maxDays in hosted.properties. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Agent kit: AGENTS.md / CLAUDE.md for this install, the dirxml-dev and dirxml-policy-testing skills (each told where its commands are here) and the agent docs; in the image at /opt/idmweb/agent-kit, written to agent/ by setup, downloadable from the page (/api/agent-kit, with the server's MCP URL). - sim and apps in the image beside idm, all three run in the person's workspace (bin/inworkspace). - The page: agent tokens… next to your name: make, list, revoke; the command that connects Claude Code; the kit download. - docs/agents.md; quickstart and hosted-mode; smoke-container checks sim, apps, /mcp and the kit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lease 0.72.0 The kit is served as dirxmldev://kit/ resources (version and MCP address filled in), with prompts setup (rules, skills, docs, orient) and orient. The token dialog gives the setup text to paste into agents without MCP prompts; it holds no token. Pins DirXMLDev 0.50.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Needs DirXMLDev 0.50.0 (PointBlueTechnology/DirXMLDev, branch
apps-split-files): the image takesbin/appsfrom the core at its pinned tag. Release core 0.50.0 first, then pin it here.Why
Someone who installs DirXMLDevWeb should get, for their agents, everything installing DirXMLDev gives: the CLIs, the skills and docs of this version, and an MCP server. The server should act for a person, under that person's roles. Design: docs/agents.md.
What
MCP at
/mcp. JSON-RPC over HTTP POST, stateless;GETanswers 405.Personal agent tokens: agent tokens… next to your name.
viathe token's label.users/<subject>/agent-tokens.json, owner-only.agent.tokensandagent.tokens.maxDays.claude mcp addcommand and offers the kit as a download.The agent kit:
AGENTS.mdandCLAUDE.mdfor this install;dirxml-devskill (from DirXMLDev) and thedirxml-policy-testingskill (from DirXMLSimulator), each with a note on where its commands are here;It's in the image,
setupwrites it toagent/, and/api/agent-kitserves it with the server's MCP address. The image workflow now also checks out DirXMLSimulator at its tag.simandappsin the image besideidm. All three run in the person's workspace, through a sharedbin/inworkspace.Docs:
docs/agents.md(new), plus the quickstart, hosted-mode and the CHANGELOG.Checked
AgentTokensTest), 54 page tests,bin/smoke.sh.bin/smoke-hosted.sh(110 checks), new ones:GETgets 405;via.bin/smoke-container.shagainst a locally built image:sim,apps,/mcp, and the kit with both skills and the MCP address.setup, compose up):agent/is written with the address filled in;via claude-test, and revoke.🤖 Generated with Claude Code