@tailor-platform/sdk 1.15.1 → 1.16.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.
@@ -1,7 +1,7 @@
1
1
  /// <reference path="./../../user-defined.d.ts" />
2
- import { M as TailorDBType, st as TailorField } from "../../types-Db1oxr0U.mjs";
3
- import "../../index-DomkP6gz.mjs";
4
- import { G as WORKFLOW_TEST_ENV_KEY, n as output } from "../../index-Bs9AsQb2.mjs";
2
+ import { M as TailorDBType, st as TailorField } from "../../types-_sYDzqHG.mjs";
3
+ import "../../index-Ds8lbSJb.mjs";
4
+ import { G as WORKFLOW_TEST_ENV_KEY, n as output } from "../../index-1V_2bvT4.mjs";
5
5
  import { StandardSchemaV1 } from "@standard-schema/spec";
6
6
 
7
7
  //#region src/utils/test/index.d.ts
@@ -0,0 +1,64 @@
1
+ # Function Commands
2
+
3
+ Commands for viewing function execution logs.
4
+
5
+ <!-- politty:command:function:start -->
6
+
7
+ ## function
8
+
9
+ Manage functions
10
+
11
+ **Usage**
12
+
13
+ ```
14
+ tailor-sdk function [command]
15
+ ```
16
+
17
+ **Commands**
18
+
19
+ | Command | Description |
20
+ | --------------------------------- | ------------------------------------ |
21
+ | [`function logs`](#function-logs) | List or get function execution logs. |
22
+
23
+ <!-- politty:command:function:end -->
24
+ <!-- politty:command:function logs:start -->
25
+
26
+ ### function logs
27
+
28
+ List or get function execution logs.
29
+
30
+ **Usage**
31
+
32
+ ```
33
+ tailor-sdk function logs [options] [executionId]
34
+ ```
35
+
36
+ **Arguments**
37
+
38
+ | Argument | Description | Required |
39
+ | ------------- | --------------------------------------------------- | -------- |
40
+ | `executionId` | Execution ID (if provided, shows details with logs) | No |
41
+
42
+ **Options**
43
+
44
+ | Option | Alias | Description | Required | Default |
45
+ | ------------------------------- | ----- | ----------------- | -------- | ------- |
46
+ | `--json` | `-j` | Output as JSON | No | `false` |
47
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
48
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
49
+
50
+ <!-- politty:command:function logs:end -->
51
+
52
+ **Usage Examples:**
53
+
54
+ ```bash
55
+ # List all function execution logs
56
+ tailor-sdk function logs
57
+
58
+ # Get execution details with logs
59
+ tailor-sdk function logs <execution-id>
60
+
61
+ # Output as JSON
62
+ tailor-sdk function logs --json
63
+ tailor-sdk function logs <execution-id> --json
64
+ ```
@@ -152,6 +152,14 @@ Commands for managing workflows and executions.
152
152
  | [workflow executions](./cli/workflow.md#workflow-executions) | List or get executions |
153
153
  | [workflow resume](./cli/workflow.md#workflow-resume) | Resume a failed execution |
154
154
 
155
+ ### [Function Commands](./cli/function.md)
156
+
157
+ Commands for viewing function execution logs.
158
+
159
+ | Command | Description |
160
+ | ------------------------------------------------ | ----------------------------------- |
161
+ | [function logs](./cli/function.md#function-logs) | List or get function execution logs |
162
+
155
163
  ### [Executor Commands](./cli/executor.md)
156
164
 
157
165
  Commands for managing executors and executor jobs.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tailor-platform/sdk",
3
- "version": "1.15.1",
3
+ "version": "1.16.0",
4
4
  "description": "Tailor Platform SDK - The SDK to work with Tailor Platform",
5
5
  "license": "MIT",
6
6
  "repository": {