sandforge 0.0.0-stage → 1.80.0
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/LICENSE +21 -0
- package/README.md +54 -2
- package/THIRD-PARTY-NOTICES.md +1624 -0
- package/bin/sandforge-autopilot.mjs +12 -0
- package/bin/sandforge-backup.mjs +12 -0
- package/bin/sandforge-checkpoint.mjs +12 -0
- package/bin/sandforge-cleanup.mjs +12 -0
- package/bin/sandforge-clone.mjs +12 -0
- package/bin/sandforge-compare.mjs +12 -0
- package/bin/sandforge-dataops.mjs +12 -0
- package/bin/sandforge-empty.mjs +12 -0
- package/bin/sandforge-env.mjs +12 -0
- package/bin/sandforge-frozen.mjs +12 -0
- package/bin/sandforge-mcp.mjs +12 -0
- package/bin/sandforge-monitor.mjs +12 -0
- package/bin/sandforge-seed.mjs +12 -0
- package/bin/sandforge-sync.mjs +12 -0
- package/bin/sandforge.mjs +12 -0
- package/lib/catalogue.en.json +1 -0
- package/lib/chunk-2BA2XKAY.mjs +7 -0
- package/lib/chunk-2CNCDM56.mjs +7 -0
- package/lib/chunk-2GTBABKU.mjs +7 -0
- package/lib/chunk-2NBYT7GR.mjs +7 -0
- package/lib/chunk-2UZPIMUC.mjs +7 -0
- package/lib/chunk-2YIV2OB2.mjs +7 -0
- package/lib/chunk-3F6Q5E7I.mjs +14 -0
- package/lib/chunk-3RZQZHEB.mjs +7 -0
- package/lib/chunk-3TJON4F3.mjs +7 -0
- package/lib/chunk-4HW535YJ.mjs +7 -0
- package/lib/chunk-4TLYUZD5.mjs +7 -0
- package/lib/chunk-4VS2V6WU.mjs +25 -0
- package/lib/chunk-5K5VLULK.mjs +7 -0
- package/lib/chunk-5LFSFYFJ.mjs +7 -0
- package/lib/chunk-5P4PHJRL.mjs +9 -0
- package/lib/chunk-5TC3QB4U.mjs +10 -0
- package/lib/chunk-66NMFCWX.mjs +7 -0
- package/lib/chunk-6XYKJSGX.mjs +7 -0
- package/lib/chunk-74Q6DORA.mjs +7 -0
- package/lib/chunk-7ABODJ4G.mjs +7 -0
- package/lib/chunk-7EANH5PY.mjs +68 -0
- package/lib/chunk-7EGQP6S4.mjs +7 -0
- package/lib/chunk-7F54PZUS.mjs +7 -0
- package/lib/chunk-7FFGJWHN.mjs +7 -0
- package/lib/chunk-7YDNUBO5.mjs +7 -0
- package/lib/chunk-A527W53V.mjs +7 -0
- package/lib/chunk-ADOAS63R.mjs +7 -0
- package/lib/chunk-AEKONPF4.mjs +7 -0
- package/lib/chunk-AV5SWEHP.mjs +9 -0
- package/lib/chunk-B5QQJ4SI.mjs +7 -0
- package/lib/chunk-BGUEWRK2.mjs +7 -0
- package/lib/chunk-BKDV4ENO.mjs +7 -0
- package/lib/chunk-BOGNK4LV.mjs +7 -0
- package/lib/chunk-BTWDMNN3.mjs +7 -0
- package/lib/chunk-BV6VTP3J.mjs +7 -0
- package/lib/chunk-BXU6WFMH.mjs +7 -0
- package/lib/chunk-BY2HJFFG.mjs +7 -0
- package/lib/chunk-BZ24IAP5.mjs +7 -0
- package/lib/chunk-CA5NAXSU.mjs +7 -0
- package/lib/chunk-CE6ZDGBB.mjs +7 -0
- package/lib/chunk-CEX3NEZL.mjs +7 -0
- package/lib/chunk-CHCHAE4B.mjs +7 -0
- package/lib/chunk-CHYDMRSV.mjs +7 -0
- package/lib/chunk-CION3VMZ.mjs +7 -0
- package/lib/chunk-COFG7Q6R.mjs +7 -0
- package/lib/chunk-CSBS5U5I.mjs +7 -0
- package/lib/chunk-CU2INBND.mjs +7 -0
- package/lib/chunk-DB7RBE5D.mjs +7 -0
- package/lib/chunk-DBB3EMIN.mjs +7 -0
- package/lib/chunk-DBFJB2B6.mjs +7 -0
- package/lib/chunk-DYFALGRT.mjs +7 -0
- package/lib/chunk-E5AHXLS6.mjs +7 -0
- package/lib/chunk-E5ZB3LU5.mjs +7 -0
- package/lib/chunk-EADHKH3A.mjs +7 -0
- package/lib/chunk-EFR2Y7E4.mjs +7 -0
- package/lib/chunk-EHQ3FX6X.mjs +7 -0
- package/lib/chunk-ELFXJHU7.mjs +7 -0
- package/lib/chunk-EMNC6YI4.mjs +7 -0
- package/lib/chunk-EQNW3UC2.mjs +7 -0
- package/lib/chunk-F2424IKX.mjs +7 -0
- package/lib/chunk-F43REJDZ.mjs +10 -0
- package/lib/chunk-F6GUDTOB.mjs +7 -0
- package/lib/chunk-FGRG7ANU.mjs +7 -0
- package/lib/chunk-FKG7Q3WH.mjs +7 -0
- package/lib/chunk-FPKYYFM7.mjs +7 -0
- package/lib/chunk-FQGHL7GR.mjs +259 -0
- package/lib/chunk-FXXLX4O6.mjs +7 -0
- package/lib/chunk-G35N4P7D.mjs +7 -0
- package/lib/chunk-GCOB7K5N.mjs +7 -0
- package/lib/chunk-GGD7ON3M.mjs +7 -0
- package/lib/chunk-GMY5427L.mjs +7 -0
- package/lib/chunk-GSG7WZHM.mjs +7 -0
- package/lib/chunk-GSKCGQIP.mjs +7 -0
- package/lib/chunk-HEKAZJRH.mjs +7 -0
- package/lib/chunk-HF6LAK3G.mjs +7 -0
- package/lib/chunk-HLWMJF6Y.mjs +7 -0
- package/lib/chunk-HOJYWTP7.mjs +20 -0
- package/lib/chunk-HS4YRX4J.mjs +7 -0
- package/lib/chunk-HXS7ORUF.mjs +11 -0
- package/lib/chunk-I7O6C2B5.mjs +8 -0
- package/lib/chunk-IC2C2GOF.mjs +8 -0
- package/lib/chunk-IFETCRWE.mjs +10 -0
- package/lib/chunk-IG2MTQRP.mjs +8 -0
- package/lib/chunk-IGYH7GMA.mjs +7 -0
- package/lib/chunk-INIQ23K6.mjs +7 -0
- package/lib/chunk-INIT2UKJ.mjs +7 -0
- package/lib/chunk-IOIWJ3DJ.mjs +7 -0
- package/lib/chunk-IQXHJEYB.mjs +7 -0
- package/lib/chunk-IWDREM66.mjs +7 -0
- package/lib/chunk-IZQZ6ZUF.mjs +7 -0
- package/lib/chunk-J525F5KI.mjs +7 -0
- package/lib/chunk-JEERQRLW.mjs +7 -0
- package/lib/chunk-JPUR2CFX.mjs +10 -0
- package/lib/chunk-JWTSEDIQ.mjs +7 -0
- package/lib/chunk-K2FBZIXY.mjs +7 -0
- package/lib/chunk-K327QKMD.mjs +7 -0
- package/lib/chunk-KBJ5VERV.mjs +7 -0
- package/lib/chunk-KDGMAGQR.mjs +7 -0
- package/lib/chunk-KRCA6IPH.mjs +8 -0
- package/lib/chunk-KYEDBS54.mjs +7 -0
- package/lib/chunk-L5FGY6YA.mjs +7 -0
- package/lib/chunk-L77FJZEP.mjs +10 -0
- package/lib/chunk-LKQ5RKIV.mjs +9 -0
- package/lib/chunk-LPBMBW3O.mjs +13 -0
- package/lib/chunk-LWW4U276.mjs +7 -0
- package/lib/chunk-M3ROUWDX.mjs +7 -0
- package/lib/chunk-M6P5ZZLE.mjs +7 -0
- package/lib/chunk-MFG4MUIO.mjs +9 -0
- package/lib/chunk-MHMH6MTP.mjs +7 -0
- package/lib/chunk-MILU7WFN.mjs +7 -0
- package/lib/chunk-MJU2PGZQ.mjs +15 -0
- package/lib/chunk-MJVTDA5Q.mjs +7 -0
- package/lib/chunk-MS4FJDFD.mjs +101 -0
- package/lib/chunk-MTMH6H2A.mjs +8 -0
- package/lib/chunk-MYW5QNGI.mjs +7 -0
- package/lib/chunk-N652NMZ4.mjs +441 -0
- package/lib/chunk-NTFIRZP6.mjs +7 -0
- package/lib/chunk-NTOVCTRS.mjs +7 -0
- package/lib/chunk-NZC67CGR.mjs +9 -0
- package/lib/chunk-O2HDYYUV.mjs +8 -0
- package/lib/chunk-OAZRPP4I.mjs +7 -0
- package/lib/chunk-OHWNPXWW.mjs +7 -0
- package/lib/chunk-OLSGVAIL.mjs +341 -0
- package/lib/chunk-OO6CLPEH.mjs +7 -0
- package/lib/chunk-OPXCV2KL.mjs +7 -0
- package/lib/chunk-P33PSCXK.mjs +7 -0
- package/lib/chunk-PJ5I73CK.mjs +7 -0
- package/lib/chunk-PTTHSSQO.mjs +7 -0
- package/lib/chunk-PZPJKATS.mjs +19 -0
- package/lib/chunk-Q3DM32KF.mjs +11 -0
- package/lib/chunk-QR3WELJQ.mjs +7 -0
- package/lib/chunk-QROPNEGY.mjs +14 -0
- package/lib/chunk-QSRAEUGZ.mjs +7 -0
- package/lib/chunk-QWT2C74M.mjs +7 -0
- package/lib/chunk-R3X3LV64.mjs +14 -0
- package/lib/chunk-RMBPOTD7.mjs +7 -0
- package/lib/chunk-RPI7LRTW.mjs +7 -0
- package/lib/chunk-RSWDYIHY.mjs +37 -0
- package/lib/chunk-SAR5622P.mjs +7 -0
- package/lib/chunk-SCKUIE3R.mjs +7 -0
- package/lib/chunk-SE4QEZUG.mjs +7 -0
- package/lib/chunk-SIHORWVK.mjs +7 -0
- package/lib/chunk-SOGQW4IG.mjs +7 -0
- package/lib/chunk-SOU4FRYN.mjs +7 -0
- package/lib/chunk-SRPWW4A2.mjs +10 -0
- package/lib/chunk-SU65Z2BA.mjs +7 -0
- package/lib/chunk-T62WNR54.mjs +7 -0
- package/lib/chunk-T63U4OZJ.mjs +7 -0
- package/lib/chunk-TLH7AD35.mjs +7 -0
- package/lib/chunk-TSLJUSLW.mjs +13 -0
- package/lib/chunk-TTFDUKUS.mjs +47 -0
- package/lib/chunk-TTKXMDBN.mjs +10 -0
- package/lib/chunk-TUACWKIH.mjs +7 -0
- package/lib/chunk-TW3N6W5Z.mjs +7 -0
- package/lib/chunk-TYYOBZMU.mjs +10 -0
- package/lib/chunk-TZE3Y7IQ.mjs +7 -0
- package/lib/chunk-UCD54V2M.mjs +7 -0
- package/lib/chunk-UNDIBZWG.mjs +7 -0
- package/lib/chunk-UNJA4J37.mjs +11 -0
- package/lib/chunk-VE6XKGGD.mjs +7 -0
- package/lib/chunk-VGW4MXXZ.mjs +7 -0
- package/lib/chunk-VS7ZXUII.mjs +824 -0
- package/lib/chunk-VXQLDM4R.mjs +7 -0
- package/lib/chunk-VYXMVJL5.mjs +7 -0
- package/lib/chunk-W622GUAW.mjs +8 -0
- package/lib/chunk-W7U5E5ZL.mjs +9 -0
- package/lib/chunk-WA7EYLAQ.mjs +7 -0
- package/lib/chunk-WIO4XO4F.mjs +7 -0
- package/lib/chunk-WR2GIKWE.mjs +7 -0
- package/lib/chunk-WR4Q363I.mjs +11 -0
- package/lib/chunk-WU3GLFZO.mjs +7 -0
- package/lib/chunk-WXAQ7FK3.mjs +115 -0
- package/lib/chunk-X5JYBPXP.mjs +7 -0
- package/lib/chunk-XAMBCQPU.mjs +7 -0
- package/lib/chunk-XCA5AONB.mjs +7 -0
- package/lib/chunk-XLXIPIEW.mjs +9 -0
- package/lib/chunk-XUWL6ZPC.mjs +7 -0
- package/lib/chunk-YAZO75G2.mjs +8 -0
- package/lib/chunk-YKKRIEH4.mjs +7 -0
- package/lib/chunk-YRQGKDHM.mjs +7 -0
- package/lib/chunk-YS4G22C2.mjs +7 -0
- package/lib/chunk-YYZL7UGV.mjs +7 -0
- package/lib/chunk-ZHJP7L3K.mjs +7 -0
- package/lib/chunk-ZM6OJGIG.mjs +7 -0
- package/lib/chunk-ZUTYVST5.mjs +7 -0
- package/lib/chunk-ZVAED4QV.mjs +7 -0
- package/lib/sandforge-autopilot.mjs +162 -0
- package/lib/sandforge-backup.mjs +103 -0
- package/lib/sandforge-checkpoint.mjs +354 -0
- package/lib/sandforge-cleanup.mjs +60 -0
- package/lib/sandforge-clone.mjs +7 -0
- package/lib/sandforge-compare.mjs +55 -0
- package/lib/sandforge-dataops.mjs +7 -0
- package/lib/sandforge-empty.mjs +140 -0
- package/lib/sandforge-env.mjs +355 -0
- package/lib/sandforge-frozen.mjs +272 -0
- package/lib/sandforge-mcp.mjs +40 -0
- package/lib/sandforge-monitor.mjs +43 -0
- package/lib/sandforge-seed.mjs +7 -0
- package/lib/sandforge-sync.mjs +7 -0
- package/lib/sandforge.mjs +28 -0
- package/package.json +52 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Stephane Berthoz
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,55 @@
|
|
|
1
|
-
#
|
|
1
|
+
# sandforge
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The command lines of [SandForge](https://github.com/StephaneBerthoz/sandforge), the VS Code extension that moves test data between Salesforce orgs, without the editor and without a checkout: seed an org from a template, clone a record or whole tables, run a Sync, take a checkpoint and rewind to it, mask an org, replay a Frozen Dataset, empty a sandbox, apply a `sandforge.yaml` — and an MCP server that gives these to an AI agent.
|
|
4
|
+
|
|
5
|
+
These are the scripts of the repository's `packages/extension/cli/`, bundled: the same guards, the same flags, the same exit codes.
|
|
6
|
+
|
|
7
|
+
## Requirements
|
|
8
|
+
|
|
9
|
+
- Node.js 20.19 or later.
|
|
10
|
+
- The Salesforce CLI (`sf`), logged in to every org you name: each command names an org by its alias (`sf alias list`) and takes its session from `sf`.
|
|
11
|
+
|
|
12
|
+
## Run
|
|
13
|
+
|
|
14
|
+
```sh
|
|
15
|
+
npx sandforge --help
|
|
16
|
+
npx sandforge clone --help
|
|
17
|
+
npx sandforge seed --target DEV --template <id> --dry-run
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Installed with `npm install --global sandforge`, the command is `sandforge <command>`, and each one answers to its own name too, `sandforge-<command>`. The lines the commands print name them the way that runs anywhere, `npx sandforge checkpoint rewind --org DEV …`: npx takes the command installed when there is one. On npm, the packages named `sandforge-<command>` run nothing: each says the command to type instead.
|
|
21
|
+
|
|
22
|
+
## The MCP server
|
|
23
|
+
|
|
24
|
+
In Claude Code:
|
|
25
|
+
|
|
26
|
+
```sh
|
|
27
|
+
claude mcp add sandforge -- npx -y sandforge mcp
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
The tools, the `confirm` rule a write needs, and what each answer carries: [SandForge for AI agents](https://github.com/StephaneBerthoz/sandforge/blob/master/docs/mcp.md).
|
|
31
|
+
|
|
32
|
+
## Commands
|
|
33
|
+
|
|
34
|
+
| Command | What it does |
|
|
35
|
+
| ------------ | --------------------------------------------------------------------------- |
|
|
36
|
+
| `autopilot` | run an Autopilot copy between two orgs |
|
|
37
|
+
| `backup` | take and restore DataOps snapshots |
|
|
38
|
+
| `checkpoint` | take a checkpoint of an org's data, and rewind the org to it |
|
|
39
|
+
| `cleanup` | Bulk delete records you created on a sandbox in a time window |
|
|
40
|
+
| `clone` | clone a record, or whole tables, from one org to a sandbox, or remove a run |
|
|
41
|
+
| `compare` | compare two orgs the way the Compare page does |
|
|
42
|
+
| `dataops` | mask an org's records, and put them back |
|
|
43
|
+
| `empty` | empty objects of a sandbox, or the whole of it |
|
|
44
|
+
| `env` | apply a sandforge.yaml to an org, and take it back |
|
|
45
|
+
| `frozen` | build and replay a Frozen Dataset |
|
|
46
|
+
| `mcp` | the MCP server: these scripts as tools for an AI agent, on stdio |
|
|
47
|
+
| `monitor` | read an org the way the Monitor page does |
|
|
48
|
+
| `seed` | fill an org from a seed template |
|
|
49
|
+
| `sync` | run a Sync between two orgs |
|
|
50
|
+
|
|
51
|
+
`sandforge <command> --help` gives its options and its exit codes. Every command refuses a flag it does not read with exit code `2`, before any org is reached; every command that writes to an org refuses a production one before it writes anything. What each one does, its flags, the exit codes and the pipelines that run them: [Command line & CI](https://github.com/StephaneBerthoz/sandforge/blob/master/ci-examples/README.md).
|
|
52
|
+
|
|
53
|
+
## Versions and license
|
|
54
|
+
|
|
55
|
+
The package is published with each release of the extension, at the same version. MIT; the notices of the packages it bundles are in `THIRD-PARTY-NOTICES.md`.
|