@framers/agentos-skills 0.10.0 → 0.10.1

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.
Files changed (3) hide show
  1. package/README.md +5 -5
  2. package/index.mjs +12 -0
  3. package/package.json +6 -2
package/README.md CHANGED
@@ -79,11 +79,11 @@ metadata:
79
79
  @framers/agentos-skills-registry ← Catalog SDK (SKILLS_CATALOG, query helpers, factories)
80
80
  ```
81
81
 
82
- | Package | Role | What | Runtime Code |
83
- | ------------------------------------ | --------------- | ------------------------------------------------------- | :----------: |
84
- | **@framers/agentos/skills** | **Engine** | SkillLoader, SkillRegistry, path utils | Yes |
85
- | **@framers/agentos-skills** | **Content** | 88 SKILL.md files + registry.json index | No |
86
- | **@framers/agentos-skills-registry** | **Catalog SDK** | SKILLS_CATALOG, query helpers, lazy loaders, factories | Yes |
82
+ | Package | Role | What | Runtime Code |
83
+ | --- | --- | --- | :---: |
84
+ | [**@framers/agentos/skills**](https://github.com/framersai/agentos/tree/master/src/cognition/skills) | **Engine** | [SkillLoader](https://github.com/framersai/agentos/blob/master/src/cognition/skills/SkillLoader.ts), [SkillRegistry](https://github.com/framersai/agentos/blob/master/src/cognition/skills/SkillRegistry.ts), [path utils](https://github.com/framersai/agentos/blob/master/src/cognition/skills/paths.ts) | Yes |
85
+ | [**@framers/agentos-skills**](https://github.com/framersai/agentos-skills) | **Content** | 88 [SKILL.md files](https://github.com/framersai/agentos-skills/tree/master/registry/curated) + [registry.json](https://github.com/framersai/agentos-skills/blob/master/registry.json) index | No |
86
+ | [**@framers/agentos-skills-registry**](https://github.com/framersai/agentos-skills-registry) | **Catalog SDK** | SKILLS_CATALOG, query helpers, lazy loaders, factories | Yes |
87
87
 
88
88
  > This layout mirrors the extensions ecosystem:
89
89
  > `@framers/agentos-extensions` (content) + `@framers/agentos-extensions-registry` (SDK).
package/index.mjs ADDED
@@ -0,0 +1,12 @@
1
+ // Tiny wrapper so consumers can `import registry from '@framers/agentos-skills'`
2
+ // without needing the `with { type: 'json' }` import attribute (Node 22+) or the
3
+ // older `assert { type: 'json' }` (deprecated). Reads registry.json at runtime
4
+ // via fs so it works on every supported Node version.
5
+ import { readFileSync } from 'node:fs';
6
+ import { dirname, join } from 'node:path';
7
+ import { fileURLToPath } from 'node:url';
8
+
9
+ const __dirname = dirname(fileURLToPath(import.meta.url));
10
+ const registry = JSON.parse(readFileSync(join(__dirname, 'registry.json'), 'utf-8'));
11
+
12
+ export default registry;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@framers/agentos-skills",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "Curated SKILL.md prompt modules for AgentOS — machine-readable registry of skills, prompts, and reusable agent capabilities. Companion to the @framers/agentos TypeScript AI agent runtime.",
5
5
  "homepage": "https://agentos.sh",
6
6
  "bugs": {
@@ -9,12 +9,16 @@
9
9
  "type": "module",
10
10
  "sideEffects": false,
11
11
  "exports": {
12
- ".": "./registry.json",
12
+ ".": {
13
+ "import": "./index.mjs",
14
+ "types": "./types.d.ts"
15
+ },
13
16
  "./registry.json": "./registry.json",
14
17
  "./types": "./types.d.ts",
15
18
  "./package.json": "./package.json"
16
19
  },
17
20
  "files": [
21
+ "index.mjs",
18
22
  "registry",
19
23
  "registry.json",
20
24
  "types.d.ts",