@tailor-platform/sdk 1.68.0 → 1.70.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.
Files changed (117) hide show
  1. package/CHANGELOG.md +105 -0
  2. package/dist/application-BakHtldG.mjs +4 -0
  3. package/dist/application-Df5_I83n.mjs +6432 -0
  4. package/dist/application-Df5_I83n.mjs.map +1 -0
  5. package/dist/cli/erd-viewer-assets/app.js +279 -36
  6. package/dist/cli/erd-viewer-assets/index.html +4 -0
  7. package/dist/cli/erd-viewer-assets/styles.css +252 -5
  8. package/dist/cli/index.mjs +650 -98
  9. package/dist/cli/index.mjs.map +1 -1
  10. package/dist/cli/lib.d.mts +247 -160
  11. package/dist/cli/lib.mjs +3 -3
  12. package/dist/cli/lib.mjs.map +1 -1
  13. package/dist/cli/skills.mjs +1 -1
  14. package/dist/completion/zsh-worker.zsh +175 -24
  15. package/dist/configure/index.d.mts +5 -5
  16. package/dist/configure/index.mjs +12 -6
  17. package/dist/configure/index.mjs.map +1 -1
  18. package/dist/{crashreport-u9y2npiy.mjs → crashreport-BqyvFk-_.mjs} +2 -2
  19. package/dist/{crashreport-u9y2npiy.mjs.map → crashreport-BqyvFk-_.mjs.map} +1 -1
  20. package/dist/{crashreport-6jpCceOF.mjs → crashreport-BwF8cHF0.mjs} +1 -1
  21. package/dist/enum-constants-C7DaWeQo.mjs.map +1 -1
  22. package/dist/field-C4zdJLW5.mjs.map +1 -1
  23. package/dist/file-utils-BHPxPXmn.mjs.map +1 -1
  24. package/dist/{idp-BlBPtXJ-.d.mts → idp-BmYwCXnJ.d.mts} +30 -3
  25. package/dist/{idp-BZPqpcYY.mjs → idp-ynUfzwpz.mjs} +9 -1
  26. package/dist/idp-ynUfzwpz.mjs.map +1 -0
  27. package/dist/{index-DvEUb3pX.d.mts → index-BAEaAqmz.d.mts} +112 -53
  28. package/dist/{index-CklcVeMG.d.mts → index-C-vsbx27.d.mts} +2 -2
  29. package/dist/{index-hXoO-AOC.d.mts → index-CKI0eZP6.d.mts} +2 -2
  30. package/dist/{index-DYhnxXYR.d.mts → index-CrqOgUF2.d.mts} +2 -2
  31. package/dist/{index-DlDRSzFZ.d.mts → index-DESLU9kI.d.mts} +2 -2
  32. package/dist/{index-DRhMpdnA.d.mts → index-dKNk8hjo.d.mts} +2 -2
  33. package/dist/job-BpsFXPbi.mjs.map +1 -1
  34. package/dist/{kysely-type-D1e0Vwkd.mjs → kysely-type-CSoZxVKN.mjs} +2 -2
  35. package/dist/{kysely-type-D1e0Vwkd.mjs.map → kysely-type-CSoZxVKN.mjs.map} +1 -1
  36. package/dist/{logger-DpJyJvNz.mjs → logger-DKF-JsAK.mjs} +3 -3
  37. package/dist/{logger-DpJyJvNz.mjs.map → logger-DKF-JsAK.mjs.map} +1 -1
  38. package/dist/{mock-DMgIygjE.mjs → mock-wf5qeZLi.mjs} +19 -9
  39. package/dist/mock-wf5qeZLi.mjs.map +1 -0
  40. package/dist/plugin/builtin/enum-constants/index.d.mts +1 -1
  41. package/dist/plugin/builtin/file-utils/index.d.mts +1 -1
  42. package/dist/plugin/builtin/kysely-type/index.d.mts +1 -1
  43. package/dist/plugin/builtin/kysely-type/index.mjs +1 -1
  44. package/dist/plugin/builtin/seed/index.d.mts +1 -1
  45. package/dist/plugin/index.d.mts +1 -1
  46. package/dist/plugin/index.mjs.map +1 -1
  47. package/dist/registry-D0uB0OrK.mjs.map +1 -1
  48. package/dist/{repl-editor-CJG3sz7A.mjs → repl-editor-DD5YP5mt.mjs} +4 -4
  49. package/dist/{repl-editor-CJG3sz7A.mjs.map → repl-editor-DD5YP5mt.mjs.map} +1 -1
  50. package/dist/runtime/globals.d.mts +3 -2
  51. package/dist/runtime/idp.d.mts +2 -2
  52. package/dist/runtime/idp.mjs +1 -1
  53. package/dist/runtime/index.d.mts +2 -2
  54. package/dist/runtime/index.mjs +1 -1
  55. package/dist/{runtime-DxaBq6U8.mjs → runtime-CSY0eD4_.mjs} +411 -221
  56. package/dist/runtime-CSY0eD4_.mjs.map +1 -0
  57. package/dist/{schema-1msIhXwA.mjs → schema-C4fkpWV_.mjs} +9 -15
  58. package/dist/schema-C4fkpWV_.mjs.map +1 -0
  59. package/dist/seed-YAbtMy65.mjs.map +1 -1
  60. package/dist/{service-wI3Hvrgx.mjs → service-B2Jd9CxS.mjs} +2 -2
  61. package/dist/service-B2Jd9CxS.mjs.map +1 -0
  62. package/dist/service-CRaa4Joe.mjs +4 -0
  63. package/dist/{service-DMohAx8a.mjs → service-DDWgZL_L2.mjs} +2 -2
  64. package/dist/service-DDWgZL_L2.mjs.map +1 -0
  65. package/dist/service_pb-DGSmn-aF.mjs +4 -0
  66. package/dist/{application-WpWwTyk9.mjs → service_pb-DSNjrcbW.mjs} +22 -6176
  67. package/dist/service_pb-DSNjrcbW.mjs.map +1 -0
  68. package/dist/telemetry-BQbbVo2t.mjs.map +1 -1
  69. package/dist/{types-2Be3wSMc.mjs → types-32lUMToj.mjs} +1 -1
  70. package/dist/{types-CmzfQP_m.mjs → types-D4QMmNWh.mjs} +1 -12
  71. package/dist/types-D4QMmNWh.mjs.map +1 -0
  72. package/dist/{types-Bzr0RQME.d.mts → types-Dynq4AJv.d.mts} +2 -2
  73. package/dist/{types-DZrtN6-H.d.mts → types-rj8YJcEe.d.mts} +5 -2
  74. package/dist/utils/test/index.d.mts +2 -2
  75. package/dist/utils/test/index.mjs.map +1 -1
  76. package/dist/vitest/environment.mjs +1 -1
  77. package/dist/vitest/environment.mjs.map +1 -1
  78. package/dist/vitest/index.mjs +4 -4
  79. package/dist/vitest/index.mjs.map +1 -1
  80. package/dist/vitest/setup.mjs +1 -1
  81. package/dist/{workflow.generated-1S50BhEb.d.mts → workflow.generated-DJULCuRr.d.mts} +274 -174
  82. package/docs/cli/application.md +39 -201
  83. package/docs/cli/auth.md +12 -256
  84. package/docs/cli/completion.md +0 -24
  85. package/docs/cli/crashreport.md +0 -58
  86. package/docs/cli/executor.md +2 -166
  87. package/docs/cli/function.md +2 -118
  88. package/docs/cli/organization.md +1 -211
  89. package/docs/cli/query.md +0 -20
  90. package/docs/cli/secret.md +70 -250
  91. package/docs/cli/setup.md +2 -41
  92. package/docs/cli/skills.md +0 -39
  93. package/docs/cli/staticwebsite.md +24 -172
  94. package/docs/cli/tailordb.md +25 -251
  95. package/docs/cli/upgrade.md +0 -20
  96. package/docs/cli/user.md +41 -246
  97. package/docs/cli/workflow.md +30 -189
  98. package/docs/cli/workspace.md +164 -537
  99. package/docs/cli-reference.md +61 -37
  100. package/docs/configuration.md +7 -1
  101. package/docs/github-actions.md +27 -0
  102. package/docs/multi-environment.md +22 -0
  103. package/docs/services/aigateway.md +4 -2
  104. package/docs/services/http-adapter.md +16 -1
  105. package/docs/services/idp.md +55 -2
  106. package/docs/services/staticwebsite.md +7 -1
  107. package/package.json +23 -18
  108. package/dist/application-Djeezk3m.mjs +0 -4
  109. package/dist/application-WpWwTyk9.mjs.map +0 -1
  110. package/dist/idp-BZPqpcYY.mjs.map +0 -1
  111. package/dist/mock-DMgIygjE.mjs.map +0 -1
  112. package/dist/runtime-DxaBq6U8.mjs.map +0 -1
  113. package/dist/schema-1msIhXwA.mjs.map +0 -1
  114. package/dist/service-BHQIerYh.mjs +0 -4
  115. package/dist/service-DMohAx8a.mjs.map +0 -1
  116. package/dist/service-wI3Hvrgx.mjs.map +0 -1
  117. package/dist/types-CmzfQP_m.mjs.map +0 -1
@@ -2,78 +2,40 @@
2
2
 
3
3
  Commands for managing Tailor Platform applications. These commands work with `tailor.config.ts`.
4
4
 
5
- <!-- politty:command:init:heading:start -->
6
-
7
5
  ## init
8
6
 
9
- <!-- politty:command:init:heading:end -->
10
-
11
- <!-- politty:command:init:description:start -->
12
-
13
7
  Initialize a new project using create-sdk.
14
8
 
15
- <!-- politty:command:init:description:end -->
16
-
17
- <!-- politty:command:init:usage:start -->
18
-
19
9
  **Usage**
20
10
 
21
11
  ```
22
12
  tailor-sdk init [options] [name]
23
13
  ```
24
14
 
25
- <!-- politty:command:init:usage:end -->
26
-
27
- <!-- politty:command:init:arguments:start -->
28
-
29
15
  **Arguments**
30
16
 
31
17
  | Argument | Description | Required |
32
18
  | -------- | ------------ | -------- |
33
19
  | `name` | Project name | No |
34
20
 
35
- <!-- politty:command:init:arguments:end -->
36
-
37
- <!-- politty:command:init:options:start -->
38
-
39
21
  **Options**
40
22
 
41
23
  | Option | Alias | Description | Required | Default |
42
24
  | ----------------------- | ----- | ------------- | -------- | ------- |
43
25
  | `--template <TEMPLATE>` | `-t` | Template name | No | - |
44
26
 
45
- <!-- politty:command:init:options:end -->
46
-
47
- <!-- politty:command:init:global-options-link:start -->
48
-
49
27
  See [Global Options](../cli-reference.md#global-options) for options available to all commands.
50
28
 
51
- <!-- politty:command:init:global-options-link:end -->
52
-
53
- <!-- politty:command:generate:heading:start -->
54
-
55
29
  ## generate
56
30
 
57
- <!-- politty:command:generate:heading:end -->
58
-
59
- <!-- politty:command:generate:description:start -->
60
-
61
31
  Generate files using Tailor configuration.
62
32
 
63
- <!-- politty:command:generate:description:end -->
64
-
65
- <!-- politty:command:generate:usage:start -->
66
-
67
33
  **Usage**
68
34
 
69
35
  ```
70
36
  tailor-sdk generate [options]
71
37
  ```
72
38
 
73
- <!-- politty:command:generate:usage:end -->
74
-
75
- <!-- politty:command:generate:options:start -->
76
-
77
39
  **Options**
78
40
 
79
41
  | Option | Alias | Description | Required | Default |
@@ -81,40 +43,20 @@ tailor-sdk generate [options]
81
43
  | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` |
82
44
  | `--watch` | `-W` | Watch for type/resolver changes and regenerate | No | `false` |
83
45
 
84
- <!-- politty:command:generate:options:end -->
85
-
86
- <!-- politty:command:generate:global-options-link:start -->
87
-
88
46
  See [Global Options](../cli-reference.md#global-options) for options available to all commands.
89
47
 
90
- <!-- politty:command:generate:global-options-link:end -->
91
-
92
- <!-- politty:command:deploy:heading:start -->
93
-
94
48
  ## deploy
95
49
 
96
- <!-- politty:command:deploy:heading:end -->
97
-
98
- <!-- politty:command:deploy:description:start -->
99
-
100
50
  Deploy your application by applying the Tailor configuration.
101
51
 
102
52
  **Aliases:** `apply`
103
53
 
104
- <!-- politty:command:deploy:description:end -->
105
-
106
- <!-- politty:command:deploy:usage:start -->
107
-
108
54
  **Usage**
109
55
 
110
56
  ```
111
57
  tailor-sdk deploy [options]
112
58
  ```
113
59
 
114
- <!-- politty:command:deploy:usage:end -->
115
-
116
- <!-- politty:command:deploy:options:start -->
117
-
118
60
  **Options**
119
61
 
120
62
  | Option | Alias | Description | Required | Default | Env |
@@ -129,14 +71,7 @@ tailor-sdk deploy [options]
129
71
  | `--no-cache` | - | Disable bundle caching for this run | No | - | - |
130
72
  | `--clean-cache` | - | Clean the bundle cache before building | No | - | - |
131
73
 
132
- <!-- politty:command:deploy:options:end -->
133
-
134
- <!-- politty:command:deploy:global-options-link:start -->
135
-
136
74
  See [Global Options](../cli-reference.md#global-options) for options available to all commands.
137
-
138
- <!-- politty:command:deploy:global-options-link:end -->
139
-
140
75
  **Config File Modification:**
141
76
 
142
77
  On first run, `deploy` automatically injects a stable `id: "<uuid>"` field into your `defineConfig({...})` call in `tailor.config.ts`. This UUID is used to track your application across renames so the SDK can recognize ownership across renames. Commit the generated id to version control. See [Configuration](../configuration.md#application-settings) for details.
@@ -175,24 +110,49 @@ Before applying changes, `deploy` shows a preview of the planned resource change
175
110
  After the detailed list, a summary line is printed:
176
111
 
177
112
  ```text
178
- Plan: 5 to create, 3 to update, 1 to delete, 25 unchanged
113
+ Plan: 5 to create, 3 to update, 1 to delete
114
+ ```
115
+
116
+ Use `--dry-run` to preview the plan without applying anything. In dry-run mode the plan is written to **stdout**, so it can be captured in CI without `2>&1`:
117
+
118
+ ```bash
119
+ tailor-sdk deploy --dry-run > plan.txt
179
120
  ```
180
121
 
181
- Use `--dry-run` to preview the plan without applying anything.
122
+ In apply mode, the plan is printed to stderr so it does not interfere with piped output.
182
123
 
183
- <!-- politty:command:remove:heading:start -->
124
+ **JSON Output:**
184
125
 
185
- ## remove
126
+ Pass the global `--json` / `-j` flag to get machine-readable output.
186
127
 
187
- <!-- politty:command:remove:heading:end -->
128
+ **Dry-run** (`--dry-run --json`): writes a JSON object to stdout:
188
129
 
189
- <!-- politty:command:remove:description:start -->
130
+ ```json
131
+ {
132
+ "summary": { "create": 2, "update": 1, "delete": 0, "replace": 0 },
133
+ "changes": [{ "action": "create", "name": "Order", "labels": ["type"], "namespace": "tailordb" }],
134
+ "warnings": [
135
+ { "type": "unmanaged", "resourceType": "tailorDB", "name": "LegacyType" },
136
+ { "type": "skippedSecret", "resourceType": "secret", "name": "DB_PASSWORD" }
137
+ ],
138
+ "conflicts": [{ "resourceType": "tailorDB", "name": "User", "currentOwner": "other-app" }]
139
+ }
140
+ ```
190
141
 
191
- Remove all resources managed by the application from the workspace.
142
+ - `summary` counts of each change type.
143
+ - `changes` — planned resource changes, each with `action`, `name`, and optional `labels` / `namespace`.
144
+ - `warnings` — resources not in config (`type: "unmanaged"`) or secrets with missing values (`type: "skippedSecret"`). Unmanaged resources require confirmation in apply mode (apply is cancelled if declined); skipped secrets are non-blocking.
145
+ - `conflicts` — resources owned by another application that conflict with the current config. Require confirmation in apply mode; apply is cancelled if declined.
192
146
 
193
- <!-- politty:command:remove:description:end -->
147
+ **Apply** (`--json`): writes a JSON object to stdout:
194
148
 
195
- <!-- politty:command:remove:usage:start -->
149
+ ```json
150
+ { "summary": { "create": 1, "update": 2, "delete": 0, "replace": 0 }, "status": "applied" }
151
+ ```
152
+
153
+ ## remove
154
+
155
+ Remove all resources managed by the application from the workspace.
196
156
 
197
157
  **Usage**
198
158
 
@@ -200,10 +160,6 @@ Remove all resources managed by the application from the workspace.
200
160
  tailor-sdk remove [options]
201
161
  ```
202
162
 
203
- <!-- politty:command:remove:usage:end -->
204
-
205
- <!-- politty:command:remove:options:start -->
206
-
207
163
  **Options**
208
164
 
209
165
  | Option | Alias | Description | Required | Default | Env |
@@ -213,38 +169,18 @@ tailor-sdk remove [options]
213
169
  | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` | `TAILOR_PLATFORM_SDK_CONFIG_PATH` |
214
170
  | `--yes` | `-y` | Skip confirmation prompts | No | `false` | - |
215
171
 
216
- <!-- politty:command:remove:options:end -->
217
-
218
- <!-- politty:command:remove:global-options-link:start -->
219
-
220
172
  See [Global Options](../cli-reference.md#global-options) for options available to all commands.
221
173
 
222
- <!-- politty:command:remove:global-options-link:end -->
223
-
224
- <!-- politty:command:show:heading:start -->
225
-
226
174
  ## show
227
175
 
228
- <!-- politty:command:show:heading:end -->
229
-
230
- <!-- politty:command:show:description:start -->
231
-
232
176
  Show information about the deployed application.
233
177
 
234
- <!-- politty:command:show:description:end -->
235
-
236
- <!-- politty:command:show:usage:start -->
237
-
238
178
  **Usage**
239
179
 
240
180
  ```
241
181
  tailor-sdk show [options]
242
182
  ```
243
183
 
244
- <!-- politty:command:show:usage:end -->
245
-
246
- <!-- politty:command:show:options:start -->
247
-
248
184
  **Options**
249
185
 
250
186
  | Option | Alias | Description | Required | Default | Env |
@@ -253,38 +189,18 @@ tailor-sdk show [options]
253
189
  | `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
254
190
  | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` | `TAILOR_PLATFORM_SDK_CONFIG_PATH` |
255
191
 
256
- <!-- politty:command:show:options:end -->
257
-
258
- <!-- politty:command:show:global-options-link:start -->
259
-
260
192
  See [Global Options](../cli-reference.md#global-options) for options available to all commands.
261
193
 
262
- <!-- politty:command:show:global-options-link:end -->
263
-
264
- <!-- politty:command:open:heading:start -->
265
-
266
194
  ## open
267
195
 
268
- <!-- politty:command:open:heading:end -->
269
-
270
- <!-- politty:command:open:description:start -->
271
-
272
196
  Open Tailor Platform Console.
273
197
 
274
- <!-- politty:command:open:description:end -->
275
-
276
- <!-- politty:command:open:usage:start -->
277
-
278
198
  **Usage**
279
199
 
280
200
  ```
281
201
  tailor-sdk open [options]
282
202
  ```
283
203
 
284
- <!-- politty:command:open:usage:end -->
285
-
286
- <!-- politty:command:open:options:start -->
287
-
288
204
  **Options**
289
205
 
290
206
  | Option | Alias | Description | Required | Default | Env |
@@ -293,48 +209,24 @@ tailor-sdk open [options]
293
209
  | `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
294
210
  | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` | `TAILOR_PLATFORM_SDK_CONFIG_PATH` |
295
211
 
296
- <!-- politty:command:open:options:end -->
297
-
298
- <!-- politty:command:open:global-options-link:start -->
299
-
300
212
  See [Global Options](../cli-reference.md#global-options) for options available to all commands.
301
213
 
302
- <!-- politty:command:open:global-options-link:end -->
303
-
304
- <!-- politty:command:api:heading:start -->
305
-
306
214
  ## api
307
215
 
308
- <!-- politty:command:api:heading:end -->
309
-
310
- <!-- politty:command:api:description:start -->
311
-
312
216
  Call Tailor Platform API endpoints directly.
313
217
 
314
- <!-- politty:command:api:description:end -->
315
-
316
- <!-- politty:command:api:usage:start -->
317
-
318
218
  **Usage**
319
219
 
320
220
  ```
321
221
  tailor-sdk api [options] [command] <endpoint>
322
222
  ```
323
223
 
324
- <!-- politty:command:api:usage:end -->
325
-
326
- <!-- politty:command:api:arguments:start -->
327
-
328
224
  **Arguments**
329
225
 
330
226
  | Argument | Description | Required |
331
227
  | ---------- | -------------------------------------------------------------------------------------------- | -------- |
332
228
  | `endpoint` | API endpoint to call (e.g., 'GetApplication' or 'tailor.v1.OperatorService/GetApplication'). | Yes |
333
229
 
334
- <!-- politty:command:api:arguments:end -->
335
-
336
- <!-- politty:command:api:options:start -->
337
-
338
230
  **Options**
339
231
 
340
232
  | Option | Alias | Description | Required | Default | Env |
@@ -345,15 +237,14 @@ tailor-sdk api [options] [command] <endpoint>
345
237
  | `--body <BODY>` | `-b` | Request body as JSON. | No | `"{}"` | - |
346
238
  | `--field <FIELD>` | `-f` | Set a body field as `key=value` (repeatable; dotted keys nest). Overrides --body. | No | - | - |
347
239
 
348
- <!-- politty:command:api:options:end -->
349
-
350
- <!-- politty:command:api:global-options-link:start -->
351
-
352
240
  See [Global Options](../cli-reference.md#global-options) for options available to all commands.
353
241
 
354
- <!-- politty:command:api:global-options-link:end -->
242
+ **Commands**
355
243
 
356
- <!-- politty:command:api:examples:start -->
244
+ | Command | Description |
245
+ | ----------------------------- | ------------------------------------------------------------ |
246
+ | [`api list`](#api-list) | List all invocable OperatorService methods. |
247
+ | [`api inspect`](#api-inspect) | Print the input message tree of an OperatorService endpoint. |
357
248
 
358
249
  **Examples**
359
250
 
@@ -381,10 +272,6 @@ $ tailor-sdk api list
381
272
  $ tailor-sdk api inspect GetApplication
382
273
  ```
383
274
 
384
- <!-- politty:command:api:examples:end -->
385
-
386
- <!-- politty:command:api:notes:start -->
387
-
388
275
  **Notes**
389
276
 
390
277
  Use `tailor-sdk api list` to enumerate invocable methods and `tailor-sdk api inspect <endpoint>` to print an endpoint's input message tree (combine with `--json` for machine-readable output).
@@ -400,47 +287,24 @@ Values already present in `--body` are never overridden. If a value cannot be re
400
287
 
401
288
  Use `--field key=value` (repeatable) to set request body fields without writing JSON. Dotted keys (e.g. `application.name=foo`) build nested objects. `--field` overrides matching fields in `--body` and tab-completes from the endpoint's request schema.
402
289
 
403
- <!-- politty:command:api:notes:end -->
404
- <!-- politty:command:api inspect:heading:start -->
405
-
406
290
  ### api inspect
407
291
 
408
- <!-- politty:command:api inspect:heading:end -->
409
-
410
- <!-- politty:command:api inspect:description:start -->
411
-
412
292
  Print the input message tree of an OperatorService endpoint.
413
293
 
414
- <!-- politty:command:api inspect:description:end -->
415
-
416
- <!-- politty:command:api inspect:usage:start -->
417
-
418
294
  **Usage**
419
295
 
420
296
  ```
421
297
  tailor-sdk api inspect <endpoint>
422
298
  ```
423
299
 
424
- <!-- politty:command:api inspect:usage:end -->
425
-
426
- <!-- politty:command:api inspect:arguments:start -->
427
-
428
300
  **Arguments**
429
301
 
430
302
  | Argument | Description | Required |
431
303
  | ---------- | ----------------------------------------------------------------------------------------------- | -------- |
432
304
  | `endpoint` | API endpoint to inspect (e.g., 'GetApplication' or 'tailor.v1.OperatorService/GetApplication'). | Yes |
433
305
 
434
- <!-- politty:command:api inspect:arguments:end -->
435
-
436
- <!-- politty:command:api inspect:global-options-link:start -->
437
-
438
306
  See [Global Options](../cli-reference.md#global-options) for options available to all commands.
439
307
 
440
- <!-- politty:command:api inspect:global-options-link:end -->
441
-
442
- <!-- politty:command:api inspect:examples:start -->
443
-
444
308
  **Examples**
445
309
 
446
310
  **Show fields of GetApplicationRequest.**
@@ -455,48 +319,22 @@ $ tailor-sdk api inspect GetApplication
455
319
  $ tailor-sdk api inspect CreateExecutorExecutor
456
320
  ```
457
321
 
458
- <!-- politty:command:api inspect:examples:end -->
459
-
460
- <!-- politty:command:api inspect:notes:start -->
461
-
462
322
  **Notes**
463
323
 
464
324
  Combine with the global `--json` flag for a machine-readable descriptor. Recursive type references and `oneof` membership are annotated. Use `tailor-sdk api list` to discover endpoint names.
465
325
 
466
- <!-- politty:command:api inspect:notes:end -->
467
-
468
- <!-- politty:command:api list:heading:start -->
469
-
470
326
  ### api list
471
327
 
472
- <!-- politty:command:api list:heading:end -->
473
-
474
- <!-- politty:command:api list:description:start -->
475
-
476
328
  List all invocable OperatorService methods.
477
329
 
478
- <!-- politty:command:api list:description:end -->
479
-
480
- <!-- politty:command:api list:usage:start -->
481
-
482
330
  **Usage**
483
331
 
484
332
  ```
485
333
  tailor-sdk api list
486
334
  ```
487
335
 
488
- <!-- politty:command:api list:usage:end -->
489
-
490
- <!-- politty:command:api list:global-options-link:start -->
491
-
492
336
  See [Global Options](../cli-reference.md#global-options) for options available to all commands.
493
337
 
494
- <!-- politty:command:api list:global-options-link:end -->
495
-
496
- <!-- politty:command:api list:notes:start -->
497
-
498
338
  **Notes**
499
339
 
500
340
  Only single-request (non-streaming) methods are listed, because the CLI issues a single JSON request and reads one JSON response.
501
-
502
- <!-- politty:command:api list:notes:end -->