@ethogram/cli 0.1.0-alpha.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 +17 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +166 -0
- package/dist/contracts.d.ts +114 -0
- package/dist/contracts.js +1 -0
- package/dist/evaluator.d.ts +2 -0
- package/dist/evaluator.js +15 -0
- package/dist/external-evidence.d.ts +7 -0
- package/dist/external-evidence.js +205 -0
- package/dist/generic-engine.d.ts +21 -0
- package/dist/generic-engine.js +54 -0
- package/dist/runtime/app.js +227 -0
- package/dist/runtime/fonts/OFL-Archivo.txt +93 -0
- package/dist/runtime/fonts/OFL-JetBrains-Mono.txt +93 -0
- package/dist/runtime/fonts/archivo-medium.woff2 +0 -0
- package/dist/runtime/fonts/archivo-regular.woff2 +0 -0
- package/dist/runtime/fonts/archivo-semibold.woff2 +0 -0
- package/dist/runtime/fonts/jetbrains-mono-variable.woff2 +0 -0
- package/dist/runtime/index.html +15 -0
- package/dist/runtime/styles.css +235 -0
- package/dist/server.d.ts +7 -0
- package/dist/server.js +250 -0
- package/dist/templates.d.ts +6 -0
- package/dist/templates.js +112 -0
- package/dist/typescript-adapter.d.ts +12 -0
- package/dist/typescript-adapter.js +373 -0
- package/package.json +37 -0
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
const app = document.querySelector('#app')
|
|
2
|
+
let currentProject
|
|
3
|
+
let currentStoryId
|
|
4
|
+
let currentRuntime
|
|
5
|
+
let evidenceIsCurrent = false
|
|
6
|
+
|
|
7
|
+
const escapeHtml = (value) => String(value)
|
|
8
|
+
.replaceAll('&', '&')
|
|
9
|
+
.replaceAll('<', '<')
|
|
10
|
+
.replaceAll('>', '>')
|
|
11
|
+
.replaceAll('"', '"')
|
|
12
|
+
.replaceAll("'", ''')
|
|
13
|
+
|
|
14
|
+
const prettyJson = (value) => {
|
|
15
|
+
try { return JSON.stringify(JSON.parse(value), null, 2) } catch { return value }
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
const availableText = (value, format = (entry) => String(entry)) => value === undefined
|
|
19
|
+
? 'Unavailable'
|
|
20
|
+
: format(value)
|
|
21
|
+
|
|
22
|
+
const displayGivenValue = (value) => typeof value === 'string' ? value : JSON.stringify(value)
|
|
23
|
+
|
|
24
|
+
const givenEntries = (story) => Array.isArray(story.given)
|
|
25
|
+
? story.given.map((line) => {
|
|
26
|
+
const separator = line.indexOf(':')
|
|
27
|
+
return separator === -1
|
|
28
|
+
? { key: line, value: '' }
|
|
29
|
+
: { key: line.slice(0, separator).trim(), value: line.slice(separator + 1).trim() }
|
|
30
|
+
})
|
|
31
|
+
: Object.entries(story.given).map(([key, value]) => ({ key, value: displayGivenValue(value) }))
|
|
32
|
+
|
|
33
|
+
function panel(title, content, right = '') {
|
|
34
|
+
return `<section class="panel"><header><strong>${title}</strong>${right}</header>${content}</section>`
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
function storyShell(project, story) {
|
|
38
|
+
const agent = project.agents.find((candidate) => candidate.id === story.agent.id) ?? story.agent
|
|
39
|
+
const agentStories = project.stories.filter((candidate) => candidate.agent.id === agent.id)
|
|
40
|
+
const storyNavigation = agentStories.map((candidate) => `
|
|
41
|
+
<button class="story-link ${candidate.id === story.id ? 'selected' : ''}" data-story-id="${escapeHtml(candidate.id)}">
|
|
42
|
+
<span class="status-dot"></span>${escapeHtml(candidate.name)}<em>STORY</em>
|
|
43
|
+
</button>`).join('')
|
|
44
|
+
const given = givenEntries(story).map(({ key, value }) => `
|
|
45
|
+
<div class="given-row"><span>${escapeHtml(key)}</span><strong>${escapeHtml(value)}</strong></div>`).join('')
|
|
46
|
+
const expectations = story.expectations.map((expectation) => `
|
|
47
|
+
<div class="assertion" data-testid="assertion" data-expectation-id="${escapeHtml(expectation.id)}" data-verdict="NOT EVALUATED">
|
|
48
|
+
<span class="assertion-icon pending">·</span>
|
|
49
|
+
<div><strong>${escapeHtml(expectation.description)}</strong><small>Not evaluated</small></div>
|
|
50
|
+
</div>`).join('')
|
|
51
|
+
|
|
52
|
+
app.innerHTML = `
|
|
53
|
+
<aside class="sidebar">
|
|
54
|
+
<div class="brand"><svg class="brand-mark" viewBox="0 0 64 64" aria-hidden="true"><path d="M32 10L49.3 22L39.8 36.5L32 51L18.1 40L13.8 21.5Z"></path></svg><span>Ethogram</span><span class="codename">alpha</span></div>
|
|
55
|
+
<div class="project"><span class="online-dot"></span><strong data-testid="project-name">${escapeHtml(project.name)}</strong><span class="project-local">local</span></div>
|
|
56
|
+
<label class="search"><span aria-hidden="true">⌕</span><input aria-label="Filter stories" placeholder="Filter stories"><kbd>⌘ K</kbd></label>
|
|
57
|
+
<div class="nav-label">AGENTS</div>
|
|
58
|
+
<button class="agent-link selected"><span class="agent-glyph" aria-hidden="true">◇</span>${escapeHtml(agent.name)} <span>${agentStories.length}</span></button>
|
|
59
|
+
<div class="story-list">${storyNavigation}</div>
|
|
60
|
+
<div class="sidebar-footer"><span>Code-first · read-only UI</span><small>${escapeHtml(project.adapter.label)} adapter · local</small></div>
|
|
61
|
+
</aside>
|
|
62
|
+
<main class="main" data-project-source="consumer" data-adapter="${escapeHtml(project.adapter.id)}">
|
|
63
|
+
<header class="topbar">
|
|
64
|
+
<div class="breadcrumb">Agents <span>›</span> ${escapeHtml(agent.name)} <span>›</span> <strong>${escapeHtml(story.name)}</strong></div>
|
|
65
|
+
<button id="run-story" class="run-button" data-testid="run-story"><span aria-hidden="true">▶</span> Run Story</button>
|
|
66
|
+
</header>
|
|
67
|
+
<section class="story-meta">
|
|
68
|
+
<div class="story-symbol"><svg viewBox="0 0 64 64" aria-hidden="true"><path d="M32 10L49.3 22L39.8 36.5L32 51L18.1 40L13.8 21.5Z"></path></svg></div>
|
|
69
|
+
<div><h1>${escapeHtml(story.name)}</h1><p>${escapeHtml(story.description)}</p></div>
|
|
70
|
+
<span class="source" data-testid="story-source">${escapeHtml(story.source)}</span>
|
|
71
|
+
</section>
|
|
72
|
+
<nav class="tabs"><button class="active">Canvas</button></nav>
|
|
73
|
+
<div class="scope-banner">GIVEN · WHEN · EXPECTATIONS are defined in project files. This UI reads and runs them; it does not save edits.</div>
|
|
74
|
+
<div id="execution-error" class="error-banner" hidden></div>
|
|
75
|
+
<div class="canvas">
|
|
76
|
+
<div class="canvas-main">
|
|
77
|
+
${panel('GIVEN', `<div class="given-grid">${given}</div>`)}
|
|
78
|
+
${panel('Configuration', `<div class="config-grid"><div><small>ADAPTER</small><strong>${escapeHtml(project.adapter.label)}</strong></div><div><small>EXECUTION</small><strong>Offline deterministic</strong></div><div><small>PROJECT</small><strong>Consumer owned</strong></div><div><small>ENVIRONMENT</small><strong><span class="online-dot"></span> localhost</strong></div></div>`)}
|
|
79
|
+
${panel('WHEN', `<div class="input-box" data-testid="story-prompt">${escapeHtml(story.prompt)}</div>`)}
|
|
80
|
+
${panel('Result', `<div id="result" class="result" data-evidence-state="empty"><div><small>STORY EVALUATION</small><strong id="story-verdict" data-testid="story-verdict">NOT EVALUATED</strong></div><div><small>DECISION</small><strong id="decision" data-testid="decision">Run the Story to observe behavior.</strong><p id="final-response" data-testid="final-response">No execution evidence yet.</p></div><div><small>EXPECTATIONS</small><strong id="assertion-count" data-testid="assertion-count">0 / ${story.expectations.length} passed</strong></div></div>`)}
|
|
81
|
+
</div>
|
|
82
|
+
<div class="canvas-side">
|
|
83
|
+
${panel('Execution Timeline', '<div id="timeline" class="empty">No execution timeline yet.</div>', '<small id="timeline-count">0 events</small>')}
|
|
84
|
+
${panel('Tool Calls', '<div id="tool-calls" class="empty">No tool calls observed yet.</div>', '<small id="tool-count">0 calls</small>')}
|
|
85
|
+
${panel('Expectations', `<div id="assertions" class="assertions">${expectations}</div>`, `<small id="passed-count">0 / ${story.expectations.length} passed</small>`)}
|
|
86
|
+
${panel('Metrics', '<div class="metrics"><div><small>PROVIDER</small><strong id="provider">Unavailable</strong></div><div><small>MODEL</small><strong id="model">Unavailable</strong></div><div><small>LATENCY</small><strong id="latency">Unavailable</strong></div><div><small>TOOLS CALLED</small><strong id="metric-tool-count">0</strong></div></div>')}
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
<output hidden data-testid="execution-evidence" id="execution-evidence"></output>
|
|
90
|
+
</main>`
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
function renderCompleted(story, payload) {
|
|
94
|
+
evidenceIsCurrent = true
|
|
95
|
+
currentRuntime = payload.runtime
|
|
96
|
+
const { observedRun, evaluationResult } = payload.execution
|
|
97
|
+
document.querySelector('#result').dataset.evidenceState = 'current'
|
|
98
|
+
document.querySelector('#story-verdict').textContent = evaluationResult.verdict
|
|
99
|
+
document.querySelector('#story-verdict').className = evaluationResult.verdict === 'PASS' ? 'pass' : 'fail'
|
|
100
|
+
document.querySelector('#decision').textContent = observedRun.decision
|
|
101
|
+
document.querySelector('#final-response').textContent = observedRun.finalResponse
|
|
102
|
+
const passed = Object.values(evaluationResult.expectations).filter((value) => value === 'PASS').length
|
|
103
|
+
document.querySelector('#assertion-count').textContent = `${passed} / ${story.expectations.length} passed`
|
|
104
|
+
document.querySelector('#passed-count').textContent = `${passed} / ${story.expectations.length} passed`
|
|
105
|
+
document.querySelector('#timeline-count').textContent = `${observedRun.timeline.length} events`
|
|
106
|
+
document.querySelector('#timeline').className = 'timeline'
|
|
107
|
+
document.querySelector('#timeline').innerHTML = observedRun.timeline.map((item, index) => `
|
|
108
|
+
<div class="timeline-row"><span class="timeline-icon">✓</span><div><strong>${escapeHtml(item.label)}</strong><small>${escapeHtml(item.detail)}</small></div><code>${escapeHtml(availableText(item.duration))}</code></div>`).join('')
|
|
109
|
+
document.querySelector('#tool-count').textContent = `${observedRun.toolCalls.length} calls`
|
|
110
|
+
document.querySelector('#metric-tool-count').textContent = String(observedRun.toolCalls.length)
|
|
111
|
+
document.querySelector('#tool-calls').className = 'tools'
|
|
112
|
+
document.querySelector('#tool-calls').innerHTML = observedRun.toolCalls.map((call) => {
|
|
113
|
+
const resultLabel = call.status === 'error' ? 'ERROR' : 'OUTPUT'
|
|
114
|
+
const resultValue = call.status === 'error' ? call.error : call.output
|
|
115
|
+
const renderedResult = resultValue === undefined
|
|
116
|
+
? 'Unavailable'
|
|
117
|
+
: typeof resultValue === 'string' ? prettyJson(resultValue) : JSON.stringify(resultValue, null, 2)
|
|
118
|
+
return `
|
|
119
|
+
<details class="tool-call"><summary><code>${escapeHtml(call.name)}</code><span class="badge ${call.status === 'success' ? 'pass' : 'fail'}">${escapeHtml(call.status)}</span><small>${escapeHtml(availableText(call.duration))}</small></summary><div class="tool-json"><div><small>INPUT</small><pre>${escapeHtml(prettyJson(call.input))}</pre></div><div><small>${resultLabel}</small><pre>${escapeHtml(renderedResult)}</pre></div></div></details>`
|
|
120
|
+
}).join('')
|
|
121
|
+
document.querySelectorAll('[data-testid="assertion"]').forEach((row) => {
|
|
122
|
+
const id = row.dataset.expectationId
|
|
123
|
+
const verdict = evaluationResult.expectations[id]
|
|
124
|
+
row.dataset.verdict = verdict
|
|
125
|
+
row.querySelector('.assertion-icon').textContent = verdict === 'PASS' ? '✓' : '×'
|
|
126
|
+
row.querySelector('.assertion-icon').className = `assertion-icon ${verdict === 'PASS' ? 'pass' : 'fail'}`
|
|
127
|
+
const expectation = story.expectations.find((candidate) => candidate.id === id)
|
|
128
|
+
row.querySelector('small').textContent = `${expectation.matcher.kind}: ${expectation.matcher.tool}`
|
|
129
|
+
})
|
|
130
|
+
document.querySelector('#provider').textContent = availableText(observedRun.evidence.provider)
|
|
131
|
+
document.querySelector('#model').textContent = availableText(observedRun.evidence.model)
|
|
132
|
+
document.querySelector('#latency').textContent = availableText(observedRun.evidence.latencyMs, (value) => `${value}ms`)
|
|
133
|
+
document.querySelector('#execution-evidence').textContent = JSON.stringify(payload)
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
function markEvidenceStale(message) {
|
|
137
|
+
const banner = document.querySelector('#execution-error')
|
|
138
|
+
if (banner) {
|
|
139
|
+
banner.hidden = false
|
|
140
|
+
banner.textContent = message
|
|
141
|
+
}
|
|
142
|
+
if (!evidenceIsCurrent) return
|
|
143
|
+
evidenceIsCurrent = false
|
|
144
|
+
const result = document.querySelector('#result')
|
|
145
|
+
if (!result) return
|
|
146
|
+
result.dataset.evidenceState = 'stale'
|
|
147
|
+
const verdict = document.querySelector('#story-verdict')
|
|
148
|
+
verdict.textContent = 'STALE — RERUN REQUIRED'
|
|
149
|
+
verdict.className = 'stale'
|
|
150
|
+
document.querySelector('#decision').textContent = 'Previous evidence is no longer current.'
|
|
151
|
+
document.querySelector('#final-response').textContent = message
|
|
152
|
+
document.querySelector('#execution-evidence').textContent = ''
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
function bindStory(project, story) {
|
|
156
|
+
storyShell(project, story)
|
|
157
|
+
const filter = document.querySelector('.search input')
|
|
158
|
+
filter?.addEventListener('input', () => {
|
|
159
|
+
const query = filter.value.trim().toLowerCase()
|
|
160
|
+
document.querySelectorAll('[data-story-id]').forEach((link) => {
|
|
161
|
+
link.hidden = Boolean(query) && !link.textContent.toLowerCase().includes(query)
|
|
162
|
+
})
|
|
163
|
+
})
|
|
164
|
+
document.querySelectorAll('[data-story-id]').forEach((link) => {
|
|
165
|
+
link.addEventListener('click', () => {
|
|
166
|
+
const selected = project.stories.find((candidate) => candidate.id === link.dataset.storyId)
|
|
167
|
+
if (!selected) return
|
|
168
|
+
currentStoryId = selected.id
|
|
169
|
+
evidenceIsCurrent = false
|
|
170
|
+
bindStory(project, selected)
|
|
171
|
+
})
|
|
172
|
+
})
|
|
173
|
+
const button = document.querySelector('#run-story')
|
|
174
|
+
button.addEventListener('click', async () => {
|
|
175
|
+
if (button.disabled) return
|
|
176
|
+
button.disabled = true
|
|
177
|
+
button.textContent = '◌ Running…'
|
|
178
|
+
document.querySelector('#execution-error').hidden = true
|
|
179
|
+
try {
|
|
180
|
+
const runResponse = await fetch('/api/run', {
|
|
181
|
+
method: 'POST',
|
|
182
|
+
headers: { 'content-type': 'application/json' },
|
|
183
|
+
body: JSON.stringify({ storyId: story.id, ...currentRuntime }),
|
|
184
|
+
})
|
|
185
|
+
const payload = await runResponse.json()
|
|
186
|
+
if (!runResponse.ok || payload.status !== 'completed') throw new Error(payload.error?.message ?? 'Execution failed.')
|
|
187
|
+
renderCompleted(story, payload)
|
|
188
|
+
} catch (error) {
|
|
189
|
+
markEvidenceStale('Project or runtime changed. Previous evidence is stale; rerun this Story.')
|
|
190
|
+
const banner = document.querySelector('#execution-error')
|
|
191
|
+
banner.hidden = false
|
|
192
|
+
banner.textContent = error instanceof Error ? error.message : 'The Story execution failed.'
|
|
193
|
+
} finally {
|
|
194
|
+
button.disabled = false
|
|
195
|
+
button.textContent = '▶ Run Story'
|
|
196
|
+
}
|
|
197
|
+
})
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
async function load({ polling = false } = {}) {
|
|
201
|
+
try {
|
|
202
|
+
const response = await fetch('/api/project', { cache: 'no-store' })
|
|
203
|
+
const payload = await response.json()
|
|
204
|
+
if (!response.ok) throw new Error(payload.error?.message ?? 'The selected project could not be loaded.')
|
|
205
|
+
const runtimeChanged = currentRuntime
|
|
206
|
+
&& (payload.runtime.instanceId !== currentRuntime.instanceId || payload.runtime.revision !== currentRuntime.revision)
|
|
207
|
+
if (polling && !runtimeChanged) return
|
|
208
|
+
if (runtimeChanged) markEvidenceStale('Ethogram detected changed project sources or a replaced runtime. Rerun the Story for current evidence.')
|
|
209
|
+
currentProject = payload
|
|
210
|
+
currentRuntime = payload.runtime
|
|
211
|
+
const story = payload.stories.find((candidate) => candidate.id === currentStoryId) ?? payload.stories[0]
|
|
212
|
+
if (!story) throw new Error('No Ethogram Stories were found.')
|
|
213
|
+
currentStoryId = story.id
|
|
214
|
+
evidenceIsCurrent = false
|
|
215
|
+
bindStory(payload, story)
|
|
216
|
+
} catch (error) {
|
|
217
|
+
const message = error instanceof Error ? error.message : 'Ethogram could not load.'
|
|
218
|
+
if (currentProject) {
|
|
219
|
+
markEvidenceStale(`Ethogram cannot confirm current project state: ${message}`)
|
|
220
|
+
return
|
|
221
|
+
}
|
|
222
|
+
app.innerHTML = `<div class="loading-card error">${escapeHtml(message)}</div>`
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
await load()
|
|
227
|
+
setInterval(() => { void load({ polling: true }) }, 750)
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2020 The Archivo Project Authors (https://github.com/Omnibus-Type/Archivo)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
https://openfontlicense.org
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<title>Ethogram Developer</title>
|
|
7
|
+
<link rel="stylesheet" href="/styles.css">
|
|
8
|
+
</head>
|
|
9
|
+
<body>
|
|
10
|
+
<div id="app" class="app-shell" aria-live="polite">
|
|
11
|
+
<div class="loading-card">Loading the selected Ethogram project…</div>
|
|
12
|
+
</div>
|
|
13
|
+
<script type="module" src="/app.js"></script>
|
|
14
|
+
</body>
|
|
15
|
+
</html>
|