@nseng-ai/ns
v0.1.4
Published
Checkout-free ns CLI package.
Readme
@nseng-ai/ns
The ns CLI, distributed as a single self-contained npm package. Installing it gives you
the ns binary — the shared command surface that you and your coding agents use to run
multi-session, multi-branch software work in a git-native way.
@nseng-ai/ns ships bare core: repository activation (ns init) and extension
management (ns extension …). Capabilities such as Objectives are installed on top as ns
extensions — see Add Objectives.
Prerequisites
- Node.js 24.12 or later. The published package is a self-contained bundle — no build step and no other runtime dependencies.
- git. ns is git-native: durable state lives in your repository as plain files and
refs, not in a hidden database. You run
nsinside a git repository. - A coding-agent harness for the full workflow: Claude Code, Codex, or Pi. The CLI works standalone, but Objectives are designed to be driven by agents.
Install
Global:
npm install -g @nseng-ai/nsOr run without installing:
npx @nseng-ai/ns --helpVerify
ns --help
ns extension listA fresh install is bare core: it does not include ns objective. That command surface
arrives when you install the Objectives extension (below).
Activate ns in a repository
From your repository root:
ns init --harness claude-code # or: codex, pins init writes ns.toml, generates a harness-neutral agent-instruction block, creates
the declared consumer directories, and provisions the core harness artifacts. The harness
is explicit on the first run and persisted to ns.toml; pass --harness more than once to
support multiple harnesses. ns init writes files but never commits — review and commit
the changes yourself.
Add Objectives
Objectives — durable, checked-in planning records for work that outlives a single agent
session — are the @nseng-ai/objectives extension:
ns extension install npm:@nseng-ai/objectivesThis records the extension in ns.toml, activates it for your configured harness, adds the
ns objective CLI, and provisions the ten Objective skills into your harness's skill root
(.claude/skills/ for Claude Code). See
@nseng-ai/objectives for the full lifecycle.
Once installed, drive an Objective through its lifecycle with your agent:
- Create — "Create an objective for migrating our API layer to typed handlers."
- Advance — "What's next on the api-typed-handlers objective?"
- Update — "Update the objective with what we landed."
- Close — "Close the objective."
Inspect records deterministically from the terminal:
ns objective list
ns objective show <slug>SDK subpaths
The package also owns the public SDK subpaths for checkout-free consumers, for example
@nseng-ai/ns/sdk and @nseng-ai/ns/sdk/*. The standalone workspace @nseng-ai/sdk
package remains private and is folded into these @nseng-ai/ns subpaths at
package-preparation time.
Package internals
The published bin.ns points at prebuilt JavaScript (bin/ns.js) assembled by the package
preparation step; developer source-checkout shims stay separate from this npm package
boundary. Maintainer release qualification runs through the package's
publish:dry-run, pack:local, and smoke:checkout-free scripts (pnpm --dir ts --filter
@nseng-ai/ns run …); actual publication is a separate authorized step.
