Files
Michał Pierzchała 4f5a87b6b3 refactor(command-registry): move CLI flag grammar, text and command aliases down (#2561)
Move the vocabulary that both the CLI and commands read but no command's runtime
depends on into the package below both: flag types, registry, groups and the four
flag-definitions files, command-text, and cli-command-aliases. These are pure moves;
only their import specifiers change.

No compat re-export at the old paths — every consumer switches to the owning
subpath. The per-command defaults stay where they are for now (the daemon's edge into
the facet resolver is the harder cut and belongs with the daemon-closure work).

Part of #2545 / #2543.
2026-09-14 11:27:22 +02:00

96 lines
2.8 KiB
JSON

{
"name": "@agent-device/command-registry",
"version": "0.0.0",
"private": true,
"sideEffects": false,
"type": "module",
"description": "The command descriptor registry: the single declaration of every command's surface, runtime-use, batch, timeout, and platform-execution traits, plus the catalogs and projections derived from it.",
"dependencies": {
"@agent-device/contracts": "workspace:*",
"@agent-device/kernel": "workspace:*",
"@agent-device/selectors": "workspace:*"
},
"exports": {
"./registry": {
"types": "./src/registry.ts",
"default": "./src/registry.ts"
},
"./planned-operations": {
"types": "./src/planned-operations.ts",
"default": "./src/planned-operations.ts"
},
"./catalog": {
"types": "./src/catalog.ts",
"default": "./src/catalog.ts"
},
"./types": {
"types": "./src/types.ts",
"default": "./src/types.ts"
},
"./timeout-policy": {
"types": "./src/timeout-policy.ts",
"default": "./src/timeout-policy.ts"
},
"./command-result": {
"types": "./src/command-result.ts",
"default": "./src/command-result.ts"
},
"./daemon-command-descriptor": {
"types": "./src/daemon-command-descriptor.ts",
"default": "./src/daemon-command-descriptor.ts"
},
"./derive": {
"types": "./src/derive.ts",
"default": "./src/derive.ts"
},
"./owner-files": {
"types": "./src/owner-files.ts",
"default": "./src/owner-files.ts"
},
"./platform-execution-entry": {
"types": "./src/platform-execution-entry.ts",
"default": "./src/platform-execution-entry.ts"
},
"./post-action-observation": {
"types": "./src/post-action-observation.ts",
"default": "./src/post-action-observation.ts"
},
"./parse-timeout": {
"types": "./src/parse-timeout.ts",
"default": "./src/parse-timeout.ts"
},
"./wait-positionals": {
"types": "./src/wait-positionals.ts",
"default": "./src/wait-positionals.ts"
},
"./batch": {
"types": "./src/batch.ts",
"default": "./src/batch.ts"
},
"./batch-policy": {
"types": "./src/batch-policy.ts",
"default": "./src/batch-policy.ts"
},
"./flag-types": {
"types": "./src/flag-types.ts",
"default": "./src/flag-types.ts"
},
"./flag-registry": {
"types": "./src/flag-registry.ts",
"default": "./src/flag-registry.ts"
},
"./flag-groups": {
"types": "./src/flag-groups.ts",
"default": "./src/flag-groups.ts"
},
"./command-text": {
"types": "./src/command-text.ts",
"default": "./src/command-text.ts"
},
"./cli-command-aliases": {
"types": "./src/cli-command-aliases.ts",
"default": "./src/cli-command-aliases.ts"
}
}
}