isorite 0.3.1 → 0.5.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/README.md +2 -2
- package/dist/core.js +4 -2
- package/dist/main.js +3939 -3970
- package/docs/setup-for-agents.md +2 -1
- package/docs/setup.md +5 -1
- package/docs/terminal.md +9 -1
- package/package.json +1 -1
- package/plugin/tui.tsx +3 -77
- package/web/_app/immutable/assets/{0.IOi79DXH.css → 0.DNvf5eFW.css} +1 -1
- package/web/_app/immutable/chunks/-7PsQOY4.js +3 -0
- package/web/_app/immutable/chunks/B9vLu37F.js +1 -0
- package/web/_app/immutable/chunks/BAVeNK5c.js +20 -0
- package/web/_app/immutable/chunks/C1xA2mdF.js +1 -0
- package/web/_app/immutable/chunks/CQqNkDRK.js +1 -0
- package/web/_app/immutable/chunks/Cs9sQ8Oa.js +1 -0
- package/web/_app/immutable/chunks/{BHPhFydX.js → D4Jg9Smi.js} +1 -1
- package/web/_app/immutable/chunks/{8IM6BNk6.js → DG2llOXe.js} +21 -21
- package/web/_app/immutable/chunks/DqVFJWdL.js +1 -0
- package/web/_app/immutable/chunks/HCrXwzvD.js +1 -0
- package/web/_app/immutable/chunks/MjV3DsQW.js +1 -0
- package/web/_app/immutable/chunks/uID4v_1K.js +1 -0
- package/web/_app/immutable/entry/app.CR9ubCCo.js +2 -0
- package/web/_app/immutable/entry/start.D4DOZCP6.js +1 -0
- package/web/_app/immutable/nodes/0.BYXv43VP.js +26 -0
- package/web/_app/immutable/nodes/1.DGP71l35.js +1 -0
- package/web/_app/immutable/nodes/2.CxspTYRG.js +1 -0
- package/web/_app/immutable/nodes/3.ZTzs6oEI.js +1 -0
- package/web/_app/immutable/nodes/4.CeIGu2c2.js +2 -0
- package/web/_app/immutable/nodes/5.k1DmYkGm.js +5 -0
- package/web/_app/immutable/nodes/6.Q0yGno8p.js +1 -0
- package/web/_app/immutable/nodes/7.BJRu312o.js +1 -0
- package/web/_app/version.json +1 -1
- package/web/index.html +17 -20
- package/dist/tutorial/barnes_hut.py +0 -46
- package/dist/tutorial/sim.py +0 -29
- package/plugin/tour.ts +0 -74
- package/web/_app/immutable/assets/8.CFA9_nYZ.css +0 -1
- package/web/_app/immutable/assets/Tutorial.DOfsM49T.css +0 -1
- package/web/_app/immutable/chunks/B_AYGp9o.js +0 -1
- package/web/_app/immutable/chunks/Bze-M_kr.js +0 -3
- package/web/_app/immutable/chunks/CFA70_0c.js +0 -20
- package/web/_app/immutable/chunks/CGgq5NWd.js +0 -1
- package/web/_app/immutable/chunks/CHlFgDNB.js +0 -1
- package/web/_app/immutable/chunks/CMp5T_-1.js +0 -1
- package/web/_app/immutable/chunks/CRzLMJPS.js +0 -1
- package/web/_app/immutable/chunks/D89YN-Dr.js +0 -1
- package/web/_app/immutable/chunks/DF3lgcLW.js +0 -1
- package/web/_app/immutable/chunks/DGVcYHaJ.js +0 -43
- package/web/_app/immutable/chunks/DHMLhlug.js +0 -1
- package/web/_app/immutable/chunks/DmgpLvxp.js +0 -1
- package/web/_app/immutable/chunks/DrsVvzvg.js +0 -1
- package/web/_app/immutable/entry/app.hlk6OrE8.js +0 -2
- package/web/_app/immutable/entry/start.BE1F0HZV.js +0 -1
- package/web/_app/immutable/nodes/0.DMGdYhkH.js +0 -15
- package/web/_app/immutable/nodes/1.Dn_0fgt7.js +0 -1
- package/web/_app/immutable/nodes/2.Y1Dd5PBI.js +0 -1
- package/web/_app/immutable/nodes/3.BlxuRbLf.js +0 -1
- package/web/_app/immutable/nodes/4.Bt_H0MbN.js +0 -2
- package/web/_app/immutable/nodes/5.BJ-EVWbz.js +0 -5
- package/web/_app/immutable/nodes/6.DDIiJnwi.js +0 -1
- package/web/_app/immutable/nodes/7.DmPPLDvb.js +0 -1
- package/web/_app/immutable/nodes/8.CwMTBog4.js +0 -486
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Needs Node 24 or later. For the terminal, OpenCode 2: `npm i -g @opencode/cli`.
|
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
8
|
npm install -g isorite
|
|
9
|
-
isorite
|
|
9
|
+
isorite guide # the guide: a knowledge base about isorite, with things to do, in ~/isorite-guide
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
On your own notes, a folder of Markdown files (`isorite new <notes>` starts one):
|
|
@@ -21,6 +21,6 @@ Setting it up, at work too (a company's gateway, a client certificate, a proxy):
|
|
|
21
21
|
When something fails, `isorite doctor` says what to change; `isorite doctor --report` gives it as one block, its
|
|
22
22
|
secrets hidden, to paste to someone helping. For an AI helping you: `isorite help setup`.
|
|
23
23
|
|
|
24
|
-
The
|
|
24
|
+
The guide in a browser alone: https://lachlanjs.github.io/isorite/
|
|
25
25
|
|
|
26
26
|
Source, and what is on disk: https://github.com/lachlanjs/isorite
|
package/dist/core.js
CHANGED
|
@@ -511,6 +511,8 @@ function outwardLinks(body) {
|
|
|
511
511
|
}
|
|
512
512
|
//#endregion
|
|
513
513
|
//#region packages/core/src/bundle.ts
|
|
514
|
+
/** The base's own instructions, for Iso and any other agent, at the top of the notes (M15). Not a note. */
|
|
515
|
+
const AGENTS_FILE = "AGENTS.md";
|
|
514
516
|
const OKF_VERSION = "0.2";
|
|
515
517
|
const ARTIFACT = /\.html?$/i;
|
|
516
518
|
const IMAGE = /\.(png|jpe?g|gif|svg|webp|avif)$/i;
|
|
@@ -668,7 +670,7 @@ var Bundle = class Bundle {
|
|
|
668
670
|
this.ensureDir(rel);
|
|
669
671
|
continue;
|
|
670
672
|
}
|
|
671
|
-
if (!rel.endsWith(".md")) {
|
|
673
|
+
if (!rel.endsWith(".md") || rel === "AGENTS.md") {
|
|
672
674
|
this.files.add(rel);
|
|
673
675
|
continue;
|
|
674
676
|
}
|
|
@@ -2214,4 +2216,4 @@ function ago(at, now = Date.now()) {
|
|
|
2214
2216
|
/** A moment is named by its last entry: the one the note is shown at. */
|
|
2215
2217
|
const momentKey = (m) => m.ids.at(-1);
|
|
2216
2218
|
//#endregion
|
|
2217
|
-
export { ABOUT, Bundle, CONFIG_FILE, Concept, DEVICE_RE, DONE, DiffError, Directory, FrontmatterError, GITATTRIBUTES, ID_RE, KINDS, LearnerError, MAX_EVENT_BYTES, OKF_VERSION, OWN_DIR, OWN_FORMAT, RATINGS, SESSION_GAP_MS, SETTINGS_FILE, SNAPSHOT_EVERY, STRENGTH, STUDY_DIR, STUDY_FORMAT, SearchIndex, StudyError, agentName, ago, anchorOf, applyHunks, authors, blocks, change, citeKind, cleanEvent, cmp, cmpTuple, codeTarget, contentHash, describe, diffLines, doneOf, dumpFrontmatter, editFrontmatter, embedFor, embedRefs, findAnchor, findPassage, floatRepr, frontmatterText, hashText, headings, idsOf, impliedLinks, insertAt, iso, journalLine, journalPath, kindOf, legacyId, linkRefs, linkTexts, locate, mapModel, mergeRecords, momentKey, moments, newId, noteIds, outwardLinks, pagerank, parseSettings, parseStudyConfig, parseYaml, passageOf, pending, pyRepr, rating, reach, readJournal, readRecord, reconcile, recordPath, replay, round3, section, sessionMoments, settingsText, sha256, slugify, snippet, spliceText, splitFrontmatter, splitSource, stamp, strengthEdges, strip, stronglyConnected, text, textAt, toTime, tokenize, touched, wordAuthors, written };
|
|
2219
|
+
export { ABOUT, AGENTS_FILE, Bundle, CONFIG_FILE, Concept, DEVICE_RE, DONE, DiffError, Directory, FrontmatterError, GITATTRIBUTES, ID_RE, KINDS, LearnerError, MAX_EVENT_BYTES, OKF_VERSION, OWN_DIR, OWN_FORMAT, RATINGS, SESSION_GAP_MS, SETTINGS_FILE, SNAPSHOT_EVERY, STRENGTH, STUDY_DIR, STUDY_FORMAT, SearchIndex, StudyError, agentName, ago, anchorOf, applyHunks, authors, blocks, change, citeKind, cleanEvent, cmp, cmpTuple, codeTarget, contentHash, describe, diffLines, doneOf, dumpFrontmatter, editFrontmatter, embedFor, embedRefs, findAnchor, findPassage, floatRepr, frontmatterText, hashText, headings, idsOf, impliedLinks, insertAt, iso, journalLine, journalPath, kindOf, legacyId, linkRefs, linkTexts, locate, mapModel, mergeRecords, momentKey, moments, newId, noteIds, outwardLinks, pagerank, parseSettings, parseStudyConfig, parseYaml, passageOf, pending, pyRepr, rating, reach, readJournal, readRecord, reconcile, recordPath, replay, round3, section, sessionMoments, settingsText, sha256, slugify, snippet, spliceText, splitFrontmatter, splitSource, stamp, strengthEdges, strip, stronglyConnected, text, textAt, toTime, tokenize, touched, wordAuthors, written };
|