ข้ามไปยังเนื้อหา
AggregaAggregaAggregaAggrega
เลือกภาษา: ไทย
หน้านี้ถูกแปลด้วยเครื่อง อ่านต้นฉบับภาษาอังกฤษ

aggrega import

แปลงคำอธิบายซอร์สจากภายนอกเป็นไฟล์เขียนฉบับร่างของ Aggrega

หน้านี้เป็นเอกสารอ้างอิงของคำสั่ง ส่วนการนำเข้ามีไว้ทำอะไร และบทแนะนำทีละขั้นตอนที่พาโปรเจกต์จากซอร์สไปจนถึงบิลด์ อยู่ใน การนำเข้า ไฟล์คำตอบที่ใช้อ่านค่าซึ่งซอร์สใดๆ เก็บไว้ไม่ได้ และคำถามที่ถามที่เทอร์มินัล อธิบายไว้ใน ไฟล์คำตอบของการนำเข้า

รูปแบบคำสั่ง

aggrega import <file or directory> [flags]

คำอธิบาย

Turn a foreign source description into draft Aggrega authoring files.
The importer reads the source, drafts Aggrega entities from it, and writes the
drafted files beneath the root of the workspace the run resolved, from whichever
folder the command is run in (creating parent directories as needed). The
translation is done by the importer plugin that advertises the source format;
import selects it, runs it, and writes what it produces. An importer in the
workspace's catalog has its .wasm read from the places a build reads a plugin
from — beside its Plugin entity in a catalog folder among them.
The compiler's core importers serve their formats in every workspace, with no
catalog entry. The first import that needs one this machine does not hold
fetches it from the workspace's default registry, holds it to the module the
compiler's release publishes, verifies its signature under that registry's
trust policy and the host functions it uses, and keeps it in the workspace's
content cache, so every later import reads it from there and reaches no
network for it. Nothing else is written for it: no lockfile, and no record of trusted
plugins. A module that does not verify is refused, and nothing is kept. Where
the module cannot be fetched — the workspace is offline, its registry cannot be
reached, or the registry does not hold it — import stops, naming the importer
and its version and what puts its module on the machine: running the import
once with the network available, where that would fetch it, or placing the
module beside a Plugin entity of that importer at that version in a catalog
folder.
The catalog an import reads is the one a build resolves against: the
workspace's catalog folders first — those AGGREGA_CATALOG_DIRS and its
configuration's catalog_dirs name, then the catalog folder at its root — and
last the catalog its default registry publishes as one signed snapshot, at
catalog/snapshot. An entity a folder holds is read in place of the published
one of the same identity — its kind, name and version, a Recipe's capability
too, and a library's name alone — and every other published entity stays in
view: the importers, the Components drafts are matched against and the Recipes
--target maps from are the folders' and the published catalog's together. The
Components drafts are matched against leave out any at a file the import's own
entry in the record beside the drafts lists: those are its earlier drafts, not
catalog entities, so a re-run or a --sync is judged against the catalog rather
than against what it drafted before. A
parser or an importer the folders hold for a syntax or a format is chosen for
it before any the published catalog holds, so a published one of another name
or a later version is no candidate for that syntax or format, unless a
plugins.importer attachment names that importer. A snapshot is fetched once:
its signature is verified under that registry's trust policy, and it is kept in
the workspace's content cache and read there as a catalog folder, held to its
digest, with no registry asked for it again. Which snapshot an import reads:
with --upgrade, the newest; otherwise the one the import's entry in the record
beside the drafts names, fetched by its digest when this machine does not hold
it; otherwise the one the workspace last fetched as the newest; otherwise the
newest. The entry an import writes names the snapshot it read by its digest. Where the snapshot
cannot be read — the workspace is offline and this machine does not hold it,
the workspace names no default_registry, or the registry cannot be reached or
publishes none — a workspace with catalog folders imports over them alone, and
a warning says why and what reads the snapshot: an import run with the network
available. Such an import keeps the snapshot its entry names, so the next
import that can read it reads the same one. A --sync whose entry names a
snapshot this machine does not hold, and cannot fetch, stops instead, naming
the snapshot: the drafts it judges were drafted against that catalog, and the
folders alone may draft them otherwise. Run it where the registry can be
reached, which keeps the snapshot on this machine for every later sync. A
workspace with no catalog folder stops instead, naming what to run, or, where the registry
publishes no snapshot, imports with no catalog, and a warning says so. A
configuration listing catalog_dirs as an empty list has no catalog folder, the
one at its root included.
The source is a file or a directory. A file is handed to the importer whole. A
directory is read into named sources: exactly the files the importer's declared
file patterns match, at any depth, each named by its path inside the directory
written with forward slashes, in sorted order, and no other file of the
directory is opened. A directory holding the folder aggrega build writes to —
dist/ beneath the workspace root — is read without it: nothing in that folder
is recognized or handed to the importer, so a directory you have built is
read as the project it holds, and a directory that is that folder, or lies
inside it, is read as named. A link inside the directory is never followed out
of it: the directory is held to itself wherever it lies, inside the workspace or
outside it, so a link leading out of it — to a directory, or to a file the
importer's patterns match (any importer's, when the format is recognized) — is
refused before anything is read. A link to a directory is never entered, and a
link to a file no pattern matches is passed over unread. An importer that
declares no file patterns reads one file and refuses a directory, and a
directory holding no file its patterns match is refused too. The files the
importer's attachment names under with: sources reach it beside the directory's
files, under their own base names, and a name the two share is refused rather
than one hiding the other.
A plugins.importer attachment attaches the importer its uri names by identity
and version — importer/<name>:<version>, as plugin add importer writes it. An
attached importer that advertises the source format is the one that runs, at
the version its uri names, whatever other importers advertise the format too.
Where more than one importer advertises the format and no single one of them is
attached, import stops and names the importers it could not choose between. The
core importers are among them: a workspace whose catalog holds an importer of
another name for a format a core importer serves attaches the one it wants.
Within one name the highest version runs, and an importer the catalog holds at
the name and version of a core importer, with its module beside it, runs in
its place. A Plugin entity of a core importer's name with no module beside it
is no candidate: the core importer runs in its place at its own version, and
at another version the entity stays a candidate only where an attachment names
exactly that version, or where no importer of that name that can run
advertises the format. An attachment's
with: sources and settings are handed to the importer it attaches and to no
other, so an importer no attachment names is handed none.
Pass --output-dir to write the drafts beneath another directory instead. A
relative path resolves against the directory you run the command in, as every
path you type does, and a drive named bare on Windows, such as D:, is the
current directory on that drive. The directory is resolved before any draft is
placed beneath it, so a draft whose path opens with a separator lands beneath
it rather than at the top of the drive. A directory you name outside
the workspace is used where you named it, and what is written beneath it is
held to it. Wherever the drafts go, a link on the way to one that leads out of
the workspace — or, beneath a directory you named outside it, out of that
directory — is refused, and nothing is written.
Pass --target to draft, beside the importer's drafts, the Manifest the drafted
Release builds against for one provider. The target is a provider capability —
the word a Recipe's spec.capability binds to, such as compose or helm. For each
component type and each feature type the drafts need — on the drafted
Aggregate's components, their connections and its subsystems, on the catalog
Aggregates it composes, and on the drafted Release's attachments — in the order
the drafts first declare it, import looks in the workspace's catalog for the
Recipes, or for a feature type the feature recipes, that implement the type and
bind to that capability: where there is exactly one — several versions of one
count as one — the Manifest maps the type to it by its capability-qualified name
with no version, such as compose/postgres, which the first pull pins in the
lockfile at the highest version available; where there are several of different
names, it maps the one named after the type itself, such as helm/postgres for
core/datastore/postgres; where there is none, or several with none so named, the
type is left unmapped and a warning names it and why, so a build of the drafts
stops naming each instance or attachment of it until you add the mapping. Where
the importer drafts the Manifest itself, to choose the Recipe one instance
renders through or a feature recipe among several, each mapping it wrote that
the catalog offers for that type and capability is kept, any other is dropped
with a warning, and the types it leaves are mapped as above. The Manifest is
written as manifest.yaml beside the drafted Release, with the Release's name
and version, and the Release's spec.manifest is set to that name — the comment
the importer wrote in its place is replaced, and nothing else in the Release
changes. A Release that already names a Manifest is left as it is; where the
import drafts no Release, the Manifest is drafted beside the Aggregate, with its
name and version, and nothing references it. The Manifest and the edited
Release are drafts like the others: recorded, held inside the output directory,
and shown by --dry-run. A target no Recipe in the catalog binds to stops the
import before the importer runs, naming the target and the capabilities the
catalog's Recipes bind to, and nothing is written. Without --target no Manifest
is drafted and the drafts are the importer's alone — except under --sync, which
reuses the target the earlier import was given.
Beside its drafts, every import that drafts anything writes its entry in
.aggrega-import.json, the record of what imports wrote there. The record holds
one entry per import format, sorted by format, and each names its format, the
target the import was given, where it was given one, the catalog snapshot it
read, where it read one, and each drafted file and, in a drafted Aggregate or
Release, each key at every depth, with a digest of the text written there; any
other drafted file is recorded whole. A key's text is its line, its value's
lines where its value is not a mapping of keys, and the comment lines written
directly above it at its own indentation. An import replaces its own format's
entry, or adds it, and writes every other entry back as it found it, so imports
of different formats into one directory each keep their own entry and each can
be synced. A record an older version wrote, holding one import's fields and no
format, is read as one entry naming no format, and an import without --sync
keeps it as it is beside its own, reading of it only the catalog snapshot it
names: its target and its answers file may be another import's. A record that
cannot be read stops --sync;
an import without --sync writes it anew, holding its own entry alone, and a
warning says that the entries it held for other formats' imports are lost. The
record is JSON, so nothing that reads the workspace's YAML documents reads it;
keep it beside the drafts for as long as you mean to sync them.
Some values no source can hold: the image of an application built from your
own code, the email of an owner account, a model the source does not name, the
name of a Kubernetes Secret. The drafts write each such value as an empty
string under a comment saying what it is. After drafting, import reads every
drafted document against its own schema and against the catalog schema of each
Component, Feature and connection it declares, and lists every value still
empty where that schema requires one, or where it declares the key and nothing
supplied it — each described by the schema's own description. The values are
answered from the answers file: --answers names it, and without it import reads
the one the import's entry in the record beside the drafts names, or else
import-answers.yaml beside the source file, or inside the source directory. The answers file holds, under
each drafted file's path, the key path inside that document and its answer as a
string, with the schema's description in a comment above each key. Each answer
is written into the drafts before anything is written or recorded, so an import
of the same source, and --sync, read the same answers and draft the same files.
An answer for a key these drafts do not leave empty — one only another
target's drafts ask for, say — is kept in the file and not applied, so one
answers file serves every target: import adds the keys it owes, sets the
answers it is given, and leaves every other key and comment as it is, writing
the file only where that changes it. The import's entry in the record beside
the drafts names the answers file where it is not the one beside the source,
and holds no answer.
The answers file never holds a secret. A secret's value — one its schema marks
sensitive — is answered with where the secret comes from: a variable name, a
reference such as ${OPENAI_API_KEY}, or the name of a Kubernetes Secret.
Anything else is refused, naming the key and never the answer, and nothing is
written.
Where standard input and standard output are both a terminal, and --dry-run is
not given, import asks one question for each value the answers file leaves
unanswered, worded from the schema's description; an empty answer leaves the
value for later, and a secret's answer that is not a name is refused and asked
again. Every answer is written into the answers file, so a later run asks
nothing. Anywhere else — a pipe, continuous integration, the assistant's import
tool, the editor — nothing is asked: the drafts keep their empty values, the
answers file is written with every owed key present and empty, each owed value
is named on standard error, and import exits 1 with one sentence saying how
many values are owed and where to write them. Under --dry-run nothing is asked
and nothing is written: each owed value is named on standard error, and the
exit status is the dry run's own.
When the drafts include a Release, owe nothing, and the importer finished,
import pulls that Release's dependencies once the drafts are written, exactly
as aggrega pull --release does, writing its release.lock, so aggrega validate
and aggrega build work on the drafts at once. Under --offline nothing is pulled,
and import names the aggrega pull to run next. A pull that fails leaves the
drafts written and stops import, naming why and the pull to run once it is
fixed.
An import never writes over an Aggregate, Component, Feature, Recipe or
FeatureRecipe already at one of its drafted paths: an author goes on editing
such a document once it is drafted, so import stops, naming it and --sync, and
writes nothing — under --dry-run too. Where another format's import into the
directory drafted it, and that import's entry in the record lists it, import
names that import and --output-dir instead, since a sync of this format would
not bring it up to date. Every other file already at a drafted path is written
over, and a file an earlier import drafted that this one does not draft is left
where it is.
--sync brings what an earlier import drafted up to date with the source instead,
changing only what the import wrote. A sync reads and writes its own format's
entry in the record, and leaves every other as it is. A sync of a format the
record holds no entry for reads the entry naming no format, where there is one,
as its own only where that entry lists a file the sync drafts, and then writes
it back under its format; otherwise the sync stops, naming the record, and
writes and removes nothing, since that entry may be another import's. A sync
given no --target drafts for the target its entry names, so it drafts the
Manifest the earlier import drafted;
given one, it drafts for that target and records it in place of the one
recorded. A recorded target no Recipe in the catalog binds to stops the sync as
a target you pass does, saying the target is the recorded one. It judges every
part three ways — what its entry says the import last wrote there, what is on
disk, and what the source drafts now:
- a part the source left as the import last wrote it stays exactly as it is
on disk, whether or not you edited it;
- a part the source changed is written anew, where it is on disk as the
import last wrote it;
- a part the source dropped is removed, where it is as the import last wrote
it and holds nothing you added — a drafted file is deleted whole;
- a part the source gained is added beside the parts the draft names around
it.
Everything else stays byte for byte: a key you added anywhere — a parameter, a
Feature, under a drafted Component instance too, another Component, the
environment a drafted Release leaves for you — a comment not written directly
above a drafted key, and every file its entry does not list, another format's
drafts among them. Before anything is written, standard error names each part
that drifted, one line each:
added|removed|changed <key> in <file>
added|removed|changed <file>
Where the sync would change or remove a part you edited, add a part where you
already wrote one, or remove a part holding something you added, import stops,
naming each such part and why, and writes no draft (an answer you typed is kept
in the answers file); reconcile them by hand and sync again. A comment you write directly above a drafted key edits that key.
An Aggregate, Component, Feature, Recipe or FeatureRecipe at a drafted path
that its entry does not list stops the sync too, saying so — naming another
format's import where that import's entry lists it — as does a record that
cannot be read. Where the importer reports a diagnostic that stops the import,
a sync writes nothing. A sync into a directory whose record holds no entry it
reads, and nothing at its drafted paths, writes the whole draft.
With --sync, --dry-run writes nothing and names the same drift, or stops on the
same conflicts, and the exit status says which: 0 when the drafts are in step
with the source, 2 when they drifted, and 1 on an error or when the sync is
refused. Standard output carries the files the sync would write, with the
content it would give them.
On Windows, a draft whose path holds a part Windows cannot hold as written — a
name it reserves for a device, such as NUL or aux, with or without an extension
and in any letter case, or a part ending in a full stop or a space — is refused
naming the draft, and nothing is written. On every other platform such a draft
is written as it is named.
The source format selects how the importer reads the source. Pass --format to
name it explicitly. When --format is omitted, import recognizes the format by
the signatures the importers declare — the workspace catalog's and the core
importers' alike: each names the syntax a source is read in, the file names it
applies to and the paths its parsed tree must or must not carry. A file is
parsed once for each syntax a signature applying to its name reads it in, and
the format of the one importer whose signature matches is the one read. The
signatures of the Langflow, Flowise and n8n importers, the MCP importer's for a
registry server description and the LangGraph importer's for a configuration
naming its schema, read a file as JSON and name no file, and
the Dify and Agent Framework importers' read it as YAML and name no file, so
recognizing a file imported on its own reads it as JSON and as YAML too. The Dify importer
recognizes an application Dify exports, under any name, by app at its kind and
by the application's mode at app.mode and the DSL's version at version.
The MCP importer recognizes a client's configuration by its name — .mcp.json,
claude_desktop_config.json and .cursor/mcp.json read as JSON, .vscode/mcp.json
read as JSON with comments, as Visual Studio Code reads it — so such a file under
another name is imported naming --format mcp. The Compose importer reads a file as YAML and recognizes it by the names
Compose reads by default — compose.yaml, compose.yml, docker-compose.yml and
docker-compose.yaml, and their override files compose.override.yml,
compose.override.yaml, docker-compose.override.yml and
docker-compose.override.yaml — and an object at services, so a Compose file
under another name is imported naming --format compose. The CrewAI importer
recognizes a project's declarations by their names: config/agents.yaml and
config/tasks.yaml, read as YAML, and crew.jsonc holding a list at agents and
agents/<name>.jsonc holding a role, read as JSON with comments, as are their
strict-JSON spellings crew.json and agents/<name>.json, a .json file not being
read where its .jsonc spelling is handed too; it is handed those files and no
other, so a crew's program is never read. The LangGraph importer recognizes an
application's configuration, read as JSON with an object at graphs, by its name,
langgraph.json, or, under any name, by https://langgra.ph/schema.json at its
$schema; of a directory it is handed that file alone, so neither the
application's code nor an environment file is ever read, and the environment
file a configuration names is read, for its variables' names alone, only where
the importer's with.sources hands it. The Google ADK importer recognizes an application's root agent
configuration, read as YAML, by its name, root_agent.yaml, and an agent's name
with its instruction or its agent_class; of a directory it is handed each
root_agent.yaml alone, so neither the application's code nor its environment
file is ever read, and the configuration a sub_agents entry names is read only
where the importer's with.sources hands it. The Agent Framework importer
recognizes a declarative agent, under any name, by Prompt at its kind and an
object at its model, read as YAML; it names no file, so a directory is never
handed to it, and a declarative agent is imported as a file of its own. The
CloudFormation, Terraform and Azure Resource Manager schema importers draft no
Aggregate: they draft a Component and a Recipe for each resource type the
importer's resource_types setting names, or for the one type a source holds, and
they are read as JSON. The cloudformation-schema importer recognizes a
resource type's provider schema, in any .json file, by typeName and properties,
and the output of describe-type by TypeName and Schema; the terraform-schema
importer recognizes the export of terraform providers schema -json, in any .json
file, by format_version and provider_schemas; the arm-schema importer recognizes
a Bicep types.json by its first entry's $type. A directory is
recognized the same way over the files it holds: each signature is tried against the files
its file names match, and a signature that names no file applies to none of
them. If no signature matches, import stops, asks for --format and names the
formats the importers advertise — or, for a directory, asks for one of its
files imported on its own or for a format whose importer declares file
patterns, naming only those; if signatures of more than one format match,
it stops and names them. It does not guess. Recognition reads nothing but the
source — of a directory, only the files a signature's file names match — and
reaches no network.
The format also chooses the import's entry in the record beside the drafts,
which names the catalog snapshot the import reads, so it is settled before that
snapshot is read: --format names it; under --sync, a record holding one entry
gives that entry's format; and where the record holds entries of several
formats and --format is not given, the source is recognized first by the
importers of the workspace's catalog folders and the core importers alone.
Where none of them recognizes it, import stops, asking for --format and naming
the formats the record holds.
Recognition and the importer read the source through the parser the
workspace's catalog serves for its syntax, and, for a syntax the catalog
serves no parser for, through the parser the compiler itself carries for it —
JSON, JSON with comments and YAML among them — so a workspace whose catalog holds no parser still
recognizes and imports a source the core importers read. Where the catalog
serves a parser for a syntax, the compiler's own plays no part in reading it.
The compiler's parsers are part of the binary, so nothing is fetched for one.
A syntax neither serves stops the import, naming the syntax no parser serves,
and a source its parser refuses stops the import with the parser's reason.
Before the drafted output, import names on standard error the format it read
the source as and the directory the drafted paths are relative to, then any
diagnostics the importer reported, then one line for each source node the
importer mapped, in the importer's order:
mapped <node id> (<node type>) to <target> as a <mode>, <tier> at <score>
naming the catalog Component or draft it chose for the node, whether it is
referenced or drafted, the match tier, and the score of the best candidate it
weighed. A node the importer weighed no candidate for has no score, and its line
ends at the tier; a node it made no choice for reads "made no choice for <node
id> (<node type>)"; then, under --sync, the drift lines. Standard output
carries only the result — the paths written, and under --sync the paths
removed, or the drafted files themselves under --dry-run — so it can be piped
unchanged.
--dry-run does everything import does except write: standard output carries one
document listing each drafted file's path and its content, so the result can be
reviewed, parsed or piped before anything reaches disk. Every other behaviour is
the write's — the same importer runs over the same source and reports the same
diagnostics — so what a dry run shows is what a write would put on disk, and a
source the write would refuse is refused here too.

แฟล็ก

แฟล็กค่าเริ่มต้นคำอธิบาย
--answers—ไฟล์คำตอบที่ใช้อ่านและเขียนค่าที่ร่างปล่อยว่างไว้ ซึ่งไม่มีซอร์สใดเก็บได้ โครงสร้างคือเส้นทางของแต่ละไฟล์ที่ร่าง ตามด้วยเส้นทางคีย์ภายในไฟล์นั้นและคำตอบของคีย์ เส้นทางสัมพัทธ์อิงจากไดเรกทอรีที่คุณรันคำสั่ง หากไม่ระบุ จะใช้ไฟล์คำตอบที่รายการของการนำเข้าในบันทึกข้างร่างระบุ หรือไม่เช่นนั้นใช้ import-answers.yaml ข้างไฟล์ซอร์ส หรือภายในไดเรกทอรีซอร์ส คำตอบของข้อมูลลับคือชื่อแหล่งที่มาของข้อมูลลับ ไม่ใช่ตัวข้อมูลลับเอง
--dry-runfalseทำทุกอย่างยกเว้นการเขียน: ส่งคืนไฟล์ที่ร่างเป็นเนื้อหา โดยระบุไฟล์ปลายทางของแต่ละไฟล์ และไม่สร้างหรือแก้ไขสิ่งใดเลย พฤติกรรมอื่นทั้งหมดเป็นของการเขียน รวมถึงการรันตัวนำเข้า หากไม่ระบุ ร่างจะถูกเขียนลงดิสก์
--format—ระบุรูปแบบซอร์สอย่างชัดเจน โดยแทนที่การตรวจจับจากลายเซ็นของตัวนำเข้า (เช่น langflow, flowise, n8n, mcp, compose, dify, crewai, langgraph, google-adk, agent-framework, cloudformation-schema, terraform-schema หรือ arm-schema)
--output-dir—ไดเรกทอรีที่เขียนไฟล์ร่างลงไป เส้นทางสัมพัทธ์อิงจากไดเรกทอรีที่คุณรันคำสั่ง และไดรฟ์ที่ระบุเปล่าบน Windows เช่น D: คือไดเรกทอรีปัจจุบันบนไดรฟ์นั้น หากไม่ระบุ ร่างจะถูกเขียนใต้รากของพื้นที่ทำงานที่การรันหาค่าได้
--syncfalseทำให้สิ่งที่การนำเข้าครั้งก่อนร่างไว้ทันสมัยตรงกับซอร์ส โดยเปลี่ยนเฉพาะสิ่งที่การนำเข้าเขียน ตามที่รายการของการนำเข้านั้นในบันทึกข้างร่างระบุไว้ และระบุทุกส่วนที่คลาดเคลื่อน เมื่อใช้ร่วมกับ —dry-run จะออกด้วยรหัส 0 เมื่อตรงกัน 2 เมื่อคลาดเคลื่อน และ 1 เมื่อเกิดข้อผิดพลาดหรือถูกปฏิเสธ
--target—ร่าง Manifest สำหรับความสามารถของผู้ให้บริการนี้ ซึ่งเป็นคำที่ spec.capability ของ Recipe ผูกอยู่ด้วย เช่น compose หรือ helm โดยแมปแต่ละชนิดของส่วนประกอบและชนิดของฟีเจอร์ที่ร่างต้องการ ไปยัง Recipe หรือ FeatureRecipe ของความสามารถนั้นที่แค็ตตาล็อกของพื้นที่ทำงานเสนอให้ ใช้ตัวที่มีอยู่ หรือเมื่อมีหลายตัวก็ใช้ตัวที่ตั้งชื่อตามชนิดนั้น และชี้ Release ที่ร่างไปยัง Manifest นั้น ความสามารถที่ไม่มี Recipe ใดในแค็ตตาล็อกผูกอยู่ด้วยจะถูกปฏิเสธก่อนที่ตัวนำเข้าจะรัน หากไม่ระบุ จะไม่ร่าง Manifest เว้นแต่ —sync ใช้เป้าหมายที่การนำเข้าครั้งก่อนได้รับ
--upgradefalseอ่านแค็ตตาล็อกที่เผยแพร่ใหม่จากสถานะปัจจุบันของรีจิสทรี: ดึงสแนปช็อตแค็ตตาล็อกล่าสุดที่รีจิสทรีเริ่มต้นของพื้นที่ทำงานเผยแพร่ ยืนยัน และนำเข้าโดยอิงสแนปช็อตนั้น โดยเก็บไว้เป็นสแนปช็อตที่พื้นที่ทำงานนี้อ่านต่อจากนั้น แทนที่สแนปช็อตที่ถืออยู่หรือสแนปช็อตที่รายการของการนำเข้าในบันทึกข้างร่างระบุ สแนปช็อตอ่านต่อจากโฟลเดอร์แค็ตตาล็อกของพื้นที่ทำงาน เมื่อพื้นที่ทำงานมีโฟลเดอร์เหล่านั้น คำสั่งจะถูกปฏิเสธภายใต้ —offline และเมื่อไม่ได้ระบุรีจิสทรีเริ่มต้นหรือเข้าถึงรีจิสทรีไม่ได้