Agent Package Resolution is opt-in. Deploy
~/.jfrog/agents-conf.json through the organization’s normal device-management
system; the plugin never overwrites an existing file.
Declare only repositories approved for the organization:
{
"logLevel": "info",
"packageResolution": {
"enabled": true,
"verifyRepos": true,
"cacheTtlDays": 7,
"defaultGlobalRepos": {
"npm": "npm-virtual",
"pypi": "pypi-virtual"
},
"autoSetup": []
}
}Repository keys are verified against Artifactory before routing. Invalid or unreachable repositories remain unresolved rather than falling back to public registries. Workspace files may replace a repository for an already-governed package type, but cannot expand the governed scope.
cacheTtlDays: 0 re-checks all cached state on every session, including
eligible zero-touch jf setup receipts. Use it temporarily when troubleshooting,
not as a normal operating setting.
- Configure and test
jfon a non-production server. - Deploy the configuration to a pilot group.
- Enable
"chat.plugins.enabled": trueand"chat.useHooks": truein VS Code. - Start a new Copilot chat and verify the resolved repository table.
- Monitor
~/.jfrog/logs/agent-hooks.logbefore expanding rollout.