@jmcombs/pi-1password 2.7.0 → 3.0.0
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 +2 -0
- package/index.ts +2 -2
- package/package.json +6 -7
package/README.md
CHANGED
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
|
|
12
12
|
# @jmcombs/pi-1password
|
|
13
13
|
|
|
14
|
+
**Hosts:** pi ✓ · oh-my-pi ✓
|
|
15
|
+
|
|
14
16
|
1Password integration for the Pi coding agent — with a focus on **secure, transparent credential injection** so bare `gh`, `aws`, `heroku`, and other 1P-protected CLIs "just work" inside Pi without the LLM ever seeing tokens.
|
|
15
17
|
|
|
16
18
|
## Breaking changes in v2.0.0
|
package/index.ts
CHANGED
|
@@ -29,8 +29,8 @@ import * as piRuntime from "@earendil-works/pi-coding-agent";
|
|
|
29
29
|
// `createBashTool` is always present on the pi runtime (and on oh-my-pi's
|
|
30
30
|
// legacy-pi compat shim), so it stays as a static named import.
|
|
31
31
|
import { createBashTool } from "@earendil-works/pi-coding-agent";
|
|
32
|
+
import { obj, type Static } from "@earendil-works/pi-schema";
|
|
32
33
|
import { agentAuthPath, updateAuthJson } from "@jmcombs/pi-agent-files";
|
|
33
|
-
import { type Static, Type } from "typebox";
|
|
34
34
|
|
|
35
35
|
import { mergeShellEnv, userBashOperationsResult } from "./bash-env.js";
|
|
36
36
|
import type { UiContext } from "./credential-api.js";
|
|
@@ -668,7 +668,7 @@ function isCredentialField(field: { label: string; type?: string }): boolean {
|
|
|
668
668
|
|
|
669
669
|
// ── Tool schemas ───────────────────────────────────────────────────────
|
|
670
670
|
|
|
671
|
-
const diagnoseSchema =
|
|
671
|
+
const diagnoseSchema = obj({}, { open: true });
|
|
672
672
|
export type DiagnoseInput = Static<typeof diagnoseSchema>;
|
|
673
673
|
|
|
674
674
|
// ── Extension factory ──────────────────────────────────────────────────
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jmcombs/pi-1password",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "1Password integration for the Pi coding agent. Read secrets and run commands with 1Password credential injection via the op CLI.",
|
|
5
5
|
"homepage": "https://github.com/jmcombs/pi-extensions/tree/main/packages/1password",
|
|
6
6
|
"repository": {
|
|
@@ -44,16 +44,15 @@
|
|
|
44
44
|
"node": ">=22.19.0"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@
|
|
47
|
+
"@earendil-works/pi-schema": "^1.5.0",
|
|
48
|
+
"@jmcombs/pi-agent-files": "^1.0.0 || ^2.0.0"
|
|
48
49
|
},
|
|
49
50
|
"peerDependencies": {
|
|
50
51
|
"@earendil-works/pi-coding-agent": "*",
|
|
51
|
-
"@earendil-works/pi-tui": "*"
|
|
52
|
-
"typebox": "*"
|
|
52
|
+
"@earendil-works/pi-tui": "*"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@earendil-works/pi-coding-agent": "^1.
|
|
56
|
-
"@earendil-works/pi-tui": "*"
|
|
57
|
-
"typebox": "^1.4.3"
|
|
55
|
+
"@earendil-works/pi-coding-agent": "^1.5.0",
|
|
56
|
+
"@earendil-works/pi-tui": "*"
|
|
58
57
|
}
|
|
59
58
|
}
|