@letta-ai/letta-code 0.34.73 → 0.34.74

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letta-ai/letta-code",
3
- "version": "0.34.73",
3
+ "version": "0.34.74",
4
4
  "lockfileVersion": 3,
5
5
  "packages": {
6
6
  "node_modules/@alcalzone/ansi-tokenize": {
@@ -5091,7 +5091,7 @@
5091
5091
  },
5092
5092
  "": {
5093
5093
  "name": "@letta-ai/letta-code",
5094
- "version": "0.34.73",
5094
+ "version": "0.34.74",
5095
5095
  "dependencies": {
5096
5096
  "@cursor/sdk": "1.1.0",
5097
5097
  "@earendil-works/pi-ai": "^1.6.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letta-ai/letta-code",
3
- "version": "0.34.73",
3
+ "version": "0.34.74",
4
4
  "lettaStartupLogProtocol": 1,
5
5
  "lettaConfigDirProtocol": 1,
6
6
  "description": "Letta Code is a CLI tool for interacting with stateful Letta agents from the terminal.",
@@ -92,15 +92,19 @@ read `billing.credits_charged` from the saved response.
92
92
 
93
93
  These choices reflect models tested as of November 2026; image models change often.
94
94
 
95
- - For edits, multiple reference images, or a real person's face, use `openai`
96
- with `model: "gpt-image-2.6-sunburst"`. It holds identity across edits better;
97
- Gemini can drift faces.
98
- - For fast, plain text-to-image work, use `flux` with `model: "flux-2-pro"`.
99
- - For strong prompt adherence when face identity is not a constraint, `gemini`
100
- with `model: "gemini-3-pro-image"` is another option.
101
- - Use `openai` for explicit size/quality, animated GIFs, SVG vectors, or
102
- markup-guided edits. Its default is `gpt-image-2.6-flare`; choose sunburst
103
- when detail or consistency matters.
95
+ - For fast, general text-to-image work, use `openai` with
96
+ `model: "gpt-image-2.6-flare"` (the OpenAI default). `quality: "low"` is the
97
+ quickest and cheapest; `"medium"` is sharper and follows constraints such as
98
+ "no text" more reliably.
99
+ - For edits, multiple reference images, a real person's face, or dense detail,
100
+ use `openai` with `model: "gpt-image-2.6-sunburst"` (`quality: "high"`, or
101
+ `"xhigh"` when fine skin and hair detail matter). It holds identity across
102
+ edits best.
103
+ - `flux` (`model: "flux-2-pro"`) and `gemini` (`model: "gemini-3-pro-image"`)
104
+ are optional alternatives when face consistency isn't needed; both can drift
105
+ faces.
106
+ - Explicit size and quality, animated GIFs, SVG vectors and markup-guided
107
+ edits are `openai` only.
104
108
 
105
109
  ## Response
106
110
 
@@ -151,6 +155,19 @@ and refine one thing at a time.
151
155
  texture. Say "photorealistic" or "real photograph" when that's the goal.
152
156
  Camera terms ("35mm film, 50mm lens, shallow depth of field") are appearance
153
157
  cues. For moody scenes, give scale, atmosphere and color, not just mood words.
158
+ For a candid photo or selfie of a real person, a camera name alone is a loose
159
+ cue and a minimal prompt falls back to glossy HDR, warm golden grading and a
160
+ posed stare. Name a current flagship phone camera ("shot on an iPhone 18 Pro
161
+ Max front camera") but skip sharpness hype ("razor-sharp focus", "crisp clean
162
+ skin detail"), which pushes the model back toward a glossy 3D-render look. Ask
163
+ for lighting that matches the real sources in that setting (window, lamps,
164
+ overheads, street light) with their natural contrast, uneven shadows and true
165
+ color temperature. Shadows, exposure and backlighting must follow the visible
166
+ sources, with no invisible front fill: a window or lamp behind the subject
167
+ leaves the face backlit and shadowed, and overhead fixtures cast real
168
+ downward shadows. Exclude studio fill, over-lifted HDR shadows, golden color
169
+ grading and harsh direct flash. Ask for a relaxed, slightly off-axis pose
170
+ and a natural expression rather than a stiff straight-on stare.
154
171
  3. **Specify people and actions.** Body framing, scale, gaze and interaction:
155
172
  "full body visible, feet included", "looking down at the open book".
156
173
  4. **Exact text goes in quotes**, with position, typography and how many times