code-puppy 0.0.78__py3-none-any.whl → 0.0.80__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- code_puppy/command_line/motd.py +21 -18
- {code_puppy-0.0.78.dist-info → code_puppy-0.0.80.dist-info}/METADATA +5 -3
- {code_puppy-0.0.78.dist-info → code_puppy-0.0.80.dist-info}/RECORD +7 -7
- {code_puppy-0.0.78.data → code_puppy-0.0.80.data}/data/code_puppy/models.json +0 -0
- {code_puppy-0.0.78.dist-info → code_puppy-0.0.80.dist-info}/WHEEL +0 -0
- {code_puppy-0.0.78.dist-info → code_puppy-0.0.80.dist-info}/entry_points.txt +0 -0
- {code_puppy-0.0.78.dist-info → code_puppy-0.0.80.dist-info}/licenses/LICENSE +0 -0
code_puppy/command_line/motd.py
CHANGED
|
@@ -5,24 +5,27 @@ Stores seen versions in ~/.puppy_cfg/motd.txt.
|
|
|
5
5
|
|
|
6
6
|
import os
|
|
7
7
|
|
|
8
|
-
MOTD_VERSION = "
|
|
8
|
+
MOTD_VERSION = "20250815"
|
|
9
9
|
MOTD_MESSAGE = """
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
10
|
+
|
|
11
|
+
🐾 Happy Friday, Aug 15, 2025!
|
|
12
|
+
|
|
13
|
+
Biscuit the code puppy is on full zoomie mode!
|
|
14
|
+
Major paws-ups:
|
|
15
|
+
1. We now integrate Cerebras gpt-oss-120b!
|
|
16
|
+
It's a bit underwhelming compared to Qwen3-Coder-480b (obviously), but it's still good for basic fetches.
|
|
17
|
+
2. We also added support for OpenAI gpt-5!
|
|
18
|
+
It's so good, it'll make you want to teach it to sit!
|
|
19
|
+
|
|
20
|
+
• To use one of the Cerebras models just have a CEREBRAS_API_KEY set in the environment variables.
|
|
21
|
+
• Use ~m to swap models in the middle of your session!
|
|
22
|
+
• Take stretch breaks – you'll need 'em!
|
|
23
|
+
• DRY your code, but keep your pup hydrated.
|
|
24
|
+
• If you hit a bug, treat yourself for finding it!
|
|
25
|
+
|
|
26
|
+
Today: sniff, code, roll over, and let these fancy AI models do the heavy lifting. Fire up a ~motd anytime
|
|
27
|
+
you need some puppy hype!
|
|
28
|
+
|
|
26
29
|
"""
|
|
27
30
|
MOTD_TRACK_FILE = os.path.expanduser("~/.puppy_cfg/motd.txt")
|
|
28
31
|
|
|
@@ -46,4 +49,4 @@ def print_motd(console, force: bool = False) -> bool:
|
|
|
46
49
|
console.print(MOTD_MESSAGE)
|
|
47
50
|
mark_motd_seen(MOTD_VERSION)
|
|
48
51
|
return True
|
|
49
|
-
return False
|
|
52
|
+
return False
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: code-puppy
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.80
|
|
4
4
|
Summary: Code generation agent
|
|
5
5
|
Author: Michael Pfaffenberger
|
|
6
6
|
License: MIT
|
|
@@ -67,8 +67,9 @@ Code Puppy is an AI-powered code generation agent, designed to understand progra
|
|
|
67
67
|
|
|
68
68
|
## Usage
|
|
69
69
|
```bash
|
|
70
|
-
export MODEL_NAME=gpt-
|
|
70
|
+
export MODEL_NAME=gpt-5 # or gemini-2.5-flash-preview-05-20 as an example for Google Gemini models
|
|
71
71
|
export OPENAI_API_KEY=<your_openai_api_key> # or GEMINI_API_KEY for Google Gemini models
|
|
72
|
+
export CEREBRAS_API_KEY=<your_cerebras_api_key> # for Cerebras models
|
|
72
73
|
export YOLO_MODE=true # to bypass the safety confirmation prompt when running shell commands
|
|
73
74
|
|
|
74
75
|
# or ...
|
|
@@ -106,7 +107,7 @@ export MODELS_JSON_PATH=/path/to/custom/models.json
|
|
|
106
107
|
}
|
|
107
108
|
}
|
|
108
109
|
```
|
|
109
|
-
Note that the `OPENAI_API_KEY` env variable must be set when using `custom_openai` endpoints.
|
|
110
|
+
Note that the `OPENAI_API_KEY` or `CEREBRAS_API_KEY` env variable must be set when using `custom_openai` endpoints.
|
|
110
111
|
|
|
111
112
|
Open an issue if your environment is somehow weirder than mine.
|
|
112
113
|
|
|
@@ -122,6 +123,7 @@ code-puppy "write me a C++ hello world program in /tmp/main.cpp then compile it
|
|
|
122
123
|
- Python 3.9+
|
|
123
124
|
- OpenAI API key (for GPT models)
|
|
124
125
|
- Gemini API key (for Google's Gemini models)
|
|
126
|
+
- Cerebras API key (for Cerebras models)
|
|
125
127
|
- Anthropic key (for Claude models)
|
|
126
128
|
- Ollama endpoint available
|
|
127
129
|
|
|
@@ -13,7 +13,7 @@ code_puppy/command_line/__init__.py,sha256=y7WeRemfYppk8KVbCGeAIiTuiOszIURCDjOMZ
|
|
|
13
13
|
code_puppy/command_line/file_path_completion.py,sha256=gw8NpIxa6GOpczUJRyh7VNZwoXKKn-yvCqit7h2y6Gg,2931
|
|
14
14
|
code_puppy/command_line/meta_command_handler.py,sha256=L7qP2g0Faz0V7bMH4YK3s03OWWuQFtK7Sh-Kt2zmmEQ,6182
|
|
15
15
|
code_puppy/command_line/model_picker_completion.py,sha256=NkyZZG7IhcVWSJ3ADytwCA5f8DpNeVs759Qtqs4fQtY,3733
|
|
16
|
-
code_puppy/command_line/motd.py,sha256=
|
|
16
|
+
code_puppy/command_line/motd.py,sha256=1qEPpEQb14XfEXj-_pmx7ad8VtzvP7JSmvvW_JWW-Os,1662
|
|
17
17
|
code_puppy/command_line/prompt_toolkit_completion.py,sha256=_gP0FIOgHDNHTTWLNL0XNzr6sO0ISe7Mec1uQNo9kcM,8337
|
|
18
18
|
code_puppy/command_line/utils.py,sha256=7eyxDHjPjPB9wGDJQQcXV_zOsGdYsFgI0SGCetVmTqE,1251
|
|
19
19
|
code_puppy/tools/__init__.py,sha256=ozIGpLM7pKSjH4UeojkTodhfVYZeNzMsLtK_oyw41HA,456
|
|
@@ -22,9 +22,9 @@ code_puppy/tools/common.py,sha256=M53zhiXZAmPdvi1Y_bzCxgvEmifOvRRJvYPARYRZqHw,22
|
|
|
22
22
|
code_puppy/tools/file_modifications.py,sha256=qCfkZ7BxTG8U4xydHzS44UtOioj8XvhRKgjoOAnMHTo,13310
|
|
23
23
|
code_puppy/tools/file_operations.py,sha256=5ESOCS3m4Lpnvrg2XiJAx0m4-0Yar6LZKIdyRCRjENM,11218
|
|
24
24
|
code_puppy/tools/ts_code_map.py,sha256=o-u8p5vsYwitfDtVEoPS-7MwWn2xHzwtIQLo1_WMhQs,17647
|
|
25
|
-
code_puppy-0.0.
|
|
26
|
-
code_puppy-0.0.
|
|
27
|
-
code_puppy-0.0.
|
|
28
|
-
code_puppy-0.0.
|
|
29
|
-
code_puppy-0.0.
|
|
30
|
-
code_puppy-0.0.
|
|
25
|
+
code_puppy-0.0.80.data/data/code_puppy/models.json,sha256=hqSvFzSPcwxMwst6xePlcppm0c_pjyEVSBsWvgbAG98,2714
|
|
26
|
+
code_puppy-0.0.80.dist-info/METADATA,sha256=-38XbXrQyfwu1izooxmHuKjViTPwVU0NEJPUslg0-nM,6643
|
|
27
|
+
code_puppy-0.0.80.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
28
|
+
code_puppy-0.0.80.dist-info/entry_points.txt,sha256=d8YkBvIUxF-dHNJAj-x4fPEqizbY5d_TwvYpc01U5kw,58
|
|
29
|
+
code_puppy-0.0.80.dist-info/licenses/LICENSE,sha256=31u8x0SPgdOq3izJX41kgFazWsM43zPEF9eskzqbJMY,1075
|
|
30
|
+
code_puppy-0.0.80.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|