
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
I recommend using pipx
for installation. Follow pipx's documentation to install it, then run pipx install chat-cli
.
Chat uses the poetry
build tool.
poetry build
in the project rootdist/
directorychat [-h] [--apikey APIKEY] [--prompt PROMPT] [--save] [-f CONFIG] [-m MODEL] [--resume] [-s SEARCH]
-h
, --help
show these options and exit
--apikey
Specify the API key to use when connection to OpenAI
--prompt
Change the prompt that is displayed for input. The sequences %t and %T can be used to display the current token and max token count for the model, respectively. Default prompt is '%t/%T > '
--save
If specified with --apikey and/or --prompt, save them to the config file
-f
, --config
Specify an alternate file to load the configuration from (Default: $XDG_CONFIG_HOME/Chat/chat.json)
-m
, --model
Specify the model to use, refer to https://platform.openai.com/docs/models for list
--resume
Resumes last conversation
-s
, --search
Search your chat history for a given regex
When chating, the following commands perform special actions
.redo
Regenerates the previous response. Removes the old response from the history
.copy
Copies the first code block in the previous response to the system clipboard. Print's whats been copied
.exit
Exits the application and saves the chat history. Same as encountering EOF
. Prints the chat log location.
.summarize
Asks the model to summarize the conversation and starts a new conversation with the summary as the first message. Saves the conversation prior to the summary. Should be called before reaching the token limit to continue a conversation.
FAQs
Command line interaction with ChatGPT with chat history saved locally
We found that chat-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.