@ralphkrauss/codex-account-switcher 0.1.2 → 0.1.3

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,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.3 - 2026-06-06
4
+
5
+ ### Fixed
6
+
7
+ - Use 1Password CLI's accepted `Secure Note` category label when creating remote sync items.
8
+
3
9
  ## 0.1.2 - 2026-06-06
4
10
 
5
11
  ### Added
package/README.md CHANGED
@@ -152,7 +152,7 @@ cx sync status work
152
152
  cx sync status work --json
153
153
  ```
154
154
 
155
- 1Password storage details: `cx` shells out to `op` with argv arrays. Reads use `op item get <item> --vault <vault> --fields label=auth_json --reveal`. Writes use a secure-note item with a concealed field named `auth_json` via `op item create ... auth_json[concealed]=<json>` and `op item edit ... auth_json[concealed]=<json>`. Status commands only report presence/configuration and never reveal field contents.
155
+ 1Password storage details: `cx` shells out to `op` with argv arrays. Reads use `op item get <item> --vault <vault> --fields label=auth_json --reveal`. Writes use a `Secure Note` item with a concealed field named `auth_json` via `op item create ... --category "Secure Note" ... auth_json[concealed]=<json>` and `op item edit ... auth_json[concealed]=<json>`. Status commands only report presence/configuration and never reveal field contents.
156
156
 
157
157
  ## Migrating from the prototype shell function
158
158
 
package/dist/remote.js CHANGED
@@ -296,7 +296,7 @@ async function upsertOnePasswordAuthJson(config, item, authJson, env) {
296
296
  '--vault',
297
297
  config.vault,
298
298
  '--category',
299
- 'secure-note',
299
+ 'Secure Note',
300
300
  '--title',
301
301
  item,
302
302
  authFieldAssignment(authJson),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ralphkrauss/codex-account-switcher",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Safe multi-account auth.json switcher for the native Codex CLI.",
5
5
  "author": "Ralph Krauss <ralph@krauss.be>",
6
6
  "type": "module",
package/src/remote.ts CHANGED
@@ -466,7 +466,7 @@ async function upsertOnePasswordAuthJson(
466
466
  '--vault',
467
467
  config.vault,
468
468
  '--category',
469
- 'secure-note',
469
+ 'Secure Note',
470
470
  '--title',
471
471
  item,
472
472
  authFieldAssignment(authJson),