@toloka-platform/sdk 0.1.0-preview.3 → 0.1.0-preview.4
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 +1 -1
- package/bin/toloka.js +7 -0
- package/dist/cli/toloka.js +74 -74
- package/dist/cli/toloka.js.jsc +0 -0
- package/dist/cli/toloka.js.jsc.sha256 +1 -1
- package/dist/cli/toloka.js.sha256 +1 -1
- package/docs/getting-started.md +1 -1
- package/docs/limitations.md +1 -1
- package/package.json +3 -2
- package/src/authoring/index.ts +216 -171
- package/src/cli/auth.ts +5 -5
- package/src/cli/credentials.ts +8 -2
- package/src/cli/init.ts +1 -1
package/dist/cli/toloka.js.jsc
CHANGED
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
dfdcb0c64d04df834c08b292facaf8edb31aba8a00876f29d6240cd08c9bf378 toloka.js.jsc
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
0e0efdf2d8a9bfacfacd3801a8cd89ceaa80534f262dbf4c9617fc7c22ef822c toloka.js
|
package/docs/getting-started.md
CHANGED
|
@@ -18,7 +18,7 @@ curl -fsSL https://platform.toloka.ai/cli/install.sh | sh
|
|
|
18
18
|
bun add @toloka-platform/sdk@preview
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
The installer
|
|
21
|
+
The installer requires Bun 1.4.0, installs `@toloka-platform/sdk` globally, and exposes `toloka` through Bun's global binary directory. The published CLI includes matching precompiled bytecode. The project install makes SDK imports resolvable.
|
|
22
22
|
|
|
23
23
|
## Sign in
|
|
24
24
|
|
package/docs/limitations.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
What this Preview SDK does not do yet, stated plainly so you can decide what to depend on.
|
|
4
4
|
|
|
5
|
-
`@toloka-platform/sdk` is `0.1.0-preview.
|
|
5
|
+
`@toloka-platform/sdk` is `0.1.0-preview.4`. This is a Preview: the authoring API, the CLI surface, and the generated source layout can change without a major version bump. Pin an exact version. Do not depend on this in production yet.
|
|
6
6
|
|
|
7
7
|
## The SDK does not certify deployability
|
|
8
8
|
|
package/package.json
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toloka-platform/sdk",
|
|
3
|
-
"version": "0.1.0-preview.
|
|
3
|
+
"version": "0.1.0-preview.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Preview. Build, inspect, and operate Toloka pipeline projects as TypeScript source. The public API may change.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"bin": {
|
|
8
|
-
"toloka": "
|
|
8
|
+
"toloka": "bin/toloka.js"
|
|
9
9
|
},
|
|
10
10
|
"files": [
|
|
11
11
|
"README.md",
|
|
12
|
+
"bin",
|
|
12
13
|
"docs",
|
|
13
14
|
"dist",
|
|
14
15
|
"examples",
|