Fixes for pear bin

This commit is contained in:
2026-05-26 23:18:52 +00:00
parent d7b019d3c3
commit ab3f091671
33 changed files with 46116 additions and 1100 deletions
@@ -0,0 +1,49 @@
{
"schema": 1,
"appstoreDriveLabel": "appstore",
"lastUpdatedMs": 0,
"packages": [
{
"name": "keet",
"type": "app",
"pearLink": "pear://example-keet-key",
"channel": "stable",
"version": "1.0.0",
"description": "P2P chat and collaboration app",
"trustPins": [],
"installPolicy": "default",
"installedAtMs": 0
},
{
"name": "simple-file-share",
"type": "service",
"pearLink": "pear://example-fileshare-key",
"channel": "released",
"version": "0.4.2",
"description": "Lightweight P2P file sharing service",
"trustPins": [],
"installPolicy": "default",
"service": {
"initdUnit": "simple-file-share.unit",
"autoStart": false
},
"installedAtMs": 0
},
{
"name": "example-kernel-ext",
"type": "kernel-ext",
"pearLink": "pear://example-kernel-ext-key",
"channel": "stable",
"version": "0.1.0",
"description": "Example kernel extension (requires explicit allow)",
"trustPins": ["deadbeef..."],
"installPolicy": "require-review",
"kernelExt": {
"id": "example-kernel-ext",
"provides": [{ "name": "example-feature", "version": "0.1" }],
"signaturePointer": "pear://..."
},
"installedAtMs": 0
}
]
}
@@ -0,0 +1,14 @@
{
"schema": 1,
"description": "Example HDMS entry for the P2P App Store drive. Place similar content (or use hdms CLI) in your personal drive at /.bare/hdms/registry.json",
"drives": [
{
"label": "appstore",
"key": "YOUR_APPSTORE_HYPERDRIVE_KEY_HERE",
"writable": true,
"autoMount": true,
"mountPoint": "/mnt/appstore",
"note": "This Hyperdrive holds the App Store registry and installed packages."
}
]
}
@@ -1,8 +1,8 @@
{
"schema": 2,
"profileId": "bare-os-posix-like",
"generatedAt": "2026-05-26T22:53:05.253Z",
"note": "Sparse POSIX Issue 7 coverage hints for /bin utilities. Omitted command names are not yet profiled here.",
"generatedAt": "2026-05-26T23:16:52.392Z",
"note": "Sparse POSIX Issue 7 coverage hints; commandIndex is generated each coreutils build.",
"commandIndex": [
{
"name": "agent",
@@ -24,6 +24,10 @@
"name": "awk",
"tier": "tier1_bin"
},
{
"name": "bare-sshd",
"tier": "tier1_bin"
},
{
"name": "baresay",
"tier": "tier1_bin"
@@ -750,110 +754,5 @@
"systemctl",
"tar"
],
"utilities": {
"sh": {
"posixIssue7": "minimal",
"notes": [
"Line-oriented script runner; strips leading shebang; uses ctx.execLine"
],
"source": "sh.js"
},
"xargs": {
"posixIssue7": "partial",
"notes": [
"-0 -n -I -P with bounded parallelism; ctx.runBinCommand only; see BARE_OS_XARGS_MAX_PROCS"
],
"source": "xargs.js"
},
"test": {
"posixIssue7": "partial",
"notes": [
"Expanding [ and test; -r/-w/-x/-s vs UID/GID where supported"
],
"source": "test.js"
},
"echo": {
"posixIssue7": "partial",
"source": "echo.js"
},
"printf": {
"posixIssue7": "partial",
"notes": [
"FORMAT supports \\n \\t \\r \\\\ and octal \\ddd; % conversions still partial vs Issue 7"
],
"source": "printf.js"
},
"cmp": {
"posixIssue7": "partial",
"source": "cmp.js"
},
"diff": {
"posixIssue7": "partial",
"notes": [
"-q -s -u; single unified hunk; text only"
],
"source": "diff.js"
},
"patch": {
"posixIssue7": "partial",
"notes": [
"stdin unified diff; -p --dry-run; whole-file hunk match"
],
"source": "patch.js"
},
"find": {
"posixIssue7": "partial",
"source": "find.js"
},
"tar": {
"posixIssue7": "partial",
"notes": [
"Ustar; hard links; union limits; xattr via PATH.bare_xattr.json sidecar (see xattr)"
]
},
"sed": {
"posixIssue7": "partial"
},
"awk": {
"posixIssue7": "partial"
},
"ls": {
"posixIssue7": "partial"
},
"sort": {
"posixIssue7": "partial",
"notes": [
"LC_ALL / LC_COLLATE localeCompare for string keys when not C/POSIX"
],
"source": "sort.js"
},
"getconf": {
"posixIssue7": "partial",
"notes": [
"Static vs live pathconf bridge"
],
"source": "getconf.js"
},
"getfacl": {
"posixIssue7": "partial",
"notes": [
"PATH.bare_acl sidecar or mode-derived user/group/other triples"
],
"source": "getfacl.js"
},
"setfacl": {
"posixIssue7": "partial",
"notes": [
"-b clears sidecar; else ACL lines from stdin"
],
"source": "setfacl.js"
},
"xattr": {
"posixIssue7": "partial",
"notes": [
"PATH.bare_xattr.json map; values base64 UTF-8; -l -w -d"
],
"source": "xattr.js"
}
}
"utilities": {}
}