teamclaws 2.0.17 → 2.0.18
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/constants.js
CHANGED
package/package.json
CHANGED
|
@@ -61,8 +61,9 @@ teamclaws shell <server-id> --command <one-quoted-command-argument> --json
|
|
|
61
61
|
This sends the exact command over the authenticated workspace HTTPS shell API.
|
|
62
62
|
Check `pwd`, `printf '%s\n' "$HOME"`, and `id` rather than assuming the starting
|
|
63
63
|
directory is the user's home. Use explicit working directories in commands.
|
|
64
|
-
The result has `stdout`, `stderr`, and `exit_code`.
|
|
65
|
-
|
|
64
|
+
The result has `stdout`, `stderr`, and `exit_code`. Inspect the output and status
|
|
65
|
+
for the operation performed; do not treat every nonzero status as a stop condition.
|
|
66
|
+
Verify file transfers against the destination bytes. There is no dedicated CLI file-transfer command and no
|
|
66
67
|
implicit SSH connection. Do not invent one or handle the saved credential yourself.
|
|
67
68
|
|
|
68
69
|
### Find a file the user left on the server
|
|
@@ -87,8 +88,12 @@ Do not change permissions or switch identities to search inaccessible locations.
|
|
|
87
88
|
Search the named directory and its children for the exact filename first;
|
|
88
89
|
use a case-insensitive or partial-name search if needed. Prefer `rg --files
|
|
89
90
|
--hidden --no-ignore -g '<filename>' <directory>` when available; otherwise use
|
|
90
|
-
`find <directory> -iname '<filename>' -print`.
|
|
91
|
-
|
|
91
|
+
`find <directory> -iname '<filename>' -print`. A search can return matches and a
|
|
92
|
+
nonzero status when one child directory is unreadable. Keep those matches and
|
|
93
|
+
continue searching every other readable directory; report inaccessible branches
|
|
94
|
+
separately. Do not use `set -e` or `&&` to abort independent searches on such errors.
|
|
95
|
+
Do not suppress permission errors or turn an incomplete search into a claim that
|
|
96
|
+
the file does not exist. Check
|
|
92
97
|
directory symlinks explicitly without following them outside the authorized scope.
|
|
93
98
|
|
|
94
99
|
If the file is still unfound, report the actual searched locations and access
|