@dreamlake/dreamlake-cli 0.105.1 → 0.107.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
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": "dreamlake 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 Note/folder IDs; references remain live and are authorized per caller.\ndreamlake agents create researcher --instruction-note \"$MAIN_NOTE_ID\" \\\n --skill-note \"$SKILL_NOTE_ID\" --skill-folder \"$SKILLS_FOLDER_ID\" \\\n --project dreamlake --namespace fortyfive",
3
+ "agents create": "dreamlake 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.\ndreamlake 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
4
  "agents list": "dreamlake agents list --namespace my-workspace\n# Stable text, even in a terminal; redirected output also defaults to text.\ndreamlake agents list --namespace my-workspace --plain\n# Prefixes match the beginning of a scoped agent name or registry ID.\ndreamlake agents list --prefix my_repo. --project research",
5
5
  "agents show": "dreamlake agents show my_repo.tri --namespace my-workspace",
6
6
  "agents edit": "dreamlake agents edit my_repo.tri --namespace my-workspace\n# Browser form: follow the localhost URL printed by the command.\ndreamlake agents edit my_repo.tri --namespace my-workspace --web",
@@ -15,6 +15,7 @@ export const helpExamples = {
15
15
  "runnable execution-receipt": "dreamlake runnable execution-receipt exec/acme/recipes.process@EXECUTION_DIGEST \\\n --queue cpu --inputs record.json --timeout-seconds 600 --wait-seconds 30",
16
16
  "hosts": "dreamlake hosts\ndreamlake hosts --all\ndreamlake hosts -h\ndreamlake hosts list -h",
17
17
  "su": "dreamlake su fortyfive\ndreamlake hosts list\ndreamlake hosts list --namespace geyang\ndreamlake su geyang",
18
+ "logout": "dreamlake logout --env staging",
18
19
  "nymph": "dreamlake nymph\ndreamlake nymph --json",
19
20
  "nymph setup": "dreamlake nymph setup --name alice/computers/laptop --lakeshore-id CONNECTION_ID",
20
21
  "nymph config": "dreamlake nymph config --name alice/computers/laptop",
@@ -31,6 +32,16 @@ export const helpExamples = {
31
32
  "experiments runs delete": "dreamlake experiments runs delete \"$RUN_ID\" --namespace fortyfive --project research",
32
33
  "experiments runs trash list": "dreamlake experiments runs trash list --namespace fortyfive --project research",
33
34
  "experiments runs trash restore": "dreamlake experiments runs trash restore \"$RUN_ID\" --namespace fortyfive --project research",
35
+ "experiments runs show": "dreamlake experiments runs show \"$RUN_ID\" --namespace fortyfive --project research",
36
+ "experiments runs status": "dreamlake experiments runs status \"$RUN_ID\" COMPLETED --namespace fortyfive --project research",
37
+ "experiments runs params set": "echo '{\"lr\": 0.001, \"batch\": 64}' | dreamlake experiments runs params set \"$RUN_ID\" --data - --namespace fortyfive --project research",
38
+ "experiments runs metrics append": "dreamlake experiments runs metrics append \"$RUN_ID\" train.loss --data points.json --namespace fortyfive --project research",
39
+ "experiments runs metrics rows": "dreamlake experiments runs metrics rows \"$RUN_ID\" train.loss --limit 1000 --namespace fortyfive --project research",
40
+ "experiments runs logs read": "dreamlake experiments runs logs read \"$RUN_ID\" --level warn,error --search timeout --namespace fortyfive --project research",
41
+ "experiments runs files upload": "dreamlake experiments runs files upload \"$RUN_ID\" ./model.pt --prefix /checkpoints --tags best --namespace fortyfive --project research",
42
+ "experiments runs files download": "dreamlake experiments runs files download \"$RUN_ID\" \"$FILE_ID\" --out ./model.pt --namespace fortyfive --project research",
43
+ "experiments runs tracks append": "dreamlake experiments runs tracks append \"$RUN_ID\" robot/position --data entries.json --namespace fortyfive --project research",
44
+ "experiments runs tracks read": "dreamlake experiments runs tracks read \"$RUN_ID\" robot/position --format mcap --out position.mcap --namespace fortyfive --project research",
34
45
  "experiments workspaces": "dreamlake experiments workspaces --namespace fortyfive --json",
35
46
  "experiments binding": "dreamlake experiments binding --namespace fortyfive --json",
36
47
  "experiments connect": "dreamlake experiments connect research --namespace fortyfive --json\n# Apply only after reviewing the preview. Use its actual revision, not this example's 0.\ndreamlake experiments connect \"$DASH_NAMESPACE_ID\" --namespace fortyfive --instance-id \"$DASH_INSTANCE_ID\" --apply --expected-revision 0 --json",
@@ -73,6 +84,8 @@ export const helpExamples = {
73
84
  "jobs report": "dreamlake jobs report 89abcdef0123456789abcdef --namespace geyang --state running\ndreamlake jobs report 89abcdef0123456789abcdef --namespace geyang \\\n --state succeeded --exit-code 0\ndreamlake jobs report fedcba9876543210fedcba98 --namespace geyang \\\n --state failed --exit-code 7 --message 'Training process exited with an error'",
74
85
  "jobs list": "dreamlake jobs list --namespace geyang\ndreamlake jobs list --namespace geyang --host 0123456789abcdef01234567 --state running\ndreamlake jobs list --namespace geyang --page 2 --page-size 50 --json",
75
86
  "jobs status": "dreamlake jobs status 89abcdef0123456789abcdef --namespace geyang\ndreamlake jobs status 89abcdef0123456789abcdef --namespace geyang --json",
87
+ "lakeshore connect": "# Prompts for a Lakeshore token without displaying it.\ndreamlake lakeshore connect --name lab --server https://lakeshore.example.com \\\n --namespace my-team --lakeshore-namespace training --access management",
88
+ "lakeshore": "dreamlake lakeshore list --namespace my-team\ndreamlake lakeshore show lab --namespace my-team\ndreamlake lakeshore test lab --namespace my-team\ndreamlake queues list lab --namespace my-team",
76
89
  "layout pages": "# Use the endpoint of your explicitly enabled local debugging session.\ndreamlake layout pages --cdp http://127.0.0.1:9222",
77
90
  "layout list": "dreamlake layout list --cdp http://127.0.0.1:9222 --page PAGE_ID",
78
91
  "layout inspect": "dreamlake layout inspect --cdp http://127.0.0.1:9222 --page PAGE_ID --layout LAYOUT_ID",
@@ -80,46 +93,46 @@ export const helpExamples = {
80
93
  "layout apply": "dreamlake layout apply request.json --cdp http://127.0.0.1:9222 --page PAGE_ID --layout LAYOUT_ID",
81
94
  "machine": "dreamlake machine self\ndreamlake machine host 0123456789abcdef01234567\ndreamlake machine project 0123456789abcdef01234567",
82
95
  "auth identity": "dreamlake auth identity\ndreamlake --identity machine profile\ndreamlake --identity user profile",
83
- "memos archive": "dreamlake memos archive NOTE_ID --json\n# With a slug or exact title, select its owning namespace.\ndreamlake memos archive release-plan --namespace acme",
84
- "memos unarchive": "dreamlake memos unarchive NOTE_ID --json\n# Archived titles and slugs remain resolvable.\ndreamlake memos unarchive release-plan --namespace acme",
96
+ "memos archive": "dreamlake memos archive MEMO_ID --json\n# With a slug or exact title, select its owning namespace.\ndreamlake memos archive release-plan --namespace acme",
97
+ "memos unarchive": "dreamlake memos unarchive MEMO_ID --json\n# Archived titles and slugs remain resolvable.\ndreamlake memos unarchive release-plan --namespace acme",
85
98
  "folders list": "# List immediate contents at a project root or inside a folder.\ndreamlake folders list --project project-slug --namespace acme --include-archived --json\ndreamlake folders list --parent-id FOLDER_ID --include-archived --page 1 --page-size 50",
86
99
  "folders archive": "dreamlake folders archive FOLDER_ID --json",
87
100
  "folders unarchive": "dreamlake folders unarchive FOLDER_ID --json",
88
101
  "memos files list": "dreamlake memos files list --note release-plan\ndreamlake memos files list 'assets/*.png' --note release-plan --limit 50\ndreamlake memos files list --note release-plan --json",
89
102
  "memos media upload": "dreamlake memos media upload ./diagram.png\nIMAGE_URL=$(dreamlake memos media upload ./diagram.png)",
90
- "memos files write": "dreamlake memos files write config.json --text '{\"enabled\":true}' --note \"$NOTE_ID\" --idempotency-key config-initial-1",
91
- "memos files cp": "dreamlake memos files cp config.json config-copy.json --note \"$NOTE_ID\" --idempotency-key config-copy-1",
92
- "memos files status": "# OPERATION_ID is the ID from the original response.\ndreamlake memos files status \"$OPERATION_ID\" --note \"$NOTE_ID\" --json",
93
- "memos files reconcile": "dreamlake memos files reconcile \"$OPERATION_ID\" --note \"$NOTE_ID\" --json",
94
- "memos files cancel": "dreamlake memos files cancel \"$OPERATION_ID\" --note \"$NOTE_ID\" --json",
95
- "memos visit": "# Reuse the task's DREAMLAKE_AGENT_ID and DREAMLAKE_AGENT_NAME.\nNOTE_ID=release-plan\ndreamlake memos visit \"$NOTE_ID\"",
96
- "memos presence": "# Read the participant roster without joining. Text is the default.\nNOTE_ID=release-plan\ndreamlake memos presence \"$NOTE_ID\"",
97
- "memos select": "export DREAMLAKE_AGENT_ID=\"review-session-42\"\nexport DREAMLAKE_AGENT_NAME=\"Codex\"\nNOTE_ID=\"your-note-id\"\ndreamlake memos select --text \"The next step is tested in simulation.\" --note \"$NOTE_ID\"\n# Select the last occurrence of a repeated passage.\ndreamlake memos select --text \"simulation\" --note \"$NOTE_ID\" -o -1",
103
+ "memos files write": "dreamlake memos files write config.json --text '{\"enabled\":true}' --note \"$MEMO_ID\" --idempotency-key config-initial-1",
104
+ "memos files cp": "dreamlake memos files cp config.json config-copy.json --note \"$MEMO_ID\" --idempotency-key config-copy-1",
105
+ "memos files status": "# OPERATION_ID is the ID from the original response.\ndreamlake memos files status \"$OPERATION_ID\" --note \"$MEMO_ID\" --json",
106
+ "memos files reconcile": "dreamlake memos files reconcile \"$OPERATION_ID\" --note \"$MEMO_ID\" --json",
107
+ "memos files cancel": "dreamlake memos files cancel \"$OPERATION_ID\" --note \"$MEMO_ID\" --json",
108
+ "memos visit": "# Reuse the task's DREAMLAKE_AGENT_ID and DREAMLAKE_AGENT_NAME.\nMEMO_ID=release-plan\ndreamlake memos visit \"$MEMO_ID\"",
109
+ "memos presence": "# Read the participant roster without joining. Text is the default.\nMEMO_ID=release-plan\ndreamlake memos presence \"$MEMO_ID\"",
110
+ "memos select": "export DREAMLAKE_AGENT_ID=\"review-session-42\"\nexport DREAMLAKE_AGENT_NAME=\"Codex\"\nMEMO_ID=\"your-note-id\"\ndreamlake memos select --text \"The next step is tested in simulation.\" --note \"$MEMO_ID\"\n# Select the last occurrence of a repeated passage.\ndreamlake memos select --text \"simulation\" --note \"$MEMO_ID\" -o -1",
98
111
  "memos contributors": "dreamlake memos contributors release-plan --namespace geyang --json\n# If hasMore is true, continue with the returned nextCursor:\ndreamlake memos contributors release-plan --namespace geyang --cursor LINK_CURSOR --json",
99
- "memos rm": "# Read it first and confirm it is the note you mean.\ndreamlake memos read NOTE_ID\n# Asks for confirmation, showing the title and owning namespace.\ndreamlake memos rm NOTE_ID\n# Scripts and agents: skip the prompt and take a JSON receipt.\ndreamlake memos rm NOTE_ID --yes --json\n# Afterwards a read reports not found.\ndreamlake memos read NOTE_ID",
100
- "memos patch": "set -euo pipefail\ndreamlake memos create \"Patch tutorial\" --text 'Hello world.' > created.txt\nNOTE_ID=$(sed -n 's/^ id //p' created.txt)\ndreamlake memos read \"$NOTE_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)\ndreamlake memos patch \"$NOTE_ID\" --file - --base-revision \"$BASE\" --json > receipt.json <<'PATCH'\n@@ chars 0:12 @@\n~ Hello [-world-]{+team+}.\nPATCH\nACK=$(jq -er .revision receipt.json)\ndreamlake memos read \"$NOTE_ID\" --if-match \"$ACK\"\n# Expect Hello team. Inspect the result; do not repeat a successful patch.",
101
- "memos append": "dreamlake memos append \"$NOTE_ID\" --file addition.md --base-revision \"$BASE\" --json\n# ACK is the revision in the successful append receipt.\ndreamlake memos read \"$NOTE_ID\" --at \"$ACK\"",
102
- "memos insert": "dreamlake memos insert --note \"$NOTE_ID\" --ind 0 --text 'Review: ' \\\n --base-revision \"$BASE\" --json\n# ACK is the revision returned by the insertion receipt.\ndreamlake memos read \"$NOTE_ID\" --at \"$ACK\"",
103
- "memos delete": "dreamlake memos delete 'obsolete paragraph' --note \"$NOTE_ID\" \\\n --base-revision \"$BASE\" --json\n# Pin verification to the receipt's acknowledged revision.\ndreamlake memos read \"$NOTE_ID\" --at \"$ACK\"",
104
- "memos write": "dreamlake memos read \"$NOTE_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.\ndreamlake memos write \"$NOTE_ID\" --file draft.md --base-revision \"$BASE\" --json\n# ACK is the successful write receipt's revision.\ndreamlake memos read \"$NOTE_ID\" --at \"$ACK\"",
112
+ "memos rm": "# Read it first and confirm it is the note you mean.\ndreamlake memos read MEMO_ID\n# Asks for confirmation, showing the title and owning namespace.\ndreamlake memos rm MEMO_ID\n# Scripts and agents: skip the prompt and take a JSON receipt.\ndreamlake memos rm MEMO_ID --yes --json\n# Afterwards a read reports not found.\ndreamlake memos read MEMO_ID",
113
+ "memos patch": "set -euo pipefail\ndreamlake memos create \"Patch tutorial\" --text 'Hello world.' > created.txt\nMEMO_ID=$(sed -n 's/^ id //p' created.txt)\ndreamlake 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)\ndreamlake 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)\ndreamlake memos read \"$MEMO_ID\" --if-match \"$ACK\"\n# Expect Hello team. Inspect the result; do not repeat a successful patch.",
114
+ "memos append": "dreamlake memos append \"$MEMO_ID\" --file addition.md --base-revision \"$BASE\" --json\n# ACK is the revision in the successful append receipt.\ndreamlake memos read \"$MEMO_ID\" --at \"$ACK\"",
115
+ "memos insert": "dreamlake memos insert --note \"$MEMO_ID\" --ind 0 --text 'Review: ' \\\n --base-revision \"$BASE\" --json\n# ACK is the revision returned by the insertion receipt.\ndreamlake memos read \"$MEMO_ID\" --at \"$ACK\"",
116
+ "memos delete": "dreamlake memos delete 'obsolete paragraph' --note \"$MEMO_ID\" \\\n --base-revision \"$BASE\" --json\n# Pin verification to the receipt's acknowledged revision.\ndreamlake memos read \"$MEMO_ID\" --at \"$ACK\"",
117
+ "memos write": "dreamlake 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.\ndreamlake memos write \"$MEMO_ID\" --file draft.md --base-revision \"$BASE\" --json\n# ACK is the successful write receipt's revision.\ndreamlake memos read \"$MEMO_ID\" --at \"$ACK\"",
105
118
  "memos": "# Find a note and read it directly.\ndreamlake memos search \"release plan\"\ndreamlake memos read release-plan\n\n# Preview a unique wording change, apply it, then read back.\ndreamlake memos replace \"Draft checklist\" --text \"Ready for review\" --note release-plan --dry-run\ndreamlake memos replace \"Draft checklist\" --text \"Ready for review\" --note release-plan\ndreamlake memos read release-plan\n\n# Create a private note from a Markdown file.\ndreamlake 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/",
106
119
  "memos list": "dreamlake memos list --limit 10\ndreamlake memos list --shared\ndreamlake memos list --namespace acme\ndreamlake memos list --include-archived",
107
120
  "memos search": "dreamlake memos search \"release plan\"\ndreamlake memos search deploy --namespace acme --json\ndreamlake memos search deploy --include-archived",
108
121
  "memos create": "dreamlake memos create \"Release plan\" --text \"Draft checklist\"\nprintf '# Release plan\\n' | dreamlake memos create \"Release plan\" --file - --json",
109
122
  "memos read": "dreamlake memos read release-plan\n# Inspect source with generated address hints; do not write the hints back.\ndreamlake memos read release-plan --view markdown\n# Preserve exact source plus revision/hash for a programmatic edit baseline.\ndreamlake memos read release-plan --json > baseline.json\ndreamlake 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\"\ndreamlake 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",
110
123
  "memos projects": "dreamlake memos projects 000000000000000000000001 --namespace acme",
111
- "memos move": "# Standalone cross-namespace Note transfer is unavailable (exit 3).\ndreamlake memos move NOTE_ID --to-namespace my-org --project shared-research --dry-run\n# Add a project association within the note's CURRENT workspace.\ndreamlake memos move NOTE_ID --to-namespace current-workspace --project research --dry-run\n# Apply only an executable same-workspace preview.\ndreamlake memos move NOTE_ID --to-namespace current-workspace --project research\n# Relocate the note to an existing folder of one project (CLI 0.87.0+).\ndreamlake memos move NOTE_ID --namespace acme --project research --folder reports/2026 --dry-run",
112
- "memos diff": "NOTE_ID=release-plan\ndreamlake memos read \"$NOTE_ID\" --json > baseline.json\nHASH=$(jq -er .hash baseline.json)\ndreamlake memos diff \"$NOTE_ID\" --since \"$HASH\" --format diff",
124
+ "memos move": "# Standalone cross-namespace Memo transfer is unavailable (exit 3).\ndreamlake memos move MEMO_ID --to-namespace my-org --project shared-research --dry-run\n# Add a project association within the note's CURRENT workspace.\ndreamlake memos move MEMO_ID --to-namespace current-workspace --project research --dry-run\n# Apply only an executable same-workspace preview.\ndreamlake 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+).\ndreamlake memos move MEMO_ID --namespace acme --project research --folder reports/2026 --dry-run",
125
+ "memos diff": "MEMO_ID=release-plan\ndreamlake memos read \"$MEMO_ID\" --json > baseline.json\nHASH=$(jq -er .hash baseline.json)\ndreamlake memos diff \"$MEMO_ID\" --since \"$HASH\" --format diff",
113
126
  "memos sections": "dreamlake memos sections release-plan\ndreamlake memos sections release-plan --json",
114
- "memos share": "# Find the release plan and inspect its source and current sharing.\ndreamlake memos search \"release plan\"\nNOTE=\"release-plan\" # Replace with the id or slug from search.\ndreamlake memos read \"$NOTE\"\ndreamlake memos share get \"$NOTE\"\n\n# Give signed-in recipients read access, then verify the returned link.\ndreamlake memos share create \"$NOTE\" --role read\ndreamlake memos share get \"$NOTE\"\n\n# When link access is no longer needed, revoke it and verify.\ndreamlake memos share revoke \"$NOTE\"\ndreamlake memos share get \"$NOTE\"",
115
- "memos visibility": "NOTE=\"release-plan\" # Your existing note id or slug.\ndreamlake memos visibility \"$NOTE\" public\ndreamlake memos visibility \"$NOTE\" private",
116
- "memos share revoke": "NOTE=\"release-plan\" # Your existing note id or slug.\ndreamlake memos share revoke \"$NOTE\" --revoke-accepted",
117
- "memos share access": "NOTE=\"release-plan\" # Your existing note id or slug.\n# List acceptance records and stored roles as a readable table.\ndreamlake memos share access \"$NOTE\"",
118
- "memos share remove": "NOTE=\"release-plan\" # Your existing note id or slug.\nUSER_ID=\"user-id-from-access-list\"\ndreamlake memos share remove \"$NOTE\" \"$USER_ID\"",
127
+ "memos share": "# Find the release plan and inspect its source and current sharing.\ndreamlake memos search \"release plan\"\nMEMO=\"release-plan\" # Replace with the id or slug from search.\ndreamlake memos read \"$MEMO\"\ndreamlake memos share get \"$MEMO\"\n\n# Give signed-in recipients read access, then verify the returned link.\ndreamlake memos share create \"$MEMO\" --role read\ndreamlake memos share get \"$MEMO\"\n\n# When link access is no longer needed, revoke it and verify.\ndreamlake memos share revoke \"$MEMO\"\ndreamlake memos share get \"$MEMO\"",
128
+ "memos visibility": "MEMO=\"release-plan\" # Your existing memo id or slug.\ndreamlake memos visibility \"$MEMO\" public\ndreamlake memos visibility \"$MEMO\" private",
129
+ "memos share revoke": "MEMO=\"release-plan\" # Your existing memo id or slug.\ndreamlake memos share revoke \"$MEMO\" --revoke-accepted",
130
+ "memos share access": "MEMO=\"release-plan\" # Your existing memo id or slug.\n# List acceptance records and stored roles as a readable table.\ndreamlake memos share access \"$MEMO\"",
131
+ "memos share remove": "MEMO=\"release-plan\" # Your existing memo id or slug.\nUSER_ID=\"user-id-from-access-list\"\ndreamlake memos share remove \"$MEMO\" \"$USER_ID\"",
119
132
  "memos suggest-diff": "# Review a change as a new private note.\ndreamlake memos suggest-diff before.md after.md --user \"Docs review\" \\\n | dreamlake memos create \"Redline: release plan\" --file -\n# Propose edits inside the note itself; refuses changes it cannot express.\ndreamlake memos suggest-diff current.md edited.md --in-place --user \"$DREAMLAKE_AGENT_NAME\" > proposal.md\n# Count insertions, deletions, replacements and changed code blocks.\ndreamlake memos suggest-diff before.md after.md --json | jq .stats",
120
- "memos transfer": "dreamlake memos transfer NOTE_ID --namespace alice --to acme \\\n --dry-run --out note-transfer.json\n# Submit the exact reviewed file; the authorized destination member accepts separately.\ndreamlake memos transfer NOTE_ID --namespace alice --to acme \\\n --confirm --request-file note-transfer.json\n# If you also have destination acceptance authority:\ndreamlake memos transfer NOTE_ID --namespace alice --to acme \\\n --confirm --request-file note-transfer.json --accept-if-authorized --wait",
121
- "memos tag": "# Save the current content on the existing Note.\ndreamlake note tag NOTE_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).\ndreamlake note tag NOTE_ID reviewed --hash sha256:CONTENT_HASH --json\n# Connect this checkpoint to an earlier version in the same Note.\ndreamlake note tag NOTE_ID next-checkpoint --parent VERSION_ID\n# Read and validate without creating a version.\ndreamlake note tag NOTE_ID preview --dry-run --json",
122
- "memos hist": "dreamlake note hist NOTE_ID --namespace my-org --json\n# Continue with nextCursor returned by the previous page.\ndreamlake note hist NOTE_ID --before VERSION_ID --json",
133
+ "memos transfer": "dreamlake 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.\ndreamlake memos transfer MEMO_ID --namespace alice --to acme \\\n --confirm --request-file note-transfer.json\n# If you also have destination acceptance authority:\ndreamlake memos transfer MEMO_ID --namespace alice --to acme \\\n --confirm --request-file note-transfer.json --accept-if-authorized --wait",
134
+ "memos tag": "# Save the current content on the existing Memo.\ndreamlake 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).\ndreamlake memos tag MEMO_ID reviewed --hash sha256:CONTENT_HASH --json\n# Connect this checkpoint to an earlier version in the same Memo.\ndreamlake memos tag MEMO_ID next-checkpoint --parent VERSION_ID\n# Read and validate without creating a version.\ndreamlake memos tag MEMO_ID preview --dry-run --json",
135
+ "memos hist": "dreamlake memos hist MEMO_ID --namespace my-org --json\n# Continue with nextCursor returned by the previous page.\ndreamlake memos hist MEMO_ID --before VERSION_ID --json",
123
136
  "ownership transfer": "dreamlake 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.\ndreamlake 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.\ndreamlake ownership transfer scene SCENE_ID --namespace alice --to acme --dry-run\n# Pipeline requires the separately advertised metadata adapter.\ndreamlake 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.\ndreamlake ownership transfer source SOURCE_ID --namespace alice --to acme \\\n --dry-run --out source-transfer.json",
124
137
  "ownership capabilities": "dreamlake ownership capabilities --namespace acme",
125
138
  "ownership list": "dreamlake ownership list --namespace acme --direction incoming\ndreamlake ownership list --namespace acme --direction outgoing",
@@ -132,7 +145,7 @@ export const helpExamples = {
132
145
  "ownership inspect": "dreamlake ownership inspect <resource-id> --type project --namespace acme",
133
146
  "ownership manifest": "dreamlake ownership manifest <resource-id> --type source --namespace acme",
134
147
  "ownership restore": "dreamlake ownership restore <resource-id> --type project --namespace acme",
135
- "project transfer-preview": "dreamlake project transfer-preview dreamlake --namespace geyang --to-namespace fortyfive\n# Explicitly include only reviewed Notes already filed in this project.\ndreamlake project transfer-preview dreamlake --namespace geyang --to-namespace fortyfive --include-note NOTE_ID --json",
148
+ "project transfer-preview": "dreamlake project transfer-preview dreamlake --namespace geyang --to-namespace fortyfive\n# Explicitly include only reviewed Notes already filed in this project.\ndreamlake project transfer-preview dreamlake --namespace geyang --to-namespace fortyfive --include-note MEMO_ID --json",
136
149
  "ownership snapshot": "dreamlake ownership snapshot 000000000000000000000001 --namespace acme",
137
150
  "ownership snapshot-cleanup": "# Inspect eligibility without deleting anything (the default).\ndreamlake ownership snapshot-cleanup 000000000000000000000001 --namespace acme\n# Delete only after server retention and recovery checks pass.\ndreamlake ownership snapshot-cleanup 000000000000000000000001 --namespace acme --execute",
138
151
  "project move": "# Save a read-only streaming review with its stable request/key.\ndreamlake 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.\ndreamlake 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.\ndreamlake project move research --namespace personal --to acme --confirm --request-file project-move-review.json --accept-if-authorized --wait",
@@ -140,8 +153,8 @@ export const helpExamples = {
140
153
  "project grants": "dreamlake project grants research --namespace acme",
141
154
  "project grant": "dreamlake project grant research --namespace acme --user teammate --role WRITE\ndreamlake project grant research --namespace acme --team TEAM_ID --role READ",
142
155
  "project revoke": "dreamlake project grants research --namespace acme\ndreamlake project revoke research GRANT_ID --namespace acme",
143
- "project attach": "dreamlake project attach research --namespace acme --type note --resource \"$NOTE_ID\"",
144
- "project detach": "dreamlake project detach research --namespace acme --type note --resource \"$NOTE_ID\"",
156
+ "project attach": "dreamlake project attach research --namespace acme --type note --resource \"$MEMO_ID\"",
157
+ "project detach": "dreamlake project detach research --namespace acme --type note --resource \"$MEMO_ID\"",
145
158
  "provider create": "dreamlake 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.\ndreamlake provider create -n aws-demo --continue --json",
146
159
  "provider plan": "# Requires the selected backend and authorized AWS read access.\ndreamlake provider plan -n aws-demo --json",
147
160
  "provider machine": "dreamlake provider machine status -n aws-dev --account 123456789012 --json\ndreamlake provider machine start -n aws-dev --account 123456789012 --yes\ndreamlake provider machine terminal -n aws-dev --account 123456789012\ndreamlake provider machine stop -n aws-dev --account 123456789012 --yes",
@@ -176,7 +189,7 @@ export const helpExamples = {
176
189
  "sessions register": "dreamlake sessions register --provider codex --session <native-uuid> --cwd /absolute/repository --json\n# Explicit private override for a new registration:\ndreamlake 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:\ndreamlake sessions register --provider claude --session \"${CLAUDE_SESSION_ID:-$CLAUDE_CODE_SESSION_ID}\" --cwd \"$PWD\" --visibility private --write-env \"$HOME/.dreamlake/sessions/current.env\"",
177
190
  "claude": "# Interactive Claude Code, registered private before it starts, acceptEdits (workspace-write):\ndreamlake claude\n# One headless turn at plan level; everything after the wrapper's flags goes to claude unchanged:\ndreamlake claude --permission read-only -p \"Summarize the open PRs\" --model opus",
178
191
  "codex": "dreamlake codex --permission full-access \"Fix the failing test\"",
179
- "sessions link": "dreamlake sessions link SESSION_ID --namespace geyang \\\n --resource-namespace fortyfive --note NOTE_ID --json\ndreamlake sessions link SESSION_ID --namespace geyang \\\n --resource-namespace fortyfive --artifact loss-plot --json",
192
+ "sessions link": "dreamlake sessions link SESSION_ID --namespace geyang \\\n --resource-namespace fortyfive --note MEMO_ID --json\ndreamlake sessions link SESSION_ID --namespace geyang \\\n --resource-namespace fortyfive --artifact loss-plot --json",
180
193
  "sessions unlink": "dreamlake sessions unlink SESSION_ID --namespace geyang \\\n --resource-namespace fortyfive --artifact loss-plot --json",
181
194
  "sessions resources": "dreamlake sessions resources SESSION_ID --namespace geyang --page-size 25 --json",
182
195
  "sessions": "dreamlake sessions targets --namespace geyang\ndreamlake sessions list --namespace geyang",
package/dist/cli/index.js CHANGED
@@ -13,6 +13,7 @@ import { helpExamples } from "./help-examples.generated.js";
13
13
  // CLI), implemented in lakeshore's TypeScript conventions.
14
14
  import { Command } from "commander";
15
15
  import { registerJobsCommand } from "./jobs/index.js";
16
+ import { registerLakeshoreCommand } from "./lakeshore/connections.js";
16
17
  import { registerQueuesCommand } from "./queues/index.js";
17
18
  import { registerServiceAccountsCommand } from "./service-accounts/index.js";
18
19
  import { registerExperimentsCommand } from "./experiments/index.js";
@@ -147,9 +148,10 @@ async function main(argv) {
147
148
  });
148
149
  program
149
150
  .command("logout")
150
- .description("log out of the active environment (removes its saved token)")
151
- .action(async () => {
152
- process.exit(await runLogout());
151
+ .description("log out of the active environment, or --env <name> (removes its saved token)")
152
+ .option("--env <name>", "saved environment to log out of (default: the active one)")
153
+ .action(async (opts) => {
154
+ process.exit(await runLogout({ env: opts.env }));
153
155
  });
154
156
  program
155
157
  .command("profile")
@@ -246,6 +248,7 @@ async function main(argv) {
246
248
  registerProvidersCommand(program);
247
249
  registerServiceAccountsCommand(program);
248
250
  registerQueuesCommand(program);
251
+ registerLakeshoreCommand(program);
249
252
  registerExperimentsCommand(program);
250
253
  registerStorageCommand(program);
251
254
  registerQueueDefCommand(program);
@@ -0,0 +1,27 @@
1
+ import { Command } from "commander";
2
+ type Mode = "queues" | "management";
3
+ interface Options {
4
+ namespace?: string;
5
+ json?: boolean;
6
+ server?: string;
7
+ lakeshoreNamespace?: string;
8
+ access?: Mode;
9
+ name?: string;
10
+ description?: string;
11
+ tokenStdin?: boolean;
12
+ open?: boolean;
13
+ skipValidation?: boolean;
14
+ clearToken?: boolean;
15
+ yes?: boolean;
16
+ page?: string;
17
+ pageSize?: string;
18
+ }
19
+ export interface ConnectionInput {
20
+ interactive: boolean;
21
+ token(): Promise<string>;
22
+ stdin(): Promise<string>;
23
+ }
24
+ export declare function runLakeshoreConnect(opts: Options, io?: ConnectionInput): Promise<number>;
25
+ export declare function runLakeshoreConnection(action: "list" | "show" | "test" | "update" | "disconnect", id: string | undefined, opts: Options, io?: ConnectionInput): Promise<number>;
26
+ export declare function registerLakeshoreCommand(program: Command): void;
27
+ export {};
@@ -0,0 +1,268 @@
1
+ import { Option } from "commander";
2
+ import { password } from "@inquirer/prompts";
3
+ import { HttpError, requestJson } from "../client.js";
4
+ import { resolveNamespace, resolveRemote, resolveToken } from "../config.js";
5
+ import { emitJson, fail, renderTable } from "../helpers.js";
6
+ import { confirm } from "../prompt.js";
7
+ const input = {
8
+ get interactive() {
9
+ return !!process.stdin.isTTY;
10
+ },
11
+ token: () => password({ message: "Lakeshore token (stored encrypted; never printed):" }),
12
+ stdin: async () => {
13
+ let value = "";
14
+ for await (const chunk of process.stdin) {
15
+ value += chunk.toString();
16
+ if (value.length > 16384)
17
+ throw new Error("Token input is too long");
18
+ }
19
+ return value;
20
+ },
21
+ };
22
+ async function context(opts) {
23
+ const token = resolveToken();
24
+ if (!token)
25
+ throw new Error("not authenticated — run 'dreamlake login' first");
26
+ const remote = resolveRemote();
27
+ const ns = await resolveNamespace(opts.namespace, { remote, token });
28
+ if (!ns)
29
+ throw new Error("Choose a DreamLake namespace with --namespace");
30
+ return {
31
+ remote,
32
+ token,
33
+ ns,
34
+ path: `/namespaces/${encodeURIComponent(ns)}/lakeshores`,
35
+ };
36
+ }
37
+ async function credential(opts, io) {
38
+ if (!opts.tokenStdin && !io.interactive)
39
+ throw new Error("Pass --token-stdin, or --open for an unauthenticated management connection");
40
+ const token = (opts.tokenStdin ? await io.stdin() : await io.token()).trim();
41
+ if (!token || /\s/.test(token) || token.length > 16384)
42
+ throw new Error("Supply one nonempty Lakeshore token");
43
+ return token;
44
+ }
45
+ function publicConnection(value) {
46
+ if (!value ||
47
+ typeof value.id !== "string" ||
48
+ typeof value.slug !== "string" ||
49
+ typeof value.baseUrl !== "string" ||
50
+ typeof value.lakeshoreNs !== "string") {
51
+ throw new Error("Server did not confirm the connection; inspect the list before retrying");
52
+ }
53
+ return {
54
+ id: value.id,
55
+ name: value.name,
56
+ slug: value.slug,
57
+ baseUrl: value.baseUrl,
58
+ lakeshoreNs: value.lakeshoreNs,
59
+ accessMode: value.connectionType === "mount" ||
60
+ (value.accessMode != null && value.accessMode !== "management")
61
+ ? "queues"
62
+ : "management",
63
+ status: value.status,
64
+ hasToken: value.hasToken,
65
+ };
66
+ }
67
+ function report(value, opts) {
68
+ if (opts.json)
69
+ emitJson(value);
70
+ else
71
+ process.stdout.write(renderTable([value], ["slug", "accessMode", "baseUrl", "lakeshoreNs", "status"]) + "\n");
72
+ }
73
+ function error(err, secret) {
74
+ // Credential-bearing errors may echo even a truncated token. Never render HTTP bodies.
75
+ if (err instanceof HttpError)
76
+ fail(`Lakeshore connection request failed (HTTP ${err.status}). Check namespace permissions, connection details and server support.`);
77
+ else {
78
+ const message = err instanceof Error ? err.message : String(err);
79
+ fail(secret ? message.split(secret).join("[redacted]") : message);
80
+ }
81
+ return 1;
82
+ }
83
+ export async function runLakeshoreConnect(opts, io = input) {
84
+ let secret;
85
+ try {
86
+ const mode = opts.access ?? "management";
87
+ if (!["queues", "management"].includes(mode))
88
+ throw new Error("--access must be queues or management");
89
+ if (!opts.server)
90
+ throw new Error("Supply --server");
91
+ const url = new URL(opts.server);
92
+ if (!["http:", "https:"].includes(url.protocol) ||
93
+ url.username ||
94
+ url.password ||
95
+ url.search ||
96
+ url.hash)
97
+ throw new Error("Supply an HTTP(S) server URL without credentials, query or fragment");
98
+ if (opts.open && opts.tokenStdin)
99
+ throw new Error("Choose --open or --token-stdin");
100
+ if (mode === "queues" &&
101
+ (opts.open ||
102
+ opts.skipValidation ||
103
+ url.protocol !== "https:" ||
104
+ url.pathname !== "/"))
105
+ throw new Error("Queue connections require a public HTTPS origin, a namespace token and identity verification");
106
+ const c = await context(opts);
107
+ if (mode === "queues") {
108
+ const capabilities = await requestJson(c.remote, `/namespaces/${encodeURIComponent(c.ns)}/lakeshore-connection-capabilities`, { token: c.token });
109
+ if (capabilities.modelVersion !== 1 ||
110
+ !capabilities.accessModes?.includes("queues"))
111
+ throw new Error("Server does not support unified queue connections; upgrade it or use the compatibility queues mount command");
112
+ }
113
+ if (!opts.open)
114
+ secret = await credential(opts, io);
115
+ const row = publicConnection(await requestJson(c.remote, c.path + (mode === "queues" ? "/connect-v1" : ""), {
116
+ token: c.token,
117
+ method: "POST",
118
+ redirect: "error",
119
+ json: {
120
+ name: opts.name?.trim() || url.hostname,
121
+ baseUrl: opts.server,
122
+ lakeshoreNs: opts.lakeshoreNamespace ?? "default",
123
+ accessMode: mode,
124
+ description: opts.description,
125
+ skipValidation: !!opts.skipValidation,
126
+ ...(secret ? { token: secret } : {}),
127
+ },
128
+ }));
129
+ if (row.accessMode !== mode)
130
+ throw new Error("Server did not confirm the requested access mode; inspect the connection before using it");
131
+ report(row, opts);
132
+ return 0;
133
+ }
134
+ catch (err) {
135
+ return error(err, secret);
136
+ }
137
+ }
138
+ export async function runLakeshoreConnection(action, id, opts, io = input) {
139
+ let secret;
140
+ try {
141
+ const c = await context(opts);
142
+ const path = id ? `${c.path}/${encodeURIComponent(id)}` : c.path;
143
+ if (action === "list") {
144
+ const r = await requestJson(c.remote, path, {
145
+ token: c.token,
146
+ query: { page: opts.page, pageSize: opts.pageSize },
147
+ });
148
+ const rows = r.lakeshores.map(publicConnection);
149
+ if (opts.json)
150
+ emitJson({
151
+ lakeshores: rows,
152
+ page: r.page,
153
+ pageSize: r.pageSize,
154
+ total: r.total,
155
+ totalPages: r.totalPages,
156
+ });
157
+ else
158
+ process.stdout.write(renderTable(rows, [
159
+ "slug",
160
+ "accessMode",
161
+ "baseUrl",
162
+ "lakeshoreNs",
163
+ "status",
164
+ ]) + `\n${r.total} connection(s)\n`);
165
+ }
166
+ else if (action === "test") {
167
+ const r = await requestJson(c.remote, `${path}/test`, { token: c.token, method: "POST" });
168
+ if (opts.json)
169
+ emitJson({ ok: r.ok, status: r.status });
170
+ else
171
+ process.stdout.write(`Connection: ${r.ok ? "online" : "failed"}\n`);
172
+ return r.ok ? 0 : 1;
173
+ }
174
+ else if (action === "disconnect") {
175
+ if (!opts.yes &&
176
+ !(await confirm(`Disconnect ${id} from ${c.ns}? Hosts and the remote server are not deleted.`, false)))
177
+ return 0;
178
+ const r = await requestJson(c.remote, path, {
179
+ token: c.token,
180
+ method: "DELETE",
181
+ });
182
+ if (!r.success)
183
+ throw new Error("Server did not confirm disconnection");
184
+ if (opts.json)
185
+ emitJson({ success: true });
186
+ else
187
+ process.stdout.write("Disconnected. Remote tokens and existing Vault entries are retained.\n");
188
+ }
189
+ else if (action === "update") {
190
+ if (opts.clearToken && opts.tokenStdin)
191
+ throw new Error("Choose --clear-token or --token-stdin");
192
+ const body = {};
193
+ for (const [key, value] of Object.entries({
194
+ name: opts.name,
195
+ baseUrl: opts.server,
196
+ lakeshoreNs: opts.lakeshoreNamespace,
197
+ description: opts.description,
198
+ skipValidation: opts.skipValidation,
199
+ }))
200
+ if (value !== undefined)
201
+ body[key] = value;
202
+ if (opts.tokenStdin) {
203
+ secret = await credential(opts, io);
204
+ body.token = secret;
205
+ }
206
+ if (opts.clearToken)
207
+ body.token = null;
208
+ if (!Object.keys(body).length)
209
+ throw new Error("Supply fields to update or --token-stdin to replace the token");
210
+ report(publicConnection(await requestJson(c.remote, path, {
211
+ token: c.token,
212
+ method: "PATCH",
213
+ redirect: "error",
214
+ json: body,
215
+ })), opts);
216
+ }
217
+ else
218
+ report(publicConnection(await requestJson(c.remote, path, { token: c.token })), opts);
219
+ return 0;
220
+ }
221
+ catch (err) {
222
+ return error(err, secret);
223
+ }
224
+ }
225
+ export function registerLakeshoreCommand(program) {
226
+ const group = program
227
+ .command("lakeshore")
228
+ .description("Connect and manage Lakeshore services through DreamLake");
229
+ const common = (command) => command
230
+ .option("--namespace <slug>", "DreamLake namespace")
231
+ .option("--json", "JSON output");
232
+ common(group
233
+ .command("connect")
234
+ .description("Create the same connection as the web Connect form"))
235
+ .option("--name <name>", "Defaults to the server hostname")
236
+ .requiredOption("--server <url>")
237
+ .option("--lakeshore-namespace <name>", "Remote Lakeshore namespace", "default")
238
+ .addOption(new Option("--access <mode>", "Allowed uses; does not grant token permissions")
239
+ .choices(["management", "queues"])
240
+ .default("management"))
241
+ .option("--description <text>")
242
+ .option("--token-stdin", "Read Lakeshore token from stdin")
243
+ .option("--open", "No token (management only)")
244
+ .option("--skip-validation", "Skip probe (management only)")
245
+ .action(async (opts) => {
246
+ process.exitCode = await runLakeshoreConnect(opts);
247
+ });
248
+ common(group.command("list").option("--page <n>").option("--page-size <n>")).action(async (opts) => {
249
+ process.exitCode = await runLakeshoreConnection("list", undefined, opts);
250
+ });
251
+ for (const action of ["show", "test", "update", "disconnect"]) {
252
+ const command = common(group.command(`${action} <connection>`));
253
+ if (action === "update")
254
+ command
255
+ .option("--name <name>")
256
+ .option("--server <url>")
257
+ .option("--lakeshore-namespace <name>")
258
+ .option("--description <text>")
259
+ .option("--token-stdin")
260
+ .option("--clear-token", "Clear token (management only)")
261
+ .option("--skip-validation");
262
+ if (action === "disconnect")
263
+ command.option("--yes", "Skip confirmation");
264
+ command.action(async (id, opts) => {
265
+ process.exitCode = await runLakeshoreConnection(action, id, opts);
266
+ });
267
+ }
268
+ }
@@ -67,7 +67,7 @@ export async function runMemosMove(ref, opts) {
67
67
  emitJson(receipt);
68
68
  else {
69
69
  process.stdout.write(`${receipt.dryRun ? "Move preview" : receipt.moved ? "Memo moved" : "Project filing updated"}: ${receipt.note.name}\n`);
70
- process.stdout.write(`Note: ${receipt.note.id}\nFrom: @${receipt.source.namespaceSlug}\nTo: @${receipt.destination.namespaceSlug}\n`);
70
+ process.stdout.write(`Memo: ${receipt.note.id}\nFrom: @${receipt.source.namespaceSlug}\nTo: @${receipt.destination.namespaceSlug}\n`);
71
71
  process.stdout.write(`Projects: ${receipt.destination.projects.map(p => p.slug).join(", ") || "none"}\n`);
72
72
  if (receipt.source.namespaceSlug !== receipt.destination.namespaceSlug && receipt.source.projects.length)
73
73
  process.stdout.write(`Previous project associations removed${receipt.dryRun ? " on confirmation" : ""}: ${receipt.source.projects.map(p => p.slug).join(", ")}\n`);
@@ -217,7 +217,7 @@ export async function runMemosFolderMove(ref, opts) {
217
217
  emitJson(receipt);
218
218
  else {
219
219
  process.stdout.write(`${receipt.dryRun ? "Move preview" : receipt.moved ? "Memo moved" : "Already there"}: ${receipt.note.name}\n`);
220
- process.stdout.write(`Note: ${id} (node ${node.id}) in ${project}@${ns}\n`);
220
+ process.stdout.write(`Memo: ${id} (node ${node.id}) in ${project}@${ns}\n`);
221
221
  process.stdout.write(`From: ${receipt.source.path}\nTo: ${receipt.destination.path}\n`);
222
222
  if (unchanged)
223
223
  process.stdout.write("The memo is already in that folder. Nothing changed.\n");
@@ -1 +1 @@
1
- export declare const VERSION = "0.105.1";
1
+ export declare const VERSION = "0.107.0";
@@ -6,4 +6,4 @@
6
6
  // value means a binary that re-installs the same version forever.
7
7
  //
8
8
  // Editing this by hand does nothing for a release; bump package.json.
9
- export const VERSION = "0.105.1";
9
+ export const VERSION = "0.107.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dreamlake/dreamlake-cli",
3
- "version": "0.105.1",
3
+ "version": "0.107.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/dreamlake-ai/dreamlake-cli.git"
@@ -36,13 +36,13 @@
36
36
  "node": ">=18"
37
37
  },
38
38
  "optionalDependencies": {
39
- "@dreamlake/dreamlake-cli-darwin-arm64": "0.105.1",
40
- "@dreamlake/dreamlake-cli-darwin-x64": "0.105.1",
41
- "@dreamlake/dreamlake-cli-linux-x64": "0.105.1",
42
- "@dreamlake/dreamlake-cli-linux-arm64": "0.105.1",
43
- "@dreamlake/dreamlake-cli-linux-x64-musl": "0.105.1",
44
- "@dreamlake/dreamlake-cli-linux-arm64-musl": "0.105.1",
45
- "@dreamlake/dreamlake-cli-win32-x64": "0.105.1",
46
- "@dreamlake/dreamlake-cli-win32-arm64": "0.105.1"
39
+ "@dreamlake/dreamlake-cli-darwin-arm64": "0.107.0",
40
+ "@dreamlake/dreamlake-cli-darwin-x64": "0.107.0",
41
+ "@dreamlake/dreamlake-cli-linux-x64": "0.107.0",
42
+ "@dreamlake/dreamlake-cli-linux-arm64": "0.107.0",
43
+ "@dreamlake/dreamlake-cli-linux-x64-musl": "0.107.0",
44
+ "@dreamlake/dreamlake-cli-linux-arm64-musl": "0.107.0",
45
+ "@dreamlake/dreamlake-cli-win32-x64": "0.107.0",
46
+ "@dreamlake/dreamlake-cli-win32-arm64": "0.107.0"
47
47
  }
48
48
  }