mirror of
https://github.com/R0m1k3/Loki.git
synced 2026-10-15 03:08:56 +02:00
Jauge de contexte, espace disque sur partage agrégé, panneau Fichiers
Trois défauts sans rapport entre eux, tous visibles à l'écran. Jauge de contexte bloquée à « 0 / N (0 %) » : le comptage exact vient de usage.prompt_tokens (include_usage), qu'un llama-server récent a cessé de renvoyer. On note désormais si l'usage est arrivé ; sinon la fin de tour publie l'estimation qui pilote déjà la compaction — approximative, mais jamais absente. Et la souscription envoie la valeur courante juste après le rattrapage : une page rechargée affichait zéro sur une discussion pourtant pleine, faute d'événement ctx_used dans la fenêtre rejouée. Espace disque : « il ne reste que 11,9 Go » sur un partage Unraid qui en a des centaines. /mnt/user est servi par shfs, un FUSE qui agrège plusieurs disques — statfs y renvoie l'espace d'un seul, et ce chiffre REFUSAIT l'installation du modèle. Les systèmes de fichiers qui approximent (FUSE, overlay, NFS, CIFS, Ceph, Gluster) sont reconnus par leur magie : leur chiffre reste affiché, précédé d'un « ~ », mais ne bloque plus rien. Panneau Fichiers : le panneau entier défilait, emportant vers le haut l'en-tête, le fil d'Ariane et le pied (occupation disque, bouton .zip) dès qu'il y avait quelques fichiers. Seule la liste défile maintenant ; le pied reste en bas et l'état vide se centre. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
895ff92ed8
commit
b405adea6c
5118 files changed
+1264007
-23
No files matched your search
+106
@@ -0,0 +1,106 @@
|
||||
import type {Value} from 'vfile'
|
||||
import type {CompileResults} from './lib/index.js'
|
||||
|
||||
export type {
|
||||
// `CompileResultMap` is typed and exposed below.
|
||||
CompileResults,
|
||||
Compiler,
|
||||
// `Data` is typed and exposed below.
|
||||
Parser,
|
||||
Pluggable,
|
||||
PluggableList,
|
||||
Plugin,
|
||||
PluginTuple,
|
||||
Preset,
|
||||
ProcessCallback,
|
||||
Processor,
|
||||
RunCallback,
|
||||
// `Settings` is typed and exposed below.
|
||||
TransformCallback,
|
||||
Transformer
|
||||
} from './lib/index.js'
|
||||
|
||||
export {unified} from './lib/index.js'
|
||||
|
||||
// See: <https://github.com/sindresorhus/type-fest/blob/main/source/empty-object.d.ts>
|
||||
declare const emptyObjectSymbol: unique symbol
|
||||
|
||||
/**
|
||||
* Interface of known results from compilers.
|
||||
*
|
||||
* Normally, compilers result in text ({@linkcode Value} of `vfile`).
|
||||
* When you compile to something else, such as a React node (as in,
|
||||
* `rehype-react`), you can augment this interface to include that type.
|
||||
*
|
||||
* ```ts
|
||||
* import type {ReactNode} from 'somewhere'
|
||||
*
|
||||
* declare module 'unified' {
|
||||
* interface CompileResultMap {
|
||||
* // Register a new result (value is used, key should match it).
|
||||
* ReactNode: ReactNode
|
||||
* }
|
||||
* }
|
||||
*
|
||||
* export {} // You may not need this, but it makes sure the file is a module.
|
||||
* ```
|
||||
*
|
||||
* Use {@linkcode CompileResults} to access the values.
|
||||
*/
|
||||
export interface CompileResultMap {
|
||||
// Note: if `Value` from `VFile` is changed, this should too.
|
||||
Uint8Array: Uint8Array
|
||||
string: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Interface of known data that can be supported by all plugins.
|
||||
*
|
||||
* Typically, options can be given to a specific plugin, but sometimes it makes
|
||||
* sense to have information shared with several plugins.
|
||||
* For example, a list of HTML elements that are self-closing, which is needed
|
||||
* during all phases.
|
||||
*
|
||||
* To type this, do something like:
|
||||
*
|
||||
* ```ts
|
||||
* declare module 'unified' {
|
||||
* interface Data {
|
||||
* htmlVoidElements?: Array<string> | undefined
|
||||
* }
|
||||
* }
|
||||
*
|
||||
* export {} // You may not need this, but it makes sure the file is a module.
|
||||
* ```
|
||||
*/
|
||||
export interface Data {
|
||||
settings?: Settings | undefined
|
||||
}
|
||||
|
||||
/**
|
||||
* Interface of known extra options, that can be supported by parser and
|
||||
* compilers.
|
||||
*
|
||||
* This exists so that users can use packages such as `remark`, which configure
|
||||
* both parsers and compilers (in this case `remark-parse` and
|
||||
* `remark-stringify`), and still provide options for them.
|
||||
*
|
||||
* When you make parsers or compilers, that could be packaged up together,
|
||||
* you should support `this.data('settings')` as input and merge it with
|
||||
* explicitly passed `options`.
|
||||
* Then, to type it, using `remark-stringify` as an example, do something like:
|
||||
*
|
||||
* ```ts
|
||||
* declare module 'unified' {
|
||||
* interface Settings {
|
||||
* bullet: '*' | '+' | '-'
|
||||
* // …
|
||||
* }
|
||||
* }
|
||||
*
|
||||
* export {} // You may not need this, but it makes sure the file is a module.
|
||||
* ```
|
||||
*/
|
||||
export interface Settings {
|
||||
[emptyObjectSymbol]?: never
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
// Note: types exposed from `index.d.ts`.
|
||||
export {unified} from './lib/index.js'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
export const CallableInstance: new <Parameters extends unknown[], Result>(property: string | symbol) => (...parameters: Parameters) => Result;
|
||||
//# sourceMappingURL=callable-instance.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"callable-instance.d.ts","sourceRoot":"","sources":["callable-instance.js"],"names":[],"mappings":"AAAA,oFAEsE,MAAM,GAAG,MAAM,2CAyClF"}
|
||||
+44
@@ -0,0 +1,44 @@
|
||||
export const CallableInstance =
|
||||
/**
|
||||
* @type {new <Parameters extends Array<unknown>, Result>(property: string | symbol) => (...parameters: Parameters) => Result}
|
||||
*/
|
||||
(
|
||||
/** @type {unknown} */
|
||||
(
|
||||
/**
|
||||
* @this {Function}
|
||||
* @param {string | symbol} property
|
||||
* @returns {(...parameters: Array<unknown>) => unknown}
|
||||
*/
|
||||
function (property) {
|
||||
const self = this
|
||||
const constr = self.constructor
|
||||
const proto = /** @type {Record<string | symbol, Function>} */ (
|
||||
// Prototypes do exist.
|
||||
// type-coverage:ignore-next-line
|
||||
constr.prototype
|
||||
)
|
||||
const value = proto[property]
|
||||
/** @type {(...parameters: Array<unknown>) => unknown} */
|
||||
const apply = function () {
|
||||
return value.apply(apply, arguments)
|
||||
}
|
||||
|
||||
Object.setPrototypeOf(apply, proto)
|
||||
|
||||
// Not needed for us in `unified`: we only call this on the `copy`
|
||||
// function,
|
||||
// and we don't need to add its fields (`length`, `name`)
|
||||
// over.
|
||||
// See also: GH-246.
|
||||
// const names = Object.getOwnPropertyNames(value)
|
||||
//
|
||||
// for (const p of names) {
|
||||
// const descriptor = Object.getOwnPropertyDescriptor(value, p)
|
||||
// if (descriptor) Object.defineProperty(apply, p, descriptor)
|
||||
// }
|
||||
|
||||
return apply
|
||||
}
|
||||
)
|
||||
)
|
||||
+1024
File diff suppressed because it is too large.
Load diff
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":";AA4WA;;;;;;;;;;;;GAYG;AACH;IACE;;OAEG;IACH,cAsGC;IAlGC;;;;;;;;;;;;OAYG;IACH,UARU,CACT,SACA,WAAiB,SAAS,SAAS,GAAG,IAAI,GAAG,WAAW,EACxD,aAAmB,SAAS,SAAS,GAAG,cAAc,GAAG,aAAa,CACjE,GACL,SAAa,CACV,CAEqB;IAEzB;;;;;;;;;OASG;IACH,QALU,CACT,OAAW,SAAS,SAAS,SAAS,GAAG,IAAI,GAAG,SAAS,CAAC,GAC1D,SAAa,CACV,CAEmB;IAMvB;;;;;;OAMG;IACH,WAFU,kFAAkC,CAEzB;IAEnB;;;;;;;;;;OAUG;IACH,UARU,CACT,SACA,WAAiB,SAAS,SAAS,GAAG,IAAI,GAAG,WAAW,EACxD,aAAmB,SAAS,SAAS,GAAG,cAAc,GAAG,aAAa,CACjE,GACL,SAAa,CACV,CAEqB;IAEzB;;;;;;OAMG;IACH,aAFU,MAAM,CAEK;IAErB;;;;;;OAMG;IACH,QAFU,OAAO,GAAG,SAAS,CAEN;IAEvB;;;;;;OAMG;IACH,WAFU,IAAI,CAEK;IAEnB;;;;;;;OAOG;IACH,QALU,CACT,OAAW,SAAS,SAAS,SAAS,GAAG,IAAI,GAAG,SAAS,CAAC,GAC1D,SAAa,CACV,CAEmB;IAEvB;;;;;;OAMG;IACH,cAFU,QAAQ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AC9B,MAAM,SAAS,IAAI,GAAG,SAAS,GAEvC,UACA,SAAqB,EACrB,QALine truncated
|
||||
+1323
File diff suppressed because it is too large.
Load diff
+21
@@ -0,0 +1,21 @@
|
||||
(The MIT License)
|
||||
|
||||
Copyright (c) 2015 Titus Wormer <tituswormer@gmail.com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
+120
@@ -0,0 +1,120 @@
|
||||
{
|
||||
"name": "unified",
|
||||
"version": "11.0.5",
|
||||
"description": "parse, inspect, transform, and serialize content through syntax trees",
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
"ast",
|
||||
"compile",
|
||||
"content",
|
||||
"cst",
|
||||
"parse",
|
||||
"process",
|
||||
"rehype",
|
||||
"remark",
|
||||
"retext",
|
||||
"serialize",
|
||||
"stringify",
|
||||
"syntax",
|
||||
"transform",
|
||||
"tree",
|
||||
"unified"
|
||||
],
|
||||
"homepage": "https://unifiedjs.com",
|
||||
"repository": "unifiedjs/unified",
|
||||
"bugs": "https://github.com/unifiedjs/unified/issues",
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/unified"
|
||||
},
|
||||
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
|
||||
"contributors": [
|
||||
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
|
||||
"Junyoung Choi <fluke8259@gmail.com>",
|
||||
"Hernan Rajchert <hrajchert@gmail.com>",
|
||||
"Christian Murphy <christian.murphy.42@gmail.com>",
|
||||
"Vse Mozhet Byt <vsemozhetbyt@gmail.com>",
|
||||
"Richard Littauer <richard.littauer@gmail.com>"
|
||||
],
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"exports": "./index.js",
|
||||
"files": [
|
||||
"lib/",
|
||||
"index.d.ts",
|
||||
"index.js"
|
||||
],
|
||||
"dependencies": {
|
||||
"@types/unist": "^3.0.0",
|
||||
"bail": "^2.0.0",
|
||||
"devlop": "^1.0.0",
|
||||
"extend": "^3.0.0",
|
||||
"is-plain-obj": "^4.0.0",
|
||||
"trough": "^2.0.0",
|
||||
"vfile": "^6.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/extend": "^3.0.0",
|
||||
"@types/hast": "^3.0.0",
|
||||
"@types/mdast": "^4.0.0",
|
||||
"@types/node": "^20.0.0",
|
||||
"c8": "^10.0.0",
|
||||
"prettier": "^3.0.0",
|
||||
"remark-cli": "^12.0.0",
|
||||
"remark-preset-wooorm": "^10.0.0",
|
||||
"tsd": "^0.31.0",
|
||||
"type-coverage": "^2.0.0",
|
||||
"typescript": "^5.0.0",
|
||||
"xo": "^0.58.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc --build --clean && tsc --build && node script/fix-types.js && type-coverage && tsd",
|
||||
"format": "remark . --frail --output --quiet && prettier . --log-level warn --write && xo --fix",
|
||||
"prepack": "npm run build && npm run format",
|
||||
"test": "npm run build && npm run format && npm run test-coverage",
|
||||
"test-api": "node --conditions development test/index.js",
|
||||
"test-coverage": "c8 --100 --check-coverage --reporter lcov npm run test-api"
|
||||
},
|
||||
"prettier": {
|
||||
"bracketSpacing": false,
|
||||
"singleQuote": true,
|
||||
"semi": false,
|
||||
"tabWidth": 2,
|
||||
"trailingComma": "none",
|
||||
"useTabs": false
|
||||
},
|
||||
"remarkConfig": {
|
||||
"plugins": [
|
||||
"remark-preset-wooorm",
|
||||
[
|
||||
"remark-lint-no-html",
|
||||
false
|
||||
]
|
||||
]
|
||||
},
|
||||
"typeCoverage": {
|
||||
"atLeast": 100,
|
||||
"detail": true,
|
||||
"ignoreCatch": true,
|
||||
"strict": true
|
||||
},
|
||||
"xo": {
|
||||
"overrides": [
|
||||
{
|
||||
"files": [
|
||||
"**/*.ts"
|
||||
],
|
||||
"rules": {
|
||||
"@typescript-eslint/ban-types": "off",
|
||||
"@typescript-eslint/consistent-type-definitions": "off",
|
||||
"@typescript-eslint/naming-convention": "off",
|
||||
"import/no-duplicates": "off"
|
||||
}
|
||||
}
|
||||
],
|
||||
"prettier": true,
|
||||
"rules": {
|
||||
"unicorn/no-this-assignment": "off"
|
||||
}
|
||||
}
|
||||
}
|
||||
+1835
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user