@ouro.bot/cli 0.1.0-alpha.1157 → 0.1.0-alpha.1158

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/changelog.json CHANGED
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "_note": "This changelog is maintained as part of the PR/version-bump workflow. Agent-curated, not auto-generated. Agents read this file directly via read_file to understand what changed between versions.",
3
3
  "versions": [
4
+ {
5
+ "version": "0.1.0-alpha.1158",
6
+ "changes": [
7
+ "The ouro CLI's help for a command other people see names --dry-run, which says who will see it without doing it."
8
+ ]
9
+ },
4
10
  {
5
11
  "version": "0.1.0-alpha.1157",
6
12
  "changes": [
@@ -1,5 +1,5 @@
1
1
  {
2
- "runtimeVersion": "0.1.0-alpha.1157",
2
+ "runtimeVersion": "0.1.0-alpha.1158",
3
3
  "bundleSchemaVersion": 3,
4
4
  "lastUpdated": "2026-09-03T00:00:00.000Z"
5
5
  }
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0"?>
2
2
  <Container version="2">
3
3
  <Name>ouro-butler</Name>
4
- <Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.1157</Repository>
4
+ <Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.1158</Repository>
5
5
  <Registry>https://github.com/ourostack/ouroboros/pkgs/container/ouroboros-butler</Registry>
6
6
  <Network>host</Network>
7
7
  <Shell>sh</Shell>
@@ -104,6 +104,19 @@ function gateCommandArgs(args) {
104
104
  const others = declaration.effect === "others";
105
105
  const known = [...new Set([...exports.PARSER_FLAGS, ...GLOBAL_FLAGS, ...flags.keys()])];
106
106
  const rest = args.slice(words.length);
107
+ if (others && rest.includes("--help")) {
108
+ const text = [
109
+ "Usage:",
110
+ ...usageLinesFor(name),
111
+ "",
112
+ declaration.summary,
113
+ "",
114
+ "Flags:",
115
+ ' --why "<who asked you, and what they said>" Needed: other people will see this.',
116
+ " --dry-run Say who will see it, and do nothing.",
117
+ ].join("\n");
118
+ return { kind: "help", text };
119
+ }
107
120
  for (let index = 0; index < rest.length; index++) {
108
121
  const token = rest[index];
109
122
  if (!token.startsWith("--"))
@@ -25,7 +25,7 @@ if (gate.kind === "refuse") {
25
25
  process.stderr.write(`${gate.message}\n`);
26
26
  process.exitCode = 1;
27
27
  }
28
- else if (gate.kind === "preview") {
28
+ else if (gate.kind === "preview" || gate.kind === "help") {
29
29
  process.stdout.write(`${gate.text}\n`);
30
30
  }
31
31
  else {
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.1157",
3
+ "version": "0.1.0-alpha.1158",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@ouro.bot/cli",
9
- "version": "0.1.0-alpha.1157",
9
+ "version": "0.1.0-alpha.1158",
10
10
  "dependencies": {
11
11
  "@anthropic-ai/sdk": "^0.78.0",
12
12
  "@ouro.bot/friends": "0.1.0-alpha.18",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.1157",
3
+ "version": "0.1.0-alpha.1158",
4
4
  "engines": {
5
5
  "node": ">=22"
6
6
  },