TypeScript SDK for the Digital.ai Agility (formerly VersionOne) API. It works in Node 22 or later (ESM or CommonJS) and the browser, ships its own types, and has no runtime dependencies.
Not to be confused with v1sdk, the 2.x JavaScript SDK: this is a new API, not a compatible successor.
Alpha releases are for feedback; the API may change between them.
npm install @versionone/agility-sdk@alphaimport { AgilityApiClient } from "@versionone/agility-sdk";
const client = new AgilityApiClient({ baseUrl: "https://agility.example.com/MyInstance", accessToken: process.env.V1_ACCESS_TOKEN });
const stories = await client.query({ from: "Story", select: ["Name", "Estimate"], page: { size: 10, start: 0 } });
// stories[0].Estimate is a number | null; stories[0].Nmae does not compileRunnable examples, one per task (a first read, a write, a guarded write, a batch with an undo, errors, attachments, testing your own code, a transport of your own, a browser session that expires, searching, a transport over axios), are in examples/.
npm install
npm run build
npm testnpm run dev- watch buildnpm run build- build ESM + CJS + declarationsnpm run typecheck- run TypeScript type checksnpm run verify- run typecheck + build + testsnpm run test- run unit testsnpm run download:metamodel -- <baseAgilityUrl>- refreshmetamodel.jsonfrom an instance on the current release (instance-specific definitions stripped;--rawkeeps them), thennpm run generate:types. The cleanest source is a dev instance on a blank database (the product's dev tooling has a task for that); a hosted instance on the release gives the same file. The generated model is from meta.v1 26.3.2.13 (hosted, 2026-11-14)
| You want | Call | Notes |
|---|---|---|
| Rows | client.query(q) / client.queries([q, …]) |
The default read. Read-only endpoint, resent once like a GET. No total. |
| One asset | client.get(oid, select) |
Null when nothing has that OID. |
| Rows and how many there are | client.queryPage(q) |
{ rows, total, more }. |
| Everything, page by page | client.pages(q, { limit }) / client.all(q, { limit }) |
Bounded: default limit 1000. |
| Text search across asset types | client.search(text, { types, page }) |
One page of mixed rows, one order, { rows, total, more }; Number on every row whose type has one. See "Searching". |
| Text search within one type or family | client.query({ from, find, findin, … }) |
An ordinary read with two more keys. queryPage adds the total. |
| Deleted assets | client.deleted(type, params) |
No other read returns one. |
| An asset's past versions | client.history(oid, params) |
One row per version; _oid carries the moment. |
| Who am I | client.me() |
The member the credentials belong to. |
| Numbers and OIDs a person typed | client.resolve.numbers([...]) / client.resolve.refs([...]) |
Answered as rows. One request for numbers of any mix of types. |
| Write | client.send(commands) |
Unguarded: writes whatever is there. Answers an Outcome; unmatched lists commands whose asset was gone. |
| Write only if nobody changed it | client.sendGuarded(commands, { moments? }) |
conflicts lists what was left alone. |
| Write with a record and an undo | client.batch.run(commands, { guard }) then client.batch.reversible(receipt) |
guard has no default. |
| Copy an asset, or run an operation for its result | client.copy(oid) / client.operate(oid, op) |
|
| Defaults for a new asset | client.template(type, { ctx }) |
Nothing is created. |
| What a form needs | client.fields.describe(type, scope) |
Required, visible and important attributes, and which of them are list-typed. |
| The values a Status, Priority or other list may take | client.lists.values({ asset, attributes }) or { type, scope, team?, attributes } |
As the project's scheme and the team's process allow. See "List values". |
| The value a name means | client.lists.value({ asset, attribute, name }) |
{ _oid, Name } to write; NO_SUCH_VALUE with the valid values otherwise. |
| Files | client.attachments.*, client.embeddedImages.* |
|
| A link for a person | client.urls.asset(oidOrNumber) |
|
| An error, said to a person | client.explain(error) |
"Project is required.", with the instance's labels. |
| Labels in the instance's words | client.localize(tags) |
Every row follows one rule, whichever call read it: a relation you select is a Ref ({ _oid }); a path you select by name is at row[path] (row["Status.Name"]); nothing arrives that you did not select. Select both Owners and Owners.Name and you get the Refs and, beside them, a parallel array at "Owners.Name". To get attributes on the related rows themselves, use a sub-select: { from: "Owners", select: ["Name"] } gives row.Owners[i].Name.
A row's identity is _oid: it is the key the server sends, underscored so it cannot collide with an attribute (the identity attribute is ID). Rows, Refs, resolved assets, attachments and the assets on a receipt all carry it; a record that only mentions an asset (a receipt's described entries, a drifted entry) says oid.
A text search is a read with find (the text) and findin (the attributes to look in). It composes with filter, sort and page, and queryPage answers its total.
const hits = await client.query({
from: "Workitem", // stories, defects, epics, themes, tasks, tests, test sets
select: ["Name", "Number", "AssetType"],
find: "warehouse ship*",
findin: ["Name", "Number"],
page: { size: 25, start: 0 }
});What the server does with the text (each of these is a live test in test/integration/search.test.ts):
- Every word must match, in any order, in any letter case. Punctuation separates words.
- Whole words, with the server's stemming ("shipping" finds "ship"). Part of a word finds nothing unless it ends in
*:integrat*finds "integration". A leading*does not work. - A number is text too:
find: "S-01001", findin: ["Number"]finds that story, in either case. - Always send
findin. Without it the attributes searched depend on the type. - The text index trails a write by a few seconds. An asset created a moment ago is found by its Number at once and by its words shortly after; do not search by name for what you just created.
- Closed assets are found; deleted ones are not.
- An attribute
findindoes not know is a refused query (QUERY_REJECTED), not an empty result. - An empty
findis a usage error. The server answers a search for nothing with no rows, which would read as "nothing matches"; leavefindout to read without searching.
from decides how wide that read is: one type, or a family (Workitem is the backlog types, and has Number). It cannot give one page of unrelated types with their own attributes: BaseAsset is every asset but has no Number, and the query endpoints refuse a subtype's attribute there. That is what client.search is for.
const { rows, total, more } = await client.search("warehouse ship*", {
types: ["Story", "Defect", "Epic", "Request", "Issue", "Goal"], // required: there is no default
select: ["Name", "Number", "AssetState", "Scope.Name", "Owners", "Owner"],
filter: ["AssetState!='Closed'"],
sort: ["-ChangeDateUTC"],
page: { size: 25, start: 0 }
});
// rows[0].Number is "S-01042" for a Story and "R-01011" for a Request- One request, one order across every type, and the total. The matching rules above apply.
typesis required, at least one: concrete types, or a family by its abstract type ("Workitem"is stories, defects, epics, themes, tasks, tests and test sets; requests, issues and goals are not work items, so name them). A default would silently leave types out.- You name an attribute once, plainly, and each row has that key: its value if the row's type defines it,
nullif not (Ownersis null on a Request,Ownernull on a Story; the SDK does not merge differently named attributes). That holds when none of the searched types has it too: every row hasnull, so one list of columns serves whatever types a user picks. Only a name that is no attribute of any asset type is a usage error (a misspelling). Afindinname none of the searched types has is left out; if none is left, the search is refused. selectdefaults toName,Number,AssetType,AssetState;findindefaults toNameandNumber.- A relation is a bare
{ _oid }; ask for a display value as a path ("Scope.Name","Owners.Name"). - Selects are plain; filters are sent as written and may be type-qualified. A select names a value, and the SDK can ask each type for it. A filter is an expression: a condition across types, such as "owned by me" when work items have
Ownersand requests haveOwner, has no plain spelling, so you write it:"(Workitem.Owners.IsSelf='true'|Request.Owner.IsSelf='true')". A term on an attribute every searched type shares (AssetState,Scope.Name) needs no qualifying. Qualify a term on any other attribute whatevertypesis: unqualified, it happens to be accepted when one type is searched and is refused when several are.sortis sent as written too. - Deleted assets are never found;
client.deleted(type, params)reads those. - The first search loads the schema of each type searched (one request per type, then cached for the client, or shared through a
TypeCache). A short-lived process that searches once pays that every time: seed the cache (TypeCache.fromMetamodel) or keep the client. - To find one asset by its exact number, do not search:
client.resolve.numbers(["S-01042"])is exact and does not wait for the text index.
A date is spelled one way on every read: "2026-09-06T13:52:51.903", three decimals, with a Z on a UTC attribute (ChangeDateUTC). That is the standard's date-time format, so new Date(value) reads it in any engine. The endpoints each write dates differently, and the SDK answers this one spelling whichever of them was asked; it cuts to the millisecond, which is finer than the server stores. A value without a Z is the server's wall-clock time with no zone; for a day (a sprint's BeginDate) take value.slice(0, 10).
Rows are typed from what you select, against the product's metamodel: a selected key is its value or null, never undefined. For an attribute your instance has and the generated model does not (a custom field's relation, a product module's attribute), name your own row type at the call: client.query<MyRow>(q) needs only _oid on MyRow.
Which values a list-typed attribute may take depends on where the asset is. client.lists asks the server, as the product's own pickers do:
// For an existing asset: its own project and team apply.
const { Status, Priority } = await client.lists.values({ asset: "Story:1077", attributes: ["Status", "Priority"], select: ["Order"] });
// → Status: [{ _oid: "StoryStatus:133", Name: "Future", Order: "115" }, …], in the list's own order
// For one not created yet: say where it will be.
await client.lists.values({ type: "Defect", scope: "Scope:1005", team: "Team:1030", attributes: ["Priority"] });
// From a name a person typed (or an OID) to the value to write.
const done = await client.lists.value({ asset: "Story:1077", attribute: "Status", name: "done" });
await client.send([{ from: "Story:1077", update: { Status: done._oid } }]);- What decides: the team's own values first, then the asset type's rule. If the asset is on a team (or you name one) and that team owns values of the list, those are the answer, for any list: a team that owns statuses is offered its statuses, one that owned priorities its priorities.
{ asset }alone applies that, so there is nothing to switch on;team: nullasks as if the asset were on no team. This first step exists only on an instance with team workspaces enabled. Otherwise the asset type's own rule applies: for work items, issues, requests, goals, strategic themes, retrospectives, environments, regression tests and regression plans, the active values selected in the project's scheme; for members, budgets, projects, iterations, change sets, attachments and build runs, every active value, with no scheme involved. - An inactive value is left out, "no value" is never an entry, and the order is the values'
Order. - Resolve before you write: the server checks very little. On a write, one thing is enforced: the Status of a story or defect against its team. A status owned by a team is refused on a work item that is not on that team, and a status owned by no team is refused on a work item whose team has statuses of its own (
Violation'PrimaryWorkitemCannotHaveInvalidStatus). Nothing else was checked on the release this was proved against: a status the project's scheme does not select, an inactive status, and any Priority, Source, Category or other list value from anywhere were all accepted. Do not build on that leniency. The product has added enforcement release by release and may refuse tomorrow what it accepts today; the list is the rule to follow, and this lookup is how to follow it. - A move can clear a status. When a story or defect changes project or team and the same write does not set a Status, a status that is not valid in the new place (not among the new team's own, or else not selected in the new project's scheme) is set to empty, with no failure reported. Read the Status back after a move if you show it.
- Valid is not the same as allowed. A team can restrict which status may follow which, and which roles may make the change; a value
client.listsoffers can still be refused by such a workflow rule when written. lists.valuematches the whole name, ignoring case and surrounding space.match: "prefix"also accepts the start of the name or of a word in it ("prog" finds "In Progress") when no name matches whole. It never picks among several: no match is anApiErrorcodedNO_SUCH_VALUE, more than one isAMBIGUOUS_VALUE, and both carry the candidates as rows inerror.details.values(every valid value, or the ones that matched), ready to offer.- Only lists. The server's endpoint takes no page and would answer every member, team or iteration it considers valid, so for
Owners,Team,Timeboxand any relation that is not to a list type,client.liststhrows aUsageErrorbefore sending anything. Read those withclient.query({ from: "Member", filter, page }), bounded like every other read. - Values are rows like any other.
selecttakes attributes of the value itself (Order,RollupState,Team): a number is a number, a Boolean a Boolean, a relation a Ref ornull. Not a path, not a multi-value relation, and not a date, which the endpoint writes in the server's culture format. - An empty list means no value is valid, and the SDK keeps it meaning that. The server answers "no values" also when it cannot work the rule out for lack of context, so the SDK always sends the project, and for a type whose rule needs more it asks you for it:
context: { RegressionPlan: "RegressionPlan:7" }for a new regression suite.contexttakes any attribute of the asset to be. - Costs. One request per attribute, sent together. Nothing is cached, because an administrator can change a scheme or a team's values at any time; the schema is cached as for every read, and telling a list from another relation needs the list type's own definition and nothing above it.
client.fields.describe(type, scope).listssays which of a form's attributes are list-typed and to which list type each points.
Changes between alphas are in CHANGELOG.md, each with its migration line.
AgilityApiClient- the client. One query body everywhere; the client picks the endpoint:query/queries- rows, translated (numbers as numbers, booleans as booleans, a single relation as oneRef), through query.v1: read-only, so a request is retried like a GET. A page is required (by the type: an unpaged read does not compile); a refused query throws, never an empty result. Written with a literalfrom,selectcompletes from the type's attributes and the rows are typed by what was selectedget(oid, select)- one asset or null;queryPage(q)- rows with the total and whether more follow (moreis what a pager reads: when the server reports no total,totalis null andmoreis whether the page came back full);pages(q, { limit })/all(q, { limit })- page by page up to a limit (default 1000);me()- the member the credentials belong tosend- an api/asset batch, answered as anOutcome(created,modified,operated,failureswith parsed violations,queryResults);throwOnFailurethrows aCommandFailureErrorcarrying the same Outcome.preview- the projection.sendGuarded- a batch as a compare-and-set on each asset's Moment (read just before, or passed in as the one a person saw); an asset someone changed in between comes back inconflicts, untouched. It cannot see a change that makes no new version of the asset, such as a child added to itbatch.run(commands, { guard })/batch.reversible- preview, snapshot, (confirm,) send (guarded or not:guardhas no default), and a receipt with a reverse batch; undo reactivates a closed asset before deleting it and reopens what a close cascaded toresolve.numbers/resolve.ref- asset numbers and OID tokens to assets, in one requestattachments.list/page/info/get/add/put/remove- files attached to an asset, each answered as a row of the Attachment type (_oid,Name,Filename,ContentType, …) plusid, the number its bytes are addressed by;listandpageanswer metadata, plus whatever keys aselectadds;getreads metadata and bytes in two requests, or in one with{ inline: true }for a small file;addsends a small file inline and a large one in two steps, and a failed upload throwsAttachmentUploadErrornaming the empty attachment it leftembeddedImages.upload/normalize- images in rich text; they cannot be deletedcopy(oid)- the Copy operation, answering the copy's OID (api/asset performs it but never says what it made);operate(oid, op)is the general formfields.describe(type, scope)- what a form needs: required attributes (meta), the ones the product shows there (api/visibleFields, custom fields included), the scheme's important fields and whether they are enforced at closeurls.asset(oidOrNumber)/attachment/embeddedImage- where a browser opens eachsearch(text, { types, … })- text search across asset types,{ rows, total, more };deleted(type, params)- deleted assets (see "Searching")history/template- an asset's past versions, and a new asset's template for a contexttemplatereads (New/<Type>?ctx=);meta.*- meta.v1 raw, with conditional reads (read/readTypewithifNoneMatch,etag(): meta.v1 sends one ETag for the whole schema);schema- the translated, cached view,schema.revalidate()drops it only when that tag moves;localize- loc-2 labels for tags (a violation'stagis one)
normalizeQuery(q)- a query written with rest-1's spellings (sel, a textualwhere, comma-joined lists, a"size,start"page) as theQueryBodyevery read takes- Errors: everything thrown is an
ApiErrorwith akind(auth,forbidden,notFound,invalid,transient,aborted,commandFailure,conflict,protocol,usage,unknown). A mistake caught before any request is aUsageError:kind: "usage"means nothing was sent (statusis 0), so the fix is in the call, not on the server TypeCache- one instance's loaded type definitions, shared by many clients (new AgilityApiClient(config, { types }));TypeCache.fromMetamodel(metamodel)seeds one so nothing is loadedcreateFetchTransport- configurable HTTP transport:credentialsfor same-origin cookie auth,onUnauthorizedto re-authenticate on a 401, or on a 403 that carries aWWW-Authenticatechallenge, which is what an ended session answers to a request sent withX-Requested-With: XMLHttpRequest(resends idempotent requests once;unauthorizedStatusesadds other statuses), and a per-requestsignal;client.withSignal(signal)ties a whole client to one- Timeouts are the client's business with any transport: each attempt has
timeoutMs(default 60000; 0 for none), and at the deadline the request rejects with anApiErrorcodedTIMEOUT, whether or not a custom transport lets go of it (the transport is handed asignalthat fires then; a late answer is discarded). A timed-out write may still have been applied. A custom transport that waits for a person insiderequest(a sign-in prompt before it replays the request) setstimeoutMs: 0: the deadline cannot tell a person from a slow network. The built-in transport'sonUnauthorizedhook runs outside the deadline - Every
ApiErrorthe client lets out says what was asked:error.requestis{ method, path, idempotent }(never the body or headers).client.explain(error)uses it: a write that got no answer, or a server failure for one, is explained as "Agility did not confirm the change. It may or may not have been made: check before trying again." withretrySafe: false, where a read isretrySafe: true, except a read the server itself gave up on (SERVER_TIMEOUT), which isfalse: the same request would cost and fail the same. The two questions after a failure are two fields:retrySafe(may the same request be sent again as it is?) andoutcome(is it known whether the change was made?).outcomeis"unknown"for a write that got no confirmation (no answer, a timeout, a 5xx: look before acting),"notApplied"where the server answered a refusal before doing the work (a 4xx or a 429 in answer to a write, a conflict, and each failed command in the explanation of a batch, which says nothing of the batch's other commands: those are in the Outcome), andnullfor a read or when the error does not say what was asked. A guarded write (sendGuarded) is a write here too: it is never sent again by the client, because a second send of one that landed applies nothing and reports a conflict, which would tell you someone else changed the asset when the change was yours. When one gets no answer (outcome: "unknown"), read the asset again: you see your change or you do not, and the guard makes sending it again safe. Decide onretrySafe, not on the sentence; it isnullwhen the server answered, or when the error carries no stamp (one from a/wirefunction on a bare transport) - A custom transport builds a refusal with
apiErrorFromResponse(status, body, headers). The headers matter: a 403 that carries aWWW-Authenticatechallenge iskind: "auth"(an ended session), one without iskind: "forbidden". A write the member has no right to make is never a 403 as far as has been seen: api/asset reports it per command inside a 200 and rest-1 as a 400, andclient.explainsays "Agility refused: this member is not allowed to do that." for both. - A config key that is not one the factory takes (
new AgilityApiClient,createFetchTransport,new FakeAgilityClient) is refused at construction with aUsageErrornaming it, with the nearest known key when it looks like a typo. Nothing is ignored silently, and no value is repeated in the message. - A
fetchof your own goes in the client's config (fetchImpl). A transport you make yourself withcreateFetchTransportand hand to the client keeps its ownretriesandtimeoutMsand is not given the client's rules a second time; a wrapper of yours around it is a custom transport and is, so make the inner one withretries: 0, timeoutMs: 0. - Resends and failures are the client's business with any transport: an idempotent request (a GET, a read; never a write, guarded or not) is sent once more after a network failure, a 5xx or a 429 (
retries, default 1, 0 for none; never a plain write, a 401 or a 403, and never after a timeout: the client'sTIMEOUT, a 408, a 504, or the server's own SQL execution timeout, which arrives as an error document and is codedSERVER_TIMEOUT(ask for less: a smaller page, fewer selected paths, a tighter filter). A timeout or an abort ends the client's wait and does not stop the work on the server, so a query that timed out may still be running;pagesandallstop at the first one), andonError(error, request)in the config is told about each request that finally failed - A custom
Transport(new AgilityApiClient(config, { transport })) decides by itself where requests go;config.baseUrlis then used only for the links the client builds (urls.*,embeddedImages.normalize).apiErrorFromResponse(status, data)is the error the fetch transport throws for a refused response, for a custom transport to throw the same @versionone/agility-sdk/services- the services as free functions over aTransport(guard,batch,resolve,schema,attachments,fields), for a caller that composes one differently; the client's methods are the same things@versionone/agility-sdk/wire- the wire modules (assetApi,queryV1,rest1,meta,loc2,attachment,fields,select), for passthroughs and transport authors; they speak the endpoints' own shapes.
@versionone/agility-sdk/testing exports FakeAgilityClient: a real client over a transport that sends nothing and answers what the test scripted, in the shape the client hands your code.
import { FakeAgilityClient } from "@versionone/agility-sdk/testing";
const fake = new FakeAgilityClient()
.onQuery("Story", [{ _oid: "Story:1", Name: "Logon", Estimate: 2 }]);
await closeStory(fake, "Story:1"); // your code, taking an AgilityApiClient
expect(fake.asked[0]).toMatchObject({ from: "Story:1" }); // what it read
expect(fake.sent[0]).toEqual([{ from: "Story:1", execute: "QuickClose" }]); // what it wroteonQuery(match, rows)answers every read (query,get,queryPage,pages, …). A list is the whole result: the fake pages it and answers a read by OID with that row. A function gets the query and answers one page. A read nothing was scripted for throws; it never looks like an empty result.- Writes need no script: a create answers a new OID, an update or operation by OID answers that OID.
onSendscripts anything else, failures included. onSearch(rows)answers a search, whether your code callsfake.searchor builds its own client onfake.transport: the fake pages the rows and reports the total, each row comes back with exactly the selected keys, andfake.searchedis what was asked. Script it before the first search.sendGuardedandbatch.runwork on assets addressed by OID that you scripted a row for:fake.touch(oid)is someone else changing the asset (the next write stamped earlier is a conflict),fake.remove(oid)is it being deleted.resolve.numbersfinds a number among the scripted rows;localizeanswersonLocalizelabels and echoes any other tag;fake.transportcan be the transport of a client your code builds itself.onValues({ Status: [{ _oid: "StoryStatus:135", Name: "Done" }] })scripts the valid values by attribute (rows, a function of what was asked, or an Error).lists.value's matching and its errors are the client's own, andfake.valuesAskedrecords each request: the type, the attribute and the asset or the scope and team.onList(type, rows)answers rest-1's list read the same way (client.deleted, andrest1.listfrom/wire).onRequest(path, answer)answers any other endpoint in its own shape; withnew FakeAgilityClient({ metamodel })(a meta.v1 document) a response captured from a server reads translated, as it would live. AnErroras an answer is thrown.- A custom
Transporthas its own suite:transportConformance(make)answers the SDK's expectations of a transport as named checks (for (const c of transportConformance(make)) it(c.name, c.run)), and the SDK's fetch transport runs the same ones. - The fake evaluates no filter or sort and applies no write. It proves what your code asks and what it does with the answer; what the server answers is for a test against an instance.
API reference: https://docs.digital.ai/agility-api/
specs/000-layers.md says how the code is arranged (types, wire modules, services, core) and what each layer may know; CONTRIBUTING.md says what may be committed to this public repository. A new endpoint is a new module under src/wire/, with a unit test that fakes the transport with a response copied from a live one and an integration test that proves it against an instance.
npm install github:versionone/VersionOne.SDK.JavaScript#<sha> builds dist on install (the prepare script). CI also uploads an npm pack tarball on every run. The package's entries (index, wire, services, testing) and the chunks they share are all in one flat dist/ directory, so a copy of dist/ is a working copy.
Versions are published to npmjs by .github/workflows/publish.yml when a
tag v<version> is pushed; the tag must equal package.json's version. A
prerelease (1.0.0-alpha.0, -beta.N, -rc.N) goes out on its own
dist-tag (alpha, beta, rc). Until 1.0.0, a maintainer moves
latest to the newest alpha by hand (npm dist-tag add @versionone/agility-sdk@<version> latest), so a bare npm install gets
the current API rather than the first publish; from 1.0.0 on, latest
is never a prerelease.
npm version 1.0.0-alpha.2 --no-git-tag-version # bump, commit, merge
git tag v1.0.0-alpha.2 && git push origin v1.0.0-alpha.2The workflow does not publish directly: it runs npm stage publish, which
puts the version in the registry where nobody can install it yet, and prints
its stage ID in the run's summary. A maintainer then approves it with 2FA,
which is what publishes it:
npm stage view <stage-id> # what was staged
npm stage approve <stage-id> # publish it (asks for 2FA)
npm stage reject <stage-id> # discard itor approves it on the package's page on npmjs. npm stage needs npm
11.15.0 or later.
Authentication is npm trusted publishing: on npmjs, the package's settings
link this repository, publish.yml and the GitHub environment npm, with
the npm stage publish permission (leave plain npm publish off, as npm
recommends), and no token is stored. A trusted-publisher link expires; an
expired one must be deleted and created again, and until then the workflow
fails with ENEEDAUTH. The npm environment (repository settings) requires
an approval, so a pushed tag waits for a maintainer before it stages. A
package must exist before it can be linked, so the very first version was
published once by hand by an @versionone org member.
Run npm run verify (typecheck, build, tests) before opening a pull request.
This repository is public: CONTRIBUTING.md says what may be committed
here and where working plans and consumer hand-offs live instead.