Skip to content

Commit f1df2eb

Browse files
authored
The package is @better-skills/branch-management (#1725) (#1728)
* The package is @better-skills/branch-management (#1725) * Review: one import line, one name for the package in the module SPECs
1 parent 9b96d44 commit f1df2eb

55 files changed

Lines changed: 58 additions & 60 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

SPEC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ The Framework: autonomous AI programming. Humans make the important decisions; c
33
Four top-level pieces, one product:
44

55
- `packages/framework` — the product itself, published as the npm package `framework`: one CLI (`the-framework`) that runs a foreground daemon, the agent lifecycle it orchestrates, and the browser dashboard it serves — the product's only user interface.
6-
- `packages/branch-management` — the git conventions and operations behind an agent's own checkout, as an API and as the `branch-management` command every agent the daemon starts on its machine gets on its PATH, published as `@superskill/branch-management`: the first of the skills the product is being split into, and the only one so far. The product depends on it; it depends on nothing of the product.
6+
- `packages/branch-management` — the git conventions and operations behind an agent's own checkout, as an API and as the `branch-management` command every agent the daemon starts on its machine gets on its PATH, published as `@better-skills/branch-management`: the first of the skills the product is being split into, and the only one so far. The product depends on it; it depends on nothing of the product.
77
- `packages/chrome-extension` — the Claude web bridge, a companion Chrome extension: when an agent's task was handed to a Claude Code cloud session on claude.ai, it carries the question that session is parked on into the local dashboard, and types the answer picked there back into the session.
88
- `packages/the-framework.ai` — the marketing website at https://the-framework.ai.
99

packages/SPEC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
The deliverables The Framework ships, one directory each:
22

33
- `framework/` — the product: the `framework` npm package (CLI, daemon, agent lifecycle, dashboard).
4-
- `branch-management/` — the `@superskill/branch-management` npm package: the git conventions and operations behind an agent's own checkout, the first skill of the skills-plus architecture (#1725). The product depends on it; nothing else does yet.
4+
- `branch-management/` — the `@better-skills/branch-management` npm package: the git conventions and operations behind an agent's own checkout, the first skill of the skills-plus architecture (#1725). The product depends on it; nothing else does yet.
55
- `chrome-extension/` — the Claude web bridge, a companion Chrome extension that connects Claude Code cloud sessions on claude.ai back to the local dashboard.
66
- `the-framework.ai/` — the marketing website.
77

packages/branch-management/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@superskill/branch-management",
2+
"name": "@better-skills/branch-management",
33
"version": "0.0.0",
44
"description": "Branch management for coding agents: one git checkout per agent under .the-framework/branches/, named as its branch, reclaimed once its work is on the remote.",
55
"license": "MIT",

packages/framework/SPEC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ The product: the `framework` npm package. One CLI, `the-framework`, runs a foreg
22

33
How the package's pieces relate:
44

5-
- `src/` — everything that runs in Node: the CLI, the daemon, the agent lifecycle (checkouts through the `@superskill/branch-management` package, gates, handoff), the driver seam that wraps each coding-agent CLI, the data branch, autonomy (Auto PM, sweeps, CI watch), and the server side of the dashboard.
5+
- `src/` — everything that runs in Node: the CLI, the daemon, the agent lifecycle (checkouts through the branch-management package, gates, handoff), the driver seam that wraps each coding-agent CLI, the data branch, autonomy (Auto PM, sweeps, CI watch), and the server side of the dashboard.
66
- `dashboard/` — the browser app the daemon serves: a single-page app that is a pure projection of the files the daemon writes, reading over `POST /_rpc/<name>` and a live event stream, and steering agents back through the same daemon.
77
- `prompts/` — every prompt The Framework sends an agent, as markdown: the built-in system prompt, the protocols agents answer through, and the presets. The markdown is the only source of truth for agent-facing text.
88
- `scripts/` — the build steps that compile the prompts into importable strings and run the package's test suites.

packages/framework/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
},
4747
"dependencies": {
4848
"@base-ui-components/react": "1.0.0-rc.0",
49-
"@superskill/branch-management": "workspace:*",
49+
"@better-skills/branch-management": "workspace:*",
5050
"@puppeteer/browsers": "3.2.1",
5151
"@shadcn/react": "^0.2.1",
5252
"@tiptap/core": "^2.10.0",

packages/framework/src/agent-archive.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { strict as assert } from 'node:assert'
22
import { test } from 'node:test'
33
import { join } from 'node:path'
4-
import type { GitRunner } from '@superskill/branch-management'
4+
import type { GitRunner } from '@better-skills/branch-management'
55
import { userDirName, resolveUserDir, forgetUserDirs, ANONYMOUS_USER_DIR } from './agent-archive.js'
66
import { frameworkGitignore } from './framework-gitignore.js'
77

packages/framework/src/agent-archive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ARCHIVE_DIR } from './store/index.js'
2-
import { nodeGitRunner, type GitRunner } from '@superskill/branch-management'
2+
import { nodeGitRunner, type GitRunner } from '@better-skills/branch-management'
33
/**
44
* Committed session history (#1179): where a project's finished agents are archived so they survive
55
* the repo being cleaned.

packages/framework/src/agent.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ test('runAgent runs the backlog loop after the build when opted in (#323)', asyn
608608
const { mkdtemp, realpath, rm, writeFile } = await import('node:fs/promises')
609609
const { tmpdir } = await import('node:os')
610610
const { join } = await import('node:path')
611-
const { nodeGitRunner } = await import('@superskill/branch-management')
611+
const { nodeGitRunner } = await import('@better-skills/branch-management')
612612
const { withDataBranch } = await import('./data-branch.js')
613613
// The queue lives on the data branch (#1582), so the fixture is a real repo.
614614
const git = nodeGitRunner()

packages/framework/src/cli.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { join, dirname } from 'node:path'
66
import { appendControl } from './control.js'
77
import { BROWSER_MCP_SERVERS, withBrowser } from './browser.js'
88
import { EVENTS_FILE, ARCHIVE_DIR, type StoreFs } from './store/index.js'
9-
import { FRAMEWORK_DIR, nodeGitRunner } from '@superskill/branch-management'
9+
import { FRAMEWORK_DIR, nodeGitRunner } from '@better-skills/branch-management'
1010
import { layoutMarker, layoutMarkerPath } from './layout.js'
1111
import {
1212
chooseSessionLink,

packages/framework/src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ import {
4545
import { loadUserSystemPrompt, SYSTEM_PROMPT_FILE } from './system-prompt-file.js'
4646
import { checkForUpdate, formatUpdateStatus, nodeVersionFetcher, type VersionFetcher } from './update-check.js'
4747
import { AgentStore, nodeStoreFs, type StoreFs } from './store/index.js'
48-
import { currentBranch, nameBranch, agentBranchName, nodeGitRunner } from '@superskill/branch-management'
48+
import { currentBranch, nameBranch, agentBranchName, nodeGitRunner } from '@better-skills/branch-management'
4949
import { materializePresets } from './presets.js'
5050
import { isLoopbackHost, registerHomeProject, runDaemon, DEFAULT_DAEMON_HOST, DEFAULT_DAEMON_PORT } from './daemon.js'
5151
import { appendControl, resetControl, watchControl, type ControlWatcher } from './control.js'

0 commit comments

Comments
 (0)