Skip to content
← Public packages

@kody/kody-factory

Forkable multi-project software factory: signals, priority queue, project UI, sweep job. Agent runners and Sentry reach it by events.

FollowFork

Files

friction-push-branch.ts

11 lines · 609 B · TypeScript
/**
 * Push file changes to a `friction-log/` branch on a sweep repo and optionally
 * open its PR as the owner's GitHub account (`githubOwner`). Sweep sessions
 * use this instead of `git push`. Fails if `githubOwner` is not mapped; never
 * falls back to the bot `github` credential.
 *
 * @example
 * import pushBranch from 'kody:@kody/kody-factory/friction/push-branch'
 * await pushBranch({ repo: 'kody-hq/kody', branch: 'friction-log/2026-01-01-cli', message: 'fix: clearer error', files: [{ path: 'README.md', content: '...' }], dryRun: true })
 */
export { default } from '../friction/push-branch.ts'