orizu 0.4.0 → 0.5.0
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/README.md +22 -13
- package/dist/artifact-archive.js +152 -0
- package/dist/connectors-cli.js +80 -0
- package/dist/credentials.js +4 -1
- package/dist/daytona-slice-rehearsal.js +255 -0
- package/dist/daytona-slice.js +441 -0
- package/dist/egress-allowlist-cli.js +132 -0
- package/dist/egress-policy.js +159 -0
- package/dist/git-credential.js +131 -0
- package/dist/github-setup.js +226 -0
- package/dist/help.js +276 -21
- package/dist/hosted-bootstrap-rehearsal.js +235 -0
- package/dist/hosted-bootstrap.js +365 -0
- package/dist/hosted-broker-server.js +220 -0
- package/dist/hosted-git-http-server.js +136 -0
- package/dist/hosted-harness-claude.js +493 -0
- package/dist/hosted-harness-opencode.js +729 -0
- package/dist/hosted-harness.js +60 -0
- package/dist/hosted-loop.js +477 -0
- package/dist/hosted-run-event-sink.js +499 -0
- package/dist/hosted-runtime-assets.js +216 -0
- package/dist/hosted-session-cli.js +642 -0
- package/dist/index.js +945 -258
- package/dist/kill-switch-cli.js +89 -0
- package/dist/manifests-cli.js +143 -0
- package/dist/preview-runtime.js +4 -1
- package/dist/sandbox-provider.js +238 -0
- package/dist/secret-redaction.js +112 -0
- package/dist/session-timeline.js +103 -0
- package/dist/setup-prompt.js +4 -2
- package/dist/skill-installer.js +9 -1
- package/dist/smoke.js +250 -0
- package/dist/task-assignment-manifest.js +96 -0
- package/dist/vercel-sandbox-provider.js +260 -0
- package/dist/workbench-cli.js +493 -0
- package/dist/workspace-sync.js +924 -0
- package/dist/workspace.js +868 -57
- package/package.json +4 -1
- package/src/artifact-archive.ts +182 -0
- package/src/connectors-cli.ts +115 -0
- package/src/credentials.ts +6 -2
- package/src/daytona-slice-rehearsal.ts +320 -0
- package/src/daytona-slice.ts +598 -0
- package/src/egress-allowlist-cli.ts +147 -0
- package/src/egress-policy.ts +188 -0
- package/src/git-credential.ts +155 -0
- package/src/github-setup.ts +366 -0
- package/src/help.ts +277 -21
- package/src/hosted-bootstrap-rehearsal.ts +312 -0
- package/src/hosted-bootstrap.ts +571 -0
- package/src/hosted-broker-server.ts +278 -0
- package/src/hosted-git-http-server.ts +164 -0
- package/src/hosted-harness-claude.ts +621 -0
- package/src/hosted-harness-opencode.ts +823 -0
- package/src/hosted-harness.ts +124 -0
- package/src/hosted-loop.ts +680 -0
- package/src/hosted-run-event-sink.ts +632 -0
- package/src/hosted-runtime-assets.ts +272 -0
- package/src/hosted-session-cli.ts +844 -0
- package/src/index.ts +1102 -317
- package/src/kill-switch-cli.ts +113 -0
- package/src/manifests-cli.ts +168 -0
- package/src/preview-runtime.ts +14 -9
- package/src/sandbox-provider.ts +440 -0
- package/src/secret-redaction.ts +124 -0
- package/src/session-timeline.ts +152 -0
- package/src/setup-prompt.ts +4 -2
- package/src/skill-installer.ts +13 -1
- package/src/smoke.ts +342 -0
- package/src/task-assignment-manifest.ts +164 -0
- package/src/vercel-sandbox-provider.ts +388 -0
- package/src/workbench-cli.ts +701 -0
- package/src/workspace-sync.ts +1148 -0
- package/src/workspace.ts +1051 -64
- package/vendor/skills/orizu-cli/SKILL.md +8 -4
- package/vendor/skills/orizu-cli/references/cli-reference.md +12 -4
|
@@ -22,8 +22,10 @@ Skip this skill when:
|
|
|
22
22
|
|
|
23
23
|
- Node.js 20+ installed.
|
|
24
24
|
- Install the CLI: `npm i -g orizu`.
|
|
25
|
-
-
|
|
25
|
+
- Run `orizu setup` to sign in, initialize the workbench, and install the global Codex/Claude Code skill symlinks.
|
|
26
|
+
- Or install this skill directly from the CLI package with `orizu install-skill --agent codex --yes` (or `--agent claude`; advanced target IDs remain available via `--target`).
|
|
26
27
|
- Or read the bundled skill in place without installing: `orizu skills path --json` returns `root`, `skillMd`, `source`, `cliVersion`, and `skillHash`.
|
|
28
|
+
- Before doing Orizu work, verify the runtime with `orizu --version` and `orizu capabilities --json`. If the CLI is missing or stale, pause and ask the user to update it.
|
|
27
29
|
- After CLI upgrades, check installed copies with `orizu skills status` and refresh them with `orizu skills update`.
|
|
28
30
|
- Rediscover the command surface any time with `orizu --help`, `orizu <group> --help`, or `orizu capabilities --json`.
|
|
29
31
|
- Every command supports `--json` (prefix `orizu --json <cmd>` or trailing flag) and emits a single JSON document; prefer it over parsing human-formatted text. Long-running commands emit the JSON summary as the final stdout line.
|
|
@@ -89,6 +91,8 @@ orizu tasks create --project <teamSlug>/<projectSlug> --dataset <datasetId> --ap
|
|
|
89
91
|
|
|
90
92
|
# Open the returned task URL and test the draft manually before assigning.
|
|
91
93
|
orizu tasks publish --task <taskId> --assignees <userId1,userId2>
|
|
94
|
+
# Or publish exact row assignments:
|
|
95
|
+
orizu tasks publish --task <taskId> --assignment-file ./assignments.jsonl
|
|
92
96
|
|
|
93
97
|
orizu tasks status --task <taskId>
|
|
94
98
|
orizu tasks report set --task <taskId> --report-file ./task-report.md
|
|
@@ -175,9 +179,9 @@ Detailed walkthrough — GEPA mechanics, Orizu-tracked optimization, optional DS
|
|
|
175
179
|
# Execution rules
|
|
176
180
|
|
|
177
181
|
- Prefer explicit flags in non-TTY contexts; reserve interactive fallback for TTY.
|
|
178
|
-
- Canonical selectors: `--team`, `--project`, `--app`, `--task`, `--dataset`, `--assignees`.
|
|
179
|
-
- `tasks create` creates drafts by default. Test the returned task URL manually, then use `tasks publish --task <taskId> --assignees <userId1,userId2>` after approval.
|
|
180
|
-
- `tasks assign` and `tasks publish` take user IDs, not emails.
|
|
182
|
+
- Canonical selectors: `--team`, `--project`, `--app`, `--task`, `--dataset`, `--assignees`, `--assignment-file`.
|
|
183
|
+
- `tasks create` creates drafts by default. Test the returned task URL manually, then use `tasks publish --task <taskId> --assignees <userId1,userId2>` or `tasks publish --task <taskId> --assignment-file <path>` after approval.
|
|
184
|
+
- `tasks assign --assignees` and `tasks publish --assignees` take user IDs, not emails. `--assignment-file` accepts emails or user IDs in JSONL rows shaped as `{ "rowId": "...", "assignee": "..." }` or `{ "rowId": "...", "assignees": ["..."] }`.
|
|
181
185
|
- `datasets edit-rows` requires a non-empty string `id` on each row in `--file`.
|
|
182
186
|
- `datasets delete-rows` uses `--row-ids` as the canonical selector.
|
|
183
187
|
- `datasets delete` requires interactive terminal confirmation; there is no non-interactive confirmation option.
|
|
@@ -42,7 +42,7 @@ orizu skills path [--skill-md] [--json]
|
|
|
42
42
|
orizu skills status [--json]
|
|
43
43
|
orizu skills update [--dry-run] [--json]
|
|
44
44
|
orizu install-skill [--agent <claude|codex>]... [--scope global|project] [--mode auto|link|copy] [--yes] [--dry-run] [--json]
|
|
45
|
-
orizu setup [--agent <claude|codex>]... [--
|
|
45
|
+
orizu setup [--team <slug>] [--agent <claude|codex>]... [--workspace [path]|--no-workspace] [--validate] [--fix] [--no-symlinks] [--verbose] [--no-install] [--handoff] [--yes] [--dry-run] [--no-input|--non-interactive] [--json]
|
|
46
46
|
orizu setup prompt [--json]
|
|
47
47
|
```
|
|
48
48
|
|
|
@@ -50,8 +50,8 @@ Behavior:
|
|
|
50
50
|
- `capabilities --json` returns the full machine-readable command manifest, including `globalOptions`.
|
|
51
51
|
- `skills path --json` returns where this skill's source lives (`root`, `skillMd`, `source`, `cliVersion`, `skillHash`) so you can read it without installing, and verify an installed copy matches the CLI.
|
|
52
52
|
- `skills status` reports each install target as missing/current/stale/broken-link; `skills update` refreshes stale copies and repairs broken symlinks.
|
|
53
|
-
- `install-skill` selects targets by agent name; `--scope global` (default) installs user-level, `--scope project` into the repo. Project-scope installs always copy; global installs symlink when the CLI path is stable. Advanced target IDs remain available via `--target`.
|
|
54
|
-
- `orizu setup` is the guided onboarding flow (login →
|
|
53
|
+
- `install-skill` selects targets by agent name; `--scope global` (default) installs user-level (`~/.codex/skills`, `~/.claude/skills`), `--scope project` installs into the repo. Project-scope installs always copy; global installs symlink when the CLI path is stable. Advanced target IDs remain available via `--target`.
|
|
54
|
+
- `orizu setup` is the guided onboarding flow (login → team workspace contract → global coding-agent skill install). Use `orizu setup --team <slug>` for agent-friendly setup of the current directory; after authentication it materializes every project in that team. Use `--workspace <path>` only when setting up or validating another directory. Interactive setup offers Codex when `~/.codex` exists and Claude Code when `~/.claude` exists; pass `--agent codex --agent claude` for non-interactive installs. The contract uses root `AGENTS.md`, `CLAUDE.md`, `Memory.md`, `orizu.team.json`, project manifests, primitive directories, and gitignore policy. `.orizu/` and `.logs/` are ignored cache/generated state, not the durable contract. `orizu setup prompt` prints the repo-adoption prompt for handing to a coding agent; pass `orizu setup --handoff` only when you want that prompt printed inline after setup.
|
|
55
55
|
|
|
56
56
|
### Teams
|
|
57
57
|
|
|
@@ -186,23 +186,28 @@ orizu tasks create \
|
|
|
186
186
|
Behavior:
|
|
187
187
|
- task creation creates a draft by default and returns a task URL to test manually before assigning
|
|
188
188
|
- use `--publish --assignees <userIdOrEmail1,userIdOrEmail2>` only when you intentionally want to create and ship immediately
|
|
189
|
+
- use `--assignment-file <path>` instead of `--assignees` when specific rows should go to specific labellers
|
|
189
190
|
- after manually approving a draft, run `orizu tasks publish --task <taskId> --assignees <userId1,userId2>`
|
|
191
|
+
- or run `orizu tasks publish --task <taskId> --assignment-file <path>` to publish the exact row map
|
|
190
192
|
- task creation resolves and stores the app's pinned current `version_id` at create time
|
|
191
193
|
- downstream consumers (exports, judges, optimization) should trust the task's pinned `version_id`, not the app's current pointer
|
|
192
194
|
- dataset compatibility is validated against that pinned app version before the task is inserted
|
|
193
195
|
- malformed JSON and mixed-type assignee arrays fail with deterministic `400` responses
|
|
194
196
|
- assignment fanout enforces unique `(assignee, row)` pairs; `--labels-per-item` cannot exceed the number of unique assignees, and the backend shortfalls instead of duplicating
|
|
197
|
+
- explicit assignment manifests are JSONL with `rowId` plus `assignee` or `assignees`; row IDs are canonical dataset row `id` values, assignees may be emails or user IDs, and V1 publish requires whole-dataset uniform coverage
|
|
195
198
|
|
|
196
199
|
Publish:
|
|
197
200
|
|
|
198
201
|
```bash
|
|
199
202
|
orizu tasks publish --task <taskId> --assignees <userId1,userId2>
|
|
203
|
+
orizu tasks publish --task <taskId> --assignment-file ./assignments.jsonl
|
|
200
204
|
```
|
|
201
205
|
|
|
202
206
|
Assign:
|
|
203
207
|
|
|
204
208
|
```bash
|
|
205
209
|
orizu tasks assign --task <taskId> --assignees <userId1,userId2>
|
|
210
|
+
orizu tasks assign --task <taskId> --assignment-file ./assignments.jsonl --replace-existing
|
|
206
211
|
```
|
|
207
212
|
|
|
208
213
|
Status:
|
|
@@ -301,6 +306,8 @@ orizu tasks create \
|
|
|
301
306
|
|
|
302
307
|
# Open the returned task URL and test the draft manually before assigning.
|
|
303
308
|
orizu tasks publish --task <taskId> --assignees <userId1,userId2>
|
|
309
|
+
# Or publish a deterministic row map:
|
|
310
|
+
orizu tasks publish --task <taskId> --assignment-file ./assignments.jsonl
|
|
304
311
|
|
|
305
312
|
orizu tasks status --task <taskId>
|
|
306
313
|
orizu tasks export --task <taskId> --format csv --out ./support-round1.csv
|
|
@@ -321,7 +328,8 @@ Use these shortcuts only in TTY environments where prompts can run.
|
|
|
321
328
|
|
|
322
329
|
- `tasks create` creates a draft by default, does not require `--assignees`, and pins the app's current version when the task is created.
|
|
323
330
|
- `tasks create --publish --assignees <...>` intentionally creates and ships immediately.
|
|
324
|
-
- `tasks assign` and
|
|
331
|
+
- `tasks create|publish|assign --assignment-file <path>` is mutually exclusive with `--assignees` and accepts emails or user IDs in the JSONL manifest.
|
|
332
|
+
- `tasks assign --assignees` and `tasks publish --assignees` expect user IDs, not emails.
|
|
325
333
|
- Assignment queue reads are assignee-self-only; use task status/export as the operator summary path.
|
|
326
334
|
- Assignment completion payloads are validated against the pinned app-version `output_json_schema`.
|
|
327
335
|
- `datasets delete-rows` requires `--row-ids`.
|