Documentation
¶
Index ¶
- Constants
- Variables
- func AddTriple(g *rdflibgo.Graph, s rdflibgo.Subject, p rdflibgo.URIRef, o rdflibgo.Term)
- func ApplyGoMemoryLimit() int64
- func AssembleConfigGraph(ontology json.RawMessage, pinned []json.RawMessage) ([]json.RawMessage, error)
- func Bind(g *rdflibgo.Graph, prefix string, namespace rdflibgo.URIRef)
- func BytesToHumanReadable(bytes int64) string
- func Confirm(prompt string) bool
- func Contains(g *rdflibgo.Graph, s rdflibgo.Subject, p rdflibgo.URIRef, o rdflibgo.Term) bool
- func CountUploads(client *auth.Client, transport func(http.RoundTripper) http.RoundTripper) *auth.Client
- func DefaultGitRemote() (string, error)
- func DefaultSalBase() (string, error)
- func DuckDBMemoryLimit() uint64
- func Errorf(msg string, args ...any)
- func FetchManifest(ctx context.Context, src oras.ReadOnlyTarget, reference string) (ocispec.Descriptor, ocispec.Manifest, error)
- func FindRdfDataInPaths(paths []string) ([]string, error)
- func FormatBytes(bytes uint64) string
- func GetLatestCommitMsg() (string, error)
- func GetLocalSalSnapshots() ([]string, error)
- func GetSalIcebergTable() (*table.Table, error)
- func GetSnapshotsFromManifest(manifest ocispec.Manifest) ([]string, error)
- func GitCommitHash() (string, error)
- func GitCommitMessage() (string, error)
- func GitProjectName() (string, error)
- func GitProjectOwner() (string, error)
- func GitUserName() (string, error)
- func GraphLen(g *rdflibgo.Graph) int
- func GuessDefaultArtifact() (string, error)
- func HashAllFiles(paths []string) (string, error)
- func HashFilesAndContent(paths []string, extra []byte) (string, error)
- func IcebergTablePaths(root string) ([]string, error)
- func Infof(msg string, args ...any)
- func InstallSkills(dir string, skills ...string) error
- func InstalledSkills(dir string, skill string) []string
- func IsXSDFloatType(iri string) bool
- func IsXSDIntegerType(iri string) bool
- func IsXSDNumericType(iri string) bool
- func JoinJSONLDDocument(context map[string]string, node json.RawMessage) ([]byte, error)
- func ListItems(g *rdflibgo.Graph, head rdflibgo.Subject) iter.Seq[rdflibgo.Term]
- func LogMemoryBudget()
- func Namespaces(g *rdflibgo.Graph) iter.Seq2[string, rdflibgo.URIRef]
- func NewOciClientWithOptionalAuth(cmd CmdWithAuth, ref ArtifactReference) *auth.Client
- func ParseByteSize(value string) (uint64, error)
- func PartitionConfigGraph(graph []json.RawMessage) (ontology json.RawMessage, pinned []json.RawMessage, err error)
- func PullManifestLayers(ctx context.Context, src oras.ReadOnlyTarget, manifest ocispec.Manifest, ...) (err error)
- func RemoveTriples(g *rdflibgo.Graph, s rdflibgo.Subject, p *rdflibgo.URIRef, o rdflibgo.Term)
- func ReplaceBlankNode(term rdflibgo.Term, replacements map[string]string) rdflibgo.Term
- func RepoDirFromSource(source string) string
- func SALProjectDir(getHomeDir func() (string, error)) (string, error)
- func SalBlobsDir() (string, error)
- func SalBuiltDataProductPath() (string, error)
- func SalConfigPath() (string, error)
- func SalDataDir() (string, error)
- func SalIcebergCatalog(ctx context.Context) (catalog.Catalog, error)
- func SalImportsDir() (string, error)
- func SalStacDir() (string, error)
- func SetTagOfLatestSnapshot(tbl *table.Table, cat catalog.Catalog) error
- func SetTriple(g *rdflibgo.Graph, s rdflibgo.Subject, p rdflibgo.URIRef, o rdflibgo.Term)
- func SplitJSONLDDocument(doc []byte) (context map[string]string, node json.RawMessage, err error)
- func StableBlankNodeComponents(triples []rdflibgo.Triple)
- func StableBlankNodeIDs(triples []rdflibgo.Triple) map[string]string
- func TransferRate(bytes int64, elapsed time.Duration) string
- func Triples(g *rdflibgo.Graph, s rdflibgo.Subject, p *rdflibgo.URIRef, o rdflibgo.Term) iter.Seq[rdflibgo.Triple]
- func UncommittedChangesInGit() (bool, error)
- func Warnf(msg string, args ...any)
- func WriteConfigDocument(path string, doc *ConfigDocument) error
- type ArtifactReference
- type CmdWithAuth
- type ConfigDocument
- type MemoryBudget
- type OciArtifactCmdWithAuth
- type SnapshotDiffReport
- type Transfer
- func (t *Transfer) Add(n int64)
- func (t *Transfer) BytesDone() int64
- func (t *Transfer) Discard(n int64)
- func (t *Transfer) FileDone()
- func (t *Transfer) FilesDone() int64
- func (t *Transfer) Rate() string
- func (t *Transfer) Reader(r io.Reader) io.Reader
- func (t *Transfer) Transport(next http.RoundTripper) http.RoundTripper
Constants ¶
const ( SnapshotTriplesAddedProperty = "sal.triples.added" SnapshotTriplesRemovedProperty = "sal.triples.removed" )
SnapshotTriplesAddedProperty and SnapshotTriplesRemovedProperty are the snapshot summary properties a commit records the triples it added and removed under, which is what the snapshot changed in the table's own terms. They are read back next to the message; a snapshot written before they were recorded falls back to Iceberg's own `added-records` and `added-equality-deletes` counts, which say the same for sal's writes.
const ( SalSkill = "sal" SalModuleSkill = "salmodule" )
The agent skills the sal repository ships under skills/, which `sal init` offers to install into the project or module it initializes: SalSkill teaches an agent to work in a SAL project and SalModuleSkill to write a SAL module.
const ( TransferFilesAttribute = "sal.oci.files" TransferBytesAttribute = "sal.oci.bytes" TransferFilesDoneAttribute = "sal.oci.files_done" TransferBytesDoneAttribute = "sal.oci.bytes_done" )
The attributes a transfer span carries: how many files and bytes it moves in all, known before it starts, and how many it has moved so far, updated as it goes. The progress pane reads them off the live span to draw the transfer, and a trace exporter sees the final counts.
const ( XSDByte = XSDNamespace + "byte" XSDDateTime = XSDNamespace + "dateTime" XSDString = XSDNamespace + "string" )
const DefaultAssumedRegistry = "ghcr.io"
const DefaultParallelTransfers = 16
DefaultParallelTransfers is how many layers a push or pull moves at once unless --parallel says otherwise. Most layers of a data product are small Parquet and Avro files, so the request latency to the registry counts for more than the bandwidth, and more in flight is faster.
const DefaultSalIcebergTable = "triples"
const MemoryLimitEnv = "SAL_MEMORY_LIMIT"
MemoryLimitEnv overrides the memory budget sal detects, for a machine where the cgroup limit or the physical memory is not what sal should plan for. It takes a size in GOMEMLIMIT's syntax, such as 8GiB.
const PullSkippedAttribute = "sal.pull.skipped"
PullSkippedAttribute is the attribute a `sal.pull` span carries when the pull found nothing to pull, holding why in the words the progress pane shows for the phase it did not run: the data product is up to date, or the local one is ahead of the remote.
const SalDescriptionAnnotation = "sal.description"
SalDescriptionAnnotation is the manifest annotation carrying the project's own description, the dcterms:description of the project node in .sal/config.jsonld, so that `sal pull` into an empty directory and `sal clone` can initialize the project with the description it was given.
const SalIcebergSnapshotsAnnotation = "sal.iceberg-snapshots"
const ScratchDirName = ".scratch"
ScratchDirName is the directory under .sal/data that a build spools what it commits to and that DuckDB spills to while it diffs the build against the table. It holds nothing once a build is done; one a killed build left is cleared by the next build, skipped by an upload, and removed by a wipe.
const SnapshotMessageProperty = "sal.message"
SnapshotMessageProperty is the snapshot summary property a build records its --message under, the way a git commit carries its message. It is read back from the table metadata by `sal query --info snapshots`, the UI's Stats tab, and `sal push`, which puts the latest one in the artifact's description.
const XSDNamespace = "http://www.w3.org/2001/XMLSchema#"
Variables ¶
var ConfirmPrompt func(prompt string) bool
ConfirmPrompt, when set, answers Confirm's question in place of the terminal. The progress panes of `sal build` set it while they own the terminal, since a prompt read from stdin would never be seen under them.
var ErrCantMakeSalDirInHome = errors.New("a sal project directory should not be the home directory; ~/.sal is intended for user-wide configuration")
var ErrLocalHasDiverged = fmt.Errorf("local data product has diverged from remote")
var ErrNothingToPull = fmt.Errorf("no snapshots to pull")
var ErrSalDirNotFound = errors.New("sal directory not found. Have you initialized your project with `sal init`?")
var HeadlessReason = func() string { if os.Getenv("CI") != "" { return "CI is set" } if os.Getenv("SSH_CONNECTION") != "" || os.Getenv("SSH_TTY") != "" { return "this is an SSH session" } if info, err := os.Stdout.Stat(); err != nil || info.Mode()&os.ModeCharDevice == 0 { return "standard output is not a terminal" } if runtime.GOOS != "darwin" && runtime.GOOS != "windows" && os.Getenv("DISPLAY") == "" && os.Getenv("WAYLAND_DISPLAY") == "" { return "there is no display" } return "" }
HeadlessReason reports why no browser is likely to open for this session, or "" when one is: a CI environment, an SSH session, standard output that is not a terminal, or a Linux or BSD session with no display. Commands that would open a page, or ask a question whose answer only matters to someone at a terminal, use it to fall back to the prompt or to a default instead. Tests replace it.
var OpenBrowser = func(url string) error { var cmd *exec.Cmd switch runtime.GOOS { case "darwin": cmd = exec.Command("open", url) case "windows": cmd = exec.Command("rundll32", "url.dll,FileProtocolHandler", url) default: cmd = exec.Command("xdg-open", url) } return cmd.Start() }
OpenBrowser opens url in the user's browser; tests replace it.
var SalConfigContext = map[string]string{
"owl": "http://www.w3.org/2002/07/owl#",
"dcterms": "http://purl.org/dc/terms/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"schema": "https://schema.org/",
}
SalConfigContext is the @context every writer of .sal/config.jsonld emits. It is the union of every prefix either the project ontology node or a pinned vocabulary node can use, so that whichever of the two last wrote the file always leaves every CURIE in it resolvable, including the other node kind's, which that writer never inspects.
var SkillDirs = []string{filepath.Join(".claude", "skills"), filepath.Join(".agents", "skills")}
SkillDirs are the directories, relative to a project or module root, a skill is installed under: Claude Code reads .claude/skills, and the Agent Skills convention other agents follow reads .agents/skills. A skill is copied into both until the agents agree on one.
var SkillsRepository = "https://github.com/cgs-earth/sal"
SkillsRepository is the git repository the skills are downloaded from, the sal repository itself, which holds them under skills/<name>. Tests point it at a local repository.
Functions ¶
func ApplyGoMemoryLimit ¶ added in v0.1.7
func ApplyGoMemoryLimit() int64
ApplyGoMemoryLimit sets the Go runtime's soft memory limit to a share of the memory budget, so that the garbage collector works harder as the heap nears what the machine has rather than letting it grow to twice the live data first. A GOMEMLIMIT the user set wins, and with no budget known nothing is set. It returns the limit in force, 0 for none.
func AssembleConfigGraph ¶
func AssembleConfigGraph(ontology json.RawMessage, pinned []json.RawMessage) ([]json.RawMessage, error)
AssembleConfigGraph orders a config document's @graph with the project ontology node first, if there is one, followed by the pinned vocabulary nodes sorted by @id, so that a rewrite by either writer is a stable diff.
func BytesToHumanReadable ¶
BytesToHumanReadable returns a human-readable size using MB for larger uploads and KB for smaller sizes
func Confirm ¶
Confirm asks the user a yes/no question, on the terminal unless ConfirmPrompt is set, and reports whether they answered yes.
func CountUploads ¶
func CountUploads(client *auth.Client, transport func(http.RoundTripper) http.RoundTripper) *auth.Client
CountUploads makes client send every request through transport, which counts the bytes of their bodies, so a push can be followed as it uploads. The client is copied rather than changed, since auth.DefaultClient is shared by every command.
func DefaultGitRemote ¶
DefaultGitRemote returns the default git remote repository URL. It prefers origin, then falls back to the first configured remote.
func DefaultSalBase ¶
func DuckDBMemoryLimit ¶ added in v0.1.7
func DuckDBMemoryLimit() uint64
DuckDBMemoryLimit is the memory_limit a DuckDB database sal opens for heavy work is given, in bytes: a share of the memory budget, which DuckDB spills to disk beyond. It is 0 when no budget is known, which leaves DuckDB's own default in force.
func FetchManifest ¶
func FetchManifest(ctx context.Context, src oras.ReadOnlyTarget, reference string) (ocispec.Descriptor, ocispec.Manifest, error)
func FindRdfDataInPaths ¶
func FormatBytes ¶ added in v0.1.7
FormatBytes renders a byte count in binary units, like 1.5 GiB.
func GetLatestCommitMsg ¶
func GetLocalSalSnapshots ¶
func GetSalIcebergTable ¶
func GitCommitHash ¶
func GitCommitMessage ¶
GitCommitMessage returns the full message of the commit HEAD is at, which a build records on its snapshot when it is given no --message of its own. A repository with no commit yet is an error.
func GitProjectName ¶
func GitProjectOwner ¶
GitProjectOwner returns the owner of the git repository according to the url
func GitUserName ¶
GitUserName returns the user.name git is configured with, or an empty string when none is set.
func GuessDefaultArtifact ¶
func HashAllFiles ¶
func HashFilesAndContent ¶
HashFilesAndContent hashes every path's bytes, in order, followed by extra in-memory content. build uses it to fold the project ontology's content into the same hash HashAllFiles produces for the RDF source files, even though the ontology no longer has a file of its own to pass a path for; it is read out of .sal/config.jsonld instead.
func IcebergTablePaths ¶
IcebergTablePaths returns the root directory of every Iceberg table under root. A table root is the parent of a `metadata` directory holding at least one metadata JSON file. A root that does not exist holds no tables rather than being an error, since a project may never have written the directory being asked about.
func InstallSkills ¶
InstallSkills downloads the named skills from SkillsRepository and copies each into every SkillDirs directory under dir, replacing a copy already there so that a re-run picks up the current version. The repository is cloned once, shallow and sparse to its skills directory, into a temporary directory that is removed afterwards; git is what sal already requires, so no other tool is needed. The skills a sal binary installs are the ones on the repository's default branch, which describe the CLI as it stands.
func InstalledSkills ¶
InstalledSkills lists the SKILL.md files of the named skill that are installed under dir, one per SkillDirs entry that has it, relative to dir.
func IsXSDFloatType ¶
IsXSDFloatType reports whether iri names a floating-point XSD datatype stored in the object_float column.
func IsXSDIntegerType ¶
IsXSDIntegerType reports whether iri names an integer-valued XSD datatype stored in the object_integer column.
func IsXSDNumericType ¶
IsXSDNumericType reports whether iri names any XSD datatype stored in one of the numeric object columns: object_byte, object_integer, or object_float.
func JoinJSONLDDocument ¶
JoinJSONLDDocument is the inverse of SplitJSONLDDocument: it wraps a single graph node with the @context it should be parsed against, so it can be parsed on its own as a standalone JSON-LD document.
func LogMemoryBudget ¶ added in v0.1.7
func LogMemoryBudget()
LogMemoryBudget logs the memory budget and what sal makes of it, so a build that runs out of memory says what it believed it had.
func Namespaces ¶
Namespaces returns the prefix bindings of g.
func NewOciClientWithOptionalAuth ¶
func NewOciClientWithOptionalAuth(cmd CmdWithAuth, ref ArtifactReference) *auth.Client
func ParseByteSize ¶ added in v0.1.7
ParseByteSize reads a size the way GOMEMLIMIT does: a number with an optional B, KiB, MiB, GiB, or TiB suffix.
func PartitionConfigGraph ¶
func PartitionConfigGraph(graph []json.RawMessage) (ontology json.RawMessage, pinned []json.RawMessage, err error)
PartitionConfigGraph splits a config document's @graph into the project ontology node, if there is one, and the pinned vocabulary nodes. This is the one place that discriminates between the two node kinds, so that the importation package and the validate package, which each own one kind, stay in agreement about which nodes are theirs.
func PullManifestLayers ¶
func PullManifestLayers(ctx context.Context, src oras.ReadOnlyTarget, manifest ocispec.Manifest, desc ocispec.Descriptor, reference string, destination string, parallel int) (err error)
PullManifestLayers copies an OCI artifact into destination, restoring layers according to their exact org.opencontainers.image.title annotations. It backs `sal clone`, `sal pull`, and the OCI artifacts `sal import` records. The copy is the `oci.pull_layers` span, which counts the files and bytes pulled as they arrive, so the progress pane can follow it. parallel is how many layers are fetched at once; DefaultParallelTransfers when it is not positive.
func RemoveTriples ¶
RemoveTriples removes every triple of g matching the pattern, nil meaning any.
func ReplaceBlankNode ¶ added in v0.1.7
ReplaceBlankNode returns the blank node replacements labels term with, or term itself when it is not a blank node.
func RepoDirFromSource ¶
func SALProjectDir ¶
SALProjectDir walks up from the current directory to find the nearest project-local .sal directory without crossing the user's home directory.
func SalBlobsDir ¶
SalBlobsDir returns the directory the vocabulary and imported ontology documents a project pins are stored under, named by the SHA-256 or git commit hash version.PinnedVocabularies pins them at. It sits under .sal/data because its contents are cached rather than authored, but it is not part of the built data product.
func SalBuiltDataProductPath ¶
Return the path to the build iceberg data product in the .sal/data directory
func SalConfigPath ¶
SalConfigPath returns the path to .sal/config.jsonld, the single file that carries both the project ontology `sal import` maintains and the pinned vocabulary versions `sal build` records. The two used to be separate files; they are condensed into one JSON-LD document with one @graph so a project has a single file describing everything it resolves and materializes against.
func SalDataDir ¶
func SalIcebergCatalog ¶
SalIcebergCatalog opens the Hadoop catalog over the project's data directory. The context only bounds the catalog's filesystem setup.
func SalImportsDir ¶
SalImportsDir returns the directory the OCI artifacts a project imports are pulled into. It sits under .sal/data because its contents are pulled rather than authored, but it is not part of the built data product.
func SalStacDir ¶
SalStacDir returns the directory `sal build` writes the STAC catalog describing the data product into. It sits under .sal/data rather than beside .sal/config.jsonld because it is regenerated on every build and names the table's current metadata file and snapshot, which would leave a git-tracked file dirty after each build.
func SetTagOfLatestSnapshot ¶
func SplitJSONLDDocument ¶
SplitJSONLDDocument separates a standalone JSON-LD document's @context from its node, so the node can be embedded as one element of another document's @graph. doc may either be a single flat node or a document wrapping exactly one node in @graph, since serializing a graph with one subject can come out either way.
func StableBlankNodeComponents ¶ added in v0.1.7
StableBlankNodeComponents relabels the blank nodes of triples, in place, one connected component at a time: the blank nodes a chain of triples joins, together with the IRIs and literals those triples name, are labelled by StableBlankNodeIDs over that component's triples alone. A component's labels therefore depend on nothing outside it, so the same node a SAL module writes gets the same labels whatever else was written around it, and a module's output can be stabilized as it is parsed, a batch at a time, rather than once over everything a build holds. Two components alike in every triple, IRIs included, get the same labels and so become one, which is what a set of rows keyed by their hash makes of them anyway.
func StableBlankNodeIDs ¶ added in v0.1.7
StableBlankNodeIDs computes a deterministic replacement label for each blank node in triples, every one of which touches a blank node, from the sorted signatures of the triples touching that blank node, refined pass by pass until the signatures of its neighbours stop splitting them. Each triple is indexed under every blank node in it, so a pass costs the size of that index rather than the number of blank nodes times the triples.
The labels depend on triples alone, and since the number of passes does too, the label of a blank node depends on every blank node it is given with, not only the ones it is connected to. StableBlankNodeComponents is the form whose labels depend only on a node's own component.
func TransferRate ¶
TransferRate writes the average speed of moving bytes in elapsed, per second, in the largest unit that keeps it readable.
func Triples ¶
func Triples(g *rdflibgo.Graph, s rdflibgo.Subject, p *rdflibgo.URIRef, o rdflibgo.Term) iter.Seq[rdflibgo.Triple]
Triples returns the triples of g matching the pattern, nil meaning any.
func UncommittedChangesInGit ¶
UncommittedChangesInGit returns true if the current git worktree contains uncommitted changes
func WriteConfigDocument ¶
func WriteConfigDocument(path string, doc *ConfigDocument) error
WriteConfigDocument writes .sal/config.jsonld, creating .sal if needed.
Types ¶
type ArtifactReference ¶
type ArtifactReference struct {
// ghcr.io/cgs-earth/sal
Repository string
// example latest
Reference string
// example ghcr.io
RegistryName string
// example cgs-earth
Owner string
// example sal
ArtifactName string
}
func ParseArtifact ¶
func ParseArtifact(artifact string) (ArtifactReference, error)
type CmdWithAuth ¶
type ConfigDocument ¶
type ConfigDocument struct {
Context map[string]string `json:"@context"`
Graph []json.RawMessage `json:"@graph"`
}
ConfigDocument is the outer JSON-LD envelope of .sal/config.jsonld. Graph elements are kept as raw JSON so that a writer which only understands one node kind (the project ontology, or a pinned vocabulary) can carry the other kind's nodes forward byte for byte without needing to understand them.
func ReadConfigDocument ¶
func ReadConfigDocument(path string) (*ConfigDocument, error)
ReadConfigDocument reads .sal/config.jsonld. A missing file is not an error; it returns an empty document, since neither the ontology nor any pins are required to exist yet.
type MemoryBudget ¶ added in v0.1.7
type MemoryBudget struct {
Bytes uint64
// Source says where Bytes came from: the cgroup the process runs in, which
// is what a container's memory limit is, or the machine's physical memory.
Source string
}
MemoryBudget is how much memory sal may use on the machine it runs on.
func Budget ¶ added in v0.1.7
func Budget() MemoryBudget
Budget is SAL_MEMORY_LIMIT when it is set, else the memory limit of the cgroup sal runs in, which is what a container such as a Cloud Run job is killed at, and the machine's physical memory when there is none. It is read once per process, so nobody has to tell sal how much memory it has.
type OciArtifactCmdWithAuth ¶
type OciArtifactCmdWithAuth interface {
CmdWithAuth
GetArtifactReference() (ArtifactReference, error)
}
type SnapshotDiffReport ¶
type SnapshotDiffReport struct {
Diverged bool
SnapshotsInRemoteNotLocal []string
SnapshotsInLocalNotRemote []string
}
func FetchAndDiffSnapshots ¶
func FetchAndDiffSnapshots(repo *remote.Repository, reference string) (SnapshotDiffReport, error)
func SnapshotDiff ¶
func SnapshotDiff(localSnapshots []string, remoteSnapshots []string) (SnapshotDiffReport, error)
type Transfer ¶
type Transfer struct {
// contains filtered or unexported fields
}
Transfer counts the files and bytes an OCI push or pull has moved and reports them on the span that covers it as it goes: the span's attributes are what the progress pane draws, and every few files a log line says how far along the transfer is for a run with no pane. It is safe to use from the goroutines that move the files concurrently.
func NewTransfer ¶
NewTransfer starts counting a transfer of files files holding bytes bytes on span. verb is the past participle the log lines use, "Pulled" or "Uploaded".
func (*Transfer) Discard ¶
Discard takes n bytes back out of the count, which is what a failed attempt at a file does before the file is tried again, so that the bytes read twice are counted once.
func (*Transfer) FileDone ¶
func (t *Transfer) FileDone()
FileDone counts one more file moved whole, and logs how far along the transfer is every few files, except at the end, which the caller reports.
func (*Transfer) Transport ¶
func (t *Transfer) Transport(next http.RoundTripper) http.RoundTripper
Transport counts the bytes of every request body sent through next, which is how an upload is followed: the registry client buffers what it pushes so it can answer an auth challenge, so the reader handed to it is read before anything is sent, and only the request body says what was. A body the client sends again after a challenge is counted again, so the pane clamps what it draws to the total.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package compactstore is an in-memory goRDFlib store that holds a large graph in a fraction of the memory goRDFlib's own MemoryStore does.
|
Package compactstore is an in-memory goRDFlib store that holds a large graph in a fraction of the memory goRDFlib's own MemoryStore does. |
|
Package progress is the terminal UI `sal build`, `sal run`, `sal push`, `sal pull`, and `sal clone` show while they work: a progress pane following every step of the invocation, and a log pane holding the log as it would otherwise have been printed, toggled with a key.
|
Package progress is the terminal UI `sal build`, `sal run`, `sal push`, `sal pull`, and `sal clone` show while they work: a progress pane following every step of the invocation, and a log pane holding the log as it would otherwise have been printed, toggled with a key. |
|
Package skillstest holds the test support for installing agent skills: a local git repository holding skills that tests install from instead of the sal repository on GitHub.
|
Package skillstest holds the test support for installing agent skills: a local git repository holding skills that tests install from instead of the sal repository on GitHub. |
|
Package telemetry configures OpenTelemetry for the sal process and is where the rest of sal starts the spans it records around its long running steps: building and running SAL modules, validating RDF, diffing and loading the Iceberg table, and answering queries.
|
Package telemetry configures OpenTelemetry for the sal process and is where the rest of sal starts the spans it records around its long running steps: building and running SAL modules, validating RDF, diffing and loading the Iceberg table, and answering queries. |