furb-cli 0.2.0__tar.gz
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.
- furb_cli-0.2.0/.claude/skills/frontend-design/LICENSE.txt +177 -0
- furb_cli-0.2.0/.claude/skills/frontend-design/SKILL.md +71 -0
- furb_cli-0.2.0/.claude/skills/gh-stack/LICENSE +21 -0
- furb_cli-0.2.0/.claude/skills/gh-stack/SKILL.md +194 -0
- furb_cli-0.2.0/.claude/skills/gh-stack/references/commands.md +212 -0
- furb_cli-0.2.0/.claude/skills/gh-stack/references/stack-design.md +97 -0
- furb_cli-0.2.0/.claude/skills/gh-stack/references/troubleshooting.md +186 -0
- furb_cli-0.2.0/.claude/skills/opentui/SKILL.md +234 -0
- furb_cli-0.2.0/.claude/skills/opentui/references/animation/REFERENCE.md +386 -0
- furb_cli-0.2.0/.claude/skills/opentui/references/components/REFERENCE.md +151 -0
- furb_cli-0.2.0/.claude/skills/opentui/references/components/code-diff.md +305 -0
- furb_cli-0.2.0/.claude/skills/opentui/references/components/containers.md +503 -0
- furb_cli-0.2.0/.claude/skills/opentui/references/components/inputs.md +578 -0
- furb_cli-0.2.0/.claude/skills/opentui/references/components/text-display.md +504 -0
- furb_cli-0.2.0/.claude/skills/opentui/references/core/REFERENCE.md +176 -0
- furb_cli-0.2.0/.claude/skills/opentui/references/core/api.md +592 -0
- furb_cli-0.2.0/.claude/skills/opentui/references/core/configuration.md +201 -0
- furb_cli-0.2.0/.claude/skills/opentui/references/core/gotchas.md +400 -0
- furb_cli-0.2.0/.claude/skills/opentui/references/core/patterns.md +449 -0
- furb_cli-0.2.0/.claude/skills/opentui/references/keyboard/REFERENCE.md +664 -0
- furb_cli-0.2.0/.claude/skills/opentui/references/keymap/REFERENCE.md +119 -0
- furb_cli-0.2.0/.claude/skills/opentui/references/layout/REFERENCE.md +339 -0
- furb_cli-0.2.0/.claude/skills/opentui/references/layout/patterns.md +444 -0
- furb_cli-0.2.0/.claude/skills/opentui/references/react/REFERENCE.md +177 -0
- furb_cli-0.2.0/.claude/skills/opentui/references/react/api.md +330 -0
- furb_cli-0.2.0/.claude/skills/opentui/references/react/configuration.md +302 -0
- furb_cli-0.2.0/.claude/skills/opentui/references/react/gotchas.md +443 -0
- furb_cli-0.2.0/.claude/skills/opentui/references/react/patterns.md +501 -0
- furb_cli-0.2.0/.claude/skills/opentui/references/solid/REFERENCE.md +204 -0
- furb_cli-0.2.0/.claude/skills/opentui/references/solid/api.md +434 -0
- furb_cli-0.2.0/.claude/skills/opentui/references/solid/configuration.md +316 -0
- furb_cli-0.2.0/.claude/skills/opentui/references/solid/gotchas.md +427 -0
- furb_cli-0.2.0/.claude/skills/opentui/references/solid/patterns.md +560 -0
- furb_cli-0.2.0/.claude/skills/opentui/references/testing/REFERENCE.md +657 -0
- furb_cli-0.2.0/.claude/skills/test-audit/CAMPAIGN.md +93 -0
- furb_cli-0.2.0/.claude/skills/test-audit/LICENSE.txt +24 -0
- furb_cli-0.2.0/.claude/skills/test-audit/SKILL.md +165 -0
- furb_cli-0.2.0/.claude/skills/testing/LICENSE.txt +24 -0
- furb_cli-0.2.0/.claude/skills/testing/SKILL.md +64 -0
- furb_cli-0.2.0/.editorconfig +15 -0
- furb_cli-0.2.0/.furb/config.json +5 -0
- furb_cli-0.2.0/.furb/extensions/conductor/conductor.py +747 -0
- furb_cli-0.2.0/.furb/extensions/conductor/furb.json +1 -0
- furb_cli-0.2.0/.gitattributes +3 -0
- furb_cli-0.2.0/.github/actions/setup/action.yml +62 -0
- furb_cli-0.2.0/.github/workflows/gates.yml +138 -0
- furb_cli-0.2.0/.github/workflows/publish.yml +159 -0
- furb_cli-0.2.0/.gitignore +19 -0
- furb_cli-0.2.0/.pre-commit-config.yaml +60 -0
- furb_cli-0.2.0/.python-version +1 -0
- furb_cli-0.2.0/CLAUDE.md +278 -0
- furb_cli-0.2.0/Cargo.lock +6200 -0
- furb_cli-0.2.0/Cargo.toml +138 -0
- furb_cli-0.2.0/DOCTRINE.md +24 -0
- furb_cli-0.2.0/LICENSE +661 -0
- furb_cli-0.2.0/PKG-INFO +13 -0
- furb_cli-0.2.0/README.md +122 -0
- furb_cli-0.2.0/bind/python/README.md +65 -0
- furb_cli-0.2.0/bind/python/furb_monty/__init__.py +11 -0
- furb_cli-0.2.0/bind/python/furb_monty/_monty.pyi +390 -0
- furb_cli-0.2.0/bind/python/furb_monty/engine.py +337 -0
- furb_cli-0.2.0/bind/python/pyproject.toml +57 -0
- furb_cli-0.2.0/bind/typescript/README.md +241 -0
- furb_cli-0.2.0/bind/typescript/build.ts +37 -0
- furb_cli-0.2.0/bind/typescript/index.cjs +2 -0
- furb_cli-0.2.0/bind/typescript/index.d.cts +528 -0
- furb_cli-0.2.0/bind/typescript/package.json +35 -0
- furb_cli-0.2.0/bind/typescript/src/activity.ts +198 -0
- furb_cli-0.2.0/bind/typescript/src/changes.ts +177 -0
- furb_cli-0.2.0/bind/typescript/src/console.ts +112 -0
- furb_cli-0.2.0/bind/typescript/src/ears.ts +53 -0
- furb_cli-0.2.0/bind/typescript/src/framework.ts +278 -0
- furb_cli-0.2.0/bind/typescript/src/index.ts +30 -0
- furb_cli-0.2.0/bind/typescript/src/life/acts.ts +70 -0
- furb_cli-0.2.0/bind/typescript/src/life/asks.ts +151 -0
- furb_cli-0.2.0/bind/typescript/src/life/debugger.ts +37 -0
- furb_cli-0.2.0/bind/typescript/src/life/index.ts +11 -0
- furb_cli-0.2.0/bind/typescript/src/life/ladder.ts +280 -0
- furb_cli-0.2.0/bind/typescript/src/life/loom.ts +365 -0
- furb_cli-0.2.0/bind/typescript/src/life/map.ts +74 -0
- furb_cli-0.2.0/bind/typescript/src/life/plain.ts +28 -0
- furb_cli-0.2.0/bind/typescript/src/life/source.ts +139 -0
- furb_cli-0.2.0/bind/typescript/src/life/threads.ts +187 -0
- furb_cli-0.2.0/bind/typescript/src/life/time.ts +28 -0
- furb_cli-0.2.0/bind/typescript/src/life/watch.ts +36 -0
- furb_cli-0.2.0/bind/typescript/src/project.ts +48 -0
- furb_cli-0.2.0/bind/typescript/src/session.ts +337 -0
- furb_cli-0.2.0/bind/typescript/src/types.ts +147 -0
- furb_cli-0.2.0/bind/typescript/test/claude.ts +56 -0
- furb_cli-0.2.0/bind/typescript/test/engine.test.ts +318 -0
- furb_cli-0.2.0/bind/typescript/test/examples.test.ts +136 -0
- furb_cli-0.2.0/bind/typescript/test/executable.ts +67 -0
- furb_cli-0.2.0/bind/typescript/test/images.test.ts +31 -0
- furb_cli-0.2.0/bind/typescript/test/life/acts.ts +27 -0
- furb_cli-0.2.0/bind/typescript/test/life/asks.test.ts +114 -0
- furb_cli-0.2.0/bind/typescript/test/life/debugger.test.ts +88 -0
- furb_cli-0.2.0/bind/typescript/test/life/graph.test.ts +199 -0
- furb_cli-0.2.0/bind/typescript/test/life/life.test.ts +13 -0
- furb_cli-0.2.0/bind/typescript/test/life/loom.test.ts +390 -0
- furb_cli-0.2.0/bind/typescript/test/processes.ts +33 -0
- furb_cli-0.2.0/bind/typescript/test/session.test.ts +888 -0
- furb_cli-0.2.0/bind/typescript/test/until.ts +21 -0
- furb_cli-0.2.0/bind/typescript/tsconfig.json +11 -0
- furb_cli-0.2.0/biome.json +16 -0
- furb_cli-0.2.0/build.rs +854 -0
- furb_cli-0.2.0/bun.lock +913 -0
- furb_cli-0.2.0/cli/Cargo.toml +28 -0
- furb_cli-0.2.0/cli/src/console.rs +133 -0
- furb_cli-0.2.0/cli/src/life.rs +190 -0
- furb_cli-0.2.0/cli/src/main.rs +282 -0
- furb_cli-0.2.0/cli/src/rpc.rs +354 -0
- furb_cli-0.2.0/cli/src/tui.rs +116 -0
- furb_cli-0.2.0/cli/src/tui.test.rs +88 -0
- furb_cli-0.2.0/cli/tests/furb.rs +827 -0
- furb_cli-0.2.0/docs/audit.md +61 -0
- furb_cli-0.2.0/docs/developer-guide.md +158 -0
- furb_cli-0.2.0/docs/examples/README.md +295 -0
- furb_cli-0.2.0/docs/examples/package.json +8 -0
- furb_cli-0.2.0/docs/examples/python/chains.py +16 -0
- furb_cli-0.2.0/docs/examples/python/door.py +15 -0
- furb_cli-0.2.0/docs/examples/python/durable.py +12 -0
- furb_cli-0.2.0/docs/examples/python/grant.py +18 -0
- furb_cli-0.2.0/docs/examples/python/questions.py +14 -0
- furb_cli-0.2.0/docs/examples/rust/chains.rs +23 -0
- furb_cli-0.2.0/docs/examples/rust/door.rs +17 -0
- furb_cli-0.2.0/docs/examples/rust/durable.rs +13 -0
- furb_cli-0.2.0/docs/examples/rust/grant.rs +19 -0
- furb_cli-0.2.0/docs/examples/rust/questions.rs +20 -0
- furb_cli-0.2.0/docs/examples/typescript/chains.ts +7 -0
- furb_cli-0.2.0/docs/examples/typescript/door.ts +8 -0
- furb_cli-0.2.0/docs/examples/typescript/durable.ts +4 -0
- furb_cli-0.2.0/docs/examples/typescript/grant.ts +11 -0
- furb_cli-0.2.0/docs/examples/typescript/questions.ts +13 -0
- furb_cli-0.2.0/docs/extensions.md +195 -0
- furb_cli-0.2.0/docs/furb.gif +0 -0
- furb_cli-0.2.0/docs/rpc.md +193 -0
- furb_cli-0.2.0/docs/screenshots/01-welcome.png +0 -0
- furb_cli-0.2.0/docs/screenshots/02-feed.png +0 -0
- furb_cli-0.2.0/docs/screenshots/03-transcript.png +0 -0
- furb_cli-0.2.0/docs/screenshots/04-changes.png +0 -0
- furb_cli-0.2.0/docs/screenshots/05-command-palette.png +0 -0
- furb_cli-0.2.0/docs/screenshots/06-models.png +0 -0
- furb_cli-0.2.0/docs/screenshots/07-effort.png +0 -0
- furb_cli-0.2.0/docs/screenshots/08-operator-question.png +0 -0
- furb_cli-0.2.0/docs/screenshots/09-operator-dialog.png +0 -0
- furb_cli-0.2.0/docs/screenshots/10-python-input.png +0 -0
- furb_cli-0.2.0/docs/screenshots/11-value-inspector.png +0 -0
- furb_cli-0.2.0/docs/screenshots/12-light-theme.png +0 -0
- furb_cli-0.2.0/docs/screenshots/13-midnight-theme.png +0 -0
- furb_cli-0.2.0/docs/screenshots/14-theme-picker.png +0 -0
- furb_cli-0.2.0/docs/screenshots/15-chains.png +0 -0
- furb_cli-0.2.0/docs/screenshots/16-help.png +0 -0
- furb_cli-0.2.0/docs/screenshots/17-narrow.png +0 -0
- furb_cli-0.2.0/docs/screenshots/18-live-command.png +0 -0
- furb_cli-0.2.0/docs/screenshots/19-model-progress.png +0 -0
- furb_cli-0.2.0/docs/screenshots/20-gate-findings.png +0 -0
- furb_cli-0.2.0/docs/screenshots/21-paused-resume.png +0 -0
- furb_cli-0.2.0/docs/screenshots/22-operator-notice.png +0 -0
- furb_cli-0.2.0/docs/screenshots/23-rewind-tree.png +0 -0
- furb_cli-0.2.0/docs/screenshots/24-empty-results.png +0 -0
- furb_cli-0.2.0/docs/screenshots/25-loading.png +0 -0
- furb_cli-0.2.0/docs/screenshots/26-error.png +0 -0
- furb_cli-0.2.0/docs/screenshots/27-view-error.png +0 -0
- furb_cli-0.2.0/docs/screenshots/28-workspace-tree.png +0 -0
- furb_cli-0.2.0/docs/screenshots/29-collapsed-rung.png +0 -0
- furb_cli-0.2.0/docs/screenshots/30-collapsed-workspace.png +0 -0
- furb_cli-0.2.0/docs/screenshots/31-hidden-sidebar.png +0 -0
- furb_cli-0.2.0/docs/screenshots/32-workspace-picker.png +0 -0
- furb_cli-0.2.0/docs/screenshots/33-session-tree.png +0 -0
- furb_cli-0.2.0/docs/screenshots/34-queued-follow-up.png +0 -0
- furb_cli-0.2.0/docs/screenshots/35-queue-editor.png +0 -0
- furb_cli-0.2.0/docs/screenshots/36-image-attachment.png +0 -0
- furb_cli-0.2.0/docs/screenshots/37-share-conversation.png +0 -0
- furb_cli-0.2.0/docs/screenshots/38-delete-session.png +0 -0
- furb_cli-0.2.0/docs/screenshots/39-external-editor.png +0 -0
- furb_cli-0.2.0/docs/screenshots/40-file-picker.png +0 -0
- furb_cli-0.2.0/docs/screenshots/41-slash-suggestions.png +0 -0
- furb_cli-0.2.0/docs/screenshots/42-extension-command.png +0 -0
- furb_cli-0.2.0/docs/screenshots/43-undo-message.png +0 -0
- furb_cli-0.2.0/docs/screenshots/44-redo-message.png +0 -0
- furb_cli-0.2.0/docs/screenshots/45-stash.png +0 -0
- furb_cli-0.2.0/docs/screenshots/46-value-suggestions.png +0 -0
- furb_cli-0.2.0/docs/screenshots/47-retried-word.png +0 -0
- furb_cli-0.2.0/docs/screenshots/48-archive-session.png +0 -0
- furb_cli-0.2.0/docs/screenshots/49-session-menu.png +0 -0
- furb_cli-0.2.0/docs/screenshots/50-rename-session.png +0 -0
- furb_cli-0.2.0/docs/screenshots/51-markdown.png +0 -0
- furb_cli-0.2.0/docs/screenshots/52-many-questions.png +0 -0
- furb_cli-0.2.0/docs/screenshots/53-question-dialog.png +0 -0
- furb_cli-0.2.0/docs/screenshots/54-next-question.png +0 -0
- furb_cli-0.2.0/docs/screenshots/55-answer-landed.png +0 -0
- furb_cli-0.2.0/docs/screenshots/56-record-to-read.png +0 -0
- furb_cli-0.2.0/docs/screenshots/57-message-menu.png +0 -0
- furb_cli-0.2.0/docs/screenshots/58-cancel-confirm.png +0 -0
- furb_cli-0.2.0/docs/screenshots/59-take-back.png +0 -0
- furb_cli-0.2.0/docs/screenshots/60-long-ladder.png +0 -0
- furb_cli-0.2.0/docs/screenshots/61-folded-steps.png +0 -0
- furb_cli-0.2.0/docs/screenshots/62-model-retry.png +0 -0
- furb_cli-0.2.0/docs/screenshots/63-setup-no-model.png +0 -0
- furb_cli-0.2.0/docs/screenshots/64-watch-a-life.png +0 -0
- furb_cli-0.2.0/docs/screenshots/65-watch-earlier.png +0 -0
- furb_cli-0.2.0/docs/screenshots/66-loom.png +0 -0
- furb_cli-0.2.0/docs/screenshots/67-loom-time-cursor.png +0 -0
- furb_cli-0.2.0/docs/screenshots/68-graph.png +0 -0
- furb_cli-0.2.0/docs/screenshots/69-graph-map.png +0 -0
- furb_cli-0.2.0/docs/screenshots/70-graph-program.png +0 -0
- furb_cli-0.2.0/docs/screenshots/71-graph-word.png +0 -0
- furb_cli-0.2.0/docs/screenshots/72-graph-act.png +0 -0
- furb_cli-0.2.0/docs/screenshots/73-graph-command.png +0 -0
- furb_cli-0.2.0/docs/screenshots/74-extension-part.png +0 -0
- furb_cli-0.2.0/docs/screenshots/74-rewind-files.png +0 -0
- furb_cli-0.2.0/docs/screenshots/75-extension-part-error.png +0 -0
- furb_cli-0.2.0/docs/screenshots/76-changes-turn.png +0 -0
- furb_cli-0.2.0/docs/screenshots/76-screen-reader.png +0 -0
- furb_cli-0.2.0/docs/screenshots/77-changes-life.png +0 -0
- furb_cli-0.2.0/docs/screenshots/77-no-color.png +0 -0
- furb_cli-0.2.0/docs/screenshots/78-changes-branch.png +0 -0
- furb_cli-0.2.0/docs/screenshots/78-terminal-light.png +0 -0
- furb_cli-0.2.0/docs/screenshots/79-changes-comment.png +0 -0
- furb_cli-0.2.0/docs/screenshots/80-changes-comment-input.png +0 -0
- furb_cli-0.2.0/docs/tui.md +506 -0
- furb_cli-0.2.0/extensions/compaction/compaction.py +133 -0
- furb_cli-0.2.0/extensions/compaction/compaction.pyi +38 -0
- furb_cli-0.2.0/extensions/compaction/furb.json +1 -0
- furb_cli-0.2.0/extensions/compaction/test/test_chooser.py +21 -0
- furb_cli-0.2.0/extensions/compaction/test/test_chosen.py +16 -0
- furb_cli-0.2.0/extensions/compaction/test/test_compact.py +23 -0
- furb_cli-0.2.0/extensions/compaction/test/test_compacted.py +38 -0
- furb_cli-0.2.0/extensions/compaction/test/test_compaction.py +15 -0
- furb_cli-0.2.0/extensions/compaction/test/test_filters.py +14 -0
- furb_cli-0.2.0/extensions/compaction/test/test_label.py +14 -0
- furb_cli-0.2.0/extensions/compaction/test/test_latest.py +19 -0
- furb_cli-0.2.0/extensions/compaction/test/test_quiet.py +18 -0
- furb_cli-0.2.0/extensions/compaction/test/test_recent.py +21 -0
- furb_cli-0.2.0/extensions/compaction/test/test_reground.py +24 -0
- furb_cli-0.2.0/extensions/compaction/test/test_share.py +20 -0
- furb_cli-0.2.0/extensions/compaction/test/test_together.py +16 -0
- furb_cli-0.2.0/extensions/conftest.py +135 -0
- furb_cli-0.2.0/extensions/memory/furb.json +1 -0
- furb_cli-0.2.0/extensions/memory/memory.py +37 -0
- furb_cli-0.2.0/extensions/memory/memory.pyi +26 -0
- furb_cli-0.2.0/extensions/memory/test/test_memory.py +50 -0
- furb_cli-0.2.0/extensions/memory/test/test_memory_shape.py +95 -0
- furb_cli-0.2.0/extensions/memory/test/test_remember.py +91 -0
- furb_cli-0.2.0/extensions/ouroboros/furb.json +1 -0
- furb_cli-0.2.0/extensions/ouroboros/ouroboros.py +57 -0
- furb_cli-0.2.0/extensions/ouroboros/ouroboros.pyi +21 -0
- furb_cli-0.2.0/extensions/ouroboros/test/test_enabled.py +14 -0
- furb_cli-0.2.0/extensions/ouroboros/test/test_extend.py +91 -0
- furb_cli-0.2.0/extensions/ouroboros/test/test_lore.py +21 -0
- furb_cli-0.2.0/extensions/ouroboros/test/test_ouroboros.py +27 -0
- furb_cli-0.2.0/extensions/skills/extending/SKILL.md +87 -0
- furb_cli-0.2.0/extensions/skills/furb.json +1 -0
- furb_cli-0.2.0/extensions/skills/skills.py +15 -0
- furb_cli-0.2.0/extensions/skills/skills.pyi +24 -0
- furb_cli-0.2.0/extensions/skills/test/test_counted.py +46 -0
- furb_cli-0.2.0/extensions/skills/test/test_skill.py +49 -0
- furb_cli-0.2.0/extensions/skills/test/test_skills.py +70 -0
- furb_cli-0.2.0/extensions/web/furb.json +1 -0
- furb_cli-0.2.0/extensions/web/test/test_text_act.py +23 -0
- furb_cli-0.2.0/extensions/web/test/test_web.py +16 -0
- furb_cli-0.2.0/extensions/web/test/test_web_fetch.py +40 -0
- furb_cli-0.2.0/extensions/web/test/test_web_search.py +46 -0
- furb_cli-0.2.0/extensions/web/web.py +26 -0
- furb_cli-0.2.0/extensions/web/web.pyi +20 -0
- furb_cli-0.2.0/gui/.gitignore +2 -0
- furb_cli-0.2.0/gui/DESIGN.md +78 -0
- furb_cli-0.2.0/gui/README.md +69 -0
- furb_cli-0.2.0/gui/docs/screenshots/preview-real-picker.png +0 -0
- furb_cli-0.2.0/gui/docs/screenshots/preview-real-thread.png +0 -0
- furb_cli-0.2.0/gui/docs/screenshots/preview-thread-paper.png +0 -0
- furb_cli-0.2.0/gui/docs/screenshots/preview-thread.png +0 -0
- furb_cli-0.2.0/gui/index.html +12 -0
- furb_cli-0.2.0/gui/package.json +41 -0
- furb_cli-0.2.0/gui/script/shots.ts +40 -0
- furb_cli-0.2.0/gui/src/App.tsx +62 -0
- furb_cli-0.2.0/gui/src/components/Code.tsx +252 -0
- furb_cli-0.2.0/gui/src/components/Glyph.tsx +62 -0
- furb_cli-0.2.0/gui/src/components/Picker.tsx +119 -0
- furb_cli-0.2.0/gui/src/components/Rail.tsx +218 -0
- furb_cli-0.2.0/gui/src/components/ThreadView.tsx +175 -0
- furb_cli-0.2.0/gui/src/components/Tip.tsx +30 -0
- furb_cli-0.2.0/gui/src/components/TopBar.tsx +38 -0
- furb_cli-0.2.0/gui/src/data/demo.json +888 -0
- furb_cli-0.2.0/gui/src/data.ts +92 -0
- furb_cli-0.2.0/gui/src/life.ts +236 -0
- furb_cli-0.2.0/gui/src/main.tsx +21 -0
- furb_cli-0.2.0/gui/src/steps.ts +103 -0
- furb_cli-0.2.0/gui/src/styles.css +202 -0
- furb_cli-0.2.0/gui/tsconfig.json +22 -0
- furb_cli-0.2.0/gui/vite.config.ts +21 -0
- furb_cli-0.2.0/package.json +33 -0
- furb_cli-0.2.0/pyproject.toml +52 -0
- furb_cli-0.2.0/reserve/README.md +11 -0
- furb_cli-0.2.0/rust-toolchain.toml +4 -0
- furb_cli-0.2.0/rustfmt.toml +9 -0
- furb_cli-0.2.0/script/CLAUDE.md +106 -0
- furb_cli-0.2.0/script/bench/audit.py +170 -0
- furb_cli-0.2.0/script/bench/crash.py +346 -0
- furb_cli-0.2.0/script/bench/loop.py +310 -0
- furb_cli-0.2.0/script/bench/replay.py +223 -0
- furb_cli-0.2.0/script/catalog.py +168 -0
- furb_cli-0.2.0/script/deepswe.py +884 -0
- furb_cli-0.2.0/script/play.py +209 -0
- furb_cli-0.2.0/script/real.py +76 -0
- furb_cli-0.2.0/script/smoke.py +70 -0
- furb_cli-0.2.0/script/worktree.sh +55 -0
- furb_cli-0.2.0/skills-lock.json +17 -0
- furb_cli-0.2.0/src/binding/py.rs +1275 -0
- furb_cli-0.2.0/src/binding/ts/host.rs +458 -0
- furb_cli-0.2.0/src/binding/ts.rs +528 -0
- furb_cli-0.2.0/src/binding.rs +752 -0
- furb_cli-0.2.0/src/ear.rs +427 -0
- furb_cli-0.2.0/src/engine.rs +1850 -0
- furb_cli-0.2.0/src/engine.test.rs +1101 -0
- furb_cli-0.2.0/src/extension/memory.rs +162 -0
- furb_cli-0.2.0/src/extension/skills.rs +158 -0
- furb_cli-0.2.0/src/extension/web.rs +200 -0
- furb_cli-0.2.0/src/extension/web.test.rs +175 -0
- furb_cli-0.2.0/src/extension.rs +387 -0
- furb_cli-0.2.0/src/extension.test.rs +342 -0
- furb_cli-0.2.0/src/fact.rs +70 -0
- furb_cli-0.2.0/src/furb/CLAUDE.md +220 -0
- furb_cli-0.2.0/src/furb/__init__.py +25 -0
- furb_cli-0.2.0/src/furb/engine.py +831 -0
- furb_cli-0.2.0/src/furb/engine.pyi +1071 -0
- furb_cli-0.2.0/src/furb/kernel.py +153 -0
- furb_cli-0.2.0/src/furb/life.py +267 -0
- furb_cli-0.2.0/src/furb/py.typed +0 -0
- furb_cli-0.2.0/src/furb/sheet.py +176 -0
- furb_cli-0.2.0/src/furb/world.py +195 -0
- furb_cli-0.2.0/src/gate.rs +592 -0
- furb_cli-0.2.0/src/lib.rs +51 -0
- furb_cli-0.2.0/src/life/host.rs +455 -0
- furb_cli-0.2.0/src/life.rs +317 -0
- furb_cli-0.2.0/src/life.test.rs +421 -0
- furb_cli-0.2.0/src/sand.rs +342 -0
- furb_cli-0.2.0/src/sand.test.rs +27 -0
- furb_cli-0.2.0/src/snapshot.rs +183 -0
- furb_cli-0.2.0/src/value.rs +227 -0
- furb_cli-0.2.0/src/wire.rs +279 -0
- furb_cli-0.2.0/src/wire.test.rs +44 -0
- furb_cli-0.2.0/src/world/bash.rs +603 -0
- furb_cli-0.2.0/src/world/bash.test.rs +54 -0
- furb_cli-0.2.0/src/world/files.rs +189 -0
- furb_cli-0.2.0/src/world/files.test.rs +56 -0
- furb_cli-0.2.0/src/world/log.rs +192 -0
- furb_cli-0.2.0/src/world/log.test.rs +48 -0
- furb_cli-0.2.0/src/world/operator.rs +149 -0
- furb_cli-0.2.0/src/world/operator.test.rs +56 -0
- furb_cli-0.2.0/src/world/provider/catalog.json +2069 -0
- furb_cli-0.2.0/src/world/provider/catalog.rs +724 -0
- furb_cli-0.2.0/src/world/provider/catalog.test.rs +556 -0
- furb_cli-0.2.0/src/world/provider/claude.rs +1242 -0
- furb_cli-0.2.0/src/world/provider/claude.test.rs +580 -0
- furb_cli-0.2.0/src/world/provider/clients.rs +239 -0
- furb_cli-0.2.0/src/world/provider/fake-claude.sh +86 -0
- furb_cli-0.2.0/src/world/provider/images.rs +235 -0
- furb_cli-0.2.0/src/world/provider/images.test.rs +97 -0
- furb_cli-0.2.0/src/world/provider/local.rs +418 -0
- furb_cli-0.2.0/src/world/provider/local.test.rs +410 -0
- furb_cli-0.2.0/src/world/provider/pi.rs +218 -0
- furb_cli-0.2.0/src/world/provider/pi.test.rs +27 -0
- furb_cli-0.2.0/src/world/provider/search.rs +305 -0
- furb_cli-0.2.0/src/world/provider/search.test.rs +116 -0
- furb_cli-0.2.0/src/world/provider.rs +1073 -0
- furb_cli-0.2.0/src/world/provider.test.rs +1275 -0
- furb_cli-0.2.0/src/world/reader.rs +295 -0
- furb_cli-0.2.0/src/world/reader.test.rs +184 -0
- furb_cli-0.2.0/src/world/scratch.rs +244 -0
- furb_cli-0.2.0/src/world/scratch.test.rs +188 -0
- furb_cli-0.2.0/src/world/store/lines.rs +118 -0
- furb_cli-0.2.0/src/world/store/lines.test.rs +46 -0
- furb_cli-0.2.0/src/world/store/sqlite.rs +95 -0
- furb_cli-0.2.0/src/world/store.rs +184 -0
- furb_cli-0.2.0/src/world/store.test.rs +145 -0
- furb_cli-0.2.0/src/world/time.rs +108 -0
- furb_cli-0.2.0/src/world.rs +101 -0
- furb_cli-0.2.0/src/world.test.rs +154 -0
- furb_cli-0.2.0/test/conftest.py +741 -0
- furb_cli-0.2.0/test/outside/__init__.py +0 -0
- furb_cli-0.2.0/test/outside/conftest.py +17 -0
- furb_cli-0.2.0/test/outside/crash/ink-grid-box-layout/life0.log +17 -0
- furb_cli-0.2.0/test/outside/crash/ink-grid-box-layout/life1.log +43 -0
- furb_cli-0.2.0/test/outside/crash/ink-grid-box-layout/life2.log +63 -0
- furb_cli-0.2.0/test/outside/crash/ink-grid-box-layout/lives.jsonl +4 -0
- furb_cli-0.2.0/test/outside/crash/ink-grid-box-layout/record.jsonl +402 -0
- furb_cli-0.2.0/test/outside/crash/ink-grid-box-layout/run.jsonl +1 -0
- furb_cli-0.2.0/test/outside/crash/ink-grid-box-layout/spawns.jsonl +3 -0
- furb_cli-0.2.0/test/outside/doubles.py +127 -0
- furb_cli-0.2.0/test/outside/test_crash.py +53 -0
- furb_cli-0.2.0/test/outside/test_examples.py +114 -0
- furb_cli-0.2.0/test/outside/test_harness.py +27 -0
- furb_cli-0.2.0/test/outside/test_kernel.py +170 -0
- furb_cli-0.2.0/test/outside/test_life.py +39 -0
- furb_cli-0.2.0/test/outside/test_monty.py +517 -0
- furb_cli-0.2.0/test/outside/test_switch.py +27 -0
- furb_cli-0.2.0/test/outside/test_world.py +193 -0
- furb_cli-0.2.0/test/test_act.py +222 -0
- furb_cli-0.2.0/test/test_act_await.py +104 -0
- furb_cli-0.2.0/test/test_act_shape.py +83 -0
- furb_cli-0.2.0/test/test_acting.py +18 -0
- furb_cli-0.2.0/test/test_actor.py +22 -0
- furb_cli-0.2.0/test/test_actor_shape.py +56 -0
- furb_cli-0.2.0/test/test_answer.py +18 -0
- furb_cli-0.2.0/test/test_ask.py +52 -0
- furb_cli-0.2.0/test/test_asked.py +15 -0
- furb_cli-0.2.0/test/test_bash.py +518 -0
- furb_cli-0.2.0/test/test_bash_shape.py +16 -0
- furb_cli-0.2.0/test/test_boot.py +708 -0
- furb_cli-0.2.0/test/test_bound.py +21 -0
- furb_cli-0.2.0/test/test_cancel.py +103 -0
- furb_cli-0.2.0/test/test_cancel_shape.py +31 -0
- furb_cli-0.2.0/test/test_cd.py +75 -0
- furb_cli-0.2.0/test/test_cd_shape.py +17 -0
- furb_cli-0.2.0/test/test_chain.py +1338 -0
- furb_cli-0.2.0/test/test_chain_shape.py +20 -0
- furb_cli-0.2.0/test/test_chance.py +37 -0
- furb_cli-0.2.0/test/test_chance_shape.py +15 -0
- furb_cli-0.2.0/test/test_clock.py +22 -0
- furb_cli-0.2.0/test/test_clock_shape.py +15 -0
- furb_cli-0.2.0/test/test_close.py +246 -0
- furb_cli-0.2.0/test/test_close_shape.py +45 -0
- furb_cli-0.2.0/test/test_control.py +68 -0
- furb_cli-0.2.0/test/test_controlled.py +200 -0
- furb_cli-0.2.0/test/test_covers.py +51 -0
- furb_cli-0.2.0/test/test_cwd.py +72 -0
- furb_cli-0.2.0/test/test_debug.py +177 -0
- furb_cli-0.2.0/test/test_differs.py +26 -0
- furb_cli-0.2.0/test/test_done.py +84 -0
- furb_cli-0.2.0/test/test_drift.py +92 -0
- furb_cli-0.2.0/test/test_drive.py +127 -0
- furb_cli-0.2.0/test/test_ear.py +306 -0
- furb_cli-0.2.0/test/test_entry.py +50 -0
- furb_cli-0.2.0/test/test_exit.py +36 -0
- furb_cli-0.2.0/test/test_fact.py +150 -0
- furb_cli-0.2.0/test/test_filled.py +37 -0
- furb_cli-0.2.0/test/test_filter.py +67 -0
- furb_cli-0.2.0/test/test_gate.py +186 -0
- furb_cli-0.2.0/test/test_gate_shape.py +163 -0
- furb_cli-0.2.0/test/test_get.py +61 -0
- furb_cli-0.2.0/test/test_grant.py +230 -0
- furb_cli-0.2.0/test/test_grant_shape.py +17 -0
- furb_cli-0.2.0/test/test_grep.py +14 -0
- furb_cli-0.2.0/test/test_head.py +17 -0
- furb_cli-0.2.0/test/test_headed.py +61 -0
- furb_cli-0.2.0/test/test_hidden.py +19 -0
- furb_cli-0.2.0/test/test_hygiene.py +250 -0
- furb_cli-0.2.0/test/test_idle.py +18 -0
- furb_cli-0.2.0/test/test_keep.py +29 -0
- furb_cli-0.2.0/test/test_largest.py +22 -0
- furb_cli-0.2.0/test/test_lives.py +32 -0
- furb_cli-0.2.0/test/test_merged.py +42 -0
- furb_cli-0.2.0/test/test_module.py +19 -0
- furb_cli-0.2.0/test/test_module_shape.py +18 -0
- furb_cli-0.2.0/test/test_note.py +260 -0
- furb_cli-0.2.0/test/test_offered.py +24 -0
- furb_cli-0.2.0/test/test_operator.py +19 -0
- furb_cli-0.2.0/test/test_out.py +31 -0
- furb_cli-0.2.0/test/test_over.py +19 -0
- furb_cli-0.2.0/test/test_pause.py +124 -0
- furb_cli-0.2.0/test/test_pause_shape.py +110 -0
- furb_cli-0.2.0/test/test_paused.py +17 -0
- furb_cli-0.2.0/test/test_peek.py +95 -0
- furb_cli-0.2.0/test/test_prefix.py +34 -0
- furb_cli-0.2.0/test/test_program.py +42 -0
- furb_cli-0.2.0/test/test_prompt.py +733 -0
- furb_cli-0.2.0/test/test_prompt_shape.py +14 -0
- furb_cli-0.2.0/test/test_question.py +24 -0
- furb_cli-0.2.0/test/test_question_shape.py +93 -0
- furb_cli-0.2.0/test/test_raised.py +41 -0
- furb_cli-0.2.0/test/test_read.py +265 -0
- furb_cli-0.2.0/test/test_read_shape.py +15 -0
- furb_cli-0.2.0/test/test_ready.py +71 -0
- furb_cli-0.2.0/test/test_refused.py +28 -0
- furb_cli-0.2.0/test/test_reply.py +360 -0
- furb_cli-0.2.0/test/test_root.py +12 -0
- furb_cli-0.2.0/test/test_run.py +225 -0
- furb_cli-0.2.0/test/test_rung.py +627 -0
- furb_cli-0.2.0/test/test_rung_shape.py +26 -0
- furb_cli-0.2.0/test/test_say.py +161 -0
- furb_cli-0.2.0/test/test_saying.py +29 -0
- furb_cli-0.2.0/test/test_scope.py +23 -0
- furb_cli-0.2.0/test/test_show.py +43 -0
- furb_cli-0.2.0/test/test_shown.py +17 -0
- furb_cli-0.2.0/test/test_site.py +41 -0
- furb_cli-0.2.0/test/test_span.py +31 -0
- furb_cli-0.2.0/test/test_stand.py +27 -0
- furb_cli-0.2.0/test/test_stand_shape.py +198 -0
- furb_cli-0.2.0/test/test_standing.py +45 -0
- furb_cli-0.2.0/test/test_standing_shape.py +50 -0
- furb_cli-0.2.0/test/test_started.py +46 -0
- furb_cli-0.2.0/test/test_tail.py +20 -0
- furb_cli-0.2.0/test/test_take.py +61 -0
- furb_cli-0.2.0/test/test_tell.py +81 -0
- furb_cli-0.2.0/test/test_tell_shape.py +54 -0
- furb_cli-0.2.0/test/test_tells.py +21 -0
- furb_cli-0.2.0/test/test_text.py +55 -0
- furb_cli-0.2.0/test/test_text_append.py +12 -0
- furb_cli-0.2.0/test/test_text_delete.py +13 -0
- furb_cli-0.2.0/test/test_text_edit.py +44 -0
- furb_cli-0.2.0/test/test_text_insert.py +12 -0
- furb_cli-0.2.0/test/test_text_replace.py +24 -0
- furb_cli-0.2.0/test/test_text_undo.py +23 -0
- furb_cli-0.2.0/test/test_timeout.py +17 -0
- furb_cli-0.2.0/test/test_told.py +55 -0
- furb_cli-0.2.0/test/test_transcript.py +65 -0
- furb_cli-0.2.0/test/test_turn.py +80 -0
- furb_cli-0.2.0/test/test_turns.py +184 -0
- furb_cli-0.2.0/test/test_under.py +48 -0
- furb_cli-0.2.0/test/test_unquoted.py +71 -0
- furb_cli-0.2.0/test/test_usage.py +54 -0
- furb_cli-0.2.0/test/test_wait.py +75 -0
- furb_cli-0.2.0/test/test_wait_shape.py +20 -0
- furb_cli-0.2.0/test/test_wake.py +164 -0
- furb_cli-0.2.0/test/test_wake_shape.py +35 -0
- furb_cli-0.2.0/test/test_wants.py +23 -0
- furb_cli-0.2.0/test/test_window.py +22 -0
- furb_cli-0.2.0/test/test_write.py +239 -0
- furb_cli-0.2.0/test/test_write_shape.py +15 -0
- furb_cli-0.2.0/tests/examples.rs +136 -0
- furb_cli-0.2.0/tsconfig.json +15 -0
- furb_cli-0.2.0/tui/DESIGN.md +489 -0
- furb_cli-0.2.0/tui/README.md +243 -0
- furb_cli-0.2.0/tui/fixtures/conductor.jsonl +4922 -0
- furb_cli-0.2.0/tui/fixtures/todo/furb.json +1 -0
- furb_cli-0.2.0/tui/fixtures/todo/todo.py +10 -0
- furb_cli-0.2.0/tui/fixtures/todo/tui.ts +33 -0
- furb_cli-0.2.0/tui/package.json +23 -0
- furb_cli-0.2.0/tui/script/animation.ts +165 -0
- furb_cli-0.2.0/tui/script/bench.ts +254 -0
- furb_cli-0.2.0/tui/script/docs.ts +25 -0
- furb_cli-0.2.0/tui/script/fixture.ts +148 -0
- furb_cli-0.2.0/tui/script/fonts/JetBrainsMono-Bold.ttf +0 -0
- furb_cli-0.2.0/tui/script/fonts/JetBrainsMono-Italic.ttf +0 -0
- furb_cli-0.2.0/tui/script/fonts/JetBrainsMono-Regular.ttf +0 -0
- furb_cli-0.2.0/tui/script/fonts/OFL.txt +93 -0
- furb_cli-0.2.0/tui/script/gif.ts +109 -0
- furb_cli-0.2.0/tui/script/gifenc.d.ts +19 -0
- furb_cli-0.2.0/tui/script/raster.ts +342 -0
- furb_cli-0.2.0/tui/script/screenshots.ts +846 -0
- furb_cli-0.2.0/tui/script/stage.ts +185 -0
- furb_cli-0.2.0/tui/script/test.ts +98 -0
- furb_cli-0.2.0/tui/src/app.ts +7200 -0
- furb_cli-0.2.0/tui/src/bridge.ts +228 -0
- furb_cli-0.2.0/tui/src/cli.ts +134 -0
- furb_cli-0.2.0/tui/src/clipboard.ts +65 -0
- furb_cli-0.2.0/tui/src/commands.ts +62 -0
- furb_cli-0.2.0/tui/src/conversation.ts +107 -0
- furb_cli-0.2.0/tui/src/demo.ts +134 -0
- furb_cli-0.2.0/tui/src/editor.ts +45 -0
- furb_cli-0.2.0/tui/src/emoji.ts +33 -0
- furb_cli-0.2.0/tui/src/files.ts +114 -0
- furb_cli-0.2.0/tui/src/format.ts +107 -0
- furb_cli-0.2.0/tui/src/graph.ts +963 -0
- furb_cli-0.2.0/tui/src/keys.ts +275 -0
- furb_cli-0.2.0/tui/src/models.ts +19 -0
- furb_cli-0.2.0/tui/src/overview.ts +261 -0
- furb_cli-0.2.0/tui/src/parsers.ts +28 -0
- furb_cli-0.2.0/tui/src/parts.ts +232 -0
- furb_cli-0.2.0/tui/src/preferences.ts +79 -0
- furb_cli-0.2.0/tui/src/queue.ts +34 -0
- furb_cli-0.2.0/tui/src/reading.ts +210 -0
- furb_cli-0.2.0/tui/src/record-worker.ts +17 -0
- furb_cli-0.2.0/tui/src/records.ts +27 -0
- furb_cli-0.2.0/tui/src/review.ts +137 -0
- furb_cli-0.2.0/tui/src/session.ts +1458 -0
- furb_cli-0.2.0/tui/src/setup.ts +78 -0
- furb_cli-0.2.0/tui/src/share.ts +116 -0
- furb_cli-0.2.0/tui/src/snapshots.ts +201 -0
- furb_cli-0.2.0/tui/src/theme.ts +328 -0
- furb_cli-0.2.0/tui/src/ui.ts +68 -0
- furb_cli-0.2.0/tui/src/worker.ts +383 -0
- furb_cli-0.2.0/tui/src/workspaces.ts +550 -0
- furb_cli-0.2.0/tui/test/access.test.ts +195 -0
- furb_cli-0.2.0/tui/test/app.test.ts +688 -0
- furb_cli-0.2.0/tui/test/bridge.test.ts +63 -0
- furb_cli-0.2.0/tui/test/cancel.test.ts +137 -0
- furb_cli-0.2.0/tui/test/cli.test.ts +125 -0
- furb_cli-0.2.0/tui/test/composer.test.ts +703 -0
- furb_cli-0.2.0/tui/test/composing.ts +80 -0
- furb_cli-0.2.0/tui/test/console-break.ts +28 -0
- furb_cli-0.2.0/tui/test/conversation.test.ts +20 -0
- furb_cli-0.2.0/tui/test/demo.test.ts +72 -0
- furb_cli-0.2.0/tui/test/features.test.ts +479 -0
- furb_cli-0.2.0/tui/test/files.test.ts +110 -0
- furb_cli-0.2.0/tui/test/idle.ts +5 -0
- furb_cli-0.2.0/tui/test/life-views.test.ts +174 -0
- furb_cli-0.2.0/tui/test/parts.test.ts +114 -0
- furb_cli-0.2.0/tui/test/preferences.test.ts +18 -0
- furb_cli-0.2.0/tui/test/reading.test.ts +61 -0
- furb_cli-0.2.0/tui/test/recorded.test.ts +70 -0
- furb_cli-0.2.0/tui/test/review.test.ts +197 -0
- furb_cli-0.2.0/tui/test/rewind.test.ts +102 -0
- furb_cli-0.2.0/tui/test/session.test.ts +312 -0
- furb_cli-0.2.0/tui/test/setup.test.ts +48 -0
- furb_cli-0.2.0/tui/test/snapshots.test.ts +194 -0
- furb_cli-0.2.0/tui/test/transcript.ts +5 -0
- furb_cli-0.2.0/tui/test/views.test.ts +504 -0
- furb_cli-0.2.0/tui/test/workspaces-replay.test.ts +48 -0
- furb_cli-0.2.0/tui/test/workspaces.test.ts +682 -0
- furb_cli-0.2.0/uv.lock +676 -0
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: frontend-design
|
|
3
|
+
description: Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
|
|
4
|
+
license: Complete terms in LICENSE.txt
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Frontend Design
|
|
8
|
+
|
|
9
|
+
Approach this as the design lead at a design studio known for giving every client a distinct visual identity that is not mistaken for anyone else's. This client has already rejected proposals that felt cliché or templated, and is paying for a distinctive point of view: make deliberate, opinionated choices about palette, typography, and layout that are specific to this brief, and take aesthetic risk if justified.
|
|
10
|
+
|
|
11
|
+
## Ground your designs in the subject matter
|
|
12
|
+
|
|
13
|
+
If the brief does not identify what the product or subject matter is, identify it yourself before designing, and confirm with the client. You can come up with one concrete subject, the design's audience, and the design's primary job, as a proposal. If there's any information in your memory about the client's preferences or context about what they're building, use that as a hint. The subject's industry, subject matter, materials, and vernacular are where distinctive visual choices come from — a design for a toy for girls aged 8–11 will be very aesthetically different from a dashboard for financial analysts. Build with the brief's real content and subject matter throughout.
|
|
14
|
+
|
|
15
|
+
## Design principles
|
|
16
|
+
|
|
17
|
+
For web designs, the hero is the first thing viewers will see. Open with the most characteristic thing in the subject's world, in the form that is most appropriate: a headline, an image, an animation, a live demo, an interactive moment, or other treatments. Be deliberate with your choice: a big number with a small label, supporting stats, and a gradient accent is the default treatment, so only use it if that's truly the best option.
|
|
18
|
+
|
|
19
|
+
Typography carries the personality of the page. You don't need a different typeface for display or headline text and body content: use one family or two, and if two, make them clearly distinct.
|
|
20
|
+
|
|
21
|
+
Choose your typefaces deliberately, not the default families you would reach for on any other project, and set a clear type scale following the default guidance of The Elements of Typographic Style with intentional weights, widths, and spacing. When type is used as a headline or visual element, use the type treatment itself as an active part of the design, not a neutral delivery vehicle for the content.
|
|
22
|
+
|
|
23
|
+
Default to line lengths of less than 80 characters. Serif typefaces can have slightly longer line lengths; give serif body text slightly more line-height than a sans-serif.
|
|
24
|
+
|
|
25
|
+
Avoid these default typographic treatments; they are the commonest tells of a generated page:
|
|
26
|
+
- Accenting just a single word or phrase in a headline, like putting one word in italic/bold or a different color.
|
|
27
|
+
- Using all caps for labels.
|
|
28
|
+
- Adding unnecessary typographic labels above content.
|
|
29
|
+
|
|
30
|
+
Visual structure is information. Structural devices like outlines, borders, numbering, eyebrows, dividers, labels, etc., encode useful information about the content rather than decorate it. Many generic designs use numbered markers (01 / 02 / 03), but that's only appropriate if the content actually is a sequence — like a stepped process or a timeline. Before adding numbered markers, check the content really is a sequence.
|
|
31
|
+
|
|
32
|
+
Use non-user-triggered motion sparingly and deliberately, only to draw attention. A single orchestrated moment — one page-load sequence or one reveal — lands better than scattered effects; fade-and-slide-up entrances on each section and hover transitions on every card are the generic default and read as AI-generated. Motion that answers a person's action (opening, expanding, confirming) is welcome when it shows what changed.
|
|
33
|
+
|
|
34
|
+
Consider written content carefully. Often a design brief may not contain real content, and it's up to you to come up with copy and placeholder content. Copy can make a design feel as templated as the design itself. See the below section on writing for more guidance.
|
|
35
|
+
|
|
36
|
+
## Process: plan, review against the brief, build, critique
|
|
37
|
+
|
|
38
|
+
For calibration, AI-generated design right now clusters around some traits:
|
|
39
|
+
1. a warm cream background (near #F4F1EA) with a high-contrast serif display and a terracotta or warm-clay accent (often near #D97757 — Anthropic's own Claude-interaction accent, so on a user's brief it reads as a tell);
|
|
40
|
+
2. a near-black background with a single bright acid-green or vermilion accent;
|
|
41
|
+
3. a broadsheet-style layout with hairline rules, zero border-radius, and dense newspaper-like columns;
|
|
42
|
+
4. the SaaS-card kit: content chopped into identical rounded cards, one border-radius on everything regardless of hierarchy, the same soft grey shadow (rgba(0,0,0,.1)) under each, and gradient washes as decoration;
|
|
43
|
+
5. template chrome that appears whatever the subject: a tracked-out ALL-CAPS eyebrow label above every heading; meta strings joined with middle dots ('A · B · C'); labels built as 'WORD — fragment' with a spaced em dash; tinted near-black (#0B0B0B, #111) standing in for black; a monospace face for small data labels; a '→' appended to link and button text.
|
|
44
|
+
|
|
45
|
+
All traits are legitimate for some briefs, but they are defaults rather than choices, and they appear regardless of subject. Where the brief pins down a visual direction, follow it exactly — the brief's own words always win, including when it asks for one of these looks. Where it leaves an axis free, don't spend that freedom on one of these defaults. As with a hired human designer, there's often a careful balance between doing what you're good at and taking each project as a chance to experiment and learn.
|
|
46
|
+
|
|
47
|
+
Work in two passes. First, brainstorm a short design plan based on the client's design brief: create a compact token system with color, type, layout, and principles.
|
|
48
|
+
- Color: describe the core base palette as 4–6 named hex values.
|
|
49
|
+
- Type: the typefaces and their roles.
|
|
50
|
+
- Layout: a layout concept, using one-sentence prose descriptions and ASCII wireframes to ideate and compare. Include alignment guidance; should the content be left aligned, center aligned, justified?
|
|
51
|
+
- Principles: the high-level guidance for what makes this page unique.
|
|
52
|
+
|
|
53
|
+
Then review that plan against the brief before building: if any part of it reads like the generic default you would produce for any similar page (work through a similar prompt to see if you arrive somewhere similar) rather than a choice made for this specific brief — revise that part, say what you changed and why. Only after you've confirmed the relative uniqueness of your design plan should you start to write the code, following the revised plan.
|
|
54
|
+
|
|
55
|
+
When writing the code, be careful of structuring your CSS selector specificities. It's easy to generate CSS classes that cancel each other out (especially with a type-based selector like .section and an element-based selector like .cta). This can happen often with padding/margin between sections.
|
|
56
|
+
|
|
57
|
+
## Restraint and self-critique
|
|
58
|
+
|
|
59
|
+
Spend your boldness in one place. Let one element be the memorable thing, keep everything around it quiet and disciplined, and cut any decoration that does not serve the brief. Build to a quality floor without announcing it: responsive down to mobile, visible keyboard focus, reduced motion respected, visually accessible, harmonious color palettes. Critique your own work as you build, taking screenshots to review if your environment supports it — a picture is worth 1000 tokens. Consider Chanel's advice: before leaving the house, take a look in the mirror and remove one accessory. Human creatives have memory and always try to do something new, so if you have a space to quickly jot down notes about what you've tried, it can help you in future passes.
|
|
60
|
+
|
|
61
|
+
## More on writing in design
|
|
62
|
+
|
|
63
|
+
Words appear in a design for one reason: to make it easier to understand and use. They are design content, not decoration. Bring the same intentionality and minimalism to copywriting that you would bring to spacing and color. Before writing anything, ask what the design needs to say, and how it can best be said to help the person navigate the experience.
|
|
64
|
+
|
|
65
|
+
Write from the end user's perspective. Name things by what users will understand in simple language, not by how the system is built. A user manages notifications, not webhook config. Describe what something is or does in plain terms rather than selling it. Being specific and legible to new users is always better than being clever.
|
|
66
|
+
|
|
67
|
+
Use active voice as default. A CTA says exactly what happens when it is used: "Save changes," not "Submit." An action keeps the same name through the whole flow, so the button that says "Publish" produces a toast that says "Published." The vocabulary of an interface is the signposting for someone navigating the product. Cohesion and consistency are how people learn their way around.
|
|
68
|
+
|
|
69
|
+
Treat failure and emptiness as moments for direction, not mood. Explain what went wrong and how to fix it, in the interface's voice rather than a person's. Errors don't apologize, and they are never vague about what happened. An empty screen is an invitation to act.
|
|
70
|
+
|
|
71
|
+
Keep the tone conversational: plain verbs, sentence case, no filler, with tone matched to the brand and the audience. Let each written element do exactly one job.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright GitHub, Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: |
|
|
3
|
+
Manages stacked PRs and splits multi-part work into reviewable branches with gh-stack. Use for stack creation, viewing, edits, push, submit, sync, rebase, merge, or checkout; when asked to split or isolate work for review; whenever a user mentions a stack, branch layers, dependent PRs, or gh stack; or when a stack is checked out.
|
|
4
|
+
metadata:
|
|
5
|
+
author: github
|
|
6
|
+
github-path: skills/gh-stack
|
|
7
|
+
github-ref: refs/tags/v0.2.1
|
|
8
|
+
github-repo: https://github.com/github/gh-stack
|
|
9
|
+
github-tree-sha: bde7bcf5a96697d31aa55b33565fa0ff002167ca
|
|
10
|
+
version: 0.2.0
|
|
11
|
+
name: gh-stack
|
|
12
|
+
---
|
|
13
|
+
# gh-stack
|
|
14
|
+
|
|
15
|
+
`gh stack` is a [GitHub CLI](https://cli.github.com/) extension for stacked branches and pull
|
|
16
|
+
requests. A stack is an ordered chain of branches rooted on a trunk, where each branch has one PR
|
|
17
|
+
based on the branch below it, so a reviewer sees only that layer's diff.
|
|
18
|
+
|
|
19
|
+
`gh stack` prints a stack trunk-first, left to right:
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
(main) <- auth <- api <- frontend
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Left is the **bottom**, right is the **top**. `auth` is based on `main` and merges first;
|
|
26
|
+
`frontend` merges last. `up` moves toward the top, away from trunk; `down` moves toward it.
|
|
27
|
+
Foundational work belongs at the bottom, code that depends on it above. For how to choose the
|
|
28
|
+
layers, read `references/stack-design.md`.
|
|
29
|
+
|
|
30
|
+
## Setup
|
|
31
|
+
|
|
32
|
+
Requires Git 2.36+ and an authenticated GitHub CLI.
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
gh extension install github/gh-stack
|
|
36
|
+
git config rerere.enabled true # remember conflict resolutions
|
|
37
|
+
git config remote.pushDefault origin # required if the repo has more than one remote
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Non-interactive use
|
|
41
|
+
|
|
42
|
+
`gh stack` branches on whether **stdout is a TTY**. Piped, most commands error cleanly or print
|
|
43
|
+
static text; under a PTY the same commands open a prompt or a full-screen TUI and block forever.
|
|
44
|
+
Agent harnesses differ, so always pass the flags below instead of relying on that detection.
|
|
45
|
+
|
|
46
|
+
**Multiple remotes:** never run `push`, `submit`, `sync`, `rebase`, or `link` without
|
|
47
|
+
`--remote <name>` unless `remote.pushDefault` is configured. `checkout` and `trunk` have no
|
|
48
|
+
`--remote` flag and require the config.
|
|
49
|
+
|
|
50
|
+
| Always run | Never run bare | Why |
|
|
51
|
+
|---|---|---|
|
|
52
|
+
| `gh stack view --json` | `gh stack view` | opens a TUI under a PTY |
|
|
53
|
+
| `gh stack submit --auto` | `gh stack submit` | prompts for a title per new PR |
|
|
54
|
+
| `gh stack merge <target> --yes` | `gh pr merge` | `gh pr merge` cannot merge a stack |
|
|
55
|
+
| `gh stack init <branch>...` | `gh stack init` | prompts for branch names |
|
|
56
|
+
| `gh stack add <branch>` | `gh stack add` | prompts for a name, and fails even when piped |
|
|
57
|
+
| `gh stack checkout <target>` | `gh stack checkout` | opens a selection menu |
|
|
58
|
+
| `gh stack up` / `down` / `top` / `bottom` | `gh stack switch` | `switch` is menu-only |
|
|
59
|
+
| — | `gh stack modify` | TUI-only, no non-interactive path |
|
|
60
|
+
|
|
61
|
+
- `view --short` is safe in both modes, but it is formatted for humans. Use `--json` to parse.
|
|
62
|
+
- **`checkout <pr>` when a different local stack already covers those branches** cannot be forced.
|
|
63
|
+
Run `gh stack unstack --local` first (this keeps the stack on GitHub), then retry.
|
|
64
|
+
- **Worktrees:** local stacks share one common-directory catalog. Use `--print-path` with
|
|
65
|
+
navigation or explicit-target `checkout` to locate a foreign-owned branch without stealing its
|
|
66
|
+
checkout. Unoccupied targets are checked out here first. Check the exit status before changing
|
|
67
|
+
directories; parse only successful path-mode stdout, never status messages.
|
|
68
|
+
|
|
69
|
+
## Branch placement
|
|
70
|
+
|
|
71
|
+
- **Starting multi-part work:** create the stack before writing files. Do not implement every
|
|
72
|
+
concern on trunk and split it later. Put one dependent concern in each layer, bottom to top.
|
|
73
|
+
- **Editing an existing stack:** check out the layer that owns the change before editing. Never
|
|
74
|
+
commit a lower layer's concern on the current top branch. Run `gh stack view --json`; if
|
|
75
|
+
ownership is unclear, inspect `git log --all -- <path>`. Then check out the owner, edit, commit,
|
|
76
|
+
rebase upstack, and return to top.
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
gh stack down # or: gh stack checkout api
|
|
80
|
+
git add ... && git commit -m "Add get-user endpoint"
|
|
81
|
+
gh stack rebase --upstack # replay every branch above onto the change
|
|
82
|
+
gh stack top # return to where you were
|
|
83
|
+
gh stack push
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
## Core loop
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
gh stack init auth # create the stack and check out its branch
|
|
90
|
+
git add ... && git commit -m "Add auth middleware"
|
|
91
|
+
gh stack add api # next layer, branched from the current one
|
|
92
|
+
git add ... && git commit -m "Add API routes"
|
|
93
|
+
gh stack submit --auto # push every branch and open draft PRs
|
|
94
|
+
gh stack view --json # confirm
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
Add `--open` to `submit` to create PRs ready for review instead of drafts. Branch names are
|
|
98
|
+
verbatim — `gh stack add refactor/foo` creates `refactor/foo`.
|
|
99
|
+
|
|
100
|
+
## Staying in sync
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
gh stack sync # fetch, reconcile with GitHub, rebase, push, refresh PR state
|
|
104
|
+
gh stack sync --prune # also delete local branches for merged PRs
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
Pruning never happens without `--prune` when non-interactive. If the local and remote stacks have
|
|
108
|
+
diverged, `sync` prints both chains, makes no changes, and exits 0 with `Sync aborted` — see
|
|
109
|
+
`references/troubleshooting.md`.
|
|
110
|
+
|
|
111
|
+
## Merging
|
|
112
|
+
|
|
113
|
+
Scope the merge with an argument:
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
gh stack merge 42 --yes # PR #42 plus every unmerged PR below it
|
|
117
|
+
gh stack merge 7 --yes # every unmerged PR in stack #7
|
|
118
|
+
gh stack merge 42 --yes --squash # or --merge, --rebase, --merge-method <method>
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
Pass a PR number to merge that PR and every unmerged PR below it, or a stack number to merge every
|
|
122
|
+
unmerged PR in that stack. The operation is all-or-nothing: if any PR in that set cannot merge,
|
|
123
|
+
none do.
|
|
124
|
+
|
|
125
|
+
Without a method flag the last-used method is reused. If the base branch uses a merge queue, the
|
|
126
|
+
stack is queued instead and the queue picks the method, ignoring any flag you passed with a
|
|
127
|
+
warning; queued PRs may land in separate groups.
|
|
128
|
+
|
|
129
|
+
## Reading state
|
|
130
|
+
|
|
131
|
+
`gh stack view --json` writes JSON to **stdout**. Status messages go to **stderr** — do not parse
|
|
132
|
+
them, branch on exit codes instead.
|
|
133
|
+
|
|
134
|
+
```
|
|
135
|
+
trunk string
|
|
136
|
+
currentBranch string
|
|
137
|
+
branches[] name, head, base, isCurrent, isMerged, isQueued, needsRebase
|
|
138
|
+
branches[].pr number, url, state ("OPEN" | "MERGED" | "QUEUED"); absent when no PR exists
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
`base` is the saved SHA of the parent branch that this branch was last known to contain. It may be
|
|
142
|
+
older than the parent's current tip. `needsRebase` is true when the current parent tip is no longer
|
|
143
|
+
an ancestor of the branch.
|
|
144
|
+
|
|
145
|
+
## Exit codes
|
|
146
|
+
|
|
147
|
+
| Code | Meaning | Recovery |
|
|
148
|
+
|---|---|---|
|
|
149
|
+
| 0 | Success | — |
|
|
150
|
+
| 1 | Generic error | Read stderr |
|
|
151
|
+
| 2 | Not in a stack | `gh stack init`, or `gh stack checkout <target>` |
|
|
152
|
+
| 3 | Rebase conflict | Follow the Exit 3 recovery below |
|
|
153
|
+
| 4 | GitHub API failure | Check `gh auth status`, retry |
|
|
154
|
+
| 5 | Invalid arguments | Fix the invocation; see `<command> --help` |
|
|
155
|
+
| 6 | Disambiguation required | Branch is in several stacks; check out a non-shared branch |
|
|
156
|
+
| 7 | Rebase already in progress | `gh stack rebase --continue` or `--abort` |
|
|
157
|
+
| 8 | Stack file locked | Another `gh stack` process is writing; retry after ~5s |
|
|
158
|
+
| 9 | Stacked PRs unavailable | Not enabled on the repository; tell the user |
|
|
159
|
+
| 10 | Modify recovery required | `gh stack modify --abort` |
|
|
160
|
+
|
|
161
|
+
**Exit 3 recovery:**
|
|
162
|
+
|
|
163
|
+
- After `gh stack rebase`: resolve the files, run `git add`, then
|
|
164
|
+
`gh stack rebase --continue`; use `gh stack rebase --abort` to restore the stack.
|
|
165
|
+
- After `gh stack sync`: the stack has already been restored. Run `gh stack rebase` to recreate the
|
|
166
|
+
conflict, then resolve and continue as above.
|
|
167
|
+
|
|
168
|
+
## Constraints
|
|
169
|
+
|
|
170
|
+
- Stacks are strictly linear: one parent, at most one child. Use separate stacks for parallel work.
|
|
171
|
+
- `rebase` and `sync` automatically update affected clean worktrees; they never auto-stash or
|
|
172
|
+
create/remove worktrees. Mutations serialize across the clone, and paused operations require
|
|
173
|
+
recovery in their recorded owners.
|
|
174
|
+
- `modify` supports distributed stack branches, but its editor remains TUI-only. Actions run in
|
|
175
|
+
affected clean owners; unoccupied branches use the origin. Drop/fold source branches and
|
|
176
|
+
worktrees are preserved. Recovery flags may run from any worktree and use recorded native
|
|
177
|
+
operation owners; never resolve/stage in the caller's tree unless the diagnostic names it.
|
|
178
|
+
- There is no non-interactive reorder or removal. Errors may suggest `gh stack modify`, but it is
|
|
179
|
+
TUI-only — restructure with `unstack` then `init` instead.
|
|
180
|
+
- PR titles and bodies are auto-generated. Use `gh pr edit` afterwards to change them.
|
|
181
|
+
|
|
182
|
+
## More detail
|
|
183
|
+
|
|
184
|
+
`gh stack <command> --help` is authoritative for flags and arguments. Note that
|
|
185
|
+
`gh stack help <command>` does **not** work — it prints the top-level help.
|
|
186
|
+
|
|
187
|
+
Open the reference whose trigger matches the task; no need to preload all three.
|
|
188
|
+
|
|
189
|
+
- `references/stack-design.md` — read before creating a stack, when deciding how many layers to
|
|
190
|
+
use, what belongs in each one, or whether work belongs in a new stack.
|
|
191
|
+
- `references/commands.md` — read when a command fails unexpectedly or you need its preconditions,
|
|
192
|
+
side effects, atomicity, or ordering guarantees.
|
|
193
|
+
- `references/troubleshooting.md` — read on a rebase conflict, after a squash-merge, on local and
|
|
194
|
+
remote divergence, when restructuring a stack, or when driving stacks from another tool.
|