@wenathlan/extension 1.1.65 → 1.1.66

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.
Files changed (46) hide show
  1. package/README.md +4 -3
  2. package/dist/attentionfeed.d.ts +74 -0
  3. package/dist/attentionfeed.d.ts.map +1 -0
  4. package/dist/backgroundruns.d.ts +71 -0
  5. package/dist/backgroundruns.d.ts.map +1 -0
  6. package/dist/flowlibrary.d.ts +147 -0
  7. package/dist/flowlibrary.d.ts.map +1 -0
  8. package/dist/index.d.ts +7 -1
  9. package/dist/index.d.ts.map +1 -1
  10. package/dist/index.js +686 -3
  11. package/dist/index.js.map +4 -4
  12. package/dist/memory.d.ts +67 -1
  13. package/dist/memory.d.ts.map +1 -1
  14. package/dist/outputcompare.d.ts +68 -0
  15. package/dist/outputcompare.d.ts.map +1 -0
  16. package/dist/policy.d.ts +63 -0
  17. package/dist/policy.d.ts.map +1 -1
  18. package/dist/protocol.d.ts +167 -0
  19. package/dist/protocol.d.ts.map +1 -1
  20. package/dist/runreplay.d.ts +53 -0
  21. package/dist/runreplay.d.ts.map +1 -0
  22. package/dist/surfaces.d.ts +2 -2
  23. package/dist/surfaces.d.ts.map +1 -1
  24. package/dist/syncbridge.d.ts +80 -0
  25. package/dist/syncbridge.d.ts.map +1 -0
  26. package/dist/types.d.ts +194 -3
  27. package/dist/types.d.ts.map +1 -1
  28. package/dist/version.d.ts +1 -1
  29. package/extension/dist/background.js +944 -6
  30. package/extension/dist/background.js.map +4 -4
  31. package/extension/dist/dashboardpage.html +2 -0
  32. package/extension/dist/dashboardpage.js +90 -0
  33. package/extension/dist/dashboardpage.js.map +2 -2
  34. package/extension/dist/manifest.json +1 -1
  35. package/extension/dist/optionspage.html +1 -0
  36. package/extension/dist/optionspage.js +73 -0
  37. package/extension/dist/optionspage.js.map +2 -2
  38. package/extension/dist/pagebridge.js.map +1 -1
  39. package/extension/dist/popup.html +1 -1
  40. package/extension/dist/popup.js +48 -36
  41. package/extension/dist/popup.js.map +2 -2
  42. package/extension/dist/sidepanel.html +1 -1
  43. package/extension/dist/sidepanel.js +135 -0
  44. package/extension/dist/sidepanel.js.map +2 -2
  45. package/extension/manifest.json +1 -1
  46. package/package.json +1 -1
package/README.md CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Devthink is a **consent-first browser-agent bridge** distributed as a TypeScript library and a Chromium Manifest V3 extension. It turns a user-provided browser objective into a bounded, reviewable plan. The user must start the active-tab session and approve the plan before any page action reaches the browser.
4
4
 
5
- Version: **1.1.65**. License: **GPL-3.0-only**. The repository is `wenathlan/extension`; the npm-compatible scoped package identifier is `@wenathlan/extension`.
5
+ Version: **1.1.66**. License: **GPL-3.0-only**. The repository is `wenathlan/extension`; the npm-compatible scoped package identifier is `@wenathlan/extension`.
6
6
 
7
7
  ## What it does
8
8
 
9
- | Capability | Behavior in 1.1.65 |
9
+ | Capability | Behavior in 1.1.66 |
10
10
  | --- | --- |
11
11
  | Active-tab session | The user starts a short-lived session for one HTTPS tab and one origin; the session records its origin grants. |
12
12
  | Page observation | The extension captures the complete semantic inventory: every interactive element, every form control, every select option and the full page text. |
@@ -34,6 +34,7 @@ Version: **1.1.65**. License: **GPL-3.0-only**. The repository is `wenathlan/ext
34
34
  | Security hardening | Secrets, messages and money run behind human gates: a secretvault keeps values behind a seam whose persisted records carry labels, scopes, provenance and digests only while the leak scan refuses plaintext secrets in plan texts and step options, redactshots mask sensitive capture regions across viewport, element and stitched captures, schemastrict rejects unknown fields of every registered inbound command with the path and expected shape, origincheck guards every runtime message and port connection while connectallow drops unknown senders from the user managed list that ships empty, ratelimit buckets defer automation commands past their user configured bound until the window resets, confirmpay, confirmdelete and confirmcreds hold payments (amount, payee origin, target), destructive deletions (target, scope, irreversibility) and credential use (label only) until one distinct human action resolves them with no timeout and no batch approval, phishguard blocks login origins whose lookalike distance to a granted origin crosses the user threshold and names the matched origin, safedefaults profile unknown origins as reads only, and the declared transparencypage lists every grant, consent window, sender, permdiff and vault label with a revoke action beside each grant. |
35
35
  | Session interface | The session becomes the primary interface: a sessiongrid lists every live and saved run with its origin set, step count, state, outcome, per tab lock state and seal hash link, historysearch indexes sessions, site notes and run summaries into one corpus with matched term highlighting, emptystate guidance covers every empty surface, errorsurface payloads classify failed step causes as page, network, policy or gate with retry hints that pass only through new reviewed dispatches, sitenotes keep one record per origin with sensitive bodies sealed at rest, the scratchpad holds append only per task entries with step provenance, runsummary distills completed runs inside the user configured window as an offscreen worker task, semanticrecall ranks past extractions by text similarity inside the run scope with run and step provenance, correctionmemory captures plan review edits and rejections, consentmemory keeps every grant, denial, expiry and revocation advisory, and cancelrun rolls only the queued steps back while the executed steps stay untouched in the sealed log. |
36
36
  | Interface surfaces | The interface becomes five surfaces: the popup command surface with the taskinput, the quick run actions and the commandpalette, the sidepanel workspace with plan, run and review tabs, the dashboardpage full page view, the optionspage gathering every setting and the onboarding walkthrough with its single consent scoped event; the commandpalette registers from every module, lists only the capability allowed commands, fuzzy searches ids, labels and keywords and ranks the recent commands first; the taskinput routes through the same proposal flow as the api with the active origin and page outline attached; plancards group by risk class with sensitive classes expanded, stepapprove resolves one step per distinct human action with approve, reject and edit written into the immutable log, diffpreview compares the observed before state with the predicted after state of write class steps with mask verdicts, the stepstimeline derives its nodes from progress with no new state, and the logstream chains live events with mask verdicts, verifies its chain as entries arrive and copies verified ranges as audit excerpts; one command bus routes every surface action through the same policy gates and one broadcast channel carries run state to every surface. |
37
+ | Ecosystem part one | The 1.1.66 family opens the ecosystem: the flowlibrary browses, installs, forks and shares workflow templates behind schemastrict manifests with their kinds inside the installed capability set, their required grants surfaced as a diff that maps onto originprofiles before any import completes, a fresh consent for sensitive entries, unverified publishers quarantined and present publisher signatures verified against the manifest digest while every install lands as a pending import that still passes the same review; syncbridge hooks move manifests between machines behind an explicit opt in with no default on (the file provider through manual import and export payloads that never carry secrets or logs, the web provider an honest stub) with digest based conflicts surfacing both versions instead of a silent overwrite; the background run queue executes reviewed workflows with the keepalive signal held for their whole duration and its state persisted for restart recovery; the attentionfeed collects every gate wait, phishguard block, deferral and failure with its deep link, deduplicates repeated causes per run, ranks by severity and counts on the statusbadge; the runreplay walks a sealed verified chain step by step with the restored observation and capture of each step and its gate resolutions; and the outputcompare joins two runs that share a task input signature, grades agreement, divergence and duration deltas per step and highlights the first divergence without ever executing a step. |
37
38
  | Interface finishing | The 1.1.65 family completes the surface: the datagrid previews extraction results with inferred column types, local sort and filter and masked csv, json and clipboard exports; quickactions, user editable shortcutkeys and the omniboxtask parser shorten the path to a run behind the same gates; the statusbadge counts waiting gates on the toolbar icon while done and attention notifications carry deep links behind the content consent and the do not disturb respect; the recenttray and the stetoasts keep the user informed without watching; the pickeroverlay with stability scored selectors, the targethalo, the guidedtips, the shotpanel, the compareviewer and the pagechips cover selection and evidence with resolutions in the immutable log; and the siteprofiles, the darklight tokens, the locale bundles with english fallback, the importexport bundles that never carry secrets or unmasked logs, the dropimport detection, the featuretour stops and the localized a11ylabels round out the interface. |
38
39
  | Any LLM connection | Any model drives the extension with consent: the user connects a gateway, a base url, an api key and any model — nothing is hardcoded, no provider allowlist exists and the openai chat completions, openai responses, anthropic messages and google gemini shapes are protocol styles the user picks; model routes map task kinds to provider and model pairs with user configured fallbacks, a local loopback endpoint keeps sensitive work on the machine, natural language commands parse into intents with entities and confidence, model drafted plans lint against the action grammar and pass the same human review (draft review plus plan review) local plans pass, failed runs replan their tail under a fresh review, executed steps reflect their lessons into the next prompt, cost budgets halt at the user configured token and currency ceilings and ask, the prompt library versions user templates with consent notices, and the guardrails strip code fences, validate model text against the schema, retry and refuse invalid output before anything executes. |
39
40
  | Agent protocol | The browser becomes a tool server with consent: the mcp server of the agent protocol lists every reviewed browser, workflow, memory and system tool over `tools/list` with its version, json schema inputs, risk grade and full consent metadata, negotiates capabilities and the per client tool floor with any client the user pairs, frames messages in json rpc with newline delimited and http post envelopes, and answers parse, method, params, internal and consentrefused errors with their codes — read only tools run under the dryrun risk class once the session is approved while every tool with side effects executes exactly the approved plan step it names, so no paired client widens what the human approved; the stdio bridge relays frames for local client processes through the native messaging host manifest with restart on demand, the http listener binds localhost by default with any other bind graded sensitive behind the explicit remote review, the server starts only after the user enables it, and the bind, port, transports, frame size, queue depth and call retention all stay user configured with no code ceiling. Since 1.1.55 the stream http transport opens for remote clients behind the full remote gates: one time pairing codes exchanged for session tokens that persist only as sha-256 digests, token scopes per namespace, a client allowlist with grant history, tls required for any non localhost transport with user configured certificate fingerprints, an ordered frame intake where tls terminates before token verification and namespace checks run before consent checks, auth failures that answer with one fixed message leaking no pairing state, a user configured client ceiling, and approval gates that hold every sensitive remote call with its full arguments (secret fields redacted) until the user decides — refusing by default when the configurable window closes. |
@@ -76,7 +77,7 @@ The endpoint field intentionally has no default URL. Enter a URL such as `https:
76
77
 
77
78
  ```json
78
79
  {
79
- "version": "1.1.65",
80
+ "version": "1.1.66",
80
81
  "objective": "User supplied objective",
81
82
  "session": { "id": "uuid", "tabid": 1, "origin": "https://example.com" },
82
83
  "observation": { "schemaversion": 3, "url": "https://example.com/path", "interactive": [] },
@@ -0,0 +1,74 @@
1
+ import type { attentionentry, attentioncause } from "./types.js";
2
+ /**
3
+ * Attentionfeed logic of the 1.1.66 family.
4
+ * Everything that needs a human lands in one feed: gate waits, phishguard blocks, deferrals and failures each collect as one entry with its cause, its run and gate refs and its deep link to the exact waiting surface, repeated causes per run deduplicate while the first occurrence keeps its time, the severity of the cause ranks the feed, and the retention window of the store stays the user's choice.
5
+ * The feed never resolves anything on its own: a deep link opens the waiting surface and the human resolves the cause exactly as before.
6
+ */
7
+ /** Reads the severity rank of one attention cause: a gate wait and a phishguard block hold the run for a human, a deferral waits its window and a failure needs the reviewed retry. */
8
+ export declare function attentionseverityof(cause: attentioncause): "critical" | "warning" | "info";
9
+ /** Builds the deep link of one attention cause: the link opens the exact surface that resolves the cause. */
10
+ export declare function attentiondeeplinkof(cause: attentioncause, runid: string, gateref?: string): string;
11
+ /** Builds one attention entry from its source: the cause, the run ref, the gate ref when the run waits at a gate, the summary in plain language and the deep link. */
12
+ export declare function attentionentryof(input: {
13
+ cause: attentioncause;
14
+ runid: string;
15
+ origin: string;
16
+ summary: string;
17
+ gateref?: string;
18
+ at: number;
19
+ }): attentionentry;
20
+ /** Collects the attention entries of one pass: the gate waits the progress recorded, the phishguard blocks, the deferred events and the failed steps each feed one entry. */
21
+ export declare function collectattention(input: {
22
+ gatewaits?: Array<{
23
+ runid: string;
24
+ stepid: string;
25
+ gateid: string;
26
+ kind: string;
27
+ origin: string;
28
+ waitedms: number;
29
+ }>;
30
+ phishblocks?: Array<{
31
+ runid: string;
32
+ origin: string;
33
+ matchedorigin: string;
34
+ reason: string;
35
+ }>;
36
+ deferrals?: Array<{
37
+ runid: string;
38
+ origin: string;
39
+ reason: string;
40
+ }>;
41
+ failures?: Array<{
42
+ runid: string;
43
+ stepid: string;
44
+ origin: string;
45
+ message: string;
46
+ }>;
47
+ now: number;
48
+ }): attentionentry[];
49
+ /** Deduplicates repeated causes per run: the first occurrence of one cause inside one run keeps its entry and its time while every later occurrence drops. */
50
+ export declare function dedupeattention(entries: attentionentry[]): attentionentry[];
51
+ /** Ranks the attention entries by cause severity first and time second: critical gate waits and phishguard blocks stand above warnings and failures. */
52
+ export declare function rankattention(entries: attentionentry[]): attentionentry[];
53
+ /** Reads the count of attention entries the statusbadge surfaces. */
54
+ export declare function attentioncountof(entries: attentionentry[]): number;
55
+ /** Dismisses one attention entry by its id: the dismissal only removes the feed row, the waiting cause keeps its own resolution path. */
56
+ export declare function dismissattention(entries: attentionentry[], id: string): attentionentry[];
57
+ /** Prunes the attention entries past their retention window: an absent window keeps every entry while the pruned ids return for the audit note. */
58
+ export declare function pruneattention(entries: attentionentry[], retention: number | undefined, now: number): {
59
+ kept: attentionentry[];
60
+ pruned: string[];
61
+ };
62
+ /** Renders the attention entries as system notifications: one content free payload per entry with its deep link, so no page content consent is needed. */
63
+ export declare function attentionnotifications(entries: attentionentry[], now: number): Array<{
64
+ id: string;
65
+ kind: "done" | "attention";
66
+ title: string;
67
+ body: string;
68
+ deeplink: string;
69
+ runid?: string;
70
+ stepid?: string;
71
+ content: boolean;
72
+ at: number;
73
+ }>;
74
+ //# sourceMappingURL=attentionfeed.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attentionfeed.d.ts","sourceRoot":"","sources":["../attentionfeed.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjE;;;;GAIG;AAEH,uLAAuL;AACvL,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,cAAc,GAAG,UAAU,GAAG,SAAS,GAAG,MAAM,CAI1F;AAED,6GAA6G;AAC7G,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAKlG;AAED,sKAAsK;AACtK,wBAAgB,gBAAgB,CAAC,KAAK,EAAE;IAAE,KAAK,EAAE,cAAc,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,GAAG,cAAc,CAI/J;AAED,6KAA6K;AAC7K,wBAAgB,gBAAgB,CAAC,KAAK,EAAE;IAAE,SAAS,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAAC,WAAW,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,MA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EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC,CAE9O"}
@@ -0,0 +1,71 @@
1
+ import type { backgroundqueueentry } from "./types.js";
2
+ /**
3
+ * Background run queue logic of the 1.1.66 family.
4
+ * The queue that keeps workflows executing with no open surface lives here: each entry holds one reviewed workflow the user queued, the queue hands the entries to the executor one at a time in their queued order, a running entry holds the keepalive signal of 1.1.60 for its whole duration, the interrupted entries of a restart requeue for the recovery, and every state transition feeds the attentionfeed through the statusbadge.
5
+ * The queue never starts an unreviewed workflow: a queued entry needs its approved review state exactly like a foreground run.
6
+ */
7
+ /** Builds one background queue entry: the workflow stays queued until the executor picks it while no keepalive signal is held yet. */
8
+ export declare function backgroundqueueentryof(input: {
9
+ workflowid: string;
10
+ summary: string;
11
+ now: number;
12
+ }): backgroundqueueentry;
13
+ /** Enqueues one workflow for a background run: the queue keeps its order and one workflow may wait more than once. */
14
+ export declare function enqueuebackgroundrun(input: {
15
+ queue: backgroundqueueentry[];
16
+ workflowid: string;
17
+ summary: string;
18
+ now: number;
19
+ }): backgroundqueueentry[];
20
+ /** Reads the next queued entry of the queue in its queued order; an empty queue returns undefined. */
21
+ export declare function nextbackgroundrun(queue: backgroundqueueentry[]): backgroundqueueentry | undefined;
22
+ /** Begins one background run: the entry moves to running and holds the keepalive signal for its whole duration behind the background run gate. */
23
+ export declare function beginbackgroundrun(entry: backgroundqueueentry, now: number, reviewed: boolean): {
24
+ entry: backgroundqueueentry;
25
+ gate: {
26
+ allowed: boolean;
27
+ reason: string;
28
+ };
29
+ };
30
+ /** Finishes one background run: the entry reaches its terminal state and releases the keepalive hold it carried. */
31
+ export declare function finishbackgroundrun(entry: backgroundqueueentry, state: "done" | "failed", now: number): backgroundqueueentry;
32
+ /** Reads the restart recovery state of the queue: every running entry of an interrupted worker requeues while the terminal entries keep their state for the audit. */
33
+ export declare function resumebackgroundqueue(queue: backgroundqueueentry[], now: number): {
34
+ queue: backgroundqueueentry[];
35
+ requeued: string[];
36
+ };
37
+ /** Reads the attention descriptor of one background queue entry: a failed entry feeds the attentionfeed while a queued entry defers until the executor turn frees. */
38
+ export declare function backgroundrunattention(entry: backgroundqueueentry, origin: string): {
39
+ cause: "failure" | "deferral";
40
+ runid: string;
41
+ origin: string;
42
+ summary: string;
43
+ } | undefined;
44
+ /** Reads the dashboard view of the background queue: one row per entry with its state and its progress by the workflow step count. */
45
+ export declare function backgroundrunsview(queue: backgroundqueueentry[]): Array<{
46
+ id: string;
47
+ workflowid: string;
48
+ state: string;
49
+ keepaliveheld: boolean;
50
+ queuedat: number;
51
+ startedat?: number;
52
+ endedat?: number;
53
+ summary: string;
54
+ progress: string;
55
+ }>;
56
+ /** Reads the recenttray rows of the finished background runs: the tray grows its background section from the terminal entries of the queue. */
57
+ export declare function backgroundtrayrows(queue: backgroundqueueentry[], origin: string): Array<{
58
+ runid: string;
59
+ origin: string;
60
+ outcome: "running" | "completed" | "halted" | "failed";
61
+ title: string;
62
+ at: number;
63
+ resumable: boolean;
64
+ reopenable: boolean;
65
+ }>;
66
+ /** Cancels one queued entry of the background queue: a running entry keeps its executor path and only a queued entry leaves through the queue. */
67
+ export declare function cancelbackgroundentry(queue: backgroundqueueentry[], id: string): {
68
+ queue: backgroundqueueentry[];
69
+ cancelled: string[];
70
+ };
71
+ //# sourceMappingURL=backgroundruns.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backgroundruns.d.ts","sourceRoot":"","sources":["../backgroundruns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAGvD;;;;GAIG;AAEH,sIAAsI;AACtI,wBAAgB,sBAAsB,CAAC,KAAK,EAAE;IAAE,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E,MAAM,CAAA;CAAE,GAAG,SAAS,CAIjL;AAED,sIAAsI;AACtI,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,oBAAoB,EAAE,GAAG,KAAK,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,aAAa,EAAE,OAAO,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC,CAE7O;AAED,+IAA+I;AAC/I,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,oBAAoB,EAAE,EAAE,MAAM,EAAE,MAAM,GAAG,KAAK,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,OAAO,CAAC;IAAC,UAAU,EAAE,OAAO,CAAA;CAAE,CAAC,CAEtP;AAED,kJAAkJ;AAClJ,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,oBAAoB,EAAE,EAAE,EAAE,EAAE,MAAM,GAAG;IAAE,KAAK,EAAE,oBAAoB,EAAE,CAAC;IAAC,SAAS,EAAE,MAAM,EAAE,CAAA;CAAE,CAUvI"}
@@ -0,0 +1,147 @@
1
+ import type { flowlibraryentry, flowlibrarymanifest, publishdescriptor, workflowrecord, schemaerror } from "./types.js";
2
+ /** Computes the manifest digest every store deduplicates by and every sync conflict detects with. */
3
+ export declare function manifestdigest(manifest: flowlibrarymanifest): Promise<string>;
4
+ /** Validates one raw manifest under schemastrict: the shape errors name their path and expected shape, and the capability gate refuses kinds the installed capability set lacks. */
5
+ export declare function validatemanifest(input: {
6
+ manifest: unknown;
7
+ capabilities: string[];
8
+ }): Promise<{
9
+ ok: boolean;
10
+ errors: schemaerror[];
11
+ reason: string;
12
+ manifest?: flowlibrarymanifest;
13
+ }>;
14
+ /** Verifies the publisher signature of one manifest when present: the descriptor digest must match the recomputed manifest digest and the signature must seal the publisher, the digest and the provenance, so a signature over any other body refuses in full. */
15
+ export declare function verifypublishersignature(manifest: flowlibrarymanifest): Promise<{
16
+ verified: boolean;
17
+ reason: string;
18
+ }>;
19
+ /** Signs one manifest with the publisher seal so tests and publishers produce verifiable descriptors; the seal covers the digest and the provenance exactly as the verification reads them. */
20
+ export declare function signmanifest(manifest: flowlibrarymanifest, provenance: string, publishedat: number): Promise<publishdescriptor>;
21
+ /** Builds one flowlibrary entry with its provenance attached: an unverified publisher quarantines the entry while a verified signature installs it as available. */
22
+ export declare function libraryentryof(input: {
23
+ manifest: flowlibrarymanifest;
24
+ provenance: string;
25
+ now: number;
26
+ }): Promise<flowlibraryentry>;
27
+ /** Reads the grant diff of one manifest against the grants the profile holds: the added grants map onto originprofiles at import time so the import dialog shows exactly what the entry would newly hold. */
28
+ export declare function grantdiffof(input: {
29
+ manifest: flowlibrarymanifest;
30
+ heldgrants: string[];
31
+ }): {
32
+ added: string[];
33
+ kept: string[];
34
+ originmappings: Array<{
35
+ origin: string;
36
+ kinds: string[];
37
+ }>;
38
+ };
39
+ /** Reads the fresh consent descriptor a sensitive manifest needs before any import completes; a non sensitive manifest needs none. */
40
+ export declare function sensitiveconsentfor(manifest: flowlibrarymanifest, freshconsent: boolean): {
41
+ required: boolean;
42
+ reason: string;
43
+ };
44
+ /** Builds the proposal objective one library import lands as: the import never executes directly, it routes through the same proposal flow and plan review as every task. */
45
+ export declare function libraryproposalof(entry: flowlibraryentry): {
46
+ objective: string;
47
+ reviewed: boolean;
48
+ reason: string;
49
+ };
50
+ /** Resolves one manifest into a native workflow record: the steps keep their reviewed kinds while the selector namespaces rewrite for the local profile, and the record lands pending its review approval exactly like any import. */
51
+ export declare function installlibrary(input: {
52
+ entry: flowlibraryentry;
53
+ selectornamespace?: string;
54
+ now: number;
55
+ }): workflowrecord;
56
+ /** Diffs the versions of one library update before it replaces the local entry: the changed steps, the added grants and the version movement all surface so the update never overwrites silently. */
57
+ export declare function updatelibrary(input: {
58
+ incoming: flowlibraryentry;
59
+ existing: flowlibraryentry;
60
+ }): {
61
+ changedsteps: string[];
62
+ addedgrants: string[];
63
+ versionfrom: string;
64
+ versionto: string;
65
+ replace: boolean;
66
+ reason: string;
67
+ };
68
+ /** Reads the removal outcome of one library entry: the local forks stay untouched because a fork is an independent local workflow the store owns apart from its template. */
69
+ export declare function removelibrary(input: {
70
+ entry: flowlibraryentry;
71
+ forks: workflowrecord[];
72
+ }): {
73
+ removed: string;
74
+ keptforks: string[];
75
+ reason: string;
76
+ };
77
+ /** Forks one library entry into an independent local workflow: the fork copies the steps with their rewritten selectors and owns its own name from its creation on. */
78
+ export declare function forklibrary(input: {
79
+ entry: flowlibraryentry;
80
+ now: number;
81
+ }): workflowrecord;
82
+ /** Searches the flowlibrary entries for the dashboardpage browser: the query matches the title, the description and the publisher while the filter narrows the publisher, the sensitive mark or the state. */
83
+ export declare function librarysearch(input: {
84
+ entries: flowlibraryentry[];
85
+ query?: string;
86
+ filter?: {
87
+ publisher?: string;
88
+ sensitive?: boolean;
89
+ state?: string;
90
+ };
91
+ }): flowlibraryentry[];
92
+ /** Reads one browser row of a library entry: the publisher, the version and the required grants per entry the browser lists before any install. */
93
+ export declare function librarybrowserow(entry: flowlibraryentry): {
94
+ id: string;
95
+ title: string;
96
+ publisher: string;
97
+ version: string;
98
+ grants: string[];
99
+ sensitive: boolean;
100
+ state: string;
101
+ registry?: string;
102
+ };
103
+ /** Reads the full step list of one library entry the entry view shows before install: every step with its kind, label, target and namespace beside the data expectations with their minimization hints. */
104
+ export declare function librarystepsview(entry: flowlibraryentry): Array<{
105
+ id: string;
106
+ kind: string;
107
+ label: string;
108
+ target?: string;
109
+ namespace?: string;
110
+ families: string[];
111
+ fields: string[];
112
+ }>;
113
+ /** Reads the minimization summary of one manifest: the data families its steps expect and the fields each family limits itself to. */
114
+ export declare function dataexpectationssummary(manifest: flowlibrarymanifest): Array<{
115
+ family: string;
116
+ fields: string[];
117
+ steps: string[];
118
+ }>;
119
+ /** Builds one library lifecycle event for the immutable log and the store: every install, update and removal records with its entry provenance. */
120
+ export declare function libraryeventof(input: {
121
+ kind: "install" | "update" | "remove";
122
+ entryid: string;
123
+ title: string;
124
+ version: string;
125
+ detail: string;
126
+ now: number;
127
+ }): {
128
+ id: string;
129
+ kind: "install" | "update" | "remove";
130
+ entryid: string;
131
+ title: string;
132
+ version: string;
133
+ detail: string;
134
+ at: number;
135
+ };
136
+ /** Exports the manifest list of the flowlibrary for audit: one entry per manifest with its digest, publisher, version, state and provenance and no step payload. */
137
+ export declare function exportlibrarymanifests(entries: flowlibraryentry[]): Array<{
138
+ id: string;
139
+ title: string;
140
+ publisher: string;
141
+ version: string;
142
+ digest: string;
143
+ state: string;
144
+ provenance: string;
145
+ addedat: number;
146
+ }>;
147
+ //# sourceMappingURL=flowlibrary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flowlibrary.d.ts","sourceRoot":"","sources":["../flowlibrary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,EAAoC,iBAAiB,EAAE,cAAc,EAAE,WAAW,EAAc,MAAM,YAAY,CAAC;AAqBtK,qGAAqG;AACrG,wBAAsB,cAAc,CAAC,QAAQ,EAAE,mBAAmB,GAAG,OAAO,CAAC,MAAM,CAAC,CAInF;AAED,oLAAoL;AACpL,wBAAsB,gBAAgB,CAAC,KAAK,EAAE;IAAE,QAAQ,EAAE,OAAO,CAAC;IAAC,YAAY,EAAE,MAAM,EAAE,CAAA;CAAE,GAAG,OAAO,CAAC;IAAE,EAAE,EAAE,OAAO,CAAC;IAAC,MAAM,E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EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,CAGjS;AAED,oKAAoK;AACpK,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,gBAAgB,EAAE,GAAG,KAAK,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC,CAEhN"}
package/dist/index.d.ts CHANGED
@@ -43,6 +43,12 @@ export * from "./evidenceviews.js";
43
43
  export * from "./siteprefs.js";
44
44
  export * from "./portability.js";
45
45
  export * from "./tourviews.js";
46
+ export * from "./flowlibrary.js";
47
+ export * from "./syncbridge.js";
48
+ export * from "./attentionfeed.js";
49
+ export * from "./backgroundruns.js";
50
+ export * from "./runreplay.js";
51
+ export * from "./outputcompare.js";
46
52
  export * from "./sessions.js";
47
53
  export * from "./taskqueue.js";
48
54
  export * from "./trigger.js";
@@ -51,7 +57,7 @@ export * from "./transparency.js";
51
57
  export * from "./workflow.js";
52
58
  export * from "./workfloweditor.js";
53
59
  export { argkind, attachtimeline, blockingduration, consolecapture, consolediff, errorcapture, filterentries, levelrank, loglevels, longtaskcapture, netfailureentryof, redactconsoletext, rejectioncapture, rotatelogs, serializearg, spamdetect, stackframes, timelinecounts, timelinekinds, timelinesources, watcherdetached, type timeline } from "./runtimeline.js";
54
- export { actionrisk as deriveactionrisk, agentbudgetvalid, agentscopevalid, apikeyconsentgranted, authconsentgranted, blackboardconsentgrade, blockgate, breakpointbudgetallowed, breakpointceilingof, canexecute, confirmcredsgate, confirmdeletegate, confirmpaygate, connectallowgate, consoleconsentcovers, controltarget, cookiegate, debuggate, debuggerconsentcovers, debugwaitbudgetallowed, diffreviewgrade, dryrunprojection, editorsavegate, emugate, emulationretentionwindow, emulationstackallowed, environmentgrantgate, environmentrequirements, exportcontentreview, gatebatchgate, generatedvalueallowed, hostpattern, iscdpkind, isdebugkind, isformkind, isnetwatchkind, iscontrolkind, isprofilekind, issocketkind, iswatchkind, issessionkind, isworkflowkind, istriggeraction, keepalivegate, keepaliveintervalvalid, killswitchgate, messageegressgrade, normalizeendpoint, observationmodeof, offscreencapabilitygate, origincheckgate, pauseretentionwindow, passwordconsentgranted, permissionnamevalid, permissionstatevalid, phishguardgate, phishthresholdgate, planallowlist, profilegrantgranted, profileretentionwindow, proxygate, queuelanesvalid, ratelimitbudgetallowed, ratelimitboundsvalid, ratelimitgate, resolvedrisk, resolutionverdict, restoreoriginsgranted, restorereviewgranted, reviewedkinds, rotationruleof, runreviewgranted, safedefaultsgate, sandboxorigingate, schemaguardgate, serverbindgate, serverenablementgate, sessionfolderunique, sessionnameunique, sessionrestoregate, snapshotretentionwindow, socketgate, sourcemapconsentcovers, spamruleof, spawngrade, stackgate, stepenvironmentvalid, submitreviewgranted, targetgate, toolconsentrequired, tooldispatchgate, toolnamespacegate, toolriskgrade, toolversionfloor, untrustedrendergate, validatetoolcatalog, vaultsecretgate, workstealgrade, workerpoolsizevalid, isemulationkind, locationconsentgate, automationallowlistgate, consentdurationvalid, consentwindowgate, logreadgate, originprofilegate, revokerungate, sensitiveclassgate, sensitivepipelingate, sitenotesreadgate, sitenoteswritegate, scratchpadscopegate, memoryreadscopegate, semanticrecallscopegate, summarywindowvalid, sessionretentionvalid, consentmemoryadvisorygate, cancelrungate, retrydispatchgate, timelinegate, costbudgetvalid, egressconsentgate, guardverdictgate, localsensitivegrade, planlint, plandraftreviewgate, provideregressgrade, providervalid, replanreviewgate, timelineretentionwindow, traceceilingof, triggergate, triggerorigins, validatebreakpointcondition, validatefieldmatch, validateformrecord, validatestep, validatesiteoverride, validateregexrule, validatetargetref, validatevaluegen, watchdogconfigvalid, watchgate, workflowgate, paletteactiongate, taskinputproposalgate, planreviewgate, stepapprovegate, diffpreviewgate, onboardingconsentgate, logbufferboundvalid, logstreamegressgate, quickactiongate, omniboxtaskgate, shortcutkeygate, notificationcontentgate, pickeroverlaygate, shotpanelgate, siteprofilegate, importexportgate } from "./policy.js";
60
+ export { actionrisk as deriveactionrisk, agentbudgetvalid, agentscopevalid, apikeyconsentgranted, authconsentgranted, blackboardconsentgrade, blockgate, breakpointbudgetallowed, breakpointceilingof, canexecute, confirmcredsgate, confirmdeletegate, confirmpaygate, connectallowgate, consoleconsentcovers, controltarget, cookiegate, debuggate, debuggerconsentcovers, debugwaitbudgetallowed, diffreviewgrade, dryrunprojection, editorsavegate, emugate, emulationretentionwindow, emulationstackallowed, environmentgrantgate, environmentrequirements, exportcontentreview, gatebatchgate, generatedvalueallowed, hostpattern, iscdpkind, isdebugkind, isformkind, isnetwatchkind, iscontrolkind, isprofilekind, issocketkind, iswatchkind, issessionkind, isworkflowkind, istriggeraction, keepalivegate, keepaliveintervalvalid, killswitchgate, messageegressgrade, normalizeendpoint, observationmodeof, offscreencapabilitygate, origincheckgate, pauseretentionwindow, passwordconsentgranted, permissionnamevalid, permissionstatevalid, phishguardgate, phishthresholdgate, planallowlist, profilegrantgranted, profileretentionwindow, proxygate, queuelanesvalid, ratelimitbudgetallowed, ratelimitboundsvalid, ratelimitgate, resolvedrisk, resolutionverdict, restoreoriginsgranted, restorereviewgranted, reviewedkinds, rotationruleof, runreviewgranted, safedefaultsgate, sandboxorigingate, schemaguardgate, serverbindgate, serverenablementgate, sessionfolderunique, sessionnameunique, sessionrestoregate, snapshotretentionwindow, socketgate, sourcemapconsentcovers, spamruleof, spawngrade, stackgate, stepenvironmentvalid, submitreviewgranted, targetgate, toolconsentrequired, tooldispatchgate, toolnamespacegate, toolriskgrade, toolversionfloor, untrustedrendergate, validatetoolcatalog, vaultsecretgate, workstealgrade, workerpoolsizevalid, isemulationkind, locationconsentgate, automationallowlistgate, consentdurationvalid, consentwindowgate, logreadgate, originprofilegate, revokerungate, sensitiveclassgate, sensitivepipelingate, sitenotesreadgate, sitenoteswritegate, scratchpadscopegate, memoryreadscopegate, semanticrecallscopegate, summarywindowvalid, sessionretentionvalid, consentmemoryadvisorygate, cancelrungate, retrydispatchgate, timelinegate, costbudgetvalid, egressconsentgate, guardverdictgate, localsensitivegrade, planlint, plandraftreviewgate, provideregressgrade, providervalid, replanreviewgate, timelineretentionwindow, traceceilingof, triggergate, triggerorigins, validatebreakpointcondition, validatefieldmatch, validateformrecord, validatestep, validatesiteoverride, validateregexrule, validatetargetref, validatevaluegen, watchdogconfigvalid, watchgate, workflowgate, paletteactiongate, taskinputproposalgate, planreviewgate, stepapprovegate, diffpreviewgate, onboardingconsentgate, logbufferboundvalid, logstreamegressgate, quickactiongate, omniboxtaskgate, shortcutkeygate, notificationcontentgate, pickeroverlaygate, shotpanelgate, siteprofilegate, importexportgate, librarymanifestgate, librarycapabilitygate, librarygrantgate, librarysensitivegate, libraryquarantinegate, libraryimportgate, syncbridgeoptingate, syncbridgescopegate, runreplaygate, outputcomparegate, outputcomparereadonlygate, backgroundrungate } from "./policy.js";
55
61
  export * from "./protocol.js";
56
62
  export * from "./socketbus.js";
57
63
  export * from "./types.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,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