@zigil/agent-react 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 +23 -0
- package/package.json +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# @zigil/agent-react
|
|
2
|
+
|
|
3
|
+
React providers and state helpers for applications built on
|
|
4
|
+
`@zigil/agent-surface`. It owns presentation-neutral attention, context-draft,
|
|
5
|
+
privacy, session, and thread-control state; it does not select an agent runtime.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pnpm add @zigil/agent-react @zigil/agent-surface react
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Exports
|
|
14
|
+
|
|
15
|
+
- `@zigil/agent-react` — the complete React surface.
|
|
16
|
+
- `@zigil/agent-react/attention` and `/attention-telemetry` — current user attention and bounded activity.
|
|
17
|
+
- `@zigil/agent-react/context-draft` and `/context-privacy` — turn context composition and privacy preferences.
|
|
18
|
+
- `@zigil/agent-react/session` — `AgentRuntimeSessionProvider` and `useAgentRuntimeSession`.
|
|
19
|
+
- `@zigil/agent-react/thread-controls` — host-provided thread actions.
|
|
20
|
+
|
|
21
|
+
Runtime adapters belong in separate packages. Product persistence,
|
|
22
|
+
authorization, and domain policy remain host responsibilities.
|
|
23
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zigil/agent-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "React bindings for the Sigil agent interaction contract.",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@standard-schema/spec": "^1.1.0",
|
|
42
|
-
"@zigil/agent-surface": "0.1.
|
|
42
|
+
"@zigil/agent-surface": "0.1.1"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react": "^19.0.0"
|