@design.estate/dees-catalog 22.6.0 → 22.7.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_bundle/bundle.js +17 -9
- package/dist_bundle/bundle.js.map +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-EDEJNSV7.js → chunk-HFXYV24T.js} +2 -2
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-Q5VMRCKS.js → chunk-V7J2BVH2.js} +6 -2
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-Q5VMRCKS.js.map → chunk-V7J2BVH2.js.map} +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-ISDTXJM5.js → chunk-ZKZDEZYU.js} +3 -3
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{de-G2A4G5Y2.js → de-DR4HE5CB.js} +6 -2
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{de-G2A4G5Y2.js.map → de-DR4HE5CB.js.map} +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-XOFBPIM6.js → dees-modal-2AMEGGII.js} +3 -3
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-LS7IYP6V.js → dees-workspace-terminal-LWJTXS3T.js} +4 -4
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/00group-harness/dees-harness-session-sidebar/dees-harness-session-sidebar.demo.js +2 -1
- package/dist_ts_web/elements/00group-harness/dees-harness-session-sidebar/dees-harness-session-sidebar.js +9 -1
- package/dist_ts_web/elements/00group-harness/interfaces.d.ts +10 -1
- package/dist_ts_web/i18n/de.d.ts +16 -0
- package/dist_ts_web/i18n/de.js +5 -1
- package/dist_ts_web/i18n/messages.d.ts +16 -0
- package/dist_ts_web/i18n/messages.js +5 -1
- package/package.json +3 -3
- package/readme.md +7 -3
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00group-harness/dees-harness-session-sidebar/dees-harness-session-sidebar.demo.ts +1 -0
- package/ts_web/elements/00group-harness/dees-harness-session-sidebar/dees-harness-session-sidebar.ts +10 -0
- package/ts_web/elements/00group-harness/interfaces.ts +11 -1
- package/ts_web/i18n/de.ts +4 -0
- package/ts_web/i18n/messages.ts +4 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-EDEJNSV7.js.map → chunk-HFXYV24T.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-ISDTXJM5.js.map → chunk-ZKZDEZYU.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-XOFBPIM6.js.map → dees-modal-2AMEGGII.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-LS7IYP6V.js.map → dees-workspace-terminal-LWJTXS3T.js.map} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@design.estate/dees-catalog",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.7.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.",
|
|
6
6
|
"main": "dist_ts_web/index.js",
|
|
@@ -59,12 +59,12 @@
|
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@design.estate/wcctools": "^7.1.4",
|
|
61
61
|
"@git.zone/tsbuild": "^6.0.2",
|
|
62
|
-
"@git.zone/tsbundle": "^3.7.
|
|
62
|
+
"@git.zone/tsbundle": "^3.7.1",
|
|
63
63
|
"@git.zone/tsrun": "^3.0.3",
|
|
64
64
|
"@git.zone/tstest": "^8.0.0",
|
|
65
65
|
"@git.zone/tswatch": "^7.1.1",
|
|
66
66
|
"@push.rocks/projectinfo": "^5.1.0",
|
|
67
|
-
"@types/node": "26.6.
|
|
67
|
+
"@types/node": "26.6.5"
|
|
68
68
|
},
|
|
69
69
|
"files": [
|
|
70
70
|
"ts/**/*",
|
package/readme.md
CHANGED
|
@@ -6272,9 +6272,11 @@ Generic session-detail panel that composes Tasks, Workers, Tools & Subagents, To
|
|
|
6272
6272
|
Token facts are optional in `IHarnessSessionMetrics` (bind `.metrics` here or
|
|
6273
6273
|
`.sessionMetrics` on `dees-harness-chat`). Unknown counts stay undefined; zero is
|
|
6274
6274
|
valid. The existing `lifetimeUsedTokens`, `compactionCount`,
|
|
6275
|
-
`tokensBeforeLatestCompaction
|
|
6276
|
-
|
|
6277
|
-
|
|
6275
|
+
`tokensBeforeLatestCompaction` and `currentContextTokens` retain their meanings;
|
|
6276
|
+
`maxContextTokens` is the context window of the session's model, shown as
|
|
6277
|
+
**Context window** whether or not a current-context count comes with it.
|
|
6278
|
+
Additional reporting facts describe partial data without presenting it as
|
|
6279
|
+
complete or current:
|
|
6278
6280
|
|
|
6279
6281
|
| Optional field | Meaning and presentation |
|
|
6280
6282
|
| --- | --- |
|
|
@@ -6285,6 +6287,8 @@ presenting it as complete or current:
|
|
|
6285
6287
|
| `lastObservedInputTokens: number` | Renders **Last observed input**, explicitly historical, never **Current context** or a context percentage. |
|
|
6286
6288
|
| `lastObservedInputTokensAt: string` | ISO observation timestamp, shown as **Observed at** in the reader's date/time format and time zone. |
|
|
6287
6289
|
| `lastObservedInputTokensFreshness: 'historical'` | Communicates historical input even without a count or timestamp. Last observed input remains historical when this flag is omitted. |
|
|
6290
|
+
| `compactionPointTokens: number` | Context-token total at which the session compacts its context proactively, shown as **Compaction point**. It is a budget, never current context. |
|
|
6291
|
+
| `compactionOff: THarnessCompactionOff` | Why the session has no proactive compaction, set instead of `compactionPointTokens` and shown as a note: `'disabled'` (switched off), `'no-context-window'` (the model has no known context window), `'no-compactor'` (no compactor is configured). |
|
|
6288
6292
|
|
|
6289
6293
|
Only a supplied `lifetimeUsedTokens` produces **Lifetime used**. It takes precedence
|
|
6290
6294
|
over the reported-total row. Completeness, exactness, in-flight status and historical
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@design.estate/dees-catalog',
|
|
6
|
-
version: '22.
|
|
6
|
+
version: '22.7.0',
|
|
7
7
|
description: 'A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.'
|
|
8
8
|
}
|
|
@@ -34,6 +34,7 @@ const partialMetrics: IHarnessSessionMetrics = {
|
|
|
34
34
|
lastObservedInputTokensAt: '2026-09-27T10:30:00Z',
|
|
35
35
|
lastObservedInputTokensFreshness: 'historical',
|
|
36
36
|
maxContextTokens: 128_000,
|
|
37
|
+
compactionPointTokens: 115_200,
|
|
37
38
|
};
|
|
38
39
|
|
|
39
40
|
const scratchpad: IHarnessScratchpad = {
|
package/ts_web/elements/00group-harness/dees-harness-session-sidebar/dees-harness-session-sidebar.ts
CHANGED
|
@@ -33,6 +33,7 @@ import type {
|
|
|
33
33
|
IHarnessTodoItem,
|
|
34
34
|
IHarnessToolCall,
|
|
35
35
|
IHarnessWorkerOpenDetail,
|
|
36
|
+
THarnessCompactionOff,
|
|
36
37
|
THarnessIntelligenceAvailabilityStatus,
|
|
37
38
|
} from '../interfaces.js';
|
|
38
39
|
import {
|
|
@@ -51,6 +52,13 @@ import '../../00group-utility/dees-icon/dees-icon.js';
|
|
|
51
52
|
|
|
52
53
|
const { repeat } = directives;
|
|
53
54
|
|
|
55
|
+
/** The note that says why a session has no proactive compaction. */
|
|
56
|
+
const compactionOffNotes = {
|
|
57
|
+
disabled: 'sidebar.compactionOffDisabled',
|
|
58
|
+
'no-context-window': 'sidebar.compactionOffNoContextWindow',
|
|
59
|
+
'no-compactor': 'sidebar.compactionOffNoCompactor',
|
|
60
|
+
} as const satisfies Record<THarnessCompactionOff, string>;
|
|
61
|
+
|
|
54
62
|
export type THarnessSessionSidebarSection =
|
|
55
63
|
'tasks' | 'workers' | 'activity' | 'metrics' | 'scratchpad' | 'resources' | 'intelligence';
|
|
56
64
|
|
|
@@ -1190,6 +1198,7 @@ export class DeesHarnessSessionSidebar extends DeesElement {
|
|
|
1190
1198
|
? undefined
|
|
1191
1199
|
: this.t(metrics.inFlight ? 'sidebar.usageInFlight' : 'sidebar.usageIdle'),
|
|
1192
1200
|
historicalInput ? this.t('sidebar.historicalInput') : undefined,
|
|
1201
|
+
metrics.compactionOff === undefined ? undefined : this.t(compactionOffNotes[metrics.compactionOff]),
|
|
1193
1202
|
].filter((note) => note !== undefined);
|
|
1194
1203
|
const rows: Array<[string, number | undefined, boolean, boolean?]> = [
|
|
1195
1204
|
reported
|
|
@@ -1199,6 +1208,7 @@ export class DeesHarnessSessionSidebar extends DeesElement {
|
|
|
1199
1208
|
[this.t('sidebar.compactions'), metrics.compactionCount, false],
|
|
1200
1209
|
[this.t('sidebar.beforeCompaction'), metrics.tokensBeforeLatestCompaction, false],
|
|
1201
1210
|
[this.t('sidebar.contextWindow'), metrics.maxContextTokens, false],
|
|
1211
|
+
[this.t('sidebar.compactionPoint'), metrics.compactionPointTokens, false],
|
|
1202
1212
|
[this.t('sidebar.currentContext'), metrics.currentContextTokens, true],
|
|
1203
1213
|
[this.t('sidebar.lastObservedInput'), metrics.lastObservedInputTokens, false],
|
|
1204
1214
|
];
|
|
@@ -115,6 +115,12 @@ export interface IHarnessTranscriptViewState {
|
|
|
115
115
|
questions: Record<string, IHarnessQuestionViewState>;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
+
/**
|
|
119
|
+
* Why a session has no proactive compaction: switched off, no known context window to measure
|
|
120
|
+
* against, or no compactor to run it.
|
|
121
|
+
*/
|
|
122
|
+
export type THarnessCompactionOff = 'disabled' | 'no-context-window' | 'no-compactor';
|
|
123
|
+
|
|
118
124
|
/** Session-level token facts. Unknown metrics stay undefined. */
|
|
119
125
|
export interface IHarnessSessionMetrics {
|
|
120
126
|
/** Cumulative token usage across the complete session. */
|
|
@@ -123,8 +129,12 @@ export interface IHarnessSessionMetrics {
|
|
|
123
129
|
compactionCount?: number;
|
|
124
130
|
/** Context-token total immediately before the newest compaction. */
|
|
125
131
|
tokensBeforeLatestCompaction?: number;
|
|
126
|
-
/** Context window of the model
|
|
132
|
+
/** Context window of the session's model, in tokens. */
|
|
127
133
|
maxContextTokens?: number;
|
|
134
|
+
/** Context-token total at which the session compacts its context proactively. */
|
|
135
|
+
compactionPointTokens?: number;
|
|
136
|
+
/** Why the session does not compact its context proactively; set instead of compactionPointTokens. */
|
|
137
|
+
compactionOff?: THarnessCompactionOff;
|
|
128
138
|
/** Current active context-token total. */
|
|
129
139
|
currentContextTokens?: number;
|
|
130
140
|
/** Total from available usage reports; not necessarily the complete session lifetime. */
|
package/ts_web/i18n/de.ts
CHANGED
|
@@ -1224,6 +1224,10 @@ export default dcMessages.translation('de', {
|
|
|
1224
1224
|
'sidebar.compactions': 'Verdichtungen',
|
|
1225
1225
|
'sidebar.beforeCompaction': 'Vor der letzten Verdichtung',
|
|
1226
1226
|
'sidebar.contextWindow': 'Kontextfenster',
|
|
1227
|
+
'sidebar.compactionPoint': 'Verdichtungspunkt',
|
|
1228
|
+
'sidebar.compactionOffDisabled': 'Proaktive Verdichtung ist ausgeschaltet.',
|
|
1229
|
+
'sidebar.compactionOffNoContextWindow': 'Keine proaktive Verdichtung: Das Kontextfenster des Modells ist unbekannt.',
|
|
1230
|
+
'sidebar.compactionOffNoCompactor': 'Keine proaktive Verdichtung: Es ist kein Verdichter eingerichtet.',
|
|
1227
1231
|
'sidebar.currentContext': 'Aktueller Kontext',
|
|
1228
1232
|
'sidebar.contextUsage': 'Aktuelle Auslastung des Kontextfensters',
|
|
1229
1233
|
'sidebar.scratchpad': 'Notizen der Sitzung',
|
package/ts_web/i18n/messages.ts
CHANGED
|
@@ -1278,6 +1278,10 @@ export const dcMessages = plugins.smarti18n.defineCatalog({
|
|
|
1278
1278
|
'sidebar.compactions': { message: 'Compactions', description: 'How often the session\'s context was compacted.' },
|
|
1279
1279
|
'sidebar.beforeCompaction': { message: 'Before latest compaction', description: 'Tokens in the context before its latest compaction.' },
|
|
1280
1280
|
'sidebar.contextWindow': { message: 'Context window', description: 'The most tokens the context can hold.' },
|
|
1281
|
+
'sidebar.compactionPoint': { message: 'Compaction point', description: 'The context-token total at which the session compacts its context on its own.' },
|
|
1282
|
+
'sidebar.compactionOffDisabled': { message: 'Proactive compaction is off.', description: 'The session does not compact its context on its own because it was switched off.' },
|
|
1283
|
+
'sidebar.compactionOffNoContextWindow': { message: 'No proactive compaction: the model has no known context window.', description: 'The session cannot compact on its own because its model\'s context window is unknown.' },
|
|
1284
|
+
'sidebar.compactionOffNoCompactor': { message: 'No proactive compaction: no compactor is configured.', description: 'The session cannot compact on its own because nothing is set up to do the compaction.' },
|
|
1281
1285
|
'sidebar.currentContext': { message: 'Current context', description: 'Tokens in the context now.' },
|
|
1282
1286
|
'sidebar.contextUsage': { message: 'Current context window usage', description: 'The bar of how full the context is.' },
|
|
1283
1287
|
'sidebar.scratchpad': { message: 'Session Scratchpad', description: 'The section of the session\'s shared notes.' },
|
/package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-EDEJNSV7.js.map → chunk-HFXYV24T.js.map}
RENAMED
|
File without changes
|
/package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-ISDTXJM5.js.map → chunk-ZKZDEZYU.js.map}
RENAMED
|
File without changes
|
|
File without changes
|