@love-moon/conductor-sdk 0.3.0 → 0.3.1

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/package.json +4 -3
package/CHANGELOG.md ADDED
@@ -0,0 +1,52 @@
1
+ # @love-moon/conductor-sdk
2
+
3
+ ## 0.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 4e8d4e5: Include `CHANGELOG.md` in published npm tarballs.
8
+
9
+ The `files` array in each package's `package.json` previously only
10
+ listed the build output (`bin`/`src` for the CLI, `dist` for the
11
+ modules). npm's `files` whitelist replaces the default include set,
12
+ and CHANGELOG is not one of the auto-included files (only
13
+ `package.json`, `README*`, `LICENSE*`, and `main` are unconditional).
14
+
15
+ As a result, every release through 0.3.0 published tarballs with no
16
+ CHANGELOG, so a consumer running `npm install` or unpacking the brew
17
+ artifact had no way to see what changed in the version they just
18
+ installed. The repo `cli/CHANGELOG.md` and the GitHub Release body
19
+ remain the canonical source until 0.3.1 ships with this fix.
20
+
21
+ ## 0.3.0
22
+
23
+ ### Minor Changes
24
+
25
+ - be3b3cb: Project list now merges same-name git projects that share a remote URL across daemons into a single card.
26
+
27
+ - `ProjectContext.snapshot()` (SDK) now captures the origin remote URL via `git config --get remote.origin.url` and exposes a `normalizeGitRemoteUrl` helper for callers that need their own equality comparison.
28
+ - The daemon's `validate_project_path` response carries a new `git_remote_url` field. Old daemons that don't send it stay forward-compatible — the web server treats missing values as "unmergeable" so projects from those daemons render standalone until they're refreshed.
29
+ - New web API surface:
30
+ - `PATCH /api/projects { mergeOptOut: true }` opts a project out of auto-grouping (manual split for accidental name collisions).
31
+ - `PATCH /api/projects { refresh: true }` re-runs the daemon validation handshake and back-fills `git_remote_url` for projects created before this feature.
32
+ - `GET /api/issues?project_ids=a,b` fetches issues from multiple projects in one call; responses include `daemonHost` + `projectName` for cross-daemon attribution.
33
+ - Schema: two new optional columns on `projects`: `git_remote_url` (nullable string) and `merge_opt_out` (boolean, default false). Run `pnpm -C web db:push` before upgrading.
34
+
35
+ ### Other Changes (retroactively documented)
36
+
37
+ The following changes shipped in `@love-moon/conductor-sdk@0.3.0` but
38
+ were merged without a `changeset` entry. See
39
+ `claw/lessons/arch_release-packages-pnpm-changesets-20260512.md` for
40
+ why this happened and the rule that every PR touching `modules/**`
41
+ must run `npm run changeset`.
42
+
43
+ - SDK helpers and types behind the new CLI `conductor project|issue|task`
44
+ entity commands (RFC 0025). Programs that already depended on SDK
45
+ project/issue/task surfaces gain a few stable convenience entry
46
+ points; callers using only the public client API see no change.
47
+ (`2e10756`)
48
+ - Reconnect: the SDK client survives the daemon-side websocket
49
+ late-send-after-disconnect crash path (companion fix to the daemon
50
+ change in `@love-moon/conductor-cli@0.3.0`). (`a3532cc`)
51
+ - Reconnect: stale `taskAttach` calls from a previously-bound fire
52
+ process no longer establish ghost bindings. (`dc73be9`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@love-moon/conductor-sdk",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/lovemoon-ai/conductor.git"
@@ -9,7 +9,8 @@
9
9
  "main": "dist/index.js",
10
10
  "types": "dist/index.d.ts",
11
11
  "files": [
12
- "dist"
12
+ "dist",
13
+ "CHANGELOG.md"
13
14
  ],
14
15
  "publishConfig": {
15
16
  "access": "public",
@@ -32,5 +33,5 @@
32
33
  "typescript": "^5.6.3",
33
34
  "vitest": "^2.1.4"
34
35
  },
35
- "gitCommitId": "b9f33cd"
36
+ "gitCommitId": "03b4582"
36
37
  }