{"size": 1041, "ext": "js", "max_stars_repo_path": "examples/wot/uiAgentBrowser.js", "max_stars_repo_name": "TimKam/JS-son", "max_stars_repo_stars_event_min_datetime": "2019-02-05T19:44:15.000Z", "max_stars_repo_stars_event_max_datetime": "2022-01-18T02:08:13.000Z", "max_issues_repo_path": "examples/wot/uiAgentBrowser.js", "max_issues_repo_name": "TimKam/JS-son", "max_issues_repo_issues_event_min_datetime": "2019-02-05T15:31:16.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-27T11:34:34.000Z", "max_forks_repo_path": "examples/wot/uiAgentBrowser.js", "max_forks_repo_name": "TimKam/JS-son", "max_forks_repo_forks_event_min_datetime": "2019-05-10T07:39:08.000Z", "max_forks_repo_forks_event_max_datetime": "2022-01-10T09:21:43.000Z"}
{"max_stars_count": 35, "max_issues_count": 51, "max_forks_count": 12, "avg_line_length": 26.6923076923, "max_line_length": 87, "alphanum_fraction": 0.6176753122}
// eslint-disable-next-line
WoT.produce({
  title: 'ui-agent-browser',
  description: 'Agent that guides human users (located in a web browser)',
  support: 'https://github.com/TimKam/JS-son',
  '@context': [
    'https://www.w3.org/2019/wot/td/v1'
  ],
  properties: {
    isAgent: {
      type: 'boolean',
      description: 'Marks the "thing" as an agent',
      observable: true,
      readOnly: true
    },
    actionQueue: {
      type: 'array',
      description: 'Contains any action requests that are to be sent',
      observable: true,
      readOnly: false
    },
    currentAnalysis: {
      type: 'string',
      description: 'Marks the "thing" as an agent',
      observable: true,
      readOnly: false
    }
  },
  actions: {
    reset: {
      description: 'Purges the action queue and sets and empty analysis status'
    }
  }
}).then(thing => {
  thing.writeProperty('actionQueue', [])
  thing.writeProperty('currentAnalysis', 1)
  thing.expose().then(() => console.info(`${thing.getThingDescription().title} ready`))
})
