@lin0306/dsh-mind 0.0.0-stage → 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/LICENSE +21 -0
- package/README.md +219 -2
- package/client/index.js +1932 -0
- package/cordis.patch.yml +8 -0
- package/icon.svg +26 -0
- package/lib/index.js +8288 -0
- package/lib/index.js.map +1 -0
- package/lib/types/.tsbuildinfo +1 -0
- package/lib/types/commands.d.ts +92 -0
- package/lib/types/commands.d.ts.map +1 -0
- package/lib/types/config.d.ts +116 -0
- package/lib/types/config.d.ts.map +1 -0
- package/lib/types/decide.d.ts +57 -0
- package/lib/types/decide.d.ts.map +1 -0
- package/lib/types/entries.d.ts +124 -0
- package/lib/types/entries.d.ts.map +1 -0
- package/lib/types/host.d.ts +184 -0
- package/lib/types/host.d.ts.map +1 -0
- package/lib/types/index.d.ts +64 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/inject.d.ts +58 -0
- package/lib/types/inject.d.ts.map +1 -0
- package/lib/types/layout.d.ts +115 -0
- package/lib/types/layout.d.ts.map +1 -0
- package/lib/types/log.d.ts +29 -0
- package/lib/types/log.d.ts.map +1 -0
- package/lib/types/migrate.d.ts +44 -0
- package/lib/types/migrate.d.ts.map +1 -0
- package/lib/types/persist.d.ts +57 -0
- package/lib/types/persist.d.ts.map +1 -0
- package/lib/types/persona-md.d.ts +44 -0
- package/lib/types/persona-md.d.ts.map +1 -0
- package/lib/types/proactive.d.ts +64 -0
- package/lib/types/proactive.d.ts.map +1 -0
- package/lib/types/projection.d.ts +245 -0
- package/lib/types/projection.d.ts.map +1 -0
- package/lib/types/settings-bridge.d.ts +183 -0
- package/lib/types/settings-bridge.d.ts.map +1 -0
- package/lib/types/store.d.ts +188 -0
- package/lib/types/store.d.ts.map +1 -0
- package/lib/types/tools.d.ts +109 -0
- package/lib/types/tools.d.ts.map +1 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +87 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../mind-core/lib/types.d.ts","../../../mind-core/lib/config.d.ts","../../../mind-core/lib/dynamics.d.ts","../../../mind-core/lib/lexicon.d.ts","../../../mind-core/lib/state.d.ts","../../../mind-core/lib/appraise.d.ts","../../../mind-core/lib/affect.d.ts","../../../mind-core/lib/thought.d.ts","../../../mind-core/lib/persona.d.ts","../../../mind-core/lib/memory.d.ts","../../../mind-core/lib/render.d.ts","../../../mind-core/lib/fold.d.ts","../../../mind-core/lib/events.d.ts","../../../mind-core/lib/mind.d.ts","../../../mind-core/lib/decide.d.ts","../../../mind-core/lib/proactive.d.ts","../../../mind-core/lib/index.d.ts","../../src/host.ts","../../src/log.ts","../../src/commands.ts","../../src/config.ts","../../src/decide.ts","../../src/entries.ts","../../src/inject.ts","../../src/proactive.ts","../../src/layout.ts","../../src/store.ts","../../src/persist.ts","../../src/persona-md.ts","../../src/projection.ts","../../src/settings-bridge.ts","../../src/tools.ts","../../src/migrate.ts","../../src/index.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/web-globals/domexception.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/web-globals/events.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/file.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/util.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/filereader.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/web-globals/fetch.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/web-globals/navigator.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/web-globals/storage.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/web-globals/streams.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/inspector.generated.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/sqlite.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@22.20.5/node_modules/@types/node/index.d.ts"],"fileIdsList":[[78,79,80,101,150,167,168],[78,79,101,150,167,168],[78,101,150,167,168],[101,150,162,167,168,169,171,172],[78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,101,150,162,167,168,172],[89,101,150,155,162,167,168,172,199],[79,101,150,162,167,168,172],[84,87,88,101,150,162,167,168,172],[78,79,88,101,150,167,168,172],[101,150,162,167,168,172],[78,79,80,101,150,155,167,168],[79,82,101,150,167,168],[78,84,87,101,150,167,168],[62,63,65,101,150,167,168],[62,101,150,167,168],[62,63,101,150,167,168],[73,101,150,167,168],[62,63,67,69,101,150,167,168],[62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,101,150,167,168],[62,63,71,74,101,150,167,168],[101,150,167,168],[101,147,148,150,167,168],[101,149,150,167,168],[150,167,168],[101,150,155,167,168,185],[101,150,151,156,161,167,168,170,182,193],[101,150,151,152,161,167,168,170],[96,97,98,101,150,167,168],[101,150,153,167,168,194],[101,150,154,155,162,167,168,171],[101,150,155,167,168,182,190],[101,150,156,158,161,167,168,170],[101,149,150,157,167,168],[101,150,158,159,167,168],[101,150,160,161,167,168],[101,149,150,161,167,168],[101,150,161,162,163,167,168,182,193],[101,150,161,162,163,167,168,177,182,185],[101,142,150,158,161,164,167,168,170,182,193],[101,150,161,162,164,165,167,168,170,182,190,193],[101,150,164,166,167,168,182,190,193],[99,100,101,102,103,104,105,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199],[101,150,161,167,168],[101,150,167,168,169,193],[101,150,158,161,167,168,170,182],[101,150,167,168,171],[101,150,167,168,172],[101,149,150,167,168,173],[101,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199],[101,150,167,168,175],[101,150,167,168,176],[101,150,161,167,168,177,178],[101,150,167,168,177,179,194,196],[101,150,162,167,168],[101,150,161,167,168,182,183,185],[101,150,167,168,184,185],[101,150,167,168,182,183],[101,150,167,168,185],[101,150,167,168,186],[101,147,150,167,168,182,187,193],[101,150,161,167,168,188,189],[101,150,167,168,188,189],[101,150,155,167,168,170,182,190],[101,150,167,168,191],[101,150,167,168,170,192],[101,150,164,167,168,176,193],[101,150,155,167,168,194],[101,150,167,168,182,195],[101,150,167,168,169,196],[101,150,167,168,197],[101,142,150,167,168],[101,142,150,161,163,167,168,173,182,185,193,195,196,198],[101,150,167,168,182,199],[101,114,118,150,167,168,193],[101,114,150,167,168,182,193],[101,109,150,167,168],[101,111,114,150,167,168,190,193],[101,150,167,168,170,190],[101,150,167,168,200],[101,109,150,167,168,200],[101,111,114,150,167,168,170,193],[101,106,107,110,113,150,161,167,168,182,193],[101,114,121,150,167,168],[101,106,112,150,167,168],[101,114,135,136,150,167,168],[101,110,114,150,167,168,185,193,200],[101,135,150,167,168,200],[101,108,109,150,167,168,200],[101,114,150,167,168],[101,108,109,110,111,112,113,114,115,116,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,136,137,138,139,140,141,150,167,168],[101,114,129,150,167,168],[101,114,121,122,150,167,168],[101,112,114,122,123,150,167,168],[101,113,150,167,168],[101,106,109,114,150,167,168],[101,114,118,122,123,150,167,168],[101,118,150,167,168],[101,112,114,117,150,167,168,193],[101,106,111,114,121,150,167,168],[101,150,167,168,182],[101,109,114,135,150,167,168,198,200]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"0664685aac70c1469d22b0ea999833e2683fb9bf58213f0ac2b297d3bb22fd3d","impliedFormat":99},{"version":"899b11035bb9b982bfa5767b59f2bca64cde305963b97f6cf2ad2620040979f2","impliedFormat":99},{"version":"5035868f242206355aa3779113d7e932b101e0f11fc9c5cd3ecb5ca62bb11f2d","impliedFormat":99},{"version":"460d195a1ca953b3d3955f32e98fbc99cfa37676af77389fd4832c96d372e433","impliedFormat":99},{"version":"0fa7f326e6d5140100ff39117ec102baf148ed754396b239c69f5c7675b16b7c","impliedFormat":99},{"version":"cd9ddabc3e1fe7bb8df4e1ac1f07e035cc33172ebb25d19d97fe16a86638bcaa","impliedFormat":99},{"version":"18c248f35a617a7db3fac069d79bc68cc6ca57c3e008e515d52e78606f78dd70","impliedFormat":99},{"version":"a2e789f6447174720304526f77fb7c5d4efa6970ad2c47747feaedd8c5383951","impliedFormat":99},{"version":"3d9a4e7a3b7377953c03b2c707d1a1241907cb30303269403e376cf22bdd6d15","impliedFormat":99},{"version":"a2f389c6d698b910c68597df2b536c1277a65a26937686573c90dee248030549","impliedFormat":99},{"version":"9432ea8de3c94bef55a5babcfaa44aa14da905670103dec84b26ed4387559c2f","impliedFormat":99},{"version":"3d004e6f5cf6f48c0ee2ded5f8dbc7040a8ad2f54fa3186fc73af5ee7d674915","impliedFormat":99},{"version":"0d4585b0084b838f7948b265badc4dae11364477bf5b3005447421a66f11e88a","impliedFormat":99},{"version":"cfc17c73ec657eb7207569ffa0b1b105b616f884aafd0a84132738ad4a9d53e2","impliedFormat":99},{"version":"3c4e261b2ac6d23dee749583d41d3b92c69f0abf9f79ec601700e4c351421fd3","impliedFormat":99},{"version":"04d2053e2fea0e0631e7cbbe9d9f0407c6fc7f9a1cbc469376c57a0f29014265","impliedFormat":99},{"version":"089165254993c92aa273b93c1d962a47205c043fda874481120874311ce92c0d","impliedFormat":99},{"version":"9b5b780deeb101c4ab18c3bb257aa89598456bf8b678cc49a9b8d2b63a678f86","signature":"137b95f7380bb6a55aec6707e28e3ac976dcf3228b613be7b8f22409f2fc6ffd","impliedFormat":99},{"version":"212b64240973c22edf17d9c664d47e2517ee8c6767e7096b6f6528258eaaba5f","signature":"9582ae539b08c442e9c11765abf043f809d02f4505140d8813221382bcd65dad","impliedFormat":99},{"version":"5a82999918ea5a98e35d7027feeaa4c069d4e25f6fa70a0902307b1a78b28b98","signature":"425f590168a76a5eb2a63a8bd24a5075670eb89b6493d7b9ead0acff15c6a9d1","impliedFormat":99},{"version":"1f4adb41f6915ea665e8515f6d5583f64d645fe57acd7fabb8b3bef253ce00cc","signature":"d7c9e685aff69733450fe6723fbe4cc59c8644fb870425d5899b33917bee65c5","impliedFormat":99},{"version":"ab8878543fc7bde79e46879f9b5e02ee6dea6a0912659cb15db5f4de7d79d839","signature":"23b24af52a4f6d34e086011202f865a02c1ad413e8bd6c7c334a0fe7854fd2ab","impliedFormat":99},{"version":"e252cffcc8596b4cd117401a953882754ad5de2d042669f68194805b9cf32b10","signature":"a7013d3568bebb87d838a5e75df696cf37cded6958415da5fe762130fc539e89","impliedFormat":99},{"version":"b4de01340538fb604cdb5e1961574616262c0c4ec8a4219d1c3538782522461d","signature":"adb93bab6de1a2eb134f3278c7a304043c17560cd6bb99fa6e0663e71da41f93","impliedFormat":99},{"version":"97aeb32615d70e1c65cae0067fa27e7c4248e2e4b0000582b3bbb2ff41d4b161","signature":"68742e1fa2be5ee109876936f6fb27ae480804fa1461e2149c9c1d398037056b","impliedFormat":99},{"version":"8ec5dfa85852a41420bb2ab50b580ca38f227d91721f6333373219d3da702e0f","signature":"9ca32c99a5afee7924060d466e2d8a3ab6f35f547df73d25e26b26a4ee3e562f","impliedFormat":99},{"version":"00bced837aed8f14355a37b630c130d9a1adf46a2c337b93992d4dfd950f71b3","signature":"210f1c0eb315316aafd3bda086194a1c9d0479a37f2554cff427096ee9f5ac7d","impliedFormat":99},{"version":"da433dca419c260100f28655089e33b7c99aadda6ad2803f6b2b08511c1fc945","signature":"0c6f3234ebce5b480939e635c1dc1eed7f7a791fdbec8ea2c35ed21fd1d2c1c2","impliedFormat":99},{"version":"cab90c949d3d727cd0b8ed9f42408144406500dfb43f80fceeaa981c65bef568","signature":"77bef0814960d86c07f8109e0c8f814cea155226fb80c07fe33e5c7bd202b245","impliedFormat":99},{"version":"a4c722a41e4dca86385c8155dfcc01cc3442e0c49c35dc44b2f3cb65d98ae422","signature":"4a36676d00a9b920f7ea56acc672de587799fb7dc7dfeb71b44e0fb6a7d7aaf1","impliedFormat":99},{"version":"8e5a1c51a66096119439f2b657da81adbdbf7a068568f8b41c1e01120dd533fa","signature":"94e2b5f911571cdd4e34230c50cf3dc04e7939e898ca77642a842f866f995511","impliedFormat":99},{"version":"6b38eb90e99272327f0eea5692e0d1e2ce0d2ebf1d1d95570acdf0c891521c6a","signature":"829ff7fa3754cf13538df77b3c26d9417463fe83c18f99074ab974272e8a354d","impliedFormat":99},{"version":"e2e3b270df1577e369497bfd43ef3c302b01cd9a6870a93662c48ec17c8c20d7","signature":"564bbd7aecab0ca7de60df18d7edb19c93770083aa290eadf54020151558e7d3","impliedFormat":99},{"version":"c6d29fec0080c60f92f69ad41a0b320ed40d431d8e7fd9e20a85a186c1b476eb","signature":"abd86ef51b808f53cfc99f25a43f39444f6fce28e19c0157544d6a04c0504522","impliedFormat":99},{"version":"6c7176368037af28cb72f2392010fa1cef295d6d6744bca8cfb54985f3a18c3e","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"437e20f2ba32abaeb7985e0afe0002de1917bc74e949ba585e49feba65da6ca1","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"98cffbf06d6bab333473c70a893770dbe990783904002c4f1a960447b4b53dca","affectsGlobalScope":true,"impliedFormat":1},{"version":"3af97acf03cc97de58a3a4bc91f8f616408099bc4233f6d0852e72a8ffb91ac9","affectsGlobalScope":true,"impliedFormat":1},{"version":"808069bba06b6768b62fd22429b53362e7af342da4a236ed2d2e1c89fcca3b4a","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"b52476feb4a0cbcb25e5931b930fc73cb6643fb1a5060bf8a3dda0eeae5b4b68","affectsGlobalScope":true,"impliedFormat":1},{"version":"f9501cc13ce624c72b61f12b3963e84fad210fbdf0ffbc4590e08460a3f04eba","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d97fb21da858fb18b8ae72c314e9743fd52f73ebe2764e12af1db32fc03f853f","affectsGlobalScope":true,"impliedFormat":1},{"version":"0fa06ada475b910e2106c98c68b10483dc8811d0c14a8a8dd36efb2672485b29","impliedFormat":1},{"version":"33e5e9aba62c3193d10d1d33ae1fa75c46a1171cf76fef750777377d53b0303f","impliedFormat":1},{"version":"2b06b93fd01bcd49d1a6bd1f9b65ddcae6480b9a86e9061634d6f8e354c1468f","impliedFormat":1},{"version":"6a0cd27e5dc2cfbe039e731cf879d12b0e2dded06d1b1dedad07f7712de0d7f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"913be43dad2a40e500104700aa26cfb5c51a976114bedf19624de43fdae7474f","impliedFormat":1},{"version":"e60477649d6ad21542bd2dc7e3d9ff6853d0797ba9f689ba2f6653818999c264","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"4c829ab315f57c5442c6667b53769975acbf92003a66aef19bce151987675bd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"b2ade7657e2db96d18315694789eff2ddd3d8aea7215b181f8a0b303277cc579","impliedFormat":1},{"version":"78dbea00e90d2df8ea3dbef0cc379d95b8be9b71cd6bde4c28728f306811803b","impliedFormat":1},{"version":"4d631b81fa2f07a0e63a9a143d6a82c25c5f051298651a9b69176ba28930756d","impliedFormat":1},{"version":"836a356aae992ff3c28a0212e3eabcb76dd4b0cc06bcb9607aeef560661b860d","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"41670ee38943d9cbb4924e436f56fc19ee94232bc96108562de1a734af20dc2c","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e1e46d0a9837ee058c100501080c920fa98081ea3956af0374308ba6f22a33e","impliedFormat":1},{"version":"272ca407e0c9068bdc5152552d876e68037ceae3de62e529306403e973dec8e1","impliedFormat":1},{"version":"fa7834c715d5357e4540cee40ce96c3250ddb67a7b879a6b7fa0e86d6696f121","impliedFormat":1},{"version":"22dfb07a7ab15b66ac043829056fe70124844636ae719551812ac631ba04985b","impliedFormat":1},{"version":"a10f0e1854f3316d7ee437b79649e5a6ae3ae14ffe6322b02d4987071a95362e","impliedFormat":1},{"version":"e208f73ef6a980104304b0d2ca5f6bf1b85de6009d2c7e404028b875020fa8f2","impliedFormat":1},{"version":"d163b6bc2372b4f07260747cbc6c0a6405ab3fbcea3852305e98ac43ca59f5bc","impliedFormat":1},{"version":"e6fa9ad47c5f71ff733744a029d1dc472c618de53804eae08ffc243b936f87ff","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6f137d651076822d4fe884287e68fd61785a0d3d1fdb250a5059b691fa897db","impliedFormat":1},{"version":"24826ed94a78d5c64bd857570fdbd96229ad41b5cb654c08d75a9845e3ab7dde","impliedFormat":1},{"version":"8b479a130ccb62e98f11f136d3ac80f2984fdc07616516d29881f3061f2dd472","impliedFormat":1},{"version":"928af3d90454bf656a52a48679f199f64c1435247d6189d1caf4c68f2eaf921f","affectsGlobalScope":true,"impliedFormat":1},{"version":"bceb58df66ab8fb00170df20cd813978c5ab84be1d285710c4eb005d8e9d8efb","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"933921f0bb0ec12ef45d1062a1fc0f27635318f4d294e4d99de9a5493e618ca2","impliedFormat":1},{"version":"71a0f3ad612c123b57239a7749770017ecfe6b66411488000aba83e4546fde25","impliedFormat":1},{"version":"77fbe5eecb6fac4b6242bbf6eebfc43e98ce5ccba8fa44e0ef6a95c945ff4d98","impliedFormat":1},{"version":"4f9d8ca0c417b67b69eeb54c7ca1bedd7b56034bb9bfd27c5d4f3bc4692daca7","impliedFormat":1},{"version":"0cb167c371eaa8c869f8a7656a7296f2e4fae43b4d8b803a680236b24794e5f9","impliedFormat":1},{"version":"0a839dba0287cc0481ad4beedd48a1c64acf1e212ae865d1315f7007ca215161","impliedFormat":1},{"version":"38dc4655376cd1a4bd6bb3763d92949233e33d38d3dd3cbea7bbf218175a38ef","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"208a6a0bfb227bdf8fb964799d0a206c75cf03ccd72e63bf5495c9331354c6d6","affectsGlobalScope":true,"impliedFormat":1},{"version":"18fd40412d102c5564136f29735e5d1c3b455b8a37f920da79561f1fde068208","impliedFormat":1},{"version":"48a679952eefe4cb776d5a0e1ccba2d3eb53b57448bbb7abc1fcebcbd5440188","impliedFormat":1},{"version":"f0be1b8078cd549d91f37c30c222c2a187ac1cf981d994fb476a1adc61387b14","affectsGlobalScope":true,"impliedFormat":1},{"version":"0aaed1d72199b01234152f7a60046bc947f1f37d78d182e9ae09c4289e06a592","impliedFormat":1},{"version":"2d14da6ecb49bf828d83948765ec2d3a579d476bbb9645e749610baa6ec880ca","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"5b7aa3c4c1a5d81b411e8cb302b45507fea9358d3569196b27eb1a27ae3a90ef","affectsGlobalScope":true,"impliedFormat":1},{"version":"5987a903da92c7462e0b35704ce7da94d7fdc4b89a984871c0e2b87a8aae9e69","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea08a0345023ade2b47fbff5a76d0d0ed8bff10bc9d22b83f40858a8e941501c","impliedFormat":1},{"version":"0aef708fb4c7a6b915e8305cbfac40cd207b032dbaabe9a01889a5fff3254681","impliedFormat":1},{"version":"ae062ce7d9510060c5d7e7952ae379224fb3f8f2dd74e88959878af2057c143b","impliedFormat":1},{"version":"ad9bdafb4e7abf14cc53ce7970486a84c87831e62891e5dfe798ddcd55e84701","affectsGlobalScope":true,"impliedFormat":1},{"version":"45479f65af737a3e5c26d8772bd8ab1aa8bebbd09c1a808c2b3faddb9b84afbb","impliedFormat":1},{"version":"71d3ae6a5e73ca4130762560425e00984ebaff64d5353a3333d1bb7eb86ef336","impliedFormat":1}],"root":[[79,95]],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"module":199,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"outDir":"./","rootDir":"../../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[81,1],[82,2],[83,1],[84,3],[79,4],[95,5],[85,1],[87,6],[80,7],[94,8],[89,9],[90,10],[86,11],[91,1],[92,12],[88,13],[93,2],[68,14],[67,15],[63,15],[76,16],[64,15],[74,17],[73,18],[78,19],[65,15],[71,16],[75,20],[70,16],[77,16],[72,16],[66,16],[69,16],[62,21],[147,22],[148,22],[149,23],[101,24],[150,25],[151,26],[152,27],[96,21],[99,28],[97,21],[98,21],[153,29],[154,30],[155,31],[156,32],[157,33],[158,34],[159,34],[160,35],[161,36],[162,37],[163,38],[102,21],[100,21],[164,39],[165,40],[166,41],[200,42],[167,43],[168,21],[169,44],[170,45],[171,46],[172,47],[173,48],[174,49],[175,50],[176,51],[177,52],[178,52],[179,53],[180,21],[181,54],[182,55],[184,56],[183,57],[185,58],[186,59],[187,60],[188,61],[189,62],[190,63],[191,64],[192,65],[193,66],[194,67],[195,68],[196,69],[197,70],[103,21],[104,21],[105,21],[143,71],[144,21],[145,21],[146,58],[198,72],[199,73],[60,21],[61,21],[12,21],[11,21],[2,21],[13,21],[14,21],[15,21],[16,21],[17,21],[18,21],[19,21],[20,21],[3,21],[21,21],[22,21],[4,21],[23,21],[27,21],[24,21],[25,21],[26,21],[28,21],[29,21],[30,21],[5,21],[31,21],[32,21],[33,21],[34,21],[6,21],[38,21],[35,21],[36,21],[37,21],[39,21],[7,21],[40,21],[45,21],[46,21],[41,21],[42,21],[43,21],[44,21],[8,21],[50,21],[47,21],[48,21],[49,21],[51,21],[9,21],[52,21],[53,21],[54,21],[56,21],[55,21],[57,21],[58,21],[10,21],[59,21],[1,21],[121,74],[131,75],[120,74],[141,76],[112,77],[111,78],[140,79],[134,80],[139,81],[114,82],[128,83],[113,84],[137,85],[109,86],[108,79],[138,87],[110,88],[115,89],[116,21],[119,89],[106,21],[142,90],[132,91],[123,92],[124,93],[126,94],[122,95],[125,96],[135,79],[117,97],[118,98],[127,99],[107,100],[130,91],[129,89],[133,21],[136,101]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.3"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `/mind` 命令:让人能看见里面到底发生了什么。
|
|
3
|
+
*
|
|
4
|
+
* 一条纪律:**这个命令不改变任何状态**(除了 `reset-archive` 明确要求清档案)。
|
|
5
|
+
*
|
|
6
|
+
* 为什么不能"重置情绪":会话状态**只能由会话日志派生**,没有写入 API
|
|
7
|
+
* (只有 register / stateOf / snapshot / checkpoint / restore / hydrate)。
|
|
8
|
+
* 想让情绪归零,只能改日志——那不是命令该干的事。
|
|
9
|
+
* 所以 `/mind reset` 不装作用,它如实说明为什么,并指向真正能清的东西:档案。
|
|
10
|
+
*/
|
|
11
|
+
import { type MindPersist, type MindState, type MindStats, type MindTunables } from 'dsh-mind-core';
|
|
12
|
+
import type { CommandSpec } from './host.js';
|
|
13
|
+
/** 命令依赖。 */
|
|
14
|
+
export interface CommandDeps {
|
|
15
|
+
tunables(): MindTunables;
|
|
16
|
+
stateOfSession(session: unknown): MindState | undefined;
|
|
17
|
+
/** 当前档案(跨会话部分)。 */
|
|
18
|
+
persist(): MindPersist;
|
|
19
|
+
/** 当前累计统计。 */
|
|
20
|
+
stats(): MindStats;
|
|
21
|
+
/** 清空档案(连人设自我认知与统计一起归零),返回给用户看的结果。 */
|
|
22
|
+
resetArchive(): string;
|
|
23
|
+
/**
|
|
24
|
+
* 清空**记忆三层**(手边 / 本会话日记 / 跨会话库),人设与统计原样保留。
|
|
25
|
+
*
|
|
26
|
+
* 与 `resetArchive` 的分工:那个是"从零开始的自己",这个是"把记得的事忘掉,我还是我"。
|
|
27
|
+
* 划掉的 id 都进遗忘名单,所以正在跑的会话也写不回旧记忆。
|
|
28
|
+
*/
|
|
29
|
+
resetMemory(): string;
|
|
30
|
+
/** 配置与降级自检(如实报告)。 */
|
|
31
|
+
diagnose(): string;
|
|
32
|
+
/** 人设内核文件路径。 */
|
|
33
|
+
personaFile(): string;
|
|
34
|
+
/** 启动以来发生了什么(自己落的日志,headless 下宿主日志看不见)。 */
|
|
35
|
+
logTail(limit: number): string[];
|
|
36
|
+
/**
|
|
37
|
+
* 回滚内核到第 index 份快照之前。
|
|
38
|
+
*
|
|
39
|
+
* 注意它是**档案级**操作:会话状态由日志派生、投影没有写入 API,
|
|
40
|
+
* 所以它只改档案,从下一个会话开始生效。
|
|
41
|
+
*/
|
|
42
|
+
rollbackKernel(index: number): string;
|
|
43
|
+
/**
|
|
44
|
+
* 看它记得什么(长期库)。
|
|
45
|
+
* 这一半存在的理由:记忆最招人烦的地方就是"它凭什么记着这个",
|
|
46
|
+
* 所以每条都要能答出「什么类型 / 重要到什么程度 / 被取回几次 / 什么时候记的 / 为什么记」。
|
|
47
|
+
*/
|
|
48
|
+
remember(query: string): string;
|
|
49
|
+
/**
|
|
50
|
+
* 划掉一条(**宿主侧**动作,直接改档案)。
|
|
51
|
+
*
|
|
52
|
+
* 它和模型自己的 `forget_memory` 工具是两件不同的事:
|
|
53
|
+
* 这个是"我(用户)替它决定忘掉什么",那个是"它自己决定忘掉什么"。
|
|
54
|
+
* 两者都会记进遗忘名单;区别是本会话内那一条会不会立刻消失(工具走日志,能立刻消失)。
|
|
55
|
+
*
|
|
56
|
+
* `layer` 指认在哪一层找(序号来自 `show <层>`);不给层时按"片段在三层里找唯一命中的那条"。
|
|
57
|
+
*/
|
|
58
|
+
forget(target: string, layer: MemoryLayerArg | '' | undefined, state: MindState | undefined): string;
|
|
59
|
+
/**
|
|
60
|
+
* 清某一层(`short` / `session` / `global` / `all`);`''` = 只列各层条数,**不真清**。
|
|
61
|
+
*
|
|
62
|
+
* 与 `resetArchive` 的分工:这个只清"记得的事",那个连"自己是谁、相处了多久"一起归零。
|
|
63
|
+
*/
|
|
64
|
+
clear(layer: MemoryLayerArg | '', state: MindState | undefined): string;
|
|
65
|
+
/** 当前的遗忘名单(`show forgotten` 用):宿主侧 + 档案里的,去重。 */
|
|
66
|
+
forgotten(): string[];
|
|
67
|
+
/** 回收站里等恢复的条目(`show trash` 用;清单已在适配层格式化成中文)。 */
|
|
68
|
+
trashList(): string;
|
|
69
|
+
/** 恢复:`''` = 看清单;`all` = 全恢复;`<序号>`(可带层名改层)。 */
|
|
70
|
+
restore(target: string, layer?: string): string;
|
|
71
|
+
/** 把 id 从遗忘名单里摘掉(划错了能撤回):序号来自 `show forgotten`,也可以给 id 前缀。 */
|
|
72
|
+
unforget(target: string): string;
|
|
73
|
+
/** **真删**(唯一不可逆):`<序号>` 或 `trash`(清空回收站)。 */
|
|
74
|
+
purge(target: string): string;
|
|
75
|
+
/**
|
|
76
|
+
* 有哪些会话记忆、各写了些什么(v2.0)。
|
|
77
|
+
*
|
|
78
|
+
* 这一条是给"跨会话"用的:默认它只读**本会话 + 全局**,别的会话要说得出名字才读得到,
|
|
79
|
+
* 所以得有个地方能先看看有哪些。只读,不改任何文件。
|
|
80
|
+
*/
|
|
81
|
+
sessions(): string;
|
|
82
|
+
}
|
|
83
|
+
/** `/mind show|clear|forget|restore` 认的层名。 */
|
|
84
|
+
export type MemoryLayerArg = 'short' | 'session' | 'global' | 'all' | 'forgotten' | 'trash';
|
|
85
|
+
/**
|
|
86
|
+
* 把用户写的层名翻成内部层名;认不出返回 `''`(调用方给用法)。
|
|
87
|
+
* 中文别名一并认:用户是中文用户,"清手边"比"clear short"顺口。
|
|
88
|
+
*/
|
|
89
|
+
export declare function parseLayer(arg: string): MemoryLayerArg | '';
|
|
90
|
+
/** 造一个 `/mind` 命令。 */
|
|
91
|
+
export declare function mindCommand(deps: CommandDeps): CommandSpec;
|
|
92
|
+
//# sourceMappingURL=commands.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../src/commands.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAML,KAAK,WAAW,EAChB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,YAAY,EAClB,MAAM,eAAe,CAAA;AACtB,OAAO,KAAK,EAAqB,WAAW,EAAE,MAAM,WAAW,CAAA;AAG/D,YAAY;AACZ,MAAM,WAAW,WAAW;IAC1B,QAAQ,IAAI,YAAY,CAAA;IACxB,cAAc,CAAC,OAAO,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS,CAAA;IACvD,mBAAmB;IACnB,OAAO,IAAI,WAAW,CAAA;IACtB,cAAc;IACd,KAAK,IAAI,SAAS,CAAA;IAClB,sCAAsC;IACtC,YAAY,IAAI,MAAM,CAAA;IACtB;;;;;OAKG;IACH,WAAW,IAAI,MAAM,CAAA;IACrB,qBAAqB;IACrB,QAAQ,IAAI,MAAM,CAAA;IAClB,gBAAgB;IAChB,WAAW,IAAI,MAAM,CAAA;IACrB,2CAA2C;IAC3C,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAChC;;;;;OAKG;IACH,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;IACrC;;;;OAIG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;IAC/B;;;;;;;;OAQG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,GAAG,EAAE,GAAG,SAAS,EAAE,KAAK,EAAE,SAAS,GAAG,SAAS,GAAG,MAAM,CAAA;IACpG;;;;OAIG;IACH,KAAK,CAAC,KAAK,EAAE,cAAc,GAAG,EAAE,EAAE,KAAK,EAAE,SAAS,GAAG,SAAS,GAAG,MAAM,CAAA;IACvE,iDAAiD;IACjD,SAAS,IAAI,MAAM,EAAE,CAAA;IACrB,gDAAgD;IAChD,SAAS,IAAI,MAAM,CAAA;IACnB,gDAAgD;IAChD,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC/C,8DAA8D;IAC9D,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAA;IAChC,6CAA6C;IAC7C,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAA;IAC7B;;;;;OAKG;IACH,QAAQ,IAAI,MAAM,CAAA;CACnB;AAuBD,8CAA8C;AAC9C,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,KAAK,GAAG,WAAW,GAAG,OAAO,CAAA;AAE3F;;;GAGG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,cAAc,GAAG,EAAE,CAS3D;AAwFD,sBAAsB;AACtB,wBAAgB,WAAW,CAAC,IAAI,EAAE,WAAW,GAAG,WAAW,CAmK1D"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 插件配置:接到 DSH 的设置表单上,再翻译成内核参数。
|
|
3
|
+
*
|
|
4
|
+
* ## 为什么不能"拿不到 schemastery 就算了"
|
|
5
|
+
*
|
|
6
|
+
* feiyu-memory 实测(社区报告 + 自己的铁证):**`Config` 导出 undefined 时,DSH 会传一份空模板**
|
|
7
|
+
* (每个字段都是 `{}`),于是所有回落默认,**用户改的任何配置都不生效**。
|
|
8
|
+
* 证据是 `cordis.patch.yml` 里显式写 `config: { debugLog: true }`,传进来还是 `{}`。
|
|
9
|
+
*
|
|
10
|
+
* 所以这里兜一个**纯 JS 的形状等价物**:loader 只用到 `Config(dict)` 与 `Config.toString()/.dict`,
|
|
11
|
+
* 手写一个最小的即可。
|
|
12
|
+
*
|
|
13
|
+
* ## 另一个坑
|
|
14
|
+
*
|
|
15
|
+
* `@deepseek-ai/schemastery` 是宿主自带的包,插件里不一定解析得到;静态 import 失败会让
|
|
16
|
+
* **整个插件加载失败**。所以走 `resolveModule` 多基准试探 + 降级。
|
|
17
|
+
*/
|
|
18
|
+
import { type MindTunables } from 'dsh-mind-core';
|
|
19
|
+
import { type LoggerLike } from './host.js';
|
|
20
|
+
/** 一个配置字段的形状(降级 schema 与翻译都要用它)。 */
|
|
21
|
+
interface ConfigField {
|
|
22
|
+
key: string;
|
|
23
|
+
kind: 'boolean' | 'number' | 'string';
|
|
24
|
+
fallback: boolean | number | string;
|
|
25
|
+
description: string;
|
|
26
|
+
/**
|
|
27
|
+
* 设置页上显示的短名(中文)。
|
|
28
|
+
*
|
|
29
|
+
* 为什么要单独有一栏:`key` 是给代码看的(`baselineValence`),
|
|
30
|
+
* `description` 是完整解释(一句话,适合放控件下面),而设置页左侧那一列需要一个**扫一眼就懂**的名字。
|
|
31
|
+
* 三样东西是三种用途,不能互相顶替——把 `key` 直接当名字摆出来,用户看的就是一列英文驼峰。
|
|
32
|
+
*/
|
|
33
|
+
label: string;
|
|
34
|
+
min?: number;
|
|
35
|
+
max?: number;
|
|
36
|
+
/**
|
|
37
|
+
* 进不进**设置页**(默认进)。
|
|
38
|
+
*
|
|
39
|
+
* 为什么要有这一栏:有些项是内核参数,不是给用户拧的旋钮——比如短期记忆条数
|
|
40
|
+
* (该由对话内容自己决定)、BM25 权重、路径。把它们摆在设置页上,等于暗示"调大就能多记",
|
|
41
|
+
* 那种误导比少一个开关更贵。
|
|
42
|
+
*
|
|
43
|
+
* 注意它**只影响设置页**:字段仍在 `Config` 里,配置文件(`cordis.patch.yml`)照旧能写。
|
|
44
|
+
*/
|
|
45
|
+
exposed?: boolean;
|
|
46
|
+
}
|
|
47
|
+
/** 配置项全集。想加一项就加在这里,别处不用改。 */
|
|
48
|
+
export declare const CONFIG_FIELDS: readonly ConfigField[];
|
|
49
|
+
/**
|
|
50
|
+
* 设置页的分组。
|
|
51
|
+
*
|
|
52
|
+
* 分组是**给人看的次序**,不是内核概念:内核那 29 项按"开关 → 情绪 → 决策 → 主动 → 变化 → 记忆 → 信号 → 杂项"
|
|
53
|
+
* 排,用户才能顺着"先想它像不像个人,再想它记不记得住"读下来。
|
|
54
|
+
* `configCatalog()` 会校验"每个字段恰好归一组",漏一个或重一个都有测试盯着。
|
|
55
|
+
*/
|
|
56
|
+
export interface ConfigGroup {
|
|
57
|
+
id: string;
|
|
58
|
+
title: string;
|
|
59
|
+
note: string;
|
|
60
|
+
keys: readonly string[];
|
|
61
|
+
}
|
|
62
|
+
export declare const CONFIG_GROUPS: readonly ConfigGroup[];
|
|
63
|
+
/** 设置页要用的字段元数据(可 JSON 化,直接随路由发给客户端)。 */
|
|
64
|
+
export interface CatalogField {
|
|
65
|
+
key: string;
|
|
66
|
+
label: string;
|
|
67
|
+
kind: 'boolean' | 'number' | 'string';
|
|
68
|
+
fallback: boolean | number | string;
|
|
69
|
+
description: string;
|
|
70
|
+
group: string;
|
|
71
|
+
min?: number;
|
|
72
|
+
max?: number;
|
|
73
|
+
}
|
|
74
|
+
export interface CatalogGroup {
|
|
75
|
+
id: string;
|
|
76
|
+
title: string;
|
|
77
|
+
note: string;
|
|
78
|
+
keys: readonly string[];
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* 字段表的**可传输**形态:客户端的设置页就是照它画的。
|
|
82
|
+
*
|
|
83
|
+
* 为什么让宿主把字段清单发下去、而不是客户端各写一份:
|
|
84
|
+
* 两端各写一份,改一个配置项就得记得改两处,迟早对不上(那时界面显示的说明就是假话)。
|
|
85
|
+
* 这里只有一处真相(`CONFIG_FIELDS` + `CONFIG_GROUPS`),客户端只管画。
|
|
86
|
+
*/
|
|
87
|
+
export declare function configCatalog(): {
|
|
88
|
+
fields: CatalogField[];
|
|
89
|
+
groups: CatalogGroup[];
|
|
90
|
+
};
|
|
91
|
+
/** 有没有用上真的 schemastery(诊断输出要如实报告)。 */
|
|
92
|
+
export declare const hasSchemastery: boolean;
|
|
93
|
+
/** 插件配置 schema。拿不到 schemastery 就是手写形状等价物。 */
|
|
94
|
+
export declare const Config: unknown;
|
|
95
|
+
/** 传入的配置(可能是任意形状:patch 里的、空模板的、甚至 undefined)。 */
|
|
96
|
+
export type MindConfig = Record<string, unknown> | undefined;
|
|
97
|
+
/** 读一个布尔开关。 */
|
|
98
|
+
export declare function flag(raw: MindConfig, key: string): boolean;
|
|
99
|
+
/** 读一个数字项。 */
|
|
100
|
+
export declare function num(raw: MindConfig, key: string): number;
|
|
101
|
+
/** 读一个字符串项。 */
|
|
102
|
+
export declare function str(raw: MindConfig, key: string): string;
|
|
103
|
+
/**
|
|
104
|
+
* 配置 → 内核参数。
|
|
105
|
+
*
|
|
106
|
+
* 只有"用户真的可能想调"的量会覆盖默认值,剩下的沿用 core 的默认(core 才是权威)。
|
|
107
|
+
*/
|
|
108
|
+
export declare function toTunables(raw: MindConfig): MindTunables;
|
|
109
|
+
/**
|
|
110
|
+
* 配置自检:给 `/mind config` 与启动日志用的一句话。
|
|
111
|
+
*
|
|
112
|
+
* 降级条数是**数出来的**,不是写死的——写死"有两处"会在条数变化时变成假话。
|
|
113
|
+
*/
|
|
114
|
+
export declare function describeConfig(raw: MindConfig, logger?: LoggerLike): string;
|
|
115
|
+
export {};
|
|
116
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAgB,KAAK,YAAY,EAAE,MAAM,eAAe,CAAA;AAC/D,OAAO,EAAiB,KAAK,UAAU,EAAE,MAAM,WAAW,CAAA;AAE1D,oCAAoC;AACpC,UAAU,WAAW;IACnB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAA;IACrC,QAAQ,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAA;IACnC,WAAW,EAAE,MAAM,CAAA;IACnB;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,6BAA6B;AAC7B,eAAO,MAAM,aAAa,EAAE,SAAS,WAAW,EA+B/C,CAAA;AAED;;;;;;GAMG;AACH,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,SAAS,MAAM,EAAE,CAAA;CACxB;AAED,eAAO,MAAM,aAAa,EAAE,SAAS,WAAW,EAiD/C,CAAA;AAED,wCAAwC;AACxC,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAA;IACrC,QAAQ,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAA;IACnC,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,SAAS,MAAM,EAAE,CAAA;CACxB;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,IAAI;IAAE,MAAM,EAAE,YAAY,EAAE,CAAC;IAAC,MAAM,EAAE,YAAY,EAAE,CAAA;CAAE,CA8BlF;AA0GD,sCAAsC;AACtC,eAAO,MAAM,cAAc,SAAsE,CAAA;AAEjG,6CAA6C;AAC7C,eAAO,MAAM,MAAM,SAkCf,CAAA;AAEJ,iDAAiD;AACjD,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAA;AAc5D,eAAe;AACf,wBAAgB,IAAI,CAAC,GAAG,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAG1D;AAED,cAAc;AACd,wBAAgB,GAAG,CAAC,GAAG,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAGxD;AAED,eAAe;AACf,wBAAgB,GAAG,CAAC,GAAG,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAGxD;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,UAAU,GAAG,YAAY,CAsBxD;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,UAAU,EAAE,MAAM,CAAC,EAAE,UAAU,GAAG,MAAM,CAW3E"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 把内核的"决策倾向"翻译成**这一轮真实的 LLM 参数**。
|
|
3
|
+
*
|
|
4
|
+
* ## 契约(用 `cordis_inspect_query(host, Event, listEvents, {event:'agent/request'})` 取到的原文)
|
|
5
|
+
*
|
|
6
|
+
* ```
|
|
7
|
+
* 'agent/request'(this: Scoped<Agent>, payload: { agent, turn, step, signal },
|
|
8
|
+
* next: () => Promise<LlmCallConfig>): Promise<LlmCallConfig>
|
|
9
|
+
* mode: waterfall
|
|
10
|
+
* ```
|
|
11
|
+
*
|
|
12
|
+
* 官方描述里有一句是决定性的:**"Model-visible content must use logged channels;
|
|
13
|
+
* this waterfall cannot mutate messages."** —— 所以这里**只改参数、绝不塞消息**
|
|
14
|
+
* (注入走 `systemPrompt` 与工具,那两条才是"记录在案"的通道)。
|
|
15
|
+
*
|
|
16
|
+
* ## 三条纪律
|
|
17
|
+
*
|
|
18
|
+
* 1. **只碰 `temperature` 与 `reasoningEffort`**:`provider` / `model` / `maxTokens` / `stop`
|
|
19
|
+
* 不是这一层的事,改了就是越权;
|
|
20
|
+
* 2. **永远有界**:温度偏移不超过 `temperatureTilt`,结果夹在 0.05..0.95;
|
|
21
|
+
* 3. **绝不吞掉上游异常、也绝不让自己的错毁掉回合**:
|
|
22
|
+
* 这条路径在每一步的准入上被 `await`。`next()` 的错照旧抛出;我自己算错了就原样返回配置。
|
|
23
|
+
*/
|
|
24
|
+
import { decisionSignal, type MindState, type MindTunables } from 'dsh-mind-core';
|
|
25
|
+
import { type Disposable, type MindContext } from './host.js';
|
|
26
|
+
/** `LlmCallConfig`(只声明我用到的那几个字段;这是宿主给的对象,我不构造它)。 */
|
|
27
|
+
export interface LlmCallConfig {
|
|
28
|
+
provider: string;
|
|
29
|
+
model: string;
|
|
30
|
+
reasoningEffort?: string;
|
|
31
|
+
temperature?: number;
|
|
32
|
+
maxTokens?: number;
|
|
33
|
+
stop?: string[];
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* 纯函数:把倾向落到参数上。抽出来是为了能单测——**这一层错了很难在真机上定向**。
|
|
37
|
+
*
|
|
38
|
+
* 返回**同一个引用**表示"不干预"(调用方据此不写日志)。
|
|
39
|
+
*/
|
|
40
|
+
export declare function applyDecision(config: LlmCallConfig, signal: ReturnType<typeof decisionSignal>, temperatureTilt: number): LlmCallConfig;
|
|
41
|
+
/** 决策通道的依赖。 */
|
|
42
|
+
export interface DecideDeps {
|
|
43
|
+
tunables(): MindTunables;
|
|
44
|
+
stateOfSession(session: unknown): MindState | undefined;
|
|
45
|
+
/** 关掉之后完全不动参数(默认开)。 */
|
|
46
|
+
enabled(): boolean;
|
|
47
|
+
/** 情绪最多能把温度推多远(温度单位)——这一层唯一允许的幅度。 */
|
|
48
|
+
temperatureTilt(): number;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* 注册决策通道(**按 agent**:这个事件是 scope-filtered,agent 作用域的监听只收自己的请求)。
|
|
52
|
+
*
|
|
53
|
+
* 为什么按 agent 注册而不是挂在根上:`payload.agent` 声明的只有 `{id}`,
|
|
54
|
+
* 拿不到会话对象;而我在 `agent/created` 里能拿到真 agent,闭包抓住它的会话最稳。
|
|
55
|
+
*/
|
|
56
|
+
export declare function registerDecision(agentCtx: MindContext, session: unknown, deps: DecideDeps): Disposable;
|
|
57
|
+
//# sourceMappingURL=decide.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decide.d.ts","sourceRoot":"","sources":["../../src/decide.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,EAAE,cAAc,EAAE,KAAK,SAAS,EAAE,KAAK,YAAY,EAAE,MAAM,eAAe,CAAA;AACjF,OAAO,EAAQ,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,MAAM,WAAW,CAAA;AAGnE,oDAAoD;AACpD,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;CAChB;AASD;;;;GAIG;AACH,wBAAgB,aAAa,CAC3B,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,EACzC,eAAe,EAAE,MAAM,GACtB,aAAa,CAuBf;AAED,eAAe;AACf,MAAM,WAAW,UAAU;IACzB,QAAQ,IAAI,YAAY,CAAA;IACxB,cAAc,CAAC,OAAO,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS,CAAA;IACvD,uBAAuB;IACvB,OAAO,IAAI,OAAO,CAAA;IAClB,qCAAqC;IACrC,eAAe,IAAI,MAAM,CAAA;CAC1B;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,UAAU,GAAG,UAAU,CAwCtG"}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { type MemoryEntry } from 'dsh-mind-core';
|
|
2
|
+
/** 三种记忆的归属层。与会话/工作区无关的规矩是 `global`。 */
|
|
3
|
+
export declare const SCOPES: readonly ["global", "workspace", "session"];
|
|
4
|
+
export type StoredScope = (typeof SCOPES)[number];
|
|
5
|
+
/**
|
|
6
|
+
* 磁盘上的一条记忆。
|
|
7
|
+
*
|
|
8
|
+
* 与 core 的 `MemoryEntry` 的差别只有三处,都是"落地才需要"的:
|
|
9
|
+
* - `scope`:它属于哪一层(core 里由三份状态分开承载,文件里必须自带这个字段);
|
|
10
|
+
* - `where`:工作区记忆的出处(人看的一行字,不参与检索);
|
|
11
|
+
* - `legacy`:老档案(v1 之前记的),如实标"当年没记归属",不替历史编。
|
|
12
|
+
*/
|
|
13
|
+
export interface StoredEntry {
|
|
14
|
+
id: string;
|
|
15
|
+
kind: MemoryEntry['kind'];
|
|
16
|
+
text: string;
|
|
17
|
+
importance: number;
|
|
18
|
+
hits: number;
|
|
19
|
+
createdAt: number;
|
|
20
|
+
lastAt: number;
|
|
21
|
+
/** 为什么记它。core 里是必填("为什么"是记忆的一部分),文件里也当必填:缺了读成空串。 */
|
|
22
|
+
because: string;
|
|
23
|
+
origin: 'self' | 'heard' | 'digest';
|
|
24
|
+
scope: StoredScope;
|
|
25
|
+
ws?: string;
|
|
26
|
+
sessionId?: string;
|
|
27
|
+
seq?: number;
|
|
28
|
+
where?: string;
|
|
29
|
+
legacy?: boolean;
|
|
30
|
+
}
|
|
31
|
+
/** 现在写盘的是第 3 版形状(快照行)。 */
|
|
32
|
+
export declare const STORE_VERSION = 3;
|
|
33
|
+
/**
|
|
34
|
+
* 每个记忆文件最多留几份快照。超了就把最老的裁掉再整份重写(静默裁,不额外记一行)。
|
|
35
|
+
*
|
|
36
|
+
* v2.4.x 从 20 提到 50:快照文件是"假删"的**第二层**保证(第一层是回收站),
|
|
37
|
+
* 而 20 行在真机上很容易被写满——满了以后一次清空就把旧内容挤出窗口(实测过)。
|
|
38
|
+
* 代价是文件更大:一份快照是全量条目,50 行 ≈ 50 份历史。
|
|
39
|
+
*/
|
|
40
|
+
export declare const SNAPSHOT_KEEP = 50;
|
|
41
|
+
/** 一份快照为什么被写下。 */
|
|
42
|
+
export declare const SNAPSHOT_REASONS: readonly ["steps", "compaction", "final", "manual", "migrate"];
|
|
43
|
+
export type SnapshotReason = (typeof SNAPSHOT_REASONS)[number];
|
|
44
|
+
/**
|
|
45
|
+
* 一份记忆快照:`.jsonl.zst` 里的**一行**。
|
|
46
|
+
*
|
|
47
|
+
* `entries` 是这一层**当时**的全部条目(全量,不是增量)。
|
|
48
|
+
* `seq` 写"这一行覆盖到会话日志的第几个事件",只有会话层知道时才带上。
|
|
49
|
+
*/
|
|
50
|
+
export interface StoredSnapshot {
|
|
51
|
+
version: 3;
|
|
52
|
+
scope: StoredScope;
|
|
53
|
+
/** 这个文件属于谁:global 无、workspace 是工作区键、session 是会话 id。 */
|
|
54
|
+
owner?: string;
|
|
55
|
+
at: number;
|
|
56
|
+
seq?: number;
|
|
57
|
+
reason: SnapshotReason;
|
|
58
|
+
entries: StoredEntry[];
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* **上一代(v2)**的文件形状:一个 `.json` 装一份全量条目。
|
|
62
|
+
*
|
|
63
|
+
* v3 不再写它,但 `archive/` 里躺着这种文件,迁移要读得回来,所以形状留在这一层。
|
|
64
|
+
*/
|
|
65
|
+
export interface StoredFile {
|
|
66
|
+
version: 2;
|
|
67
|
+
scope: StoredScope;
|
|
68
|
+
owner?: string;
|
|
69
|
+
updatedAt: number;
|
|
70
|
+
entries: StoredEntry[];
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* 把一条磁盘记录读成 `StoredEntry`。
|
|
74
|
+
*
|
|
75
|
+
* 规矩:**id 与 text 缺一不可,kind 必须是那四个之一**,其余字段能用就用、不能用就退回合理默认值;
|
|
76
|
+
* 读不懂的(没有正文、种类不认识)返回 `null` 让调用方丢掉并报数——
|
|
77
|
+
* 一条正文缺失的记忆留着也没有意义,胡乱补一个 kind 等于编造。
|
|
78
|
+
*/
|
|
79
|
+
export declare function parseStoredEntry(raw: unknown, scope: StoredScope, owner?: string): StoredEntry | null;
|
|
80
|
+
/**
|
|
81
|
+
* 读一行快照。
|
|
82
|
+
*
|
|
83
|
+
* 丢掉的分两种,都只报数不抛:**坏行**(不是 JSON / 没有 entries 数组)算 1,
|
|
84
|
+
* 行里**读不懂的条目**按条算。行本身能读、只是有几条坏了时,其余条目照旧能用——
|
|
85
|
+
* "能读多少读多少"是底线。
|
|
86
|
+
*/
|
|
87
|
+
export declare function parseSnapshotLine(raw: string, scope: StoredScope, owner?: string): {
|
|
88
|
+
snapshot: StoredSnapshot | null;
|
|
89
|
+
dropped: number;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* 把条目包成一份快照(准备写成一行)。
|
|
93
|
+
*
|
|
94
|
+
* `seq` 缺省时取条目里最大的那个:那就是"这份快照覆盖到会话日志的第几个事件",
|
|
95
|
+
* 不必让每个调用点自己再算一遍。
|
|
96
|
+
*/
|
|
97
|
+
export declare function wrapSnapshot(scope: StoredScope, entries: StoredEntry[], now: number, opts: {
|
|
98
|
+
reason: SnapshotReason;
|
|
99
|
+
owner?: string;
|
|
100
|
+
seq?: number;
|
|
101
|
+
}): StoredSnapshot;
|
|
102
|
+
/** 读一份**老布局**(v2 的 `.json`)的内容:容忍"只有数组"的写法,返回条目与丢掉的数量。 */
|
|
103
|
+
export declare function parseStoredFile(raw: unknown, scope: StoredScope, owner?: string): {
|
|
104
|
+
entries: StoredEntry[];
|
|
105
|
+
dropped: number;
|
|
106
|
+
};
|
|
107
|
+
/** 给一条目写一行摘要(简介里用):`[约定] 这个项目用 pnpm(重要度 0.85|取回 2 次|2026-11-06)`。 */
|
|
108
|
+
export declare function entryLine(entry: StoredEntry): string;
|
|
109
|
+
/**
|
|
110
|
+
* 全局记忆简介。
|
|
111
|
+
*
|
|
112
|
+
* 目的很具体:让人(和它自己)**不用翻 JSON 就知道这份记忆里有什么**,
|
|
113
|
+
* 所以先给"有什么种类的多少条",再按种类列出全部条目——全局记忆本来就不该很大。
|
|
114
|
+
*/
|
|
115
|
+
export declare function renderGlobalSummary(entries: StoredEntry[], now: number): string;
|
|
116
|
+
/**
|
|
117
|
+
* 会话记忆简介。
|
|
118
|
+
*
|
|
119
|
+
* 会话记忆是日记式的,但**可修订**(每次写入一整份快照,旧条目该改就改、该删就删),
|
|
120
|
+
* 所以这里渲染的就是"当前这一份日记长什么样",按**天**分段:
|
|
121
|
+
* 先给"这份记忆覆盖了哪一段时间、一共几条",再一天一段列出当天记下的事。
|
|
122
|
+
*/
|
|
123
|
+
export declare function renderSessionSummary(entries: StoredEntry[], now: number, sessionId?: string): string;
|
|
124
|
+
//# sourceMappingURL=entries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entries.d.ts","sourceRoot":"","sources":["../../src/entries.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAc,KAAK,WAAW,EAAE,MAAM,eAAe,CAAA;AAE5D,uCAAuC;AACvC,eAAO,MAAM,MAAM,6CAA8C,CAAA;AACjE,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,CAAC,CAAA;AAEjD;;;;;;;GAOG;AACH,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,oDAAoD;IACpD,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAA;IACnC,KAAK,EAAE,WAAW,CAAA;IAClB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,0BAA0B;AAC1B,eAAO,MAAM,aAAa,IAAI,CAAA;AAE9B;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,KAAK,CAAA;AAE/B,kBAAkB;AAClB,eAAO,MAAM,gBAAgB,gEAAiE,CAAA;AAC9F,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAA;AAE9D;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,CAAC,CAAA;IACV,KAAK,EAAE,WAAW,CAAA;IAClB,uDAAuD;IACvD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,cAAc,CAAA;IACtB,OAAO,EAAE,WAAW,EAAE,CAAA;CACvB;AAED;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,CAAC,CAAA;IACV,KAAK,EAAE,WAAW,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,WAAW,EAAE,CAAA;CACvB;AAyBD;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,IAAI,CAqCrG;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,WAAW,EAClB,KAAK,CAAC,EAAE,MAAM,GACb;IAAE,QAAQ,EAAE,cAAc,GAAG,IAAI,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CA8BtD;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,WAAW,EAClB,OAAO,EAAE,WAAW,EAAE,EACtB,GAAG,EAAE,MAAM,EACX,IAAI,EAAE;IAAE,MAAM,EAAE,cAAc,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAC7D,cAAc,CAMhB;AAED,0DAA0D;AAC1D,wBAAgB,eAAe,CAAC,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG;IAAE,OAAO,EAAE,WAAW,EAAE,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAiB7H;AAUD,qEAAqE;AACrE,wBAAgB,SAAS,CAAC,KAAK,EAAE,WAAW,GAAG,MAAM,CAMpD;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,WAAW,EAAE,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CA2B/E;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,WAAW,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CA+BpG"}
|