@sequenceholdings/studio-cli 1.0.2 → 1.0.3
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.
- package/README.md +1 -1
- package/dist/repos/github-init-command.d.ts +2 -2
- package/dist/repos/github-init-command.js +18 -8
- package/dist/repos/github-init.d.ts +26 -3
- package/dist/repos/github-init.js +19 -8
- package/dist/repos/github-settings-check.d.ts +17 -0
- package/dist/repos/github-settings-check.js +58 -0
- package/package.json +6 -6
- package/release-summary.json +2 -1
package/README.md
CHANGED
|
@@ -2314,7 +2314,7 @@ set up an existing GitHub checkout.
|
|
|
2314
2314
|
| `.claude/skills/sequence-platform/SKILL.md` | Points agents at the platform docs; `AGENTS.md` gets a one-line pointer |
|
|
2315
2315
|
| `.github/workflows/seq-pr-type.yml`, `.github/scripts/seq-pr-type.mjs`, `.github/pr-types.json` | The `pr-type` check: every pull request needs exactly one `type: bug`, `type: performance`, `type: enhancement`, `type: feature` or `type: chore` label. With no label it asks Claude to pick one when the repository can read an `ANTHROPIC_API_KEY` secret, and otherwise fails naming the labels to add. A push of `.github/pr-types.json` to the dev branch creates the labels |
|
|
2316
2316
|
|
|
2317
|
-
It writes only what's missing or stale and never overwrites a file it doesn't manage. `--check` reports the same and writes nothing (exit 3 when anything is missing or stale). Rerunning keeps the existing org and branches. Branch rulesets (`seq / checks` and `pr-type` required on the dev branch; the release branch updatable only by the Sequence CI GitHub App, which Promote pushes as)
|
|
2317
|
+
It writes only what's missing or stale and never overwrites a file it doesn't manage. `--check` reports the same and writes nothing (exit 3 when anything is missing or stale). It also reads the repository's GitHub settings with `gh` and reports any that `--apply-github` would change; a setting your `gh` login can't read is reported `unchecked` and doesn't fail the check. Rerunning keeps the existing org and branches. Branch rulesets (`seq / checks` and `pr-type` required on the dev branch; the release branch updatable only by the Sequence CI GitHub App, which Promote pushes as), secret scanning and deleting a pull request's branch once it merges need admin rights on the repository, which its creator has; no org owner is needed. `--apply-github` applies them with `gh` and confirms the repository can read seq-ci's `SEQ_CI_*` org secrets (`SEQ_CI_IMAGE_PULL_KEY`, the read-only key that pulls seq-ci's images, and `SEQ_CI_REGISTRY_AUTH`, a read-only dependency-registry pull token). Both are visible to every private repository in the org, as the Sequence CI App is installed on every repository. If an org owner has narrowed either to selected repositories, an owner's `--apply-github` (`gh auth refresh -s admin:org`) adds the repository. Anyone else gets an error naming the secret, and exit 1. Otherwise the ruleset commands are printed for an admin. Commit and push the files yourself.
|
|
2318
2318
|
|
|
2319
2319
|
### Deploy a GitHub repository (`repo connect`, `repo status`)
|
|
2320
2320
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { ParsedArgs } from '../argv.js';
|
|
2
2
|
import { type GitHubApi, type GitHubSettings } from './github-init.js';
|
|
3
|
-
export declare const REPO_INIT_USAGE = "usage:\n seq-studio repo init [--org <org>] [--dev <branch>] [--release <branch>] [--seq-ci <vX.Y.Z>] [--release-repository <namespace/name>]\n [--pull-request-builds reuse|rebuild] [--dir <checkout>] [--apply-github] [--json]\n seq-studio repo init --check [--dir <checkout>] [--json]\n\n Make a GitHub checkout a Sequence repository: .seq/github.yml (org and branches), the seq and seq promote\n workflows, Renovate config, and an agent skill pointing at the platform docs. Writes only what's missing or\n stale, and never overwrites a file it doesn't manage. --check reports the same and writes nothing (exit 3 when\n anything is missing or stale).\n\n Branch rulesets
|
|
3
|
+
export declare const REPO_INIT_USAGE = "usage:\n seq-studio repo init [--org <org>] [--dev <branch>] [--release <branch>] [--seq-ci <vX.Y.Z>] [--release-repository <namespace/name>]\n [--pull-request-builds reuse|rebuild] [--dir <checkout>] [--apply-github] [--json]\n seq-studio repo init --check [--dir <checkout>] [--json]\n\n Make a GitHub checkout a Sequence repository: .seq/github.yml (org and branches), the seq and seq promote\n workflows, Renovate config, and an agent skill pointing at the platform docs. Writes only what's missing or\n stale, and never overwrites a file it doesn't manage. --check reports the same and writes nothing (exit 3 when\n anything is missing or stale). It also reads the repository's GitHub settings with gh and reports any that\n --apply-github would change; one your gh login can't read is reported unchecked and doesn't fail the check.\n\n Branch rulesets, secret scanning and deleting merged branches need admin rights on the repository (not the org):\n --apply-github sets them with gh and confirms the repository can read seq-ci's org secrets; without it, the gh\n commands are printed for an admin. Commit and push the written files yourself.\n\n --pull-request-builds (default reuse): whether the dev branch's deploys reuse what a pull request's CI built and\n checked from the change it merged. Sound only while the dev branch needs no approvals, as these rulesets set it;\n once reviews are required, use rebuild. repo connect --stage staging records it on the Atlas.";
|
|
4
4
|
/** `org/name` from a github.com origin, or null when the origin is elsewhere. */
|
|
5
5
|
export declare function githubRepositoryFromRemote(url: string): string | null;
|
|
6
6
|
/**
|
|
7
|
-
* Apply the branch rulesets and
|
|
7
|
+
* Apply the branch rulesets and repository settings with `gh`, and check that the repository can use seq-ci. Shared by
|
|
8
8
|
* `repo init --apply-github` and `init --github --apply-github`; returns the exit code.
|
|
9
9
|
*/
|
|
10
10
|
export declare function applyGitHubSettingsWithReport({ repository, settings, say, api }: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { spawnSync } from 'node:child_process';
|
|
2
2
|
import { applyGitHubSettings, ensureSeqCi, githubSettingsCommands, initializeGitHubRepository, resolveSettings, SEQUENCE_CI_APP } from './github-init.js';
|
|
3
|
+
import { checkGitHubSettings } from './github-settings-check.js';
|
|
3
4
|
export const REPO_INIT_USAGE = `usage:
|
|
4
5
|
seq-studio repo init [--org <org>] [--dev <branch>] [--release <branch>] [--seq-ci <vX.Y.Z>] [--release-repository <namespace/name>]
|
|
5
6
|
[--pull-request-builds reuse|rebuild] [--dir <checkout>] [--apply-github] [--json]
|
|
@@ -8,11 +9,12 @@ export const REPO_INIT_USAGE = `usage:
|
|
|
8
9
|
Make a GitHub checkout a Sequence repository: .seq/github.yml (org and branches), the seq and seq promote
|
|
9
10
|
workflows, Renovate config, and an agent skill pointing at the platform docs. Writes only what's missing or
|
|
10
11
|
stale, and never overwrites a file it doesn't manage. --check reports the same and writes nothing (exit 3 when
|
|
11
|
-
anything is missing or stale).
|
|
12
|
+
anything is missing or stale). It also reads the repository's GitHub settings with gh and reports any that
|
|
13
|
+
--apply-github would change; one your gh login can't read is reported unchecked and doesn't fail the check.
|
|
12
14
|
|
|
13
|
-
Branch rulesets
|
|
14
|
-
with gh and confirms the repository can read seq-ci's org secrets; without it, the gh
|
|
15
|
-
admin. Commit and push the written files yourself.
|
|
15
|
+
Branch rulesets, secret scanning and deleting merged branches need admin rights on the repository (not the org):
|
|
16
|
+
--apply-github sets them with gh and confirms the repository can read seq-ci's org secrets; without it, the gh
|
|
17
|
+
commands are printed for an admin. Commit and push the written files yourself.
|
|
16
18
|
|
|
17
19
|
--pull-request-builds (default reuse): whether the dev branch's deploys reuse what a pull request's CI built and
|
|
18
20
|
checked from the change it merged. Sound only while the dev branch needs no approvals, as these rulesets set it;
|
|
@@ -49,14 +51,20 @@ function printReports(reports) {
|
|
|
49
51
|
process.stdout.write(` ${report.status.padEnd(9)} ${report.path}${note}\n`);
|
|
50
52
|
}
|
|
51
53
|
}
|
|
54
|
+
function printSettingReports(reports) {
|
|
55
|
+
for (const report of reports) {
|
|
56
|
+
const note = report.status === 'unchecked' ? ' (your gh login can\'t read it; an admin can)' : '';
|
|
57
|
+
process.stdout.write(` ${report.status.padEnd(9)} GitHub: ${report.setting}${note}\n`);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
52
60
|
/**
|
|
53
|
-
* Apply the branch rulesets and
|
|
61
|
+
* Apply the branch rulesets and repository settings with `gh`, and check that the repository can use seq-ci. Shared by
|
|
54
62
|
* `repo init --apply-github` and `init --github --apply-github`; returns the exit code.
|
|
55
63
|
*/
|
|
56
64
|
export async function applyGitHubSettingsWithReport({ repository, settings, say, api = ghApi }) {
|
|
57
65
|
try {
|
|
58
66
|
const applied = await applyGitHubSettings({ repository, settings, api });
|
|
59
|
-
say(`Branch rulesets: created ${applied.created.join(', ') || 'none'}; updated ${applied.updated.join(', ') || 'none'}; the Sequence CI App bypasses ${settings.branches.release}. Secret scanning on.\n`);
|
|
67
|
+
say(`Branch rulesets: created ${applied.created.join(', ') || 'none'}; updated ${applied.updated.join(', ') || 'none'}; the Sequence CI App bypasses ${settings.branches.release}. Secret scanning on; merged branches are deleted.\n`);
|
|
60
68
|
const org = repository.split('/')[0];
|
|
61
69
|
const seqCi = await ensureSeqCi({ repository, api });
|
|
62
70
|
if (seqCi.secrets.shared.length > 0)
|
|
@@ -86,14 +94,16 @@ export async function runRepoInitCommand(args) {
|
|
|
86
94
|
const reports = await initializeGitHubRepository({ directory, settings, write: !check });
|
|
87
95
|
const repository = originRepository(directory);
|
|
88
96
|
const commands = repository ? githubSettingsCommands({ repository, settings }) : [];
|
|
97
|
+
const github = check && repository ? await checkGitHubSettings({ repository, settings, api: ghApi }) : [];
|
|
89
98
|
if (args.flags.json === true) {
|
|
90
|
-
console.log(JSON.stringify({ settings, repository, files: reports, githubCommands: commands.map((command) => command.slice(0, -1)) }, null, 2));
|
|
99
|
+
console.log(JSON.stringify({ settings, repository, files: reports, ...(check ? { github } : {}), githubCommands: commands.map((command) => command.slice(0, -1)) }, null, 2));
|
|
91
100
|
}
|
|
92
101
|
else {
|
|
93
102
|
process.stdout.write(`${check ? 'Checking' : 'Initialized'} ${repository ?? directory} for org ${settings.org} (dev ${settings.branches.dev}, release ${settings.branches.release}, seq-ci ${settings.seq_ci}, pull-request builds ${settings.pull_request_builds})\n`);
|
|
94
103
|
printReports(reports);
|
|
104
|
+
printSettingReports(github);
|
|
95
105
|
}
|
|
96
|
-
const outstanding = reports.some((report) => report.status === 'missing' || report.status === 'stale');
|
|
106
|
+
const outstanding = [...reports, ...github].some((report) => report.status === 'missing' || report.status === 'stale');
|
|
97
107
|
if (check)
|
|
98
108
|
return outstanding ? 3 : 0;
|
|
99
109
|
// Prose goes to stderr under --json, so stdout stays one JSON document.
|
|
@@ -109,7 +109,23 @@ export declare function githubRulesets({ settings }: {
|
|
|
109
109
|
bypass_actors: unknown[];
|
|
110
110
|
};
|
|
111
111
|
}[];
|
|
112
|
-
/**
|
|
112
|
+
/**
|
|
113
|
+
* The repository settings `repo init` keeps, as `PATCH repos/<repository>` takes them. A merged pull request's branch is
|
|
114
|
+
* deleted; the dev and release branches survive that, their rulesets forbid deletion.
|
|
115
|
+
*/
|
|
116
|
+
export declare const REPOSITORY_SETTINGS: {
|
|
117
|
+
delete_branch_on_merge: boolean;
|
|
118
|
+
security_and_analysis: {
|
|
119
|
+
secret_scanning: {
|
|
120
|
+
status: string;
|
|
121
|
+
};
|
|
122
|
+
secret_scanning_push_protection: {
|
|
123
|
+
status: string;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
export declare const REPOSITORY_SETTING_NAMES: readonly [readonly ["delete_branch_on_merge", "delete merged branches"], readonly ["security_and_analysis", "secret scanning"]];
|
|
128
|
+
/** The GitHub API calls that set branch rules and repository settings on a repository that has none yet, for an admin to run. */
|
|
113
129
|
export declare function githubSettingsCommands({ repository, settings }: {
|
|
114
130
|
repository: string;
|
|
115
131
|
settings: GitHubSettings;
|
|
@@ -120,9 +136,16 @@ export type GitHubApi = (args: {
|
|
|
120
136
|
path: string;
|
|
121
137
|
body?: unknown;
|
|
122
138
|
}) => Promise<unknown>;
|
|
139
|
+
export declare function listRulesets({ repository, api }: {
|
|
140
|
+
repository: string;
|
|
141
|
+
api: GitHubApi;
|
|
142
|
+
}): Promise<{
|
|
143
|
+
id: number;
|
|
144
|
+
name: string;
|
|
145
|
+
}[]>;
|
|
123
146
|
/**
|
|
124
|
-
* Apply the rulesets and
|
|
125
|
-
* place, keeping any bypass actors an admin added alongside the Sequence CI App's, never duplicated.
|
|
147
|
+
* Apply the rulesets and repository settings, reconciling by ruleset name: an existing `seq: <branch>` ruleset is updated
|
|
148
|
+
* in place, keeping any bypass actors an admin added alongside the Sequence CI App's, never duplicated.
|
|
126
149
|
*/
|
|
127
150
|
export declare function applyGitHubSettings({ repository, settings, api }: {
|
|
128
151
|
repository: string;
|
|
@@ -288,21 +288,32 @@ export function githubRulesets({ settings }) {
|
|
|
288
288
|
{ ...ruleset(settings.branches.release, [{ type: 'deletion' }, { type: 'non_fast_forward' }, { type: 'update' }]), bypass: [APP_BYPASS] },
|
|
289
289
|
].map(({ bypass = [], ...entry }) => ({ ...entry, body: { ...entry.body, bypass_actors: bypass } }));
|
|
290
290
|
}
|
|
291
|
-
|
|
292
|
-
|
|
291
|
+
/**
|
|
292
|
+
* The repository settings `repo init` keeps, as `PATCH repos/<repository>` takes them. A merged pull request's branch is
|
|
293
|
+
* deleted; the dev and release branches survive that, their rulesets forbid deletion.
|
|
294
|
+
*/
|
|
295
|
+
export const REPOSITORY_SETTINGS = {
|
|
296
|
+
delete_branch_on_merge: true,
|
|
297
|
+
security_and_analysis: { secret_scanning: { status: 'enabled' }, secret_scanning_push_protection: { status: 'enabled' } },
|
|
298
|
+
};
|
|
299
|
+
export const REPOSITORY_SETTING_NAMES = [['delete_branch_on_merge', 'delete merged branches'], ['security_and_analysis', 'secret scanning']];
|
|
300
|
+
/** The GitHub API calls that set branch rules and repository settings on a repository that has none yet, for an admin to run. */
|
|
293
301
|
export function githubSettingsCommands({ repository, settings }) {
|
|
294
302
|
return [
|
|
295
303
|
...githubRulesets({ settings }).map((ruleset) => ['gh', 'api', '--method', 'POST', `repos/${repository}/rulesets`, '--input', '-', JSON.stringify(ruleset.body)]),
|
|
296
|
-
['gh', 'api', '--method', 'PATCH', `repos/${repository}`, '--input', '-', JSON.stringify(
|
|
304
|
+
['gh', 'api', '--method', 'PATCH', `repos/${repository}`, '--input', '-', JSON.stringify(REPOSITORY_SETTINGS)],
|
|
297
305
|
];
|
|
298
306
|
}
|
|
307
|
+
export async function listRulesets({ repository, api }) {
|
|
308
|
+
const existing = await api({ method: 'GET', path: `repos/${repository}/rulesets?per_page=100` });
|
|
309
|
+
return Array.isArray(existing) ? existing.filter((entry) => typeof entry?.id === 'number' && typeof entry?.name === 'string') : [];
|
|
310
|
+
}
|
|
299
311
|
/**
|
|
300
|
-
* Apply the rulesets and
|
|
301
|
-
* place, keeping any bypass actors an admin added alongside the Sequence CI App's, never duplicated.
|
|
312
|
+
* Apply the rulesets and repository settings, reconciling by ruleset name: an existing `seq: <branch>` ruleset is updated
|
|
313
|
+
* in place, keeping any bypass actors an admin added alongside the Sequence CI App's, never duplicated.
|
|
302
314
|
*/
|
|
303
315
|
export async function applyGitHubSettings({ repository, settings, api }) {
|
|
304
|
-
const
|
|
305
|
-
const listed = Array.isArray(existing) ? existing.filter((entry) => typeof entry?.id === 'number' && typeof entry?.name === 'string') : [];
|
|
316
|
+
const listed = await listRulesets({ repository, api });
|
|
306
317
|
const result = { created: [], updated: [] };
|
|
307
318
|
for (const ruleset of githubRulesets({ settings })) {
|
|
308
319
|
const match = listed.find((entry) => entry.name === ruleset.name);
|
|
@@ -318,7 +329,7 @@ export async function applyGitHubSettings({ repository, settings, api }) {
|
|
|
318
329
|
await api({ method: 'PUT', path: `repos/${repository}/rulesets/${match.id}`, body: { ...ruleset.body, bypass_actors: bypass } });
|
|
319
330
|
result.updated.push(ruleset.name);
|
|
320
331
|
}
|
|
321
|
-
await api({ method: 'PATCH', path: `repos/${repository}`, body:
|
|
332
|
+
await api({ method: 'PATCH', path: `repos/${repository}`, body: REPOSITORY_SETTINGS });
|
|
322
333
|
return result;
|
|
323
334
|
}
|
|
324
335
|
/**
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type GitHubApi, type GitHubSettings } from './github-init.js';
|
|
2
|
+
/**
|
|
3
|
+
* `seq-studio repo init --check`, the GitHub half: whether a repository still has the rulesets and settings
|
|
4
|
+
* `--apply-github` sets. Read-only.
|
|
5
|
+
*/
|
|
6
|
+
/** `unchecked`: the caller's token may not read it, so nothing is known either way. */
|
|
7
|
+
export type SettingStatus = 'missing' | 'stale' | 'current' | 'unchecked';
|
|
8
|
+
export interface SettingReport {
|
|
9
|
+
setting: string;
|
|
10
|
+
status: SettingStatus;
|
|
11
|
+
}
|
|
12
|
+
/** What `--apply-github` would change on a repository, read-only: each ruleset and repository setting it keeps. */
|
|
13
|
+
export declare function checkGitHubSettings({ repository, settings, api }: {
|
|
14
|
+
repository: string;
|
|
15
|
+
settings: GitHubSettings;
|
|
16
|
+
api: GitHubApi;
|
|
17
|
+
}): Promise<SettingReport[]>;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { githubRulesets, listRulesets, REPOSITORY_SETTING_NAMES, REPOSITORY_SETTINGS } from './github-init.js';
|
|
2
|
+
/**
|
|
3
|
+
* Whether `actual` holds everything in `expected`. Not equality: GitHub returns defaults `repo init` never set, and an
|
|
4
|
+
* admin may add rules or bypass actors beside the ones it keeps. A value it does set must match exactly.
|
|
5
|
+
*/
|
|
6
|
+
function holds({ actual, expected }) {
|
|
7
|
+
if (Array.isArray(expected)) {
|
|
8
|
+
return Array.isArray(actual) && expected.every((item) => actual.some((candidate) => holds({ actual: candidate, expected: item })));
|
|
9
|
+
}
|
|
10
|
+
if (expected !== null && typeof expected === 'object') {
|
|
11
|
+
return actual !== null && typeof actual === 'object' &&
|
|
12
|
+
Object.entries(expected).every(([key, value]) => holds({ actual: Reflect.get(actual, key), expected: value }));
|
|
13
|
+
}
|
|
14
|
+
return actual === expected;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Whether a ruleset exempts no branch. `holds` can't say: it accepts whatever an admin added, and an exclusion is the one
|
|
18
|
+
* addition that weakens a ruleset, lifting its rules off the branch it names.
|
|
19
|
+
*/
|
|
20
|
+
function excludesNoBranch(ruleset) {
|
|
21
|
+
const read = (value, key) => value !== null && typeof value === 'object' ? Reflect.get(value, key) : undefined;
|
|
22
|
+
const exclude = read(read(read(ruleset, 'conditions'), 'ref_name'), 'exclude');
|
|
23
|
+
return Array.isArray(exclude) && exclude.length === 0;
|
|
24
|
+
}
|
|
25
|
+
async function rulesetReports({ repository, settings, api }) {
|
|
26
|
+
const expected = githubRulesets({ settings });
|
|
27
|
+
const report = (name, status) => ({ setting: `ruleset ${name}`, status });
|
|
28
|
+
try {
|
|
29
|
+
const listed = await listRulesets({ repository, api });
|
|
30
|
+
return await Promise.all(expected.map(async ({ name, body }) => {
|
|
31
|
+
const match = listed.find((entry) => entry.name === name);
|
|
32
|
+
if (!match)
|
|
33
|
+
return report(name, 'missing');
|
|
34
|
+
const current = await api({ method: 'GET', path: `repos/${repository}/rulesets/${match.id}` });
|
|
35
|
+
// GitHub shows a ruleset's bypass actors only to those who can write to the repository.
|
|
36
|
+
const readable = current !== null && typeof current === 'object' && Array.isArray(Reflect.get(current, 'bypass_actors'));
|
|
37
|
+
const { bypass_actors: _unreadable, ...rules } = body;
|
|
38
|
+
const kept = holds({ actual: current, expected: readable ? body : rules }) && excludesNoBranch(current);
|
|
39
|
+
return report(name, kept ? 'current' : 'stale');
|
|
40
|
+
}));
|
|
41
|
+
}
|
|
42
|
+
catch {
|
|
43
|
+
return expected.map(({ name }) => report(name, 'unchecked'));
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
async function repositorySettingReports({ repository, api }) {
|
|
47
|
+
const current = await api({ method: 'GET', path: `repos/${repository}` }).catch(() => null);
|
|
48
|
+
return REPOSITORY_SETTING_NAMES.map(([key, setting]) => {
|
|
49
|
+
// Absent rather than off: GitHub leaves these fields out for a token that can't administer the repository.
|
|
50
|
+
const actual = current !== null && typeof current === 'object' ? Reflect.get(current, key) : undefined;
|
|
51
|
+
const status = actual === undefined ? 'unchecked' : holds({ actual, expected: REPOSITORY_SETTINGS[key] }) ? 'current' : 'stale';
|
|
52
|
+
return { setting, status };
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
/** What `--apply-github` would change on a repository, read-only: each ruleset and repository setting it keeps. */
|
|
56
|
+
export async function checkGitHubSettings({ repository, settings, api }) {
|
|
57
|
+
return [...await rulesetReports({ repository, settings, api }), ...await repositorySettingReports({ repository, api })];
|
|
58
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sequenceholdings/studio-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Unified Sequence Studio CLI — `seq-studio init` / `add` / `deploy` (app monorepos), `seq-studio agents`, `seq-studio process` (Lattice), `seq-studio artifact`, `seq-studio functions` / `secrets`, `seq-studio repos`, and `seq-studio auth whoami`. Includes Auth0 browser login shared with seqapi.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"repository": {
|
|
@@ -46,15 +46,15 @@
|
|
|
46
46
|
"yaml": "^2.8.4",
|
|
47
47
|
"zod": "4.6.6",
|
|
48
48
|
"@sequenceholdings/agent-spec": "0.1.6",
|
|
49
|
-
"@sequenceholdings/artifact-studio": "0.11.
|
|
50
|
-
"@sequenceholdings/lattice": "0.1.9",
|
|
49
|
+
"@sequenceholdings/artifact-studio": "0.11.25",
|
|
51
50
|
"@sequenceholdings/storage": "0.1.8",
|
|
52
51
|
"@sequenceholdings/platform": "0.1.5",
|
|
53
|
-
"@sequenceholdings/managed-functions": "0.5.16"
|
|
52
|
+
"@sequenceholdings/managed-functions": "0.5.16",
|
|
53
|
+
"@sequenceholdings/lattice": "0.1.9"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@sequenceholdings/
|
|
57
|
-
"@sequenceholdings/
|
|
56
|
+
"@sequenceholdings/orm": "2.12.1",
|
|
57
|
+
"@sequenceholdings/pipeline-spec": "0.3.15"
|
|
58
58
|
},
|
|
59
59
|
"peerDependenciesMeta": {
|
|
60
60
|
"@sequenceholdings/orm": {
|
package/release-summary.json
CHANGED
|
@@ -13,5 +13,6 @@
|
|
|
13
13
|
"0.9.27": "Includes ORM 2.12.1: orm generate --migration-export writes compact JSON, so namespaces with many operations stay under the export size limit, and committed migration chain links carry their reviewed destructive flag, which repository CI reads as consent to apply that data loss.",
|
|
14
14
|
"1.0.0": "seq-studio 1.0: commands, flags, exit codes and JSON output are now stable. Old spellings still work. promote, secret attach and apply, repos, and --repo from git-service are deprecated: each prints its replacement and is removed in 2.0.",
|
|
15
15
|
"1.0.1": "Next.js artifacts may now pin next@16.4.6, which fixes two Next.js security advisories, as well as 16.4.1. New apps are still scaffolded on 16.4.1 until every Atlas environment admits 16.4.6.",
|
|
16
|
-
"1.0.2": "seq-studio upgrade and repo init no longer move the seq-ci workflows back to an older release when they were bumped ahead of seq_ci in .seq/github.yml. Top-level help and setup hints now point at seq-studio login <deployment-url>."
|
|
16
|
+
"1.0.2": "seq-studio upgrade and repo init no longer move the seq-ci workflows back to an older release when they were bumped ahead of seq_ci in .seq/github.yml. Top-level help and setup hints now point at seq-studio login <deployment-url>.",
|
|
17
|
+
"1.0.3": "Artifact builds now use Atlas UI 4.2.0, including the shared SideNav and SideNavLayout components, through Artifact Studio 0.11.25."
|
|
17
18
|
}
|