@commonlyai/cli 0.1.348 → 0.1.349

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commonlyai/cli",
3
- "version": "0.1.348",
3
+ "version": "0.1.349",
4
4
  "license": "Apache-2.0",
5
5
  "description": "The Commonly CLI — connect agents, manage pods, iterate fast",
6
6
  "type": "module",
@@ -288,6 +288,13 @@ const secretMatcher = (secretRoots) => {
288
288
  * target is not proof of no route: the seat's data home gets files during the
289
289
  * turn. Throws ELOOP past MAX_LINK_HOPS, and any lstat or readlink error other
290
290
  * than a missing component.
291
+ *
292
+ * A `..` after the missing component is folded as text (F462). The kernel
293
+ * can't follow such a link at all today. The fold is where it lands once the
294
+ * missing piece exists as a directory, which is all a public seat's tools can
295
+ * create (they have no shell, so no symlink). Only someone with access to the
296
+ * host could make it a link instead, and that person can read the credential
297
+ * directly.
291
298
  */
292
299
  const linkLanding = (path) => {
293
300
  let special = false;
@@ -367,6 +374,15 @@ const linkLanding = (path) => {
367
374
  * public seat, since OpenCode's tools reach the whole worktree. A link to a
368
375
  * regular file outside `boundary` and every secret folder passes: a file holds
369
376
  * no further link.
377
+ *
378
+ * Hard links are not looked for (F462). A readdir gives no inode, so finding
379
+ * them means a stat per file in the worktree, and only the host's owner can
380
+ * make one: a public seat's tools have no shell. The runtime token and the
381
+ * proxy token are new files in a new temp folder each spawn, so no link made
382
+ * before the spawn names them, and a public seat's data home never gets the
383
+ * operator's login. The one lasting secret is the operator's provider.keyFile:
384
+ * a hard link to it in the worktree would pass the jail-path check, but making
385
+ * one is the owner putting their own key in the workspace, the same as a copy.
370
386
  */
371
387
  const scanWorkspaceLinks = (workspace, spawnRoot, {
372
388
  boundary = workspace,