@intentic/keyring 1.430.0 → 1.431.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 +3 -2
- package/dist/watch/chip.d.ts +0 -1
- package/dist/watch/chip.d.ts.map +1 -1
- package/dist/watch/chip.js +4 -3
- package/dist/watch/chip.js.map +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -257,8 +257,9 @@ While the person lets Passwords remember what they type in programs (the vault's
|
|
|
257
257
|
`state` op every minute), the session helper watches which field has the keyboard's focus (`src/watch/`). On Windows a
|
|
258
258
|
long-running PowerShell holds a UI Automation focus-changed handler, reporting whether the focused element is a password
|
|
259
259
|
field, its program's executable and where it is; a small topmost window that never takes focus then shows under the
|
|
260
|
-
field, "Fill with Intentic" when `candidates` has an entry for that program and
|
|
261
|
-
|
|
260
|
+
field, "Fill with Intentic", when `candidates` has an entry for that program, and goes when focus moves or after eight
|
|
261
|
+
seconds. With nothing saved for the program no chip shows: the person already chose to have passwords remembered, so
|
|
262
|
+
asking again at every sign-in only nags; a new one is added from the Passwords app. A click sends `fill-window`. On Linux the watcher is AT-SPI through python3-gi,
|
|
262
263
|
and the chip is a desktop notification with one action, since a Wayland compositor does not let a program place a
|
|
263
264
|
window; without python3's AT-SPI bindings the chip stays off. Nothing reads a field's value or hooks the keyboard.
|
|
264
265
|
|
package/dist/watch/chip.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import { z } from "zod";
|
|
|
2
2
|
import type { KeyringOp, KeyringRequest, KeyringResponse } from "../protocol.js";
|
|
3
3
|
export declare const CHIP_SECONDS = 8;
|
|
4
4
|
export declare const FILL_LABEL = "Fill with Intentic";
|
|
5
|
-
export declare const SAVE_LABEL = "Save with Intentic";
|
|
6
5
|
export declare const FocusEventSchema: z.ZodObject<{
|
|
7
6
|
event: z.ZodLiteral<"focus">;
|
|
8
7
|
password: z.ZodBoolean;
|
package/dist/watch/chip.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chip.d.ts","sourceRoot":"","sources":["../../src/watch/chip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAUjF,eAAO,MAAM,YAAY,IAAI,CAAC;AAC9B,eAAO,MAAM,UAAU,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"chip.d.ts","sourceRoot":"","sources":["../../src/watch/chip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAUjF,eAAO,MAAM,YAAY,IAAI,CAAC;AAC9B,eAAO,MAAM,UAAU,uBAAuB,CAAC;AAG/C,eAAO,MAAM,gBAAgB;;;;;;;;kBAWhB,CAAC;AACd,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D,eAAO,MAAM,gBAAgB;;;;;;;;;;6BAAsG,CAAC;AACpI,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAG1D,MAAM,WAAW,SAAS;IACtB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,WAAW;IACxB,QAAQ,CAAC,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,SAAS,KAAK,IAAI,CAAC;IACtD,QAAQ,CAAC,IAAI,EAAE,MAAM,IAAI,CAAC;CAC7B;AAED,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,EAAE,cAAc,KAAK,OAAO,CAAC,eAAe,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,CAAC;AAEtG,MAAM,WAAW,QAAQ;IACrB,QAAQ,CAAC,GAAG,EAAE,UAAU,CAAC;IACzB,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC;IAC9B,QAAQ,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAExC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,IAAI,KAAK,MAAM,IAAI,CAAC;CAChE;AAQD,eAAO,MAAM,SAAS,SAAU,MAAM,KAAG,MAA4C,CAAC;AAItF,qBAAa,cAAc;;IAOvB,YAAY,IAAI,EAAE,QAAQ,EAEzB;IAED,IAAI,KAAK,IAAI,OAAO,CAEnB;IAWK,OAAO,CAAC,KAAK,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAM9C;IAEK,OAAO,CAAC,KAAK,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAkB9C;IAEK,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAQ7B;CACJ"}
|
package/dist/watch/chip.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export const CHIP_SECONDS = 8;
|
|
3
3
|
export const FILL_LABEL = "Fill with Intentic";
|
|
4
|
-
export const SAVE_LABEL = "Save with Intentic";
|
|
5
4
|
export const FocusEventSchema = z
|
|
6
5
|
.object({
|
|
7
6
|
event: z.literal("focus"),
|
|
@@ -58,9 +57,11 @@ export class ChipController {
|
|
|
58
57
|
return;
|
|
59
58
|
}
|
|
60
59
|
const matches = CandidatesSchema.safeParse(answer);
|
|
61
|
-
|
|
60
|
+
if (!matches.success || matches.data.matches.length === 0) {
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
62
63
|
this.#shown = true;
|
|
63
|
-
this.#deps.surface.show(
|
|
64
|
+
this.#deps.surface.show(FILL_LABEL, { x: Math.round(event.x), y: Math.round(event.y + event.height + 2) });
|
|
64
65
|
this.#cancel = (this.#deps.after ?? realAfter)(CHIP_SECONDS * 1000, () => this.#hide());
|
|
65
66
|
}
|
|
66
67
|
async onClick() {
|
package/dist/watch/chip.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chip.js","sourceRoot":"","sources":["../../src/watch/chip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC;AAC9B,MAAM,CAAC,MAAM,UAAU,GAAG,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"chip.js","sourceRoot":"","sources":["../../src/watch/chip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC;AAC9B,MAAM,CAAC,MAAM,UAAU,GAAG,oBAAoB,CAAC;AAG/C,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC;KAC5B,MAAM,CAAC;IACJ,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;IACzB,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE;IAErB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;IAC1B,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE;IACb,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE;IACb,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CACrB,CAAC;KACD,MAAM,EAAE,CAAC;AAGd,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,kBAAkB,CAAC,OAAO,EAAE,CAAC,gBAAgB,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,O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AAG,EAAE,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;IAC5F,CAAC;IAED,KAAK,CAAC,OAAO;QACT,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;YACf,OAAO;QACX,CAAC;QACD,IAAI,CAAC,KAAK,EAAE,CAAC;QACb,IAAI,CAAC,KAAK,EAAE,CAAC;QACb,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,EAAE,EAAE,aAAa,EAAE,CAAC,CAAC;QAC3D,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,+BAA+B,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,yBAAyB,CAAC,CAAC,CAAC,gCAAgC,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC;IACpK,CAAC;CACJ"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentic/keyring",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.431.0",
|
|
4
4
|
"description": "intentic-keyring: the password vault on a user's own computer, a process of its own beside intentic-machine, that types and releases secrets for a sandbox's agent without the agent ever holding them",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@intentic/base": "1.
|
|
38
|
-
"@intentic/local-agent": "1.
|
|
39
|
-
"@intentic/sandbox-contract": "1.
|
|
37
|
+
"@intentic/base": "1.431.0",
|
|
38
|
+
"@intentic/local-agent": "1.431.0",
|
|
39
|
+
"@intentic/sandbox-contract": "1.431.0",
|
|
40
40
|
"@stricli/core": "1.3.0",
|
|
41
41
|
"zod": "4.6.7"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@intentic/constants": "1.
|
|
44
|
+
"@intentic/constants": "1.431.0",
|
|
45
45
|
"@intentic/testing": "0.0.0",
|
|
46
46
|
"@intentic/tsconfig": "0.0.0",
|
|
47
47
|
"@types/bun": "1.4.4",
|