@owlmeans/basic-ids 0.1.18-rc.7 → 0.1.18-rc.9
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/README.md +2 -2
- package/agent-meta/manifest.json +2 -2
- package/agent-meta/skills/basic-ids/SKILL.md +42 -8
- package/package.json +1 -1
- package/scripts/curate-wordlists.d.ts +0 -2
- package/scripts/curate-wordlists.d.ts.map +0 -1
- package/scripts/curate-wordlists.js +0 -145
- package/scripts/curate-wordlists.js.map +0 -1
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ Utilities for generating cryptographically secure random IDs and UUIDs.
|
|
|
11
11
|
## Installation
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
bun add @owlmeans/basic-ids
|
|
14
|
+
bun add @owlmeans/basic-ids@^0.1.18-rc.8
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
## Usage
|
|
@@ -65,7 +65,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
|
|
|
65
65
|
your project's skill store (`.agents/skills/`):
|
|
66
66
|
|
|
67
67
|
```sh
|
|
68
|
-
npx @owlmeans/agent-skills
|
|
68
|
+
npx @owlmeans/agent-skills@^0.1.18-rc.12
|
|
69
69
|
```
|
|
70
70
|
|
|
71
71
|
The embedded files are version-matched to this package release. Do not edit them
|
package/agent-meta/manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"package": "@owlmeans/basic-ids",
|
|
4
|
-
"version": "0.1.18-rc.
|
|
5
|
-
"generatedAt": "2026-
|
|
4
|
+
"version": "0.1.18-rc.9",
|
|
5
|
+
"generatedAt": "2026-09-04T22:43:25.449Z",
|
|
6
6
|
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: basic-ids
|
|
3
|
-
description: How to use @owlmeans/basic-ids —
|
|
3
|
+
description: How to use @owlmeans/basic-ids — createIdOfLength and createRandomPrefix for random identifiers, uuid for v4 UUIDs, and generateWordSlug / nextSlugCandidate for human-readable two-word slugs. Auto-invoked when importing ID generation utilities or naming a new record, nonce or organization slug.
|
|
4
4
|
user-invocable: false
|
|
5
5
|
---
|
|
6
6
|
<!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
|
|
@@ -8,23 +8,57 @@ user-invocable: false
|
|
|
8
8
|
# @owlmeans/basic-ids
|
|
9
9
|
|
|
10
10
|
**Layer:** Core
|
|
11
|
-
**Install:** `"@owlmeans/basic-ids": "^0.1.18-rc.
|
|
11
|
+
**Install:** `"@owlmeans/basic-ids": "^0.1.18-rc.9"` in `dependencies`
|
|
12
12
|
|
|
13
13
|
## Key Exports
|
|
14
14
|
|
|
15
15
|
| Export | Description |
|
|
16
16
|
|--------|-------------|
|
|
17
|
-
|
|
|
18
|
-
|
|
|
17
|
+
| `createIdOfLength(length?, style?)` | A random id of exactly `length` characters (default 6) |
|
|
18
|
+
| `createRandomPrefix(bytes?, style?)` | Encode `bytes` random bytes (default 6); length varies with the encoding |
|
|
19
|
+
| `uuid()` | A v4 UUID string |
|
|
20
|
+
| `generateWordSlug()` | A readable two-word slug — `civil-format`, `raised-earth` |
|
|
21
|
+
| `nextSlugCandidate(base, attempt)` | The n-th candidate for an occupied slug — `brisk-otter`, `brisk-otter-2` |
|
|
22
|
+
| `IdStyle` | `Base58` (default) and `Base64` (url-safe, unpadded) |
|
|
23
|
+
| `WORD_SLUG_SEPARATOR` (`'-'`), `WORDLIST_SIZE` (2048) | Slug shape and thesaurus size |
|
|
24
|
+
| `WORDLIST_A` / `WORDLIST_B` | The descriptive and subject halves the slug is drawn from |
|
|
19
25
|
|
|
20
|
-
##
|
|
26
|
+
## Random identifiers
|
|
21
27
|
|
|
22
28
|
```typescript
|
|
23
|
-
import {
|
|
29
|
+
import { createIdOfLength, IdStyle, uuid } from '@owlmeans/basic-ids'
|
|
24
30
|
|
|
25
|
-
const id =
|
|
31
|
+
const id = createIdOfLength(16) // 16 Base58 chars
|
|
32
|
+
const nonce = createIdOfLength(32, IdStyle.Base64) // 32 url-safe Base64 chars
|
|
33
|
+
const recordId = uuid()
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
`createIdOfLength` asks for twice the bytes and truncates, so the result is exactly the requested
|
|
37
|
+
number of characters whatever the encoding — this is the function to use for anything that must be
|
|
38
|
+
unguessable. `createRandomPrefix` is the raw form: it encodes the bytes it was given and returns
|
|
39
|
+
however many characters that produced.
|
|
40
|
+
|
|
41
|
+
## Readable slugs
|
|
42
|
+
|
|
43
|
+
`generateWordSlug` picks one descriptive word and one subject word out of 2048 each, joined by a
|
|
44
|
+
hyphen. The result is a valid DNS label and a valid Kubernetes object-name segment, so the same
|
|
45
|
+
value can address a host, a namespace and an OIDC client without a second sanitising pass — which
|
|
46
|
+
is why an organization entity's `entitySlug` is generated this way rather than as a random string.
|
|
47
|
+
|
|
48
|
+
Two words carry 22 bits of entropy. That is **not** enough to be unguessable, and deliberately so:
|
|
49
|
+
uniqueness is settled by a unique index or a registry claim, never by entropy. Walk
|
|
50
|
+
`nextSlugCandidate` until the store accepts one, and never use a slug where a secret is needed.
|
|
51
|
+
|
|
52
|
+
```typescript
|
|
53
|
+
import { generateWordSlug, nextSlugCandidate } from '@owlmeans/basic-ids'
|
|
54
|
+
|
|
55
|
+
const base = generateWordSlug()
|
|
56
|
+
for (let attempt = 1; attempt <= 10; ++attempt) {
|
|
57
|
+
const candidate = nextSlugCandidate(base, attempt) // attempt 1 is the bare name
|
|
58
|
+
if (await claim(candidate)) return candidate
|
|
59
|
+
}
|
|
26
60
|
```
|
|
27
61
|
|
|
28
62
|
## Depends On
|
|
29
63
|
|
|
30
|
-
-
|
|
64
|
+
- `@noble/hashes` (randomness), `@scure/base` (Base58 / Base64), `uuid`
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"curate-wordlists.d.ts","sourceRoot":"","sources":["curate-wordlists.ts"],"names":[],"mappings":""}
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Regenerate `src/wordlists/list-a.ts` and `src/wordlists/list-b.ts`.
|
|
3
|
-
*
|
|
4
|
-
* Run: `bun run scripts/curate-wordlists.ts` (needs network access; writes the two source files).
|
|
5
|
-
*
|
|
6
|
-
* The lists are an editorial asset, not a random sample: every word ends up in hostnames, OIDC
|
|
7
|
-
* client ids and support conversations, so the pipeline below screens three ways — a profanity
|
|
8
|
-
* list, a substring screen for words that read badly inside a hostname even when the word itself
|
|
9
|
-
* is innocent, and a frequency floor so nothing unrecognisable survives. Proper nouns are dropped
|
|
10
|
-
* (Moby capitalises them) because a place or brand name makes a poor generic slug, and stopwords
|
|
11
|
-
* are dropped because `not-for` is not a name.
|
|
12
|
-
*
|
|
13
|
-
* Sources (all public, fetched at run time so no corpus is vendored into the repo):
|
|
14
|
-
* - Moby part-of-speech list — github.com/en-wl/wordlist, `pos/part-of-speech.txt`.
|
|
15
|
-
* Tab-separated `word<TAB>|CODES`; N noun, V/t/i verb, A adjective, v adverb.
|
|
16
|
-
* - google-10000-english (USA) — github.com/first20hours/google-10000-english. Primary frequency
|
|
17
|
-
* ranking; the 50k list below only orders what google's 10k does not cover.
|
|
18
|
-
* - FrequencyWords en_50k — github.com/hermitdave/FrequencyWords.
|
|
19
|
-
* - stopwords-en — github.com/stopwords-iso/stopwords-en.
|
|
20
|
-
* - LDNOOBW `en` — github.com/LDNOOBW/List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words.
|
|
21
|
-
*/
|
|
22
|
-
import { writeFileSync } from 'node:fs';
|
|
23
|
-
import { resolve } from 'node:path';
|
|
24
|
-
import { WORDLIST_SIZE } from '../src/consts.js';
|
|
25
|
-
const SOURCES = {
|
|
26
|
-
moby: 'https://raw.githubusercontent.com/en-wl/wordlist/master/pos/part-of-speech.txt',
|
|
27
|
-
google10k: 'https://raw.githubusercontent.com/first20hours/google-10000-english/master/google-10000-english-usa.txt',
|
|
28
|
-
freq50k: 'https://raw.githubusercontent.com/hermitdave/FrequencyWords/master/content/2018/en/en_50k.txt',
|
|
29
|
-
stopwords: 'https://raw.githubusercontent.com/stopwords-iso/stopwords-en/master/stopwords-en.txt',
|
|
30
|
-
profanity: 'https://raw.githubusercontent.com/LDNOOBW/List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words/master/en',
|
|
31
|
-
negative: 'https://raw.githubusercontent.com/shekhargulati/sentiment-analysis-python/master/opinion-lexicon-English/negative-words.txt',
|
|
32
|
-
};
|
|
33
|
-
const WORD = /^[a-z]{3,8}$/;
|
|
34
|
-
/** Innocent words that carry an unfortunate substring once they sit in a public hostname. */
|
|
35
|
-
const BAD_SUBSTRINGS = [
|
|
36
|
-
'sex', 'nazi', 'rape', 'kill', 'die', 'dead', 'shit', 'fuck', 'cunt', 'porn', 'slut',
|
|
37
|
-
'whore', 'hell', 'damn', 'crap', 'piss', 'suck', 'gun', 'war', 'drug', 'bomb',
|
|
38
|
-
];
|
|
39
|
-
/**
|
|
40
|
-
* Clean, neutrally-ranked words that still make a poor name for somebody's organization. Matched
|
|
41
|
-
* whole, not as substrings — a substring rule here would take `asset`, `class` and `passage` with
|
|
42
|
-
* it, which is how a screen quietly empties the list it is meant to police.
|
|
43
|
-
*/
|
|
44
|
-
const BAD_WORDS = [
|
|
45
|
-
'pee', 'poo', 'butt', 'ass', 'anal', 'bum', 'fart', 'burp', 'snot', 'puke', 'vomit',
|
|
46
|
-
'funeral', 'coffin', 'corpse', 'tumor', 'tumour', 'cancer', 'plague', 'sewer', 'morgue',
|
|
47
|
-
'grave', 'tomb', 'autopsy', 'carcass', 'manure', 'urine', 'feces', 'faeces', 'bowel',
|
|
48
|
-
'rectum', 'groin', 'naked', 'nude', 'booze', 'drunk', 'vodka', 'whisky', 'cigar', 'casino',
|
|
49
|
-
'gamble', 'curse', 'satan', 'demon', 'ghost', 'zombie', 'virgin', 'sperm', 'uterus',
|
|
50
|
-
'breast', 'nipple', 'thigh', 'divorce', 'lawsuit', 'prison', 'inmate', 'felony', 'arrest',
|
|
51
|
-
'arrested', 'combat', 'weapon', 'bullet', 'blade', 'poison', 'venom', 'stab',
|
|
52
|
-
];
|
|
53
|
-
const fetchText = async (url) => {
|
|
54
|
-
const response = await fetch(url);
|
|
55
|
-
if (!response.ok) {
|
|
56
|
-
throw new Error(`Could not fetch ${url}: ${response.status}`);
|
|
57
|
-
}
|
|
58
|
-
return await response.text();
|
|
59
|
-
};
|
|
60
|
-
const lines = (text) => text.split('\n').map(line => line.trim()).filter(line => line !== '');
|
|
61
|
-
const curate = async () => {
|
|
62
|
-
const [moby, google10k, freq50k, stopwords, profanity, negative] = await Promise.all([SOURCES.moby, SOURCES.google10k, SOURCES.freq50k, SOURCES.stopwords, SOURCES.profanity,
|
|
63
|
-
SOURCES.negative].map(fetchText));
|
|
64
|
-
// Negative-sentiment words are screened out because the slug becomes an organization's public
|
|
65
|
-
// name: `idiotic-spring` is clean by every profanity list and still not a name anyone wants.
|
|
66
|
-
const blocked = new Set([...lines(profanity), ...lines(stopwords), ...BAD_WORDS,
|
|
67
|
-
...lines(negative).filter(word => !word.startsWith(';'))].map(word => word.toLowerCase()));
|
|
68
|
-
const admissible = (word) => WORD.test(word) && !blocked.has(word) && !BAD_SUBSTRINGS.some(bad => word.includes(bad));
|
|
69
|
-
// Frequency rank decides which of several thousand admissible words make the cut. Google's list
|
|
70
|
-
// is the better signal, so it keeps the low ranks and the 50k list only breaks ties below it.
|
|
71
|
-
const rank = new Map();
|
|
72
|
-
lines(google10k).forEach((word, index) => {
|
|
73
|
-
const key = word.toLowerCase();
|
|
74
|
-
if (!rank.has(key))
|
|
75
|
-
rank.set(key, index);
|
|
76
|
-
});
|
|
77
|
-
lines(freq50k).forEach((line, index) => {
|
|
78
|
-
const key = line.split(' ')[0]?.toLowerCase();
|
|
79
|
-
if (key != null && !rank.has(key))
|
|
80
|
-
rank.set(key, 10_000 + index);
|
|
81
|
-
});
|
|
82
|
-
const A_CODES = ['A', 'v'];
|
|
83
|
-
const B_CODES = ['N', 'V', 't', 'i'];
|
|
84
|
-
// Value records whether the part of speech is the word's PRIMARY sense — those are picked first,
|
|
85
|
-
// so `list-a` reads as adjectives rather than as nouns that happen to be adjectival.
|
|
86
|
-
const adjectives = new Map();
|
|
87
|
-
const subjects = new Map();
|
|
88
|
-
for (const line of moby.split('\n')) {
|
|
89
|
-
const [rawWord, rawCodes] = line.split('\t');
|
|
90
|
-
if (rawWord == null || rawCodes == null)
|
|
91
|
-
continue;
|
|
92
|
-
const word = rawWord.trim();
|
|
93
|
-
if (word !== word.toLowerCase())
|
|
94
|
-
continue; // proper noun
|
|
95
|
-
if (!admissible(word))
|
|
96
|
-
continue;
|
|
97
|
-
const codes = rawCodes.replace(/\|/g, '').trim();
|
|
98
|
-
if (codes === '')
|
|
99
|
-
continue;
|
|
100
|
-
if (A_CODES.some(code => codes.includes(code)))
|
|
101
|
-
adjectives.set(word, A_CODES.includes(codes[0]));
|
|
102
|
-
if (B_CODES.some(code => codes.includes(code)))
|
|
103
|
-
subjects.set(word, B_CODES.includes(codes[0]));
|
|
104
|
-
}
|
|
105
|
-
const pick = (candidates, exclude) => [...candidates.entries()]
|
|
106
|
-
.filter(([word]) => !exclude.has(word) && rank.has(word))
|
|
107
|
-
.sort(([wordX, primaryX], [wordY, primaryY]) => (Number(primaryY) - Number(primaryX)) || (rank.get(wordX) - rank.get(wordY)))
|
|
108
|
-
.slice(0, WORDLIST_SIZE)
|
|
109
|
-
.map(([word]) => word);
|
|
110
|
-
// A picks first and B excludes its choices, so the two halves of a slug are always distinct.
|
|
111
|
-
const listA = pick(adjectives, new Set());
|
|
112
|
-
const listB = pick(subjects, new Set(listA));
|
|
113
|
-
for (const [name, list] of [['list-a', listA], ['list-b', listB]]) {
|
|
114
|
-
if (list.length !== WORDLIST_SIZE) {
|
|
115
|
-
throw new Error(`${name} came out at ${list.length} words; ${WORDLIST_SIZE} are required`);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
emit('list-a', 'WORDLIST_A', 'Descriptive half of a word slug — adjectives and adverbs.', listA);
|
|
119
|
-
emit('list-b', 'WORDLIST_B', 'Subject half of a word slug — verbs and nouns.', listB);
|
|
120
|
-
console.log(`Wrote ${listA.length} + ${listB.length} words.`);
|
|
121
|
-
};
|
|
122
|
-
const emit = (file, name, summary, words) => {
|
|
123
|
-
const rows = [];
|
|
124
|
-
for (let index = 0; index < words.length; index += 8) {
|
|
125
|
-
rows.push(' ' + words.slice(index, index + 8).map(word => `'${word}'`).join(', ') + ',');
|
|
126
|
-
}
|
|
127
|
-
const body = `/**
|
|
128
|
-
* ${summary}
|
|
129
|
-
*
|
|
130
|
-
* Exactly ${WORDLIST_SIZE} words (11 bits of entropy per pick), each lowercase ASCII, 3-8 characters, and
|
|
131
|
-
* unique within this list. The two lists share no word, so the halves of a slug can never repeat.
|
|
132
|
-
*
|
|
133
|
-
* Curated by \`scripts/curate-wordlists.ts\` from the Moby part-of-speech list, screened against
|
|
134
|
-
* profanity, stopword, negative-sentiment and proper-noun sources. Regenerate with that script
|
|
135
|
-
* rather than editing by hand: \`tests/word-slug.spec.ts\` enforces the invariants above, and a
|
|
136
|
-
* hand-edit that breaks the ${WORDLIST_SIZE} count silently biases slug generation.
|
|
137
|
-
*/
|
|
138
|
-
export const ${name}: string[] = [
|
|
139
|
-
${rows.join('\n')}
|
|
140
|
-
]
|
|
141
|
-
`;
|
|
142
|
-
writeFileSync(resolve(import.meta.dir, '..', 'src', 'wordlists', `${file}.ts`), body);
|
|
143
|
-
};
|
|
144
|
-
await curate();
|
|
145
|
-
//# sourceMappingURL=curate-wordlists.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"curate-wordlists.js","sourceRoot":"","sources":["curate-wordlists.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;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