@yyopc/yyork 0.1.0-alpha.3 → 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,71 +26,20 @@ yyork is a local app for supervising multiple AI coding agents at once.
26
26
  ## Install
27
27
 
28
28
  ```bash
29
- npm i -g @yyopc/yyork
30
- ```
29
+ # try without installing
30
+ npx yyork ~/Projects/my-app
31
31
 
32
- The npm package installs a prebuilt native `yyork` binary for your OS/CPU
33
- through optional platform packages such as `@yyopc/yyork-darwin-arm64` and
34
- `@yyopc/yyork-linux-x64`. It also installs the bundled `yyork-cli` agent skill
35
- into `~/.agents/skills/yyork-cli` and runs `yyork doctor` as a warning-only
36
- postinstall check.
32
+ # npm
33
+ npm i -g @yyopc/yyork
37
34
 
38
- Requirements: npm/Node.js for the npm launcher, plus git and at least one
39
- supported agent CLI on your `PATH` to run sessions. Native packages carry a
40
- pinned bundled Zellij runtime for yyork's private session management.
35
+ # Nix flakes
36
+ nix profile add github:yyopc/yyork
37
+ ```
41
38
 
42
39
  ## Basic flow
43
40
 
44
41
  ```bash
45
42
  yyork ~/Projects/my-app
46
-
47
- # optional/manual worker spawn
48
- yyork spawn --type worker --prompt "add a health-check endpoint"
49
- yyork session list
50
- yyork stop <sessionId>
51
- ```
52
-
53
- `yyork ~/Projects/my-app` starts the app and ensures the project has a
54
- yyork-owned orchestrator in its own worktree and Zellij session. That
55
- orchestrator can delegate workers with `yyork spawn --type worker --prompt ...`;
56
- nested spawns keep targeting the original project.
57
- Session state stays in `~/.yyork/state.db`, with no external orchestrator
58
- runtime required.
59
-
60
- ## Development
61
-
62
- ```bash
63
- nix develop
64
- # or, with direnv:
65
- direnv allow
66
-
67
- pnpm install
68
- pnpm dev
69
- pnpm test
70
43
  ```
71
44
 
72
- The Nix dev shell supplies the repo-local Go, Node.js, pnpm, and helper tooling.
73
- Inside that shell, `yyork` is a development shortcut for `pnpm dev`.
74
-
75
- ## Release
76
-
77
- ```bash
78
- nix develop
79
- pnpm release:check
80
- ```
81
-
82
- `release:check` builds the app, stages the native package for the current
83
- OS/CPU, packs the thin `@yyopc/yyork` wrapper, installs both into an isolated
84
- temp prefix with `go` intentionally unavailable, and runs the installed
85
- `yyork` binary. The native package step fetches and caches the pinned Zellij
86
- binary under `third_party/zellij/<platform>/` before copying it into the
87
- tarball.
88
-
89
- Distribution builds run in GitHub Actions. The release workflow uses
90
- GoReleaser to build stripped platform-specific `yyork` archives and publish
91
- the GitHub release assets. A dependent npm packaging job wraps those exact
92
- archives into native npm packages with bundled Zellij, smoke-tests install with
93
- `go` unavailable, uploads the npm tarballs, and publishes the native packages
94
- before the `@yyopc/yyork` wrapper.
95
-
96
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.3",
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.3",
40
- "@yyopc/yyork-darwin-x64": "0.1.0-alpha.3",
41
- "@yyopc/yyork-linux-arm64": "0.1.0-alpha.3",
42
- "@yyopc/yyork-linux-x64": "0.1.0-alpha.3"
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",