arkaik 0.1.0
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/dist/assets/skill/references/schema.md +368 -0
- package/dist/assets/skill/references/values.md +47 -0
- package/dist/assets/skill/scripts/validate-bundle.js +18 -0
- package/dist/assets/skill/skill.md +344 -0
- package/dist/index.js +17693 -0
- package/dist/io.js +15653 -0
- package/package.json +38 -0
- package/src/io.ts +23 -0
package/package.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "arkaik",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Arkaik CLI — link a repository to a hosted product graph, validate and pack bundles, mirror external ref status.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"bin": {
|
|
8
|
+
"arkaik": "dist/index.js"
|
|
9
|
+
},
|
|
10
|
+
"exports": {
|
|
11
|
+
"./io": {
|
|
12
|
+
"types": "./src/io.ts",
|
|
13
|
+
"default": "./dist/io.js"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist",
|
|
18
|
+
"src/io.ts"
|
|
19
|
+
],
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/alexisbohns/arkaik.git",
|
|
23
|
+
"directory": "packages/cli"
|
|
24
|
+
},
|
|
25
|
+
"homepage": "https://github.com/alexisbohns/arkaik/blob/main/docs/hosted-projects.md",
|
|
26
|
+
"keywords": [
|
|
27
|
+
"arkaik",
|
|
28
|
+
"product-graph",
|
|
29
|
+
"cli"
|
|
30
|
+
],
|
|
31
|
+
"scripts": {
|
|
32
|
+
"build": "node build.js",
|
|
33
|
+
"prepublishOnly": "node build.js"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@arkaik/schema": "*"
|
|
37
|
+
}
|
|
38
|
+
}
|
package/src/io.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `arkaik/io` — the CLI's file IO as an importable seam
|
|
3
|
+
* (docs/spec/mcp.md § Reuse Seams). The MCP server (`arkaik-mcp`) imports
|
|
4
|
+
* these verbatim, so what the CLI and the agent plane consider "the bundle on
|
|
5
|
+
* disk" can never drift. Filesystem code stays out of `@arkaik/schema`, which
|
|
6
|
+
* remains browser-safe.
|
|
7
|
+
*
|
|
8
|
+
* Built as a second esbuild entry to `dist/io.js` (see build.js); the
|
|
9
|
+
* package.json `exports` map serves types from this raw-TS source, mirroring
|
|
10
|
+
* how `@arkaik/schema` ships.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
export { readBundle, nodesByIdOf } from "./lib/bundle-io";
|
|
14
|
+
export {
|
|
15
|
+
JOURNAL_SIDECAR,
|
|
16
|
+
journalPathFor,
|
|
17
|
+
archivePathFor,
|
|
18
|
+
readJournalEvents,
|
|
19
|
+
loadJournalEvents,
|
|
20
|
+
appendJournalEvent,
|
|
21
|
+
compactSlice,
|
|
22
|
+
} from "./lib/journal-io";
|
|
23
|
+
export { validateBundleAt, type BundleValidation } from "./lib/bundle-validate";
|