@creator-notes/cnotes 0.107.9 → 0.107.11
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.
|
@@ -97,7 +97,9 @@ function isWithin(child, parent) {
|
|
|
97
97
|
* 3. CLAUDE_CODE_SESSION_ID — Claude Code's per-process env var. Zero-config
|
|
98
98
|
* but undocumented; best-effort fallback when no hook is installed. It's
|
|
99
99
|
* the live process's own env, so no staleness check applies.
|
|
100
|
-
* 4.
|
|
100
|
+
* 4. CODEX_THREAD_ID — the Codex thread driving the shell, stamped as
|
|
101
|
+
* kind "codex".
|
|
102
|
+
* 5. The Cursor cloud agent id. `CURSOR_CONVERSATION_ID` is that id in the
|
|
101
103
|
* parent shell (`bc-…`, resumable at `https://cursor.com/agents/<id>`).
|
|
102
104
|
* In a subagent it is `sand-subagent-…` or a child `bc-…`, and that URL
|
|
103
105
|
* does not open. Pass `cursorCloudAgentId` from {@link readCursorCloudAgentId}
|
|
@@ -122,6 +124,11 @@ export function resolveAgentSession(options) {
|
|
|
122
124
|
const claudeEnvId = process.env.CLAUDE_CODE_SESSION_ID?.trim();
|
|
123
125
|
if (claudeEnvId)
|
|
124
126
|
return { kind: "claude-code", id: claudeEnvId };
|
|
127
|
+
// Codex sets CODEX_THREAD_ID in every shell its agent runs, so a run from
|
|
128
|
+
// Codex shows the Codex mark instead of a generic agent.
|
|
129
|
+
const codexThreadId = process.env.CODEX_THREAD_ID?.trim();
|
|
130
|
+
if (codexThreadId)
|
|
131
|
+
return { kind: "codex", id: codexThreadId };
|
|
125
132
|
const cursorId = cursorResumeId({
|
|
126
133
|
conversationId: process.env.CURSOR_CONVERSATION_ID,
|
|
127
134
|
cloudAgentId: options?.cursorCloudAgentId,
|
package/dist/lib/themes.js
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
export const PRESETS = [
|
|
16
16
|
{ id: "ember", name: "Ember", isDark: true, description: "Roasted-coffee dark with glowing ember orange and a cool teal spark." },
|
|
17
|
+
{ id: "ember-2", name: "Ember 2", isDark: true, description: "Roasted-coffee greys in quiet steps, with ember coral kept for what you can act on." },
|
|
17
18
|
{ id: "synapse", name: "Synapse", isDark: true, description: "Neural-network teal firing on pure black, connections lit in the dark." },
|
|
18
19
|
{ id: "dark", name: "Tia", isDark: true, description: "Dark with magenta accent." },
|
|
19
20
|
{ id: "catppuccin-mocha", name: "Catppuccin Mocha", isDark: true, description: "Soothing pastel dark from the Catppuccin family." },
|
|
@@ -21,6 +22,7 @@ export const PRESETS = [
|
|
|
21
22
|
{ id: "solarized-dark", name: "Solarized Dark", isDark: true, description: "Ethan Schoonover's classic teal-on-navy palette." },
|
|
22
23
|
{ id: "rose-pine", name: "Rosé Pine", isDark: true, description: "Soho-vibes for the pastel-loving developer." },
|
|
23
24
|
{ id: "cursor", name: "Cursor", isDark: true, description: "Quiet graphite greys from the Cursor agents window, with a white send button and a blue focus." },
|
|
25
|
+
{ id: "cursor-2", name: "Cursor 2", isDark: true, description: "Cursor with a darker canvas than its rail and panels, and sections lifted above it." },
|
|
24
26
|
{ id: "sage", name: "Sage", isDark: false, description: "Muted greenish-grey, easy on the eyes." },
|
|
25
27
|
{ id: "light", name: "Light", isDark: false, description: "Clean classic light." },
|
|
26
28
|
{ id: "catppuccin-latte", name: "Catppuccin Latte", isDark: false, description: "Soothing pastel light from the Catppuccin family." },
|