@absolutejs/agent-control 0.4.1 → 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 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@absolutejs/agent-control",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Authenticated AI agent operator API, console, and bound plan-then-execute playground.",
5
5
  "type": "module",
6
6
  "license": "MIT",