@passioncode-ai/passioncode 0.2.59 → 0.2.60

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.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.60 - 2026-11-03
4
+
5
+ ### Fixed
6
+
7
+ - The `setting-up-passioncode` skill states setup's exit codes: a step or a check that failed exits 1,
8
+ and a plan (`--dry-run`, or a run without a terminal and without `--yes` that would change something;
9
+ a `--json` run never asks) exits 0 even when a check fails, so an agent reads `after.summary` and `plan`; exit 1 with no
10
+ JSON is a runtime error (PC-102). The README says a `--json` run never asks, names the repairs
11
+ question beside the one per app, and says a terminal run with nothing to ask saves a train at once. `doctor --dry-run` is refused with exit 2 before any check, now under test.
12
+
3
13
  ## 0.2.59 - 2026-11-03
4
14
 
5
15
  ### Changed
package/README.md CHANGED
@@ -44,7 +44,7 @@ secret into a product's own hidden prompt, starting Docker for Fabric, and resta
44
44
 
45
45
  1. **Install** (Node 18 or newer; the Claude Code CLI on `PATH` for the plugins):
46
46
  `npx @passioncode-ai/passioncode@latest setup`, then restart your agents. In a terminal it asks
47
- one question per app; `--yes` accepts the plan, `--with`/`--without <ids>` choose apps
47
+ one question per app and one for the repairs (a `--json` run never asks); `--yes` accepts the plan, `--with`/`--without <ids>` choose apps
48
48
  (`switchboard`, `dashboards`, `observatory`, `inbox`, `fabric`), `--no-apps` sets up the skills
49
49
  and MCP only, `--dry-run` shows the plan. Apps are installed on macOS; on other systems setup
50
50
  names each download page, and on Windows `doctor` reads which version of each app is installed. Skills only: `npx @passioncode-ai/passioncode@latest update`.
@@ -118,7 +118,7 @@ the versions in [`trains/organization-r1.json`](trains/organization-r1.json), re
118
118
  and `doctor` then compares every app with its pin (offline too) in an `app.<id>` line per app and
119
119
  one `train` line. An app newer than its pin is reported and left alone (a damaged one, or one whose version cannot be read, is reinstalled from the latest
120
120
  release): the train never takes an app back, because its data may not open in an older release. `setup --train none` returns to the
121
- latest releases. Either change is saved with `--yes` or in a terminal; without both it is only shown as a plan. A named
121
+ latest releases. Either change is saved with `--yes` or in a terminal (after its answers, or at once when there is nothing to ask; a `--json` run never asks); without either it is only shown as a plan. A named
122
122
  train is not saved when every offer in the terminal (at least one of them defaulting to yes) is
123
123
  answered no, while `--train none` is saved on any answer. The skills are pinned by the launcher release itself (`family.json`). Which
124
124
  version each app pins is the train's record in fabric-workspace
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@passioncode-ai/passioncode",
3
- "version": "0.2.59",
3
+ "version": "0.2.60",
4
4
  "description": "Set up PassionCode.ai on a computer with one command: the apps from their verified releases, their MCP servers for every coding agent and the PassionCode.ai skills. Check and repair it with the same command or `doctor`.",
5
5
  "bin": {
6
6
  "passioncode": "bin/passioncode.js"
@@ -35,7 +35,7 @@
35
35
  "name": "passioncode",
36
36
  "displayName": "PassionCode.ai",
37
37
  "source": "./plugins/passioncode",
38
- "version": "0.2.59",
38
+ "version": "0.2.60",
39
39
  "description": "Set up and check PassionCode.ai on a computer with one command (setting-up-passioncode), the organisation's working rules for every contributor's agent (working-in-passioncode), and a once-a-day check that keeps the PassionCode.ai set current.",
40
40
  "author": {
41
41
  "name": "PassionCode.ai",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "family": "passioncode",
3
- "version": "0.2.59",
3
+ "version": "0.2.60",
4
4
  "release": true,
5
5
  "members": [
6
6
  {
@@ -62,9 +62,9 @@
62
62
  "name": "passioncode",
63
63
  "displayName": "PassionCode.ai",
64
64
  "repo": "passioncode-ai/passioncode",
65
- "ref": "v0.2.59",
65
+ "ref": "v0.2.60",
66
66
  "commit": null,
67
- "version": "0.2.59",
67
+ "version": "0.2.60",
68
68
  "via": "this repository",
69
69
  "skills": [
70
70
  "setting-up-passioncode",
@@ -72,7 +72,7 @@
72
72
  ],
73
73
  "legacyPluginIds": [],
74
74
  "legacyMarketplaces": [],
75
- "contentHash": "sha256:bba0f14b5775c1b003c996f9fad9d33c17f914c6e2e9d119e0b25d979365e01b",
75
+ "contentHash": "sha256:0b01afb4625a683f52d803769cca28ebedcd9d854f07f055a1afa2b88977c2ee",
76
76
  "description": "Set up and check PassionCode.ai on a computer with one command (setting-up-passioncode), the organisation's working rules for every contributor's agent (working-in-passioncode), and a once-a-day check that keeps the PassionCode.ai set current.",
77
77
  "author": {
78
78
  "name": "PassionCode.ai",
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json",
3
3
  "name": "passioncode",
4
4
  "displayName": "PassionCode.ai",
5
- "version": "0.2.59",
5
+ "version": "0.2.60",
6
6
  "description": "Set up and check PassionCode.ai on a computer with one command (setting-up-passioncode), the organisation's working rules for every contributor's agent (working-in-passioncode), and a once-a-day check at session start that keeps the PassionCode.ai skill set current.",
7
7
  "author": {
8
8
  "name": "PassionCode.ai",
@@ -32,6 +32,11 @@ npx --yes @passioncode-ai/passioncode@latest setup --yes --json
32
32
  repairs what is wrong (skills, MCP registrations, an outdated or damaged app that is not
33
33
  running, a stopped service its supervisor owns), checks again and returns JSON.
34
34
  - A healthy machine: an empty `actions` list, exit 0. Running it again is always safe.
35
+ - Exit 0: no step and no check failed; 1: a step or a check failed; 2: bad arguments. A plan
36
+ (`planOnly: true`: `--dry-run`, or a run without `--yes` that would change something, since a
37
+ `--json` run never asks) changes nothing and exits 0 even when a check fails: read
38
+ `after.summary` and `plan`, not the exit code alone. Exit 1 with no JSON on stdout is a runtime
39
+ error: report its stderr line and the exit code.
35
40
  - Use `--with <ids>` / `--without <ids>` for a subset (`switchboard`, `dashboards`,
36
41
  `observatory`, `inbox`, `fabric`), `--no-apps` for skills and MCP only, `--dry-run` to show
37
42
  the plan first. Fabric is an early preview and needs Docker (or OrbStack) and the Supabase CLI;