| 1234567891011 |
- """Agent entry: accepts read operations only; uses the private local library."""
- import sys
- # Keep the installed, checksummed skill immutable during normal queries.
- sys.dont_write_bytecode = True
- import voc_db
- if __name__ == '__main__':
- if len(sys.argv) < 2 or sys.argv[1] not in ('contract','query','search','aggregate','facets','get','source','verify'):
- print('{"ok":false,"error":{"code":"READ_COMMAND_REQUIRED"}}', file=sys.stderr)
- sys.exit(1)
- sys.exit(voc_db.main())
|