{"action":"closed","number":7,"pull_request":{"url":"https://api.github.com/repos/stratumn/agent-js/pulls/7","id":106307082,"html_url":"https://github.com/stratumn/agent-js/pull/7","diff_url":"https://github.com/stratumn/agent-js/pull/7.diff","patch_url":"https://github.com/stratumn/agent-js/pull/7.patch","issue_url":"https://api.github.com/repos/stratumn/agent-js/issues/7","number":7,"state":"closed","locked":false,"title":"Plugins","user":{"login":"such","id":1303925,"avatar_url":"https://avatars.githubusercontent.com/u/1303925?v=3","gravatar_id":"","url":"https://api.github.com/users/such","html_url":"https://github.com/such","followers_url":"https://api.github.com/users/such/followers","following_url":"https://api.github.com/users/such/following{/other_user}","gists_url":"https://api.github.com/users/such/gists{/gist_id}","starred_url":"https://api.github.com/users/such/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/such/subscriptions","organizations_url":"https://api.github.com/users/such/orgs","repos_url":"https://api.github.com/users/such/repos","events_url":"https://api.github.com/users/such/events{/privacy}","received_events_url":"https://api.github.com/users/such/received_events","type":"User","site_admin":false},"body":"> Refactor link and meta enrichment through plugins:\r\n> - Plugins can implement various hooks (willCreate, didCreateLink,\r\n>   didCreateSegment) that allows them to alter the link of the meta.\r\n> \r\n> - Plugins can also filter segments.\r\n> \r\n> - A new plugin allows encrypting the state before it is saved, and\r\n>   filtering out segment that cannot be decrypted.\r\n> \r\n> - BREAKING CHANGE because no plugin is included by default\r\n\r\nDoes it feel over-engineered?\r\nCould it be improved?\r\nDo you want existing functionalities to be included by default? I think it would be enough to add them in the generator.","created_at":"2017-02-15T13:10:42Z","updated_at":"2017-02-24T13:24:00Z","closed_at":"2017-02-24T13:24:00Z","merged_at":"2017-02-24T13:24:00Z","merge_commit_sha":"34fc27a4dfaad6de8af1202481d97427a3962c43","assignee":{"login":"such","id":1303925,"avatar_url":"https://avatars.githubusercontent.com/u/1303925?v=3","gravatar_id":"","url":"https://api.github.com/users/such","html_url":"https://github.com/such","followers_url":"https://api.github.com/users/such/followers","following_url":"https://api.github.com/users/such/following{/other_user}","gists_url":"https://api.github.com/users/such/gists{/gist_id}","starred_url":"https://api.github.com/users/such/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/such/subscriptions","organizations_url":"https://api.github.com/users/such/orgs","repos_url":"https://api.github.com/users/such/repos","events_url":"https://api.github.com/users/such/events{/privacy}","received_events_url":"https://api.github.com/users/such/received_events","type":"User","site_admin":false},"assignees":[{"login":"such","id":1303925,"avatar_url":"https://avatars.githubusercontent.com/u/1303925?v=3","gravatar_id":"","url":"https://api.github.com/users/such","html_url":"https://github.com/such","followers_url":"https://api.github.com/users/such/followers","following_url":"https://api.github.com/users/such/following{/other_user}","gists_url":"https://api.github.com/users/such/gists{/gist_id}","starred_url":"https://api.github.com/users/such/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/such/subscriptions","organizations_url":"https://api.github.com/users/such/orgs","repos_url":"https://api.github.com/users/such/repos","events_url":"https://api.github.com/users/such/events{/privacy}","received_events_url":"https://api.github.com/users/such/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/stratumn/agent-js/pulls/7/commits","review_comments_url":"https://api.github.com/repos/stratumn/agent-js/pulls/7/comments","review_comment_url":"https://api.github.com/repos/stratumn/agent-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stratumn/agent-js/issues/7/comments","statuses_url":"https://api.github.com/repos/stratumn/agent-js/statuses/b25f078854510a9e4144b0c669d7d78aeeb7f578","head":{"label":"stratumn:am-plugins","ref":"am-plugins","sha":"b25f078854510a9e4144b0c669d7d78aeeb7f578","user":{"login":"stratumn","id":15095987,"avatar_url":"https://avatars.githubusercontent.com/u/15095987?v=3","gravatar_id":"","url":"https://api.github.com/users/stratumn","html_url":"https://github.com/stratumn","followers_url":"https://api.github.com/users/stratumn/followers","following_url":"https://api.github.com/users/stratumn/following{/other_user}","gists_url":"https://api.github.com/users/stratumn/gists{/gist_id}","starred_url":"https://api.github.com/users/stratumn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stratumn/subscriptions","organizations_url":"https://api.github.com/users/stratumn/orgs","repos_url":"https://api.github.com/users/stratumn/repos","events_url":"https://api.github.com/users/stratumn/events{/privacy}","received_events_url":"https://api.github.com/users/stratumn/received_events","type":"Organization","site_admin":false},"repo":{"id":63956235,"name":"agent-js","full_name":"stratumn/agent-js","owner":{"login":"stratumn","id":15095987,"avatar_url":"https://avatars.githubusercontent.com/u/15095987?v=3","gravatar_id":"","url":"https://api.github.com/users/stratumn","html_url":"https://github.com/stratumn","followers_url":"https://api.github.com/users/stratumn/followers","following_url":"https://api.github.com/users/stratumn/following{/other_user}","gists_url":"https://api.github.com/users/stratumn/gists{/gist_id}","starred_url":"https://api.github.com/users/stratumn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stratumn/subscriptions","organizations_url":"https://api.github.com/users/stratumn/orgs","repos_url":"https://api.github.com/users/stratumn/repos","events_url":"https://api.github.com/users/stratumn/events{/privacy}","received_events_url":"https://api.github.com/users/stratumn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stratumn/agent-js","description":"A library to creates Indigo agents [ALPHA] [change license to MPL2]","fork":false,"url":"https://api.github.com/repos/stratumn/agent-js","forks_url":"https://api.github.com/repos/stratumn/agent-js/forks","keys_url":"https://api.github.com/repos/stratumn/agent-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stratumn/agent-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stratumn/agent-js/teams","hooks_url":"https://api.github.com/repos/stratumn/agent-js/hooks","issue_events_url":"https://api.github.com/repos/stratumn/agent-js/issues/events{/number}","events_url":"https://api.github.com/repos/stratumn/agent-js/events","assignees_url":"https://api.github.com/repos/stratumn/agent-js/assignees{/user}","branches_url":"https://api.github.com/repos/stratumn/agent-js/branches{/branch}","tags_url":"https://api.github.com/repos/stratumn/agent-js/tags","blobs_url":"https://api.github.com/repos/stratumn/agent-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stratumn/agent-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stratumn/agent-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/stratumn/agent-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stratumn/agent-js/statuses/{sha}","languages_url":"https://api.github.com/repos/stratumn/agent-js/languages","stargazers_url":"https://api.github.com/repos/stratumn/agent-js/stargazers","contributors_url":"https://api.github.com/repos/stratumn/agent-js/contributors","subscribers_url":"https://api.github.com/repos/stratumn/agent-js/subscribers","subscription_url":"https://api.github.com/repos/stratumn/agent-js/subscription","commits_url":"https://api.github.com/repos/stratumn/agent-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/stratumn/agent-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/stratumn/agent-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/stratumn/agent-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/stratumn/agent-js/contents/{+path}","compare_url":"https://api.github.com/repos/stratumn/agent-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stratumn/agent-js/merges","archive_url":"https://api.github.com/repos/stratumn/agent-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stratumn/agent-js/downloads","issues_url":"https://api.github.com/repos/stratumn/agent-js/issues{/number}","pulls_url":"https://api.github.com/repos/stratumn/agent-js/pulls{/number}","milestones_url":"https://api.github.com/repos/stratumn/agent-js/milestones{/number}","notifications_url":"https://api.github.com/repos/stratumn/agent-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stratumn/agent-js/labels{/name}","releases_url":"https://api.github.com/repos/stratumn/agent-js/releases{/id}","deployments_url":"https://api.github.com/repos/stratumn/agent-js/deployments","created_at":"2016-07-22T13:40:13Z","updated_at":"2017-02-15T17:10:51Z","pushed_at":"2017-02-24T13:24:00Z","git_url":"git://github.com/stratumn/agent-js.git","ssh_url":"git@github.com:stratumn/agent-js.git","clone_url":"https://github.com/stratumn/agent-js.git","svn_url":"https://github.com/stratumn/agent-js","homepage":"","size":102,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"stratumn:master","ref":"master","sha":"12d004ee91c20ba5c01f7e645df8dafb5633c075","user":{"login":"stratumn","id":15095987,"avatar_url":"https://avatars.githubusercontent.com/u/15095987?v=3","gravatar_id":"","url":"https://api.github.com/users/stratumn","html_url":"https://github.com/stratumn","followers_url":"https://api.github.com/users/stratumn/followers","following_url":"https://api.github.com/users/stratumn/following{/other_user}","gists_url":"https://api.github.com/users/stratumn/gists{/gist_id}","starred_url":"https://api.github.com/users/stratumn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stratumn/subscriptions","organizations_url":"https://api.github.com/users/stratumn/orgs","repos_url":"https://api.github.com/users/stratumn/repos","events_url":"https://api.github.com/users/stratumn/events{/privacy}","received_events_url":"https://api.github.com/users/stratumn/received_events","type":"Organization","site_admin":false},"repo":{"id":63956235,"name":"agent-js","full_name":"stratumn/agent-js","owner":{"login":"stratumn","id":15095987,"avatar_url":"https://avatars.githubusercontent.com/u/15095987?v=3","gravatar_id":"","url":"https://api.github.com/users/stratumn","html_url":"https://github.com/stratumn","followers_url":"https://api.github.com/users/stratumn/followers","following_url":"https://api.github.com/users/stratumn/following{/other_user}","gists_url":"https://api.github.com/users/stratumn/gists{/gist_id}","starred_url":"https://api.github.com/users/stratumn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stratumn/subscriptions","organizations_url":"https://api.github.com/users/stratumn/orgs","repos_url":"https://api.github.com/users/stratumn/repos","events_url":"https://api.github.com/users/stratumn/events{/privacy}","received_events_url":"https://api.github.com/users/stratumn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stratumn/agent-js","description":"A library to creates Indigo agents [ALPHA] [change license to MPL2]","fork":false,"url":"https://api.github.com/repos/stratumn/agent-js","forks_url":"https://api.github.com/repos/stratumn/agent-js/forks","keys_url":"https://api.github.com/repos/stratumn/agent-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stratumn/agent-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stratumn/agent-js/teams","hooks_url":"https://api.github.com/repos/stratumn/agent-js/hooks","issue_events_url":"https://api.github.com/repos/stratumn/agent-js/issues/events{/number}","events_url":"https://api.github.com/repos/stratumn/agent-js/events","assignees_url":"https://api.github.com/repos/stratumn/agent-js/assignees{/user}","branches_url":"https://api.github.com/repos/stratumn/agent-js/branches{/branch}","tags_url":"https://api.github.com/repos/stratumn/agent-js/tags","blobs_url":"https://api.github.com/repos/stratumn/agent-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stratumn/agent-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stratumn/agent-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/stratumn/agent-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stratumn/agent-js/statuses/{sha}","languages_url":"https://api.github.com/repos/stratumn/agent-js/languages","stargazers_url":"https://api.github.com/repos/stratumn/agent-js/stargazers","contributors_url":"https://api.github.com/repos/stratumn/agent-js/contributors","subscribers_url":"https://api.github.com/repos/stratumn/agent-js/subscribers","subscription_url":"https://api.github.com/repos/stratumn/agent-js/subscription","commits_url":"https://api.github.com/repos/stratumn/agent-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/stratumn/agent-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/stratumn/agent-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/stratumn/agent-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/stratumn/agent-js/contents/{+path}","compare_url":"https://api.github.com/repos/stratumn/agent-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stratumn/agent-js/merges","archive_url":"https://api.github.com/repos/stratumn/agent-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stratumn/agent-js/downloads","issues_url":"https://api.github.com/repos/stratumn/agent-js/issues{/number}","pulls_url":"https://api.github.com/repos/stratumn/agent-js/pulls{/number}","milestones_url":"https://api.github.com/repos/stratumn/agent-js/milestones{/number}","notifications_url":"https://api.github.com/repos/stratumn/agent-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stratumn/agent-js/labels{/name}","releases_url":"https://api.github.com/repos/stratumn/agent-js/releases{/id}","deployments_url":"https://api.github.com/repos/stratumn/agent-js/deployments","created_at":"2016-07-22T13:40:13Z","updated_at":"2017-02-15T17:10:51Z","pushed_at":"2017-02-24T13:24:00Z","git_url":"git://github.com/stratumn/agent-js.git","ssh_url":"git@github.com:stratumn/agent-js.git","clone_url":"https://github.com/stratumn/agent-js.git","svn_url":"https://github.com/stratumn/agent-js","homepage":"","size":102,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stratumn/agent-js/pulls/7"},"html":{"href":"https://github.com/stratumn/agent-js/pull/7"},"issue":{"href":"https://api.github.com/repos/stratumn/agent-js/issues/7"},"comments":{"href":"https://api.github.com/repos/stratumn/agent-js/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/stratumn/agent-js/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/stratumn/agent-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stratumn/agent-js/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/stratumn/agent-js/statuses/b25f078854510a9e4144b0c669d7d78aeeb7f578"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"such","id":1303925,"avatar_url":"https://avatars.githubusercontent.com/u/1303925?v=3","gravatar_id":"","url":"https://api.github.com/users/such","html_url":"https://github.com/such","followers_url":"https://api.github.com/users/such/followers","following_url":"https://api.github.com/users/such/following{/other_user}","gists_url":"https://api.github.com/users/such/gists{/gist_id}","starred_url":"https://api.github.com/users/such/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/such/subscriptions","organizations_url":"https://api.github.com/users/such/orgs","repos_url":"https://api.github.com/users/such/repos","events_url":"https://api.github.com/users/such/events{/privacy}","received_events_url":"https://api.github.com/users/such/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":686,"deletions":97,"changed_files":22}}
{"actor":{"display_login":"such"}}