@absolutejs/agent-control 0.4.0 → 0.4.2
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 -0
- package/dist/index.d.ts +1 -1
- package/dist/manifest.js +17 -0
- package/dist/manifest.json +22 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -34,6 +34,9 @@ has no third-party assets. The data adapter keeps it provider-neutral and lets
|
|
|
34
34
|
applications compose `@absolutejs/agency`, `agent-runtime`, `agent-memory`, and
|
|
35
35
|
`agent-reputation` without creating hard dependencies.
|
|
36
36
|
|
|
37
|
+
The PostgreSQL operation store accepts readonly query results, so the same
|
|
38
|
+
small Bun SQL adapter can be shared with Agency without copying result rows.
|
|
39
|
+
|
|
37
40
|
`createAgentPlaygroundHandler()` adds a provider-neutral plan-then-execute UI
|
|
38
41
|
and API. Planning is a separate, explicitly effect-free adapter operation. The
|
|
39
42
|
server stores the full input and only returns its digest, expires plans quickly,
|
package/dist/index.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export declare const createAgentControlHandler: ({ authorize, basePath, control,
|
|
|
27
27
|
now?: () => number;
|
|
28
28
|
}) => (request: Request) => Promise<Response | null>;
|
|
29
29
|
export type ControlSqlResult<Row> = {
|
|
30
|
-
rows: Row
|
|
30
|
+
rows: ReadonlyArray<Row>;
|
|
31
31
|
};
|
|
32
32
|
export type ControlSqlClient = {
|
|
33
33
|
query: <Row = Record<string, unknown>>(text: string, values?: readonly unknown[]) => Promise<ControlSqlResult<Row>>;
|
package/dist/manifest.js
CHANGED
|
@@ -5940,6 +5940,23 @@ var manifestSchema = Type.Object({
|
|
|
5940
5940
|
import { Type as Type2 } from "@sinclair/typebox";
|
|
5941
5941
|
var manifest = defineManifest()({
|
|
5942
5942
|
contract: 2,
|
|
5943
|
+
discovery: {
|
|
5944
|
+
audiences: ["platform-operators", "security-teams"],
|
|
5945
|
+
intents: [
|
|
5946
|
+
"inspect agent activity",
|
|
5947
|
+
"revoke agent access",
|
|
5948
|
+
"operate an agent kill switch"
|
|
5949
|
+
],
|
|
5950
|
+
keywords: [
|
|
5951
|
+
"agents",
|
|
5952
|
+
"operations",
|
|
5953
|
+
"approvals",
|
|
5954
|
+
"revocation",
|
|
5955
|
+
"kill-switch",
|
|
5956
|
+
"console"
|
|
5957
|
+
],
|
|
5958
|
+
protocols: ["AbsoluteJS Agent Control"]
|
|
5959
|
+
},
|
|
5943
5960
|
identity: {
|
|
5944
5961
|
accent: "#dc2626",
|
|
5945
5962
|
category: "security",
|
package/dist/manifest.json
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"contract": 2,
|
|
3
|
+
"discovery": {
|
|
4
|
+
"audiences": [
|
|
5
|
+
"platform-operators",
|
|
6
|
+
"security-teams"
|
|
7
|
+
],
|
|
8
|
+
"intents": [
|
|
9
|
+
"inspect agent activity",
|
|
10
|
+
"revoke agent access",
|
|
11
|
+
"operate an agent kill switch"
|
|
12
|
+
],
|
|
13
|
+
"keywords": [
|
|
14
|
+
"agents",
|
|
15
|
+
"operations",
|
|
16
|
+
"approvals",
|
|
17
|
+
"revocation",
|
|
18
|
+
"kill-switch",
|
|
19
|
+
"console"
|
|
20
|
+
],
|
|
21
|
+
"protocols": [
|
|
22
|
+
"AbsoluteJS Agent Control"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
3
25
|
"identity": {
|
|
4
26
|
"accent": "#dc2626",
|
|
5
27
|
"category": "security",
|