@sequenceholdings/studio-cli 0.9.18-next.0 → 0.9.18
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 +15 -9
- package/dist/feedback/commands.d.ts +1 -1
- package/dist/feedback/commands.js +5 -1
- package/dist/host-token.d.ts +2 -1
- package/dist/host-token.js +10 -2
- package/package.json +6 -6
- package/release-summary.json +2 -1
package/README.md
CHANGED
|
@@ -2420,8 +2420,8 @@ targets: []
|
|
|
2420
2420
|
|
|
2421
2421
|
Atlas discovers the file on the pull request's head or base and runs checks on
|
|
2422
2422
|
PR creation and updates to its head. A base change is re-verified at merge, and
|
|
2423
|
-
only a delta reaching control files or target inputs queues a recheck. Repository CI and deployment
|
|
2424
|
-
use
|
|
2423
|
+
only a delta reaching control files or target inputs queues a recheck. Repository CI and deployment builds
|
|
2424
|
+
use Cloud Build, including for local destinations. Next.js resources may explicitly
|
|
2425
2425
|
select Modal for compilation. Each run uses the platform
|
|
2426
2426
|
image defaults; no image digest or manual branch-policy setup is
|
|
2427
2427
|
needed from the repository author. This is a PR workflow; arbitrary GitHub
|
|
@@ -2435,12 +2435,15 @@ resource bindings and current native permissions. Platform administrators retain
|
|
|
2435
2435
|
advanced branch policies for those bindings and approved execution overrides.
|
|
2436
2436
|
An existing explicit policy takes precedence over automatic defaults.
|
|
2437
2437
|
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2438
|
+
Repository checks need no inbound route: they exchange their inputs and results
|
|
2439
|
+
through signed storage objects, and there are no completion webhooks. Without a
|
|
2440
|
+
configured workload URL, local development deploys a merge to a local
|
|
2441
|
+
destination in process; testing hosted promotion or build callbacks locally
|
|
2442
|
+
needs an explicitly configured public HTTPS tunnel to Atlas. A missing runner or
|
|
2443
|
+
unreachable callback never falls back to laptop execution. Hosted environments
|
|
2444
|
+
use their own HTTPS server URL. Repository Settings → CI shows setup guidance
|
|
2445
|
+
and configured callback URLs; those checks do not prove a worker can reach the
|
|
2446
|
+
server.
|
|
2444
2447
|
|
|
2445
2448
|
`ci init` refuses to replace an existing `.seq/pipeline.yml` or create a second
|
|
2446
2449
|
file beside legacy `.seq/ci.json`. Migrate a legacy JSON configuration and remove
|
|
@@ -3431,7 +3434,10 @@ merged and closed Pulls, and prints the updated Pull like `show` (with `url`).
|
|
|
3431
3434
|
## Agent feedback
|
|
3432
3435
|
|
|
3433
3436
|
Report errors, confusing behavior, missing docs or capabilities, repeated retries, and
|
|
3434
|
-
successful workarounds with normal Sequence credentials.
|
|
3437
|
+
successful workarounds with normal Sequence credentials. For UI work, also report
|
|
3438
|
+
components that are hard to find, missing, or awkward to use, and a user's criticism
|
|
3439
|
+
of the UI's visual design. Set `pullRequestUrl` to the pull request you were working
|
|
3440
|
+
on when one exists. A report needs only a title
|
|
3435
3441
|
and observed behavior; do not include transcripts, customer records, or secrets.
|
|
3436
3442
|
Do not search for duplicates before submitting. Report each independently encountered
|
|
3437
3443
|
occurrence, including known issues; group repeated symptoms within one incident.
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type ParsedArgs } from '../argv.js';
|
|
2
|
-
export declare const FEEDBACK_HELP = "usage: seq-studio feedback submit --file report.json [-e <env>] [--json]\n\nSubmit a short, sanitized report using your normal Sequence credentials. Example:\n {\"title\":\"Deploy command retried unexpectedly\",\"observedBehavior\":\"The command returned 503 before validation\",\"agent\":{\"application\":\"Codex\",\"provider\":\"OpenAI\",\"modelId\":\"unknown\"}}\n\nInclude errors, confusing behavior, missing docs or capabilities, repeated retries, and\nsuccessful workarounds even when the cause is uncertain. Do not search for duplicates\nbefore submitting. Report each independent occurrence, including known issues; group\nrepeated symptoms within one incident. Do not suppress independent tasks or reporters.\nDo not attach transcripts, customer records, secrets, or raw logs. Receipt confirms\nLinear creation; otherwise keep your draft and submission evidence. Do not blindly\nresubmit an uncertain write. submissionId is correlation, not idempotency.\nAgent and model fields are client-reported.\n";
|
|
2
|
+
export declare const FEEDBACK_HELP = "usage: seq-studio feedback submit --file report.json [-e <env>] [--json]\n\nSubmit a short, sanitized report using your normal Sequence credentials. Example:\n {\"title\":\"Deploy command retried unexpectedly\",\"observedBehavior\":\"The command returned 503 before validation\",\"agent\":{\"application\":\"Codex\",\"provider\":\"OpenAI\",\"modelId\":\"unknown\"}}\n\nInclude errors, confusing behavior, missing docs or capabilities, repeated retries, and\nsuccessful workarounds even when the cause is uncertain. For UI work, also report UI\ncomponents that are hard to find, missing, or awkward to use, and a user's criticism\nof the UI's visual design. Set pullRequestUrl to the pull request you were working on\nwhen one exists; never guess it. Do not search for duplicates\nbefore submitting. Report each independent occurrence, including known issues; group\nrepeated symptoms within one incident. Do not suppress independent tasks or reporters.\nDo not attach transcripts, customer records, secrets, or raw logs. Receipt confirms\nLinear creation; otherwise keep your draft and submission evidence. Do not blindly\nresubmit an uncertain write. submissionId is correlation, not idempotency.\nAgent and model fields are client-reported.\n";
|
|
3
3
|
export declare function runFeedbackCommand(sub: string | undefined, args: ParsedArgs): Promise<number>;
|
|
@@ -6,6 +6,7 @@ const reportSchema = z.strictObject({
|
|
|
6
6
|
observedBehavior: z.string().trim().min(1).max(3000),
|
|
7
7
|
intent: z.string().max(1000).optional(), expectedBehavior: z.string().max(1000).optional(),
|
|
8
8
|
suggestion: z.string().max(1000).optional(), commandOrEndpoint: z.string().max(500).optional(),
|
|
9
|
+
pullRequestUrl: z.string().trim().max(500).regex(/^https:\/\/\S+$/, 'Use a single https:// URL').optional(),
|
|
9
10
|
sanitizedError: z.string().max(1000).optional(), workaround: z.string().max(1000).optional(),
|
|
10
11
|
impact: z.string().max(500).optional(), evidence: z.string().max(1000).optional(),
|
|
11
12
|
clientVersion: z.string().max(100).optional(), submissionId: z.uuid().optional(),
|
|
@@ -20,7 +21,10 @@ Submit a short, sanitized report using your normal Sequence credentials. Example
|
|
|
20
21
|
{"title":"Deploy command retried unexpectedly","observedBehavior":"The command returned 503 before validation","agent":{"application":"Codex","provider":"OpenAI","modelId":"unknown"}}
|
|
21
22
|
|
|
22
23
|
Include errors, confusing behavior, missing docs or capabilities, repeated retries, and
|
|
23
|
-
successful workarounds even when the cause is uncertain.
|
|
24
|
+
successful workarounds even when the cause is uncertain. For UI work, also report UI
|
|
25
|
+
components that are hard to find, missing, or awkward to use, and a user's criticism
|
|
26
|
+
of the UI's visual design. Set pullRequestUrl to the pull request you were working on
|
|
27
|
+
when one exists; never guess it. Do not search for duplicates
|
|
24
28
|
before submitting. Report each independent occurrence, including known issues; group
|
|
25
29
|
repeated symptoms within one incident. Do not suppress independent tasks or reporters.
|
|
26
30
|
Do not attach transcripts, customer records, secrets, or raw logs. Receipt confirms
|
package/dist/host-token.d.ts
CHANGED
|
@@ -7,12 +7,13 @@
|
|
|
7
7
|
* replaces them before they expire:
|
|
8
8
|
*
|
|
9
9
|
* SEQ_DEVBOX_TOKEN_DIR/<host> e.g. staging.example.seqholdings.com
|
|
10
|
+
* SEQ_DEVBOX_TOKEN_DIR/localhost the box's own Atlas, on any loopback origin
|
|
10
11
|
*
|
|
11
12
|
* A request to an origin whose host has a live file uses it, unless the user
|
|
12
13
|
* has a live login of their own for that deployment, which wins (auth.ts);
|
|
13
14
|
* every other origin resolves exactly as before. Unlike sandbox token
|
|
14
15
|
* mode this pins nothing: `-e` still picks the deployment, and a deployment
|
|
15
|
-
* with no file
|
|
16
|
+
* with no file falls through to the usual login.
|
|
16
17
|
*
|
|
17
18
|
* The file is read again for each request, so a rotation mid-command is picked
|
|
18
19
|
* up. A token whose `exp` is past (or within a minute of it) is ignored rather
|
package/dist/host-token.js
CHANGED
|
@@ -7,12 +7,13 @@
|
|
|
7
7
|
* replaces them before they expire:
|
|
8
8
|
*
|
|
9
9
|
* SEQ_DEVBOX_TOKEN_DIR/<host> e.g. staging.example.seqholdings.com
|
|
10
|
+
* SEQ_DEVBOX_TOKEN_DIR/localhost the box's own Atlas, on any loopback origin
|
|
10
11
|
*
|
|
11
12
|
* A request to an origin whose host has a live file uses it, unless the user
|
|
12
13
|
* has a live login of their own for that deployment, which wins (auth.ts);
|
|
13
14
|
* every other origin resolves exactly as before. Unlike sandbox token
|
|
14
15
|
* mode this pins nothing: `-e` still picks the deployment, and a deployment
|
|
15
|
-
* with no file
|
|
16
|
+
* with no file falls through to the usual login.
|
|
16
17
|
*
|
|
17
18
|
* The file is read again for each request, so a rotation mid-command is picked
|
|
18
19
|
* up. A token whose `exp` is past (or within a minute of it) is ignored rather
|
|
@@ -23,6 +24,9 @@ import { join } from 'node:path';
|
|
|
23
24
|
export const DEVBOX_TOKEN_DIR_ENV = 'SEQ_DEVBOX_TOKEN_DIR';
|
|
24
25
|
const HOST = /^[a-z0-9.-]+(?::\d{1,5})?$/;
|
|
25
26
|
const EXPIRY_MARGIN_SECONDS = 60;
|
|
27
|
+
/** The file the box's own Atlas token lives under (Atlas `owner-token-targets.ts`). */
|
|
28
|
+
const LOCAL_ATLAS_TOKEN_HOST = 'localhost';
|
|
29
|
+
const LOOPBACK_HOSTNAMES = new Set(['localhost', '127.0.0.1', '[::1]']);
|
|
26
30
|
/** The file name a token for `url` lives under, or null for an origin that never has one. */
|
|
27
31
|
export function devboxTokenHost(url) {
|
|
28
32
|
let parsed;
|
|
@@ -32,7 +36,11 @@ export function devboxTokenHost(url) {
|
|
|
32
36
|
catch {
|
|
33
37
|
return null;
|
|
34
38
|
}
|
|
35
|
-
//
|
|
39
|
+
// The box's own Atlas accepts one token, addressed to this box, whichever loopback port it serves.
|
|
40
|
+
// A loopback request never leaves the box, so plain http is safe there and nowhere else.
|
|
41
|
+
if (LOOPBACK_HOSTNAMES.has(parsed.hostname.toLowerCase())) {
|
|
42
|
+
return parsed.protocol === 'http:' || parsed.protocol === 'https:' ? LOCAL_ATLAS_TOKEN_HOST : null;
|
|
43
|
+
}
|
|
36
44
|
if (parsed.protocol !== 'https:')
|
|
37
45
|
return null;
|
|
38
46
|
const host = parsed.host.toLowerCase();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sequenceholdings/studio-cli",
|
|
3
|
-
"version": "0.9.18
|
|
3
|
+
"version": "0.9.18",
|
|
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.5",
|
|
49
|
-
"@sequenceholdings/artifact-studio": "0.11.
|
|
49
|
+
"@sequenceholdings/artifact-studio": "0.11.16",
|
|
50
50
|
"@sequenceholdings/lattice": "0.1.8",
|
|
51
|
-
"@sequenceholdings/managed-functions": "0.5.11",
|
|
52
51
|
"@sequenceholdings/storage": "0.1.7",
|
|
53
|
-
"@sequenceholdings/platform": "0.1.4"
|
|
52
|
+
"@sequenceholdings/platform": "0.1.4",
|
|
53
|
+
"@sequenceholdings/managed-functions": "0.5.11"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@sequenceholdings/
|
|
57
|
-
"@sequenceholdings/
|
|
56
|
+
"@sequenceholdings/orm": "2.10.0",
|
|
57
|
+
"@sequenceholdings/pipeline-spec": "0.3.10"
|
|
58
58
|
},
|
|
59
59
|
"peerDependenciesMeta": {
|
|
60
60
|
"@sequenceholdings/orm": {
|
package/release-summary.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"0.9.17": "Global pnpm 10 installs now update automatically to latest after a background check. If a command fails to start during an update, retry it. Use seq-studio updater track next for previews.",
|
|
3
|
-
"0.9.18-next.0": "Preview build for testing automatic CLI updates on the next track. No command behavior changes."
|
|
3
|
+
"0.9.18-next.0": "Preview build for testing automatic CLI updates on the next track. No command behavior changes.",
|
|
4
|
+
"0.9.18": "Artifact builds now use Atlas UI 3.7.0, including DatePicker and DateRangePicker."
|
|
4
5
|
}
|