@kmmao/happy-agent 0.5.3 → 0.5.5
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 +19 -0
- package/dist/index.cjs +2497 -73
- package/dist/index.d.cts +333 -1
- package/dist/index.d.mts +333 -1
- package/dist/index.mjs +2474 -68
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -60,6 +60,25 @@ happy-agent status <session-id>
|
|
|
60
60
|
happy-agent status <session-id> --json
|
|
61
61
|
```
|
|
62
62
|
|
|
63
|
+
### Session summary
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
# Show the narrative session summary stored in metadata.sessionSummary
|
|
67
|
+
happy-agent summary show <session-id>
|
|
68
|
+
|
|
69
|
+
# Output the summary as JSON
|
|
70
|
+
happy-agent summary show <session-id> --json
|
|
71
|
+
|
|
72
|
+
# Ask the agent to rewrite the session summary
|
|
73
|
+
happy-agent summary refresh <session-id>
|
|
74
|
+
|
|
75
|
+
# Require a real summary update before returning
|
|
76
|
+
happy-agent summary refresh <session-id> --require-summary
|
|
77
|
+
|
|
78
|
+
# Wait for the agent to finish, then print the latest summary
|
|
79
|
+
happy-agent summary refresh <session-id> --wait
|
|
80
|
+
```
|
|
81
|
+
|
|
63
82
|
### Create a session
|
|
64
83
|
|
|
65
84
|
```bash
|