dataiku-sdk 4.0.0 → 4.2.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 +1 -0
- package/dist/build-metadata.json +1 -1
- package/dist/packages/types/src/index.d.ts +5 -1
- package/dist/packages/types/src/index.js +5 -1
- package/dist/src/cli/command-syntax.json +4136 -2756
- package/dist/src/cli/commands/code-env.js +5 -3
- package/dist/src/cli/commands/dataset.js +6 -4
- package/dist/src/cli/commands/future.js +7 -2
- package/dist/src/cli/commands/index.js +4 -0
- package/dist/src/cli/commands/job.js +12 -9
- package/dist/src/cli/commands/messaging-channel.d.ts +17 -0
- package/dist/src/cli/commands/messaging-channel.js +385 -0
- package/dist/src/cli/commands/project-deployer.js +33 -0
- package/dist/src/cli/commands/project.js +30 -0
- package/dist/src/cli/commands/recipe.js +23 -2
- package/dist/src/cli/commands/scenario.d.ts +6 -0
- package/dist/src/cli/commands/scenario.js +495 -17
- package/dist/src/cli/contract.js +20 -4
- package/dist/src/cli/env.d.ts +6 -0
- package/dist/src/cli/env.js +8 -0
- package/dist/src/cli/flags.js +34 -0
- package/dist/src/cli/helpers/cleanup.js +11 -0
- package/dist/src/cli/list-shapes.js +5 -0
- package/dist/src/cli/output.d.ts +2 -0
- package/dist/src/cli/output.js +24 -4
- package/dist/src/cli/plans.js +94 -2
- package/dist/src/cli/read-shapes.js +92 -1
- package/dist/src/cli/result-shapes.d.ts +19 -1
- package/dist/src/cli/result-shapes.js +228 -4
- package/dist/src/cli/selector-suggestions.d.ts +14 -0
- package/dist/src/cli/selector-suggestions.js +56 -0
- package/dist/src/cli/usage.d.ts +1 -1
- package/dist/src/cli/usage.js +36 -4
- package/dist/src/cli/version.d.ts +2 -2
- package/dist/src/cli/version.js +2 -2
- package/dist/src/cli.js +62 -13
- package/dist/src/client.d.ts +16 -4
- package/dist/src/client.js +45 -9
- package/dist/src/errors.d.ts +2 -0
- package/dist/src/errors.js +12 -2
- package/dist/src/generated/action-output-schemas.json +296 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +1 -0
- package/dist/src/resources/bundles.d.ts +18 -0
- package/dist/src/resources/bundles.js +26 -0
- package/dist/src/resources/futures.d.ts +3 -0
- package/dist/src/resources/futures.js +5 -1
- package/dist/src/resources/messaging-channels.d.ts +83 -0
- package/dist/src/resources/messaging-channels.js +108 -0
- package/dist/src/resources/projects.d.ts +24 -0
- package/dist/src/resources/projects.js +36 -0
- package/dist/src/resources/recipe-create.d.ts +4 -1
- package/dist/src/resources/recipe-create.js +11 -2
- package/dist/src/resources/scenario-authoring.d.ts +52 -0
- package/dist/src/resources/scenario-authoring.js +216 -0
- package/dist/src/resources/scenarios.d.ts +128 -11
- package/dist/src/resources/scenarios.js +273 -43
- package/dist/src/resources/sql.js +3 -3
- package/dist/src/utils/messaging-channel-secrets.d.ts +17 -0
- package/dist/src/utils/messaging-channel-secrets.js +114 -0
- package/package.json +2 -1
- package/plugin.json +1 -1
- package/skills/dataiku-dss/SKILL.md +15 -16
- package/skills/dataiku-dss/references/discovery.md +2 -2
- package/skills/dataiku-dss/references/notifications.md +29 -0
- package/skills/dataiku-dss/references/troubleshooting.md +1 -0
package/README.md
CHANGED
|
@@ -291,6 +291,7 @@ Use environment variables for ephemeral runs. For disposable agent tests, set `D
|
|
|
291
291
|
Credential precedence is flags first, then `DATAIKU_*` environment variables, then saved credentials in `DSS_CONFIG_DIR` or the platform config directory.
|
|
292
292
|
Set `DATAIKU_DISABLE_ENV=1` when a test must ignore both `.env` files and `DATAIKU_*` environment variables.
|
|
293
293
|
When `.env` loading is enabled, the CLI reads `.env` from the CLI build/root directory and from the command's current working directory; put test-specific `.env` files in the directory where you invoke `dss`. Only `DATAIKU_*`, `NODE_TLS_REJECT_UNAUTHORIZED`, and `NODE_EXTRA_CA_CERTS` are read from `.env`; other keys are ignored.
|
|
294
|
+
Set `DSS_PRETTY=1` to indent stdout JSON (still one JSON value). Use it when the shell or agent harness cuts long lines (omp's bash tool cuts each line at 768 bytes), so a one-line result is not truncated. It is read from the process environment only, not from `.env`.
|
|
294
295
|
|
|
295
296
|
POSIX shell:
|
|
296
297
|
|
package/dist/build-metadata.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"format":1,"buildRevision":"
|
|
1
|
+
{"format":1,"buildRevision":"0a9c498cd629569fe77883dd3f4fb1abae25c23d"}
|
|
@@ -286,8 +286,10 @@ export declare const JobWaitResultSchema: import("@sinclair/typebox").TObject<{
|
|
|
286
286
|
timedOut: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
287
287
|
/** Present on a wait timeout: the wait never cancels the job, so this is `false`. */
|
|
288
288
|
cancelled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
289
|
-
/** CLI only, on a wait timeout: the command that resumes waiting for the still-running job. */
|
|
289
|
+
/** CLI only, on a wait timeout: POSIX display form of the command that resumes waiting for the still-running job. */
|
|
290
290
|
resume: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
291
|
+
/** CLI only, on a wait timeout: the resume command as argv, runnable without a shell on any OS. */
|
|
292
|
+
resumeArgv: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
291
293
|
progress: import("@sinclair/typebox").TObject<{
|
|
292
294
|
done: import("@sinclair/typebox").TNumber;
|
|
293
295
|
failed: import("@sinclair/typebox").TNumber;
|
|
@@ -387,6 +389,8 @@ export declare const ScenarioWaitResultSchema: import("@sinclair/typebox").TObje
|
|
|
387
389
|
elapsedMs: import("@sinclair/typebox").TNumber;
|
|
388
390
|
pollCount: import("@sinclair/typebox").TNumber;
|
|
389
391
|
timedOut: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
392
|
+
/** DSS cancelled the trigger fire (the scenario was already running): no scenario run exists. */
|
|
393
|
+
cancelled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
390
394
|
triggerRunId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
391
395
|
steps: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
392
396
|
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
@@ -310,8 +310,10 @@ export const JobWaitResultSchema = Type.Object({
|
|
|
310
310
|
timedOut: Type.Optional(Type.Boolean()),
|
|
311
311
|
/** Present on a wait timeout: the wait never cancels the job, so this is `false`. */
|
|
312
312
|
cancelled: Type.Optional(Type.Boolean()),
|
|
313
|
-
/** CLI only, on a wait timeout: the command that resumes waiting for the still-running job. */
|
|
313
|
+
/** CLI only, on a wait timeout: POSIX display form of the command that resumes waiting for the still-running job. */
|
|
314
314
|
resume: Type.Optional(Type.String()),
|
|
315
|
+
/** CLI only, on a wait timeout: the resume command as argv, runnable without a shell on any OS. */
|
|
316
|
+
resumeArgv: Type.Optional(Type.Array(Type.String())),
|
|
315
317
|
progress: Type.Object({
|
|
316
318
|
done: Type.Number(),
|
|
317
319
|
failed: Type.Number(),
|
|
@@ -411,6 +413,8 @@ export const ScenarioWaitResultSchema = Type.Object({
|
|
|
411
413
|
elapsedMs: Type.Number(),
|
|
412
414
|
pollCount: Type.Number(),
|
|
413
415
|
timedOut: Type.Optional(Type.Boolean()),
|
|
416
|
+
/** DSS cancelled the trigger fire (the scenario was already running): no scenario run exists. */
|
|
417
|
+
cancelled: Type.Optional(Type.Boolean()),
|
|
414
418
|
triggerRunId: Type.Optional(Type.String()),
|
|
415
419
|
steps: Type.Optional(Type.Array(ScenarioStepRunSchema)),
|
|
416
420
|
});
|