@event4u/agent-config 17.2.1 → 17.4.0
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/.augment-plugin/marketplace.json +3 -3
- package/.augment-plugin/plugin.json +1 -1
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/skills/install-agent-config/SKILL.md +9 -9
- package/CHANGELOG.md +167 -193
- package/CREDITS.md +2 -2
- package/README.md +1 -1
- package/dist/agent-src/skills/code-intelligence/SKILL.md +16 -12
- package/dist/agent-src/templates/agents/agent-project-settings.example.yml +1 -1
- package/dist/agent-src/templates/scripts/check_memory.ts +1 -1
- package/dist/cli/commands/recordTriggerEval.js +1 -1
- package/dist/cli/registry.js +2 -2
- package/dist/cli-delegate/{chunk-KR5ZIFPO.js → chunk-5AYJGUA3.js} +1 -3
- package/dist/cli-delegate/chunk-DIFZBP4G.js +1336 -0
- package/dist/cli-delegate/chunk-E7ACTJTJ.js +6792 -0
- package/dist/cli-delegate/{chunk-VYZGJLCA.js → chunk-RKNT4LIK.js} +22 -1286
- package/dist/cli-delegate/{chunk-BZJ4Y3CI.js → chunk-WY5ZZPGL.js} +2 -2
- package/dist/cli-delegate/{chunk-CMZEKSNN.js → chunk-X6LZ7W5A.js} +73 -10
- package/dist/cli-delegate/cmd_conformance.js +190 -192
- package/dist/cli-delegate/cmd_doctor.js +5 -5
- package/dist/cli-delegate/cmd_doctor_neighbours.js +3 -3
- package/dist/cli-delegate/cmd_explain.js +1 -1
- package/dist/cli-delegate/cmd_export.js +2 -2
- package/dist/cli-delegate/cmd_handoff.js +2 -2
- package/dist/cli-delegate/cmd_memory_get.js +1 -1
- package/dist/cli-delegate/cmd_prune.js +2 -2
- package/dist/cli-delegate/cmd_route_audit.js +1 -1
- package/dist/cli-delegate/cmd_session_recycle.js +2 -2
- package/dist/cli-delegate/cmd_settings_migrate.js +2 -2
- package/dist/cli-delegate/cmd_settings_set.js +8 -4
- package/dist/cli-delegate/cmd_sync.js +2 -2
- package/dist/cli-delegate/cmd_uninstall.js +2 -2
- package/dist/cli-delegate/cmd_update.js +24 -13
- package/dist/cli-delegate/cmd_upgrade.js +2 -2
- package/dist/cli-delegate/cmd_validate.js +2 -2
- package/dist/cli-delegate/dist-25AZAHOP.js +3240 -0
- package/dist/cli-delegate/dist-P7MFPMF3.js +411 -0
- package/dist/cli-delegate/dist-XAS5ZLQB.js +6 -0
- package/dist/cli-delegate/{upgrade_unattended-VVL6JLSX.js → upgrade_unattended-QCWOKTUN.js} +178 -163
- package/dist/discovery/deprecation-report.md +1 -1
- package/dist/discovery/discovery-manifest.json +3 -3
- package/dist/discovery/discovery-manifest.json.sha256 +1 -1
- package/dist/discovery/discovery-manifest.summary.md +1 -1
- package/dist/discovery/dormancy-report.md +1 -1
- package/dist/discovery/orphan-report.md +1 -1
- package/dist/discovery/packs.json +2 -2
- package/dist/discovery/trust-report.md +1 -1
- package/dist/discovery/workspaces.json +2 -2
- package/dist/hooks/code_graph_refresh.chunk.cjs +443 -0
- package/dist/hooks/code_graph_refresh.chunk.cjs.sha256 +1 -0
- package/dist/hooks/dispatch.js +1001 -938
- package/dist/hooks/dispatch.sha256 +1 -1
- package/dist/hooks/egress_engine.chunk.cjs +57 -7
- package/dist/hooks/egress_engine.chunk.cjs.sha256 +1 -1
- package/dist/hooks/update_notice.chunk.cjs +914 -0
- package/dist/hooks/update_notice.chunk.cjs.sha256 +1 -0
- package/dist/install/install.mjs +6974 -6037
- package/dist/mcp/mcp-cloudflare-catalogue.json +1 -0
- package/dist/mcp/registry-manifest.json +3 -2
- package/dist/mcp/server.json +13 -4
- package/dist/mcp/server.mjs +71202 -63282
- package/dist/scripts/_lib/egress_rules.js +8 -2
- package/dist/scripts/condense.js +18 -15
- package/dist/server/routes/discovery.js +1 -1
- package/dist/server/routes/install.js +1 -1
- package/dist/server/routes/ping.js +1 -1
- package/dist/server/routes/schema.js +4 -4
- package/dist/server/routes/settings.js +2 -6
- package/dist/server/routes/wizard.js +6 -6
- package/dist/server/schemas/settings.js +42 -42
- package/dist/shared/settingsSurface.js +1 -1
- package/dist/shared/userMd/schema.js +1 -1
- package/dist/shared/zodJsonSchema.js +47 -0
- package/dist/ui/assets/index-B0bcIgi0.js +77 -0
- package/dist/ui/index.html +1 -1
- package/package.json +6 -3
- package/src/agent-src/templates/scripts/check_memory.ts +1 -1
- package/src/config/ci-local-parity.yml +11 -0
- package/src/config/continuity-surface.json +9 -2
- package/src/config/evaluator-budgets.json +9 -8
- package/src/config/gate-violation-baselines.json +3 -3
- package/src/config/gitignore-block.txt +6 -5
- package/src/config/hook-bundle-budget.json +46 -6
- package/src/config/pack-size-budget.json +12 -1
- package/src/config/packed-binary-manifest.json +18 -0
- package/src/config/sigstore/npm_keys.json +50 -0
- package/src/config/sigstore/trust-material.json +9 -0
- package/src/config/sigstore/trusted_root.json +126 -0
- package/src/config/skill-body-budget.json +7 -1
- package/src/scripts/_cli/cmd_settings_set.ts +3 -2
- package/src/scripts/_cli/cmd_update.ts +48 -20
- package/src/scripts/_cli/cmd_upgrade.ts +7 -1
- package/src/scripts/_cli/upgrade_unattended.ts +90 -76
- package/src/scripts/_dispatch.bash +4 -3
- package/src/scripts/_lib/confusables.ts +0 -19
- package/src/scripts/_lib/egress_normalize.ts +53 -23
- package/src/scripts/_lib/egress_rules.ts +8 -2
- package/src/scripts/_lib/egress_text.ts +5 -3
- package/src/scripts/_lib/egress_token.ts +7 -5
- package/src/scripts/_lib/gate_collector_experimental.ts +633 -0
- package/src/scripts/_lib/git_common_dir.ts +10 -0
- package/src/scripts/_lib/graph_feeder_record.ts +3 -2
- package/src/scripts/_lib/install_reach_checks.ts +32 -2
- package/src/scripts/_lib/lineage_backfill.ts +136 -0
- package/src/scripts/_lib/lineage_ledger.ts +211 -0
- package/src/scripts/_lib/lineage_map.ts +55 -0
- package/src/scripts/_lib/lineage_query.ts +140 -0
- package/src/scripts/_lib/lineage_seed.ts +116 -0
- package/src/scripts/_lib/lineage_watch.ts +249 -0
- package/src/scripts/_lib/link_crypto.ts +8 -4
- package/src/scripts/_lib/listing_manifests.ts +85 -0
- package/src/scripts/_lib/neighbour_census.ts +1 -0
- package/src/scripts/_lib/production_reach.ts +3 -3
- package/src/scripts/_lib/project_registry.ts +227 -0
- package/src/scripts/_lib/provenance_verify.ts +14 -242
- package/src/scripts/_lib/release_settings_surface.ts +2 -6
- package/src/scripts/_lib/sigstore_provenance.ts +177 -0
- package/src/scripts/_lib/source_id.ts +48 -0
- package/src/scripts/_lib/source_shape.ts +4 -0
- package/src/scripts/_lib/unattended_gates.ts +6 -1
- package/src/scripts/adoption_status.ts +231 -27
- package/src/scripts/advisories.ts +26 -10
- package/src/scripts/ai_council/council_egress.ts +5 -6
- package/src/scripts/bench_graph_feeder_latency.ts +10 -3
- package/src/scripts/build_mcp_registry_manifest.ts +23 -12
- package/src/scripts/check_dependency_floors.ts +14 -0
- package/src/scripts/check_egress_mutations.ts +1 -0
- package/src/scripts/check_release_manifest_content.ts +17 -2
- package/src/scripts/check_release_pr_shape.ts +5 -0
- package/src/scripts/code_graph/build.ts +145 -45
- package/src/scripts/code_graph/cli.ts +382 -35
- package/src/scripts/code_graph/conventions_default.ts +247 -0
- package/src/scripts/code_graph/detect.ts +5 -5
- package/src/scripts/code_graph/estate_cli.ts +135 -0
- package/src/scripts/code_graph/estate_index.ts +394 -0
- package/src/scripts/code_graph/estate_manifests.ts +223 -0
- package/src/scripts/code_graph/estate_map.ts +141 -0
- package/src/scripts/code_graph/extract.ts +8 -2
- package/src/scripts/code_graph/extract_more.ts +241 -2
- package/src/scripts/code_graph/graph_budget.ts +158 -0
- package/src/scripts/code_graph/graph_home.ts +80 -0
- package/src/scripts/code_graph/lineage_cli.ts +315 -0
- package/src/scripts/code_graph/loader.ts +10 -2
- package/src/scripts/code_graph/map.ts +195 -53
- package/src/scripts/code_graph/map_model.ts +113 -20
- package/src/scripts/code_graph/map_verify.ts +80 -5
- package/src/scripts/code_graph/map_viewer/viewer.css +18 -0
- package/src/scripts/code_graph/map_viewer/viewer.js +146 -15
- package/src/scripts/code_graph/passes.ts +173 -0
- package/src/scripts/code_graph/project_ref.ts +25 -0
- package/src/scripts/code_graph/projects_cli.ts +254 -0
- package/src/scripts/code_graph/providers/angular.ts +55 -0
- package/src/scripts/code_graph/providers/aspnetcore.ts +182 -0
- package/src/scripts/code_graph/providers/catalog.ts +299 -0
- package/src/scripts/code_graph/providers/django.ts +206 -0
- package/src/scripts/code_graph/providers/express.ts +25 -0
- package/src/scripts/code_graph/providers/fastapi.ts +49 -0
- package/src/scripts/code_graph/providers/flask.ts +99 -0
- package/src/scripts/code_graph/providers/go_http.ts +121 -0
- package/src/scripts/code_graph/providers/index.ts +103 -0
- package/src/scripts/code_graph/{laravel_overlay.ts → providers/laravel.ts} +113 -7
- package/src/scripts/code_graph/providers/nestjs.ts +34 -0
- package/src/scripts/code_graph/providers/nextjs.ts +91 -0
- package/src/scripts/code_graph/providers/nuxt.ts +55 -0
- package/src/scripts/code_graph/providers/rails.ts +204 -0
- package/src/scripts/code_graph/providers/react-router.ts +58 -0
- package/src/scripts/code_graph/providers/shared/detect.ts +78 -0
- package/src/scripts/code_graph/providers/shared/extractors.ts +249 -0
- package/src/scripts/code_graph/providers/shared/js.ts +252 -0
- package/src/scripts/code_graph/providers/shared/kit.ts +210 -0
- package/src/scripts/code_graph/providers/shared/php.ts +64 -0
- package/src/scripts/code_graph/providers/shared/python.ts +223 -0
- package/src/scripts/code_graph/providers/spring.ts +175 -0
- package/src/scripts/code_graph/providers/sqlalchemy.ts +62 -0
- package/src/scripts/code_graph/providers/sveltekit.ts +59 -0
- package/src/scripts/code_graph/providers/symfony.ts +142 -0
- package/src/scripts/code_graph/providers/typeorm.ts +58 -0
- package/src/scripts/code_graph/providers/types.ts +56 -0
- package/src/scripts/code_graph/providers/vue-router.ts +21 -0
- package/src/scripts/code_graph/providers/wordpress.ts +128 -0
- package/src/scripts/code_graph/query.ts +9 -9
- package/src/scripts/code_graph/refresh_cli.ts +81 -0
- package/src/scripts/code_graph/refresh_lock.ts +197 -0
- package/src/scripts/code_graph/repo_identity.ts +169 -0
- package/src/scripts/code_graph/resolution_tiers.ts +19 -7
- package/src/scripts/code_graph/scip_reader.ts +2 -2
- package/src/scripts/code_graph/sqlite_store.ts +31 -28
- package/src/scripts/code_graph/types.ts +79 -41
- package/src/scripts/code_graph/validate.ts +6 -8
- package/src/scripts/condense.ts +15 -15
- package/src/scripts/generate_settings_reference.ts +2 -6
- package/src/scripts/hook_chunks.mjs +11 -0
- package/src/scripts/hook_manifest.json +1 -1
- package/src/scripts/hook_manifest.yaml +43 -23
- package/src/scripts/hooks/code_graph_refresh_hook.ts +163 -0
- package/src/scripts/hooks/dispatch_hook.ts +6 -7
- package/src/scripts/hooks/host_semantics.ts +72 -0
- package/src/scripts/hooks/lazy_concern.ts +8 -0
- package/src/scripts/hooks/user_notice.ts +105 -0
- package/src/scripts/install-hooks.sh +54 -33
- package/src/scripts/install.ts +2 -6
- package/src/scripts/lint_harvest_provenance.ts +137 -11
- package/src/scripts/lint_hook_manifest.ts +2 -0
- package/src/scripts/lint_marketplace.ts +33 -0
- package/src/scripts/lint_mcp_registry_manifest.ts +36 -0
- package/src/scripts/mcp_server/consumer_tool_catalog.json +70 -15
- package/src/scripts/mcp_server/graph_tools.ts +165 -41
- package/src/scripts/network_sources.ts +24 -6
- package/src/scripts/release.ts +2 -5
- package/src/scripts/release_drill.ts +4 -1
- package/src/scripts/release_env.ts +17 -0
- package/src/scripts/release_mix_taxonomy.json +3 -0
- package/src/scripts/schemas/provenance-mechanism.schema.json +46 -0
- package/src/scripts/update_notice_hook.ts +75 -7
- package/src/server/schemas/settings.ts +42 -42
- package/src/shared/settingsSurface.ts +1 -1
- package/src/shared/userMd/schema.ts +1 -1
- package/src/shared/zodJsonSchema.ts +41 -0
- package/src/vendor/grammars/README.md +8 -6
- package/src/vendor/grammars/tree-sitter-c_sharp.wasm +0 -0
- package/src/vendor/grammars/tree-sitter-ruby.wasm +0 -0
- package/dist/cli-delegate/chunk-XIAPY44N.js +0 -4587
- package/dist/ui/assets/index-w70Ado09.js +0 -23
- /package/dist/cli-delegate/{chunk-FKYZOWVD.js → chunk-QBAFP67O.js} +0 -0
- /package/dist/cli-delegate/{chunk-BMGUGSY6.js → chunk-TQG6UMPC.js} +0 -0
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
* - metadata.version must match package.json (single source of truth)
|
|
18
18
|
* - every version field in BOTH .augment-plugin/ manifests matches
|
|
19
19
|
* package.json too — see check_augment_manifests()
|
|
20
|
+
* - the Copilot plugin and Gemini extension match it in `version` and in the
|
|
21
|
+
* pinned `npx` argument — see check_listing_manifests()
|
|
20
22
|
* - the union of plugins[].skills[] must be EXACTLY the pointer skill
|
|
21
23
|
* (./.claude-plugin/skills/install-agent-config) — a repopulated
|
|
22
24
|
* content-skill list FAILS by design
|
|
@@ -29,6 +31,7 @@ import fs from "node:fs";
|
|
|
29
31
|
import path from "node:path";
|
|
30
32
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
31
33
|
|
|
34
|
+
import { LISTING_MANIFESTS, listingVersionFindings } from "./_lib/listing_manifests.js";
|
|
32
35
|
import { assertWatchlistResolves, DeadScopeError } from "./_lib/scan_scope.js";
|
|
33
36
|
|
|
34
37
|
const ROOT = ".";
|
|
@@ -149,6 +152,34 @@ export function check_augment_manifests(
|
|
|
149
152
|
}
|
|
150
153
|
}
|
|
151
154
|
|
|
155
|
+
/**
|
|
156
|
+
* The Copilot discovery plugin and the Gemini extension carry the package
|
|
157
|
+
* version AND pin it inside their `npx` arguments; a crawler installs from the
|
|
158
|
+
* default branch, so either copy drifting ships a stale server to every new
|
|
159
|
+
* install. Same sync rule as the Augment twins, plus the pin.
|
|
160
|
+
*/
|
|
161
|
+
export function check_listing_manifests(
|
|
162
|
+
pkgVersion: string,
|
|
163
|
+
errors: string[],
|
|
164
|
+
base: string = ROOT,
|
|
165
|
+
): void {
|
|
166
|
+
for (const rel of LISTING_MANIFESTS) {
|
|
167
|
+
const file = path.join(base, rel);
|
|
168
|
+
if (!_exists(file)) {
|
|
169
|
+
errors.push(`${file} not found (a listing manifest the release version-syncs)`);
|
|
170
|
+
continue;
|
|
171
|
+
}
|
|
172
|
+
let data: unknown;
|
|
173
|
+
try {
|
|
174
|
+
data = JSON.parse(fs.readFileSync(file, "utf-8"));
|
|
175
|
+
} catch (e) {
|
|
176
|
+
errors.push(`${file} is not valid JSON: ${e instanceof Error ? e.message : String(e)}`);
|
|
177
|
+
continue;
|
|
178
|
+
}
|
|
179
|
+
errors.push(...listingVersionFindings(file, data, pkgVersion));
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
152
183
|
/** Resolve a key path, expanding `*` over array indices. Returns [label, value]. */
|
|
153
184
|
function _resolveVersionField(
|
|
154
185
|
data: JsonValue,
|
|
@@ -185,6 +216,7 @@ export function main(): number {
|
|
|
185
216
|
".claude-plugin/marketplace.json",
|
|
186
217
|
".augment-plugin/plugin.json",
|
|
187
218
|
".augment-plugin/marketplace.json",
|
|
219
|
+
...LISTING_MANIFESTS,
|
|
188
220
|
"package.json",
|
|
189
221
|
`${POINTER_SKILL_ENTRY.replace(/^\.\//, "")}/SKILL.md`,
|
|
190
222
|
],
|
|
@@ -248,6 +280,7 @@ export function main(): number {
|
|
|
248
280
|
}
|
|
249
281
|
if (typeof pkgVersion === "string") {
|
|
250
282
|
check_augment_manifests(pkgVersion, errors);
|
|
283
|
+
check_listing_manifests(pkgVersion, errors);
|
|
251
284
|
}
|
|
252
285
|
}
|
|
253
286
|
} else {
|
|
@@ -27,6 +27,7 @@ import * as path from 'node:path';
|
|
|
27
27
|
import { fileURLToPath, pathToFileURL } from 'node:url';
|
|
28
28
|
|
|
29
29
|
import { assertWatchlistResolves, DeadScopeError } from './_lib/scan_scope.js';
|
|
30
|
+
import { REGISTRY_DESCRIPTION_MAX, SERVER_SCHEMA_URL } from './build_mcp_registry_manifest.js';
|
|
30
31
|
|
|
31
32
|
const _HERE = path.resolve(fileURLToPath(import.meta.url));
|
|
32
33
|
// ROOT = Path(__file__).resolve().parents[2]
|
|
@@ -286,6 +287,37 @@ function _validateSchema(data: Json, schema: JsonObject): SchemaError | null {
|
|
|
286
287
|
return errors.length ? errors[0]! : null;
|
|
287
288
|
}
|
|
288
289
|
|
|
290
|
+
/**
|
|
291
|
+
* What the live registry rejects or mis-installs, checked before a release
|
|
292
|
+
* publishes it: the schema pin, the 100-character description cap, and the
|
|
293
|
+
* `mcp-server` argument without which a client starts the bare CLI.
|
|
294
|
+
*/
|
|
295
|
+
export function checkRegistryPayload(server: JsonObject): string | null {
|
|
296
|
+
if (server['$schema'] !== SERVER_SCHEMA_URL) {
|
|
297
|
+
return `$schema must be ${SERVER_SCHEMA_URL} (got ${String(server['$schema'])})`;
|
|
298
|
+
}
|
|
299
|
+
const description = server['description'];
|
|
300
|
+
if (typeof description !== 'string' || description.length === 0) {
|
|
301
|
+
return 'description is missing — set package.json agentConfig.registryDescription';
|
|
302
|
+
}
|
|
303
|
+
if (description.length > REGISTRY_DESCRIPTION_MAX) {
|
|
304
|
+
return `description is ${description.length} characters; the registry accepts at most ${REGISTRY_DESCRIPTION_MAX}`;
|
|
305
|
+
}
|
|
306
|
+
const packages = server['packages'];
|
|
307
|
+
const first = Array.isArray(packages) ? (packages[0] as JsonObject | undefined) : undefined;
|
|
308
|
+
const args = first?.['packageArguments'];
|
|
309
|
+
const startsServer =
|
|
310
|
+
Array.isArray(args) &&
|
|
311
|
+
args.some((a) => {
|
|
312
|
+
const arg = a as JsonObject;
|
|
313
|
+
return arg['type'] === 'positional' && arg['value'] === 'mcp-server';
|
|
314
|
+
});
|
|
315
|
+
if (!startsServer) {
|
|
316
|
+
return 'the npm package entry has no positional `mcp-server` argument, so a client would start the CLI';
|
|
317
|
+
}
|
|
318
|
+
return null;
|
|
319
|
+
}
|
|
320
|
+
|
|
289
321
|
function main(argv: readonly string[]): number {
|
|
290
322
|
let args: Args;
|
|
291
323
|
try {
|
|
@@ -369,6 +401,10 @@ function main(argv: readonly string[]): number {
|
|
|
369
401
|
`(${String(pkg_for_gate['mcpName'])})`,
|
|
370
402
|
);
|
|
371
403
|
}
|
|
404
|
+
const registryProblem = checkRegistryPayload(server_payload);
|
|
405
|
+
if (registryProblem !== null) {
|
|
406
|
+
return _fail(`server.json: ${registryProblem}`);
|
|
407
|
+
}
|
|
372
408
|
|
|
373
409
|
if (!args.quiet) {
|
|
374
410
|
const registries = (manifest as JsonObject)['registries'];
|
|
@@ -237,6 +237,9 @@
|
|
|
237
237
|
"properties": {
|
|
238
238
|
"area": {
|
|
239
239
|
"type": "string"
|
|
240
|
+
},
|
|
241
|
+
"project": {
|
|
242
|
+
"type": "string"
|
|
240
243
|
}
|
|
241
244
|
},
|
|
242
245
|
"additionalProperties": false
|
|
@@ -247,7 +250,7 @@
|
|
|
247
250
|
},
|
|
248
251
|
{
|
|
249
252
|
"name": "graph_dead",
|
|
250
|
-
"description": "Symbols
|
|
253
|
+
"description": "Symbols no accepted reference and no declared entry point names. REFUSES (status `refused`) while a source is unreadable: without recorded exportedness an exported-but-unimported symbol looks dead. Never a deletion recommendation.",
|
|
251
254
|
"side_effect": "ro",
|
|
252
255
|
"implemented_on": [
|
|
253
256
|
"stdio"
|
|
@@ -257,12 +260,46 @@
|
|
|
257
260
|
"properties": {
|
|
258
261
|
"entry_points": {
|
|
259
262
|
"type": "string",
|
|
260
|
-
"description": "Path under this root
|
|
263
|
+
"description": "Path under this root: newline-separated ids or labels, `#` comments ok."
|
|
261
264
|
},
|
|
262
265
|
"accept_missing_exports": {
|
|
263
266
|
"type": "boolean",
|
|
264
267
|
"default": false,
|
|
265
268
|
"description": "Answer anyway, accepting the gap. Never a default."
|
|
269
|
+
},
|
|
270
|
+
"project": {
|
|
271
|
+
"type": "string"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"additionalProperties": false
|
|
275
|
+
},
|
|
276
|
+
"annotations": {
|
|
277
|
+
"readOnlyHint": true
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"name": "graph_estate",
|
|
282
|
+
"description": "Estate index across registered projects: package users, where a name is used, advisory reach. Other graph tools take `project`.",
|
|
283
|
+
"side_effect": "ro",
|
|
284
|
+
"implemented_on": [
|
|
285
|
+
"stdio"
|
|
286
|
+
],
|
|
287
|
+
"input_schema": {
|
|
288
|
+
"type": "object",
|
|
289
|
+
"required": [
|
|
290
|
+
"query"
|
|
291
|
+
],
|
|
292
|
+
"properties": {
|
|
293
|
+
"query": {
|
|
294
|
+
"type": "string",
|
|
295
|
+
"enum": [
|
|
296
|
+
"where-used",
|
|
297
|
+
"projects-using",
|
|
298
|
+
"advisory-impact"
|
|
299
|
+
]
|
|
300
|
+
},
|
|
301
|
+
"name": {
|
|
302
|
+
"type": "string"
|
|
266
303
|
}
|
|
267
304
|
},
|
|
268
305
|
"additionalProperties": false
|
|
@@ -273,7 +310,7 @@
|
|
|
273
310
|
},
|
|
274
311
|
{
|
|
275
312
|
"name": "graph_impact",
|
|
276
|
-
"description": "What a diff can break: callers, dependents and test files reaching the changed symbols
|
|
313
|
+
"description": "What a diff can break: callers, dependents and test files reaching the changed symbols, over stated-fact edges only (refused guesses reported). Runs `git diff` for the rev.",
|
|
277
314
|
"side_effect": "shell",
|
|
278
315
|
"implemented_on": [
|
|
279
316
|
"stdio"
|
|
@@ -298,6 +335,9 @@
|
|
|
298
335
|
"type": "boolean",
|
|
299
336
|
"default": false,
|
|
300
337
|
"description": "Instead return changed symbols no test imports."
|
|
338
|
+
},
|
|
339
|
+
"project": {
|
|
340
|
+
"type": "string"
|
|
301
341
|
}
|
|
302
342
|
},
|
|
303
343
|
"additionalProperties": false
|
|
@@ -315,7 +355,11 @@
|
|
|
315
355
|
],
|
|
316
356
|
"input_schema": {
|
|
317
357
|
"type": "object",
|
|
318
|
-
"properties": {
|
|
358
|
+
"properties": {
|
|
359
|
+
"project": {
|
|
360
|
+
"type": "string"
|
|
361
|
+
}
|
|
362
|
+
},
|
|
319
363
|
"additionalProperties": false
|
|
320
364
|
},
|
|
321
365
|
"annotations": {
|
|
@@ -324,7 +368,7 @@
|
|
|
324
368
|
},
|
|
325
369
|
{
|
|
326
370
|
"name": "graph_node",
|
|
327
|
-
"description": "One symbol in full: where it is declared, what reaches it, what it reaches,
|
|
371
|
+
"description": "One symbol in full: where it is declared, what reaches it, what it reaches, how connected it is. Resolves EXACTLY (node id, then label) and refuses anything else — never scores free text.",
|
|
328
372
|
"side_effect": "ro",
|
|
329
373
|
"implemented_on": [
|
|
330
374
|
"stdio"
|
|
@@ -347,7 +391,7 @@
|
|
|
347
391
|
"both"
|
|
348
392
|
],
|
|
349
393
|
"default": "both",
|
|
350
|
-
"description": "
|
|
394
|
+
"description": "`in` = who reaches it, `out` = what it reaches."
|
|
351
395
|
},
|
|
352
396
|
"depth": {
|
|
353
397
|
"type": "integer",
|
|
@@ -372,9 +416,13 @@
|
|
|
372
416
|
"migrates",
|
|
373
417
|
"persists",
|
|
374
418
|
"relates",
|
|
419
|
+
"injects",
|
|
375
420
|
"documents"
|
|
376
421
|
],
|
|
377
|
-
"description": "
|
|
422
|
+
"description": "One relation only; omit for all."
|
|
423
|
+
},
|
|
424
|
+
"project": {
|
|
425
|
+
"type": "string"
|
|
378
426
|
}
|
|
379
427
|
},
|
|
380
428
|
"additionalProperties": false
|
|
@@ -385,7 +433,7 @@
|
|
|
385
433
|
},
|
|
386
434
|
{
|
|
387
435
|
"name": "graph_path",
|
|
388
|
-
"description": "The shortest relation chain between two symbols, direction
|
|
436
|
+
"description": "The shortest relation chain between two symbols, direction kept: how A reaches B without reading the files between. `(no path found)` is an answer.",
|
|
389
437
|
"side_effect": "ro",
|
|
390
438
|
"implemented_on": [
|
|
391
439
|
"stdio"
|
|
@@ -408,8 +456,10 @@
|
|
|
408
456
|
"budget": {
|
|
409
457
|
"type": "integer",
|
|
410
458
|
"minimum": 1,
|
|
411
|
-
"default": 1500
|
|
412
|
-
|
|
459
|
+
"default": 1500
|
|
460
|
+
},
|
|
461
|
+
"project": {
|
|
462
|
+
"type": "string"
|
|
413
463
|
}
|
|
414
464
|
},
|
|
415
465
|
"additionalProperties": false
|
|
@@ -420,7 +470,7 @@
|
|
|
420
470
|
},
|
|
421
471
|
{
|
|
422
472
|
"name": "graph_query",
|
|
423
|
-
"description": "A symbol's direct outgoing relations
|
|
473
|
+
"description": "A symbol's direct outgoing relations (calls, imports, uses, inherits), each with its confidence and resolution mechanism: \"what does this touch\" before reading a file.",
|
|
424
474
|
"side_effect": "ro",
|
|
425
475
|
"implemented_on": [
|
|
426
476
|
"stdio"
|
|
@@ -438,8 +488,10 @@
|
|
|
438
488
|
"budget": {
|
|
439
489
|
"type": "integer",
|
|
440
490
|
"minimum": 1,
|
|
441
|
-
"default": 1500
|
|
442
|
-
|
|
491
|
+
"default": 1500
|
|
492
|
+
},
|
|
493
|
+
"project": {
|
|
494
|
+
"type": "string"
|
|
443
495
|
}
|
|
444
496
|
},
|
|
445
497
|
"additionalProperties": false
|
|
@@ -450,7 +502,7 @@
|
|
|
450
502
|
},
|
|
451
503
|
{
|
|
452
504
|
"name": "graph_tests_for",
|
|
453
|
-
"description": "
|
|
505
|
+
"description": "Test files that exercise a symbol: a test file imports it or its module. Empty means none does — a finding, not an error.",
|
|
454
506
|
"side_effect": "ro",
|
|
455
507
|
"implemented_on": [
|
|
456
508
|
"stdio"
|
|
@@ -463,7 +515,10 @@
|
|
|
463
515
|
"properties": {
|
|
464
516
|
"symbol": {
|
|
465
517
|
"type": "string",
|
|
466
|
-
"description": "Node id
|
|
518
|
+
"description": "Node id, label, or free text."
|
|
519
|
+
},
|
|
520
|
+
"project": {
|
|
521
|
+
"type": "string"
|
|
467
522
|
}
|
|
468
523
|
},
|
|
469
524
|
"additionalProperties": false
|