@datashift/sdk 0.3.0 → 0.3.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 +12 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +10 -2
package/README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
# @datashift/sdk
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@datashift/sdk)
|
|
4
|
+
[](https://opensource.org/licenses/MIT)
|
|
5
|
+
|
|
3
6
|
TypeScript SDK for integrating human-in-the-loop checkpoints into AI agent workflows.
|
|
4
7
|
|
|
5
8
|
## Overview
|
|
6
9
|
|
|
7
|
-
Datashift enables AI agents to submit tasks for human review before committing changes.
|
|
10
|
+
[Datashift](https://datashift.io) enables AI agents to submit tasks for human review before committing changes. Create review queues, define review types (approval, classification, labeling, scoring, augmentation), and integrate human oversight into any AI workflow — via [REST API](https://datashift.io/docs/api) or [MCP](https://datashift.io/docs/mcp).
|
|
8
11
|
|
|
9
12
|
## Installation
|
|
10
13
|
|
|
@@ -446,6 +449,14 @@ app.listen(3000);
|
|
|
446
449
|
- Node.js 18+
|
|
447
450
|
- TypeScript 5.0+ (for type definitions)
|
|
448
451
|
|
|
452
|
+
## Resources
|
|
453
|
+
|
|
454
|
+
- [Datashift Website](https://datashift.io) — Product overview and sign up
|
|
455
|
+
- [Documentation](https://datashift.io/docs) — Guides, API reference, and examples
|
|
456
|
+
- [MCP Server](https://datashift.io/docs/mcp) — Connect AI agents via Model Context Protocol
|
|
457
|
+
- [Console](https://console.datashift.io) — Manage queues, reviewers, and API keys
|
|
458
|
+
- [GitHub](https://github.com/datashift-io) — SDKs and sample projects
|
|
459
|
+
|
|
449
460
|
## License
|
|
450
461
|
|
|
451
462
|
MIT
|
package/dist/index.d.mts
CHANGED
|
@@ -59,7 +59,7 @@ interface Review {
|
|
|
59
59
|
reviewer_id: string | null;
|
|
60
60
|
result: string[];
|
|
61
61
|
data: Record<string, unknown>;
|
|
62
|
-
|
|
62
|
+
feedback: string | null;
|
|
63
63
|
created_at: string;
|
|
64
64
|
}
|
|
65
65
|
interface ListReviewsFilters {
|
|
@@ -111,7 +111,7 @@ interface WebhookQueueData {
|
|
|
111
111
|
interface WebhookReviewData {
|
|
112
112
|
result: string[];
|
|
113
113
|
data: Record<string, unknown>;
|
|
114
|
-
|
|
114
|
+
feedback: string | null;
|
|
115
115
|
reviewer: {
|
|
116
116
|
name: string;
|
|
117
117
|
type: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -59,7 +59,7 @@ interface Review {
|
|
|
59
59
|
reviewer_id: string | null;
|
|
60
60
|
result: string[];
|
|
61
61
|
data: Record<string, unknown>;
|
|
62
|
-
|
|
62
|
+
feedback: string | null;
|
|
63
63
|
created_at: string;
|
|
64
64
|
}
|
|
65
65
|
interface ListReviewsFilters {
|
|
@@ -111,7 +111,7 @@ interface WebhookQueueData {
|
|
|
111
111
|
interface WebhookReviewData {
|
|
112
112
|
result: string[];
|
|
113
113
|
data: Record<string, unknown>;
|
|
114
|
-
|
|
114
|
+
feedback: string | null;
|
|
115
115
|
reviewer: {
|
|
116
116
|
name: string;
|
|
117
117
|
type: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datashift/sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Datashift SDK for human-in-the-loop AI agent workflows",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -26,9 +26,17 @@
|
|
|
26
26
|
"keywords": [
|
|
27
27
|
"datashift",
|
|
28
28
|
"ai",
|
|
29
|
+
"ai-agents",
|
|
29
30
|
"agents",
|
|
30
31
|
"human-in-the-loop",
|
|
31
|
-
"hitl"
|
|
32
|
+
"hitl",
|
|
33
|
+
"llm",
|
|
34
|
+
"review-workflow",
|
|
35
|
+
"model-context-protocol",
|
|
36
|
+
"mcp",
|
|
37
|
+
"automation",
|
|
38
|
+
"content-moderation",
|
|
39
|
+
"approval-workflow"
|
|
32
40
|
],
|
|
33
41
|
"author": "Datashift",
|
|
34
42
|
"license": "MIT",
|