@creator-notes/cnotes 0.107.10 → 0.107.12

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": "creator-notes-cli",
3
- "version": "0.107.10",
3
+ "version": "0.107.12",
4
4
  "description": "CreatorNotes CLI: create notes, build canvases, search knowledge from the terminal",
5
5
  "author": {
6
6
  "name": "CreatorNotes",
@@ -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. The Cursor cloud agent id. `CURSOR_CONVERSATION_ID` is that id in the
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,
@@ -23,6 +23,7 @@ export const PRESETS = [
23
23
  { id: "rose-pine", name: "Rosé Pine", isDark: true, description: "Soho-vibes for the pastel-loving developer." },
24
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
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." },
26
+ { id: "cursor-3", name: "Cursor 3", isDark: true, description: "Cursor with the rail and panels darker than the canvas." },
26
27
  { id: "sage", name: "Sage", isDark: false, description: "Muted greenish-grey, easy on the eyes." },
27
28
  { id: "light", name: "Light", isDark: false, description: "Clean classic light." },
28
29
  { id: "catppuccin-latte", name: "Catppuccin Latte", isDark: false, description: "Soothing pastel light from the Catppuccin family." },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@creator-notes/cnotes",
3
- "version": "0.107.10",
3
+ "version": "0.107.12",
4
4
  "description": "CLI for CreatorNotes — create notes, build canvases, search knowledge from the terminal",
5
5
  "type": "module",
6
6
  "bin": {