@theholocron/holocron-plugin-1password 5.0.0-alpha.421 → 5.0.0-alpha.423

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/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  1Password plugin for [Holocron](../cli). Implements the `vault`
8
8
  capability via shell-out to the `op` CLI
9
9
  (<https://developer.1password.com/docs/cli>). Also exports
10
- `verifyToken` + `AUTH_HINT` for use by `holocron auth`.
10
+ `verifyToken` + `AUTH_HINT` for use by `holocron check token`.
11
11
 
12
12
  ## One of several vault providers
13
13
 
@@ -17,7 +17,7 @@ so you can swap by editing one config line. Peer plugins:
17
17
 
18
18
  - **[`@theholocron/holocron-plugin-doppler`](../holocron-plugin-doppler)**
19
19
  — REST-transport, Doppler-CLI-managed auth via the OS keychain
20
- (`doppler login` → `holocron auth set doppler …`). This repo's
20
+ (`doppler login` → `holocron new token doppler …`). This repo's
21
21
  own default since `2.0.0-alpha.4`.
22
22
  - **`@theholocron/holocron-plugin-infisical`** — planned (see [#97](https://github.com/theholocron/holocron/issues/97)),
23
23
  will use the same REST + keyring shape.
@@ -91,12 +91,12 @@ found.
91
91
 
92
92
  This plugin does NOT store a bearer token — the `op` CLI manages
93
93
  its own auth via the 1Password desktop app (biometric unlock on
94
- laptops) or `OP_SERVICE_ACCOUNT_TOKEN` on CI. `holocron auth set
94
+ laptops) or `OP_SERVICE_ACCOUNT_TOKEN` on CI. `holocron new token
95
95
  1password` will accept a token, but since the plugin doesn't read
96
96
  the keyring, storing one has no runtime effect. The `AUTH_HINT`
97
- export makes this explicit in `holocron auth` output.
97
+ export makes this explicit in `holocron check token` output.
98
98
 
99
- `holocron auth check 1password` runs `op whoami --format=json` to
99
+ `holocron check token 1password` runs `op whoami --format=json` to
100
100
  confirm you're signed in — a useful validation independent of
101
101
  holocron.
102
102
 
@@ -130,7 +130,7 @@ holocron.
130
130
  | ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
131
131
  | `read(reference)` | `op read <reference>` — resolves `op://Vault/Item/field`. `--no-newline`. |
132
132
  | `write(reference, v)` | Probe + `op item edit` if exists, else `op item create --category=API Credential`. |
133
- | `list()` | `op item list --vault=<vault> --format=json` — names of items in the vault; with only an `environment` set, the variable names of that Environment (`repo setup` calls it). Neither is an error. |
133
+ | `list()` | `op item list --vault=<vault> --format=json` — names of items in the vault; with only an `environment` set, the variable names of that Environment (`setup` calls it). Neither is an error. |
134
134
  | `readSecret(name)` | Reads one variable of the Environment named by the `environment` option, through the same `op environment secret list`; refuses without that option. Lets a caller (the `comlink deliver` probe) ask for a secret by its bare name. |
135
135
  | `readEnvironment(name or id)` | `op environment secret list <name or id> --reveal --format=dotenv` — parses the variables into a record (a multi-line PEM key, which `op` prints unquoted, is read whole). `op environment read` takes only an id, so this reads through `secret list`, which takes either. |
136
136
 
@@ -147,7 +147,7 @@ convention):
147
147
  `ensureProject` / `ensureEnvironment` — 1Password's data model
148
148
  doesn't have projects with sub-configs the way Doppler / Infisical
149
149
  do. The vault + item hierarchy is created via the 1P UI or `op item
150
- create`, not via `holocron repo setup`. The methods are omitted;
150
+ create`, not via `holocron setup`. The methods are omitted;
151
151
  `runSetup` skips them cleanly (see the [`Vault`
152
152
  interface](../cli/src/capabilities/index.ts)).
153
153
 
package/dist/index.d.mts CHANGED
@@ -155,7 +155,7 @@ export declare function createPlugin(options?: OpPluginOptions): {
155
155
  };
156
156
  };
157
157
  /**
158
- * One-line hint printed by `holocron auth set 1password` — 1P doesn't
158
+ * One-line hint printed by `holocron new token 1password` — 1P doesn't
159
159
  * store a token in the holocron keyring; the `op` CLI manages its own
160
160
  * auth. Directs the operator to the two paths that actually work.
161
161
  */
package/dist/index.mjs CHANGED
@@ -546,7 +546,7 @@ var OpShell = class {
546
546
  };
547
547
  // src/verify-token.ts
548
548
  /**
549
- * `verifyToken` — plugin-level export used by `holocron auth check`.
549
+ * `verifyToken` — plugin-level export used by `holocron check token`.
550
550
  *
551
551
  * 1Password doesn't use a bearer token like the REST-transport plugins
552
552
  * do — the `op` CLI manages its own auth via desktop-app biometric on
@@ -554,7 +554,7 @@ var OpShell = class {
554
554
  * argument is intentionally IGNORED here. What we actually check is:
555
555
  * is `op` installed AND signed in (i.e., can it answer `whoami`).
556
556
  *
557
- * If someone tries `holocron auth set 1password <token>`, the token
557
+ * If someone tries `holocron new token 1password <token>`, the token
558
558
  * will be stored in the keyring but never read by this plugin — the
559
559
  * `AUTH_HINT` below explains that up front.
560
560
  */
@@ -638,7 +638,7 @@ function createPlugin(options = {}) {
638
638
  };
639
639
  }
640
640
  /**
641
- * One-line hint printed by `holocron auth set 1password` — 1P doesn't
641
+ * One-line hint printed by `holocron new token 1password` — 1P doesn't
642
642
  * store a token in the holocron keyring; the `op` CLI manages its own
643
643
  * auth. Directs the operator to the two paths that actually work.
644
644
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/holocron-plugin-1password",
3
- "version": "5.0.0-alpha.421",
3
+ "version": "5.0.0-alpha.423",
4
4
  "description": "Holocron plugin for 1Password. Implements the vault capability via shell-out to the `op` CLI (https://developer.1password.com/docs/cli).",
5
5
  "keywords": [
6
6
  "1password",
@@ -30,7 +30,7 @@
30
30
  "dist"
31
31
  ],
32
32
  "dependencies": {
33
- "@theholocron/kyber": "^5.0.0-alpha.421"
33
+ "@theholocron/kyber": "^5.0.0-alpha.423"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "^26",
@@ -43,14 +43,14 @@
43
43
  "tsx": "4.23.15",
44
44
  "typescript": "^5.9.3",
45
45
  "vitest": "^5.1.0",
46
- "@theholocron/cli": "5.0.0-alpha.421",
47
- "@theholocron/eslint-config": "^8.9.0-alpha.16",
48
- "@theholocron/tsconfig": "^8.9.0-alpha.16",
49
- "@theholocron/tsdown-config": "^8.9.0-alpha.16",
50
- "@theholocron/vitest-config": "^8.9.0-alpha.16"
46
+ "@theholocron/cli": "5.0.0-alpha.423",
47
+ "@theholocron/eslint-config": "^8.9.0-alpha.17",
48
+ "@theholocron/tsconfig": "^8.9.0-alpha.17",
49
+ "@theholocron/tsdown-config": "^8.9.0-alpha.17",
50
+ "@theholocron/vitest-config": "^8.9.0-alpha.17"
51
51
  },
52
52
  "peerDependencies": {
53
- "@theholocron/cli": "5.0.0-alpha.421"
53
+ "@theholocron/cli": "5.0.0-alpha.423"
54
54
  },
55
55
  "engines": {
56
56
  "node": ">=22"