@standardagents/skill 0.41.17 → 0.41.18
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/package.json
CHANGED
|
@@ -655,6 +655,8 @@ This is the single biggest gap in most coding-agent-built tools. **Do not write
|
|
|
655
655
|
| Read the thread's message history | `state.getMessages` / `state.getMessage` | Reimplementing storage |
|
|
656
656
|
| Update an existing message | `state.updateMessage` | Mutating storage directly |
|
|
657
657
|
| Read execution logs | `state.getLogs` | External observability shim |
|
|
658
|
+
| Record an application log entry | `state.log({ name, message, level, data })` | Console logging, injected messages |
|
|
659
|
+
| Know whether the thread is running | `state.status()` (clients: `thread_status` frames / `GET /api/threads/:id`) | Polling, inferring from pending messages |
|
|
658
660
|
| Emit a runtime event | `state.emit` | Console logging |
|
|
659
661
|
| Stop the thread | `state.terminate` | Throwing and hoping |
|
|
660
662
|
|
|
@@ -665,7 +667,8 @@ Discoverability reference. For full signatures, read the spec types from `node_m
|
|
|
665
667
|
```
|
|
666
668
|
Identity threadId, agentId, userId, createdAt, children, terminated, arguments
|
|
667
669
|
Messages getMessages, getMessage, injectMessage, queueMessage, updateMessage
|
|
668
|
-
Logs getLogs
|
|
670
|
+
Logs getLogs, log
|
|
671
|
+
Status status
|
|
669
672
|
Resources loadModel, loadPrompt, loadAgent,
|
|
670
673
|
getChildThread, getParentThread,
|
|
671
674
|
getPromptNames, getAgentNames, getModelNames
|