@dreamlake/dreamlake-cli 0.111.1 → 0.112.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/dist/api/skills.js +1 -1
- package/dist/cli/agents/index.js +20 -20
- package/dist/cli/agents/manage.js +1 -1
- package/dist/cli/artifact/index.js +5 -5
- package/dist/cli/artifact/meta.js +1 -1
- package/dist/cli/auth/commands.d.ts +2 -2
- package/dist/cli/auth/commands.js +9 -9
- package/dist/cli/auth/device-flow.js +2 -2
- package/dist/cli/auth/materialized.d.ts +1 -1
- package/dist/cli/auth/materialized.js +1 -1
- package/dist/cli/compat/http.js +2 -2
- package/dist/cli/compat/presignedTransfer.js +2 -2
- package/dist/cli/config.js +2 -2
- package/dist/cli/connection/index.js +8 -8
- package/dist/cli/connection/oauth.js +3 -3
- package/dist/cli/connection/write.js +6 -6
- package/dist/cli/create/index.js +2 -2
- package/dist/cli/declare/index.js +14 -14
- package/dist/cli/delete/index.js +4 -4
- package/dist/cli/download/index.js +3 -3
- package/dist/cli/env/compose.js +1 -1
- package/dist/cli/env/index.js +9 -9
- package/dist/cli/experiments/index.js +2 -2
- package/dist/cli/experiments/native-commands.js +1 -1
- package/dist/cli/experiments/native-run-data.js +1 -1
- package/dist/cli/graphql.js +1 -1
- package/dist/cli/help-examples.generated.js +253 -253
- package/dist/cli/hosts/bootstrap-source.d.ts +1 -1
- package/dist/cli/hosts/bootstrap-source.js +1 -1
- package/dist/cli/hosts/inventory.js +2 -2
- package/dist/cli/hosts/picker.js +2 -2
- package/dist/cli/hosts/ssh.js +1 -1
- package/dist/cli/hosts/upgrade.d.ts +2 -2
- package/dist/cli/hosts/upgrade.js +3 -3
- package/dist/cli/index.js +7 -3
- package/dist/cli/lakeshore/connections.js +1 -1
- package/dist/cli/lakeshore/index.d.ts +1 -1
- package/dist/cli/lakeshore/index.js +4 -4
- package/dist/cli/launch/index.js +10 -10
- package/dist/cli/library/add.js +4 -4
- package/dist/cli/library/cache.js +1 -1
- package/dist/cli/library/discover.js +1 -1
- package/dist/cli/library/freshness.js +1 -1
- package/dist/cli/library/index.js +1 -1
- package/dist/cli/library/info.js +1 -1
- package/dist/cli/library/manifest.js +1 -1
- package/dist/cli/library/pull.js +1 -1
- package/dist/cli/library/push.js +2 -2
- package/dist/cli/library/rm.js +2 -2
- package/dist/cli/library/search.js +2 -2
- package/dist/cli/library/stat.js +1 -1
- package/dist/cli/library/tools.js +1 -1
- package/dist/cli/library/wire.js +1 -1
- package/dist/cli/list/index.js +4 -4
- package/dist/cli/memos/document.d.ts +1 -1
- package/dist/cli/memos/document.js +1 -1
- package/dist/cli/memos/edit-commands.d.ts +2 -2
- package/dist/cli/memos/edit-commands.js +2 -2
- package/dist/cli/memos/files-commands.d.ts +1 -1
- package/dist/cli/memos/files-commands.js +2 -2
- package/dist/cli/memos/index.js +7 -7
- package/dist/cli/memos/media-commands.js +1 -1
- package/dist/cli/memos/move-command.js +2 -2
- package/dist/cli/memos/rm-command.d.ts +1 -1
- package/dist/cli/memos/rm-command.js +2 -2
- package/dist/cli/namespace.js +2 -2
- package/dist/cli/nymph/index.js +4 -4
- package/dist/cli/ownership/index.js +1 -1
- package/dist/cli/ownership/metadata-transfer.js +2 -2
- package/dist/cli/page/index.js +5 -5
- package/dist/cli/pipeline/index.js +5 -5
- package/dist/cli/project/attachments.js +1 -1
- package/dist/cli/project/grants.js +1 -1
- package/dist/cli/project/index.js +1 -1
- package/dist/cli/project/move.js +3 -3
- package/dist/cli/project/stream.js +2 -2
- package/dist/cli/provider/dreamdir.js +2 -2
- package/dist/cli/provider/index.js +18 -18
- package/dist/cli/provider/lifecycle.js +14 -14
- package/dist/cli/python.js +4 -4
- package/dist/cli/queues/index.js +4 -4
- package/dist/cli/queues/slurm.js +2 -2
- package/dist/cli/resources.js +2 -2
- package/dist/cli/run/index.js +1 -1
- package/dist/cli/runconfig/index.js +3 -3
- package/dist/cli/runnable/bound.js +3 -3
- package/dist/cli/runnable/index.js +14 -14
- package/dist/cli/runnable/path.d.ts +1 -1
- package/dist/cli/runnable/path.js +1 -1
- package/dist/cli/self-update/alias-migration.d.ts +11 -0
- package/dist/cli/self-update/alias-migration.js +56 -0
- package/dist/cli/self-update/index.d.ts +1 -1
- package/dist/cli/self-update/index.js +5 -5
- package/dist/cli/self-update/install.js +2 -2
- package/dist/cli/self-update/update.d.ts +1 -1
- package/dist/cli/self-update/update.js +7 -7
- package/dist/cli/session-affiliation.js +1 -1
- package/dist/cli/sessions/control.d.ts +1 -1
- package/dist/cli/sessions/control.js +2 -2
- package/dist/cli/sessions/index.js +5 -5
- package/dist/cli/sessions/live.js +1 -1
- package/dist/cli/sessions/runner/serve.js +1 -1
- package/dist/cli/sessions/wrap.d.ts +2 -2
- package/dist/cli/sessions/wrap.js +8 -8
- package/dist/cli/skill/index.js +22 -22
- package/dist/cli/skill/prefs.js +1 -1
- package/dist/cli/skill/read.js +3 -3
- package/dist/cli/skill/registry.js +2 -2
- package/dist/cli/snapshot/index.js +9 -9
- package/dist/cli/source/access.js +3 -3
- package/dist/cli/source/control.js +8 -8
- package/dist/cli/source/delete.js +6 -6
- package/dist/cli/source/index.js +14 -14
- package/dist/cli/source/share.js +8 -8
- package/dist/cli/source/upload.d.ts +1 -1
- package/dist/cli/source/upload.js +2 -2
- package/dist/cli/source/write.js +2 -2
- package/dist/cli/spawn.js +1 -1
- package/dist/cli/tasks/index.js +1 -1
- package/dist/cli/update/index.js +2 -2
- package/dist/cli/upload/index.js +3 -3
- package/dist/cli/upload/multipart.js +1 -1
- package/dist/cli/vault/index.js +1 -1
- package/dist/cli/vault/sshSync.js +1 -1
- package/dist/cli/version.d.ts +1 -1
- package/dist/cli/version.js +1 -1
- package/dist/cli/workflow/index.d.ts +1 -1
- package/dist/cli/workflow/index.js +6 -6
- package/package.json +10 -10
|
@@ -1,256 +1,256 @@
|
|
|
1
1
|
// Generated by docs/scripts/gen-help-examples.mjs. Edit docs code blocks with cli-help metadata.
|
|
2
2
|
export const helpExamples = {
|
|
3
|
-
"agents create": "
|
|
4
|
-
"agents list": "
|
|
5
|
-
"agents show": "
|
|
6
|
-
"agents edit": "
|
|
7
|
-
"telemetry": "
|
|
8
|
-
"apps": "
|
|
9
|
-
"apps grant": "
|
|
10
|
-
"apps check": "
|
|
11
|
-
"apps tools": "
|
|
12
|
-
"apps read": "
|
|
13
|
-
"apps prepare": "
|
|
14
|
-
"apps receipt": "
|
|
15
|
-
"apps confirm": "
|
|
16
|
-
"apps cancel": "
|
|
17
|
-
"apps revoke": "
|
|
18
|
-
"artifact push": "
|
|
19
|
-
"artifact meta set": "# At push time:\
|
|
20
|
-
"artifact share": "# Find the dashboard you already uploaded; no new version is needed.\
|
|
21
|
-
"artifact visibility": "ARTIFACT=\"q1-dashboard\" # Your existing artifact id.\
|
|
22
|
-
"artifact share latest-only": "# Change an existing artifact without uploading or changing its link.\
|
|
23
|
-
"artifact rename": "
|
|
24
|
-
"runnable bind": "
|
|
25
|
-
"runnable execute": "
|
|
26
|
-
"runnable execution-receipt": "
|
|
27
|
-
"hosts": "
|
|
28
|
-
"su": "
|
|
29
|
-
"logout": "
|
|
30
|
-
"nymph": "
|
|
31
|
-
"nymph setup": "
|
|
32
|
-
"nymph config": "
|
|
33
|
-
"nymph config set": "
|
|
34
|
-
"nymph access show": "
|
|
35
|
-
"nymph access grant": "
|
|
36
|
-
"nymph access revoke": "
|
|
37
|
-
"nymph restart": "
|
|
38
|
-
"experiments runs list": "
|
|
39
|
-
"experiments runs create": "
|
|
40
|
-
"experiments runs log": "
|
|
41
|
-
"experiments runs archive": "
|
|
42
|
-
"experiments runs restore": "
|
|
43
|
-
"experiments runs delete": "
|
|
44
|
-
"experiments runs trash list": "
|
|
45
|
-
"experiments runs trash restore": "
|
|
46
|
-
"experiments runs show": "
|
|
47
|
-
"experiments runs status": "
|
|
48
|
-
"experiments runs params set": "echo '{\"lr\": 0.001, \"batch\": 64}' |
|
|
49
|
-
"experiments runs metrics append": "
|
|
50
|
-
"experiments runs metrics rows": "
|
|
51
|
-
"experiments runs logs read": "
|
|
52
|
-
"experiments runs files upload": "
|
|
53
|
-
"experiments runs files download": "
|
|
54
|
-
"experiments runs tracks append": "
|
|
55
|
-
"experiments runs tracks read": "
|
|
56
|
-
"experiments workspaces": "
|
|
57
|
-
"experiments binding": "
|
|
58
|
-
"experiments connect": "
|
|
59
|
-
"experiments disconnect": "
|
|
60
|
-
"hosts list": "
|
|
61
|
-
"hosts status": "
|
|
62
|
-
"hosts lifecycle": "
|
|
63
|
-
"hosts archive": "
|
|
64
|
-
"hosts restore": "
|
|
65
|
-
"hosts enrollments": "
|
|
66
|
-
"hosts metrics": "
|
|
67
|
-
"hosts check": "
|
|
68
|
-
"hosts enroll": "# Human-readable output (default).\
|
|
69
|
-
"hosts create": "
|
|
70
|
-
"hosts power": "
|
|
71
|
-
"hosts start": "
|
|
72
|
-
"hosts stop": "
|
|
73
|
-
"hosts restart": "
|
|
74
|
-
"hosts terminate": "
|
|
75
|
-
"ssh": "
|
|
76
|
-
"hosts ssh": "
|
|
77
|
-
"exec": "
|
|
78
|
-
"hosts exec": "
|
|
79
|
-
"hosts upgrade": "
|
|
80
|
-
"hosts rollback": "
|
|
81
|
-
"hosts move": "
|
|
82
|
-
"hosts rename": "
|
|
83
|
-
"infra list": "
|
|
84
|
-
"infra status": "
|
|
85
|
-
"infra connect": "
|
|
86
|
-
"infra history": "
|
|
87
|
-
"infra events": "
|
|
88
|
-
"infra create": "
|
|
89
|
-
"infra move": "# Save one reviewed move; no location changes occur during preview.\
|
|
90
|
-
"infra transfer plan": "
|
|
91
|
-
"infra transfer create": "
|
|
92
|
-
"infra transfer status": "
|
|
93
|
-
"infra transfer accept": "
|
|
94
|
-
"install": "# Reinstall and configure the shell selected by SHELL.\
|
|
95
|
-
"jobs register": "
|
|
96
|
-
"jobs report": "
|
|
97
|
-
"jobs list": "
|
|
98
|
-
"jobs status": "
|
|
99
|
-
"lakeshore connect": "# Prompts for a Lakeshore token without displaying it.\
|
|
100
|
-
"lakeshore": "
|
|
101
|
-
"layout pages": "# Use the endpoint of your explicitly enabled local debugging session.\
|
|
102
|
-
"layout list": "
|
|
103
|
-
"layout inspect": "
|
|
104
|
-
"layout resolve": "
|
|
105
|
-
"layout apply": "
|
|
106
|
-
"machine": "
|
|
107
|
-
"auth identity": "
|
|
108
|
-
"memos archive": "
|
|
109
|
-
"memos unarchive": "
|
|
110
|
-
"folders list": "# List immediate contents at a project root or inside a folder.\
|
|
111
|
-
"folders archive": "
|
|
112
|
-
"folders unarchive": "
|
|
113
|
-
"memos files list": "
|
|
114
|
-
"memos media upload": "
|
|
115
|
-
"memos files write": "
|
|
116
|
-
"memos files cp": "
|
|
117
|
-
"memos files status": "# OPERATION_ID is the ID from the original response.\
|
|
118
|
-
"memos files reconcile": "
|
|
119
|
-
"memos files cancel": "
|
|
120
|
-
"memos visit": "# Reuse the task's DREAMLAKE_AGENT_ID and DREAMLAKE_AGENT_NAME.\nMEMO_ID=release-plan\
|
|
121
|
-
"memos presence": "# Read the participant roster without joining. Text is the default.\nMEMO_ID=release-plan\
|
|
122
|
-
"memos select": "export DREAMLAKE_AGENT_ID=\"review-session-42\"\nexport DREAMLAKE_AGENT_NAME=\"Codex\"\nMEMO_ID=\"your-note-id\"\
|
|
123
|
-
"memos contributors": "
|
|
124
|
-
"memos rm": "# Read it first and confirm it is the note you mean.\
|
|
125
|
-
"memos patch": "set -euo pipefail\
|
|
126
|
-
"memos append": "
|
|
127
|
-
"memos insert": "
|
|
128
|
-
"memos delete": "
|
|
129
|
-
"memos write": "
|
|
130
|
-
"memos": "# Find a note and read it directly.\
|
|
131
|
-
"memos list": "
|
|
132
|
-
"memos search": "
|
|
133
|
-
"memos create": "
|
|
134
|
-
"memos read": "
|
|
135
|
-
"memos projects": "
|
|
136
|
-
"memos move": "# Standalone cross-namespace Memo transfer is unavailable (exit 3).\
|
|
137
|
-
"memos diff": "MEMO_ID=release-plan\
|
|
138
|
-
"memos sections": "
|
|
139
|
-
"memos share": "# Find the release plan and inspect its source and current sharing.\
|
|
140
|
-
"memos visibility": "MEMO=\"release-plan\" # Your existing memo id or slug.\
|
|
141
|
-
"memos share revoke": "MEMO=\"release-plan\" # Your existing memo id or slug.\
|
|
142
|
-
"memos share access": "MEMO=\"release-plan\" # Your existing memo id or slug.\n# List acceptance records and stored roles as a readable table.\
|
|
143
|
-
"memos share remove": "MEMO=\"release-plan\" # Your existing memo id or slug.\nUSER_ID=\"user-id-from-access-list\"\
|
|
144
|
-
"memos permalink": "
|
|
145
|
-
"memos suggest-diff": "# Review a change as a new private note.\
|
|
146
|
-
"memos transfer": "
|
|
147
|
-
"memos tag": "# Save the current content on the existing Memo.\
|
|
148
|
-
"memos hist": "
|
|
149
|
-
"ownership transfer": "
|
|
150
|
-
"ownership capabilities": "
|
|
151
|
-
"ownership list": "
|
|
152
|
-
"ownership preview": "
|
|
153
|
-
"ownership create": "
|
|
154
|
-
"ownership status": "
|
|
155
|
-
"ownership accept": "
|
|
156
|
-
"ownership reject": "
|
|
157
|
-
"ownership cancel": "
|
|
158
|
-
"ownership inspect": "
|
|
159
|
-
"ownership manifest": "
|
|
160
|
-
"ownership restore": "
|
|
161
|
-
"project transfer-preview": "
|
|
162
|
-
"ownership snapshot": "
|
|
163
|
-
"ownership snapshot-cleanup": "# Inspect eligibility without deleting anything (the default).\
|
|
164
|
-
"project move": "# Save a read-only streaming review with its stable request/key.\
|
|
165
|
-
"create bindr": "# Seed a Bindr with matching episodes without an interactive prompt.\
|
|
166
|
-
"project inspect": "
|
|
167
|
-
"project grants": "
|
|
168
|
-
"project grant": "
|
|
169
|
-
"project revoke": "
|
|
170
|
-
"project attach": "
|
|
171
|
-
"project detach": "
|
|
172
|
-
"provider create": "
|
|
173
|
-
"provider plan": "# Requires the selected backend and authorized AWS read access.\
|
|
174
|
-
"provider machine": "
|
|
175
|
-
"providers launch-server": "
|
|
176
|
-
"providers instances launch": "
|
|
177
|
-
"providers nodes": "
|
|
178
|
-
"providers instances logs": "
|
|
179
|
-
"providers instances terminate": "
|
|
180
|
-
"queues worker-claims": "
|
|
181
|
-
"queues create": "
|
|
182
|
-
"queues worker-pin": "
|
|
183
|
-
"queues slurm clusters": "
|
|
184
|
-
"queues slurm jobs": "
|
|
185
|
-
"runnable run": "
|
|
186
|
-
"runnable receipt": "
|
|
187
|
-
"runnable register": "
|
|
188
|
-
"scene push": "
|
|
189
|
-
"scene compose": "
|
|
190
|
-
"service-accounts": "
|
|
191
|
-
"service-accounts create": "
|
|
192
|
-
"service-accounts list": "
|
|
193
|
-
"service-accounts show": "
|
|
194
|
-
"service-accounts project-grants": "
|
|
195
|
-
"service-accounts project-grants set": "
|
|
196
|
-
"service-accounts project-grants remove": "
|
|
197
|
-
"service-accounts host-grants": "
|
|
198
|
-
"service-accounts host-grants set": "
|
|
199
|
-
"service-accounts host-grants remove": "
|
|
200
|
-
"service-accounts bind": "
|
|
201
|
-
"service-accounts revoke": "
|
|
202
|
-
"sessions visibility": "
|
|
203
|
-
"sessions register": "
|
|
204
|
-
"claude": "# Interactive Claude Code, registered private before it starts, acceptEdits (workspace-write):\
|
|
205
|
-
"codex": "
|
|
206
|
-
"sessions link": "
|
|
207
|
-
"sessions unlink": "
|
|
208
|
-
"sessions resources": "
|
|
209
|
-
"sessions": "
|
|
210
|
-
"sessions targets": "
|
|
211
|
-
"sessions resume": "
|
|
212
|
-
"sessions create": "
|
|
213
|
-
"sessions list": "
|
|
214
|
-
"sessions show": "
|
|
215
|
-
"sessions open": "
|
|
216
|
-
"sessions status": "
|
|
217
|
-
"sessions start": "
|
|
218
|
-
"sessions reconnect": "
|
|
219
|
-
"sessions stop": "
|
|
220
|
-
"sessions sync": "
|
|
221
|
-
"sessions upload-conversation": "
|
|
222
|
-
"sessions serve": "
|
|
223
|
-
"sessions runners": "
|
|
224
|
-
"sessions control start": "
|
|
225
|
-
"sessions control send": "
|
|
226
|
-
"sessions control broadcast": "
|
|
227
|
-
"sessions control resume": "
|
|
228
|
-
"sessions control restart": "# Lower a session to read-only and continue the same conversation:\
|
|
229
|
-
"sessions permission": "
|
|
230
|
-
"sessions control stop": "
|
|
231
|
-
"sessions control status": "
|
|
232
|
-
"sessions control list": "
|
|
233
|
-
"sessions heartbeat": "# From a Claude Code hook (settings.json): the hook JSON on stdin names the session and the tool.\
|
|
234
|
-
"sessions event": "
|
|
235
|
-
"sessions tree": "
|
|
236
|
-
"sessions watch": "# One session, readable lines:\
|
|
237
|
-
"sessions archive": "
|
|
238
|
-
"sessions chat": "
|
|
239
|
-
"sessions tool-calls": "
|
|
240
|
-
"dreamlake": "# Guided agent setup: choose agent and scope, install dreamlake-cli offline\
|
|
241
|
-
"init": "
|
|
242
|
-
"skill": "
|
|
243
|
-
"skill list": "# The server's registry when logged in, else the embedded snapshot\
|
|
244
|
-
"skill read": "# SKILL.md, from the server's registry when logged in, else the embedded bundle\
|
|
245
|
-
"skill install": "# The embedded dreamlake-cli skill; offline when it matches the release\
|
|
246
|
-
"skill update": "# Every skill with a manifest in the selected scope\
|
|
247
|
-
"skill remove": "
|
|
248
|
-
"vault cloud import": "# No --file: list standard candidate paths without opening their contents.\
|
|
249
|
-
"vault cloud restore": "# Preview checks metadata and destination without retrieving the secret.\
|
|
250
|
-
"vault add": "# Keep a 90-day registry token for exactly as long as the registry honors it.\npbpaste |
|
|
251
|
-
"vault list": "# Interactive on a terminal; JSON when piped or redirected.\
|
|
252
|
-
"vault delete": "# Use a disposable entry and its current metadata revision.\
|
|
253
|
-
"vault terraform backend": "chmod 600 ./backend-reference.json\
|
|
254
|
-
"vault terraform backup": "
|
|
255
|
-
"vault terraform restore": "
|
|
3
|
+
"agents create": "dl agents create reviewer --runtime builtin-v1 \\\n --prompt 'Read the evidence and summarize it with citations.' \\\n --tools dreamlake_notes_read --project dreamlake --namespace fortyfive\n\n# Existing Memo/folder IDs; references remain live and are authorized per caller.\ndl agents create researcher --instruction-note \"$MAIN_MEMO_ID\" \\\n --skill-note \"$SKILL_MEMO_ID\" --skill-folder \"$SKILLS_FOLDER_ID\" \\\n --project dreamlake --namespace fortyfive",
|
|
4
|
+
"agents list": "dl agents list --namespace my-workspace\n# Stable text, even in a terminal; redirected output also defaults to text.\ndl agents list --namespace my-workspace --plain\n# Prefixes match the beginning of a scoped agent name or registry ID.\ndl agents list --prefix my_repo. --project research",
|
|
5
|
+
"agents show": "dl agents show my_repo.tri --namespace my-workspace",
|
|
6
|
+
"agents edit": "dl agents edit my_repo.tri --namespace my-workspace\n# Browser form: follow the localhost URL printed by the command.\ndl agents edit my_repo.tri --namespace my-workspace --web",
|
|
7
|
+
"telemetry": "dl telemetry disable --quiet\ndl telemetry status\ndl telemetry enable --quiet",
|
|
8
|
+
"apps": "dl apps list --json\ndl connection oauth create --connector slack-mcp --label \"Work Slack\" --access read\ndl connection oauth create --connector plaud-mcp --label \"My Plaud\" --access read",
|
|
9
|
+
"apps grant": "dl apps grant <connection-id>",
|
|
10
|
+
"apps check": "dl apps check <connection-id> --json",
|
|
11
|
+
"apps tools": "dl apps tools <connection-id> --json",
|
|
12
|
+
"apps read": "dl apps read <connection-id> <read-tool> --input-file query.json --json",
|
|
13
|
+
"apps prepare": "dl apps prepare <connection-id> slack_send_message --input-file message.json --json",
|
|
14
|
+
"apps receipt": "dl apps receipt <action-id> --json",
|
|
15
|
+
"apps confirm": "dl apps confirm <action-id>",
|
|
16
|
+
"apps cancel": "dl apps cancel <action-id> --json",
|
|
17
|
+
"apps revoke": "dl apps revoke <connection-id>",
|
|
18
|
+
"artifact push": "dl artifact push ./dashboard.html --id q1-dashboard\n# Edit the file, then repeat the same command to upload only new chunks.\n\n# Static build with on-demand assets (CLI 0.101.0+; requires site hosting):\ndl artifact push ./dist/client --site --id simulation\n\n# Compatibility with older self-hosted viewers:\ndl artifact push ./dashboard.html --id q1-dashboard --full\n\n# Multiple self-contained HTML pages (requires an updated viewer):\ndl artifact push ./report --entry index.html --id quarterly-report",
|
|
19
|
+
"artifact meta set": "# At push time:\ndl artifact push ./report.html --id q1-dashboard \\\n --description \"Revenue, churn and pipeline for the quarter\" \\\n --cover ./cover.png\n\n# Or after the fact, for an artifact that already exists:\ndl artifact meta set q1-dashboard --description \"Revenue, churn and pipeline\"\ndl artifact meta set q1-dashboard --cover ./cover.png\ndl artifact meta show q1-dashboard\n\n# Back to the automatic description / the generated cover:\ndl artifact meta set q1-dashboard --clear-description --clear-cover",
|
|
20
|
+
"artifact share": "# Find the dashboard you already uploaded; no new version is needed.\ndl artifact list\nARTIFACT=\"q1-dashboard\" # Replace with the id from list.\ndl artifact share get \"$ARTIFACT\"\n\n# Give signed-in recipients read access, then verify the returned link.\ndl artifact share create \"$ARTIFACT\"\ndl artifact share get \"$ARTIFACT\"\n\n# When link access is no longer needed, revoke it and verify.\ndl artifact share revoke \"$ARTIFACT\"\ndl artifact share get \"$ARTIFACT\"",
|
|
21
|
+
"artifact visibility": "ARTIFACT=\"q1-dashboard\" # Your existing artifact id.\ndl artifact visibility \"$ARTIFACT\" public\ndl artifact visibility \"$ARTIFACT\" private\ndl artifact visibility \"$ARTIFACT\" unlisted",
|
|
22
|
+
"artifact share latest-only": "# Change an existing artifact without uploading or changing its link.\ndl artifact share latest-only report on\ndl artifact share get report --json\n# Allow recipients to browse history again.\ndl artifact share latest-only report off",
|
|
23
|
+
"artifact rename": "dl artifact rename session-work-map-20261014 session-work-map --namespace my-team",
|
|
24
|
+
"runnable bind": "dl runnable bind udf/acme/recipes.process@FULL_SHA256 \\\n --snapshot CODE_REPO_ID --project recipes \\\n --server \"$LAKESHORE_URL\" --cp-namespace acme --dry-run\ndl runnable bind udf/acme/recipes.process@FULL_SHA256 \\\n --snapshot CODE_REPO_ID --project recipes --server \"$LAKESHORE_URL\" --cp-namespace acme",
|
|
25
|
+
"runnable execute": "dl runnable execute exec/acme/recipes.process@EXECUTION_DIGEST \\\n --queue cpu --inputs record.json --timeout-seconds 600 --json\ndl runnable execute exec/acme/recipes.process@EXECUTION_DIGEST \\\n --queue cpu --inputs record.json --timeout-seconds 600 --attempt 2 --json",
|
|
26
|
+
"runnable execution-receipt": "dl runnable execution-receipt exec/acme/recipes.process@EXECUTION_DIGEST \\\n --queue cpu --inputs record.json --timeout-seconds 600 --wait-seconds 30",
|
|
27
|
+
"hosts": "dl hosts\ndl hosts --all\ndl hosts -h\ndl hosts list -h",
|
|
28
|
+
"su": "dl su fortyfive\ndl hosts list\ndl hosts list --namespace geyang\ndl su geyang",
|
|
29
|
+
"logout": "dl logout --env staging",
|
|
30
|
+
"nymph": "dl nymph\ndl nymph --json",
|
|
31
|
+
"nymph setup": "dl nymph setup --name alice/computers/laptop --lakeshore-id CONNECTION_ID",
|
|
32
|
+
"nymph config": "dl nymph config --name alice/computers/laptop",
|
|
33
|
+
"nymph config set": "dl nymph config set --name alice/computers/laptop --poll-seconds 30 --max-invocations 4",
|
|
34
|
+
"nymph access show": "dl nymph access show --name alice/computers/laptop",
|
|
35
|
+
"nymph access grant": "dl nymph access grant upload --name alice/computers/laptop\ndl nymph access grant command-execution --name alice/computers/laptop",
|
|
36
|
+
"nymph access revoke": "dl nymph access revoke upload --name alice/computers/laptop\ndl nymph access revoke command-execution --name alice/computers/laptop",
|
|
37
|
+
"nymph restart": "dl nymph restart --name alice/computers/laptop",
|
|
38
|
+
"experiments runs list": "dl experiments runs list --namespace fortyfive --project research",
|
|
39
|
+
"experiments runs create": "dl experiments runs create trial_1 --namespace fortyfive --project research",
|
|
40
|
+
"experiments runs log": "dl experiments runs log \"$RUN_ID\" \"training started\" --level info --namespace fortyfive --project research",
|
|
41
|
+
"experiments runs archive": "dl experiments runs archive \"$RUN_ID\" --namespace fortyfive --project research",
|
|
42
|
+
"experiments runs restore": "dl experiments runs restore \"$RUN_ID\" --namespace fortyfive --project research",
|
|
43
|
+
"experiments runs delete": "dl experiments runs delete \"$RUN_ID\" --namespace fortyfive --project research",
|
|
44
|
+
"experiments runs trash list": "dl experiments runs trash list --namespace fortyfive --project research",
|
|
45
|
+
"experiments runs trash restore": "dl experiments runs trash restore \"$RUN_ID\" --namespace fortyfive --project research",
|
|
46
|
+
"experiments runs show": "dl experiments runs show \"$RUN_ID\" --namespace fortyfive --project research",
|
|
47
|
+
"experiments runs status": "dl experiments runs status \"$RUN_ID\" COMPLETED --namespace fortyfive --project research",
|
|
48
|
+
"experiments runs params set": "echo '{\"lr\": 0.001, \"batch\": 64}' | dl experiments runs params set \"$RUN_ID\" --data - --namespace fortyfive --project research",
|
|
49
|
+
"experiments runs metrics append": "dl experiments runs metrics append \"$RUN_ID\" train.loss --data points.json --namespace fortyfive --project research",
|
|
50
|
+
"experiments runs metrics rows": "dl experiments runs metrics rows \"$RUN_ID\" train.loss --limit 1000 --namespace fortyfive --project research",
|
|
51
|
+
"experiments runs logs read": "dl experiments runs logs read \"$RUN_ID\" --level warn,error --search timeout --namespace fortyfive --project research",
|
|
52
|
+
"experiments runs files upload": "dl experiments runs files upload \"$RUN_ID\" ./model.pt --prefix /checkpoints --tags best --namespace fortyfive --project research",
|
|
53
|
+
"experiments runs files download": "dl experiments runs files download \"$RUN_ID\" \"$FILE_ID\" --out ./model.pt --namespace fortyfive --project research",
|
|
54
|
+
"experiments runs tracks append": "dl experiments runs tracks append \"$RUN_ID\" robot/position --data entries.json --namespace fortyfive --project research",
|
|
55
|
+
"experiments runs tracks read": "dl experiments runs tracks read \"$RUN_ID\" robot/position --format mcap --out position.mcap --namespace fortyfive --project research",
|
|
56
|
+
"experiments workspaces": "dl experiments workspaces --namespace fortyfive --json",
|
|
57
|
+
"experiments binding": "dl experiments binding --namespace fortyfive --json",
|
|
58
|
+
"experiments connect": "dl experiments connect research --namespace fortyfive --json\n# Apply only after reviewing the preview. Use its actual revision, not this example's 0.\ndl experiments connect \"$DASH_NAMESPACE_ID\" --namespace fortyfive --instance-id \"$DASH_INSTANCE_ID\" --apply --expected-revision 0 --json",
|
|
59
|
+
"experiments disconnect": "dl experiments disconnect --namespace fortyfive --json\n# Replace 1 with the revision returned by this preview.\ndl experiments disconnect --namespace fortyfive --apply --expected-revision 1 --json",
|
|
60
|
+
"hosts list": "dl hosts list\ndl hosts list --namespace geyang --group workstations\ndl hosts list --json\ndl hosts list --all\ndl hosts list --wide\ndl hosts --fields\ndl hosts --format '{name} {user} {ips} {network_freshness}'\ndl hosts --probe --format '{name} {ip} {public_ip} {macs} {uptime}'",
|
|
61
|
+
"hosts status": "dl hosts status geyang/workstations/worker\ndl hosts status HOST_ID --namespace geyang --json\ndl hosts status 'geyang/workstations/*' --page 2 --page-size 100 --json",
|
|
62
|
+
"hosts lifecycle": "dl hosts lifecycle HOST_ID --namespace geyang --json",
|
|
63
|
+
"hosts archive": "dl hosts archive HOST_ID --namespace geyang --request-id archive-example-1 --expected-revision 0 --json",
|
|
64
|
+
"hosts restore": "dl hosts restore HOST_ID --namespace geyang --request-id restore-example-1 --expected-revision 1 --json",
|
|
65
|
+
"hosts enrollments": "dl hosts enrollments geyang/workstations/worker\ndl hosts enrollments HOST_ID --namespace geyang --json",
|
|
66
|
+
"hosts metrics": "dl hosts metrics geyang/workstations/worker --enrollment ENROLLMENT_ID\ndl hosts metrics HOST_ID --namespace geyang --enrollment ENROLLMENT_ID --resolution 60 --json",
|
|
67
|
+
"hosts check": "dl hosts check geyang/workstations/worker --enrollment ENROLLMENT_ID --action ssh\ndl hosts check HOST_ID --namespace geyang --enrollment ENROLLMENT_ID --action tracked-run --json",
|
|
68
|
+
"hosts enroll": "# Human-readable output (default).\ndl hosts enroll --local --name geyang/dev/my-mac\n# Structured output for scripts.\ndl hosts enroll --local --name geyang/dev/my-mac --json",
|
|
69
|
+
"hosts create": "dl hosts create geyang/PROVIDER_ID --host-name geyang/dev/worker \\\n --layer development --request-id create-worker-01",
|
|
70
|
+
"hosts power": "dl hosts power geyang/dev/worker\ndl hosts power HOST_ID --namespace geyang --json",
|
|
71
|
+
"hosts start": "dl hosts start geyang/dev/worker --enrollment ENROLLMENT_ID \\\n --request-id start-worker-01",
|
|
72
|
+
"hosts stop": "dl hosts stop geyang/dev/worker --enrollment ENROLLMENT_ID \\\n --request-id stop-worker-01",
|
|
73
|
+
"hosts restart": "dl hosts restart geyang/dev/worker --enrollment ENROLLMENT_ID \\\n --request-id restart-worker-01",
|
|
74
|
+
"hosts terminate": "dl hosts terminate geyang/dev/worker --enrollment ENROLLMENT_ID \\\n --request-id terminate-worker-01 --volumes delete-on-termination",
|
|
75
|
+
"ssh": "dl ssh geyang/dev/worker\ndl ssh HOST_ID --namespace geyang --enrollment ENROLLMENT_ID",
|
|
76
|
+
"hosts ssh": "dl hosts ssh geyang/dev/worker --duration 1800",
|
|
77
|
+
"exec": "dl exec geyang/dev/worker -- uname -a\ndl exec geyang/dev/worker --timeout 30 -- sh -c 'printf \"%s\\n\" \"$HOME\"'",
|
|
78
|
+
"hosts exec": "dl hosts exec geyang/dev/worker -- python3 -c 'print(\"hello\")'",
|
|
79
|
+
"hosts upgrade": "dl hosts upgrade geyang/dev/worker --nymph-version 0.1.32 --dry-run\ndl hosts upgrade geyang/dev/worker --nymph-version 0.1.32\ndl hosts upgrade 'geyang/lab/*' --nymph-version 0.1.32 --concurrency 4 --max-failures 2\ndl hosts upgrade --all --namespace geyang --nymph-version 0.1.32 --json",
|
|
80
|
+
"hosts rollback": "dl hosts rollback geyang/dev/worker\ndl hosts rollback geyang/dev/worker --upgrade-id 20261029-001 --json",
|
|
81
|
+
"hosts move": "dl hosts move HOST_ID --namespace alice --to acme --dry-run --json",
|
|
82
|
+
"hosts rename": "dl hosts rename HOST_ID --name fortyfive/bos14/bos14-ctrl/geyang --expected-name fortyfive/bos14/bos14-ctrl-geyang",
|
|
83
|
+
"infra list": "dl infra list --namespace fortyfive --project dreamlake-infra --json",
|
|
84
|
+
"infra status": "dl infra status da8e49cf-1b37-446f-9494-9620faf3192d --json",
|
|
85
|
+
"infra connect": "dl infra connect da8e49cf-1b37-446f-9494-9620faf3192d",
|
|
86
|
+
"infra history": "dl infra history da8e49cf-1b37-446f-9494-9620faf3192d --json",
|
|
87
|
+
"infra events": "dl infra events da8e49cf-1b37-446f-9494-9620faf3192d --after 0 --json",
|
|
88
|
+
"infra create": "dl infra create analytics --namespace fortyfive --project dreamlake-infra \\\n --environment production --repository https://github.com/example/repo \\\n --directory infra/analytics --path infra/analytics/production --json",
|
|
89
|
+
"infra move": "# Save one reviewed move; no location changes occur during preview.\ndl infra move da8e49cf-1b37-446f-9494-9620faf3192d \\\n --namespace fortyfive --project dreamlake-infra --dry-run --out stack-move.json\n# Execute the exact saved intent and optimistic concurrency checks.\ndl infra move da8e49cf-1b37-446f-9494-9620faf3192d \\\n --request-file stack-move.json --confirm --json\n# Path-only move: same namespace/project, new place in its resource tree.\ndl infra move da8e49cf-1b37-446f-9494-9620faf3192d \\\n --namespace fortyfive --project dreamlake-infra \\\n --destination-path platform/aws/analytics --dry-run --out stack-path.json\n# Archive a registration in another Project, preserving its current relative path.\ndl infra move 28609d8d-4dce-42a3-afd2-faa13a45b958 \\\n --namespace fortyfive --project infrastructure-archive \\\n --dry-run --out stack-archive.json\ndl infra move 28609d8d-4dce-42a3-afd2-faa13a45b958 \\\n --request-file stack-archive.json --confirm --json",
|
|
90
|
+
"infra transfer plan": "dl infra transfer plan 616658fd-531c-4bb9-8f52-7ebcbaa350b9 \\\n --namespace fortyfive --project dreamlake-infra \\\n --out stack-transfer.json",
|
|
91
|
+
"infra transfer create": "dl infra transfer create 616658fd-531c-4bb9-8f52-7ebcbaa350b9 \\\n --request-file stack-transfer.json --confirm --accept-if-authorized",
|
|
92
|
+
"infra transfer status": "dl infra transfer status 616658fd-531c-4bb9-8f52-7ebcbaa350b1 \\\n --out stack-transfer-acceptance.json",
|
|
93
|
+
"infra transfer accept": "dl infra transfer accept 616658fd-531c-4bb9-8f52-7ebcbaa350b1 \\\n --request-file stack-transfer-acceptance.json --confirm",
|
|
94
|
+
"install": "# Reinstall and configure the shell selected by SHELL.\ndl install\n# Install a channel without editing shell startup files or user PATH.\ndl install stable --no-modify-path",
|
|
95
|
+
"jobs register": "dl jobs register --namespace geyang --name train-baseline \\\n --host 0123456789abcdef01234567 --request-id train-baseline-01",
|
|
96
|
+
"jobs report": "dl jobs report 89abcdef0123456789abcdef --namespace geyang --state running\ndl jobs report 89abcdef0123456789abcdef --namespace geyang \\\n --state succeeded --exit-code 0\ndl jobs report fedcba9876543210fedcba98 --namespace geyang \\\n --state failed --exit-code 7 --message 'Training process exited with an error'",
|
|
97
|
+
"jobs list": "dl jobs list --namespace geyang\ndl jobs list --namespace geyang --host 0123456789abcdef01234567 --state running\ndl jobs list --namespace geyang --page 2 --page-size 50 --json",
|
|
98
|
+
"jobs status": "dl jobs status 89abcdef0123456789abcdef --namespace geyang\ndl jobs status 89abcdef0123456789abcdef --namespace geyang --json",
|
|
99
|
+
"lakeshore connect": "# Prompts for a Lakeshore token without displaying it.\ndl lakeshore connect --name lab --server https://lakeshore.example.com \\\n --namespace my-team --lakeshore-namespace training --access management",
|
|
100
|
+
"lakeshore": "dl lakeshore list --namespace my-team\ndl lakeshore show lab --namespace my-team\ndl lakeshore test lab --namespace my-team\ndl queues list lab --namespace my-team",
|
|
101
|
+
"layout pages": "# Use the endpoint of your explicitly enabled local debugging session.\ndl layout pages --cdp http://127.0.0.1:9222",
|
|
102
|
+
"layout list": "dl layout list --cdp http://127.0.0.1:9222 --page PAGE_ID",
|
|
103
|
+
"layout inspect": "dl layout inspect --cdp http://127.0.0.1:9222 --page PAGE_ID --layout LAYOUT_ID",
|
|
104
|
+
"layout resolve": "dl layout resolve request.json --cdp http://127.0.0.1:9222 --page PAGE_ID --layout LAYOUT_ID",
|
|
105
|
+
"layout apply": "dl layout apply request.json --cdp http://127.0.0.1:9222 --page PAGE_ID --layout LAYOUT_ID",
|
|
106
|
+
"machine": "dl machine self\ndl machine host 0123456789abcdef01234567\ndl machine project 0123456789abcdef01234567",
|
|
107
|
+
"auth identity": "dl auth identity\ndl --identity machine profile\ndl --identity user profile",
|
|
108
|
+
"memos archive": "dl memos archive MEMO_ID --json\n# With a slug or exact title, select its owning namespace.\ndl memos archive release-plan --namespace acme",
|
|
109
|
+
"memos unarchive": "dl memos unarchive MEMO_ID --json\n# Archived titles and slugs remain resolvable.\ndl memos unarchive release-plan --namespace acme",
|
|
110
|
+
"folders list": "# List immediate contents at a project root or inside a folder.\ndl folders list --project project-slug --namespace acme --include-archived --json\ndl folders list --parent-id FOLDER_ID --include-archived --page 1 --page-size 50",
|
|
111
|
+
"folders archive": "dl folders archive FOLDER_ID --json",
|
|
112
|
+
"folders unarchive": "dl folders unarchive FOLDER_ID --json",
|
|
113
|
+
"memos files list": "dl memos files list --note release-plan\ndl memos files list 'assets/*.png' --note release-plan --limit 50\ndl memos files list --note release-plan --json",
|
|
114
|
+
"memos media upload": "dl memos media upload ./diagram.png\nIMAGE_URL=$(dl memos media upload ./diagram.png)",
|
|
115
|
+
"memos files write": "dl memos files write config.json --text '{\"enabled\":true}' --note \"$MEMO_ID\" --idempotency-key config-initial-1",
|
|
116
|
+
"memos files cp": "dl memos files cp config.json config-copy.json --note \"$MEMO_ID\" --idempotency-key config-copy-1",
|
|
117
|
+
"memos files status": "# OPERATION_ID is the ID from the original response.\ndl memos files status \"$OPERATION_ID\" --note \"$MEMO_ID\" --json",
|
|
118
|
+
"memos files reconcile": "dl memos files reconcile \"$OPERATION_ID\" --note \"$MEMO_ID\" --json",
|
|
119
|
+
"memos files cancel": "dl memos files cancel \"$OPERATION_ID\" --note \"$MEMO_ID\" --json",
|
|
120
|
+
"memos visit": "# Reuse the task's DREAMLAKE_AGENT_ID and DREAMLAKE_AGENT_NAME.\nMEMO_ID=release-plan\ndl memos visit \"$MEMO_ID\"",
|
|
121
|
+
"memos presence": "# Read the participant roster without joining. Text is the default.\nMEMO_ID=release-plan\ndl memos presence \"$MEMO_ID\"\n# Include a source-bound human selection snapshot.\ndl memos presence \"$MEMO_ID\" --selections",
|
|
122
|
+
"memos select": "export DREAMLAKE_AGENT_ID=\"review-session-42\"\nexport DREAMLAKE_AGENT_NAME=\"Codex\"\nMEMO_ID=\"your-note-id\"\ndl memos select --text \"The next step is tested in simulation.\" --note \"$MEMO_ID\"\n# Select the last occurrence of a repeated passage.\ndl memos select --text \"simulation\" --note \"$MEMO_ID\" -o -1",
|
|
123
|
+
"memos contributors": "dl memos contributors release-plan --namespace geyang --json\n# If hasMore is true, continue with the returned nextCursor:\ndl memos contributors release-plan --namespace geyang --cursor LINK_CURSOR --json",
|
|
124
|
+
"memos rm": "# Read it first and confirm it is the note you mean.\ndl memos read MEMO_ID\n# Asks for confirmation, showing the title and owning namespace.\ndl memos rm MEMO_ID\n# Scripts and agents: skip the prompt and take a JSON receipt.\ndl memos rm MEMO_ID --yes --json\n# Afterwards a read reports not found.\ndl memos read MEMO_ID",
|
|
125
|
+
"memos patch": "set -euo pipefail\ndl memos create \"Patch tutorial\" --text 'Hello world.' > created.txt\nMEMO_ID=$(sed -n 's/^ id //p' created.txt)\ndl memos read \"$MEMO_ID\" --view source --json > baseline.json\n# A plain text read is the mapped reading view and --view source is bytes only;\n# --json is the structured snapshot with note, hash and revision.\nBASE=$(jq -er .revision baseline.json)\ndl memos patch \"$MEMO_ID\" --file - --base-revision \"$BASE\" --json > receipt.json <<'PATCH'\n@@ chars 0:12 @@\n~ Hello [-world-]{+team+}.\nPATCH\nACK=$(jq -er .revision receipt.json)\ndl memos read \"$MEMO_ID\" --if-match \"$ACK\"\n# Expect Hello team. Inspect the result; do not repeat a successful patch.",
|
|
126
|
+
"memos append": "dl memos append \"$MEMO_ID\" --file addition.md --base-revision \"$BASE\" --json\n# ACK is the revision in the successful append receipt.\ndl memos read \"$MEMO_ID\" --at \"$ACK\"",
|
|
127
|
+
"memos insert": "dl memos insert --note \"$MEMO_ID\" --ind 0 --text 'Review: ' \\\n --base-revision \"$BASE\" --json\n# ACK is the revision returned by the insertion receipt.\ndl memos read \"$MEMO_ID\" --at \"$ACK\"",
|
|
128
|
+
"memos delete": "dl memos delete 'obsolete paragraph' --note \"$MEMO_ID\" \\\n --base-revision \"$BASE\" --json\n# Pin verification to the receipt's acknowledged revision.\ndl memos read \"$MEMO_ID\" --at \"$ACK\"",
|
|
129
|
+
"memos write": "dl memos read \"$MEMO_ID\" --json > baseline.json\nBASE=$(jq -er .revision baseline.json)\njq -jr .content baseline.json > draft.md\n# Edit draft.md without changing the saved original baseline.\ndl memos write \"$MEMO_ID\" --file draft.md --base-revision \"$BASE\" --json\n# ACK is the successful write receipt's revision.\ndl memos read \"$MEMO_ID\" --at \"$ACK\"",
|
|
130
|
+
"memos": "# Find a note and read it directly.\ndl memos search \"release plan\"\ndl memos read release-plan\n\n# Preview a unique wording change, apply it, then read back.\ndl memos replace \"Draft checklist\" --text \"Ready for review\" --note release-plan --dry-run\ndl memos replace \"Draft checklist\" --text \"Ready for review\" --note release-plan\ndl memos read release-plan\n\n# Create a private note from a Markdown file.\ndl memos create \"Release plan\" --file release-plan.md\n\n# Cross-interface design (unreleased target APIs; verify installed --help):\n# https://docs.dreamlake.ai/notes/api/",
|
|
131
|
+
"memos list": "dl memos list --limit 10\ndl memos list --shared\ndl memos list --namespace acme\ndl memos list --include-archived",
|
|
132
|
+
"memos search": "dl memos search \"release plan\"\ndl memos search deploy --namespace acme --json\ndl memos search deploy --include-archived",
|
|
133
|
+
"memos create": "dl memos create \"Release plan\" --text \"Draft checklist\"\nprintf '# Release plan\\n' | dl memos create \"Release plan\" --file - --json",
|
|
134
|
+
"memos read": "dl memos read release-plan\n# Inspect source with generated address hints; do not write the hints back.\ndl memos read release-plan --view markdown\n# Preserve exact source plus revision/hash for a programmatic edit baseline.\ndl memos read release-plan --json > baseline.json\ndl memos read release-plan --since \"10 minutes ago\" --format diff\n# Detailed read design (unreleased target syntax):\n# https://docs.dreamlake.ai/notes/api/reading/\n# Reuse a stable agent identity for this task.\nexport DREAMLAKE_AGENT_ID=release-reviewer-a\nexport DREAMLAKE_AGENT_NAME=\"Release reviewer A\"\ndl memos read release-plan --linger\n# Ctrl-C stops following.\n\nExample notifications:\n+ @alice joined\n+ Reviewer (agent) joined\n* Reviewer (agent) read the note\n* Reviewer (agent) edited the note\n* @alice selected \"## The center\"\n- @alice left",
|
|
135
|
+
"memos projects": "dl memos projects 000000000000000000000001 --namespace acme",
|
|
136
|
+
"memos move": "# Standalone cross-namespace Memo transfer is unavailable (exit 3).\ndl memos move MEMO_ID --to-namespace my-org --project shared-research --dry-run\n# Add a project association within the note's CURRENT workspace.\ndl memos move MEMO_ID --to-namespace current-workspace --project research --dry-run\n# Apply only an executable same-workspace preview.\ndl memos move MEMO_ID --to-namespace current-workspace --project research\n# Relocate the note to an existing folder of one project (CLI 0.87.0+).\ndl memos move MEMO_ID --namespace acme --project research --folder reports/2026 --dry-run",
|
|
137
|
+
"memos diff": "MEMO_ID=release-plan\ndl memos read \"$MEMO_ID\" --json > baseline.json\nHASH=$(jq -er .hash baseline.json)\ndl memos diff \"$MEMO_ID\" --since \"$HASH\" --format diff",
|
|
138
|
+
"memos sections": "dl memos sections release-plan\ndl memos sections release-plan --json",
|
|
139
|
+
"memos share": "# Find the release plan and inspect its source and current sharing.\ndl memos search \"release plan\"\nMEMO=\"release-plan\" # Replace with the id or slug from search.\ndl memos read \"$MEMO\"\ndl memos share get \"$MEMO\"\n\n# Give signed-in recipients read access, then verify the returned link.\ndl memos share create \"$MEMO\" --role read\ndl memos share get \"$MEMO\"\n\n# When link access is no longer needed, revoke it and verify.\ndl memos share revoke \"$MEMO\"\ndl memos share get \"$MEMO\"",
|
|
140
|
+
"memos visibility": "MEMO=\"release-plan\" # Your existing memo id or slug.\ndl memos visibility \"$MEMO\" unlisted\ndl memos visibility \"$MEMO\" public\ndl memos visibility \"$MEMO\" private",
|
|
141
|
+
"memos share revoke": "MEMO=\"release-plan\" # Your existing memo id or slug.\ndl memos share revoke \"$MEMO\" --revoke-accepted",
|
|
142
|
+
"memos share access": "MEMO=\"release-plan\" # Your existing memo id or slug.\n# List acceptance records and stored roles as a readable table.\ndl memos share access \"$MEMO\"",
|
|
143
|
+
"memos share remove": "MEMO=\"release-plan\" # Your existing memo id or slug.\nUSER_ID=\"user-id-from-access-list\"\ndl memos share remove \"$MEMO\" \"$USER_ID\"",
|
|
144
|
+
"memos permalink": "dl memos permalink <memo-id> --namespace <namespace> --json\ndl memos permalink <memo-id> --namespace <namespace> --slug my-article --json",
|
|
145
|
+
"memos suggest-diff": "# Review a change as a new private note.\ndl memos suggest-diff before.md after.md --user \"Docs review\" \\\n | dl memos create \"Redline: release plan\" --file -\n# Propose edits inside the note itself; refuses changes it cannot express.\ndl memos suggest-diff current.md edited.md --in-place --user \"$DREAMLAKE_AGENT_NAME\" > proposal.md\n# Count insertions, deletions, replacements and changed code blocks.\ndl memos suggest-diff before.md after.md --json | jq .stats",
|
|
146
|
+
"memos transfer": "dl memos transfer MEMO_ID --namespace alice --to acme \\\n --dry-run --out note-transfer.json\n# Submit the exact reviewed file; the authorized destination member accepts separately.\ndl memos transfer MEMO_ID --namespace alice --to acme \\\n --confirm --request-file note-transfer.json\n# If you also have destination acceptance authority:\ndl memos transfer MEMO_ID --namespace alice --to acme \\\n --confirm --request-file note-transfer.json --accept-if-authorized --wait",
|
|
147
|
+
"memos tag": "# Save the current content on the existing Memo.\ndl memos tag MEMO_ID end-of-day --namespace my-org --summary \"Reviewed today's actions\"\n# Require the hash retained from a reviewed full read (not its opaque revision).\ndl memos tag MEMO_ID reviewed --hash sha256:CONTENT_HASH --json\n# Connect this checkpoint to an earlier version in the same Memo.\ndl memos tag MEMO_ID next-checkpoint --parent VERSION_ID\n# Read and validate without creating a version.\ndl memos tag MEMO_ID preview --dry-run --json",
|
|
148
|
+
"memos hist": "dl memos hist MEMO_ID --namespace my-org --json\n# Continue with nextCursor returned by the previous page.\ndl memos hist MEMO_ID --before VERSION_ID --json",
|
|
149
|
+
"ownership transfer": "dl ownership transfer artifact ARTIFACT_ID --namespace alice --to acme \\\n --dry-run --out artifact-transfer.json\n# Review the full access inventory and blockers, then submit that exact file.\ndl ownership transfer artifact ARTIFACT_ID --namespace alice --to acme \\\n --confirm --request-file artifact-transfer.json --accept-if-authorized --wait\n# Scene resources use the canonical env adapter, only if advertised and enabled.\ndl ownership transfer scene SCENE_ID --namespace alice --to acme --dry-run\n# Pipeline requires the separately advertised metadata adapter.\ndl ownership transfer pipeline PIPELINE_ID --namespace alice --to acme \\\n --dry-run --out pipeline-transfer.json\n# Source requires its own enabled metadata-only capability.\ndl ownership transfer source SOURCE_ID --namespace alice --to acme \\\n --dry-run --out source-transfer.json",
|
|
150
|
+
"ownership capabilities": "dl ownership capabilities --namespace acme",
|
|
151
|
+
"ownership list": "dl ownership list --namespace acme --direction incoming\ndl ownership list --namespace acme --direction outgoing",
|
|
152
|
+
"ownership preview": "dl ownership preview request.json --namespace acme",
|
|
153
|
+
"ownership create": "dl ownership create reviewed-request.json --namespace acme",
|
|
154
|
+
"ownership status": "dl ownership status 000000000000000000000001 --namespace acme",
|
|
155
|
+
"ownership accept": "dl ownership accept 000000000000000000000001 --namespace acme",
|
|
156
|
+
"ownership reject": "dl ownership reject 000000000000000000000001 --namespace acme",
|
|
157
|
+
"ownership cancel": "dl ownership cancel 000000000000000000000001 --namespace acme",
|
|
158
|
+
"ownership inspect": "dl ownership inspect <resource-id> --type project --namespace acme",
|
|
159
|
+
"ownership manifest": "dl ownership manifest <resource-id> --type source --namespace acme",
|
|
160
|
+
"ownership restore": "dl ownership restore <resource-id> --type project --namespace acme",
|
|
161
|
+
"project transfer-preview": "dl project transfer-preview dreamlake --namespace geyang --to-namespace fortyfive\n# Explicitly include only reviewed Notes already filed in this project.\ndl project transfer-preview dreamlake --namespace geyang --to-namespace fortyfive --include-note MEMO_ID --json",
|
|
162
|
+
"ownership snapshot": "dl ownership snapshot 000000000000000000000001 --namespace acme",
|
|
163
|
+
"ownership snapshot-cleanup": "# Inspect eligibility without deleting anything (the default).\ndl ownership snapshot-cleanup 000000000000000000000001 --namespace acme\n# Delete only after server retention and recovery checks pass.\ndl ownership snapshot-cleanup 000000000000000000000001 --namespace acme --execute",
|
|
164
|
+
"project move": "# Save a read-only streaming review with its stable request/key.\ndl project move research --namespace personal --to acme --dry-run --out project-move-review.json\n# Confirm that exact saved review; the recipient must accept separately.\ndl project move research --namespace personal --to acme --confirm --request-file project-move-review.json\n# Accept only with verified destination namespace authority, then wait a bounded time.\ndl project move research --namespace personal --to acme --confirm --request-file project-move-review.json --accept-if-authorized --wait",
|
|
165
|
+
"create bindr": "# Seed a Bindr with matching episodes without an interactive prompt.\ndl create bindr front-cam --project my-robots --episode \"camera/front/*\" --yes",
|
|
166
|
+
"project inspect": "dl project inspect research --namespace acme",
|
|
167
|
+
"project grants": "dl project grants research --namespace acme",
|
|
168
|
+
"project grant": "dl project grant research --namespace acme --user teammate --role WRITE\ndl project grant research --namespace acme --team TEAM_ID --role READ",
|
|
169
|
+
"project revoke": "dl project grants research --namespace acme\ndl project revoke research GRANT_ID --namespace acme",
|
|
170
|
+
"project attach": "dl project attach research --namespace acme --type note --resource \"$MEMO_ID\"",
|
|
171
|
+
"project detach": "dl project detach research --namespace acme --type note --resource \"$MEMO_ID\"",
|
|
172
|
+
"provider create": "dl provider create -n aws-demo --provider aws-jump-worker --json\n# Read the generated AGENT.md and terraform/ENROLLMENT.md.\n# Fill terraform/terraform.tfvars.json and terraform/backend.json explicitly.\ndl provider create -n aws-demo --continue --json",
|
|
173
|
+
"provider plan": "# Requires the selected backend and authorized AWS read access.\ndl provider plan -n aws-demo --json",
|
|
174
|
+
"provider machine": "dl provider machine status -n aws-dev --account 123456789012 --json\ndl provider machine start -n aws-dev --account 123456789012 --yes\ndl provider machine terminal -n aws-dev --account 123456789012\ndl provider machine stop -n aws-dev --account 123456789012 --yes",
|
|
175
|
+
"providers launch-server": "dl providers launch-server team/0123456789abcdef01234567 \\\n --enrollment 1123456789abcdef01234567 \\\n --role-arn arn:aws:iam::123456789012:role/user-launch \\\n --region us-east-1 --revision 2 --request-id bind-launch-server-01 --json",
|
|
176
|
+
"providers instances launch": "dl providers instances launch team/333333333333333333333333 --service-account 0123456789abcdef01234567 --host-name team/dev/worker --unix-user dreamlake-agent --request-id worker-01 --json",
|
|
177
|
+
"providers nodes": "dl providers nodes team/333333333333333333333333 --json",
|
|
178
|
+
"providers instances logs": "dl providers instances logs team/333333333333333333333333 --instance POD_NAME --tail 100 --json",
|
|
179
|
+
"providers instances terminate": "dl providers instances terminate team/333333333333333333333333 --instance POD_NAME --request-id kube-delete-01 --json",
|
|
180
|
+
"queues worker-claims": "dl queues worker-claims lab WORKER_ID --namespace geyang\ndl queues worker-claims lab WORKER_ID --namespace geyang --disable\ndl queues worker-claims lab WORKER_ID --namespace geyang --enable --json",
|
|
181
|
+
"queues create": "dl queues create lab fixture --namespace geyang",
|
|
182
|
+
"queues worker-pin": "dl queues worker-pin lab WORKER_ID --namespace geyang\ndl queues worker-pin lab WORKER_ID --namespace geyang --queue fixture --host geyang/dev/worker\ndl queues worker-pin lab WORKER_ID --namespace geyang --clear --host geyang/dev/worker --json",
|
|
183
|
+
"queues slurm clusters": "dl queues slurm clusters --namespace geyang",
|
|
184
|
+
"queues slurm jobs": "dl queues slurm jobs CLUSTER_ID --namespace geyang\ndl queues slurm jobs CLUSTER_ID --namespace geyang --details\ndl queues slurm jobs CLUSTER_ID --namespace geyang --json",
|
|
185
|
+
"runnable run": "dl runnable run udf/NAMESPACE/NAME@FULL_SHA256 \\\n --target NAMESPACE/GROUP/HOST --enrollment-id ENROLLMENT_ID \\\n --request-id YOUR_STABLE_REQUEST_ID --inputs inputs.json --json",
|
|
186
|
+
"runnable receipt": "dl runnable receipt NAMESPACE/RUN_ID --json",
|
|
187
|
+
"runnable register": "dl runnable register .dreamrc --dry-run\ndl runnable register .dreamrc --namespace acme",
|
|
188
|
+
"scene push": "dl scene push ./cartpole # name defaults to the dir name\ndl scene push ./scenes/cassie \\\n --name cassie --entry scene.mjcf \\\n --title \"Agility Cassie\" --visibility public\n# A composed scene whose stack still references local layers is refused —\n# push the layers as scenes first, or push anyway with marked provenance.\ndl scene push ./kitchen-g1 --push-layers\ndl scene push ./kitchen-g1 --allow-local",
|
|
189
|
+
"scene compose": "dl scene compose # stack: ./dreamlake.layers.json\ndl scene compose ./kitchen-g1/dreamlake.layers.json -o ./composed\ndl scene compose --force # write into a non-empty out dir",
|
|
190
|
+
"service-accounts": "dl service-accounts create my-team --name dreamfs-worker --description \"DreamFS development daemon\"\ndl service-accounts list my-team\ndl service-accounts show my-team/0123456789abcdef01234567",
|
|
191
|
+
"service-accounts create": "dl service-accounts create my-team --name dreamfs-worker --description \"DreamFS development daemon\"",
|
|
192
|
+
"service-accounts list": "dl service-accounts list my-team --page 1 --page-size 50 --json",
|
|
193
|
+
"service-accounts show": "dl service-accounts show my-team/0123456789abcdef01234567 --json",
|
|
194
|
+
"service-accounts project-grants": "dl service-accounts project-grants set my-team/0123456789abcdef01234567 --project 111111111111111111111111 --role READ\ndl service-accounts project-grants remove my-team/0123456789abcdef01234567 --project 111111111111111111111111",
|
|
195
|
+
"service-accounts project-grants set": "dl service-accounts project-grants set my-team/0123456789abcdef01234567 --project 111111111111111111111111 --role READ",
|
|
196
|
+
"service-accounts project-grants remove": "dl service-accounts project-grants remove my-team/0123456789abcdef01234567 --project 111111111111111111111111",
|
|
197
|
+
"service-accounts host-grants": "dl service-accounts host-grants set my-team/0123456789abcdef01234567 --host 222222222222222222222222 --read --use\ndl service-accounts host-grants remove my-team/0123456789abcdef01234567 --host 222222222222222222222222",
|
|
198
|
+
"service-accounts host-grants set": "dl service-accounts host-grants set my-team/0123456789abcdef01234567 --host 222222222222222222222222 --read --use",
|
|
199
|
+
"service-accounts host-grants remove": "dl service-accounts host-grants remove my-team/0123456789abcdef01234567 --host 222222222222222222222222",
|
|
200
|
+
"service-accounts bind": "dl service-accounts bind my-team/0123456789abcdef01234567 --enrollment 444444444444444444444444",
|
|
201
|
+
"service-accounts revoke": "dl service-accounts revoke my-team/0123456789abcdef01234567",
|
|
202
|
+
"sessions visibility": "dl sessions visibility <saved-id> --namespace <personal-namespace> --visibility private",
|
|
203
|
+
"sessions register": "dl sessions register --provider codex --session <native-uuid> --cwd /absolute/repository --json\n# Explicit private override for a new registration:\ndl sessions register --provider claude --session <native-uuid> --cwd /absolute/repository --visibility private --json\n# From inside a Claude Code session: register it, print the saved ID and the control send recipe,\n# and write an env file other shells can source so their note/artifact writes link to it:\ndl sessions register --provider claude --session \"${CLAUDE_SESSION_ID:-$CLAUDE_CODE_SESSION_ID}\" --cwd \"$PWD\" --visibility private --write-env \"$HOME/.dreamlake/sessions/current.env\"",
|
|
204
|
+
"claude": "# Interactive Claude Code, registered private before it starts, acceptEdits (workspace-write):\ndl claude\n# One headless turn at plan level; everything after the wrapper's flags goes to claude unchanged:\ndl claude --permission read-only -p \"Summarize the open PRs\" --model opus",
|
|
205
|
+
"codex": "dl codex --permission full-access \"Fix the failing test\"",
|
|
206
|
+
"sessions link": "dl sessions link SESSION_ID --namespace geyang \\\n --resource-namespace fortyfive --note MEMO_ID --json\ndl sessions link SESSION_ID --namespace geyang \\\n --resource-namespace fortyfive --artifact loss-plot --json",
|
|
207
|
+
"sessions unlink": "dl sessions unlink SESSION_ID --namespace geyang \\\n --resource-namespace fortyfive --artifact loss-plot --json",
|
|
208
|
+
"sessions resources": "dl sessions resources SESSION_ID --namespace geyang --page-size 25 --json",
|
|
209
|
+
"sessions": "dl sessions targets --namespace geyang\ndl sessions list --namespace geyang",
|
|
210
|
+
"sessions targets": "dl sessions targets --namespace geyang --json",
|
|
211
|
+
"sessions resume": "dl sessions resume 01a13cbc-d4a7-7893-81cc-39696769c454 \\\n --namespace geyang --target TARGET_ID \\\n --cwd /home/ubuntu/workspace-3",
|
|
212
|
+
"sessions create": "dl sessions create --namespace geyang \\\n --target TARGET_ID \\\n --cwd /home/ubuntu/workspace-3 \\\n --codex-session 01a13cbc-d4a7-7893-81cc-39696769c454 \\\n --name 'Workspace 3' --json",
|
|
213
|
+
"sessions list": "dl sessions list --namespace geyang --json",
|
|
214
|
+
"sessions show": "dl sessions show SESSION_ID --namespace geyang --json",
|
|
215
|
+
"sessions open": "dl sessions open SESSION_ID --namespace geyang",
|
|
216
|
+
"sessions status": "dl sessions status SESSION_ID --namespace geyang --json",
|
|
217
|
+
"sessions start": "dl sessions start SESSION_ID --namespace geyang --json",
|
|
218
|
+
"sessions reconnect": "dl sessions reconnect SESSION_ID --namespace geyang",
|
|
219
|
+
"sessions stop": "dl sessions stop SESSION_ID --namespace geyang --yes --json",
|
|
220
|
+
"sessions sync": "dl sessions sync --namespace geyang --target TARGET_ID --json\ndl sessions sync --namespace geyang --all --json",
|
|
221
|
+
"sessions upload-conversation": "dl sessions upload-conversation SESSION_ID --namespace geyang \\\n --file /absolute/path/to/conversation.jsonl --json",
|
|
222
|
+
"sessions serve": "dl sessions serve\n# Handle one command and exit (useful in scripts and tests):\ndl sessions serve --once --json\n# Let a person raise sessions on this runner up to full access (control restart --raise):\ndl sessions serve --max-human-permission full-access",
|
|
223
|
+
"sessions runners": "dl sessions runners",
|
|
224
|
+
"sessions control start": "dl sessions control start --provider claude --repo /abs/repo --isolation worktree --branch feat/x --permission workspace-write --prompt \"Run the tests and report\" --name \"Test runner\"\n# Reuse the checkout as is, headless:\ndl sessions control start --provider codex --repo /abs/repo --isolation repo --permission read-only --mode headless --prompt \"Summarize open TODOs\"",
|
|
225
|
+
"sessions control send": "dl sessions control send <session-id> \"Please rebase on main and rerun CI\"\n# A turn under a lower ceiling than the recorded level, for this turn only:\ndl sessions control send <session-id> \"Summarize your state\" --permission read-only\n# A session registered without a level (sessions register, dl claude) is refused until one is recorded:\ndl sessions control restart <session-id> --permission workspace-write --raise",
|
|
226
|
+
"sessions control broadcast": "dl sessions control broadcast \"Stop and summarize your state\" --session <id-1> <id-2>",
|
|
227
|
+
"sessions control resume": "dl sessions control resume <session-id> --prompt \"Continue\"",
|
|
228
|
+
"sessions control restart": "# Lower a session to read-only and continue the same conversation:\ndl sessions control restart <session-id> --permission read-only\n# Raising is the person's explicit ask; the runner must have been started with --max-human-permission:\ndl sessions control restart <session-id> --permission full-access --raise --reason \"needs to run the deploy\"",
|
|
229
|
+
"sessions permission": "dl sessions permission <session-id> read-only --reason \"review only\"",
|
|
230
|
+
"sessions control stop": "dl sessions control stop <session-id> --yes",
|
|
231
|
+
"sessions control status": "dl sessions control status <session-id>\ndl sessions control sync <session-id>\ndl sessions control subagents <session-id>",
|
|
232
|
+
"sessions control list": "dl sessions control list --session <session-id>\ndl sessions control wait <command-id> --wait 120\ndl sessions control cancel <command-id>",
|
|
233
|
+
"sessions heartbeat": "# From a Claude Code hook (settings.json): the hook JSON on stdin names the session and the tool.\ndl sessions heartbeat --state running --hook-stdin\n# From a script or another relay, for an explicit saved session:\ndl sessions heartbeat --session <session-id> --state waiting-for-user --tool Bash",
|
|
234
|
+
"sessions event": "dl sessions event --kind SubagentStart --hook-stdin\ndl sessions event --session <session-id> --kind SubagentStop --subagent agent-abc --finished --tokens 1200",
|
|
235
|
+
"sessions tree": "dl sessions tree <session-id>",
|
|
236
|
+
"sessions watch": "# One session, readable lines:\ndl sessions watch --session <session-id>\n# Everything in the namespace, one JSON frame per line:\ndl sessions watch --json",
|
|
237
|
+
"sessions archive": "dl sessions rename <session-id> \"Flaky test hunt\"\ndl sessions archive <session-id>\ndl sessions unarchive <session-id>",
|
|
238
|
+
"sessions chat": "dl sessions chat \"Which of my sessions need attention?\"\n# Allow lifecycle and messaging tools this turn:\ndl sessions chat --control \"Send 'rebase on main' to the two Claude sessions working on notes\"",
|
|
239
|
+
"sessions tool-calls": "dl sessions tool-calls <conversation-id>",
|
|
240
|
+
"dreamlake": "# Guided agent setup: choose agent and scope, install dreamlake-cli offline\ndl init\n# Install more skills from the public release\ndl skill install dreamlake-memos\n# Keep installed skills current\ndl skill update",
|
|
241
|
+
"init": "dl init\ndl init --agent codex\ndl init --agent claude --global\n# Claude Code and Codex: one copy in each agent's directory\ndl init --agent all --global",
|
|
242
|
+
"skill": "dl skill list\ndl skill read dreamlake-memos\ndl skill install dreamlake-memos\ndl skill update\ndl skill remove dreamlake-memos",
|
|
243
|
+
"skill list": "# The server's registry when logged in, else the embedded snapshot\ndl skill list\n# Choose the source; --local never uses the network\ndl skill list --local\ndl skill list --remote\n# Fetch the latest catalog and show it next to the installed versions\ndl skill list --refresh\ndl skill list --agent codex --json",
|
|
244
|
+
"skill read": "# SKILL.md, from the server's registry when logged in, else the embedded bundle\ndl skill read dreamlake-memos\n# One file inside the skill\ndl skill read dreamlake-memos --file actions/read.md\n# Choose the source; --json carries the same fields as the agent's dreamlake_skills_read\ndl skill read dreamlake-cli --local --json\ndl skill read dreamlake-scenes --remote",
|
|
245
|
+
"skill install": "# The embedded dreamlake-cli skill; offline when it matches the release\ndl skill install dreamlake-cli\n# A catalog skill plus whatever it requires, from the latest release\ndl skill install dreamlake-memos --agent codex\n# One copy for Claude Code and one for Codex\ndl skill install dreamlake-memos --agent all --global\n# Replace files you edited with the release copies\ndl skill install dreamlake-memos --force",
|
|
246
|
+
"skill update": "# Every skill with a manifest in the selected scope\ndl skill update\ndl skill update dreamlake-cli --global\n# Overwrite edited files; retired files you edited are still kept\ndl skill update dreamlake-memos --force\n# Go back to an older release, or replace a copy whose version cannot be ordered\ndl skill update dreamlake-memos --allow-downgrade",
|
|
247
|
+
"skill remove": "dl skill remove dreamlake-memos\ndl skill remove dreamlake-memos --agent codex --global --json",
|
|
248
|
+
"vault cloud import": "# No --file: list standard candidate paths without opening their contents.\ndl vault cloud import --provider aws -p alice/aws/dev\n# Explicit selections: preview names, sizes and profile metadata, without upload.\ndl vault cloud import --provider aws -p alice/aws/dev \\\n --file \"$HOME/.aws/config\" --file \"$HOME/.aws/credentials\"\n# Repeat the selection with --apply to upload.\ndl vault cloud import --provider aws -p alice/aws/dev \\\n --file \"$HOME/.aws/config\" --file \"$HOME/.aws/credentials\" --apply\ndl vault cloud import --provider gcp -p alice/gcp/dev \\\n --file /private/config/service-account.json --apply",
|
|
249
|
+
"vault cloud restore": "# Preview checks metadata and destination without retrieving the secret.\ndl vault cloud restore -n alice/aws/dev/credentials \\\n --to '~/.aws/credentials'\n# Write only after explicit --apply; existing files additionally need --overwrite.\ndl vault cloud restore -n alice/aws/dev/credentials \\\n --to '~/.aws/credentials' --apply",
|
|
250
|
+
"vault add": "# Keep a 90-day registry token for exactly as long as the registry honors it.\npbpaste | dl vault add -p alice -n cli/npm/access-token --stdin --expires-in 90d --env NPM_TOKEN\n# An exact UTC timestamp works the same way.\npbpaste | dl vault add -p alice -n cli/npm/access-token --stdin --expires-at 2027-01-24T00:00:00Z\n# Replace a value and clear its expiry, pinning the current revision.\npbpaste | dl vault add -p alice -n cli/npm/access-token --stdin --if-match 2 --no-expiry",
|
|
251
|
+
"vault list": "# Interactive on a terminal; JSON when piped or redirected.\ndl vault list -p alice\n# Always emit metadata JSON.\ndl vault list -p alice --to-json",
|
|
252
|
+
"vault delete": "# Use a disposable entry and its current metadata revision.\ndl vault --scope org:000000000000000000000001 delete \\\n --name acme/test-entry --if-match 1",
|
|
253
|
+
"vault terraform backend": "chmod 600 ./backend-reference.json\ndl vault terraform backend --file ./backend-reference.json --name alice/terraform/aws-demo\n# Upload only after explicitly selecting the file and destination.\ndl vault terraform backend --file ./backend-reference.json --name alice/terraform/aws-demo --apply --request-id aws-demo-backend-001",
|
|
254
|
+
"vault terraform backup": "dl vault terraform backup --file /private/aws-demo.snapshot.json --prefix alice/terraform/backups\n# This is an explicit upload of this selected sensitive file.\ndl vault terraform backup --file /private/aws-demo.snapshot.json --prefix alice/terraform/backups --apply --request-id aws-demo-snapshot-001",
|
|
255
|
+
"vault terraform restore": "dl vault terraform restore --name alice/terraform/backups/state-SHA256 --if-match 1 --current-state /private/current.snapshot.json --to /private/recovery/candidate.snapshot.json\n# Explicitly write the verified candidate into a new file.\ndl vault terraform restore --name alice/terraform/backups/state-SHA256 --if-match 1 --current-state /private/current.snapshot.json --to /private/recovery/candidate.snapshot.json --apply"
|
|
256
256
|
};
|