@agentwares/agentguard 0.1.0 → 0.1.1
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/README.md +1 -1
- package/dist/cli.js +2 -2
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/llms.txt +5 -5
- package/package.json +7 -4
- package/server.json +5 -5
package/README.md
CHANGED
|
@@ -156,7 +156,7 @@ HTTP control endpoints (token in `.agentguard/http.json`): `GET /health`, `GET /
|
|
|
156
156
|
## Try it with the fixtures
|
|
157
157
|
|
|
158
158
|
```sh
|
|
159
|
-
git clone https://github.com/agentwares/
|
|
159
|
+
git clone https://github.com/agentwares/agentguard && cd agentguard && pnpm install && pnpm build
|
|
160
160
|
cd apps/agentguard-cli
|
|
161
161
|
cat > agentguard.yaml <<'YAML'
|
|
162
162
|
mode: dry-run
|
package/dist/cli.js
CHANGED
|
@@ -3489,7 +3489,7 @@ function renderStarterPolicy(opts) {
|
|
|
3489
3489
|
const probeNotes = (opts.probeErrors ?? []).map((e) => `# ! ${e}`);
|
|
3490
3490
|
const upstreamsYaml = opts.upstreams.length ? dump({ upstreams: opts.upstreams.map(cleanUpstream) }) : 'upstreams: []\n # - name: crm\n # url: https://mcp.example.com/mcp\n # auth: ${CRM_TOKEN}\n # - name: files\n # command: npx\n # args: [-y, "@modelcontextprotocol/server-filesystem", "."]';
|
|
3491
3491
|
return `# agentguard.yaml \u2014 generated by \`agentguard init\` on ${date}
|
|
3492
|
-
# Every knob is explained inline. Docs: https://github.com/agentwares/
|
|
3492
|
+
# Every knob is explained inline. Docs: https://github.com/agentwares/agentguard/tree/main/apps/agentguard-cli#policy
|
|
3493
3493
|
version: 1
|
|
3494
3494
|
|
|
3495
3495
|
# dry-run: reads pass through; writes and spends are FAKED (plausible success, nothing executes)
|
|
@@ -4096,7 +4096,7 @@ var HELP = `agentguard \u2014 MCP policy proxy for agents that touch production
|
|
|
4096
4096
|
agentguard permission-diff [--base ref] [--head ref] [--paths a,b] [--format markdown|json] [--fail-on-widen]
|
|
4097
4097
|
|
|
4098
4098
|
Options: --config <agentguard.yaml> (or AGENTGUARD_CONFIG), --json, --help, --version
|
|
4099
|
-
Docs: https://github.com/agentwares/
|
|
4099
|
+
Docs: https://github.com/agentwares/agentguard/tree/main/apps/agentguard-cli`;
|
|
4100
4100
|
async function main(argv, io = defaultIo()) {
|
|
4101
4101
|
const args = parseArgs(argv);
|
|
4102
4102
|
if (args.flags.version) {
|