@coderook/cli 0.25.1 → 0.25.2

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.
@@ -2,7 +2,7 @@
2
2
  "name": "coderook",
3
3
  "displayName": "CodeRook",
4
4
  "description": "Save, browse and restore whole-snapshot versions of a project on CodeRook, from Claude Code.",
5
- "version": "0.25.1",
5
+ "version": "0.25.2",
6
6
  "author": {
7
7
  "name": "ACCA Gaming Productions",
8
8
  "url": "https://coderook.com"
@@ -321,6 +321,27 @@ async function commandTransfer(parsed) {
321
321
  if (!parsed.flags.has("issues")) {
322
322
  console.log(dim(" · issues — pass --issues to bring the open ones"));
323
323
  }
324
+ /*
325
+ Said plainly rather than implied by the word "transfer".
326
+
327
+ Nothing here checks whose repository this is, and nothing could: a public
328
+ repository is readable by anybody, which is exactly why cloning one needs
329
+ no token. What that means in practice is that this is `git clone`
330
+ followed by a publish — no more permission than anyone already has, and
331
+ no claim of ownership either. The licence that came with the files is
332
+ still the thing that governs what may be done with them, which matters
333
+ most at the moment somebody makes the project public.
334
+ */
335
+ console.log([
336
+ "",
337
+ `${dim("On ownership:")} nothing was checked, and nothing could be.`,
338
+ "A public repository is readable by anyone, which is why cloning one",
339
+ "needs no token — so this is a clone and a publish, not a claim. The",
340
+ "licence that came with the files is still what governs them.",
341
+ ...(facts && facts.visibility === "public"
342
+ ? ["Worth reading before you make this project public."]
343
+ : []),
344
+ ].join("\n"));
324
345
  console.log(`\nFetch it anywhere with ${accent(`cbx clone ${project.slug}`)}` +
325
346
  `${dim(", or ")}${accent(`git clone coderook://${project.slug}`)}${dim(".")}`);
326
347
  return 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coderook/cli",
3
- "version": "0.25.1",
3
+ "version": "0.25.2",
4
4
  "description": "CodeRook from the command line, on any operating system",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "homepage": "https://coderook.com",