mammoth-cli 1.0.0__py3-none-any.whl
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.
- mammoth_cli/__init__.py +14 -0
- mammoth_cli/__main__.py +27 -0
- mammoth_cli/app.py +565 -0
- mammoth_cli/bundled_skill/mammoth-cli/SKILL.md +109 -0
- mammoth_cli/bundled_skill/mammoth-cli/references/auth.md +27 -0
- mammoth_cli/bundled_skill/mammoth-cli/references/input.md +24 -0
- mammoth_cli/bundled_skill/mammoth-cli/references/jobs-drafts.md +35 -0
- mammoth_cli/bundled_skill/mammoth-cli/references/machine-output.md +30 -0
- mammoth_cli/bundled_skill/mammoth-cli/references/recovery.md +28 -0
- mammoth_cli/bundled_skill/mammoth-cli/references/safety.md +26 -0
- mammoth_cli/commands/__init__.py +29 -0
- mammoth_cli/commands/activity.py +123 -0
- mammoth_cli/commands/addon.py +173 -0
- mammoth_cli/commands/agent.py +199 -0
- mammoth_cli/commands/ai.py +274 -0
- mammoth_cli/commands/annotation.py +166 -0
- mammoth_cli/commands/auth.py +567 -0
- mammoth_cli/commands/automation.py +245 -0
- mammoth_cli/commands/batch.py +204 -0
- mammoth_cli/commands/billing.py +462 -0
- mammoth_cli/commands/browse.py +151 -0
- mammoth_cli/commands/capability.py +43 -0
- mammoth_cli/commands/client_app.py +233 -0
- mammoth_cli/commands/completion.py +82 -0
- mammoth_cli/commands/config.py +309 -0
- mammoth_cli/commands/connector.py +464 -0
- mammoth_cli/commands/context.py +205 -0
- mammoth_cli/commands/dashboard.py +419 -0
- mammoth_cli/commands/data_app.py +239 -0
- mammoth_cli/commands/dataset.py +332 -0
- mammoth_cli/commands/doctor.py +90 -0
- mammoth_cli/commands/external_key.py +163 -0
- mammoth_cli/commands/file.py +243 -0
- mammoth_cli/commands/folder.py +224 -0
- mammoth_cli/commands/job.py +147 -0
- mammoth_cli/commands/notification.py +201 -0
- mammoth_cli/commands/parameter.py +284 -0
- mammoth_cli/commands/project.py +327 -0
- mammoth_cli/commands/registry.py +587 -0
- mammoth_cli/commands/report.py +61 -0
- mammoth_cli/commands/schedule.py +214 -0
- mammoth_cli/commands/schema.py +271 -0
- mammoth_cli/commands/skill.py +59 -0
- mammoth_cli/commands/snippet.py +200 -0
- mammoth_cli/commands/support.py +800 -0
- mammoth_cli/commands/template.py +134 -0
- mammoth_cli/commands/trash.py +115 -0
- mammoth_cli/commands/user.py +190 -0
- mammoth_cli/commands/view.py +1143 -0
- mammoth_cli/commands/view_ops.py +596 -0
- mammoth_cli/commands/webhook.py +235 -0
- mammoth_cli/commands/workflow.py +340 -0
- mammoth_cli/commands/workspace.py +359 -0
- mammoth_cli/context/__init__.py +1 -0
- mammoth_cli/context/credentials.py +223 -0
- mammoth_cli/context/endpoint.py +57 -0
- mammoth_cli/context/profiles.py +370 -0
- mammoth_cli/context/resolver.py +240 -0
- mammoth_cli/contracts/__init__.py +1 -0
- mammoth_cli/contracts/auth.py +32 -0
- mammoth_cli/errors/__init__.py +1 -0
- mammoth_cli/errors/envelope.py +144 -0
- mammoth_cli/manifest/__init__.py +1 -0
- mammoth_cli/manifest/loader.py +96 -0
- mammoth_cli/messages/__init__.py +1 -0
- mammoth_cli/output/__init__.py +1 -0
- mammoth_cli/output/envelope.py +42 -0
- mammoth_cli/output/normalize.py +84 -0
- mammoth_cli/output/policy.py +71 -0
- mammoth_cli/output/render.py +83 -0
- mammoth_cli/py.typed +0 -0
- mammoth_cli/runtime/__init__.py +0 -0
- mammoth_cli/runtime/confirm.py +124 -0
- mammoth_cli/runtime/executor.py +126 -0
- mammoth_cli/runtime/input_loader.py +140 -0
- mammoth_cli/runtime/invocation.py +87 -0
- mammoth_cli/runtime/options.py +172 -0
- mammoth_cli/runtime/session.py +82 -0
- mammoth_cli/runtime/strict.py +240 -0
- mammoth_cli/runtime/validate.py +120 -0
- mammoth_cli/services/__init__.py +1 -0
- mammoth_cli/services/argspec.py +301 -0
- mammoth_cli/services/coerce.py +172 -0
- mammoth_cli/services/conditions.py +85 -0
- mammoth_cli/services/dispatch.py +63 -0
- mammoth_cli/services/factory.py +45 -0
- mammoth_cli/services/input_fields.py +44 -0
- mammoth_cli/services/mapping.py +74 -0
- mammoth_cli/services/openapi_types.py +166 -0
- mammoth_cli/services/positionals.py +408 -0
- mammoth_cli/services/protocol.py +123 -0
- mammoth_cli/services/sdk_service.py +274 -0
- mammoth_cli/services/testing.py +153 -0
- mammoth_cli/services/type_system.py +427 -0
- mammoth_cli/skills/__init__.py +1 -0
- mammoth_cli/skills/installer.py +321 -0
- mammoth_cli/testing.py +55 -0
- mammoth_cli-1.0.0.dist-info/METADATA +92 -0
- mammoth_cli-1.0.0.dist-info/RECORD +150 -0
- mammoth_cli-1.0.0.dist-info/WHEEL +4 -0
- mammoth_cli-1.0.0.dist-info/entry_points.txt +3 -0
- mammoth_cli-1.0.0.dist-info/licenses/LICENSE +23 -0
- spec/manifests/_sdk_introspection.json +1459 -0
- spec/manifests/commands/activity.yaml +72 -0
- spec/manifests/commands/addon.yaml +239 -0
- spec/manifests/commands/agent.yaml +192 -0
- spec/manifests/commands/ai.yaml +152 -0
- spec/manifests/commands/annotation.yaml +191 -0
- spec/manifests/commands/auth.yaml +101 -0
- spec/manifests/commands/automation.yaml +273 -0
- spec/manifests/commands/batch.yaml +262 -0
- spec/manifests/commands/billing.yaml +813 -0
- spec/manifests/commands/browse.yaml +145 -0
- spec/manifests/commands/capability.yaml +74 -0
- spec/manifests/commands/client-app.yaml +193 -0
- spec/manifests/commands/completion.yaml +68 -0
- spec/manifests/commands/config.yaml +134 -0
- spec/manifests/commands/connector.yaml +944 -0
- spec/manifests/commands/context.yaml +101 -0
- spec/manifests/commands/dashboard.yaml +3595 -0
- spec/manifests/commands/data-app.yaml +485 -0
- spec/manifests/commands/dataset.yaml +580 -0
- spec/manifests/commands/doctor.yaml +35 -0
- spec/manifests/commands/external-key.yaml +151 -0
- spec/manifests/commands/file.yaml +341 -0
- spec/manifests/commands/folder.yaml +334 -0
- spec/manifests/commands/job.yaml +151 -0
- spec/manifests/commands/notification.yaml +188 -0
- spec/manifests/commands/parameter.yaml +527 -0
- spec/manifests/commands/project.yaml +669 -0
- spec/manifests/commands/report.yaml +36 -0
- spec/manifests/commands/schedule.yaml +194 -0
- spec/manifests/commands/schema.yaml +74 -0
- spec/manifests/commands/skill.yaml +167 -0
- spec/manifests/commands/snippet.yaml +311 -0
- spec/manifests/commands/support.yaml +1805 -0
- spec/manifests/commands/template.yaml +191 -0
- spec/manifests/commands/trash.yaml +105 -0
- spec/manifests/commands/user.yaml +280 -0
- spec/manifests/commands/version.yaml +35 -0
- spec/manifests/commands/view.yaml +4232 -0
- spec/manifests/commands/webhook.yaml +261 -0
- spec/manifests/commands/workflow.yaml +622 -0
- spec/manifests/commands/workspace.yaml +705 -0
- spec/manifests/openapi-operations.yaml +8853 -0
- spec/manifests/schema-v1.json +212 -0
- spec/manifests/sdk-catalog.source.yaml +4069 -0
- spec/manifests/sdk-methods.yaml +6971 -0
- spec/openapi/metadata.json +10 -0
- spec/openapi/openapi.json +1 -0
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
manifest_schema_version: 1
|
|
2
|
+
commands:
|
|
3
|
+
- command_id: webhook.create
|
|
4
|
+
command_path: webhook create
|
|
5
|
+
disposition: command
|
|
6
|
+
alias_of: null
|
|
7
|
+
operation_ids:
|
|
8
|
+
- CreateAWebhook
|
|
9
|
+
positionals: []
|
|
10
|
+
options: []
|
|
11
|
+
sdk_symbol: mammoth.api.webhooks.WebhooksAPI.create
|
|
12
|
+
sdk_conversion: Call mammoth.api.webhooks.WebhooksAPI.create with validated request fields.
|
|
13
|
+
request_model: WebhookCreateRequest
|
|
14
|
+
result_model: WebhookCreateResult
|
|
15
|
+
mutation_class: benign_mutation
|
|
16
|
+
confirmation: none
|
|
17
|
+
wait_policy: not_async
|
|
18
|
+
pagination_policy: none
|
|
19
|
+
acceptance_evidence: live_disposable_project
|
|
20
|
+
live_test: LT-WEBHOOK-CREATE
|
|
21
|
+
live_exemption_reason: null
|
|
22
|
+
contract_fixture: null
|
|
23
|
+
required_fixture_guard: null
|
|
24
|
+
secret_fields: []
|
|
25
|
+
human_example: mammoth webhook create --help
|
|
26
|
+
agent_example: mammoth webhook create --output json --no-input
|
|
27
|
+
unit_tests:
|
|
28
|
+
- UT-WEBHOOK-CREATE
|
|
29
|
+
contract_tests:
|
|
30
|
+
- CT-WEBHOOK-CREATE-HUMAN
|
|
31
|
+
- CT-WEBHOOK-CREATE-JSON
|
|
32
|
+
- CT-WEBHOOK-CREATE-ERROR
|
|
33
|
+
draft_test: null
|
|
34
|
+
undo_test: null
|
|
35
|
+
known_restrictions: Secure creation uses the secret-output rule (--secret-out/--show-secret).
|
|
36
|
+
reviewed_by: primary
|
|
37
|
+
- command_id: webhook.delete
|
|
38
|
+
command_path: webhook delete
|
|
39
|
+
disposition: command
|
|
40
|
+
alias_of: null
|
|
41
|
+
operation_ids:
|
|
42
|
+
- DeleteWebhook
|
|
43
|
+
positionals:
|
|
44
|
+
- name: webhook_id
|
|
45
|
+
type: int
|
|
46
|
+
required: true
|
|
47
|
+
metavar: WEBHOOK_ID
|
|
48
|
+
falls_back_to_field: null
|
|
49
|
+
help: ID of the webhook.
|
|
50
|
+
options: []
|
|
51
|
+
sdk_symbol: mammoth.api.webhooks.WebhooksAPI.delete
|
|
52
|
+
sdk_conversion: Call mammoth.api.webhooks.WebhooksAPI.delete with validated request fields.
|
|
53
|
+
request_model: WebhookDeleteRequest
|
|
54
|
+
result_model: WebhookDeleteResult
|
|
55
|
+
mutation_class: destructive
|
|
56
|
+
confirmation: prompt_or_yes
|
|
57
|
+
wait_policy: not_async
|
|
58
|
+
pagination_policy: none
|
|
59
|
+
acceptance_evidence: live_disposable_project
|
|
60
|
+
live_test: LT-WEBHOOK-DELETE
|
|
61
|
+
live_exemption_reason: null
|
|
62
|
+
contract_fixture: null
|
|
63
|
+
required_fixture_guard: null
|
|
64
|
+
secret_fields: []
|
|
65
|
+
human_example: mammoth webhook delete WEBHOOK_ID --help
|
|
66
|
+
agent_example: mammoth webhook delete 123 --output json --no-input
|
|
67
|
+
unit_tests:
|
|
68
|
+
- UT-WEBHOOK-DELETE
|
|
69
|
+
contract_tests:
|
|
70
|
+
- CT-WEBHOOK-DELETE-HUMAN
|
|
71
|
+
- CT-WEBHOOK-DELETE-JSON
|
|
72
|
+
- CT-WEBHOOK-DELETE-ERROR
|
|
73
|
+
draft_test: null
|
|
74
|
+
undo_test: null
|
|
75
|
+
known_restrictions: Resolve webhook before confirmation.
|
|
76
|
+
reviewed_by: primary
|
|
77
|
+
- command_id: webhook.get
|
|
78
|
+
command_path: webhook get
|
|
79
|
+
disposition: command
|
|
80
|
+
alias_of: null
|
|
81
|
+
operation_ids:
|
|
82
|
+
- GetWebhookDetails
|
|
83
|
+
positionals:
|
|
84
|
+
- name: webhook_id
|
|
85
|
+
type: int
|
|
86
|
+
required: true
|
|
87
|
+
metavar: WEBHOOK_ID
|
|
88
|
+
falls_back_to_field: null
|
|
89
|
+
help: ID of the webhook.
|
|
90
|
+
options: []
|
|
91
|
+
sdk_symbol: mammoth.api.webhooks.WebhooksAPI.get
|
|
92
|
+
sdk_conversion: Call mammoth.api.webhooks.WebhooksAPI.get with validated request fields.
|
|
93
|
+
request_model: WebhookGetRequest
|
|
94
|
+
result_model: WebhookGetResult
|
|
95
|
+
mutation_class: read
|
|
96
|
+
confirmation: none
|
|
97
|
+
wait_policy: not_async
|
|
98
|
+
pagination_policy: none
|
|
99
|
+
acceptance_evidence: live_read_only
|
|
100
|
+
live_test: LT-WEBHOOK-GET
|
|
101
|
+
live_exemption_reason: null
|
|
102
|
+
contract_fixture: null
|
|
103
|
+
required_fixture_guard: null
|
|
104
|
+
secret_fields: []
|
|
105
|
+
human_example: mammoth webhook get WEBHOOK_ID --help
|
|
106
|
+
agent_example: mammoth webhook get 123 --output json --no-input
|
|
107
|
+
unit_tests:
|
|
108
|
+
- UT-WEBHOOK-GET
|
|
109
|
+
contract_tests:
|
|
110
|
+
- CT-WEBHOOK-GET-HUMAN
|
|
111
|
+
- CT-WEBHOOK-GET-JSON
|
|
112
|
+
- CT-WEBHOOK-GET-ERROR
|
|
113
|
+
draft_test: null
|
|
114
|
+
undo_test: null
|
|
115
|
+
known_restrictions: Redact secret.
|
|
116
|
+
reviewed_by: primary
|
|
117
|
+
- command_id: webhook.list
|
|
118
|
+
command_path: webhook list
|
|
119
|
+
disposition: command
|
|
120
|
+
alias_of: null
|
|
121
|
+
operation_ids:
|
|
122
|
+
- ListWebhooks
|
|
123
|
+
positionals: []
|
|
124
|
+
options: []
|
|
125
|
+
sdk_symbol: mammoth.api.webhooks.WebhooksAPI.list
|
|
126
|
+
sdk_conversion: Call mammoth.api.webhooks.WebhooksAPI.list with validated request fields.
|
|
127
|
+
request_model: WebhookListRequest
|
|
128
|
+
result_model: WebhookListResult
|
|
129
|
+
mutation_class: read
|
|
130
|
+
confirmation: none
|
|
131
|
+
wait_policy: not_async
|
|
132
|
+
pagination_policy: offset
|
|
133
|
+
acceptance_evidence: live_read_only
|
|
134
|
+
live_test: LT-WEBHOOK-LIST
|
|
135
|
+
live_exemption_reason: null
|
|
136
|
+
contract_fixture: null
|
|
137
|
+
required_fixture_guard: null
|
|
138
|
+
secret_fields: []
|
|
139
|
+
human_example: mammoth webhook list --help
|
|
140
|
+
agent_example: mammoth webhook list --output json --no-input
|
|
141
|
+
unit_tests:
|
|
142
|
+
- UT-WEBHOOK-LIST
|
|
143
|
+
contract_tests:
|
|
144
|
+
- CT-WEBHOOK-LIST-HUMAN
|
|
145
|
+
- CT-WEBHOOK-LIST-JSON
|
|
146
|
+
- CT-WEBHOOK-LIST-ERROR
|
|
147
|
+
draft_test: null
|
|
148
|
+
undo_test: null
|
|
149
|
+
known_restrictions: Current SDK discards pagination metadata.
|
|
150
|
+
reviewed_by: primary
|
|
151
|
+
- command_id: webhook.send
|
|
152
|
+
command_path: webhook send
|
|
153
|
+
disposition: command
|
|
154
|
+
alias_of: null
|
|
155
|
+
operation_ids:
|
|
156
|
+
- AddDataToWebhook
|
|
157
|
+
positionals: []
|
|
158
|
+
options: []
|
|
159
|
+
sdk_symbol: mammoth.api.webhooks.WebhooksAPI.send_data
|
|
160
|
+
sdk_conversion: Call mammoth.api.webhooks.WebhooksAPI.send_data with validated request fields.
|
|
161
|
+
request_model: WebhookSendRequest
|
|
162
|
+
result_model: WebhookSendResult
|
|
163
|
+
mutation_class: benign_mutation
|
|
164
|
+
confirmation: none
|
|
165
|
+
wait_policy: not_async
|
|
166
|
+
pagination_policy: none
|
|
167
|
+
acceptance_evidence: live_disposable_project
|
|
168
|
+
live_test: LT-WEBHOOK-SEND
|
|
169
|
+
live_exemption_reason: null
|
|
170
|
+
contract_fixture: null
|
|
171
|
+
required_fixture_guard: null
|
|
172
|
+
secret_fields: []
|
|
173
|
+
human_example: mammoth webhook send --help
|
|
174
|
+
agent_example: 'mammoth webhook send --input ''{"webhook_uri": "example", "data": {"example": "example"}}''
|
|
175
|
+
--output json --no-input'
|
|
176
|
+
unit_tests:
|
|
177
|
+
- UT-WEBHOOK-SEND
|
|
178
|
+
contract_tests:
|
|
179
|
+
- CT-WEBHOOK-SEND-HUMAN
|
|
180
|
+
- CT-WEBHOOK-SEND-JSON
|
|
181
|
+
- CT-WEBHOOK-SEND-ERROR
|
|
182
|
+
draft_test: null
|
|
183
|
+
undo_test: null
|
|
184
|
+
known_restrictions: Never retry; requires a disposable webhook and dataset fixture; current dataset
|
|
185
|
+
permission blocks live evidence.
|
|
186
|
+
reviewed_by: primary
|
|
187
|
+
- command_id: webhook.send-get
|
|
188
|
+
command_path: webhook send-get
|
|
189
|
+
disposition: command
|
|
190
|
+
alias_of: null
|
|
191
|
+
operation_ids:
|
|
192
|
+
- AddDataToWebhookUsingGetMethod
|
|
193
|
+
positionals: []
|
|
194
|
+
options: []
|
|
195
|
+
sdk_symbol: mammoth.api.webhooks.WebhooksAPI.send_data_get
|
|
196
|
+
sdk_conversion: Call mammoth.api.webhooks.WebhooksAPI.send_data_get with validated request fields.
|
|
197
|
+
request_model: WebhookSendGetRequest
|
|
198
|
+
result_model: WebhookSendGetResult
|
|
199
|
+
mutation_class: benign_mutation
|
|
200
|
+
confirmation: none
|
|
201
|
+
wait_policy: not_async
|
|
202
|
+
pagination_policy: none
|
|
203
|
+
acceptance_evidence: live_disposable_project
|
|
204
|
+
live_test: LT-WEBHOOK-SEND-GET
|
|
205
|
+
live_exemption_reason: null
|
|
206
|
+
contract_fixture: null
|
|
207
|
+
required_fixture_guard: null
|
|
208
|
+
secret_fields: []
|
|
209
|
+
human_example: mammoth webhook send-get --help
|
|
210
|
+
agent_example: 'mammoth webhook send-get --input ''{"webhook_uri": "example"}'' --output json --no-input'
|
|
211
|
+
unit_tests:
|
|
212
|
+
- UT-WEBHOOK-SEND-GET
|
|
213
|
+
contract_tests:
|
|
214
|
+
- CT-WEBHOOK-SEND-GET-HUMAN
|
|
215
|
+
- CT-WEBHOOK-SEND-GET-JSON
|
|
216
|
+
- CT-WEBHOOK-SEND-GET-ERROR
|
|
217
|
+
draft_test: null
|
|
218
|
+
undo_test: null
|
|
219
|
+
known_restrictions: webhook send-get is a mutation despite HTTP GET, and it is never retried. Reject
|
|
220
|
+
an empty query; never log the URI if the server treats it as a capability.
|
|
221
|
+
reviewed_by: primary
|
|
222
|
+
- command_id: webhook.update
|
|
223
|
+
command_path: webhook update
|
|
224
|
+
disposition: command
|
|
225
|
+
alias_of: null
|
|
226
|
+
operation_ids:
|
|
227
|
+
- UpdateWebhookConfigurations
|
|
228
|
+
positionals:
|
|
229
|
+
- name: webhook_id
|
|
230
|
+
type: int
|
|
231
|
+
required: true
|
|
232
|
+
metavar: WEBHOOK_ID
|
|
233
|
+
falls_back_to_field: null
|
|
234
|
+
help: ID of the webhook.
|
|
235
|
+
options: []
|
|
236
|
+
sdk_symbol: mammoth.api.webhooks.WebhooksAPI.update
|
|
237
|
+
sdk_conversion: Call mammoth.api.webhooks.WebhooksAPI.update with validated request fields.
|
|
238
|
+
request_model: WebhookUpdateRequest
|
|
239
|
+
result_model: WebhookUpdateResult
|
|
240
|
+
mutation_class: benign_mutation
|
|
241
|
+
confirmation: none
|
|
242
|
+
wait_policy: not_async
|
|
243
|
+
pagination_policy: none
|
|
244
|
+
acceptance_evidence: live_disposable_project
|
|
245
|
+
live_test: LT-WEBHOOK-UPDATE
|
|
246
|
+
live_exemption_reason: null
|
|
247
|
+
contract_fixture: null
|
|
248
|
+
required_fixture_guard: null
|
|
249
|
+
secret_fields: []
|
|
250
|
+
human_example: mammoth webhook update WEBHOOK_ID --help
|
|
251
|
+
agent_example: mammoth webhook update 123 --output json --no-input
|
|
252
|
+
unit_tests:
|
|
253
|
+
- UT-WEBHOOK-UPDATE
|
|
254
|
+
contract_tests:
|
|
255
|
+
- CT-WEBHOOK-UPDATE-HUMAN
|
|
256
|
+
- CT-WEBHOOK-UPDATE-JSON
|
|
257
|
+
- CT-WEBHOOK-UPDATE-ERROR
|
|
258
|
+
draft_test: null
|
|
259
|
+
undo_test: null
|
|
260
|
+
known_restrictions: Reject an empty patch; a newly issued secret uses the secret-output rule.
|
|
261
|
+
reviewed_by: primary
|