@wenathlan/argan 2.0.162 → 2.0.164
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/cli.ts +50 -5
- package/docs/acceptableusepolicy.md +9 -0
- package/docs/authors.md +16 -0
- package/docs/bugreport.md +16 -0
- package/docs/cla.md +9 -0
- package/docs/codeofconduct.md +9 -0
- package/docs/contributing.md +9 -0
- package/docs/copyright.md +7 -0
- package/docs/disclaimer.md +7 -0
- package/docs/distributionlanes.md +19 -0
- package/docs/engine.md +0 -0
- package/docs/eula.md +7 -0
- package/docs/exportcontrol.md +17 -0
- package/docs/features.md +0 -0
- package/docs/governance.md +9 -0
- package/docs/notice.md +7 -0
- package/docs/privacypolicy.md +9 -0
- package/docs/pullrequesttemplate.md +13 -0
- package/docs/support.md +7 -0
- package/docs/termsandconditions.md +9 -0
- package/docs/termsofuse.md +9 -0
- package/docs/thirdpartynotices.md +7 -0
- package/docs/trademarkpolicy.md +7 -0
- package/mimetypes.ts +0 -0
- package/package.json +16 -9
- package/tests/mimetypes.test.ts +0 -0
- package/tests/protocols.test.ts +0 -0
- package/tests/sandboxmodality.test.ts +0 -0
package/cli.ts
CHANGED
|
@@ -8,7 +8,10 @@
|
|
|
8
8
|
* @module argan/cli
|
|
9
9
|
* @family wave/clibin
|
|
10
10
|
* @law same design as web / desktop, difference only responsiveness / DPI
|
|
11
|
-
* @
|
|
11
|
+
* @dpi native detection, never XDPI — the 1x / 1.5x / 2x / 3x scale ladder
|
|
12
|
+
* folds the chrome to the terminal cell grid (windows terminal, conpty
|
|
13
|
+
* and every linux pty), the <APP>_DPI environment override wins first.
|
|
14
|
+
* @seat 2026 · rung 2.0.163 · hierarchical JSDoc, tokens/flags, no hardcoded
|
|
12
15
|
* data — the version is read from package.json at runtime and the engine
|
|
13
16
|
* one-liner is quoted from the app docs.
|
|
14
17
|
* @runtime node strips the types; the shebang hands the file to the runtime
|
|
@@ -43,16 +46,56 @@ const APP = "argan" as const;
|
|
|
43
46
|
const ENGINE =
|
|
44
47
|
"the network, DNS and edge engine of the devthink family — authoritative zones, record snapshots, dnssec validation math, a 231-protocol gateway mesh and a 3217-row media type catalog (docs/engine.md)" as const;
|
|
45
48
|
|
|
46
|
-
/** the titlebar bar: the app name on the left rail, the window controls on the right — the windows 11 chrome inside the terminal. */
|
|
49
|
+
/** the titlebar bar: the app name on the left rail, the window controls on the right — the windows 11 chrome inside the terminal, the rail folded through the dpi frame. */
|
|
47
50
|
function titlebar(): string {
|
|
48
|
-
return `${ACCENT}┌ ${APP} ─ cli${RESET} ${INK}${BAR.repeat(
|
|
51
|
+
return `${ACCENT}┌ ${APP} ─ cli${RESET} ${INK}${BAR.repeat(FRAME.rail)} ─ ❐ ✕${RESET}`;
|
|
49
52
|
}
|
|
50
53
|
|
|
51
|
-
/** the top rule: the 28px divider of the web surface folded to one terminal line. */
|
|
54
|
+
/** the top rule: the 28px divider of the web surface folded to one terminal line, scaled by the dpi seat. */
|
|
52
55
|
function toprule(): string {
|
|
53
|
-
|
|
56
|
+
const rail = Math.max(3, Math.round(3 * FRAME.scale));
|
|
57
|
+
return `${FOCUS}${BAR.repeat(rail)} ${APP} ${BAR.repeat(rail)}${RESET}`;
|
|
54
58
|
}
|
|
55
59
|
|
|
60
|
+
/* ════════════════════════════════════════════════════════════════════ */
|
|
61
|
+
/* Section 1b: the dpi conversion — native detection, the 1x / 1.5x / 2x / 3x scale ladder and the terminal clamp (the pr13 law: DPI never XDPI — the same design as the web / desktop surface, only the responsiveness folds to the cell grid of the terminal, inside windows terminal and every linux pty). */
|
|
62
|
+
/* ════════════════════════════════════════════════════════════════════ */
|
|
63
|
+
|
|
64
|
+
/** the scale ladder the native detection resolves (the automatic scaling law). */
|
|
65
|
+
const SCALESTEPS = [1, 1.5, 2, 3] as const;
|
|
66
|
+
|
|
67
|
+
/** the dpi frame the chrome renders inside: the resolved scale seat, the terminal columns and the rail length the titlebar draws. */
|
|
68
|
+
interface dpiframe {
|
|
69
|
+
/** the scale seat of the ladder (1, 1.5, 2 or 3). */
|
|
70
|
+
scale: number;
|
|
71
|
+
/** the columns the terminal answers (windows terminal, conpty, xterm, tmux — every pty reports them). */
|
|
72
|
+
columns: number;
|
|
73
|
+
/** the titlebar rail length in cells (the pixel rail folded to the grid and clamped so the line never wraps). */
|
|
74
|
+
rail: number;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/** resolves the dpi frame natively, zero dependencies: the columns come from stdout (every windows and linux terminal answers them), the scale seat from the column ladder — the explicit <APP>_DPI environment override wins first (the native scaling knob) — and the rail clamps inside the frame so the chrome never wraps a narrow console. */
|
|
78
|
+
function detectdpiframe(): dpiframe {
|
|
79
|
+
const columns = Number.isFinite(stdout.columns) && Number(stdout.columns) > 0 ? Number(stdout.columns) : 80;
|
|
80
|
+
const override = Number(process.env[`${APP.toUpperCase()}_DPI`] ?? "");
|
|
81
|
+
const scale =
|
|
82
|
+
Number.isFinite(override) && override > 0 && SCALESTEPS.includes(override as (typeof SCALESTEPS)[number])
|
|
83
|
+
? override
|
|
84
|
+
: columns >= 200
|
|
85
|
+
? 3
|
|
86
|
+
: columns >= 160
|
|
87
|
+
? 2
|
|
88
|
+
: columns >= 120
|
|
89
|
+
? 1.5
|
|
90
|
+
: 1;
|
|
91
|
+
/* the rail folds the 24-cell rail of the 1x seat through the scale seat and clamps inside the frame with room for the name, the controls and the reset runs (the escapes are zero-width). */
|
|
92
|
+
const rail = Math.max(4, Math.min(Math.round(24 * scale), columns - APP.length - 16));
|
|
93
|
+
return { scale, columns, rail };
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/** the dpi frame the console booted with (resolved once, before any chrome prints — a piped stdin answers the deterministic 80-column seat). */
|
|
97
|
+
const FRAME = detectdpiframe();
|
|
98
|
+
|
|
56
99
|
/* ════════════════════════════════════════════════════════════════════ */
|
|
57
100
|
/* Section 2: the runtime reads — no hardcoded data; the version comes from package.json at runtime. */
|
|
58
101
|
/* ════════════════════════════════════════════════════════════════════ */
|
|
@@ -77,6 +120,7 @@ function help(): string[] {
|
|
|
77
120
|
`${INK}commands${RESET}`,
|
|
78
121
|
` help ${INK}this list${RESET}`,
|
|
79
122
|
` version ${INK}the package version, read from package.json at runtime${RESET}`,
|
|
123
|
+
` dpi ${INK}the resolved dpi seat of this terminal (scale, columns, rail)${RESET}`,
|
|
80
124
|
` engine ${INK}the engine ownership one-liner of the app${RESET}`,
|
|
81
125
|
` exit ${INK}close the console${RESET}`,
|
|
82
126
|
];
|
|
@@ -101,6 +145,7 @@ export async function main(): Promise<void> {
|
|
|
101
145
|
if (command === "exit") rl.close();
|
|
102
146
|
else if (command === "help") for (const row of help()) console.log(row);
|
|
103
147
|
else if (command === "version") console.log(`${ACCENT}${APP}${RESET} ${version}`);
|
|
148
|
+
else if (command === "dpi") console.log(`${ACCENT}${APP}${RESET} ${INK}dpi seat ${FRAME.scale}x on ${FRAME.columns} columns — rail ${FRAME.rail} cells, ladder 1x / 1.5x / 2x / 3x${RESET}`);
|
|
104
149
|
else if (command === "engine") console.log(`${INK}${ENGINE}${RESET}`);
|
|
105
150
|
else if (command.length > 0) console.log(`${HOVER}✕${RESET} ${INK}unknown command: ${command} — type help${RESET}`);
|
|
106
151
|
if (command === "exit") break;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Argan acceptable use policy
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2026 devthink, nathlan, iakadion, nathu filho, allan neris, andraneris, and contributors.
|
|
4
|
+
|
|
5
|
+
The Argan source code is licensed under the GNU General Public License version 3.0 only. This policy governs hosted services, credentials, runners and integrations operated with Argan; it does not reduce rights granted by the GPL.
|
|
6
|
+
|
|
7
|
+
Operators must use Argan lawfully, respect the terms of each connected provider, protect credentials, and obtain authorization before accessing systems or data. Operators must not use Argan to distribute malware, evade access controls, attack third-party systems, violate privacy, infringe intellectual property, or exceed provider quotas.
|
|
8
|
+
|
|
9
|
+
The project may suspend a hosted integration or reject an unsafe request when necessary to protect users, providers or the public. These operational controls do not restrict lawful use, modification or redistribution of the GPL-licensed software itself.
|
package/docs/authors.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Argan authors
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2026 devthink, nathlan, iakadion, nathu filho, allan neris, andraneris, and contributors.
|
|
4
|
+
|
|
5
|
+
The project authors and historical copyright holders are:
|
|
6
|
+
|
|
7
|
+
| Contributor | Role |
|
|
8
|
+
|---|---|
|
|
9
|
+
| devthink | Historical author and project contributor |
|
|
10
|
+
| nathlan | Project owner and maintainer |
|
|
11
|
+
| iakadion | Historical author and project contributor |
|
|
12
|
+
| nathu filho | Historical author and project contributor |
|
|
13
|
+
| allan neris | Historical author and project contributor |
|
|
14
|
+
| andraneris | Historical author and project contributor |
|
|
15
|
+
|
|
16
|
+
Argan is maintained at https://github.com/wenathlan/devthink/tree/main/argan (the DevThink monorepo) and distributed under GPL-3.0-only. Contributors retain copyright in their original contributions unless a separate written agreement states otherwise.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Bug Report
|
|
3
|
+
about: Report a reproducible issue in Argan
|
|
4
|
+
title: "[BUG]"
|
|
5
|
+
labels: bug
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Argan is licensed under GPL-3.0-only. Please do not include secrets or private data.
|
|
9
|
+
|
|
10
|
+
**Describe the issue:**
|
|
11
|
+
|
|
12
|
+
**File / Line:**
|
|
13
|
+
|
|
14
|
+
**Expected behavior:**
|
|
15
|
+
|
|
16
|
+
**Additional context:**
|
package/docs/cla.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Argan contributor terms
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2026 devthink, nathlan, iakadion, nathu filho, allan neris, andraneris, and contributors.
|
|
4
|
+
|
|
5
|
+
Argan does not require an exclusive proprietary assignment of contributions. A contributor submitting a change represents that the contributor has the right to submit it and grants the project the permissions necessary to review, merge, reproduce, distribute and maintain the contribution under GPL-3.0-only.
|
|
6
|
+
|
|
7
|
+
The contributor keeps copyright in the contribution. The project may include the contribution in source and binary releases under GPL-3.0-only and may preserve attribution and required notices.
|
|
8
|
+
|
|
9
|
+
If a separate contributor agreement is required for a particular institutional or commercial arrangement, it must be reviewed and accepted in writing before the contribution is merged. This file is not a replacement for legal advice or a bespoke agreement.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Argan code of conduct
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2026 devthink, nathlan, iakadion, nathu filho, allan neris, andraneris, and contributors.
|
|
4
|
+
|
|
5
|
+
The Argan community follows a respectful, inclusive and technically constructive standard. Participants communicate in good faith, explain technical concerns with evidence, respect different backgrounds and experience levels, and protect private information.
|
|
6
|
+
|
|
7
|
+
Unacceptable conduct includes harassment, discrimination, threats, deliberate disclosure of private information, malicious interference, impersonation, spam, and behavior that violates applicable law or the project policies.
|
|
8
|
+
|
|
9
|
+
Project maintainers may moderate discussions, remove harmful content, or restrict participation when necessary. Reports should be sent through the repository security or support channels, with private disclosure used for security-sensitive matters.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Contributing to Argan
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2026 devthink, nathlan, iakadion, nathu filho, allan neris, andraneris, and contributors.
|
|
4
|
+
|
|
5
|
+
Argan welcomes contributions that improve the network library, its zone and dnssec surfaces, the documentation, the tests and the security posture. Contributions are licensed under GPL-3.0-only unless a different compatible arrangement is agreed in writing before acceptance.
|
|
6
|
+
|
|
7
|
+
A pull request should explain the change, include focused verification, preserve the root-first architecture and avoid credentials, private data or generated artifacts. Security vulnerabilities must use the private process in `SECURITY.md` rather than a public issue.
|
|
8
|
+
|
|
9
|
+
Maintainers may review, request changes, decline or merge a contribution. No contributor is required to transfer exclusive ownership of their work merely to submit a pull request.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Argan copyright notice
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2026 devthink, nathlan, iakadion, nathu filho, allan neris, andraneris, and contributors.
|
|
4
|
+
|
|
5
|
+
The Argan source code and original documentation are distributed under the GNU General Public License version 3.0 only. The complete license text is kept in the repository `LICENSE` file (the saddle seat carries the family copy) and must be distributed with covered copies.
|
|
6
|
+
|
|
7
|
+
Copyright ownership remains with the respective authors and contributors. Copyright ownership does not remove the rights granted by GPL-3.0-only. The Argan name, logos and other marks are covered separately by `trademarkpolicy.md`.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Argan disclaimer
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2026 devthink, nathlan, iakadion, nathu filho, allan neris, andraneris, and contributors.
|
|
4
|
+
|
|
5
|
+
Argan is provided under GPL-3.0-only and without warranty to the maximum extent permitted by law. The project does not guarantee availability, correctness, security, compatibility, performance or fitness for a particular purpose.
|
|
6
|
+
|
|
7
|
+
Operators remain responsible for reviewing source code, configuring integrations, protecting credentials, validating outputs and complying with the terms of connected services. Nothing in this disclaimer removes rights or obligations established by GPL-3.0-only.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Distribution lanes
|
|
2
|
+
|
|
3
|
+
The eleven distribution lanes of the PR14 law and the honest status each lane answers for argan at the 2.0.163 family rung. A lane never ships metadata its real surface cannot back: a lane without a real carrier stays a documented stub until the surface lands, and no version ever bumps to fake a lane.
|
|
4
|
+
|
|
5
|
+
| Lane | Carrier | Status | Note |
|
|
6
|
+
| --- | --- | --- | --- |
|
|
7
|
+
| npmjs | package.json — @wenathlan/argan | live | the family-npmjs lane publishes the envelope every release rung |
|
|
8
|
+
| GitHub Packages npm | package.json — @wenathlan/argan | live | the family-githubnpm lane publishes the same envelope idempotently |
|
|
9
|
+
| Maven | pom.xml — io.github.wenathlan:argan | live | the family-maven lane deploys the jar |
|
|
10
|
+
| NuGet | argan.csproj | live | the family-nuget lane packs the envelope |
|
|
11
|
+
| Gradle | build.gradle.kts — com.wenathlan:argan | live | the family-gradle lane publishes the module |
|
|
12
|
+
| Ruby Gems | argan.gemspec | live | the family-rubygems lane pushes the gem |
|
|
13
|
+
| Docker Container | Dockerfile | live | the family-ghcr lane pushes ghcr.io/wenathlan/argan and the family-container lane attaches the release archive |
|
|
14
|
+
| Go Get | go.mod | stub | no Go source surface ships yet — the lane lands when a real Go adapter exists, never as an empty module |
|
|
15
|
+
| Cargo Crates | Cargo.toml | stub | no Rust source surface ships yet — the lane lands with a real crate, never as an empty manifest |
|
|
16
|
+
| PyPi | pyproject.toml | stub | no Python package surface ships yet — the lane lands with a real wheel, never as an empty project table |
|
|
17
|
+
| Homebrew | Formula | stub | no tap repository ships yet — the formula lands pointing at the real release binaries with real checksums, never at a placeholder |
|
|
18
|
+
|
|
19
|
+
The engines block of package.json keeps Go, Rust and Python as declared toolchain floors — a catalog row is not a distribution lane. The dual npm law answers through the npmjs and GitHub Packages rows; the release binaries (the desktop bundles, the mobile artifacts, the container archive) ride the family-desktop, family-mobile and family-container lanes every release rung.
|
package/docs/engine.md
CHANGED
|
File without changes
|
package/docs/eula.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Argan end user license notice
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2026 devthink, nathlan, iakadion, nathu filho, allan neris, andraneris, and contributors.
|
|
4
|
+
|
|
5
|
+
Argan source code, scripts and covered binaries are licensed under the GNU General Public License version 3.0 only. The repository `LICENSE` file (the saddle seat carries the family copy) controls the copyright license and grants the permissions described there.
|
|
6
|
+
|
|
7
|
+
This notice does not add a proprietary restriction to GPL-licensed code. Separate terms may apply to a hosted service, a third-party provider, a trademark, or data supplied by an operator. Those terms cannot remove rights granted by the GPL for the covered source code.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
ARGAN - EXPORT CONTROL NOTICE
|
|
2
|
+
Version 1.0, August 2026
|
|
3
|
+
|
|
4
|
+
Copyright (C) 2026 devthink, nathlan, iakadion, nathu filho, allan neris, andraneris, and contributors. Licensed under GPL-3.0-only.
|
|
5
|
+
Project: argan
|
|
6
|
+
|
|
7
|
+
Project Argan is open-source software under GPL-3.0-only. Export,
|
|
8
|
+
re-export and sanctions laws may still apply to a particular operator,
|
|
9
|
+
destination, service or use case.
|
|
10
|
+
|
|
11
|
+
You agree not to export, re-export, or transfer Project argan to any
|
|
12
|
+
prohibited destination, entity, or person, or for any prohibited end-use.
|
|
13
|
+
|
|
14
|
+
Operators are responsible for checking applicable rules before
|
|
15
|
+
transferring source, binaries, credentials or data across borders.
|
|
16
|
+
|
|
17
|
+
END OF EXPORT CONTROL NOTICE
|
package/docs/features.md
CHANGED
|
File without changes
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Argan governance
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2026 devthink, nathlan, iakadion, nathu filho, allan neris, andraneris, and contributors.
|
|
4
|
+
|
|
5
|
+
Argan is maintained as a library-first open-source project under GPL-3.0-only. The repository owner coordinates releases, security response, release approvals and provider integrations. Contributors retain copyright in their contributions unless a separate written agreement states otherwise.
|
|
6
|
+
|
|
7
|
+
Changes should include focused reasoning, tests where practical, documentation for public behavior, and review of security-sensitive workflows. Release artifacts must be traceable to repository source and generated by the documented automation.
|
|
8
|
+
|
|
9
|
+
Technical governance is recorded in the repository plans and workflow files. This document describes project responsibility and does not override the GPL or a contributor's applicable rights.
|
package/docs/notice.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Argan notice
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2026 devthink, nathlan, iakadion, nathu filho, allan neris, andraneris, and contributors.
|
|
4
|
+
|
|
5
|
+
Argan is open-source software licensed under the GNU General Public License version 3.0 only. The source code, generated artifacts and documentation may include work from third-party projects; each third-party component remains subject to its own license.
|
|
6
|
+
|
|
7
|
+
The project name and logos are trademarks of their respective owner. The trademark policy does not restrict rights granted by GPL-3.0-only to the source code.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Argan privacy policy
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2026 devthink, nathlan, iakadion, nathu filho, allan neris, andraneris, and contributors.
|
|
4
|
+
|
|
5
|
+
The Argan network library does not intentionally collect telemetry or transmit data without an operator-requested integration. Zone, record and dnssec features can access data only when the operator configures and invokes them. Operators must review the configuration and the privacy policy of every connected provider.
|
|
6
|
+
|
|
7
|
+
The repository itself is hosted by third-party services such as GitHub. Those services process requests, account data, logs and cookies under their own policies. A deployment that adds analytics, account data, logs or external storage must document that behavior and provide the controls required by applicable law.
|
|
8
|
+
|
|
9
|
+
Privacy questions and reports should use the repository support channel. Security-sensitive reports must follow `SECURITY.md`.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Argan pull request template -->
|
|
2
|
+
|
|
3
|
+
# Description
|
|
4
|
+
|
|
5
|
+
## Type of change
|
|
6
|
+
|
|
7
|
+
## Verification
|
|
8
|
+
|
|
9
|
+
- [ ] The change preserves GPL-3.0-only metadata and required notices.
|
|
10
|
+
- [ ] Tests or a reason for not adding tests are included.
|
|
11
|
+
- [ ] Security-sensitive behavior and workflow changes were reviewed.
|
|
12
|
+
- [ ] No credentials, private data or generated build output was added.
|
|
13
|
+
- [ ] Public documentation was updated when behavior changed.
|
package/docs/support.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Argan support
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2026 devthink, nathlan, iakadion, nathu filho, allan neris, andraneris, and contributors.
|
|
4
|
+
|
|
5
|
+
Argan is open-source software under GPL-3.0-only. Questions about installation, configuration, usage and reproducible failures should include the version, target, relevant logs and a minimal reproduction without credentials or private data.
|
|
6
|
+
|
|
7
|
+
Security reports must use the private process in `SECURITY.md`. Requests involving a third-party provider should also include the provider and the operator-controlled configuration. Community support is provided on a best-effort basis and does not create a warranty, service-level agreement or maintenance obligation.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Argan terms and conditions
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2026 devthink, nathlan, iakadion, nathu filho, allan neris, andraneris, and contributors.
|
|
4
|
+
|
|
5
|
+
These terms describe access to the Argan repository, documentation, releases and project services. The source code license is the GNU General Public License version 3.0 only; the repository `LICENSE` file (the saddle seat carries the family copy) controls permissions to copy, modify, run and redistribute covered works.
|
|
6
|
+
|
|
7
|
+
Users must comply with applicable law, third-party provider terms, the acceptable use policy, and the security policy. Users must not use a configured integration to access data or systems without authorization, expose credentials, distribute malware, or evade safety controls.
|
|
8
|
+
|
|
9
|
+
The repository and project services are provided without warranty to the maximum extent permitted by law. Separate provider terms apply to infrastructure, accounts, data and hosted services. These terms do not add restrictions to GPL-licensed source code.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Argan terms of use
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2026 devthink, nathlan, iakadion, nathu filho, allan neris, andraneris, and contributors.
|
|
4
|
+
|
|
5
|
+
Argan may be used, modified and redistributed under GPL-3.0-only. Use of a connected registrar, dns provider or hosted service remains subject to the operator's authorization and that provider's terms.
|
|
6
|
+
|
|
7
|
+
Users must protect secrets, respect privacy, avoid unauthorized access, and validate outputs before relying on them. Feedback may be used by the project under the applicable copyright permissions; submitting feedback does not transfer unrelated rights in the contributor's code.
|
|
8
|
+
|
|
9
|
+
The project is provided as-is without a warranty or service-level commitment. The GPL and applicable law control where this document conflicts with a covered source license.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Argan third-party notices
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2026 devthink, nathlan, iakadion, nathu filho, allan neris, andraneris, and contributors.
|
|
4
|
+
|
|
5
|
+
Argan includes or builds with third-party components. Their individual licenses remain in force and are not replaced by GPL-3.0-only. Package manifests, lockfiles and generated license inventories are the source of truth for the exact dependency set of each release.
|
|
6
|
+
|
|
7
|
+
When a component requires a notice, attribution or source offer, the release process must include it. A future dependency should be recorded with its name, version, license identifier, copyright notice and source URL.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Argan trademark policy
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2026 devthink, nathlan, iakadion, nathu filho, allan neris, andraneris, and contributors.
|
|
4
|
+
|
|
5
|
+
The name “Argan”, together with associated logos and marks, identifies the project and its official releases. GPL-3.0-only grants rights to the source code; it does not grant permission to use project marks in a way that suggests endorsement, affiliation or official distribution.
|
|
6
|
+
|
|
7
|
+
Forks and modified distributions should use distinct names and branding where necessary to avoid confusion. Descriptive references to compatibility, origin or modification are permitted when they are accurate and do not imply sponsorship.
|
package/mimetypes.ts
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wenathlan/argan",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.164",
|
|
4
4
|
"description": "argan is the DNS and gateway library of the wenathlan family: zones, records, dnssec and handshake — the system network library whose site shares the unified database. The envelope distributes the documentation set, the zero-build site and the tests directory as one package.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"argan",
|
|
@@ -36,9 +36,11 @@
|
|
|
36
36
|
"README.md",
|
|
37
37
|
"docs",
|
|
38
38
|
"tests",
|
|
39
|
+
"cli.ts",
|
|
39
40
|
"mimetypes.ts"
|
|
40
41
|
],
|
|
41
42
|
"engines": {
|
|
43
|
+
"babel": "^7.28.0",
|
|
42
44
|
"bare": "^1.18.0",
|
|
43
45
|
"bun": "^1.4.4",
|
|
44
46
|
"cargo": ">=1.85.0",
|
|
@@ -61,6 +63,7 @@
|
|
|
61
63
|
"typescript": "^5.8.0",
|
|
62
64
|
"v": "^0.5.2",
|
|
63
65
|
"vscode": "^1.118.0",
|
|
66
|
+
"yaml": "^2.9.1",
|
|
64
67
|
"yarn": "^4.17.1"
|
|
65
68
|
},
|
|
66
69
|
"peerDependencies": {
|
|
@@ -87,12 +90,12 @@
|
|
|
87
90
|
"@libsql/client": "^0.18.0",
|
|
88
91
|
"@prisma/adapter-libsql": "^7.10.1",
|
|
89
92
|
"@prisma/client": "^7.10.1",
|
|
93
|
+
"@wenathlan/argan": "~2.0.155",
|
|
90
94
|
"@wenathlan/cadria": "~2.0.155",
|
|
91
95
|
"@wenathlan/debonair": "~2.0.155",
|
|
92
96
|
"@wenathlan/devthink": "~2.0.154",
|
|
93
97
|
"@wenathlan/getry": "~2.0.155",
|
|
94
98
|
"@wenathlan/saddle": "~2.0.155",
|
|
95
|
-
"@wenathlan/argan": "~2.0.155",
|
|
96
99
|
"@wenathlan/vault": "~2.0.155",
|
|
97
100
|
"better-sqlite3": "^13.0.3",
|
|
98
101
|
"drizzle-orm": "^0.45.4",
|
|
@@ -205,22 +208,26 @@
|
|
|
205
208
|
"zod": "^4.6.7"
|
|
206
209
|
},
|
|
207
210
|
"overrides": {
|
|
208
|
-
"
|
|
211
|
+
"uuid": "^11.1.1",
|
|
209
212
|
"deepmerge-ts": "^8.0.0",
|
|
213
|
+
"esbuild": "^0.28.2",
|
|
214
|
+
"follow-redirects": "^1.16.2",
|
|
215
|
+
"minimatch": "^11.0.3",
|
|
216
|
+
"glob": "^14.0.3",
|
|
210
217
|
"mysql2": "^3.24.6",
|
|
211
|
-
"uuid": "^11.1.1",
|
|
212
218
|
"postcss-selector-parser": "^7.1.6",
|
|
213
219
|
"source-map-js": "1.2.2",
|
|
214
|
-
"katex": "^0.18.2",
|
|
215
220
|
"proxy-addr": "2.0.8",
|
|
216
221
|
"body-parser": "^2.4.0",
|
|
217
222
|
"fast-uri": "^3.1.9",
|
|
218
|
-
"follow-redirects": "^1.16.2",
|
|
219
|
-
"minimatch": "^11.0.3",
|
|
220
|
-
"glob": "^14.0.3",
|
|
221
223
|
"zod": "^4.6.7",
|
|
222
224
|
"undici": "^7.30.1",
|
|
223
|
-
"
|
|
225
|
+
"katex": "^0.18.2",
|
|
226
|
+
"shell-quote": "^1.11.0",
|
|
227
|
+
"xcode": {
|
|
228
|
+
"uuid": "11.1.1"
|
|
229
|
+
},
|
|
230
|
+
"@grpc/grpc-js": "1.14.5"
|
|
224
231
|
},
|
|
225
232
|
"publishConfig": {
|
|
226
233
|
"access": "public",
|
package/tests/mimetypes.test.ts
CHANGED
|
File without changes
|
package/tests/protocols.test.ts
CHANGED
|
File without changes
|
|
File without changes
|