arkaik 0.1.0 → 0.1.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.
- package/dist/assets/skill/skill.md +20 -0
- package/dist/index.js +6 -0
- package/package.json +1 -1
|
@@ -44,6 +44,26 @@ one the first time you make a change (see [Dual-write](#dual-write-snapshot--jou
|
|
|
44
44
|
> | `{{BUNDLE_PATH}}` | Path to the snapshot | `docs/arkaik/bundle.json` |
|
|
45
45
|
> | `{{JOURNAL_PATH}}` | Path to the journal sidecar | `docs/arkaik/journal.jsonl` |
|
|
46
46
|
|
|
47
|
+
> **Check this first: is the map a file, or an account project?**
|
|
48
|
+
>
|
|
49
|
+
> If `docs/arkaik/arkaik.json` exists in this repository, the map is **hosted** —
|
|
50
|
+
> it lives in an arkaik account, not in a file here. Everything below about
|
|
51
|
+
> *what* to record still applies; everything about *how* to write it does not.
|
|
52
|
+
>
|
|
53
|
+
> | | File map | Hosted map (`docs/arkaik/arkaik.json` present) |
|
|
54
|
+
> |---|---|---|
|
|
55
|
+
> | Where it lives | `{{BUNDLE_PATH}}` in this repo | the account, reached over HTTP |
|
|
56
|
+
> | How you edit it | patch the JSON, append to the journal | the `arkaik-mcp` tools (`create_node`, `update_node`, …) |
|
|
57
|
+
> | Dual-write | you do it, by hand | the server does it — every mutation derives its own journal events |
|
|
58
|
+
>
|
|
59
|
+
> **Do not create or edit `{{BUNDLE_PATH}}` for a hosted map.** Nothing reads it,
|
|
60
|
+
> the account never sees the change, and the next person to look finds two maps
|
|
61
|
+
> disagreeing. If the MCP tools are unavailable, say so and stop rather than
|
|
62
|
+
> falling back to the file — a silent fallback is the failure nobody notices.
|
|
63
|
+
>
|
|
64
|
+
> The tool catalog is identical in both modes, so the rest of this skill reads
|
|
65
|
+
> the same either way. Setup: [hosted-projects.md](https://github.com/alexisbohns/arkaik/blob/main/docs/hosted-projects.md).
|
|
66
|
+
|
|
47
67
|
## When to Update the Map
|
|
48
68
|
|
|
49
69
|
Update the map as a side-effect of your main work whenever you:
|
package/dist/index.js
CHANGED
|
@@ -17647,14 +17647,20 @@ Commands:
|
|
|
17647
17647
|
|
|
17648
17648
|
Options:
|
|
17649
17649
|
-h, --help Show this help.
|
|
17650
|
+
-v, --version Print the version.
|
|
17650
17651
|
|
|
17651
17652
|
Run "arkaik <command> --help" for command-specific help.`;
|
|
17653
|
+
var VERSION = "0.1.1";
|
|
17652
17654
|
function main(argv) {
|
|
17653
17655
|
const [command, ...rest] = argv;
|
|
17654
17656
|
if (command === void 0 || command === "--help" || command === "-h" || command === "help") {
|
|
17655
17657
|
console.log(USAGE10);
|
|
17656
17658
|
process.exit(0);
|
|
17657
17659
|
}
|
|
17660
|
+
if (command === "--version" || command === "-v" || command === "version") {
|
|
17661
|
+
console.log(VERSION);
|
|
17662
|
+
process.exit(0);
|
|
17663
|
+
}
|
|
17658
17664
|
switch (command) {
|
|
17659
17665
|
case "init":
|
|
17660
17666
|
runInit(rest);
|