@appliqation/agent-core 0.1.0 → 0.1.1
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 +9 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
# @appliqation/agent-core
|
|
2
2
|
|
|
3
|
-
**The shared engine every standalone Appliqation agent is built from.** Not an app on its own — no CLI, no `.env` — just the generic, workflow-agnostic pieces that [`appliqation-autotest`](https://github.com/appliqation/appliqation-autotest), [`appliqation-scriptgen`](https://github.com/appliqation/appliqation-scriptgen),
|
|
3
|
+
**The shared engine every standalone Appliqation agent is built from.** Not an app on its own — no CLI, no `.env` — just the generic, workflow-agnostic pieces that [`appliqation-autotest`](https://github.com/appliqation/appliqation-autotest), [`appliqation-scriptgen`](https://github.com/appliqation/appliqation-scriptgen), [`appliqation-defect-fix`](https://github.com/appliqation/appliqation-defect-fix), [`appliqation-pr-raise`](https://github.com/appliqation/appliqation-pr-raise), [`appliqation-explorer`](https://github.com/appliqation/appliqation-explorer), and [`appliqation-autopilot`](https://github.com/appliqation/appliqation-autopilot) each build on:
|
|
4
4
|
|
|
5
5
|
- **`/engine`** — the think→act→observe tool-calling loop, budget tracking (calls/pages/time/turns), and a workflow runner that fetches a named prompt (from Appliqation's MCP server or a local file) and runs it through that loop.
|
|
6
6
|
- **`/appq`** — a JSON-RPC client for Appliqation's MCP API, plus scenario/test-set/run resolvers that always derive `project_id`/`url` from a source of truth (a scenario ID, a TC UUID) rather than accepting a second, possibly-diverging input.
|
|
7
7
|
- **`/providers`** — Anthropic and OpenAI adapters implementing one common interface, including prompt caching and image-handling for both wire formats.
|
|
8
|
-
- **`/tools`** — a Playwright-backed browser-tool palette, the tool-allowlist gating mechanism every agent's own safety boundary is built on, a destructive-action click gate, auth-session resolution, and per-test-case role inference.
|
|
8
|
+
- **`/tools`** — a Playwright-backed browser-tool palette (multi-tab aware — `browser_tabs`/`browser_resize`/`browser_evaluate`), an HTTP client for API test cases (`http_request`, with dry-run write-verb suppression), the tool-allowlist gating mechanism every agent's own safety boundary is built on, a destructive-action click gate, an argument-level read-only gate for Appliqation's project-context document, auth-session resolution (UI storageState and API credentials), and per-test-case role/test-type inference.
|
|
9
9
|
- **`/evidence`** — screenshot/console/network/accessibility-snapshot capture with cursor-based delta reads.
|
|
10
|
+
- **`/audit`** — optional, best-effort run logging (`AuditRecord`/`AuditSink`, MongoDB and local-JSONL-file implementations) that every sibling agent can opt into, read back by [`appliqation-dashboard`](https://github.com/appliqation/appliqation-dashboard). A write failure here never affects the real run it's describing.
|
|
10
11
|
|
|
11
12
|
## Design principle: mechanism shared, domain knowledge local
|
|
12
13
|
|
|
@@ -17,14 +18,18 @@ Every module here is either genuinely universal, or an explicit injection point
|
|
|
17
18
|
|
|
18
19
|
## Installation
|
|
19
20
|
|
|
20
|
-
|
|
21
|
+
```bash
|
|
22
|
+
npm install @appliqation/agent-core
|
|
23
|
+
```
|
|
21
24
|
|
|
22
25
|
```json
|
|
23
26
|
"dependencies": {
|
|
24
|
-
"@appliqation/agent-core": "
|
|
27
|
+
"@appliqation/agent-core": "^0.1.0"
|
|
25
28
|
}
|
|
26
29
|
```
|
|
27
30
|
|
|
31
|
+
Requires `playwright` and `@appliqation/automation-sdk` as peer dependencies (already a dependency of every consuming agent in this family).
|
|
32
|
+
|
|
28
33
|
## Development
|
|
29
34
|
|
|
30
35
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appliqation/agent-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Shared engine (think->act->observe loop, budget tracking, appq MCP client, gated tool dispatch, Playwright browser tools, evidence capture) for Appliqation's family of standalone agents.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|