@yyopc/yyork 0.1.0-alpha.5 → 0.1.0-alpha.6

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.
@@ -62,8 +62,8 @@ Rules:
62
62
 
63
63
  - Worker sessions require a non-empty `--prompt`.
64
64
  - `--type` accepts only `worker` or `orchestrator`.
65
- - `--workspace` accepts only `new-worktree` or `local`, and matters for workers. Orchestrator sessions always run in the main project worktree.
66
- - If isolation matters, pass `--workspace new-worktree` explicitly. Use `--workspace local` only when the worker should continue in the main worktree.
65
+ - Worker workspace mode comes from the project's topbar setting: `work locally` or `new worktree`. Public `yyork spawn` does not accept a workspace override.
66
+ - Orchestrator sessions always run in the main project worktree.
67
67
  - Workers spawned from an orchestrator inherit `YYORK_PROJECT_PATH`; do not override it unless intentionally targeting a different absolute project path.
68
68
  - Project IDs are absolute project paths, not slugs. Use the path shown by `yyork session list` or `$YYORK_PROJECT_PATH` for `--project`.
69
69
  - Use `--agent codex` only when the Codex plugin is the intended runtime; otherwise the default is `claude-code`.
@@ -84,7 +84,7 @@ Include:
84
84
  EOF
85
85
  )
86
86
 
87
- yyork spawn --json --type worker --workspace new-worktree --prompt "$prompt"
87
+ yyork spawn --json --type worker --prompt "$prompt"
88
88
  ```
89
89
 
90
90
  ## Coordinating Sessions
package/README.md CHANGED
@@ -26,61 +26,20 @@ yyork is a local app for supervising multiple AI coding agents at once.
26
26
  ## Install
27
27
 
28
28
  ```bash
29
+ # try without installing
30
+ npx yyork ~/Projects/my-app
31
+
32
+ # npm
29
33
  npm i -g @yyopc/yyork
34
+
35
+ # Nix flakes
36
+ nix profile add github:yyopc/yyork
30
37
  ```
31
38
 
32
39
  ## Basic flow
33
40
 
34
41
  ```bash
35
42
  yyork ~/Projects/my-app
36
-
37
- # optional/manual worker spawn
38
- yyork spawn --type worker --prompt "add a health-check endpoint"
39
- yyork session list
40
- yyork stop <sessionId>
41
- ```
42
-
43
- `yyork ~/Projects/my-app` starts the app and ensures the project has a
44
- yyork-owned orchestrator in its own worktree and Zellij session. That
45
- orchestrator can delegate workers with `yyork spawn --type worker --prompt ...`;
46
- nested spawns keep targeting the original project.
47
- Session state stays in `~/.yyork/state.db`, with no external orchestrator
48
- runtime required.
49
-
50
- ## Development
51
-
52
- ```bash
53
- nix develop
54
- # or, with direnv:
55
- direnv allow
56
-
57
- pnpm install
58
- pnpm dev
59
- pnpm test
60
- ```
61
-
62
- The Nix dev shell supplies the repo-local Go, Node.js, pnpm, and helper tooling.
63
- Inside that shell, `yyork` is a development shortcut for `pnpm dev`.
64
-
65
- ## Release
66
-
67
- ```bash
68
- nix develop
69
- pnpm release:check
70
43
  ```
71
44
 
72
- `release:check` builds the app, stages the native package for the current
73
- OS/CPU, packs the thin `@yyopc/yyork` wrapper, installs both into an isolated
74
- temp prefix with `go` intentionally unavailable, and runs the installed
75
- `yyork` binary. The native package step fetches and caches the pinned Zellij
76
- binary under `third_party/zellij/<platform>/` before copying it into the
77
- tarball.
78
-
79
- Distribution builds run in GitHub Actions. The release workflow uses
80
- GoReleaser to build stripped platform-specific `yyork` archives and publish
81
- the GitHub release assets. A dependent npm packaging job wraps those exact
82
- archives into native npm packages with bundled Zellij, smoke-tests install with
83
- `go` unavailable, uploads the npm tarballs, and publishes the native packages
84
- before the `@yyopc/yyork` wrapper.
85
-
86
45
  YYOIT © [yyopc](https://github.com/yyopc)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yyopc/yyork",
3
- "version": "0.1.0-alpha.5",
3
+ "version": "0.1.0-alpha.6",
4
4
  "private": false,
5
5
  "description": "Agent routing platform with an interface to the agent router.",
6
6
  "homepage": "https://github.com/yyopc/yyork#readme",
@@ -36,10 +36,10 @@
36
36
  "portless": "0.14.0"
37
37
  },
38
38
  "optionalDependencies": {
39
- "@yyopc/yyork-darwin-arm64": "0.1.0-alpha.5",
40
- "@yyopc/yyork-darwin-x64": "0.1.0-alpha.5",
41
- "@yyopc/yyork-linux-arm64": "0.1.0-alpha.5",
42
- "@yyopc/yyork-linux-x64": "0.1.0-alpha.5"
39
+ "@yyopc/yyork-darwin-arm64": "0.1.0-alpha.6",
40
+ "@yyopc/yyork-darwin-x64": "0.1.0-alpha.6",
41
+ "@yyopc/yyork-linux-arm64": "0.1.0-alpha.6",
42
+ "@yyopc/yyork-linux-x64": "0.1.0-alpha.6"
43
43
  },
44
44
  "engines": {
45
45
  "node": ">=18"
@@ -75,7 +75,7 @@
75
75
  "mock:dev": "portless mock.yyork --force -- pnpm --filter @yyork/web mock:dev",
76
76
  "mock:dev:direct": "pnpm --filter @yyork/web mock:dev:direct",
77
77
  "docs:build": "pnpm --filter @yyork/docs build",
78
- "backend:build": "pnpm web:build && go build -o ./yyork .",
78
+ "backend:build": "pnpm web:build && node ./bin/build-backend.mjs",
79
79
  "backend:test": "go test ./...",
80
80
  "build": "pnpm web:build && pnpm backend:build",
81
81
  "lint": "pnpm backend:test && pnpm web:lint",