@toloka-platform/sdk 0.1.0-preview.9 → 0.1.0
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 +5 -4
- package/dist/cli/toloka.js +138 -136
- 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/authoring.md +9 -4
- package/docs/cli-v2.md +2 -2
- package/docs/cli.md +13 -2
- package/docs/getting-started.md +3 -3
- package/docs/limitations.md +2 -2
- package/package.json +3 -3
- package/skills/catalog.json +4 -4
- package/skills/toloka-build/SKILL.md +1 -1
- package/skills/toloka-build/references/node-semantics.md +2 -2
- package/skills/toloka-build/references/workflow-and-cli.md +2 -1
- package/skills/toloka-report-issue/references/report-template.md +1 -1
- package/src/authoring/index.ts +10 -0
- package/src/cli/auto-update.ts +1 -5
- package/src/cli/check.ts +91 -30
- package/src/cli/cost.ts +7 -1
- package/src/cli/program.ts +28 -2
- package/src/cli/project-context.ts +47 -2
- package/src/cli/project.ts +53 -10
- package/src/cli/version.ts +68 -0
- package/src/index.ts +2 -0
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Build and operate Toloka pipeline projects as TypeScript source.
|
|
4
4
|
|
|
5
|
-
> **
|
|
5
|
+
> **Beta.** This SDK is not stable. 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. Read [limitations](./docs/limitations.md).
|
|
6
6
|
|
|
7
7
|
A pipeline project is a graph of nodes that moves items from a dataset through deterministic code and human work and back into the dataset. This package lets you write that project as TypeScript, keep it in version control, and reconcile it onto the platform with one command.
|
|
8
8
|
|
|
@@ -43,15 +43,16 @@ toloka init
|
|
|
43
43
|
|
|
44
44
|
## Install
|
|
45
45
|
|
|
46
|
-
Install the bytecode-cached CLI and add the
|
|
46
|
+
Install the bytecode-cached CLI and add the Beta SDK to the project:
|
|
47
47
|
|
|
48
48
|
```sh
|
|
49
49
|
curl -fsSL https://platform.toloka.ai/cli/install.sh | sh
|
|
50
|
-
bun add @toloka-platform/sdk@
|
|
50
|
+
bun add @toloka-platform/sdk@latest
|
|
51
51
|
```
|
|
52
52
|
|
|
53
53
|
The installer requires Bun 1.4.0, installs `@toloka-platform/sdk` globally, and exposes `toloka` through Bun's global binary directory. The project install makes SDK imports resolvable.
|
|
54
54
|
|
|
55
|
+
The supported package channel is `latest`; version `0.1.0` remains Beta.
|
|
55
56
|
For a guided first run, start a fresh coding-agent session and ask it to follow the [agent onboarding guide](https://platform.toloka.ai/onboarding.md).
|
|
56
57
|
|
|
57
58
|
## Documentation
|
|
@@ -65,7 +66,7 @@ For a guided first run, start a fresh coding-agent session and ask it to follow
|
|
|
65
66
|
| [Datasets](./docs/datasets.md) | columns, immutable schemas, loading rows, what plan refuses |
|
|
66
67
|
| [CLI](./docs/cli.md) | every command, flag, exit code, and the reconcile loop |
|
|
67
68
|
| [Troubleshooting](./docs/troubleshooting.md) | the failures you will actually hit, and what to do about each |
|
|
68
|
-
| [Limitations](./docs/limitations.md) |
|
|
69
|
+
| [Limitations](./docs/limitations.md) | Beta status and what this SDK does not do yet |
|
|
69
70
|
|
|
70
71
|
## Examples
|
|
71
72
|
|