CogitoAgent

(β˜… 33)

πŸ”₯ CogitoAgent β€” An autonomous AI agent, cloud-driven but locally executed. It continuously thinks, automatically analyzes, and integrates practical tools like file management, code execution, web search, and database operations β€” secure and efficient.

File Explorer

  • .dockerignore
  • .env.example
  • .gitignore
  • .prettierrc
  • boot-timing-test.ts
  • CHANGELOG.md
  • CODE_OF_CONDUCT.md
  • CONTRIBUTING.md
  • docker-compose.yml
  • Dockerfile
  • electron-builder.yml
  • eslint.config.mjs
  • favicon.ico
  • index.html
  • jest.config.mjs
  • jest.setup.mjs
  • LICENSE
  • package-lock.json
  • package.json
  • README.md
  • README.zh.md
  • REQUIREMENTS.md
  • ROADMAP.md
  • SECURITY.md
  • tsconfig.json
  • tsconfig.test.json

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

πŸ”

git clone

View Details β–Ό

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

πŸ”

npm audit

View Details β–Ό

Scan project dependencies for known security vulnerabilities.

npm audit

Scan the project's dependencies for known vulnerabilities:

npm audit fix

Automatically fix vulnerabilities in the project's dependencies:

npm audit fix {{[-f|--force]}}

Force an automatic fix to dependencies with vulnerabilities:

πŸ”

npm install

View Details β–Ό

Install Node packages.

npm {{[i|install]}}

Install dependencies listed in `package.json`:

npm {{[i|install]}} {{package_name}}@{{version}}

Download a specific version of a package and add it to the list of dependencies in `package.json`:

npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}

Download the latest version of a package and add it to the list of dev dependencies in `package.json`:

πŸ”

npm run

View Details β–Ό

Run a script.

npm run

List available scripts:

npm run {{script_name}}

Run a script:

npm run {{script_name}} -- {{argument}} {{--option}}

Pass arguments to a script:

πŸ”

npm start

View Details β–Ό

This command is an alias of `npm run start`.

tldr npm run

View documentation for the original command:

πŸ”

npm test

View Details β–Ό

This command is an alias of `npm run test`.

tldr npm run

View documentation for the original command:

πŸ”

rename

View Details β–Ό

Rename a file or group of files with a `regex`.
WARNING: This command will overwrite files without prompting unless the dry-run option is used.
Note: This page refers to the Perl version, also known as `file-rename`.

rename 's/{{from}}/{{to}}/' {{*.txt}}

Replace `from` with `to` in the filenames of the specified files:

rename {{foo}} {{bar}} {{*}}

Rename files using simple substitutions (substitute `foo` with `bar` wherever found):

rename -n 's/{{from}}/{{to}}/' {{*.txt}}

Dry-run - display which changes would occur without performing them:

πŸ”

tsc

View Details β–Ό

TypeScript compiler.

tsc --init

Initialize a TypeScript project:

tsc {{path/to/file.ts}}

Compile a TypeScript file into a JavaScript file with the same name:

tsc {{[-t|--target]}} {{ES5|ES2015|ES2016|ES2017|ES2018|ESNEXT|...}} {{path/to/file.ts}}

Compile a TypeScript file into JavaScript using a specific target syntax (default is `ES3`):

πŸ”

copy

View Details β–Ό

Copy files.

COPY {{path/to/source_file}} {{path/to/destination_file}}

Copy a file:

πŸ”

query

View Details β–Ό

Display information about user sessions and process.

query session

Display all user sessions:

query session /server:{{hostname}}

Display the current user sessions on a remote computer:

query user

Display logged in users:

// repository documentation