@codions/portta 0.0.0-next.167.sha-e1101be → 0.0.0-next.173.sha-2bd7dd1

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 (31) hide show
  1. package/dist/assets/skills/portta-workflows/SKILL.md +1 -1
  2. package/dist/assets/workflows/bake-off.workflow.js +6 -5
  3. package/dist/assets/workflows/code-review.workflow.js +4 -4
  4. package/dist/assets/workflows/deep-research.workflow.js +4 -3
  5. package/dist/assets/workflows/multi-provider-review.workflow.js +5 -4
  6. package/dist/assets/workflows/provider-debate.workflow.js +7 -6
  7. package/dist/assets/workflows/second-opinion.workflow.js +4 -3
  8. package/dist/cli.js +969 -875
  9. package/dist/documentation.json +1 -1
  10. package/dist/host.js +111 -99
  11. package/dist/runtime/.env.example +8 -17
  12. package/dist/runtime/VERSION +1 -1
  13. package/dist/runtime/docker/compose/features/panel-host.yaml +4 -5
  14. package/dist/runtime/templates/README.md +9 -6
  15. package/dist/runtime/templates/overlays/07-worktree.env +1 -1
  16. package/dist/runtime/templates/project/PORTTA.md +3 -3
  17. package/dist/supervisor.js +0 -1
  18. package/package.json +2 -5
  19. package/dist/runtime/config/traefik/dynamic/auth.example.yaml.disabled +0 -24
  20. package/dist/runtime/docker/images/README.md +0 -12
  21. package/dist/runtime/docker/images/sandbox/Dockerfile +0 -79
  22. package/dist/runtime/docker/images/sandbox/README.md +0 -109
  23. package/dist/runtime/docker/images/sandbox/VERSION +0 -1
  24. package/dist/runtime/docker/images/sandbox/agents/claude-code.sh +0 -18
  25. package/dist/runtime/docker/images/sandbox/agents/codex.sh +0 -4
  26. package/dist/runtime/docker/images/sandbox/agents/opencode.sh +0 -4
  27. package/dist/runtime/docker/images/sandbox/agents/pi.sh +0 -4
  28. package/dist/runtime/docker/images/sandbox/scripts/entrypoint.sh +0 -8
  29. package/dist/runtime/docker/images/sandbox/scripts/generate-manifest.mjs +0 -81
  30. package/dist/runtime/docker/images/sandbox/scripts/install-tools.sh +0 -46
  31. package/dist/runtime/docker/images/sandbox/scripts/verify-image.sh +0 -18
@@ -251,7 +251,7 @@ Use `portta flow workflows validate <file>` before adding or changing a catalog
251
251
 
252
252
  ## Saved / named workflows
253
253
 
254
- Workflow IDs come from **`meta.name`**, not the filename. The durable Taskflow catalog resolves across three tiers, highest precedence first: **project** (`<project>/.portta/workflows/`), **global** (`~/.portta/state/host/workflows/`), and package **built-ins**. Place new workflows in Taskflow directories.
254
+ Workflow IDs come from **`meta.name`**, not the filename. The durable Taskflow catalog resolves across three tiers, highest precedence first: **project** (`<project>/.portta/workflows/`), **global** (`~/portta/state/host/workflows/`), and package **built-ins**. Place new workflows in Taskflow directories.
255
255
 
256
256
  Six built-ins ship with Taskflow. Two are ports of Claude Code's bundled workflows:
257
257
  - **`deep-research`** — scope → 5 parallel web searches → fetch/dedup top sources → 3-vote adversarial verification per claim → cited report.
@@ -1,8 +1,9 @@
1
- // Taskflow bake-off: both providers implement the same task in isolated fork leases, then
2
- // blind judges from both providers score the two diffs (neutral A/B labels, shuffled per run, so
3
- // neither judge knows whose work is whose), a tie-break settles splits, and the closing report
4
- // says what to graft from the loser. Both worktree branches are preserved for the user.
5
- // Run with: portta flow workflows run bake-off --args '"<task>"' (or --args '{"task": "..."}')
1
+ // Bake-off: both providers implement the same task in isolated fork leases, then blind judges
2
+ // from both providers score the two diffs (neutral A/B labels, shuffled per run, so neither judge
3
+ // knows whose work is whose), a tie-break settles splits, and the closing report says what to
4
+ // graft from the loser. Both worktree branches are preserved for the user.
5
+ // Run with: portta flow run workflow bake-off --input '<task>'
6
+ // or: portta flow workflows run bake-off --args '"<task>"' (or --args '{"task": "..."}')
6
7
 
7
8
  export const meta = {
8
9
  name: "bake-off",
@@ -1,7 +1,7 @@
1
- // Port of Claude Code's built-in `code-review` workflow: one finder agent per review angle, an
2
- // independent verifier per candidate finding (CONFIRMED / PLAUSIBLE / REFUTED), a gap-sweep at
3
- // the higher levels, then a ranked, capped report.
4
- // Run with: portta flow workflows run code-review [--args '{"target": "<ref|path|diff>", "level": "high|xhigh|max"}']
1
+ // Code review: one finder agent per review angle, an independent verifier per candidate finding
2
+ // (CONFIRMED / PLAUSIBLE / REFUTED), a gap-sweep at the higher levels, then a ranked, capped report.
3
+ // Run with: portta flow run workflow code-review [--input-json '{"target": "<ref|path|diff>", "level": "high|xhigh|max"}']
4
+ // or: portta flow workflows run code-review [--args '{"target": "<ref|path|diff>", "level": "high|xhigh|max"}']
5
5
 
6
6
  export const meta = {
7
7
  name: "code-review",
@@ -1,6 +1,7 @@
1
- // Port of Claude Code's built-in `deep-research` workflow: fan out web searches, deep-read the
2
- // best sources, adversarially verify every claim with a 3-vote panel, synthesize a cited report.
3
- // Run with: portta flow workflows run deep-research --args '"<question>"'
1
+ // Deep research: fan out web searches, deep-read the best sources, adversarially verify every
2
+ // claim with a 3-vote panel, synthesize a cited report.
3
+ // Run with: portta flow run workflow deep-research --input '<question>'
4
+ // or: portta flow workflows run deep-research --args '"<question>"'
4
5
 
5
6
  export const meta = {
6
7
  name: "deep-research",
@@ -1,7 +1,8 @@
1
- // taskflow-original built-in: the same change reviewed twice — once by Codex, once by Claude —
2
- // each over the ENTIRE feature/branch, then a synthesis pass merges both: consensus findings
3
- // (both providers saw it → highest confidence), unique catches, and disagreements called out.
4
- // Run with: portta flow workflows run multi-provider-review [--args '{"target": "<ref|path|diff>"}']
1
+ // Multi-provider review: the same change reviewed twice — once by Codex, once by Claude — each
2
+ // over the ENTIRE feature/branch, then a synthesis pass merges both: consensus findings (both
3
+ // providers saw it → highest confidence), unique catches, and disagreements called out.
4
+ // Run with: portta flow run workflow multi-provider-review [--input-json '{"target": "<ref|path|diff>"}']
5
+ // or: portta flow workflows run multi-provider-review [--args '{"target": "<ref|path|diff>"}']
5
6
 
6
7
  export const meta = {
7
8
  name: "multi-provider-review",
@@ -1,9 +1,10 @@
1
- // taskflow-original built-in: one provider proposes a position, the other attacks it, the
2
- // proposer rebuts or concedes, for N rounds — then a judge rules on what actually survived.
3
- // The cross-provider attacker is the point: a model is measurably worse at finding holes in its
4
- // own reasoning than another model is.
5
- // Run with: portta flow workflows run provider-debate --args '"<question>"'
6
- // or: --args '{"question": "...", "rounds": 2, "proposer": "codex" | "claude-code"}'
1
+ // Provider debate: one provider proposes a position, the other attacks it, the proposer rebuts
2
+ // or concedes, for N rounds — then a judge rules on what actually survived. The cross-provider
3
+ // attacker is the point: a model is measurably worse at finding holes in its own reasoning than
4
+ // another model is.
5
+ // Run with: portta flow run workflow provider-debate --input '<question>'
6
+ // or: portta flow workflows run provider-debate --args '"<question>"'
7
+ // (or --args '{"question": "...", "rounds": 2, "proposer": "codex" | "claude-code"}')
7
8
 
8
9
  export const meta = {
9
10
  name: "provider-debate",
@@ -1,8 +1,9 @@
1
- // taskflow-original built-in: ask both providers cheaply; if they agree, merge and return — if
2
- // they disagree, escalate both to deep effort with the other's answer in hand, then adjudicate.
1
+ // Second opinion: ask both providers cheaply; if they agree, merge and return — if they
2
+ // disagree, escalate both to deep effort with the other's answer in hand, then adjudicate.
3
3
  // Disagreement-triggered escalation: consensus-grade confidence at roughly half the cost of
4
4
  // always running the full panel.
5
- // Run with: portta flow workflows run second-opinion --args '"<question>"'
5
+ // Run with: portta flow run workflow second-opinion --input '<question>'
6
+ // or: portta flow workflows run second-opinion --args '"<question>"'
6
7
 
7
8
  export const meta = {
8
9
  name: "second-opinion",