@gotcos/glasses-server 6.56.0 → 6.56.1

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## 6.56.1
2
+
3
+ ### Codex runs again after the ChatGPT app update
4
+
5
+ - On 2026-09-27 a ChatGPT.app update (26.924, codex-cli 0.158.0-alpha.2.1) moved its bundled Codex CLI from `Contents/Resources/codex` to `Contents/Resources/codex-cli/bin/codex`, and `/Applications/Codex.app` is gone. Every Codex run (GPT models from the glasses, Codex engines) then failed with `codex binary unresolved (not_found)`. The server now looks in the new place first and still in the old one for older ChatGPT builds. The new location is a launcher that follows its own links, so nothing else changes.
6
+ - A test pins the order, and fails without the new location; the resolver finds it with no PATH and no `~/.codex/bin` link.
7
+
8
+ ### Linking a saved meeting to Work
9
+
10
+ - Linking a saved COS meeting to a Work card no longer fails with "The selected meeting changed; refresh before linking". Opening a single operations meeting now returns the same record identity the meeting list shows, so the exact-meeting check in Work passes for an unchanged meeting and still refuses a different or renamed one.
11
+ - The earlier tests replaced the meeting resolver with a stub that always agreed. A new test links a real operations meeting, picked from the meeting list, through the production resolver.
12
+
1
13
  ## 6.56.0
2
14
 
3
15
  ### Connected Work across COS Control and glasses
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gotcos/glasses-server",
3
- "version": "6.56.0",
3
+ "version": "6.56.1",
4
4
  "description": "COS Glasses \u2014 self-hosted AI heads-up-display server for Even G2 smart glasses, powered by Claude Code, Codex, Cursor Agent CLI, or local Ollama",
5
5
  "type": "module",
6
6
  "bin": {
@@ -828,6 +828,13 @@ export function getCosOperationsMeetingDetail(
828
828
  const content = readFileSync(filepath, 'utf-8')
829
829
  const meta = parseMeetingMeta(content, resolvedFilename, domain)
830
830
  meta.month = month
831
+ // Same identity the list row advertises (listCosOperationsMeetings). Work's
832
+ // meeting link and review checks compare the list's recordId against this
833
+ // detail; without it every real COS meeting refused as "meeting changed".
834
+ meta.librarySource = 'cos_operations'
835
+ meta.recordId = `ops:${domain}:${month}:${resolvedFilename}`
836
+ meta.mutable = true
837
+ meta.canonicalRecord = `operations/${domain}/meetings/${month}/${resolvedFilename}`
831
838
  const source = boundedMeetingSource(content)
832
839
 
833
840
  return {
@@ -118,8 +118,12 @@ export function providerBinarySpec(provider: string): BinarySpec | null {
118
118
  name: 'codex',
119
119
  envKeys: ['COS_ATTACHED_CODEX_BIN', 'COS_CODEX_BIN'],
120
120
  absolutes: [
121
- // Verified 2026-08-15: codex-cli 0.148.0-alpha.9 lives here, and there is
122
- // no `codex` on PATH at all on this machine.
121
+ // 6.56.1: ChatGPT.app 26.924 (2026-09-27, codex-cli 0.158.0-alpha.2.1) moved the bundled CLI
122
+ // here, a sh launcher that follows symlinks to CodexCLI.app. Every Codex run on an updated
123
+ // Mac failed with `codex binary unresolved (not_found)` until this path was listed.
124
+ '/Applications/ChatGPT.app/Contents/Resources/codex-cli/bin/codex',
125
+ // Verified 2026-08-15: codex-cli 0.148.0-alpha.9 lived here (older ChatGPT builds), and
126
+ // there is no `codex` on PATH at all on this machine.
123
127
  '/Applications/ChatGPT.app/Contents/Resources/codex',
124
128
  home ? join(home, '.codex', 'bin', 'codex') : '',
125
129
  '/opt/homebrew/bin/codex',