@dxos/assistant-toolkit 0.8.4-main.ae835ea → 0.8.4-main.c85a9c8dae
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/chunk-J5LGTIGS.mjs +10 -0
- package/dist/lib/neutral/chunk-J5LGTIGS.mjs.map +7 -0
- package/dist/lib/{browser → neutral}/index.mjs +2989 -1842
- package/dist/lib/neutral/index.mjs.map +7 -0
- package/dist/lib/neutral/meta.json +1 -0
- package/dist/lib/neutral/testing/index.mjs +81 -0
- package/dist/lib/neutral/testing/index.mjs.map +7 -0
- package/dist/types/src/blueprints/browser/blueprint.d.ts +4 -0
- package/dist/types/src/blueprints/browser/blueprint.d.ts.map +1 -0
- package/dist/types/src/blueprints/browser/blueprint.test.d.ts +2 -0
- package/dist/types/src/blueprints/browser/blueprint.test.d.ts.map +1 -0
- package/dist/types/src/blueprints/browser/index.d.ts +2 -0
- package/dist/types/src/blueprints/browser/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/database/blueprint.d.ts +4 -0
- package/dist/types/src/blueprints/database/blueprint.d.ts.map +1 -0
- package/dist/types/src/blueprints/database/blueprint.test.d.ts +2 -0
- package/dist/types/src/blueprints/database/blueprint.test.d.ts.map +1 -0
- package/dist/types/src/blueprints/database/functions/context-add.d.ts +6 -0
- package/dist/types/src/blueprints/database/functions/context-add.d.ts.map +1 -0
- package/dist/types/src/blueprints/database/functions/context-remove.d.ts +6 -0
- package/dist/types/src/blueprints/database/functions/context-remove.d.ts.map +1 -0
- package/dist/types/src/blueprints/database/functions/index.d.ts +57 -0
- package/dist/types/src/blueprints/database/functions/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/database/functions/load.d.ts +6 -0
- package/dist/types/src/blueprints/database/functions/load.d.ts.map +1 -0
- package/dist/types/src/blueprints/database/functions/object-create.d.ts +6 -0
- package/dist/types/src/blueprints/database/functions/object-create.d.ts.map +1 -0
- package/dist/types/src/blueprints/database/functions/object-delete.d.ts +6 -0
- package/dist/types/src/blueprints/database/functions/object-delete.d.ts.map +1 -0
- package/dist/types/src/blueprints/database/functions/object-update.d.ts +9 -0
- package/dist/types/src/blueprints/database/functions/object-update.d.ts.map +1 -0
- package/dist/types/src/blueprints/database/functions/query.d.ts +9 -0
- package/dist/types/src/blueprints/database/functions/query.d.ts.map +1 -0
- package/dist/types/src/blueprints/database/functions/relation-create.d.ts +9 -0
- package/dist/types/src/blueprints/database/functions/relation-create.d.ts.map +1 -0
- package/dist/types/src/blueprints/database/functions/relation-delete.d.ts +6 -0
- package/dist/types/src/blueprints/database/functions/relation-delete.d.ts.map +1 -0
- package/dist/types/src/blueprints/database/functions/schema-add.d.ts +7 -0
- package/dist/types/src/blueprints/database/functions/schema-add.d.ts.map +1 -0
- package/dist/types/src/blueprints/database/functions/schema-list.d.ts +5 -0
- package/dist/types/src/blueprints/database/functions/schema-list.d.ts.map +1 -0
- package/dist/types/src/blueprints/database/functions/tag-add.d.ts +7 -0
- package/dist/types/src/blueprints/database/functions/tag-add.d.ts.map +1 -0
- package/dist/types/src/blueprints/database/functions/tag-remove.d.ts +7 -0
- package/dist/types/src/blueprints/database/functions/tag-remove.d.ts.map +1 -0
- package/dist/types/src/blueprints/database/index.d.ts +3 -0
- package/dist/types/src/blueprints/database/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/design/blueprint.d.ts +4 -0
- package/dist/types/src/blueprints/design/blueprint.d.ts.map +1 -0
- package/dist/types/src/blueprints/design/blueprint.test.d.ts +2 -0
- package/dist/types/src/blueprints/design/blueprint.test.d.ts.map +1 -0
- package/dist/types/src/blueprints/design/index.d.ts +1 -2
- package/dist/types/src/blueprints/design/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/discord/blueprint.d.ts +4 -0
- package/dist/types/src/blueprints/discord/blueprint.d.ts.map +1 -0
- package/dist/types/src/{functions/discord → blueprints/discord/functions}/fetch-messages.d.ts +1 -1
- package/dist/types/src/blueprints/discord/functions/fetch-messages.d.ts.map +1 -0
- package/dist/types/src/blueprints/discord/functions/fetch-messages.test.d.ts.map +1 -0
- package/dist/types/src/{functions/discord → blueprints/discord/functions}/index.d.ts +4 -4
- package/dist/types/src/blueprints/discord/functions/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/discord/index.d.ts +1 -2
- package/dist/types/src/blueprints/discord/index.d.ts.map +1 -1
- package/dist/types/src/{functions/github → blueprints/github/functions}/fetch-prs.d.ts +1 -1
- package/dist/types/src/blueprints/github/functions/fetch-prs.d.ts.map +1 -0
- package/dist/types/src/blueprints/github/functions/index.d.ts +7 -0
- package/dist/types/src/blueprints/github/functions/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/github/index.d.ts +1 -0
- package/dist/types/src/blueprints/github/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/index.d.ts +10 -6
- package/dist/types/src/blueprints/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/linear/blueprint.d.ts +4 -0
- package/dist/types/src/blueprints/linear/blueprint.d.ts.map +1 -0
- package/dist/types/src/blueprints/linear/functions/index.d.ts +9 -0
- package/dist/types/src/blueprints/linear/functions/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/linear/functions/linear.test.d.ts.map +1 -0
- package/dist/types/src/{functions/linear → blueprints/linear/functions}/sync-issues.d.ts +2 -2
- package/dist/types/src/blueprints/linear/functions/sync-issues.d.ts.map +1 -0
- package/dist/types/src/blueprints/linear/index.d.ts +1 -2
- package/dist/types/src/blueprints/linear/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/markdown/blueprint.d.ts +4 -0
- package/dist/types/src/blueprints/markdown/blueprint.d.ts.map +1 -0
- package/dist/types/src/{functions/research/create-document.d.ts → blueprints/markdown/functions/create.d.ts} +2 -3
- package/dist/types/src/blueprints/markdown/functions/create.d.ts.map +1 -0
- package/dist/types/src/blueprints/markdown/functions/index.d.ts +30 -0
- package/dist/types/src/blueprints/markdown/functions/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/markdown/functions/read.d.ts +14 -0
- package/dist/types/src/blueprints/markdown/functions/read.d.ts.map +1 -0
- package/dist/types/src/blueprints/markdown/functions/update.d.ts +13 -0
- package/dist/types/src/blueprints/markdown/functions/update.d.ts.map +1 -0
- package/dist/types/src/blueprints/markdown/index.d.ts +3 -0
- package/dist/types/src/blueprints/markdown/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/planning/blueprint.d.ts +4 -0
- package/dist/types/src/blueprints/planning/blueprint.d.ts.map +1 -0
- package/dist/types/src/blueprints/planning/functions/index.d.ts +10 -0
- package/dist/types/src/blueprints/planning/functions/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/planning/functions/update-tasks.d.ts +9 -0
- package/dist/types/src/blueprints/planning/functions/update-tasks.d.ts.map +1 -0
- package/dist/types/src/blueprints/planning/index.d.ts +1 -2
- package/dist/types/src/blueprints/planning/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/planning-old/blueprint.d.ts +4 -0
- package/dist/types/src/blueprints/planning-old/blueprint.d.ts.map +1 -0
- package/dist/types/src/blueprints/planning-old/blueprint.test.d.ts +2 -0
- package/dist/types/src/blueprints/planning-old/blueprint.test.d.ts.map +1 -0
- package/dist/types/src/blueprints/planning-old/functions/index.d.ts +29 -0
- package/dist/types/src/blueprints/planning-old/functions/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/planning-old/functions/read.d.ts +14 -0
- package/dist/types/src/blueprints/planning-old/functions/read.d.ts.map +1 -0
- package/dist/types/src/blueprints/planning-old/functions/task-list.d.ts.map +1 -0
- package/dist/types/src/blueprints/planning-old/functions/task-list.test.d.ts.map +1 -0
- package/dist/types/src/blueprints/planning-old/functions/update.d.ts +16 -0
- package/dist/types/src/blueprints/planning-old/functions/update.d.ts.map +1 -0
- package/dist/types/src/blueprints/planning-old/index.d.ts +2 -0
- package/dist/types/src/blueprints/planning-old/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/project/blueprint.d.ts +4 -0
- package/dist/types/src/blueprints/project/blueprint.d.ts.map +1 -0
- package/dist/types/src/blueprints/project/blueprint.test.d.ts +2 -0
- package/dist/types/src/blueprints/project/blueprint.test.d.ts.map +1 -0
- package/dist/types/src/blueprints/project/functions/add-artifact.d.ts +7 -0
- package/dist/types/src/blueprints/project/functions/add-artifact.d.ts.map +1 -0
- package/dist/types/src/blueprints/project/functions/agent.d.ts +62 -0
- package/dist/types/src/blueprints/project/functions/agent.d.ts.map +1 -0
- package/dist/types/src/blueprints/project/functions/get-context.d.ts +13 -0
- package/dist/types/src/blueprints/project/functions/get-context.d.ts.map +1 -0
- package/dist/types/src/blueprints/project/functions/index.d.ts +133 -0
- package/dist/types/src/blueprints/project/functions/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/project/functions/qualifier.d.ts +60 -0
- package/dist/types/src/blueprints/project/functions/qualifier.d.ts.map +1 -0
- package/dist/types/src/blueprints/project/index.d.ts +3 -0
- package/dist/types/src/blueprints/project/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/research/blueprint.d.ts +4 -0
- package/dist/types/src/blueprints/research/blueprint.d.ts.map +1 -0
- package/dist/types/src/blueprints/research/blueprint.test.d.ts +2 -0
- package/dist/types/src/blueprints/research/blueprint.test.d.ts.map +1 -0
- package/dist/types/src/blueprints/research/functions/document-create.d.ts +10 -0
- package/dist/types/src/blueprints/research/functions/document-create.d.ts.map +1 -0
- package/dist/types/src/blueprints/research/functions/index.d.ts +19 -0
- package/dist/types/src/blueprints/research/functions/index.d.ts.map +1 -0
- package/dist/types/src/{functions/research → blueprints/research/functions}/research.d.ts +4 -3
- package/dist/types/src/blueprints/research/functions/research.d.ts.map +1 -0
- package/dist/types/src/blueprints/research/functions/research.test.d.ts.map +1 -0
- package/dist/types/src/blueprints/research/index.d.ts +2 -2
- package/dist/types/src/blueprints/research/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/research/types/ResearchGraph.d.ts +18 -0
- package/dist/types/src/blueprints/research/types/ResearchGraph.d.ts.map +1 -0
- package/dist/types/src/blueprints/research/types/index.d.ts +7 -0
- package/dist/types/src/blueprints/research/types/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/testing.d.ts +18 -4
- package/dist/types/src/blueprints/testing.d.ts.map +1 -1
- package/dist/types/src/blueprints/websearch/blueprint.d.ts +4 -0
- package/dist/types/src/blueprints/websearch/blueprint.d.ts.map +1 -0
- package/dist/types/src/blueprints/websearch/index.d.ts +2 -3
- package/dist/types/src/blueprints/websearch/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/websearch/{websearch-toolkit.d.ts → toolkit.d.ts} +2 -1
- package/dist/types/src/blueprints/websearch/toolkit.d.ts.map +1 -0
- package/dist/types/src/{functions/research → crud}/graph.d.ts +14 -11
- package/dist/types/src/crud/graph.d.ts.map +1 -0
- package/dist/types/src/crud/graph.test.d.ts.map +1 -0
- package/dist/types/src/crud/index.d.ts +2 -0
- package/dist/types/src/crud/index.d.ts.map +1 -0
- package/dist/types/src/functions/agent/index.d.ts +84 -4
- package/dist/types/src/functions/agent/index.d.ts.map +1 -1
- package/dist/types/src/functions/agent/prompt.d.ts +81 -8
- package/dist/types/src/functions/agent/prompt.d.ts.map +1 -1
- package/dist/types/src/functions/entity-extraction/entity-extraction.d.ts +142 -136
- package/dist/types/src/functions/entity-extraction/entity-extraction.d.ts.map +1 -1
- package/dist/types/src/functions/entity-extraction/index.d.ts +144 -139
- package/dist/types/src/functions/entity-extraction/index.d.ts.map +1 -1
- package/dist/types/src/functions/exa/data/exa-search-1748337321991.d.ts.map +1 -0
- package/dist/types/src/functions/exa/data/exa-search-1748337331526.d.ts.map +1 -0
- package/dist/types/src/functions/exa/data/exa-search-1748337344119.d.ts.map +1 -0
- package/dist/types/src/functions/exa/data/index.d.ts.map +1 -0
- package/dist/types/src/functions/exa/exa.d.ts +1 -1
- package/dist/types/src/functions/exa/index.d.ts +8 -2
- package/dist/types/src/functions/exa/index.d.ts.map +1 -1
- package/dist/types/src/functions/exa/mock.d.ts +1 -1
- package/dist/types/src/functions/index.d.ts +1 -5
- package/dist/types/src/functions/index.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +3 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/sync/sync.d.ts +3 -3
- package/dist/types/src/sync/sync.d.ts.map +1 -1
- package/dist/types/src/testing/index.d.ts +2 -1
- package/dist/types/src/testing/index.d.ts.map +1 -1
- package/dist/types/src/testing/plugins.d.ts +19 -0
- package/dist/types/src/testing/plugins.d.ts.map +1 -0
- package/dist/types/src/toolkits/WebToolkit.d.ts +38 -0
- package/dist/types/src/toolkits/WebToolkit.d.ts.map +1 -0
- package/dist/types/src/toolkits/index.d.ts +2 -0
- package/dist/types/src/toolkits/index.d.ts.map +1 -0
- package/dist/types/src/types/Chat.d.ts +31 -0
- package/dist/types/src/types/Chat.d.ts.map +1 -0
- package/dist/types/src/types/Plan.d.ts +77 -0
- package/dist/types/src/types/Plan.d.ts.map +1 -0
- package/dist/types/src/types/Project.d.ts +67 -0
- package/dist/types/src/types/Project.d.ts.map +1 -0
- package/dist/types/src/types/index.d.ts +4 -0
- package/dist/types/src/types/index.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +49 -38
- package/src/blueprints/browser/blueprint.conversations.json +1 -0
- package/src/blueprints/browser/blueprint.test.ts +70 -0
- package/src/blueprints/browser/blueprint.ts +41 -0
- package/src/blueprints/browser/index.ts +5 -0
- package/src/blueprints/database/blueprint.conversations.json +1 -0
- package/src/blueprints/database/blueprint.test.ts +321 -0
- package/src/blueprints/database/blueprint.ts +39 -0
- package/src/blueprints/database/functions/context-add.ts +35 -0
- package/src/blueprints/database/functions/context-remove.ts +35 -0
- package/src/blueprints/database/functions/index.ts +33 -0
- package/src/blueprints/database/functions/load.ts +31 -0
- package/src/blueprints/database/functions/object-create.ts +35 -0
- package/src/blueprints/database/functions/object-delete.ts +27 -0
- package/src/blueprints/database/functions/object-update.ts +32 -0
- package/src/blueprints/database/functions/query.ts +126 -0
- package/src/blueprints/database/functions/relation-create.ts +47 -0
- package/src/blueprints/database/functions/relation-delete.ts +28 -0
- package/src/blueprints/database/functions/schema-add.ts +40 -0
- package/src/blueprints/database/functions/schema-list.ts +34 -0
- package/src/blueprints/database/functions/tag-add.ts +31 -0
- package/src/blueprints/database/functions/tag-remove.ts +30 -0
- package/src/blueprints/database/index.ts +6 -0
- package/src/blueprints/design/{design-blueprint.test.ts → blueprint.test.ts} +25 -37
- package/src/blueprints/design/blueprint.ts +46 -0
- package/src/blueprints/design/index.ts +1 -3
- package/src/blueprints/discord/blueprint.ts +46 -0
- package/src/{functions/discord → blueprints/discord/functions}/fetch-messages.test.ts +10 -14
- package/src/{functions/discord → blueprints/discord/functions}/fetch-messages.ts +11 -10
- package/src/blueprints/discord/functions/index.ts +9 -0
- package/src/blueprints/discord/index.ts +1 -3
- package/src/{functions/github → blueprints/github/functions}/fetch-prs.ts +3 -2
- package/src/blueprints/github/functions/index.ts +9 -0
- package/src/blueprints/github/index.ts +3 -0
- package/src/blueprints/index.ts +10 -6
- package/src/blueprints/linear/blueprint.ts +47 -0
- package/src/blueprints/linear/functions/index.ts +9 -0
- package/src/blueprints/linear/functions/linear.test.ts +58 -0
- package/src/{functions/linear → blueprints/linear/functions}/sync-issues.ts +17 -15
- package/src/blueprints/linear/index.ts +1 -3
- package/src/blueprints/markdown/blueprint.ts +38 -0
- package/src/blueprints/markdown/functions/create.ts +29 -0
- package/src/blueprints/markdown/functions/index.ts +13 -0
- package/src/blueprints/markdown/functions/read.ts +32 -0
- package/src/{functions/document → blueprints/markdown/functions}/update.ts +9 -7
- package/src/blueprints/markdown/index.ts +6 -0
- package/src/blueprints/planning/blueprint.ts +28 -0
- package/src/blueprints/planning/functions/index.ts +9 -0
- package/src/blueprints/planning/functions/update-tasks.ts +168 -0
- package/src/blueprints/planning/index.ts +2 -4
- package/src/blueprints/{planning/planning-blueprint.test.ts → planning-old/blueprint.test.ts} +25 -32
- package/src/blueprints/{planning/planning-blueprint.ts → planning-old/blueprint.ts} +24 -12
- package/src/blueprints/planning-old/functions/index.ts +11 -0
- package/src/{functions/tasks → blueprints/planning-old/functions}/read.ts +6 -6
- package/src/{functions/tasks → blueprints/planning-old/functions}/update.ts +6 -6
- package/src/blueprints/planning-old/index.ts +5 -0
- package/src/blueprints/project/blueprint.test.ts +579 -0
- package/src/blueprints/project/blueprint.ts +68 -0
- package/src/blueprints/project/functions/add-artifact.ts +41 -0
- package/src/blueprints/project/functions/agent.ts +72 -0
- package/src/blueprints/project/functions/get-context.ts +63 -0
- package/src/blueprints/project/functions/index.ts +15 -0
- package/src/blueprints/project/functions/qualifier.ts +96 -0
- package/src/blueprints/project/index.ts +6 -0
- package/src/blueprints/research/blueprint.ts +65 -0
- package/src/blueprints/research/functions/document-create.ts +73 -0
- package/src/blueprints/research/functions/index.ts +11 -0
- package/src/{functions/research/instructions-research.tpl → blueprints/research/functions/research-instructions.tpl} +14 -6
- package/src/blueprints/research/functions/research.conversations.json +1 -0
- package/src/blueprints/research/functions/research.test.ts +149 -0
- package/src/blueprints/research/functions/research.ts +175 -0
- package/src/blueprints/research/index.ts +2 -3
- package/src/blueprints/research/types/ResearchGraph.ts +49 -0
- package/src/blueprints/research/types/index.ts +32 -0
- package/src/blueprints/testing.ts +36 -5
- package/src/blueprints/websearch/blueprint.ts +32 -0
- package/src/blueprints/websearch/index.ts +2 -4
- package/src/crud/graph.test.ts +46 -0
- package/src/{functions/research → crud}/graph.ts +32 -40
- package/src/crud/index.ts +5 -0
- package/src/functions/READ_THIS.md +5 -0
- package/src/functions/agent/index.ts +4 -6
- package/src/functions/agent/prompt.ts +32 -25
- package/src/functions/entity-extraction/entity-extraction.conversations.json +1 -1
- package/src/functions/entity-extraction/entity-extraction.test.ts +17 -43
- package/src/functions/entity-extraction/entity-extraction.ts +54 -36
- package/src/functions/entity-extraction/index.ts +4 -4
- package/src/functions/exa/exa.ts +2 -2
- package/src/functions/exa/index.ts +7 -2
- package/src/functions/exa/mock.ts +1 -1
- package/src/functions/index.ts +1 -5
- package/src/index.ts +3 -1
- package/src/sync/sync.ts +38 -30
- package/src/testing/index.ts +2 -1
- package/src/testing/plugins.tsx +72 -0
- package/src/toolkits/WebToolkit.ts +33 -0
- package/src/toolkits/index.ts +5 -0
- package/src/types/Chat.ts +49 -0
- package/src/types/Plan.ts +107 -0
- package/src/types/Project.ts +196 -0
- package/src/types/index.ts +7 -0
- package/dist/lib/browser/index.mjs.map +0 -7
- package/dist/lib/browser/meta.json +0 -1
- package/dist/lib/node-esm/index.mjs +0 -2483
- package/dist/lib/node-esm/index.mjs.map +0 -7
- package/dist/lib/node-esm/meta.json +0 -1
- package/dist/types/src/blueprints/design/design-blueprint.d.ts +0 -4
- package/dist/types/src/blueprints/design/design-blueprint.d.ts.map +0 -1
- package/dist/types/src/blueprints/design/design-blueprint.test.d.ts +0 -2
- package/dist/types/src/blueprints/design/design-blueprint.test.d.ts.map +0 -1
- package/dist/types/src/blueprints/discord/discord-blueprint.d.ts +0 -18
- package/dist/types/src/blueprints/discord/discord-blueprint.d.ts.map +0 -1
- package/dist/types/src/blueprints/linear/linear-blueprint.d.ts +0 -18
- package/dist/types/src/blueprints/linear/linear-blueprint.d.ts.map +0 -1
- package/dist/types/src/blueprints/planning/planning-blueprint.d.ts +0 -4
- package/dist/types/src/blueprints/planning/planning-blueprint.d.ts.map +0 -1
- package/dist/types/src/blueprints/planning/planning-blueprint.test.d.ts +0 -2
- package/dist/types/src/blueprints/planning/planning-blueprint.test.d.ts.map +0 -1
- package/dist/types/src/blueprints/research/research-blueprint.d.ts +0 -4
- package/dist/types/src/blueprints/research/research-blueprint.d.ts.map +0 -1
- package/dist/types/src/blueprints/research/research-blueprint.test.d.ts +0 -2
- package/dist/types/src/blueprints/research/research-blueprint.test.d.ts.map +0 -1
- package/dist/types/src/blueprints/websearch/websearch-blueprint.d.ts +0 -4
- package/dist/types/src/blueprints/websearch/websearch-blueprint.d.ts.map +0 -1
- package/dist/types/src/blueprints/websearch/websearch-toolkit.d.ts.map +0 -1
- package/dist/types/src/experimental/feed.test.d.ts +0 -2
- package/dist/types/src/experimental/feed.test.d.ts.map +0 -1
- package/dist/types/src/functions/discord/fetch-messages.d.ts.map +0 -1
- package/dist/types/src/functions/discord/fetch-messages.test.d.ts.map +0 -1
- package/dist/types/src/functions/discord/index.d.ts.map +0 -1
- package/dist/types/src/functions/document/index.d.ts +0 -12
- package/dist/types/src/functions/document/index.d.ts.map +0 -1
- package/dist/types/src/functions/document/read.d.ts +0 -7
- package/dist/types/src/functions/document/read.d.ts.map +0 -1
- package/dist/types/src/functions/document/update.d.ts +0 -6
- package/dist/types/src/functions/document/update.d.ts.map +0 -1
- package/dist/types/src/functions/github/fetch-prs.d.ts.map +0 -1
- package/dist/types/src/functions/linear/index.d.ts +0 -9
- package/dist/types/src/functions/linear/index.d.ts.map +0 -1
- package/dist/types/src/functions/linear/linear.test.d.ts.map +0 -1
- package/dist/types/src/functions/linear/sync-issues.d.ts.map +0 -1
- package/dist/types/src/functions/research/create-document.d.ts.map +0 -1
- package/dist/types/src/functions/research/graph.d.ts.map +0 -1
- package/dist/types/src/functions/research/graph.test.d.ts.map +0 -1
- package/dist/types/src/functions/research/index.d.ts +0 -19
- package/dist/types/src/functions/research/index.d.ts.map +0 -1
- package/dist/types/src/functions/research/research-graph.d.ts +0 -18
- package/dist/types/src/functions/research/research-graph.d.ts.map +0 -1
- package/dist/types/src/functions/research/research.d.ts.map +0 -1
- package/dist/types/src/functions/research/research.test.d.ts.map +0 -1
- package/dist/types/src/functions/research/types.d.ts +0 -384
- package/dist/types/src/functions/research/types.d.ts.map +0 -1
- package/dist/types/src/functions/tasks/index.d.ts +0 -15
- package/dist/types/src/functions/tasks/index.d.ts.map +0 -1
- package/dist/types/src/functions/tasks/read.d.ts +0 -7
- package/dist/types/src/functions/tasks/read.d.ts.map +0 -1
- package/dist/types/src/functions/tasks/task-list.d.ts.map +0 -1
- package/dist/types/src/functions/tasks/task-list.test.d.ts.map +0 -1
- package/dist/types/src/functions/tasks/update.d.ts +0 -9
- package/dist/types/src/functions/tasks/update.d.ts.map +0 -1
- package/dist/types/src/plugins.d.ts +0 -19
- package/dist/types/src/plugins.d.ts.map +0 -1
- package/dist/types/src/testing/data/exa-search-1748337321991.d.ts.map +0 -1
- package/dist/types/src/testing/data/exa-search-1748337331526.d.ts.map +0 -1
- package/dist/types/src/testing/data/exa-search-1748337344119.d.ts.map +0 -1
- package/dist/types/src/testing/data/index.d.ts.map +0 -1
- package/src/blueprints/design/design-blueprint.ts +0 -33
- package/src/blueprints/discord/discord-blueprint.ts +0 -34
- package/src/blueprints/linear/linear-blueprint.ts +0 -35
- package/src/blueprints/research/research-blueprint.ts +0 -45
- package/src/blueprints/websearch/websearch-blueprint.ts +0 -20
- package/src/experimental/feed.test.ts +0 -108
- package/src/functions/discord/index.ts +0 -9
- package/src/functions/document/index.ts +0 -11
- package/src/functions/document/read.ts +0 -29
- package/src/functions/linear/index.ts +0 -9
- package/src/functions/linear/linear.test.ts +0 -86
- package/src/functions/research/create-document.ts +0 -69
- package/src/functions/research/graph.test.ts +0 -69
- package/src/functions/research/index.ts +0 -15
- package/src/functions/research/research-graph.ts +0 -47
- package/src/functions/research/research.conversations.json +0 -10714
- package/src/functions/research/research.test.ts +0 -240
- package/src/functions/research/research.ts +0 -155
- package/src/functions/research/types.ts +0 -24
- package/src/functions/tasks/index.ts +0 -11
- package/src/plugins.tsx +0 -68
- /package/dist/types/src/{functions/discord → blueprints/discord/functions}/fetch-messages.test.d.ts +0 -0
- /package/dist/types/src/{functions/linear → blueprints/linear/functions}/linear.test.d.ts +0 -0
- /package/dist/types/src/{functions/tasks → blueprints/planning-old/functions}/task-list.d.ts +0 -0
- /package/dist/types/src/{functions/tasks → blueprints/planning-old/functions}/task-list.test.d.ts +0 -0
- /package/dist/types/src/{functions/research → blueprints/research/functions}/research.test.d.ts +0 -0
- /package/dist/types/src/{functions/research → crud}/graph.test.d.ts +0 -0
- /package/dist/types/src/{testing → functions/exa}/data/exa-search-1748337321991.d.ts +0 -0
- /package/dist/types/src/{testing → functions/exa}/data/exa-search-1748337331526.d.ts +0 -0
- /package/dist/types/src/{testing → functions/exa}/data/exa-search-1748337344119.d.ts +0 -0
- /package/dist/types/src/{testing → functions/exa}/data/index.d.ts +0 -0
- /package/src/{functions/tasks → blueprints/planning-old/functions}/task-list.test.ts +0 -0
- /package/src/{functions/tasks → blueprints/planning-old/functions}/task-list.ts +0 -0
- /package/src/blueprints/research/{research-blueprint.test.ts → blueprint.test.ts} +0 -0
- /package/src/blueprints/websearch/{websearch-toolkit.ts → toolkit.ts} +0 -0
- /package/src/{testing → functions/exa}/data/exa-search-1748337321991.ts +0 -0
- /package/src/{testing → functions/exa}/data/exa-search-1748337331526.ts +0 -0
- /package/src/{testing → functions/exa}/data/exa-search-1748337344119.ts +0 -0
- /package/src/{testing → functions/exa}/data/index.ts +0 -0
|
@@ -1,5 +1,85 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export declare const AgentFunctions: {
|
|
2
|
+
Prompt: import("@dxos/functions").FunctionDefinition<{
|
|
3
|
+
readonly prompt: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
4
|
+
readonly description?: string | undefined;
|
|
5
|
+
readonly name?: string | undefined;
|
|
6
|
+
readonly context: readonly any[];
|
|
7
|
+
readonly instructions: {
|
|
8
|
+
readonly source: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
9
|
+
readonly content: string;
|
|
10
|
+
}>;
|
|
11
|
+
readonly inputs?: readonly {
|
|
12
|
+
readonly function?: string | undefined;
|
|
13
|
+
readonly name: string;
|
|
14
|
+
readonly kind?: "function" | "value" | "pass-through" | "retriever" | "query" | "resolver" | "context" | "schema" | undefined;
|
|
15
|
+
readonly default?: any;
|
|
16
|
+
}[] | undefined;
|
|
17
|
+
};
|
|
18
|
+
readonly input: import("@dxos/echo/internal").JsonSchemaType;
|
|
19
|
+
readonly output: import("@dxos/echo/internal").JsonSchemaType;
|
|
20
|
+
readonly blueprints: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
21
|
+
readonly description?: string | undefined;
|
|
22
|
+
readonly name: string;
|
|
23
|
+
readonly key: string;
|
|
24
|
+
readonly instructions: {
|
|
25
|
+
readonly source: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
26
|
+
readonly content: string;
|
|
27
|
+
}>;
|
|
28
|
+
readonly inputs?: readonly {
|
|
29
|
+
readonly function?: string | undefined;
|
|
30
|
+
readonly name: string;
|
|
31
|
+
readonly kind?: "function" | "value" | "pass-through" | "retriever" | "query" | "resolver" | "context" | "schema" | undefined;
|
|
32
|
+
readonly default?: any;
|
|
33
|
+
}[] | undefined;
|
|
34
|
+
};
|
|
35
|
+
readonly tools: readonly (string & import("effect/Brand").Brand<"ToolId">)[];
|
|
36
|
+
readonly mcpServers?: readonly {
|
|
37
|
+
readonly url: string;
|
|
38
|
+
readonly protocol: "sse" | "http";
|
|
39
|
+
}[] | undefined;
|
|
40
|
+
}>[];
|
|
41
|
+
}>;
|
|
42
|
+
readonly model?: "@anthropic/claude-3-5-haiku-latest" | "@anthropic/claude-3-5-haiku-20241022" | "@anthropic/claude-3-5-sonnet-20241022" | "@anthropic/claude-haiku-4-5" | "@anthropic/claude-sonnet-4-0" | "@anthropic/claude-sonnet-4-5" | "@anthropic/claude-opus-4-0" | "@anthropic/claude-opus-4-5" | "@anthropic/claude-opus-4-6" | "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "@hf/nousresearch/hermes-2-pro-mistral-7b" | "@ollama/llama-3-1-nemotron-70b-instruct" | "@ollama/llama-3-1-nemotron-mini-4b-instruct" | "@ollama/llama-3-2-3b" | "@google/gemma-3-27b" | "@meta/llama-3.1-8b-instruct" | "@meta/llama-3.2-3b-instruct" | "ministral-3-14b-reasoning" | "openai/gpt-oss-20b" | "qwen2.5:14b" | "llama3.2:1b" | "llama3:70b" | "deepseek-r1:latest" | "@openai/gpt-4o" | "@openai/gpt-4o-mini" | "@openai/o1" | "@openai/o3" | "@openai/o3-mini" | undefined;
|
|
43
|
+
readonly input: any;
|
|
44
|
+
readonly systemPrompt?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
45
|
+
readonly description?: string | undefined;
|
|
46
|
+
readonly name?: string | undefined;
|
|
47
|
+
readonly context: readonly any[];
|
|
48
|
+
readonly instructions: {
|
|
49
|
+
readonly source: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
50
|
+
readonly content: string;
|
|
51
|
+
}>;
|
|
52
|
+
readonly inputs?: readonly {
|
|
53
|
+
readonly function?: string | undefined;
|
|
54
|
+
readonly name: string;
|
|
55
|
+
readonly kind?: "function" | "value" | "pass-through" | "retriever" | "query" | "resolver" | "context" | "schema" | undefined;
|
|
56
|
+
readonly default?: any;
|
|
57
|
+
}[] | undefined;
|
|
58
|
+
};
|
|
59
|
+
readonly input: import("@dxos/echo/internal").JsonSchemaType;
|
|
60
|
+
readonly output: import("@dxos/echo/internal").JsonSchemaType;
|
|
61
|
+
readonly blueprints: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
62
|
+
readonly description?: string | undefined;
|
|
63
|
+
readonly name: string;
|
|
64
|
+
readonly key: string;
|
|
65
|
+
readonly instructions: {
|
|
66
|
+
readonly source: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
67
|
+
readonly content: string;
|
|
68
|
+
}>;
|
|
69
|
+
readonly inputs?: readonly {
|
|
70
|
+
readonly function?: string | undefined;
|
|
71
|
+
readonly name: string;
|
|
72
|
+
readonly kind?: "function" | "value" | "pass-through" | "retriever" | "query" | "resolver" | "context" | "schema" | undefined;
|
|
73
|
+
readonly default?: any;
|
|
74
|
+
}[] | undefined;
|
|
75
|
+
};
|
|
76
|
+
readonly tools: readonly (string & import("effect/Brand").Brand<"ToolId">)[];
|
|
77
|
+
readonly mcpServers?: readonly {
|
|
78
|
+
readonly url: string;
|
|
79
|
+
readonly protocol: "sse" | "http";
|
|
80
|
+
}[] | undefined;
|
|
81
|
+
}>[];
|
|
82
|
+
}> | undefined;
|
|
83
|
+
}, any, import("@dxos/functions").FunctionServices>;
|
|
84
|
+
};
|
|
5
85
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/functions/agent/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/functions/agent/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,cAAc;;;;;;;;;;+BAGkf,CAAC;qCAA0C,CAAC;;iCAAkF,CAAC;oCAA6I,CAAC;;;;;;oCAAoW,CAAC;;;;;;;mCAAgW,CAAC;yCAA8C,CAAC;;qCAA0F,CAAC;wCAAiJ,CAAC;;;;mCAAgK,CAAC;;;;;;;;;;;;;;;;+BAAh5C,CAAC;qCAA0C,CAAC;;iCAAkF,CAAC;oCAA6I,CAAC;;;;;;oCAAoW,CAAC;;;;;;;mCAAgW,CAAC;yCAA8C,CAAC;;qCAA0F,CAAC;wCAAiJ,CAAC;;;;mCAAgK,CAAC;;;;;;;CAD55D,CAAC"}
|
|
@@ -1,11 +1,84 @@
|
|
|
1
|
-
import { Prompt } from '@dxos/blueprints';
|
|
2
1
|
declare const _default: import("@dxos/functions").FunctionDefinition<{
|
|
3
|
-
readonly prompt: import("@dxos/echo/internal").Ref<
|
|
4
|
-
|
|
5
|
-
readonly
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
readonly prompt: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
3
|
+
readonly description?: string | undefined;
|
|
4
|
+
readonly name?: string | undefined;
|
|
5
|
+
readonly context: readonly any[];
|
|
6
|
+
readonly instructions: {
|
|
7
|
+
readonly source: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
8
|
+
readonly content: string;
|
|
9
|
+
}>;
|
|
10
|
+
readonly inputs?: readonly {
|
|
11
|
+
readonly function?: string | undefined;
|
|
12
|
+
readonly name: string;
|
|
13
|
+
readonly kind?: "function" | "value" | "pass-through" | "retriever" | "query" | "resolver" | "context" | "schema" | undefined;
|
|
14
|
+
readonly default?: any;
|
|
15
|
+
}[] | undefined;
|
|
16
|
+
};
|
|
17
|
+
readonly input: import("@dxos/echo/internal").JsonSchemaType;
|
|
18
|
+
readonly output: import("@dxos/echo/internal").JsonSchemaType;
|
|
19
|
+
readonly blueprints: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
20
|
+
readonly description?: string | undefined;
|
|
21
|
+
readonly name: string;
|
|
22
|
+
readonly key: string;
|
|
23
|
+
readonly instructions: {
|
|
24
|
+
readonly source: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
25
|
+
readonly content: string;
|
|
26
|
+
}>;
|
|
27
|
+
readonly inputs?: readonly {
|
|
28
|
+
readonly function?: string | undefined;
|
|
29
|
+
readonly name: string;
|
|
30
|
+
readonly kind?: "function" | "value" | "pass-through" | "retriever" | "query" | "resolver" | "context" | "schema" | undefined;
|
|
31
|
+
readonly default?: any;
|
|
32
|
+
}[] | undefined;
|
|
33
|
+
};
|
|
34
|
+
readonly tools: readonly (string & import("effect/Brand").Brand<"ToolId">)[];
|
|
35
|
+
readonly mcpServers?: readonly {
|
|
36
|
+
readonly url: string;
|
|
37
|
+
readonly protocol: "sse" | "http";
|
|
38
|
+
}[] | undefined;
|
|
39
|
+
}>[];
|
|
40
|
+
}>;
|
|
41
|
+
readonly model?: "@anthropic/claude-3-5-haiku-latest" | "@anthropic/claude-3-5-haiku-20241022" | "@anthropic/claude-3-5-sonnet-20241022" | "@anthropic/claude-haiku-4-5" | "@anthropic/claude-sonnet-4-0" | "@anthropic/claude-sonnet-4-5" | "@anthropic/claude-opus-4-0" | "@anthropic/claude-opus-4-5" | "@anthropic/claude-opus-4-6" | "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b" | "@hf/nousresearch/hermes-2-pro-mistral-7b" | "@ollama/llama-3-1-nemotron-70b-instruct" | "@ollama/llama-3-1-nemotron-mini-4b-instruct" | "@ollama/llama-3-2-3b" | "@google/gemma-3-27b" | "@meta/llama-3.1-8b-instruct" | "@meta/llama-3.2-3b-instruct" | "ministral-3-14b-reasoning" | "openai/gpt-oss-20b" | "qwen2.5:14b" | "llama3.2:1b" | "llama3:70b" | "deepseek-r1:latest" | "@openai/gpt-4o" | "@openai/gpt-4o-mini" | "@openai/o1" | "@openai/o3" | "@openai/o3-mini" | undefined;
|
|
42
|
+
readonly input: any;
|
|
43
|
+
readonly systemPrompt?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
44
|
+
readonly description?: string | undefined;
|
|
45
|
+
readonly name?: string | undefined;
|
|
46
|
+
readonly context: readonly any[];
|
|
47
|
+
readonly instructions: {
|
|
48
|
+
readonly source: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
49
|
+
readonly content: string;
|
|
50
|
+
}>;
|
|
51
|
+
readonly inputs?: readonly {
|
|
52
|
+
readonly function?: string | undefined;
|
|
53
|
+
readonly name: string;
|
|
54
|
+
readonly kind?: "function" | "value" | "pass-through" | "retriever" | "query" | "resolver" | "context" | "schema" | undefined;
|
|
55
|
+
readonly default?: any;
|
|
56
|
+
}[] | undefined;
|
|
57
|
+
};
|
|
58
|
+
readonly input: import("@dxos/echo/internal").JsonSchemaType;
|
|
59
|
+
readonly output: import("@dxos/echo/internal").JsonSchemaType;
|
|
60
|
+
readonly blueprints: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
61
|
+
readonly description?: string | undefined;
|
|
62
|
+
readonly name: string;
|
|
63
|
+
readonly key: string;
|
|
64
|
+
readonly instructions: {
|
|
65
|
+
readonly source: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
66
|
+
readonly content: string;
|
|
67
|
+
}>;
|
|
68
|
+
readonly inputs?: readonly {
|
|
69
|
+
readonly function?: string | undefined;
|
|
70
|
+
readonly name: string;
|
|
71
|
+
readonly kind?: "function" | "value" | "pass-through" | "retriever" | "query" | "resolver" | "context" | "schema" | undefined;
|
|
72
|
+
readonly default?: any;
|
|
73
|
+
}[] | undefined;
|
|
74
|
+
};
|
|
75
|
+
readonly tools: readonly (string & import("effect/Brand").Brand<"ToolId">)[];
|
|
76
|
+
readonly mcpServers?: readonly {
|
|
77
|
+
readonly url: string;
|
|
78
|
+
readonly protocol: "sse" | "http";
|
|
79
|
+
}[] | undefined;
|
|
80
|
+
}>[];
|
|
81
|
+
}> | undefined;
|
|
82
|
+
}, any, import("@dxos/functions").FunctionServices>;
|
|
10
83
|
export default _default;
|
|
11
84
|
//# sourceMappingURL=prompt.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompt.d.ts","sourceRoot":"","sources":["../../../../../src/functions/agent/prompt.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"prompt.d.ts","sourceRoot":"","sources":["../../../../../src/functions/agent/prompt.ts"],"names":[],"mappings":";;;;;;;;;2BAiB+C,CAAC;iCAEtB,CAAC;;6BAGF,CAAC;gCAGnB,CAAC;;;;;;gCAYe,CAAC;;;;;;;+BAOG,CAAC;qCASxB,CAPF;;iCACmC,CAAC;oCAOhC,CAAC;;;;+BAIc,CAAC;;;;;;;;;;;;;;;;2BAzCyB,CAAC;iCAEtB,CAAC;;6BAGF,CAAC;gCAGnB,CAAC;;;;;;gCAYe,CAAC;;;;;;;+BAOG,CAAC;qCASxB,CAPF;;iCACmC,CAAC;oCAOhC,CAAC;;;;+BAIc,CAAC;;;;;;;AAvCtB,wBAwFG"}
|
|
@@ -1,49 +1,48 @@
|
|
|
1
|
+
import { Obj } from '@dxos/echo';
|
|
1
2
|
declare const _default: import("@dxos/functions").FunctionDefinition<{
|
|
2
3
|
readonly instructions?: string | undefined;
|
|
3
|
-
readonly source: import("@dxos/echo/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
readonly
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
id: string;
|
|
24
|
-
description?: string | undefined;
|
|
25
|
-
name?: string | undefined;
|
|
26
|
-
status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
27
|
-
image?: string | undefined;
|
|
28
|
-
website?: string | undefined;
|
|
29
|
-
location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
4
|
+
readonly source: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
5
|
+
readonly id: string;
|
|
6
|
+
readonly parentMessage?: string | undefined;
|
|
7
|
+
readonly created: string;
|
|
8
|
+
readonly sender: {
|
|
9
|
+
readonly name?: string | undefined;
|
|
10
|
+
readonly role?: "user" | "assistant" | "tool" | undefined;
|
|
11
|
+
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
12
|
+
readonly image?: string | undefined;
|
|
13
|
+
readonly fullName?: string | undefined;
|
|
14
|
+
readonly preferredName?: string | undefined;
|
|
15
|
+
readonly nickname?: string | undefined;
|
|
16
|
+
readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
17
|
+
readonly description?: string | undefined;
|
|
18
|
+
readonly name?: string | undefined;
|
|
19
|
+
readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
20
|
+
readonly image?: string | undefined;
|
|
21
|
+
readonly website?: string | undefined;
|
|
22
|
+
} & {
|
|
23
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
30
24
|
}> | undefined;
|
|
31
|
-
jobTitle?: string | undefined;
|
|
32
|
-
department?: string | undefined;
|
|
33
|
-
notes?: string | undefined;
|
|
34
|
-
emails?: {
|
|
25
|
+
readonly jobTitle?: string | undefined;
|
|
26
|
+
readonly department?: string | undefined;
|
|
27
|
+
readonly notes?: string | undefined;
|
|
28
|
+
readonly emails?: readonly {
|
|
35
29
|
readonly value: string;
|
|
36
30
|
readonly label?: string | undefined;
|
|
37
31
|
}[] | undefined;
|
|
38
|
-
identities?: {
|
|
32
|
+
readonly identities?: readonly {
|
|
39
33
|
readonly value: string;
|
|
40
34
|
readonly label?: string | undefined;
|
|
41
35
|
}[] | undefined;
|
|
42
|
-
phoneNumbers?: {
|
|
36
|
+
readonly phoneNumbers?: readonly {
|
|
43
37
|
readonly value: string;
|
|
44
38
|
readonly label?: string | undefined;
|
|
45
39
|
}[] | undefined;
|
|
46
|
-
|
|
40
|
+
readonly fields?: readonly {
|
|
41
|
+
readonly value: string;
|
|
42
|
+
readonly label: string;
|
|
43
|
+
readonly category?: string | undefined;
|
|
44
|
+
}[] | undefined;
|
|
45
|
+
readonly addresses?: readonly {
|
|
47
46
|
readonly value: {
|
|
48
47
|
readonly street?: string | undefined;
|
|
49
48
|
readonly extended?: string | undefined;
|
|
@@ -55,119 +54,126 @@ declare const _default: import("@dxos/functions").FunctionDefinition<{
|
|
|
55
54
|
};
|
|
56
55
|
readonly label?: string | undefined;
|
|
57
56
|
}[] | undefined;
|
|
58
|
-
urls?: {
|
|
57
|
+
readonly urls?: readonly {
|
|
59
58
|
readonly value: string;
|
|
60
59
|
readonly label?: string | undefined;
|
|
61
60
|
}[] | undefined;
|
|
62
|
-
birthday?: string | undefined;
|
|
63
|
-
|
|
61
|
+
readonly birthday?: string | undefined;
|
|
62
|
+
} & {
|
|
63
|
+
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
64
64
|
}> | undefined;
|
|
65
|
-
identityDid?: string | undefined;
|
|
66
|
-
identityKey?: string | undefined;
|
|
67
|
-
email?: string | undefined;
|
|
68
|
-
role?: "user" | "assistant" | "tool" | undefined;
|
|
65
|
+
readonly identityDid?: string | undefined;
|
|
66
|
+
readonly identityKey?: string | undefined;
|
|
67
|
+
readonly email?: string | undefined;
|
|
69
68
|
};
|
|
70
|
-
blocks: ({
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
pending?: boolean | undefined;
|
|
105
|
-
reasoningText?: string | undefined;
|
|
106
|
-
redactedText?: string | undefined;
|
|
107
|
-
signature?: string | undefined;
|
|
108
|
-
} | {
|
|
109
|
-
reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").Expando>;
|
|
110
|
-
_tag: "reference";
|
|
111
|
-
pending?: boolean | undefined;
|
|
112
|
-
} | {
|
|
113
|
-
_tag: "select";
|
|
114
|
-
pending?: boolean | undefined;
|
|
115
|
-
options: readonly string[];
|
|
116
|
-
} | {
|
|
117
|
-
_tag: "status";
|
|
118
|
-
pending?: boolean | undefined;
|
|
119
|
-
statusText: string;
|
|
120
|
-
} | {
|
|
121
|
-
_tag: "suggestion";
|
|
122
|
-
text: string;
|
|
123
|
-
pending?: boolean | undefined;
|
|
124
|
-
} | {
|
|
125
|
-
model?: string | undefined;
|
|
126
|
-
_tag: "summary";
|
|
127
|
-
pending?: boolean | undefined;
|
|
128
|
-
mimeType?: string | undefined;
|
|
129
|
-
message?: string | undefined;
|
|
130
|
-
usage?: {
|
|
69
|
+
readonly blocks: readonly ({
|
|
70
|
+
readonly pending?: boolean | undefined;
|
|
71
|
+
readonly text: string;
|
|
72
|
+
readonly mimeType?: string | undefined;
|
|
73
|
+
readonly disposition?: string | undefined;
|
|
74
|
+
readonly _tag: "text";
|
|
75
|
+
} | {
|
|
76
|
+
readonly pending?: boolean | undefined;
|
|
77
|
+
readonly _tag: "reasoning";
|
|
78
|
+
readonly reasoningText?: string | undefined;
|
|
79
|
+
readonly redactedText?: string | undefined;
|
|
80
|
+
readonly signature?: string | undefined;
|
|
81
|
+
} | {
|
|
82
|
+
readonly name: string;
|
|
83
|
+
readonly pending?: boolean | undefined;
|
|
84
|
+
readonly _tag: "toolCall";
|
|
85
|
+
readonly toolCallId: string;
|
|
86
|
+
readonly input: string;
|
|
87
|
+
readonly providerExecuted: boolean;
|
|
88
|
+
} | {
|
|
89
|
+
readonly name: string;
|
|
90
|
+
readonly pending?: boolean | undefined;
|
|
91
|
+
readonly _tag: "toolResult";
|
|
92
|
+
readonly toolCallId: string;
|
|
93
|
+
readonly providerExecuted: boolean;
|
|
94
|
+
readonly result?: string | undefined;
|
|
95
|
+
readonly error?: string | undefined;
|
|
96
|
+
} | {
|
|
97
|
+
readonly pending?: boolean | undefined;
|
|
98
|
+
readonly mimeType?: string | undefined;
|
|
99
|
+
readonly _tag: "stats";
|
|
100
|
+
readonly message?: string | undefined;
|
|
101
|
+
readonly model?: string | undefined;
|
|
102
|
+
readonly usage?: {
|
|
131
103
|
readonly inputTokens?: number | undefined;
|
|
132
104
|
readonly outputTokens?: number | undefined;
|
|
133
105
|
readonly totalTokens?: number | undefined;
|
|
134
106
|
} | undefined;
|
|
135
|
-
toolCalls?: number | undefined;
|
|
136
|
-
errors?: number | undefined;
|
|
137
|
-
duration?: number | undefined;
|
|
138
|
-
} | {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
pending?: boolean | undefined;
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
_tag: "transcript";
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
107
|
+
readonly toolCalls?: number | undefined;
|
|
108
|
+
readonly errors?: number | undefined;
|
|
109
|
+
readonly duration?: number | undefined;
|
|
110
|
+
} | {
|
|
111
|
+
readonly source?: {
|
|
112
|
+
readonly type: "base64";
|
|
113
|
+
readonly mediaType: string;
|
|
114
|
+
readonly data: string;
|
|
115
|
+
} | {
|
|
116
|
+
readonly type: "http";
|
|
117
|
+
readonly url: string;
|
|
118
|
+
} | undefined;
|
|
119
|
+
readonly id?: string | undefined;
|
|
120
|
+
readonly pending?: boolean | undefined;
|
|
121
|
+
readonly _tag: "image";
|
|
122
|
+
} | {
|
|
123
|
+
readonly name?: string | undefined;
|
|
124
|
+
readonly pending?: boolean | undefined;
|
|
125
|
+
readonly _tag: "file";
|
|
126
|
+
readonly mediaType?: string | undefined;
|
|
127
|
+
readonly url: string;
|
|
128
|
+
} | {
|
|
129
|
+
readonly pending?: boolean | undefined;
|
|
130
|
+
readonly _tag: "reference";
|
|
131
|
+
readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
132
|
+
} | {
|
|
133
|
+
readonly pending?: boolean | undefined;
|
|
134
|
+
readonly text: string;
|
|
135
|
+
readonly _tag: "transcript";
|
|
136
|
+
readonly started: string;
|
|
137
|
+
} | {
|
|
138
|
+
readonly pending?: boolean | undefined;
|
|
139
|
+
readonly _tag: "status";
|
|
140
|
+
readonly statusText: string;
|
|
141
|
+
} | {
|
|
142
|
+
readonly pending?: boolean | undefined;
|
|
143
|
+
readonly text: string;
|
|
144
|
+
readonly _tag: "suggestion";
|
|
145
|
+
} | {
|
|
146
|
+
readonly pending?: boolean | undefined;
|
|
147
|
+
readonly _tag: "select";
|
|
148
|
+
readonly options: string[];
|
|
149
|
+
} | {
|
|
150
|
+
readonly version: unknown;
|
|
151
|
+
readonly pending?: boolean | undefined;
|
|
152
|
+
readonly _tag: "anchor";
|
|
153
|
+
readonly objectId: string;
|
|
154
|
+
} | {
|
|
155
|
+
readonly pending?: boolean | undefined;
|
|
156
|
+
readonly text: string;
|
|
157
|
+
readonly _tag: "proposal";
|
|
158
|
+
} | {
|
|
159
|
+
readonly pending?: boolean | undefined;
|
|
160
|
+
readonly _tag: "summary";
|
|
161
|
+
readonly content: string;
|
|
162
|
+
} | {
|
|
163
|
+
readonly pending?: boolean | undefined;
|
|
164
|
+
readonly _tag: "toolkit";
|
|
165
|
+
} | {
|
|
166
|
+
readonly pending?: boolean | undefined;
|
|
167
|
+
readonly disposition?: string | undefined;
|
|
168
|
+
readonly _tag: "json";
|
|
169
|
+
readonly data: string;
|
|
167
170
|
})[];
|
|
171
|
+
readonly properties?: {
|
|
172
|
+
readonly [x: string]: any;
|
|
173
|
+
} | undefined;
|
|
168
174
|
};
|
|
169
175
|
}, {
|
|
170
|
-
readonly entities?: readonly (import("@dxos/echo/
|
|
171
|
-
}>;
|
|
176
|
+
readonly entities?: readonly (import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown)[] | undefined;
|
|
177
|
+
}, import("@dxos/functions").FunctionServices>;
|
|
172
178
|
export default _default;
|
|
173
179
|
//# sourceMappingURL=entity-extraction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-extraction.d.ts","sourceRoot":"","sources":["../../../../../src/functions/entity-extraction/entity-extraction.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"entity-extraction.d.ts","sourceRoot":"","sources":["../../../../../src/functions/entity-extraction/entity-extraction.ts"],"names":[],"mappings":"AAYA,OAAO,EAAoB,GAAG,EAAO,MAAM,YAAY,CAAC;;;;;;;;yBAA7B,CAAC;yBACd,CAAC;4BACmB,CAAC;8BAGR,CAAC;iCAAmD,CAAC;sCAGzE,CAAC;iCACC,CAAC;qCAAuD,CAAC;wCAK1B,CAAC;iCACd,CAAC;mCAEpB,CAAC;kCAG0B,CAAC;oCACxB,CAAC;;qCACU,CAAC;;iCAKX,CAAC;mCACO,CAAC;8BAInB,CAAC;+BACmB,CAAC;;kCACqB,CAAC;;mCAEhC,CAAC;;kCAEiB,CAAC;;qCAEG,CAAC;;kCAG7B,CAAN;;+BACQ,CAAT;;;qCAGS,CAAH;;kCAAiF,CAAC;;uCAK7E,CAAZ;yCAA2D,CAAC;yCACpC,CAAC;uCACb,CAAV;2CAA6D,CAAC;oDAEvC,CAAC;wCAElB,CAAN;;kCAGwB,CAAC;;6BAEjB,CAAV;;kCAAmF,CAAC;;iCAEvD,CAAC;;iCAER,CAAC;;gCAGkB,CAAC;gCAKpC,CAAA;0BAC6B,CAAC;;;4BAIzB,CAAC;;6BACyD,CAAC;gCAEhE,CAAH;;;4BAEkD,CAAC;;kCACkB,CAAC;iCAItE,CAAC;8BAGsC,CAAC;;;4BACvB,CAAC;;;;;;;4BASd,CAAC;;;;2BAEK,CAAC;0BAA4C,CAAC;;4BACL,CAAC;6BAGhC,CAAC;;4BAEf,CAAC;0BAGW,CAAC;0BACH,CAAC;oCAAoC,CAAC;qCAGzC,CAAC;oCAGI,CAAC;;8BAKF,CAAA;2BACb,CAAC;6BACyB,CAAC;;2BACjB,CAAC;;;;;;;;uBAOD,CAAC;4BAGR,CAAP;;;yBACS,CAAJ;4BACoB,CAAC;;8BAEuC,CAAC;;;4BAGhD,CAAC;;;;4BAShB,CAAA;;;;;4BAOuB,CAAC;;;;4BAOO,CAAC;;;;4BAA6H,CAAC;;;;;4BAAiK,CAAC;;;;4BAA6H,CAAC;;;;4BAA2H,CAAC;;;;4BAA6H,CAAC;;;4BAA2F,CAAC;gCAAmD,CAAC;;;;;;;;;;;AA9J90B,wBAgFG"}
|