@dream_engine/computer 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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 CodingWithBashir
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -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.dom.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.iterable.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","../../core/dist/errors.d.ts","../../core/dist/events.d.ts","../../core/dist/logger.d.ts","../../core/dist/redact.d.ts","../../core/dist/url.d.ts","../../core/dist/async.d.ts","../../core/dist/text.d.ts","../../core/dist/ids.d.ts","../../core/dist/schema.d.ts","../../core/dist/config.d.ts","../../core/dist/index.d.ts","../../agent/dist/tools.d.ts","../../agent/dist/mcp.d.ts","../../agent/dist/local-model.d.ts","../../agent/dist/engine.d.ts","../../agent/dist/providers.d.ts","../../agent/dist/collaboration.d.ts","../../agent/dist/orchestrator.d.ts","../../agent/dist/index.d.ts","../src/permission.ts","../src/security-review.ts","../../security/dist/ip.d.ts","../../security/dist/network-policy.d.ts","../../security/dist/egress-proxy.d.ts","../../security/dist/paths.d.ts","../../security/dist/approval.d.ts","../../security/dist/policy.d.ts","../../security/dist/untrusted.d.ts","../../security/dist/index.d.ts","../src/filesystem.ts","../src/terminal.ts","../src/computer-agent.ts","../src/desktop-assessment.ts","../src/index.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/web-globals/domexception.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/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.7/node_modules/@types/node/web-globals/fetch.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/web-globals/navigator.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/web-globals/storage.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/web-globals/streams.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/inspector.generated.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/sqlite.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/index.d.ts"],"fileIdsList":[[103,149,150,152,169,170],[103,151,152,169,170],[152,169,170],[103,152,157,169,170,187],[103,152,153,158,163,169,170,172,184,195],[103,152,153,154,163,169,170,172],[103,152,169,170],[98,99,100,103,152,169,170],[103,152,155,169,170,196],[103,152,156,157,164,169,170,173],[103,152,157,169,170,184,192],[103,152,158,160,163,169,170,172],[103,151,152,159,169,170],[103,152,160,161,169,170],[103,152,162,163,169,170],[103,151,152,163,169,170],[103,152,163,164,165,169,170,184,195],[103,152,163,164,165,169,170,179,184,187],[103,144,152,160,163,166,169,170,172,184,195],[103,152,163,164,166,167,169,170,172,184,192,195],[103,152,166,168,169,170,184,192,195],[101,102,103,104,105,106,107,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,200,201],[103,152,163,169,170],[103,152,169,170,171,195],[103,152,160,163,169,170,172,184],[103,152,169,170,173],[103,152,169,170,174],[103,151,152,169,170,175],[103,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,200,201],[103,152,169,170,177],[103,152,169,170,178],[103,152,163,169,170,179,180],[103,152,169,170,179,181,196,198],[103,152,164,169,170],[103,152,163,169,170,184,185,187],[103,152,169,170,186,187],[103,152,169,170,184,185],[103,152,169,170,187],[103,152,169,170,188],[103,149,152,169,170,184,189,195],[103,152,163,169,170,190,191],[103,152,169,170,190,191],[103,152,157,169,170,172,184,192],[103,152,169,170,193],[103,152,169,170,172,194],[103,152,166,169,170,178,195],[103,152,157,169,170,196],[103,152,169,170,184,197],[103,152,169,170,171,198],[103,152,169,170,199],[103,144,152,169,170],[103,144,152,163,165,169,170,175,184,187,195,197,198,200],[103,152,169,170,184,201],[103,116,120,152,169,170,195],[103,116,152,169,170,184,195],[103,111,152,169,170],[103,113,116,152,169,170,192,195],[103,152,169,170,172,192],[103,152,169,170,202],[103,111,152,169,170,202],[103,113,116,152,169,170,172,195],[103,108,109,112,115,152,163,169,170,184,195],[103,116,123,152,169,170],[103,108,114,152,169,170],[103,116,137,138,152,169,170],[103,112,116,152,169,170,187,195,202],[103,137,152,169,170,202],[103,110,111,152,169,170,202],[103,116,152,169,170],[103,110,111,112,113,114,115,116,117,118,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,138,139,140,141,142,143,152,169,170],[103,116,131,152,169,170],[103,116,123,124,152,169,170],[103,114,116,124,125,152,169,170],[103,115,152,169,170],[103,108,111,116,152,169,170],[103,116,120,124,125,152,169,170],[103,120,152,169,170],[103,114,116,119,152,169,170,195],[103,108,113,116,123,152,169,170],[103,152,169,170,184],[103,111,116,137,152,169,170,200,202],[75,78,79,103,152,169,170],[74,75,77,103,152,169,170],[75,76,77,78,79,80,81,103,152,169,170],[74,103,152,169,170],[75,103,152,169,170,184],[75,77,103,152,169,170],[74,82,83,84,93,94,103,152,169,170],[74,103,152,153,169,170,196],[74,82,83,92,103,152,164,169,170,174],[83,84,93,94,95,96,103,152,169,170],[74,103,152,169,170,174],[74,83,103,152,169,170,174],[74,82,83,103,152,153,169,170],[64,103,152,169,170],[72,103,152,169,170],[64,65,66,67,68,69,70,71,72,73,103,152,169,170],[74,86,103,152,169,170],[74,85,86,87,88,89,90,91,103,152,169,170],[85,103,152,160,169,170,172],[89,103,152,169,170]],"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":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"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":"2cd394618cdb4d16e0edc972f2ea83ecdd4f3a3f87807eb787d4659bc0b3ce50","impliedFormat":99},{"version":"7c36b560a10efd5a07449c959ef482b06c82a1b940f86bd9017303a02959a84f","impliedFormat":99},{"version":"ab85dd6c839ffaf796c6d1eb9d005c7b6e19a1c9dd6194ac9e28899f09400f59","impliedFormat":99},{"version":"1709904caba5a0995e696d79b0a397ac008a5b94839fa220657dedcfef725219","impliedFormat":99},{"version":"dca02cdbfea21cc04242e29c1ffe6585346b995a36f85f36284110ca3a8692dd","impliedFormat":99},{"version":"99fa96241066465ffcb013cf5d4f7cf2506d901cad368f75169254d384885498","impliedFormat":99},{"version":"2982305a090c8721d65e3a6ac76e18d8ecc508d570c2f404d734e72171b4fe6e","impliedFormat":99},{"version":"4ce051f4e765562370d3eea0511d8f169f66648a2032fb1f006ea5367401646b","impliedFormat":99},{"version":"62f4e7012819e61f5bf8f0da46576876cc04a2ab3adb5c39de55f0e217123b81","impliedFormat":99},{"version":"0fe8f6548895a15bc3e43972c1b4f6b3bbc6e42c88ff737bae4c5ccf529dde77","impliedFormat":99},{"version":"1d14b2d995a2eb2cbbba52bd719b67a59599967dcee4157b7ef374133ae03569","impliedFormat":99},{"version":"e7f45a4319c9505657bf8b69b7d4b7001a3c78566ee6e3ff707ea014d7c1a7a3","impliedFormat":99},{"version":"2c9be497bea44a9e2c3ee8a113fe1fce11b3bcf0446ced4c5ea456176acd9153","impliedFormat":99},{"version":"9060bdd337326cb571600dbe4c79096b3d1accde2c563d834c50f19cf9de823e","impliedFormat":99},{"version":"b1233b5a732091c32efe5a27e62fb6be98b36fe58c654e762402ac063804fb3b","impliedFormat":99},{"version":"cdcc625d0d8841102cc55313de3a4f9f3d726182a20dc0ebec3d25b81e04133f","impliedFormat":99},{"version":"be01603459b51d10bbc4d0fa16c10a158001aa9dcf070f3324f482d036d37446","impliedFormat":99},{"version":"d67699a24a779c1646bfcdb28fc933a206cf410261d9491cf592c15417d49129","impliedFormat":99},{"version":"ae4838fd5ebb295efb470ff8eb3ff3a49a10f78d76029d82f1a747379f24d657","impliedFormat":99},{"version":"7455f00c67ec8ebba5e7d39b9ec0172dd797a5da6fbf163680c67d2c494531a6","signature":"b15912d363e363da5798ab7f83996bbc431aad5e40f64900f78a5f4703ddd995","impliedFormat":99},{"version":"cbcc4574cf1531835edb71012fbbc22c7f4872c89fcab9eb73bd2777eb10c819","signature":"b9fccae0c773ca0a2eaa8e6f2a396ab61c5fcefb3eae824be2b6d8bffa4d1ab5","impliedFormat":99},{"version":"0711a809cf50d59de22c63154d14ae54ae8053676f4ace9a151a6814b4e0ad92","impliedFormat":99},{"version":"44dbbe345fe95aa57c304ec4c1c3cd36d93b848cafa2bc15736a629ff9684168","impliedFormat":99},{"version":"8ba46e8cdfb1388ce177c779a8f83f7aedcaf7888591ac73b8e687d4b71d38f7","impliedFormat":99},{"version":"32fba5574f1bf3f37c79a9b97b90dc783fa37fe46cbde05c75901805f1ea51bf","impliedFormat":99},{"version":"83313d241f6a96a1e286afc5862534a0fd34e3cde613d53c1daeb27576953a8b","impliedFormat":99},{"version":"1a654b2907a2e15861a024b422473c93cc5a10b8992311d8cdaade1da2257bab","impliedFormat":99},{"version":"f90285e43543001cbfee97611c0db3c99522ea61d67e80859b74eef2ec877fd1","impliedFormat":99},{"version":"f58a7638682f1d86e1adbbb10e8b11863c7a0d792e3c5456bef109deb21a7efb","impliedFormat":99},{"version":"b353204cd7b91e4fdc84f486f06331179b3a14850d46547088a07386350106d5","signature":"17874abba2e5624eefd587ab9d083c36abec42d3e65efbd5cefa83f8d050bfa3","impliedFormat":99},{"version":"10263ceb7b1f5463a2d1c4778ca6ee98e4a1e01a3ece9eb17115a0eb5b38057f","signature":"288e3fe6c62a1554c3dbf139fad22c25425658769bb7b031478924eb2b1c0797","impliedFormat":99},{"version":"b8452225db32ed2506b82d32338aa9c3b89a329a4745d4608f36b6ffb598e904","signature":"0b51e4dd3cde32d6db1aa4e7f44d34c45e754c90f24b4202cd0c163b62811d37","impliedFormat":99},{"version":"a709eada9a7e0acdcb8aaf8874c1fd43c5777c70fa5cad4afb4f48001916a48f","signature":"7b909845bfe01cf3a70f8b237a94543df5af07ee4ce61b32aa843c05e0ac70ea","impliedFormat":99},{"version":"d4d61dba796b00bf05f94f77bebb667e7c27ce6fca43d8dc68ff72e781339f6d","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":"e7fcccb7463007c1a6e877709650c26cd297ef1b2679d0173157ee874bf16517","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":"33f03c0429f2c638069fc1186e2eccd96370c91fb9d8d7a69c5241bb31fc3d46","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":[83,84,[93,97]],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"exactOptionalPropertyTypes":false,"module":199,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noUncheckedIndexedAccess":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[149,1],[150,1],[151,2],[103,3],[152,4],[153,5],[154,6],[98,7],[101,8],[99,7],[100,7],[155,9],[156,10],[157,11],[158,12],[159,13],[160,14],[161,14],[162,15],[163,16],[164,17],[165,18],[104,7],[102,7],[166,19],[167,20],[168,21],[202,22],[169,23],[170,7],[171,24],[172,25],[173,26],[174,27],[175,28],[176,29],[177,30],[178,31],[179,32],[180,32],[181,33],[182,7],[183,34],[184,35],[186,36],[185,37],[187,38],[188,39],[189,40],[190,41],[191,42],[192,43],[193,44],[194,45],[195,46],[196,47],[197,48],[198,49],[199,50],[105,7],[106,7],[107,7],[145,51],[146,7],[147,7],[148,38],[200,52],[201,53],[62,7],[63,7],[11,7],[12,7],[14,7],[13,7],[2,7],[15,7],[16,7],[17,7],[18,7],[19,7],[20,7],[21,7],[22,7],[3,7],[23,7],[24,7],[4,7],[25,7],[29,7],[26,7],[27,7],[28,7],[30,7],[31,7],[32,7],[5,7],[33,7],[34,7],[35,7],[36,7],[6,7],[40,7],[37,7],[38,7],[39,7],[41,7],[7,7],[42,7],[47,7],[48,7],[43,7],[44,7],[45,7],[46,7],[8,7],[52,7],[49,7],[50,7],[51,7],[53,7],[9,7],[54,7],[55,7],[56,7],[58,7],[57,7],[59,7],[60,7],[10,7],[61,7],[1,7],[123,54],[133,55],[122,54],[143,56],[114,57],[113,58],[142,59],[136,60],[141,61],[116,62],[130,63],[115,64],[139,65],[111,66],[110,59],[140,67],[112,68],[117,69],[118,7],[121,69],[108,7],[144,70],[134,71],[125,72],[126,73],[128,74],[124,75],[127,76],[137,59],[119,77],[120,78],[129,79],[109,80],[132,71],[131,69],[135,7],[138,81],[80,82],[78,83],[82,84],[77,85],[76,86],[81,82],[79,87],[75,85],[95,88],[96,89],[93,90],[97,91],[83,92],[84,93],[94,94],[69,95],[73,96],[64,7],[65,7],[71,7],[74,97],[66,7],[67,7],[72,7],[70,7],[68,7],[89,7],[87,98],[92,99],[85,7],[86,100],[88,7],[90,101],[91,7]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.3"}
@@ -0,0 +1,93 @@
1
+ import { ToolRegistry } from '@dream_engine/agent';
2
+ import { type ReasoningModel, type ProgressCallback, type StepRecord } from '@dream_engine/agent';
3
+ import { TaskStore, type AgentTask } from '@dream_engine/agent';
4
+ import { type PermissionLevel } from './permission.js';
5
+ import { AuditedGate } from './security-review.js';
6
+ export type { PermissionLevel, PermissionGate } from './permission.js';
7
+ export { PERMISSION_LEVELS } from './permission.js';
8
+ /** Options for constructing a {@link ComputerAgent}. */
9
+ export interface ComputerAgentOptions {
10
+ /** Initial permission level. Default 'observe' (read-only, least privilege). */
11
+ level?: PermissionLevel;
12
+ /** Root directories that filesystem/terminal operations are confined to. Default: [cwd]. */
13
+ roots?: string[];
14
+ /** Working directory for filesystem/terminal operations. Default: process.cwd(). */
15
+ cwd?: string;
16
+ /** Allowlisted (safe) commands for the execute-safe level. */
17
+ commandAllowlist?: string[];
18
+ /** Audit callback for every permission check (for logging/monitoring). */
19
+ onAudit?: (entry: {
20
+ at: string;
21
+ action: string;
22
+ level: PermissionLevel;
23
+ allowed: boolean;
24
+ reason?: string;
25
+ detail?: string;
26
+ }) => void;
27
+ /** Maximum bytes to read from a file. Default 256 KB. */
28
+ maxReadBytes?: number;
29
+ /** Maximum bytes of command output. Default 64 KB. */
30
+ maxOutputBytes?: number;
31
+ /** Command timeout in ms. Default 30000. */
32
+ timeoutMs?: number;
33
+ /** Maximum reasoning steps. Default 25. */
34
+ maxSteps?: number;
35
+ /** Per-step timeout in ms. */
36
+ stepTimeoutMs?: number;
37
+ /** Persist tasks to a TaskStore (enables resume after restart). */
38
+ store?: TaskStore;
39
+ }
40
+ /**
41
+ * **Agent 2 — the local computer agent.**
42
+ *
43
+ * An autonomous agent that operates on the local machine through permission-gated
44
+ * filesystem and terminal tools. It uses the same provider-agnostic reasoning loop as
45
+ * Agent 1: a {@link ReasoningModel} decides which tool to call, the {@link ToolRegistry}
46
+ * executes it (after the permission gate checks it), and the observation is fed back.
47
+ *
48
+ * The agent is **least-privilege by default** (level `observe`: read-only, no writes,
49
+ * no execution, no network). Privileged levels require explicit configuration.
50
+ *
51
+ * **No AI is hardcoded** — constructing the agent without a model is allowed (the tool
52
+ * layer works standalone); calling {@link run} without a model throws a
53
+ * {@link ConfigurationError} rather than falling back to a default.
54
+ */
55
+ export declare class ComputerAgent {
56
+ readonly gate: AuditedGate;
57
+ private readonly cwd;
58
+ private readonly roots;
59
+ private readonly tools;
60
+ private readonly orchestrator;
61
+ private readonly model?;
62
+ private readonly maxSteps;
63
+ private readonly stepHandlers;
64
+ private readonly controllers;
65
+ constructor(model?: ReasoningModel, options?: ComputerAgentOptions);
66
+ private requireModel;
67
+ /** The combined tool registry. */
68
+ toolRegistry(): ToolRegistry;
69
+ /** The list of tool names available to the agent. */
70
+ toolNames(): string[];
71
+ /** Runs a goal through the permission-gated reasoning loop. */
72
+ run(goal: string, options?: {
73
+ signal?: AbortSignal;
74
+ onStep?: ProgressCallback;
75
+ id?: string;
76
+ }): Promise<AgentTask>;
77
+ /** Resumes a paused task. */
78
+ resume(taskId: string, options?: {
79
+ signal?: AbortSignal;
80
+ onStep?: ProgressCallback;
81
+ }): Promise<AgentTask>;
82
+ /** Returns a task by id. */
83
+ task(taskId: string): AgentTask | null;
84
+ /** Returns step records for a task. */
85
+ steps(taskId: string): StepRecord[];
86
+ /** Stops a running task. */
87
+ stop(taskId: string): void;
88
+ /** Stops all running tasks. */
89
+ stopAll(): void;
90
+ }
91
+ /** Merges two tool registries into a single registry. */
92
+ export declare function mergeRegistries(a: ToolRegistry, b: ToolRegistry): ToolRegistry;
93
+ //# sourceMappingURL=computer-agent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"computer-agent.d.ts","sourceRoot":"","sources":["../src/computer-agent.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAoB,MAAM,qBAAqB,CAAC;AACrE,OAAO,EAA6B,KAAK,cAAc,EAAE,KAAK,gBAAgB,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC7H,OAAO,EAAE,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAkB,KAAK,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAInD,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpD,wDAAwD;AACxD,MAAM,WAAW,oBAAoB;IACnC,gFAAgF;IAChF,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,4FAA4F;IAC5F,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,oFAAoF;IACpF,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,8DAA8D;IAC9D,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,0EAA0E;IAC1E,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,eAAe,CAAC;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AM,CAAA;KAAO,GAAG,OAAO,CAAC,SAAS,CAAC;IAgB3H,6BAA6B;IACvB,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,GAAE;QAAE,MAAM,CAAC,EAAE,WAAW,CAAC;QAAC,MAAM,CAAC,EAAE,gBAAgB,CAAA;KAAO,GAAG,OAAO,CAAC,SAAS,CAAC;IAInH,4BAA4B;IAC5B,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI;IAItC,uCAAuC;IACvC,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,UAAU,EAAE;IAInC,4BAA4B;IAC5B,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAI1B,+BAA+B;IAC/B,OAAO,IAAI,IAAI;CAGhB;AAED,yDAAyD;AACzD,wBAAgB,eAAe,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,EAAE,YAAY,GAAG,YAAY,CAW9E"}
@@ -0,0 +1,126 @@
1
+ import { ConfigurationError, RuntimeError, serializeError } from '@dream_engine/core';
2
+ import { ToolRegistry } from '@dream_engine/agent';
3
+ import { CollaborationOrchestrator } from '@dream_engine/agent';
4
+ import { TaskStore } from '@dream_engine/agent';
5
+ import { PermissionGate } from './permission.js';
6
+ import { AuditedGate } from './security-review.js';
7
+ import { createFilesystemTools } from './filesystem.js';
8
+ import { createTerminalTools } from './terminal.js';
9
+ export { PERMISSION_LEVELS } from './permission.js';
10
+ /**
11
+ * **Agent 2 — the local computer agent.**
12
+ *
13
+ * An autonomous agent that operates on the local machine through permission-gated
14
+ * filesystem and terminal tools. It uses the same provider-agnostic reasoning loop as
15
+ * Agent 1: a {@link ReasoningModel} decides which tool to call, the {@link ToolRegistry}
16
+ * executes it (after the permission gate checks it), and the observation is fed back.
17
+ *
18
+ * The agent is **least-privilege by default** (level `observe`: read-only, no writes,
19
+ * no execution, no network). Privileged levels require explicit configuration.
20
+ *
21
+ * **No AI is hardcoded** — constructing the agent without a model is allowed (the tool
22
+ * layer works standalone); calling {@link run} without a model throws a
23
+ * {@link ConfigurationError} rather than falling back to a default.
24
+ */
25
+ export class ComputerAgent {
26
+ gate;
27
+ cwd;
28
+ roots;
29
+ tools;
30
+ orchestrator;
31
+ model;
32
+ maxSteps;
33
+ stepHandlers = new Map();
34
+ controllers = new Map();
35
+ constructor(model, options = {}) {
36
+ this.model = model;
37
+ this.maxSteps = options.maxSteps ?? 25;
38
+ const cwd = options.cwd ?? process.cwd();
39
+ this.cwd = cwd;
40
+ this.roots = options.roots ?? [cwd];
41
+ this.gate = new AuditedGate(options.level ?? 'observe', {
42
+ roots: this.roots,
43
+ commandAllowlist: options.commandAllowlist,
44
+ onAudit: options.onAudit,
45
+ });
46
+ const fsHost = { gate: this.gate, cwd, maxReadBytes: options.maxReadBytes, maxList: 200 };
47
+ const termHost = { gate: this.gate, cwd, maxOutputBytes: options.maxOutputBytes, timeoutMs: options.timeoutMs };
48
+ this.tools = mergeRegistries(createFilesystemTools(fsHost), createTerminalTools(termHost));
49
+ const lazyModel = {
50
+ nextAction: (input) => this.requireModel().nextAction(input),
51
+ };
52
+ this.orchestrator = new CollaborationOrchestrator(this.tools, lazyModel, {
53
+ maxSteps: this.maxSteps,
54
+ stepTimeoutMs: options.stepTimeoutMs,
55
+ store: options.store,
56
+ });
57
+ }
58
+ requireModel() {
59
+ if (!this.model)
60
+ throw new ConfigurationError('ComputerAgent requires a ReasoningModel to run tasks. No default model is hardcoded.');
61
+ return this.model;
62
+ }
63
+ /** The combined tool registry. */
64
+ toolRegistry() {
65
+ return this.tools;
66
+ }
67
+ /** The list of tool names available to the agent. */
68
+ toolNames() {
69
+ return this.tools.list().map((t) => t.name);
70
+ }
71
+ /** Runs a goal through the permission-gated reasoning loop. */
72
+ async run(goal, options = {}) {
73
+ if (options.onStep)
74
+ this.stepHandlers.set(options.id ?? goal, options.onStep);
75
+ try {
76
+ return await this.orchestrator.run(goal, {
77
+ signal: options.signal,
78
+ onStep: (step, task) => {
79
+ const handler = this.stepHandlers.get(options.id ?? goal);
80
+ return handler?.(step, task);
81
+ },
82
+ id: options.id,
83
+ });
84
+ }
85
+ finally {
86
+ this.stepHandlers.delete(options.id ?? goal);
87
+ }
88
+ }
89
+ /** Resumes a paused task. */
90
+ async resume(taskId, options = {}) {
91
+ return this.orchestrator.resume(taskId, { signal: options.signal, onStep: options.onStep });
92
+ }
93
+ /** Returns a task by id. */
94
+ task(taskId) {
95
+ return this.orchestrator.task(taskId);
96
+ }
97
+ /** Returns step records for a task. */
98
+ steps(taskId) {
99
+ return this.orchestrator.stepsFor(taskId);
100
+ }
101
+ /** Stops a running task. */
102
+ stop(taskId) {
103
+ this.orchestrator.stop(taskId);
104
+ }
105
+ /** Stops all running tasks. */
106
+ stopAll() {
107
+ this.orchestrator.stopAll();
108
+ }
109
+ }
110
+ /** Merges two tool registries into a single registry. */
111
+ export function mergeRegistries(a, b) {
112
+ const merged = new ToolRegistry();
113
+ for (const tool of a.list()) {
114
+ const def = a.get(tool.name);
115
+ if (def)
116
+ merged.register(def);
117
+ }
118
+ for (const tool of b.list()) {
119
+ const def = b.get(tool.name);
120
+ if (def)
121
+ merged.register(def);
122
+ }
123
+ return merged;
124
+ }
125
+ // Re-export for convenience.
126
+ //# sourceMappingURL=computer-agent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"computer-agent.js","sourceRoot":"","sources":["../src/computer-agent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,cAAc,EAAwB,MAAM,oBAAoB,CAAC;AAC5G,OAAO,EAAE,YAAY,EAAoB,MAAM,qBAAqB,CAAC;AACrE,OAAO,EAAE,yBAAyB,EAA+D,MAAM,qBAAqB,CAAC;AAC7H,OAAO,EAAE,SAAS,EAAkB,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAwB,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE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M,IAAI,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC;QAC5B,MAAM,GAAG,GAAG,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC7B,IAAI,GAAG;YAAE,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;IAChC,CAAC;IACD,KAAK,MAAM,IAAI,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC;QAC5B,MAAM,GAAG,GAAG,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC7B,IAAI,GAAG;YAAE,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;IAChC,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,6BAA6B"}
@@ -0,0 +1,95 @@
1
+ /**
2
+ * **Phase 3 §7 — Real desktop automation assessment.**
3
+ *
4
+ * This module does NOT implement desktop control. It assesses what would be required to
5
+ * drive a real Linux desktop (screenshots, window detection, launching/switching apps,
6
+ * keyboard, mouse, dialogs, state reporting) and inspects the current environment
7
+ * **before** choosing a framework.
8
+ *
9
+ * Desktop control is **disabled until permissions and implementation are verified**.
10
+ * The assessment reports:
11
+ *
12
+ * - Which display server is running: **X11**, **Wayland**, or **none** (headless).
13
+ * - Which desktop-automation binaries are installed (xdotool, ydotool, wmctrl, scrot, import, …).
14
+ * - Whether the required libraries / headers are present.
15
+ * - A recommended adapter architecture (X11 adapter vs Wayland adapter vs headless-blocked).
16
+ * - A clear `canControlDesktop` flag that is `false` unless a verified adapter is available.
17
+ *
18
+ * No fake desktop tools are provided. If the environment cannot support real desktop
19
+ * control, the assessment says so explicitly.
20
+ */
21
+ export type DisplayServer = 'x11' | 'wayland' | 'none';
22
+ export interface DesktopAssessment {
23
+ /** The detected display server. */
24
+ displayServer: DisplayServer;
25
+ /** Whether real desktop control is possible in this environment. */
26
+ canControlDesktop: boolean;
27
+ /** Why desktop control is or isn't available. */
28
+ reason: string;
29
+ /** Detected display variables. */
30
+ displayVars: {
31
+ display: string | null;
32
+ waylandDisplay: string | null;
33
+ xdgRuntimeDir: string | null;
34
+ };
35
+ /** Installed desktop-automation binaries (those found on PATH). */
36
+ availableBinaries: string[];
37
+ /** Missing binaries that would be needed for full desktop control. */
38
+ missingBinaries: string[];
39
+ /** Recommended adapter strategy. */
40
+ recommendedAdapter: 'x11-xlib' | 'x11-xdotool' | 'wayland-ydotool' | 'none';
41
+ /** Architecture notes for the adapter. */
42
+ notes: string[];
43
+ /** Whether desktop control must remain disabled (always true until verified). */
44
+ disabledUntilVerified: boolean;
45
+ }
46
+ /** Detects the display server from environment and runtime state. */
47
+ export declare function detectDisplayServer(): Promise<{
48
+ server: DisplayServer;
49
+ display: string | null;
50
+ waylandDisplay: string | null;
51
+ }>;
52
+ /** Runs the full desktop automation assessment. */
53
+ export declare function assessDesktopAutomation(): Promise<DesktopAssessment>;
54
+ /**
55
+ * A **desktop control adapter** interface. Real implementations (X11 via Xlib, Wayland via
56
+ * ydotool) would implement this. Until a verified implementation exists, the orchestrator
57
+ * must NOT instantiate any adapter — desktop control stays disabled.
58
+ */
59
+ export interface DesktopControlAdapter {
60
+ readonly name: string;
61
+ readonly displayServer: DisplayServer;
62
+ /** Captures a screenshot of the primary screen. */
63
+ screenshot(): Promise<Buffer>;
64
+ /** Lists open windows. */
65
+ listWindows(): Promise<Array<{
66
+ id: string;
67
+ title: string;
68
+ desktop?: number;
69
+ }>>;
70
+ /** Sends keyboard input. */
71
+ type(text: string): Promise<void>;
72
+ /** Sends a key press / key combination. */
73
+ pressKey(key: string): Promise<void>;
74
+ /** Moves and clicks the mouse. */
75
+ mouseMove(x: number, y: number): Promise<void>;
76
+ mouseClick(button: 'left' | 'right' | 'middle'): Promise<void>;
77
+ /** Reports current desktop state (active window, cursor position). */
78
+ state(): Promise<{
79
+ activeWindow: string | null;
80
+ cursor: {
81
+ x: number;
82
+ y: number;
83
+ };
84
+ }>;
85
+ }
86
+ /**
87
+ * Returns a desktop control adapter if one is available AND verified. In the current
88
+ * Phase 3 state, desktop control is **disabled** — this always throws, because no
89
+ * implementation has been verified against a real display in this environment.
90
+ *
91
+ * This is intentional: Phase 3 §7 requires desktop control to remain disabled until
92
+ * permissions and implementation are verified. No fake adapters are provided.
93
+ */
94
+ export declare function createDesktopControlAdapter(): Promise<DesktopControlAdapter>;
95
+ //# sourceMappingURL=desktop-assessment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"desktop-assessment.d.ts","sourceRoot":"","sources":["../src/desktop-assessment.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,SAAS,GAAG,MAAM,CAAC;AAEvD,MAAM,WAAW,iBAAiB;IAChC,mCAAmC;IACnC,aAAa,EAAE,aAAa,CAAC;IAC7B,oEAAoE;IACpE,iBAAiB,EAAE,OAAO,CAAC;IAC3B,iDAAiD;IACjD,MAAM,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,WAAW,EAAE;QACX,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;QACvB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;QAC9B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;KAC9B,CAAC;IACF,mEAAmE;IACnE,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,sEAAsE;IACtE,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,oCAAoC;IACpC,kBAAkB,EAAE,UAAU,GAAG,aAAa,GAAG,iBAAiB,GAAG,MAAM,CAAC;IAC5E,0CAA0C;IAC1C,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,iFAAiF;IACjF,qBAAqB,EAAE,OAAO,CAAC;CAChC;AAgBD,qEAAqE;AACrE,wBAAsB,mBAAmB,IAAI,OAAO,CAAC;IACnD,MAAM,EAAE,aAAa,CAAC;IACtB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,cAAc,EAA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{ RuntimeError } from '@dream_engine/core';
4
+ const execFileAsync = promisify(execFile);
5
+ /** Binaries that real desktop automation would need. */
6
+ const REQUIRED_BINARIES = ['xdotool', 'wmctrl', 'scrot', 'import'];
7
+ const WAYLAND_BINARIES = ['ydotool', 'grim'];
8
+ /** Probes whether a binary is available on PATH. */
9
+ async function hasBinary(name) {
10
+ try {
11
+ await execFileAsync('which', [name], { timeout: 3000 });
12
+ return true;
13
+ }
14
+ catch {
15
+ return false;
16
+ }
17
+ }
18
+ /** Detects the display server from environment and runtime state. */
19
+ export async function detectDisplayServer() {
20
+ const display = process.env.DISPLAY || null;
21
+ const waylandDisplay = process.env.WAYLAND_DISPLAY || null;
22
+ if (waylandDisplay) {
23
+ return { server: 'wayland', display, waylandDisplay };
24
+ }
25
+ if (display) {
26
+ // DISPLAY alone suggests X11 (Wayland uses WAYLAND_DISPLAY).
27
+ return { server: 'x11', display, waylandDisplay };
28
+ }
29
+ return { server: 'none', display, waylandDisplay };
30
+ }
31
+ /** Runs the full desktop automation assessment. */
32
+ export async function assessDesktopAutomation() {
33
+ const { server, display, waylandDisplay } = await detectDisplayServer();
34
+ const xdgRuntimeDir = process.env.XDG_RUNTIME_DIR || null;
35
+ const [xdotool, wmctrl, scrot, importBin, ydotool, grim] = await Promise.all([
36
+ hasBinary('xdotool'),
37
+ hasBinary('wmctrl'),
38
+ hasBinary('scrot'),
39
+ hasBinary('import'),
40
+ hasBinary('ydotool'),
41
+ hasBinary('grim'),
42
+ ]);
43
+ const availableBinaries = [
44
+ ...(xdotool ? ['xdotool'] : []),
45
+ ...(wmctrl ? ['wmctrl'] : []),
46
+ ...(scrot ? ['scrot'] : []),
47
+ ...(importBin ? ['import'] : []),
48
+ ...(ydotool ? ['ydotool'] : []),
49
+ ...(grim ? ['grim'] : []),
50
+ ];
51
+ const notes = [];
52
+ let recommendedAdapter = 'none';
53
+ let canControlDesktop = false;
54
+ let reason = '';
55
+ if (server === 'none') {
56
+ reason = 'No display server is running (headless environment). Real desktop control is not possible.';
57
+ notes.push('Desktop control requires a running X11 or Wayland display server.');
58
+ notes.push('This environment is headless — screenshots, window detection, and input injection cannot be performed.');
59
+ }
60
+ else if (server === 'x11') {
61
+ notes.push('X11 display server detected.');
62
+ if (xdotool) {
63
+ recommendedAdapter = 'x11-xdotool';
64
+ notes.push('xdotool is available — suitable for keyboard/mouse input and window management on X11.');
65
+ }
66
+ else {
67
+ recommendedAdapter = 'x11-xlib';
68
+ notes.push('xdotool is NOT installed. A Python-Xlib or Node-X11 adapter could provide input/window control, but requires X11 libraries and a verified implementation.');
69
+ }
70
+ if (!scrot && !importBin) {
71
+ notes.push('No screenshot tool (scrot/import) is installed — screenshots would require an additional adapter.');
72
+ }
73
+ canControlDesktop = xdotool && server === 'x11';
74
+ reason = canControlDesktop
75
+ ? 'X11 with xdotool available — desktop control is theoretically possible, but remains DISABLED until the implementation is verified against a real display.'
76
+ : 'X11 detected but required binaries are missing — desktop control is not available.';
77
+ }
78
+ else if (server === 'wayland') {
79
+ notes.push('Wayland display server detected.');
80
+ if (ydotool) {
81
+ recommendedAdapter = 'wayland-ydotool';
82
+ notes.push('ydotool is available — the Wayland-compatible input injection tool.');
83
+ }
84
+ else {
85
+ notes.push('ydotool is NOT installed. Wayland input injection requires ydotoold (a daemon) plus ydotool; this is not available.');
86
+ }
87
+ if (!grim) {
88
+ notes.push('grim (Wayland screenshot tool) is NOT installed — screenshots are not available.');
89
+ }
90
+ canControlDesktop = ydotool && server === 'wayland';
91
+ reason = canControlDesktop
92
+ ? 'Wayland with ydotool available — desktop control is theoretically possible, but remains DISABLED until verified.'
93
+ : 'Wayland detected but required binaries are missing — desktop control is not available.';
94
+ }
95
+ const missingBinaries = REQUIRED_BINARIES.filter((b) => !availableBinaries.includes(b));
96
+ return {
97
+ displayServer: server,
98
+ canControlDesktop,
99
+ reason,
100
+ displayVars: { display, waylandDisplay, xdgRuntimeDir },
101
+ availableBinaries,
102
+ missingBinaries,
103
+ recommendedAdapter,
104
+ notes,
105
+ disabledUntilVerified: true,
106
+ };
107
+ }
108
+ /**
109
+ * Returns a desktop control adapter if one is available AND verified. In the current
110
+ * Phase 3 state, desktop control is **disabled** — this always throws, because no
111
+ * implementation has been verified against a real display in this environment.
112
+ *
113
+ * This is intentional: Phase 3 §7 requires desktop control to remain disabled until
114
+ * permissions and implementation are verified. No fake adapters are provided.
115
+ */
116
+ export async function createDesktopControlAdapter() {
117
+ const assessment = await assessDesktopAutomation();
118
+ if (!assessment.canControlDesktop) {
119
+ throw new RuntimeError(`Desktop control is disabled: ${assessment.reason} ` +
120
+ 'Phase 3 requires desktop control to remain disabled until permissions and implementation are verified. ' +
121
+ 'No fake/mock desktop adapter is provided.');
122
+ }
123
+ // Even if the environment looks capable, we do not yet ship a verified implementation.
124
+ throw new RuntimeError('Desktop control is disabled until a verified adapter implementation is complete. ' +
125
+ `Detected: ${assessment.displayServer} with adapter strategy "${assessment.recommendedAdapter}".`);
126
+ }
127
+ //# sourceMappingURL=desktop-assessment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"desktop-assessment.js","sourceRoot":"","sources":["../src/desktop-assessment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD,MAAM,aAAa,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAC;AAkD1C,wDAAwD;AACxD,MAAM,iBAAiB,GAAG,CAAC,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AACnE,MAAM,gBAAgB,GAAG,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;AAE7C,oDAAoD;AACpD,KAAK,UAAU,SAAS,CAAC,IAAY;IACnC,IAAI,CAAC;QACH,MAAM,aAAa,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE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