dsh plugin: a compact_now tool letting the model trigger compaction itself at a safe point, plus a context_status tool so it can check real token usage against its context window, instead of only the automatic token-threshold trigger.
LPM flags this version as an AI-agent control-surface risk. Installation automatically changes foreign dsh agent preset configurations to load smart-compaction. The changes extend across matching local presets without explicit authorization.
Package defines install-time lifecycle scripts.
package.jsonView on unpkgpackage.json automatically runs the preset mutation script after installation.
package.jsonView on unpkg · L66The script targets DSH_HOME or the user's .dsh directory and scans local .agent-presets directories.
scripts/mount-into-presets.mjsView on unpkg · L106The script targets DSH_HOME or the user's .dsh directory and scans local .agent-presets directories.
scripts/mount-into-presets.mjsView on unpkg · L122It inserts smart-compaction plugin registrations into matching presets and writes agent.cordis.yml without a consent gate.
scripts/mount-into-presets.mjsView on unpkg · L87It inserts smart-compaction plugin registrations into matching presets and writes agent.cordis.yml without a consent gate.
scripts/mount-into-presets.mjsView on unpkg · L97This report applies to smart-compaction@0.3.1.
See version security history for other recorded verdicts.
Evidence last updated: .
Package defines install-time lifecycle scripts.
package.jsonView on unpkg · L66package.json automatically runs the preset mutation script after installation.
package.jsonView on unpkg · L66It inserts smart-compaction plugin registrations into matching presets and writes agent.cordis.yml without a consent gate.
scripts/mount-into-presets.mjsView on unpkg · L87It inserts smart-compaction plugin registrations into matching presets and writes agent.cordis.yml without a consent gate.
scripts/mount-into-presets.mjsView on unpkg · L97The script targets DSH_HOME or the user's .dsh directory and scans local .agent-presets directories.
scripts/mount-into-presets.mjsView on unpkg · L106The script targets DSH_HOME or the user's .dsh directory and scans local .agent-presets directories.
scripts/mount-into-presets.mjsView on unpkg · L122