@toloka-platform/sdk 0.1.0-preview.7 → 0.1.0-preview.9

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.
Files changed (41) hide show
  1. package/README.md +3 -4
  2. package/dist/cli/toloka.js +133 -130
  3. package/dist/cli/toloka.js.jsc +0 -0
  4. package/dist/cli/toloka.js.jsc.sha256 +1 -1
  5. package/dist/cli/toloka.js.sha256 +1 -1
  6. package/docs/authoring.md +3 -5
  7. package/docs/cli.md +15 -0
  8. package/docs/limitations.md +1 -1
  9. package/examples/face-image-collection/nodes/order-faces/node.ts +2 -4
  10. package/examples/video-pair-rating/nodes/adjudication_match/node.ts +15 -17
  11. package/examples/video-pair-rating/nodes/assemble/node.ts +25 -27
  12. package/examples/video-pair-rating/nodes/cascade/node.ts +24 -26
  13. package/examples/video-pair-rating/nodes/finalize_overall/node.ts +17 -19
  14. package/examples/video-pair-rating/nodes/merge_adjudication/node.ts +13 -15
  15. package/examples/video-pair-rating/nodes/merge_op_adjudication/node.ts +12 -14
  16. package/examples/video-pair-rating/nodes/op_quorum_resolve/node.ts +13 -15
  17. package/examples/video-pair-rating/nodes/route_adjudication/node.ts +1 -3
  18. package/examples/video-pair-rating/nodes/route_op_adjudication/node.ts +5 -7
  19. package/examples/video-pair-rating/nodes/route_overall/node.ts +1 -3
  20. package/examples/video-pair-rating/nodes/shuffle_ab/node.ts +11 -13
  21. package/openapi/gen/models/datasetItem.ts +0 -2
  22. package/openapi/gen/models/index.ts +0 -1
  23. package/package.json +1 -1
  24. package/skills/catalog.json +4 -4
  25. package/skills/toloka-build/SKILL.md +1 -0
  26. package/skills/toloka-build/references/node-semantics.md +5 -5
  27. package/skills/toloka-build/references/workflow-and-cli.md +6 -1
  28. package/skills/toloka-report-issue/references/report-template.md +1 -1
  29. package/src/authoring/index.ts +27 -26
  30. package/src/checks/task-ui-typecheck.ts +1 -2
  31. package/src/cli/analytics.ts +8 -19
  32. package/src/cli/auto-update.ts +367 -0
  33. package/src/cli/boolean-flag.ts +13 -0
  34. package/src/cli/check.ts +3 -4
  35. package/src/cli/cli-entry.ts +41 -0
  36. package/src/cli/credentials.ts +3 -0
  37. package/src/cli/program.ts +37 -1
  38. package/src/cli/settings.ts +93 -0
  39. package/src/cli/skill.ts +4 -5
  40. package/src/importer.ts +12 -16
  41. package/openapi/gen/models/datasetItemDuplicateOfSubmissionId.ts +0 -2
package/README.md CHANGED
@@ -17,10 +17,9 @@ const start = root({ started: [imageUrl], completed: [caption] });
17
17
  const describe = code("describe_image", {
18
18
  about: { name: "describe_image", description: "Caption each image with a vision model." },
19
19
  envVars: [],
20
- fieldProxies: {
21
- input: [{ field: imageUrl, optional: false }],
22
- output: [{ field: caption, optional: false }],
23
- },
20
+ input: [{ field: imageUrl, optional: false }],
21
+ output: [{ field: caption, optional: false }],
22
+
24
23
  code: {
25
24
  code: `from main_types import Inputs, Outputs
26
25