@wenathlan/extension 1.1.57 → 1.1.58
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 +4 -3
- package/dist/agentmailbox.d.ts +42 -0
- package/dist/agentmailbox.d.ts.map +1 -0
- package/dist/blackboard.d.ts +55 -0
- package/dist/blackboard.d.ts.map +1 -0
- package/dist/index.d.ts +5 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3954 -3455
- package/dist/index.js.map +4 -4
- package/dist/memory.d.ts +47 -1
- package/dist/memory.d.ts.map +1 -1
- package/dist/multiagent.d.ts +151 -0
- package/dist/multiagent.d.ts.map +1 -0
- package/dist/policy.d.ts +36 -1
- package/dist/policy.d.ts.map +1 -1
- package/dist/protocol.d.ts +58 -1
- package/dist/protocol.d.ts.map +1 -1
- package/dist/taskqueue.d.ts +97 -0
- package/dist/taskqueue.d.ts.map +1 -0
- package/dist/types.d.ts +186 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/extension/dist/background.js +4584 -3873
- package/extension/dist/background.js.map +4 -4
- package/extension/dist/manifest.json +1 -1
- package/extension/dist/pagebridge.js.map +1 -1
- package/extension/dist/popup.html +1 -1
- package/extension/dist/popup.js +12 -0
- package/extension/dist/popup.js.map +2 -2
- package/extension/dist/sidepanel.html +1 -1
- package/extension/dist/sidepanel.js +337 -0
- package/extension/dist/sidepanel.js.map +2 -2
- package/extension/manifest.json +1 -1
- 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.
|
|
5
|
+
Version: **1.1.58**. 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.
|
|
9
|
+
| Capability | Behavior in 1.1.58 |
|
|
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. |
|
|
@@ -27,6 +27,7 @@ Version: **1.1.57**. License: **GPL-3.0-only**. The repository is `wenathlan/ext
|
|
|
27
27
|
| Workflow engine | Steps compose into workflows with consent: `composeworkflow` validates the name, version, granted HTTPS origins, steps and reusable blocks, expands every nested block before review so no step stays hidden, grades the record by its worst step and freezes it, `savetemplate` shares one reviewed step across workflows, `runworkflow` executes the expanded list one step at a time behind the live session, approved plan, origin grants and the explicit run review flag with a checkpoint after every completed step that survives service worker restarts, `dryrun` evaluates every step read only through per kind projections and refuses mutation steps without one, `delay` sleeps a seeded jitter window with long delays riding the alarms api when the browser exposes it, `waitelement` polls a selector until appearance, the reviewed timeout or a clean abort on tab navigation, `compute` evaluates expressions of arithmetic, comparison, logic, text, contains and length operators with operand coercion, and `extractvars` stores regex named captures as variables with the no match case reported honestly — typed scopes stack per block with shadowing, bindings link earlier outcomes to named variables, `${name}` interpolation substitutes scope values into targets, values and options, and 1.1.51 adds the control flow family: `condition` evaluates a reviewed boolean expression over the extracted values with no page side effect, `branch` chooses the first matching path by page state (pageurl, pagetitle and pageready) with a mandatory else path so every branch terminates, `loop`, `repeatuntil`, `whileloop` and `foreach` iterate lists, convergence conditions, bounded while conditions and matched elements rebinding the deep copied item and index variables per iteration inside user configured safety bounds with no code ceiling, `parallel` runs branches concurrently in isolated scopes that the join merges under the first, last or fail strategy over conflicting writes with cancel or continue on branch failure, and `trycatch` wraps fragile steps with a catch handler, rerun option, retry policy of user configured attempts over fixed or exponential seeded backoff and the reviewed error classes, and per step and per run timeout budgets whose aborts carry the cancelled error class — composition validates every control payload, collects every nested child step so no construct hides a step and grades the record by its worst child, single step execution runs one chosen step outside the run loop, pause, resume and cancel record their reasons, runlogs keep under the user configured retention with no code ceiling, control decisions persist for audit, and the manifest permissions stay unchanged. |
|
|
28
28
|
| Triggers and scheduling | Reviewed workflows start themselves with consent: `visitrule` fires on navigations to reviewed HTTPS origins, `urlrule` matches glob patterns where `*` spans one path segment and `**` spans across segments with explicit ports honored, `menurule` binds a context menu entry, `keyrule` binds a keyboard shortcut command, `buttonrule` binds the toolbar button, `cronrule` schedules five field cron expressions with named weekdays and months and optional timezones resolved through the runtime database, `intervalrule` fires every reviewed period with a seeded jitter spread, `urllistrule` plans one run per url of a reviewed list, `webhookrule` verifies a shared secret over the entropy floor and a payload schema in constant time before anything persists, and `eventrule` subscribes to observed page events of the catalog (mutate, focus, banner, console, error, navigate) — every rule arms behind the explicit arm review that renders its match fields and bound workflow first, grades sensitive, and every launch re-passes the live session, approved plan and origin gates through the same run machinery as a reviewed runworkflow step with the triggering url, title and payload as seed variables; cooldown windows, interval periods with jitter and the fire record retention stay user choices with no code ceiling, the dedupe keeps one pending fire per rule while a run is active, the queue holds fires that arrive while the run is busy or the session is paused and drains in arrival order on resume, the manual run step preview renders every expanded step with its control summaries before confirmation, scheduling persists through chrome.storage and opportunistic wakes with the alarms api riding the browser only when exposed without a declared permission, and the manifest permissions stay unchanged. |
|
|
29
29
|
| Workflow editor | Reviewed workflows get a visual home with consent: the canvas renders steps as nodes with typed binding sockets and blocks as containers with nested child steps, drag and drop snaps onto the reviewed grid and the nearest block column, the palette lists curated drop blocks across actions, control flow, waits, variables and triggers with search, the step library browses every reviewed kind grouped by category with its option schema, the step inspector edits options, bindings and nested params, the variable inspector lists scopes and values, the mini map projects the full canvas with click navigation and the zoom keeps step labels readable, undo and redo cover every canvas edit, and every save passes the editorsavegate of a live session, an approved plan, unique node ids, forward only edges and the full composeworkflow grammar so no editor artifact bypasses review — breakpoints mark any step for debug runs that pause before it and resume exactly there, version timelines carry change notes with diffs of added, removed and changed steps and rollbacks that grade unreviewed until the rollback review approves them, imports grade unreviewed until the import review approves the expanded step list, exports and share bundles ship as json or yaml with the export content review refusing any secret, token, api key, password or authorization field so secrets never leave the browser, background runs keep executing with the panel closed while every step checkpoints and every worker wake restores them through the same gates, the watchdog recovers stalled runs by the user configured retry, pause or cancel and reaps zombie runs of browser shutdowns with thresholds and windows as pure user choices with no code ceiling, run history keeps outcome, duration and trigger cause under a user configured retention, and per site overrides adjust only the reviewed knobs of loop bounds, step and run timeouts, element wait timeouts and delay bases per https origin pattern or subdomain glob — no new action kinds, the manifest permissions stay unchanged. |
|
|
30
|
+
| Multi agent swarm | Several agents work at once over one shared context with consent: each agent binds to its own tab with its own role (planner, worker, observer or any custom role, one agent per tab), the shared task queue carries user configured lanes, priorities, claims and work stealing inside one approved swarm with lane ownership rules, dead agents release their tasks through claim heartbeat expiry and requeue, agent mailboxes route direct, broadcast and role addressed messages, the blackboard holds the goals, facts, findings and scratch sections every agent reads with the consent class of the source extraction, per agent budgets halt at the user configured token, cost and step ceilings, per agent scopes stay inside the session grants, sub agents spawn under a user configured depth limit, and the killswitch halts every agent at once with no configuration barrier — no agent count, lane or ceiling is hardcoded and every agent proposal passes the same human review. |
|
|
30
31
|
| 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. |
|
|
31
32
|
| 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. |
|
|
32
33
|
| Files and downloads | The agent moves bytes with review: `batchdownload` downloads reviewed url lists in waves under a user configured concurrent window with per file states and sequence suffixes for filename conflicts, `pausedownload` and `resumedownload` walk the queue through the downloads api, `verifydownload` compares state, size and checksum against reviewed expectations, `interceptmime` arms include, exclude and deny default mime filters that reroute matching downloads into quarantine, `exportnetlog` exports the step correlated network log with every header value redacted, `readclipboard` needs an approved single use consent prompt per read and never persists the payload text, `writeclipboard` writes reviewed text through the page bridge with payload hashes for audit, `copyscreen` copies the visible tab to the clipboard, `quarantinedownload` and `scanvirus` keep files outside the downloads folder until a clean scan verdict releases them, `namecaptures` stamps task, step and sequence filenames with per task counters, and `cleanupartifacts` sweeps artifacts by reviewed age and kind rules while keeping open review references. |
|
|
@@ -68,7 +69,7 @@ The endpoint field intentionally has no default URL. Enter a URL such as `https:
|
|
|
68
69
|
|
|
69
70
|
```json
|
|
70
71
|
{
|
|
71
|
-
"version": "1.1.
|
|
72
|
+
"version": "1.1.58",
|
|
72
73
|
"objective": "User supplied objective",
|
|
73
74
|
"session": { "id": "uuid", "tabid": 1, "origin": "https://example.com" },
|
|
74
75
|
"observation": { "schemaversion": 3, "url": "https://example.com/path", "interactive": [] },
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { agentidentity, agentmailbox, agentmessage, messagerouting } from "./types.js";
|
|
2
|
+
/**
|
|
3
|
+
* Agent mailbox logic of the 1.1.58 multi agent family.
|
|
4
|
+
* Every correlated rule for the direct, broadcast and role addressed routing, the inbox and outbox records, the unread counters and the receive drain with ack tracking lives in this file.
|
|
5
|
+
* The messages stay inside the swarm: a message that carries page content grades as an egress event in the audit trail, and no mailbox delivery ever bypasses a consent gate.
|
|
6
|
+
*/
|
|
7
|
+
/** The broadcast recipient marker: a message addressed to it reaches every agent of the swarm but the sender. */
|
|
8
|
+
export declare const broadcastrecipient = "*";
|
|
9
|
+
/** Returns the mailbox of one agent; an agent without a mailbox yet reads an empty one. */
|
|
10
|
+
export declare function mailboxof(mailboxes: agentmailbox[], agentid: string): agentmailbox;
|
|
11
|
+
/** Returns every agent id of one role for the role addressed routing. */
|
|
12
|
+
export declare function roleaddress(agents: agentidentity[], role: string): string[];
|
|
13
|
+
/** Resolves the recipients of one message: a direct message names one agent, a broadcast reaches every live agent but the sender and a role message reaches every live agent of the role. */
|
|
14
|
+
export declare function resolverecipients(input: {
|
|
15
|
+
agents: agentidentity[];
|
|
16
|
+
senderid: string;
|
|
17
|
+
recipient: string;
|
|
18
|
+
routing: messagerouting;
|
|
19
|
+
}): string[];
|
|
20
|
+
/** Delivers one message to the recipient inboxes: the sender outbox records it, the unread counters rise and the delivery stays visible to every reader of the swarm. */
|
|
21
|
+
export declare function sendmessage(input: {
|
|
22
|
+
mailboxes: agentmailbox[];
|
|
23
|
+
agents: agentidentity[];
|
|
24
|
+
id: string;
|
|
25
|
+
senderid: string;
|
|
26
|
+
recipient: string;
|
|
27
|
+
routing: messagerouting;
|
|
28
|
+
payload: string;
|
|
29
|
+
now: number;
|
|
30
|
+
}): agentmailbox[];
|
|
31
|
+
/** Drains one inbox with ack tracking: every message receives its read time, the unread counter resets and the drain returns the read messages oldest first. */
|
|
32
|
+
export declare function receivemessages(input: {
|
|
33
|
+
mailboxes: agentmailbox[];
|
|
34
|
+
agentid: string;
|
|
35
|
+
now: number;
|
|
36
|
+
}): {
|
|
37
|
+
mailboxes: agentmailbox[];
|
|
38
|
+
messages: agentmessage[];
|
|
39
|
+
};
|
|
40
|
+
/** Returns the unread count of one agent mailbox. */
|
|
41
|
+
export declare function unreadcount(mailboxes: agentmailbox[], agentid: string): number;
|
|
42
|
+
//# sourceMappingURL=agentmailbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentmailbox.d.ts","sourceRoot":"","sources":["../agentmailbox.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5F;;;;GAIG;AAEH,iHAAiH;AACjH,eAAO,MAAM,kBAAkB,MAAM,CAAC;AAEtC,2FAA2F;AAC3F,wBAAgB,SAAS,CAAC,SAAS,EAAE,YAAY,EAAE,EAAE,OAAO,EAAE,MAAM,GAAG,YAAY,CAElF;AAED,yEAAyE;AACzE,wBAAgB,WAAW,CAAC,MAAM,EAAE,aAAa,EAAE,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAE3E;AAED,6LAA6L;AAC7L,wBAAgB,iBAAiB,CAAC,KAAK,EAAE;IAAE,MAAM,EAAE,aAAa,EAAE,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,cAAc,CAAA;CAAE,GAAG,MAAM,EAAE,CAM5I;AAED,yKAAyK;AACzK,wBAAgB,WAAW,CAAC,KAAK,EAAE;IAAE,SAAS,EAAE,YAAY,EAAE,CAAC;IAAC,MAAM,EAAE,aAAa,EAAE,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,cAAc,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GAAG,YAAY,EAAE,CAiBjN;AAED,gKAAgK;AAChK,wBAAgB,eAAe,CAAC,KAAK,EAAE;IAAE,SAAS,EAAE,YAAY,EAAE,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,SAAS,EAAE,YAAY,EAAE,CAAC;IAAC,QAAQ,EAAE,YAAY,EAAE,CAAA;CAAE,CAK3J;AAED,qDAAqD;AACrD,wBAAgB,WAAW,CAAC,SAAS,EAAE,YAAY,EAAE,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAE9E"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { actionrisk, blackboard, blackboardentry, blackboardsection } from "./types.js";
|
|
2
|
+
/**
|
|
3
|
+
* Blackboard shared memory logic of the 1.1.58 multi agent family.
|
|
4
|
+
* Every correlated rule for the shared sections, posting with authors, reading with freshness filters, retirement by the user configured window and the consent class inheritance of the source extraction lives in this file.
|
|
5
|
+
* Every agent of the swarm reads the same board: the writes of one agent are visible to every other agent with no relay.
|
|
6
|
+
*/
|
|
7
|
+
/** The blackboard sections the swarm shares by default; the user may narrow the list to the sections in use. */
|
|
8
|
+
export declare const blackboardsections: blackboardsection[];
|
|
9
|
+
/** Builds one empty blackboard over the four shared sections with no retirement window; an absent window keeps every entry. */
|
|
10
|
+
export declare function emptyboard(sections?: blackboardsection[]): blackboard;
|
|
11
|
+
/** Writes one entry to a section with its author: the key and value stay the plain text the author typed, the section joins the board when it is new and the entry carries the consent class of its source extraction. */
|
|
12
|
+
export declare function postentry(input: {
|
|
13
|
+
board: blackboard;
|
|
14
|
+
id: string;
|
|
15
|
+
key: string;
|
|
16
|
+
value: string;
|
|
17
|
+
section: blackboardsection;
|
|
18
|
+
author: string;
|
|
19
|
+
valuekind?: "text" | "json";
|
|
20
|
+
consentclass?: actionrisk;
|
|
21
|
+
now: number;
|
|
22
|
+
}): blackboard;
|
|
23
|
+
/** True when one entry stayed fresh inside the window; an absent window keeps every entry fresh. */
|
|
24
|
+
export declare function entryfresh(entry: blackboardentry, now: number, window?: number): boolean;
|
|
25
|
+
/** Returns the entries of one section with freshness filters: retired entries stay out and an optional window keeps only the fresh ones; an absent section returns every live entry. */
|
|
26
|
+
export declare function readentries(input: {
|
|
27
|
+
board: blackboard;
|
|
28
|
+
section?: blackboardsection;
|
|
29
|
+
freshness?: number;
|
|
30
|
+
now: number;
|
|
31
|
+
}): blackboardentry[];
|
|
32
|
+
/** Retires the stale entries by the user configured policy: entries older than the retirement window of the board receive their retirement time while an absent window retires nothing. */
|
|
33
|
+
export declare function retireentries(input: {
|
|
34
|
+
board: blackboard;
|
|
35
|
+
now: number;
|
|
36
|
+
}): {
|
|
37
|
+
board: blackboard;
|
|
38
|
+
retired: string[];
|
|
39
|
+
};
|
|
40
|
+
/** Retires one entry by its id; the retired entry stays stored for the audit trail while the live reads stop showing it. */
|
|
41
|
+
export declare function retireentry(input: {
|
|
42
|
+
board: blackboard;
|
|
43
|
+
entryid: string;
|
|
44
|
+
now: number;
|
|
45
|
+
}): blackboard;
|
|
46
|
+
/** Inherits the consent class of the source extraction into one entry: the reader of the entry sees the class of the extraction it came from, so a sensitive extraction stays sensitive on the board. */
|
|
47
|
+
export declare function inheritconsent(entry: blackboardentry, sourcerisk: actionrisk): blackboardentry;
|
|
48
|
+
/** Summarizes the board for the panel: every section with its live entry count, its authors and the freshest posting time. */
|
|
49
|
+
export declare function boardsummary(board: blackboard, now: number): Array<{
|
|
50
|
+
section: blackboardsection;
|
|
51
|
+
entries: number;
|
|
52
|
+
authors: string[];
|
|
53
|
+
freshestat?: number;
|
|
54
|
+
}>;
|
|
55
|
+
//# sourceMappingURL=blackboard.d.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E,KAAK,EAAE,UAAU,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE,CASjH;AAED,4HAA4H;AAC5H,wBAAgB,WAAW,CAAC,KAAK,EAAE;IAAE,KAAK,EAAE,UAAU,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GAAG,UAAU,CAKlG;AAED,yMAAyM;AACzM,wBAAgB,cAAc,CAAC,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,UAAU,GAAG,eAAe,CAE9F;AAED,8HAA8H;AAC9H,wBAAgB,YAAY,CAAC,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,GAAG,KAAK,CAAC;IAAE,OAAO,EAAE,iBAAiB,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAK3J"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
export * from "./agentmailbox.js";
|
|
1
2
|
export * from "./approvalgate.js";
|
|
3
|
+
export * from "./blackboard.js";
|
|
2
4
|
export * from "./capture.js";
|
|
3
5
|
export * from "./cdpbus.js";
|
|
4
6
|
export * from "./clientauth.js";
|
|
@@ -11,18 +13,20 @@ export * from "./media.js";
|
|
|
11
13
|
export * from "./memory.js";
|
|
12
14
|
export * from "./mcpserver.js";
|
|
13
15
|
export * from "./modelroute.js";
|
|
16
|
+
export * from "./multiagent.js";
|
|
14
17
|
export * from "./netauth.js";
|
|
15
18
|
export * from "./netcontrol.js";
|
|
16
19
|
export * from "./netwatch.js";
|
|
17
20
|
export * from "./profilers.js";
|
|
18
21
|
export * from "./promptlibrary.js";
|
|
19
22
|
export * from "./sessions.js";
|
|
23
|
+
export * from "./taskqueue.js";
|
|
20
24
|
export * from "./trigger.js";
|
|
21
25
|
export * from "./toolcatalog.js";
|
|
22
26
|
export * from "./workflow.js";
|
|
23
27
|
export * from "./workfloweditor.js";
|
|
24
28
|
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";
|
|
25
|
-
export { actionrisk as deriveactionrisk, apikeyconsentgranted, authconsentgranted, blockgate, breakpointbudgetallowed, breakpointceilingof, canexecute, consoleconsentcovers, controltarget, cookiegate, debuggate, debuggerconsentcovers, debugwaitbudgetallowed, diffreviewgrade, dryrunprojection, editorsavegate, emugate, emulationretentionwindow, emulationstackallowed, exportcontentreview, generatedvalueallowed, hostpattern, iscdpkind, isdebugkind, isformkind, isnetwatchkind, iscontrolkind, isprofilekind, issocketkind, iswatchkind, issessionkind, isworkflowkind, istriggeraction, normalizeendpoint, observationmodeof, pauseretentionwindow, passwordconsentgranted, permissionnamevalid, permissionstatevalid, planallowlist, profilegrantgranted, profileretentionwindow, proxygate, ratelimitbudgetallowed, resolvedrisk, resolutionverdict, restoreoriginsgranted, restorereviewgranted, reviewedkinds, rotationruleof, runreviewgranted, serverbindgate, serverenablementgate, sessionfolderunique, sessionnameunique, sessionrestoregate, snapshotretentionwindow, socketgate, sourcemapconsentcovers, spamruleof, stackgate, submitreviewgranted, targetgate, toolconsentrequired, tooldispatchgate, toolnamespacegate, toolriskgrade, toolversionfloor, validatetoolcatalog, isemulationkind, locationconsentgate, 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 } from "./policy.js";
|
|
29
|
+
export { actionrisk as deriveactionrisk, agentbudgetvalid, agentscopevalid, apikeyconsentgranted, authconsentgranted, blackboardconsentgrade, blockgate, breakpointbudgetallowed, breakpointceilingof, canexecute, consoleconsentcovers, controltarget, cookiegate, debuggate, debuggerconsentcovers, debugwaitbudgetallowed, diffreviewgrade, dryrunprojection, editorsavegate, emugate, emulationretentionwindow, emulationstackallowed, exportcontentreview, generatedvalueallowed, hostpattern, iscdpkind, isdebugkind, isformkind, isnetwatchkind, iscontrolkind, isprofilekind, issocketkind, iswatchkind, issessionkind, isworkflowkind, istriggeraction, killswitchgate, messageegressgrade, normalizeendpoint, observationmodeof, pauseretentionwindow, passwordconsentgranted, permissionnamevalid, permissionstatevalid, planallowlist, profilegrantgranted, profileretentionwindow, proxygate, queuelanesvalid, ratelimitbudgetallowed, resolvedrisk, resolutionverdict, restoreoriginsgranted, restorereviewgranted, reviewedkinds, rotationruleof, runreviewgranted, serverbindgate, serverenablementgate, sessionfolderunique, sessionnameunique, sessionrestoregate, snapshotretentionwindow, socketgate, sourcemapconsentcovers, spamruleof, spawngrade, stackgate, submitreviewgranted, targetgate, toolconsentrequired, tooldispatchgate, toolnamespacegate, toolriskgrade, toolversionfloor, validatetoolcatalog, workstealgrade, isemulationkind, locationconsentgate, 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 } from "./policy.js";
|
|
26
30
|
export * from "./protocol.js";
|
|
27
31
|
export * from "./socketbus.js";
|
|
28
32
|
export * from "./types.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7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