├── .editorconfig ├── .gitignore ├── .prettierrc ├── .vscode └── extensions.json ├── LICENSE ├── README.md ├── docs └── config.md ├── package.json ├── pnpm-lock.yaml ├── scripts └── gen-config-schema.ts ├── shell-ask.toml ├── src ├── ai-command.ts ├── ai-sdk.ts ├── ask.ts ├── builtin-commands.ts ├── chat.ts ├── cli.ts ├── config.ts ├── configure.ts ├── copilot.ts ├── debug.ts ├── error.ts ├── fetch-url.ts ├── markdown.ts ├── models.ts ├── ollama.ts ├── search.ts ├── tty.ts └── utils.ts ├── tsconfig.json ├── tsup.config.ts └── types.d.ts /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | node_modules 3 | .DS_Store 4 | *.log 5 | schema.json 6 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "semi": false 3 | } 4 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["tamasfe.even-better-toml"] 3 | } 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/README.md -------------------------------------------------------------------------------- /docs/config.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/docs/config.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /scripts/gen-config-schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/scripts/gen-config-schema.ts -------------------------------------------------------------------------------- /shell-ask.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/shell-ask.toml -------------------------------------------------------------------------------- /src/ai-command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/src/ai-command.ts -------------------------------------------------------------------------------- /src/ai-sdk.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/src/ai-sdk.ts -------------------------------------------------------------------------------- /src/ask.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/src/ask.ts -------------------------------------------------------------------------------- /src/builtin-commands.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/src/builtin-commands.ts -------------------------------------------------------------------------------- /src/chat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/src/chat.ts -------------------------------------------------------------------------------- /src/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/src/cli.ts -------------------------------------------------------------------------------- /src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/src/config.ts -------------------------------------------------------------------------------- /src/configure.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/src/configure.ts -------------------------------------------------------------------------------- /src/copilot.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/src/copilot.ts -------------------------------------------------------------------------------- /src/debug.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/src/debug.ts -------------------------------------------------------------------------------- /src/error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/src/error.ts -------------------------------------------------------------------------------- /src/fetch-url.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/src/fetch-url.ts -------------------------------------------------------------------------------- /src/markdown.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/src/markdown.ts -------------------------------------------------------------------------------- /src/models.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/src/models.ts -------------------------------------------------------------------------------- /src/ollama.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/src/ollama.ts -------------------------------------------------------------------------------- /src/search.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/src/search.ts -------------------------------------------------------------------------------- /src/tty.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/src/tty.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/src/utils.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/tsup.config.ts -------------------------------------------------------------------------------- /types.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egoist/shell-ask/HEAD/types.d.ts --------------------------------------------------------------------------------