@dxos/assistant 0.8.4-staging.60fe92afc8 → 0.9.1-main.c7dcc2e112
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/neutral/extraction/index.mjs +108 -119
- package/dist/lib/neutral/extraction/index.mjs.map +4 -4
- package/dist/lib/neutral/index.mjs +17 -13
- package/dist/lib/neutral/index.mjs.map +4 -4
- package/dist/lib/neutral/meta.json +1 -1
- package/dist/types/src/extraction/extraction-llm-function/index.d.ts +2 -0
- package/dist/types/src/extraction/extraction-llm-function/index.d.ts.map +1 -0
- package/dist/types/src/extraction/extraction-llm-function/proper-noun-extraction.d.ts +227 -0
- package/dist/types/src/extraction/extraction-llm-function/proper-noun-extraction.d.ts.map +1 -0
- package/dist/types/src/extraction/index.d.ts +1 -1
- package/dist/types/src/extraction/index.d.ts.map +1 -1
- package/dist/types/src/extraction/quotes.d.ts +8 -1
- package/dist/types/src/extraction/quotes.d.ts.map +1 -1
- package/dist/types/src/request/AiRequest.d.ts +6 -0
- package/dist/types/src/request/AiRequest.d.ts.map +1 -1
- package/dist/types/src/session/AiSession.d.ts +6 -0
- package/dist/types/src/session/AiSession.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +21 -21
- package/src/extraction/extraction-llm-function/index.ts +5 -0
- package/src/extraction/extraction-llm-function/proper-noun-extraction.ts +78 -0
- package/src/extraction/index.ts +1 -1
- package/src/extraction/quotes.test.ts +67 -2
- package/src/extraction/quotes.ts +47 -13
- package/src/request/AiRequest.ts +10 -0
- package/src/session/AiSession.ts +8 -0
- package/dist/types/src/extraction/extraction.d.ts +0 -1677
- package/dist/types/src/extraction/extraction.d.ts.map +0 -1
- package/src/extraction/extraction-llm-function/transcription-instructions.tpl +0 -28
- package/src/extraction/extraction.ts +0 -105
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/util/artifact.ts":{"bytes":11539,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-protocol","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/util/diff.ts":{"bytes":9847,"imports":[{"path":"@automerge/automerge","kind":"import-statement","external":true},{"path":"@dxos/echo-client","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/util/errors.ts":{"bytes":1333,"imports":[{"path":"@dxos/errors","kind":"import-statement","external":true}],"format":"esm"},"src/util/error-handling.ts":{"bytes":5075,"imports":[{"path":"@effect/ai/AiError","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClientError","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"src/util/errors.ts","kind":"import-statement","original":"./errors"}],"format":"esm"},"src/util/execution-graph.ts":{"bytes":51485,"imports":[{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/util/tracing.ts":{"bytes":5667,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true}],"format":"esm"},"src/util/index.ts":{"bytes":834,"imports":[{"path":"src/util/artifact.ts","kind":"import-statement","original":"./artifact"},{"path":"src/util/diff.ts","kind":"import-statement","original":"./diff"},{"path":"src/util/error-handling.ts","kind":"import-statement","original":"./error-handling"},{"path":"src/util/errors.ts","kind":"import-statement","original":"./errors"},{"path":"src/util/execution-graph.ts","kind":"import-statement","original":"./execution-graph"},{"path":"src/util/tracing.ts","kind":"import-statement","original":"./tracing"}],"format":"esm"},"src/functions/services.ts":{"bytes":28257,"imports":[{"path":"@effect/ai/Tool","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Record","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"src/util/index.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"src/functions/index.ts":{"bytes":376,"imports":[{"path":"src/functions/services.ts","kind":"import-statement","original":"./services"}],"format":"esm"},"src/request/artifact-diff.ts":{"bytes":2498,"imports":[{"path":"effect/Context","kind":"import-statement","external":true}],"format":"esm"},"src/request/format.ts":{"bytes":17258,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-client","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/util/index.ts","kind":"import-statement","original":"../util"},{"path":"src/request/artifact-diff.ts","kind":"import-statement","original":"./artifact-diff"}],"format":"esm"},"src/request/observer.ts":{"bytes":5464,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true}],"format":"esm"},"src/request/AiRequest.ts":{"bytes":42081,"imports":[{"path":"@effect/ai/LanguageModel","kind":"import-statement","external":true},{"path":"effect/Array","kind":"import-statement","external":true},{"path":"effect/Chunk","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Stream","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"src/functions/services.ts","kind":"import-statement","original":"../functions/services"},{"path":"src/util/index.ts","kind":"import-statement","original":"../util"},{"path":"src/request/format.ts","kind":"import-statement","original":"./format"},{"path":"src/request/observer.ts","kind":"import-statement","original":"./observer"},{"path":"@dxos/node-std/fs","kind":"require-call","external":true}],"format":"esm"},"src/request/index.ts":{"bytes":620,"imports":[{"path":"src/request/format.ts","kind":"import-statement","original":"./format"},{"path":"src/request/observer.ts","kind":"import-statement","original":"./observer"},{"path":"src/request/AiRequest.ts","kind":"import-statement","original":"./AiRequest"}],"format":"esm"},"src/session/toolkit.ts":{"bytes":5500,"imports":[{"path":"@effect/ai/Toolkit","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/session/AiContext.ts":{"bytes":49181,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Array","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Runtime","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/session/SessionLink.ts":{"bytes":2598,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"format":"esm"},"src/session/SessionLoader.ts":{"bytes":6454,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"src/session/SessionLink.ts","kind":"import-statement","original":"./SessionLink"}],"format":"esm"},"src/session/AiSession.ts":{"bytes":35277,"imports":[{"path":"effect/Array","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Either","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Record","kind":"import-statement","external":true},{"path":"effect/Runtime","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/mcp-client","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"src/functions/index.ts","kind":"import-statement","original":"../functions"},{"path":"src/request/index.ts","kind":"import-statement","original":"../request"},{"path":"src/util/index.ts","kind":"import-statement","original":"../util"},{"path":"src/session/AiContext.ts","kind":"import-statement","original":"./AiContext"},{"path":"src/session/SessionLoader.ts","kind":"import-statement","original":"./SessionLoader"},{"path":"src/session/toolkit.ts","kind":"import-statement","original":"./toolkit"}],"format":"esm"},"src/session/index.ts":{"bytes":1038,"imports":[{"path":"src/session/toolkit.ts","kind":"import-statement","original":"./toolkit"},{"path":"src/session/AiContext.ts","kind":"import-statement","original":"./AiContext"},{"path":"src/session/AiSession.ts","kind":"import-statement","original":"./AiSession"},{"path":"src/session/SessionLoader.ts","kind":"import-statement","original":"./SessionLoader"},{"path":"src/session/SessionLink.ts","kind":"import-statement","original":"./SessionLink"}],"format":"esm"},"raw-loader:/__w/dxos/dxos/packages/core/compute/assistant/src/templates/instructions/format.tpl?raw":{"bytes":1827,"imports":[]},"raw-loader:/__w/dxos/dxos/packages/core/compute/assistant/src/templates/instructions/system.tpl?raw":{"bytes":5726,"imports":[]},"src/templates/system.ts":{"bytes":3092,"imports":[{"path":"lodash.defaultsdeep","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"raw-loader:/__w/dxos/dxos/packages/core/compute/assistant/src/templates/instructions/format.tpl?raw","kind":"import-statement","original":"./instructions/format.tpl?raw"},{"path":"raw-loader:/__w/dxos/dxos/packages/core/compute/assistant/src/templates/instructions/system.tpl?raw","kind":"import-statement","original":"./instructions/system.tpl?raw"}],"format":"esm"},"src/templates/index.ts":{"bytes":370,"imports":[{"path":"src/templates/system.ts","kind":"import-statement","original":"./system"}],"format":"esm"},"src/index.ts":{"bytes":720,"imports":[{"path":"src/functions/index.ts","kind":"import-statement","original":"./functions"},{"path":"src/request/index.ts","kind":"import-statement","original":"./request"},{"path":"src/session/index.ts","kind":"import-statement","original":"./session"},{"path":"src/templates/index.ts","kind":"import-statement","original":"./templates"},{"path":"src/util/index.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/extraction/extraction.ts":{"bytes":9927,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true}],"format":"esm"},"src/extraction/extraction-ner-function/named-entity-recognition.ts":{"bytes":9983,"imports":[{"path":"@xenova/transformers","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/extraction/extraction-ner-function/index.ts":{"bytes":416,"imports":[{"path":"src/extraction/extraction-ner-function/named-entity-recognition.ts","kind":"import-statement","original":"./named-entity-recognition"}],"format":"esm"},"src/extraction/quotes.ts":{"bytes":6881,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/extraction/index.ts":{"bytes":591,"imports":[{"path":"src/extraction/extraction.ts","kind":"import-statement","original":"./extraction"},{"path":"src/extraction/extraction-ner-function/index.ts","kind":"import-statement","original":"./extraction-ner-function"},{"path":"src/extraction/quotes.ts","kind":"import-statement","original":"./quotes"}],"format":"esm"}},"outputs":{"dist/lib/neutral/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":143837},"dist/lib/neutral/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"@effect/ai/Tool","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Record","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-protocol","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@automerge/automerge","kind":"import-statement","external":true},{"path":"@dxos/echo-client","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@effect/ai/AiError","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClientError","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-client","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"@effect/ai/LanguageModel","kind":"import-statement","external":true},{"path":"effect/Array","kind":"import-statement","external":true},{"path":"effect/Chunk","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Stream","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@effect/ai/Toolkit","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Array","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Runtime","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"effect/Array","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Either","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Record","kind":"import-statement","external":true},{"path":"effect/Runtime","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/mcp-client","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"lodash.defaultsdeep","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true}],"exports":["AgentRequestBegin","AgentRequestEnd","AiAssistantError","AiContext","AiModelError","AiRequest","AiSession","CompleteBlock","ExecutionGraph","GenerationObserver","McpServerError","PartialBlock","RefFromLLM","SessionLink","SessionLoader","ToolExecutionServices","applyDiffs","computeDiffsWithCursors","createArtifactElement","createSystemPrompt","createToolkit","formatSystemPrompt","formatUserPrompt","getOperationFromTool","makeToolExecutionService","makeToolExecutionServiceFromOperationInvoker","makeToolResolverFromOperations","mapAiError","reduceDiffs","templates"],"entryPoint":"src/index.ts","inputs":{"src/functions/services.ts":{"bytesInOutput":6267},"src/util/artifact.ts":{"bytesInOutput":2512},"src/util/index.ts":{"bytesInOutput":0},"src/util/diff.ts":{"bytesInOutput":2140},"src/util/error-handling.ts":{"bytesInOutput":1074},"src/util/errors.ts":{"bytesInOutput":232},"src/util/execution-graph.ts":{"bytesInOutput":12125},"src/util/tracing.ts":{"bytesInOutput":1170},"src/functions/index.ts":{"bytesInOutput":0},"src/index.ts":{"bytesInOutput":0},"src/request/format.ts":{"bytesInOutput":3932},"src/request/artifact-diff.ts":{"bytesInOutput":145},"src/request/index.ts":{"bytesInOutput":0},"src/request/observer.ts":{"bytesInOutput":931},"src/request/AiRequest.ts":{"bytesInOutput":9058},"src/session/toolkit.ts":{"bytesInOutput":1142},"src/session/index.ts":{"bytesInOutput":0},"src/session/AiContext.ts":{"bytesInOutput":11941},"src/session/AiSession.ts":{"bytesInOutput":8493},"src/session/SessionLoader.ts":{"bytesInOutput":1374},"src/session/SessionLink.ts":{"bytesInOutput":547},"src/templates/system.ts":{"bytesInOutput":409},"raw-loader:/__w/dxos/dxos/packages/core/compute/assistant/src/templates/instructions/format.tpl?raw":{"bytesInOutput":1909},"raw-loader:/__w/dxos/dxos/packages/core/compute/assistant/src/templates/instructions/system.tpl?raw":{"bytesInOutput":5857},"src/templates/index.ts":{"bytesInOutput":0}},"bytes":72905},"dist/lib/neutral/extraction/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":12633},"dist/lib/neutral/extraction/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@xenova/transformers","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"exports":["ExtractionInput","ExtractionOutput","ReferencedQuotes","combineNerTokens","createTokenGroups","extractFullEntities","extractionAnthropicFunction","extractionNerFunction","findQuotes","getNer","insertReferences","processTranscriptMessage"],"entryPoint":"src/extraction/index.ts","inputs":{"src/extraction/extraction.ts":{"bytesInOutput":1953},"src/extraction/index.ts":{"bytesInOutput":0},"src/extraction/extraction-ner-function/named-entity-recognition.ts":{"bytesInOutput":2248},"src/extraction/extraction-ner-function/index.ts":{"bytesInOutput":0},"src/extraction/quotes.ts":{"bytesInOutput":1613}},"bytes":6276},"dist/lib/neutral/chunk-J5LGTIGS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/chunk-J5LGTIGS.mjs":{"imports":[],"exports":["__export"],"inputs":{},"bytes":235}}}
|
|
1
|
+
{"inputs":{"src/util/artifact.ts":{"bytes":11539,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-protocol","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/util/diff.ts":{"bytes":9847,"imports":[{"path":"@automerge/automerge","kind":"import-statement","external":true},{"path":"@dxos/echo-client","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/util/errors.ts":{"bytes":1333,"imports":[{"path":"@dxos/errors","kind":"import-statement","external":true}],"format":"esm"},"src/util/error-handling.ts":{"bytes":5075,"imports":[{"path":"@effect/ai/AiError","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClientError","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"src/util/errors.ts","kind":"import-statement","original":"./errors"}],"format":"esm"},"src/util/execution-graph.ts":{"bytes":51485,"imports":[{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/util/tracing.ts":{"bytes":5667,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true}],"format":"esm"},"src/util/index.ts":{"bytes":834,"imports":[{"path":"src/util/artifact.ts","kind":"import-statement","original":"./artifact"},{"path":"src/util/diff.ts","kind":"import-statement","original":"./diff"},{"path":"src/util/error-handling.ts","kind":"import-statement","original":"./error-handling"},{"path":"src/util/errors.ts","kind":"import-statement","original":"./errors"},{"path":"src/util/execution-graph.ts","kind":"import-statement","original":"./execution-graph"},{"path":"src/util/tracing.ts","kind":"import-statement","original":"./tracing"}],"format":"esm"},"src/functions/services.ts":{"bytes":28257,"imports":[{"path":"@effect/ai/Tool","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Record","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"src/util/index.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"src/functions/index.ts":{"bytes":376,"imports":[{"path":"src/functions/services.ts","kind":"import-statement","original":"./services"}],"format":"esm"},"src/request/artifact-diff.ts":{"bytes":2498,"imports":[{"path":"effect/Context","kind":"import-statement","external":true}],"format":"esm"},"src/request/format.ts":{"bytes":17258,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-client","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/util/index.ts","kind":"import-statement","original":"../util"},{"path":"src/request/artifact-diff.ts","kind":"import-statement","original":"./artifact-diff"}],"format":"esm"},"src/request/observer.ts":{"bytes":5464,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true}],"format":"esm"},"src/request/AiRequest.ts":{"bytes":42602,"imports":[{"path":"@effect/ai/LanguageModel","kind":"import-statement","external":true},{"path":"effect/Array","kind":"import-statement","external":true},{"path":"effect/Chunk","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Stream","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"src/functions/services.ts","kind":"import-statement","original":"../functions/services"},{"path":"src/util/index.ts","kind":"import-statement","original":"../util"},{"path":"src/request/format.ts","kind":"import-statement","original":"./format"},{"path":"src/request/observer.ts","kind":"import-statement","original":"./observer"},{"path":"@dxos/node-std/fs","kind":"require-call","external":true}],"format":"esm"},"src/request/index.ts":{"bytes":620,"imports":[{"path":"src/request/format.ts","kind":"import-statement","original":"./format"},{"path":"src/request/observer.ts","kind":"import-statement","original":"./observer"},{"path":"src/request/AiRequest.ts","kind":"import-statement","original":"./AiRequest"}],"format":"esm"},"src/session/toolkit.ts":{"bytes":5500,"imports":[{"path":"@effect/ai/Toolkit","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/session/AiContext.ts":{"bytes":49181,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Array","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Runtime","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/session/SessionLink.ts":{"bytes":2598,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"format":"esm"},"src/session/SessionLoader.ts":{"bytes":6454,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"src/session/SessionLink.ts","kind":"import-statement","original":"./SessionLink"}],"format":"esm"},"src/session/AiSession.ts":{"bytes":35630,"imports":[{"path":"effect/Array","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Either","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Record","kind":"import-statement","external":true},{"path":"effect/Runtime","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/mcp-client","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"src/functions/index.ts","kind":"import-statement","original":"../functions"},{"path":"src/request/index.ts","kind":"import-statement","original":"../request"},{"path":"src/util/index.ts","kind":"import-statement","original":"../util"},{"path":"src/session/AiContext.ts","kind":"import-statement","original":"./AiContext"},{"path":"src/session/SessionLoader.ts","kind":"import-statement","original":"./SessionLoader"},{"path":"src/session/toolkit.ts","kind":"import-statement","original":"./toolkit"}],"format":"esm"},"src/session/index.ts":{"bytes":1038,"imports":[{"path":"src/session/toolkit.ts","kind":"import-statement","original":"./toolkit"},{"path":"src/session/AiContext.ts","kind":"import-statement","original":"./AiContext"},{"path":"src/session/AiSession.ts","kind":"import-statement","original":"./AiSession"},{"path":"src/session/SessionLoader.ts","kind":"import-statement","original":"./SessionLoader"},{"path":"src/session/SessionLink.ts","kind":"import-statement","original":"./SessionLink"}],"format":"esm"},"raw-loader:/__w/dxos/dxos/packages/core/compute/assistant/src/templates/instructions/format.tpl":{"bytes":1827,"imports":[]},"raw-loader:/__w/dxos/dxos/packages/core/compute/assistant/src/templates/instructions/system.tpl":{"bytes":5726,"imports":[]},"src/templates/system.ts":{"bytes":3092,"imports":[{"path":"lodash.defaultsdeep","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"raw-loader:/__w/dxos/dxos/packages/core/compute/assistant/src/templates/instructions/format.tpl","kind":"import-statement","original":"./instructions/format.tpl?raw"},{"path":"raw-loader:/__w/dxos/dxos/packages/core/compute/assistant/src/templates/instructions/system.tpl","kind":"import-statement","original":"./instructions/system.tpl?raw"}],"format":"esm"},"src/templates/index.ts":{"bytes":370,"imports":[{"path":"src/templates/system.ts","kind":"import-statement","original":"./system"}],"format":"esm"},"src/index.ts":{"bytes":720,"imports":[{"path":"src/functions/index.ts","kind":"import-statement","original":"./functions"},{"path":"src/request/index.ts","kind":"import-statement","original":"./request"},{"path":"src/session/index.ts","kind":"import-statement","original":"./session"},{"path":"src/templates/index.ts","kind":"import-statement","original":"./templates"},{"path":"src/util/index.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/extraction/quotes.ts":{"bytes":11671,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true}],"format":"esm"},"src/extraction/extraction-llm-function/proper-noun-extraction.ts":{"bytes":9840,"imports":[{"path":"@effect/ai/LanguageModel","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"src/extraction/quotes.ts","kind":"import-statement","original":"../quotes"}],"format":"esm"},"src/extraction/extraction-llm-function/index.ts":{"bytes":410,"imports":[{"path":"src/extraction/extraction-llm-function/proper-noun-extraction.ts","kind":"import-statement","original":"./proper-noun-extraction"}],"format":"esm"},"src/extraction/extraction-ner-function/named-entity-recognition.ts":{"bytes":9983,"imports":[{"path":"@xenova/transformers","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/extraction/extraction-ner-function/index.ts":{"bytes":416,"imports":[{"path":"src/extraction/extraction-ner-function/named-entity-recognition.ts","kind":"import-statement","original":"./named-entity-recognition"}],"format":"esm"},"src/extraction/index.ts":{"bytes":624,"imports":[{"path":"src/extraction/extraction-llm-function/index.ts","kind":"import-statement","original":"./extraction-llm-function"},{"path":"src/extraction/extraction-ner-function/index.ts","kind":"import-statement","original":"./extraction-ner-function"},{"path":"src/extraction/quotes.ts","kind":"import-statement","original":"./quotes"}],"format":"esm"}},"outputs":{"dist/lib/neutral/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":144343},"dist/lib/neutral/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"@effect/ai/Tool","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Record","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-protocol","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@automerge/automerge","kind":"import-statement","external":true},{"path":"@dxos/echo-client","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@effect/ai/AiError","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClientError","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-client","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"@effect/ai/LanguageModel","kind":"import-statement","external":true},{"path":"effect/Array","kind":"import-statement","external":true},{"path":"effect/Chunk","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Stream","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@effect/ai/Toolkit","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Array","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Runtime","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"effect/Array","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Either","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Record","kind":"import-statement","external":true},{"path":"effect/Runtime","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/mcp-client","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"lodash.defaultsdeep","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true}],"exports":["AgentRequestBegin","AgentRequestEnd","AiAssistantError","AiContext","AiModelError","AiRequest","AiSession","CompleteBlock","ExecutionGraph","GenerationObserver","McpServerError","PartialBlock","RefFromLLM","SessionLink","SessionLoader","ToolExecutionServices","applyDiffs","computeDiffsWithCursors","createArtifactElement","createSystemPrompt","createToolkit","formatSystemPrompt","formatUserPrompt","getOperationFromTool","makeToolExecutionService","makeToolExecutionServiceFromOperationInvoker","makeToolResolverFromOperations","mapAiError","reduceDiffs","templates"],"entryPoint":"src/index.ts","inputs":{"src/functions/services.ts":{"bytesInOutput":6267},"src/util/artifact.ts":{"bytesInOutput":2512},"src/util/index.ts":{"bytesInOutput":0},"src/util/diff.ts":{"bytesInOutput":2140},"src/util/error-handling.ts":{"bytesInOutput":1074},"src/util/errors.ts":{"bytesInOutput":232},"src/util/execution-graph.ts":{"bytesInOutput":12125},"src/util/tracing.ts":{"bytesInOutput":1170},"src/functions/index.ts":{"bytesInOutput":0},"src/index.ts":{"bytesInOutput":0},"src/request/format.ts":{"bytesInOutput":3932},"src/request/artifact-diff.ts":{"bytesInOutput":145},"src/request/index.ts":{"bytesInOutput":0},"src/request/observer.ts":{"bytesInOutput":931},"src/request/AiRequest.ts":{"bytesInOutput":9129},"src/session/toolkit.ts":{"bytesInOutput":1142},"src/session/index.ts":{"bytesInOutput":0},"src/session/AiContext.ts":{"bytesInOutput":11941},"src/session/AiSession.ts":{"bytesInOutput":8526},"src/session/SessionLoader.ts":{"bytesInOutput":1374},"src/session/SessionLink.ts":{"bytesInOutput":547},"src/templates/system.ts":{"bytesInOutput":409},"raw-loader:/__w/dxos/dxos/packages/core/compute/assistant/src/templates/instructions/format.tpl":{"bytesInOutput":1909},"raw-loader:/__w/dxos/dxos/packages/core/compute/assistant/src/templates/instructions/system.tpl":{"bytesInOutput":5857},"src/templates/index.ts":{"bytesInOutput":0}},"bytes":73001},"dist/lib/neutral/extraction/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":15632},"dist/lib/neutral/extraction/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"@effect/ai/LanguageModel","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@xenova/transformers","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"exports":["ProperNouns","ReferencedQuotes","combineNerTokens","createTokenGroups","enrichTranscriptMessage","extractFullEntities","extractProperNouns","findReferences","getNer","insertReferences"],"entryPoint":"src/extraction/index.ts","inputs":{"src/extraction/extraction-llm-function/proper-noun-extraction.ts":{"bytesInOutput":1781},"src/extraction/quotes.ts":{"bytesInOutput":2082},"src/extraction/extraction-llm-function/index.ts":{"bytesInOutput":0},"src/extraction/index.ts":{"bytesInOutput":0},"src/extraction/extraction-ner-function/named-entity-recognition.ts":{"bytesInOutput":2237},"src/extraction/extraction-ner-function/index.ts":{"bytesInOutput":0}},"bytes":6612},"dist/lib/neutral/chunk-J5LGTIGS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/chunk-J5LGTIGS.mjs":{"imports":[],"exports":["__export"],"inputs":{},"bytes":235}}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/extraction/extraction-llm-function/index.ts"],"names":[],"mappings":"AAIA,cAAc,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import * as Schema from 'effect/Schema';
|
|
3
|
+
import { AiService } from '@dxos/ai';
|
|
4
|
+
import { type Database, Obj } from '@dxos/echo';
|
|
5
|
+
import { Message } from '@dxos/types';
|
|
6
|
+
/**
|
|
7
|
+
* Proper nouns extracted from transcript text.
|
|
8
|
+
*/
|
|
9
|
+
export declare const ProperNouns: Schema.Struct<{
|
|
10
|
+
properNouns: Schema.Array$<typeof Schema.String>;
|
|
11
|
+
}>;
|
|
12
|
+
export type ProperNouns = Schema.Schema.Type<typeof ProperNouns>;
|
|
13
|
+
/**
|
|
14
|
+
* Extracts proper nouns from transcript text using a small LLM (Haiku). Provides the LanguageModel
|
|
15
|
+
* internally so the residual requirement is just {@link AiService.AiService}.
|
|
16
|
+
*/
|
|
17
|
+
export declare const extractProperNouns: (text: string) => Effect.Effect<string[], import("@dxos/ai").AiModelNotAvailableError | import("@effect/ai/AiError").AiError, AiService.AiService>;
|
|
18
|
+
/**
|
|
19
|
+
* Enriches a transcript message: for each transcript block, extracts proper nouns, links them to
|
|
20
|
+
* objects in the space via full-text search, and rewrites the text with `[noun](dxn)` references.
|
|
21
|
+
* Requires {@link AiService.AiService}; takes the space database handle.
|
|
22
|
+
*/
|
|
23
|
+
export declare const enrichTranscriptMessage: (message: Message.Message, { db }: {
|
|
24
|
+
db: Database.Database;
|
|
25
|
+
}) => Effect.Effect<Obj.OfShape<{
|
|
26
|
+
readonly id: string;
|
|
27
|
+
readonly parentMessage?: string | undefined;
|
|
28
|
+
readonly threadId?: string | undefined;
|
|
29
|
+
readonly created: string;
|
|
30
|
+
readonly sender: {
|
|
31
|
+
readonly role?: "assistant" | "tool" | "user" | undefined;
|
|
32
|
+
readonly contact?: import("@dxos/echo/internal").Ref<{
|
|
33
|
+
readonly fullName?: string | undefined;
|
|
34
|
+
readonly preferredName?: string | undefined;
|
|
35
|
+
readonly nickname?: string | undefined;
|
|
36
|
+
readonly image?: string | undefined;
|
|
37
|
+
readonly organization?: import("@dxos/echo/internal").Ref<{
|
|
38
|
+
readonly name?: string | undefined;
|
|
39
|
+
readonly description?: string | undefined;
|
|
40
|
+
readonly status?: "active" | "commit" | "prospect" | "qualified" | "reject" | undefined;
|
|
41
|
+
readonly image?: string | undefined;
|
|
42
|
+
readonly website?: string | undefined;
|
|
43
|
+
} & {
|
|
44
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
45
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
46
|
+
readonly jobTitle?: string | undefined;
|
|
47
|
+
readonly department?: string | undefined;
|
|
48
|
+
readonly notes?: string | undefined;
|
|
49
|
+
readonly emails?: readonly {
|
|
50
|
+
readonly label?: string | undefined;
|
|
51
|
+
readonly value: string;
|
|
52
|
+
}[] | undefined;
|
|
53
|
+
readonly identities?: readonly {
|
|
54
|
+
readonly label?: string | undefined;
|
|
55
|
+
readonly value: string;
|
|
56
|
+
}[] | undefined;
|
|
57
|
+
readonly phoneNumbers?: readonly {
|
|
58
|
+
readonly label?: string | undefined;
|
|
59
|
+
readonly value: string;
|
|
60
|
+
}[] | undefined;
|
|
61
|
+
readonly addresses?: readonly {
|
|
62
|
+
readonly label?: string | undefined;
|
|
63
|
+
readonly value: {
|
|
64
|
+
readonly street?: string | undefined;
|
|
65
|
+
readonly extended?: string | undefined;
|
|
66
|
+
readonly locality?: string | undefined;
|
|
67
|
+
readonly region?: string | undefined;
|
|
68
|
+
readonly postalCode?: string | undefined;
|
|
69
|
+
readonly postOfficeBoxNumber?: string | undefined;
|
|
70
|
+
readonly country?: string | undefined;
|
|
71
|
+
};
|
|
72
|
+
}[] | undefined;
|
|
73
|
+
readonly urls?: readonly {
|
|
74
|
+
readonly label?: string | undefined;
|
|
75
|
+
readonly value: string;
|
|
76
|
+
}[] | undefined;
|
|
77
|
+
readonly birthday?: string | undefined;
|
|
78
|
+
readonly fields?: readonly {
|
|
79
|
+
readonly category?: string | undefined;
|
|
80
|
+
readonly label: string;
|
|
81
|
+
readonly value: string;
|
|
82
|
+
}[] | undefined;
|
|
83
|
+
} & {
|
|
84
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
85
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown> | undefined;
|
|
86
|
+
readonly identityDid?: string | undefined;
|
|
87
|
+
readonly identityKey?: string | undefined;
|
|
88
|
+
readonly email?: string | undefined;
|
|
89
|
+
readonly name?: string | undefined;
|
|
90
|
+
};
|
|
91
|
+
readonly blocks: readonly ({
|
|
92
|
+
readonly _tag: "anchor";
|
|
93
|
+
readonly pending?: boolean | undefined;
|
|
94
|
+
readonly objectId: string;
|
|
95
|
+
readonly version: unknown;
|
|
96
|
+
} | {
|
|
97
|
+
readonly _tag: "file";
|
|
98
|
+
readonly pending?: boolean | undefined;
|
|
99
|
+
readonly url: string;
|
|
100
|
+
readonly name?: string | undefined;
|
|
101
|
+
readonly mediaType?: string | undefined;
|
|
102
|
+
} | {
|
|
103
|
+
readonly _tag: "image";
|
|
104
|
+
readonly pending?: boolean | undefined;
|
|
105
|
+
readonly id?: string | undefined;
|
|
106
|
+
readonly source?: {
|
|
107
|
+
readonly type: "base64";
|
|
108
|
+
readonly mediaType: string;
|
|
109
|
+
readonly data: string;
|
|
110
|
+
} | {
|
|
111
|
+
readonly type: "http";
|
|
112
|
+
readonly url: string;
|
|
113
|
+
} | undefined;
|
|
114
|
+
} | {
|
|
115
|
+
readonly _tag: "json";
|
|
116
|
+
readonly pending?: boolean | undefined;
|
|
117
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
118
|
+
readonly data: string;
|
|
119
|
+
} | {
|
|
120
|
+
readonly _tag: "proposal";
|
|
121
|
+
readonly pending?: boolean | undefined;
|
|
122
|
+
readonly text: string;
|
|
123
|
+
} | {
|
|
124
|
+
readonly _tag: "reasoning";
|
|
125
|
+
readonly pending?: boolean | undefined;
|
|
126
|
+
readonly reasoningText?: string | undefined;
|
|
127
|
+
readonly redactedText?: string | undefined;
|
|
128
|
+
readonly signature?: string | undefined;
|
|
129
|
+
} | {
|
|
130
|
+
readonly _tag: "reference";
|
|
131
|
+
readonly pending?: boolean | undefined;
|
|
132
|
+
readonly reference: import("@dxos/echo/internal").Ref<Obj.Unknown>;
|
|
133
|
+
} | {
|
|
134
|
+
readonly _tag: "select";
|
|
135
|
+
readonly pending?: boolean | undefined;
|
|
136
|
+
readonly options: string[];
|
|
137
|
+
} | {
|
|
138
|
+
readonly _tag: "status";
|
|
139
|
+
readonly pending?: boolean | undefined;
|
|
140
|
+
readonly statusText: string;
|
|
141
|
+
} | {
|
|
142
|
+
readonly _tag: "suggestion";
|
|
143
|
+
readonly pending?: boolean | undefined;
|
|
144
|
+
readonly text: string;
|
|
145
|
+
} | {
|
|
146
|
+
readonly _tag: "stats";
|
|
147
|
+
readonly pending?: boolean | undefined;
|
|
148
|
+
readonly mimeType?: string | undefined;
|
|
149
|
+
readonly message?: string | undefined;
|
|
150
|
+
readonly model?: string | undefined;
|
|
151
|
+
readonly usage?: {
|
|
152
|
+
readonly inputTokens?: number | undefined;
|
|
153
|
+
readonly outputTokens?: number | undefined;
|
|
154
|
+
readonly totalTokens?: number | undefined;
|
|
155
|
+
} | undefined;
|
|
156
|
+
readonly toolCalls?: number | undefined;
|
|
157
|
+
readonly errors?: number | undefined;
|
|
158
|
+
readonly duration?: number | undefined;
|
|
159
|
+
} | {
|
|
160
|
+
readonly _tag: "text";
|
|
161
|
+
readonly pending?: boolean | undefined;
|
|
162
|
+
readonly mimeType?: string | undefined;
|
|
163
|
+
readonly text: string;
|
|
164
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
165
|
+
} | {
|
|
166
|
+
readonly _tag: "summary";
|
|
167
|
+
readonly pending?: boolean | undefined;
|
|
168
|
+
readonly content: string;
|
|
169
|
+
} | {
|
|
170
|
+
readonly _tag: "toolkit";
|
|
171
|
+
readonly pending?: boolean | undefined;
|
|
172
|
+
} | {
|
|
173
|
+
readonly _tag: "toolCall";
|
|
174
|
+
readonly pending?: boolean | undefined;
|
|
175
|
+
readonly toolCallId: string;
|
|
176
|
+
readonly name: string;
|
|
177
|
+
readonly input: string;
|
|
178
|
+
readonly providerExecuted: boolean;
|
|
179
|
+
readonly operationKey?: string | undefined;
|
|
180
|
+
readonly operationName?: string | undefined;
|
|
181
|
+
readonly operationIcon?: string | undefined;
|
|
182
|
+
} | {
|
|
183
|
+
readonly _tag: "toolResult";
|
|
184
|
+
readonly pending?: boolean | undefined;
|
|
185
|
+
readonly toolCallId: string;
|
|
186
|
+
readonly name: string;
|
|
187
|
+
readonly result?: string | {
|
|
188
|
+
readonly _tag: "~@dxos/types/ContentBlock.ContentBlockResult";
|
|
189
|
+
readonly content: readonly ({
|
|
190
|
+
readonly _tag: "file";
|
|
191
|
+
readonly pending?: boolean | undefined;
|
|
192
|
+
readonly url: string;
|
|
193
|
+
readonly name?: string | undefined;
|
|
194
|
+
readonly mediaType?: string | undefined;
|
|
195
|
+
} | {
|
|
196
|
+
readonly _tag: "image";
|
|
197
|
+
readonly pending?: boolean | undefined;
|
|
198
|
+
readonly id?: string | undefined;
|
|
199
|
+
readonly source?: {
|
|
200
|
+
readonly type: "base64";
|
|
201
|
+
readonly mediaType: string;
|
|
202
|
+
readonly data: string;
|
|
203
|
+
} | {
|
|
204
|
+
readonly type: "http";
|
|
205
|
+
readonly url: string;
|
|
206
|
+
} | undefined;
|
|
207
|
+
} | {
|
|
208
|
+
readonly _tag: "text";
|
|
209
|
+
readonly pending?: boolean | undefined;
|
|
210
|
+
readonly mimeType?: string | undefined;
|
|
211
|
+
readonly text: string;
|
|
212
|
+
readonly disposition?: "cot" | "synthetic" | "user" | "version-pin" | undefined;
|
|
213
|
+
})[];
|
|
214
|
+
} | undefined;
|
|
215
|
+
readonly error?: string | undefined;
|
|
216
|
+
readonly providerExecuted: boolean;
|
|
217
|
+
} | {
|
|
218
|
+
readonly _tag: "transcript";
|
|
219
|
+
readonly pending?: boolean | undefined;
|
|
220
|
+
readonly started: string;
|
|
221
|
+
readonly text: string;
|
|
222
|
+
})[];
|
|
223
|
+
readonly properties?: {
|
|
224
|
+
readonly [x: string]: any;
|
|
225
|
+
} | undefined;
|
|
226
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>>, import("@dxos/ai").AiModelNotAvailableError | import("@effect/ai/AiError").AiError, AiService.AiService>;
|
|
227
|
+
//# sourceMappingURL=proper-noun-extraction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"proper-noun-extraction.d.ts","sourceRoot":"","sources":["../../../../../src/extraction/extraction-llm-function/proper-noun-extraction.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,KAAK,QAAQ,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAMtC;;GAEG;AACH,eAAO,MAAM,WAAW;;EAItB,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;AAEjE;;;GAGG;AACH,eAAO,MAAM,kBAAkB,SAAU,MAAM,qIAkBa,CAAC;AAE7D;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,YAAa,OAAO,CAAC,OAAO,UAAU;IAAE,EAAE,EAAE,QAAQ,CAAC,QAAQ,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kMAsB/F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/extraction/index.ts"],"names":[],"mappings":"AAIA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/extraction/index.ts"],"names":[],"mappings":"AAIA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,UAAU,CAAC"}
|
|
@@ -7,7 +7,14 @@ export declare const ReferencedQuotes: Schema.Struct<{
|
|
|
7
7
|
}>>>;
|
|
8
8
|
}>;
|
|
9
9
|
export type ReferencedQuotes = Schema.Schema.Type<typeof ReferencedQuotes>;
|
|
10
|
-
export
|
|
10
|
+
export type FindReferencesOptions = {
|
|
11
|
+
/** Search backend. Full-text matches proper nouns precisely; vector matches semantically. */
|
|
12
|
+
searchKind?: 'full-text' | 'vector';
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Finds the best-matching context object for each noun and returns it as a reference.
|
|
16
|
+
*/
|
|
17
|
+
export declare const findReferences: (nouns: string[], db: Database.Database, { searchKind }?: FindReferencesOptions) => Promise<ReferencedQuotes>;
|
|
11
18
|
/**
|
|
12
19
|
* Finds and replaces all quotes with DXNs references.
|
|
13
20
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quotes.d.ts","sourceRoot":"","sources":["../../../../src/extraction/quotes.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,KAAK,QAAQ,EAAiB,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"quotes.d.ts","sourceRoot":"","sources":["../../../../src/extraction/quotes.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,KAAK,QAAQ,EAAiB,MAAM,YAAY,CAAC;AAG1D,eAAO,MAAM,gBAAgB;;;;;EAe3B,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE3E,MAAM,MAAM,qBAAqB,GAAG;IAClC,6FAA6F;IAC7F,UAAU,CAAC,EAAE,WAAW,GAAG,QAAQ,CAAC;CACrC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,UAClB,MAAM,EAAE,MACX,QAAQ,CAAC,QAAQ,mBACS,qBAAqB,KAClD,OAAO,CAAC,gBAAgB,CAe1B,CAAC;AAEF;;GAEG;AAEH,eAAO,MAAM,gBAAgB,SAAU,MAAM,UAAU,gBAAgB,KAAG,MAezE,CAAC"}
|
|
@@ -20,6 +20,12 @@ export type Options = {
|
|
|
20
20
|
* This is useful for streaming the output to a queue.
|
|
21
21
|
*/
|
|
22
22
|
onOutput?: (message: Message.Message) => Effect.Effect<void, never, never>;
|
|
23
|
+
/**
|
|
24
|
+
* When false, turn messages are not appended to the feed or written as persisted trace blocks.
|
|
25
|
+
*
|
|
26
|
+
* @default true
|
|
27
|
+
*/
|
|
28
|
+
persist?: boolean;
|
|
23
29
|
};
|
|
24
30
|
export type RunProps<R = never> = {
|
|
25
31
|
prompt: string | ContentBlock.Any[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AiRequest.d.ts","sourceRoot":"","sources":["../../../../src/request/AiRequest.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,KAAK,OAAO,MAAM,oBAAoB,CAAC;AACnD,OAAO,KAAK,aAAa,MAAM,0BAA0B,CAAC;AAI1D,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,OAAO,EAIL,KAAK,mBAAmB,EAExB,KAAK,aAAa,EAClB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EAEzB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAErD,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAGpD,OAAO,EAAE,KAAK,gBAAgB,EAA+B,MAAM,SAAS,CAAC;AAE7E,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAC,OAAO,GAAG,wBAAwB,GAAG,mBAAmB,GAAG,gBAAgB,CAAC;AAE3G,MAAM,MAAM,eAAe,GACvB,aAAa,CAAC,aAAa,GAC3B,oBAAoB,GACpB,mBAAmB,GACnB,QAAQ,CAAC,OAAO,GAChB,SAAS,CAAC,OAAO,GACjB,QAAQ,CAAC,OAAO,GAChB,KAAK,CAAC,YAAY,CAAC;AAEvB,MAAM,MAAM,OAAO,GAAG;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AAQ,EAAE,eAAe,GAAG,CAAC,CAAC,CA4ErB;IAErD,QAAQ,GAAI,KAAK,CAAC,CAAC,GAAG,KAAK,+BAExB;QACD,OAAO,CAAC,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;KAC1C,KAAG,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,EAAE,eAAe,GAAG,CAAC,CAAC,CAoBL;IAEjD;;OAEG;IACH,GAAG,GAAI,KAAK,CAAC,CAAC,GAAG,KAAK,8EAOnB,QAAQ,CAAC,CAAC,CAAC,KAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,eAAe,GAAG,CAAC,CAAC,CAgBJ;CAC7E"}
|
|
@@ -19,6 +19,12 @@ export type RunProps<R = never> = {
|
|
|
19
19
|
* Space-level MCP servers to connect alongside blueprint-defined ones.
|
|
20
20
|
*/
|
|
21
21
|
mcpServers?: readonly McpServer.McpServer[];
|
|
22
|
+
/**
|
|
23
|
+
* When false, messages from this request are not appended to the feed or persisted to trace.
|
|
24
|
+
*
|
|
25
|
+
* @default true
|
|
26
|
+
*/
|
|
27
|
+
persist?: boolean;
|
|
22
28
|
};
|
|
23
29
|
export type Options = {
|
|
24
30
|
feed: Feed.Feed;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AiSession.d.ts","sourceRoot":"","sources":["../../../../src/session/AiSession.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,QAAQ,IAAI,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAExE,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAEtC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,oBAAoB,EAAE,KAAK,mBAAmB,EA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