bitfab-cli 0.2.430 → 0.2.431
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/dist/index.js +6 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -29893,10 +29893,10 @@ var semver3 = __toESM(require_semver2(), 1);
|
|
|
29893
29893
|
|
|
29894
29894
|
// ../bitfab-plugin-lib/dist/bakedSdkVersions.js
|
|
29895
29895
|
var BAKED_SDK_VERSIONS = {
|
|
29896
|
-
typescript: "0.64.
|
|
29897
|
-
python: "0.64.
|
|
29898
|
-
ruby: "0.64.
|
|
29899
|
-
go: "0.64.
|
|
29896
|
+
typescript: "0.64.15",
|
|
29897
|
+
python: "0.64.15",
|
|
29898
|
+
ruby: "0.64.13",
|
|
29899
|
+
go: "0.64.14"
|
|
29900
29900
|
};
|
|
29901
29901
|
|
|
29902
29902
|
// ../bitfab-plugin-lib/dist/installedSdk.js
|
|
@@ -36641,7 +36641,7 @@ Never modify existing code on a refactor path without completing this three-step
|
|
|
36641
36641
|
kind: "action",
|
|
36642
36642
|
title: "Inspect the replay environment",
|
|
36643
36643
|
toolCalls: ["bash", "read", "glob", "grep", "ask"],
|
|
36644
|
-
body: `Cloud replay is the user's normal replay plus --cloud: every replay option works the same, the runner replays a snapshot of their working tree (changed files, plus new files git does not ignore) from the same directory, and the command prints the replay's progress and a short summary of its result (experiment ID and URL, replayed, same, changed, and errored counts, and each errored trace with its error), then exits with its exit code. Every trace's input and output are in the experiment in Bitfab
|
|
36644
|
+
body: `Cloud replay is the user's normal replay plus --cloud: every replay option works the same, the runner replays a snapshot of their working tree (changed files, plus new files git does not ignore) from the same directory, and the command prints the replay's progress and a short summary of its result (experiment ID and URL, replayed, same, changed, and errored counts, and each errored trace with its error), then exits with its exit code. Every trace's input and output are in the experiment in Bitfab; read them through the Bitfab MCP tools, as after a local replay. --cloud-full-output prints the whole result instead, and is refused on a public repository. The code ships inside the SDK, and the repository keeps one file: .github/workflows/bitfab-replay.yml, which holds only settings.
|
|
36645
36645
|
|
|
36646
36646
|
Run the installed SDK's bitfab-replay --cloud --help; if it does not list --cloud-preview, upgrade the SDK through bitfab:update first. Check that the git origin is github.com and that Python 3.10+ exists (macOS or Linux). GitHub access needs no GitHub CLI: the SDK uses gh when it is logged in, otherwise GH_TOKEN or GITHUB_TOKEN, otherwise the github.com credential git stores. When the repository still has .bitfab/cloud.json from an older SDK, the SDK says to delete it and the old workflow and run --cloud-init again; show the user the old file's settings first.
|
|
36647
36647
|
|
|
@@ -36675,7 +36675,7 @@ Each replay pushes a temporary bitfab-replay/<UUID> branch. For each push-trigge
|
|
|
36675
36675
|
|
|
36676
36676
|
Verify with the replay command the user already runs. First add --cloud --cloud-preview, which pushes nothing and lists the changed and new files the snapshot would carry; review them for anything that should not leave the machine, since filename screening is not a secret scanner, and have the user gitignore it. Once the workflow is merged and secrets are set, and remote runs are authorized, run the same command with --cloud --dry-run: a real run that replays nothing but receives the secrets, stops on any empty secret, runs the --check command, and resolves the traces. Then, only when a replay is authorized, run with --cloud alone.
|
|
36677
36677
|
|
|
36678
|
-
From an agent session always add --cloud-detach, since a replay can run for hours, and follow it with --cloud-watch <UUID> (prints the replay's progress and result summary and exits with its code), --cloud-status, --cloud-cancel, or --cloud-cleanup. --cloud-timeout <minutes> stops one replay early and keeps finished traces. --cloud-env NAME=VALUE (repeatable) sets a non-secret environment variable for one replay; secrets go in the workflow's env and --cloud-secrets. Report separately whether the workflow is written, secrets are set, the workflow is merged, the preview was reviewed, the dry run passed, and a real replay completed.`,
|
|
36678
|
+
From an agent session always add --cloud-detach, since a replay can run for hours, and follow it with --cloud-watch <UUID> (prints the replay's progress and result summary and exits with its code), --cloud-status, --cloud-cancel, or --cloud-cleanup. --cloud-timeout <minutes> stops one replay early and keeps finished traces. --cloud-env NAME=VALUE (repeatable) sets a non-secret environment variable for one replay; secrets go in the workflow's env and --cloud-secrets. When the snapshot refuses a credential-like file the user confirms is safe to upload, such as a test certificate, --cloud-allow-file <path> (repeatable, private repositories only) lets it in. Report separately whether the workflow is written, secrets are set, the workflow is merged, the preview was reviewed, the dry run passed, and a real replay completed.`,
|
|
36679
36679
|
next: "cleanup/finish"
|
|
36680
36680
|
}
|
|
36681
36681
|
]
|
package/package.json
CHANGED