@dxos/assistant-toolkit 0.8.4-main.c85a9c8dae → 0.8.4-main.dfabb4ec29
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/add-artifact-ZUJ5DMSY.mjs +30 -0
- package/dist/lib/neutral/add-artifact-ZUJ5DMSY.mjs.map +7 -0
- package/dist/lib/neutral/agent-5NIKAYUK.mjs +65 -0
- package/dist/lib/neutral/agent-5NIKAYUK.mjs.map +7 -0
- package/dist/lib/neutral/chunk-246ACKSH.mjs +100 -0
- package/dist/lib/neutral/chunk-246ACKSH.mjs.map +7 -0
- package/dist/lib/neutral/chunk-EJAQUAKM.mjs +73 -0
- package/dist/lib/neutral/chunk-EJAQUAKM.mjs.map +7 -0
- package/dist/lib/neutral/chunk-FIGO6CA6.mjs +140 -0
- package/dist/lib/neutral/chunk-FIGO6CA6.mjs.map +7 -0
- package/dist/lib/neutral/chunk-GV66MKAQ.mjs +60 -0
- package/dist/lib/neutral/chunk-GV66MKAQ.mjs.map +7 -0
- package/dist/lib/neutral/chunk-IKBIORQX.mjs +332 -0
- package/dist/lib/neutral/chunk-IKBIORQX.mjs.map +7 -0
- package/dist/lib/neutral/chunk-KGU725LW.mjs +29 -0
- package/dist/lib/neutral/chunk-KGU725LW.mjs.map +7 -0
- package/dist/lib/neutral/chunk-NR3GTWRC.mjs +53 -0
- package/dist/lib/neutral/chunk-NR3GTWRC.mjs.map +7 -0
- package/dist/lib/neutral/chunk-P4ZMYO4K.mjs +294 -0
- package/dist/lib/neutral/chunk-P4ZMYO4K.mjs.map +7 -0
- package/dist/lib/neutral/chunk-QO5SU37C.mjs +70 -0
- package/dist/lib/neutral/chunk-QO5SU37C.mjs.map +7 -0
- package/dist/lib/neutral/chunk-ROMZO4CB.mjs +108 -0
- package/dist/lib/neutral/chunk-ROMZO4CB.mjs.map +7 -0
- package/dist/lib/neutral/chunk-TO5IX24K.mjs +67 -0
- package/dist/lib/neutral/chunk-TO5IX24K.mjs.map +7 -0
- package/dist/lib/neutral/chunk-WLR3BGO4.mjs +25 -0
- package/dist/lib/neutral/chunk-WLR3BGO4.mjs.map +7 -0
- package/dist/lib/neutral/chunk-XUF53B6B.mjs +75 -0
- package/dist/lib/neutral/chunk-XUF53B6B.mjs.map +7 -0
- package/dist/lib/neutral/chunk-ZFXLTBZG.mjs +73 -0
- package/dist/lib/neutral/chunk-ZFXLTBZG.mjs.map +7 -0
- package/dist/lib/neutral/context-add-VB7AOY3G.mjs +22 -0
- package/dist/lib/neutral/context-add-VB7AOY3G.mjs.map +7 -0
- package/dist/lib/neutral/context-remove-VCM3VPSO.mjs +22 -0
- package/dist/lib/neutral/context-remove-VCM3VPSO.mjs.map +7 -0
- package/dist/lib/neutral/create-project-EIF4OJMY.mjs +35 -0
- package/dist/lib/neutral/create-project-EIF4OJMY.mjs.map +7 -0
- package/dist/lib/neutral/delete-J3PMWP7Z.mjs +19 -0
- package/dist/lib/neutral/delete-J3PMWP7Z.mjs.map +7 -0
- package/dist/lib/neutral/enable-blueprints-LBDZH2CY.mjs +47 -0
- package/dist/lib/neutral/enable-blueprints-LBDZH2CY.mjs.map +7 -0
- package/dist/lib/neutral/fetch-KHMHV7JR.mjs +16 -0
- package/dist/lib/neutral/fetch-KHMHV7JR.mjs.map +7 -0
- package/dist/lib/neutral/fetch-messages-QOBBCTGC.mjs +139 -0
- package/dist/lib/neutral/fetch-messages-QOBBCTGC.mjs.map +7 -0
- package/dist/lib/neutral/get-context-TN7X7U2H.mjs +35 -0
- package/dist/lib/neutral/get-context-TN7X7U2H.mjs.map +7 -0
- package/dist/lib/neutral/index.mjs +581 -3293
- package/dist/lib/neutral/index.mjs.map +4 -4
- package/dist/lib/neutral/load-ALP3TK2E.mjs +17 -0
- package/dist/lib/neutral/load-ALP3TK2E.mjs.map +7 -0
- package/dist/lib/neutral/meta.json +1 -1
- package/dist/lib/neutral/object-create-Z57Y3X6Y.mjs +35 -0
- package/dist/lib/neutral/object-create-Z57Y3X6Y.mjs.map +7 -0
- package/dist/lib/neutral/object-delete-X53LS37B.mjs +18 -0
- package/dist/lib/neutral/object-delete-X53LS37B.mjs.map +7 -0
- package/dist/lib/neutral/object-update-GVKSBR7T.mjs +28 -0
- package/dist/lib/neutral/object-update-GVKSBR7T.mjs.map +7 -0
- package/dist/lib/neutral/project-HPHTZ2CI.mjs +23 -0
- package/dist/lib/neutral/project-HPHTZ2CI.mjs.map +7 -0
- package/dist/lib/neutral/project-rules-IVDHKSKI.mjs +78 -0
- package/dist/lib/neutral/project-rules-IVDHKSKI.mjs.map +7 -0
- package/dist/lib/neutral/prompt-Y7NN7M5D.mjs +170 -0
- package/dist/lib/neutral/prompt-Y7NN7M5D.mjs.map +7 -0
- package/dist/lib/neutral/qualifier-VDOY5CWU.mjs +88 -0
- package/dist/lib/neutral/qualifier-VDOY5CWU.mjs.map +7 -0
- package/dist/lib/neutral/query-PPJU5622.mjs +70 -0
- package/dist/lib/neutral/query-PPJU5622.mjs.map +7 -0
- package/dist/lib/neutral/query-U56GNEV6.mjs +32 -0
- package/dist/lib/neutral/query-U56GNEV6.mjs.map +7 -0
- package/dist/lib/neutral/query-blueprints-KXADGHSA.mjs +16 -0
- package/dist/lib/neutral/query-blueprints-KXADGHSA.mjs.map +7 -0
- package/dist/lib/neutral/relation-create-XJ2IX6X3.mjs +34 -0
- package/dist/lib/neutral/relation-create-XJ2IX6X3.mjs.map +7 -0
- package/dist/lib/neutral/relation-delete-EP4KXAFL.mjs +18 -0
- package/dist/lib/neutral/relation-delete-EP4KXAFL.mjs.map +7 -0
- package/dist/lib/neutral/save-GWAPLT3Z.mjs +23 -0
- package/dist/lib/neutral/save-GWAPLT3Z.mjs.map +7 -0
- package/dist/lib/neutral/schema-add-Z5CY6P24.mjs +24 -0
- package/dist/lib/neutral/schema-add-Z5CY6P24.mjs.map +7 -0
- package/dist/lib/neutral/schema-list-W326VPVX.mjs +38 -0
- package/dist/lib/neutral/schema-list-W326VPVX.mjs.map +7 -0
- package/dist/lib/neutral/sync-issues-4YE5XAK5.mjs +167 -0
- package/dist/lib/neutral/sync-issues-4YE5XAK5.mjs.map +7 -0
- package/dist/lib/neutral/sync-triggers-CDMJVW6E.mjs +136 -0
- package/dist/lib/neutral/sync-triggers-CDMJVW6E.mjs.map +7 -0
- package/dist/lib/neutral/tag-add-VNIIOVJA.mjs +19 -0
- package/dist/lib/neutral/tag-add-VNIIOVJA.mjs.map +7 -0
- package/dist/lib/neutral/tag-remove-6R2R27W3.mjs +19 -0
- package/dist/lib/neutral/tag-remove-6R2R27W3.mjs.map +7 -0
- package/dist/lib/neutral/testing/index.mjs +9 -14
- package/dist/lib/neutral/testing/index.mjs.map +3 -3
- package/dist/lib/neutral/update-blueprints-N2AK2VUR.mjs +16 -0
- package/dist/lib/neutral/update-blueprints-N2AK2VUR.mjs.map +7 -0
- package/dist/lib/neutral/update-tasks-H7SWIFQL.mjs +46 -0
- package/dist/lib/neutral/update-tasks-H7SWIFQL.mjs.map +7 -0
- package/dist/types/src/blueprints/automation/blueprint.d.ts +4 -0
- package/dist/types/src/blueprints/automation/blueprint.d.ts.map +1 -0
- package/dist/types/src/blueprints/automation/index.d.ts +2 -0
- package/dist/types/src/blueprints/automation/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/blueprint-manager/blueprint.d.ts +4 -0
- package/dist/types/src/blueprints/blueprint-manager/blueprint.d.ts.map +1 -0
- package/dist/types/src/blueprints/blueprint-manager/blueprint.test.d.ts.map +1 -0
- package/dist/types/src/blueprints/blueprint-manager/functions/definitions.d.ts +63 -0
- package/dist/types/src/blueprints/blueprint-manager/functions/definitions.d.ts.map +1 -0
- package/dist/types/src/blueprints/blueprint-manager/functions/enable-blueprints.d.ts +37 -0
- package/dist/types/src/blueprints/blueprint-manager/functions/enable-blueprints.d.ts.map +1 -0
- package/dist/types/src/blueprints/blueprint-manager/functions/index.d.ts +4 -0
- package/dist/types/src/blueprints/blueprint-manager/functions/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/blueprint-manager/functions/query-blueprints.d.ts +28 -0
- package/dist/types/src/blueprints/blueprint-manager/functions/query-blueprints.d.ts.map +1 -0
- package/dist/types/src/blueprints/blueprint-manager/functions/update-blueprints.d.ts +4 -0
- package/dist/types/src/blueprints/blueprint-manager/functions/update-blueprints.d.ts.map +1 -0
- package/dist/types/src/blueprints/blueprint-manager/index.d.ts +3 -0
- package/dist/types/src/blueprints/blueprint-manager/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/browser/blueprint.d.ts +2 -2
- package/dist/types/src/blueprints/browser/blueprint.d.ts.map +1 -1
- package/dist/types/src/blueprints/database/blueprint.d.ts +2 -2
- package/dist/types/src/blueprints/database/blueprint.d.ts.map +1 -1
- package/dist/types/src/blueprints/database/functions/context-add.d.ts +5 -4
- package/dist/types/src/blueprints/database/functions/context-add.d.ts.map +1 -1
- package/dist/types/src/blueprints/database/functions/context-remove.d.ts +5 -4
- package/dist/types/src/blueprints/database/functions/context-remove.d.ts.map +1 -1
- package/dist/types/src/blueprints/database/functions/definitions.d.ts +59 -0
- package/dist/types/src/blueprints/database/functions/definitions.d.ts.map +1 -0
- package/dist/types/src/blueprints/database/functions/index.d.ts +3 -56
- package/dist/types/src/blueprints/database/functions/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/database/functions/load.d.ts +5 -4
- package/dist/types/src/blueprints/database/functions/load.d.ts.map +1 -1
- package/dist/types/src/blueprints/database/functions/object-create.d.ts +5 -3
- package/dist/types/src/blueprints/database/functions/object-create.d.ts.map +1 -1
- package/dist/types/src/blueprints/database/functions/object-delete.d.ts +5 -4
- package/dist/types/src/blueprints/database/functions/object-delete.d.ts.map +1 -1
- package/dist/types/src/blueprints/database/functions/object-update.d.ts +5 -4
- package/dist/types/src/blueprints/database/functions/object-update.d.ts.map +1 -1
- package/dist/types/src/blueprints/database/functions/query.d.ts +7 -3
- package/dist/types/src/blueprints/database/functions/query.d.ts.map +1 -1
- package/dist/types/src/blueprints/database/functions/relation-create.d.ts +6 -5
- package/dist/types/src/blueprints/database/functions/relation-create.d.ts.map +1 -1
- package/dist/types/src/blueprints/database/functions/relation-delete.d.ts +5 -4
- package/dist/types/src/blueprints/database/functions/relation-delete.d.ts.map +1 -1
- package/dist/types/src/blueprints/database/functions/schema-add.d.ts +4 -2
- package/dist/types/src/blueprints/database/functions/schema-add.d.ts.map +1 -1
- package/dist/types/src/blueprints/database/functions/schema-list.d.ts +4 -2
- package/dist/types/src/blueprints/database/functions/schema-list.d.ts.map +1 -1
- package/dist/types/src/blueprints/database/functions/tag-add.d.ts +4 -3
- package/dist/types/src/blueprints/database/functions/tag-add.d.ts.map +1 -1
- package/dist/types/src/blueprints/database/functions/tag-remove.d.ts +4 -3
- package/dist/types/src/blueprints/database/functions/tag-remove.d.ts.map +1 -1
- package/dist/types/src/blueprints/database/index.d.ts +1 -1
- package/dist/types/src/blueprints/database/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/discord/blueprint.d.ts +2 -2
- package/dist/types/src/blueprints/discord/blueprint.d.ts.map +1 -1
- package/dist/types/src/blueprints/discord/functions/definitions.d.ts +15 -0
- package/dist/types/src/blueprints/discord/functions/definitions.d.ts.map +1 -0
- package/dist/types/src/blueprints/discord/functions/fetch-messages.d.ts +3 -2
- package/dist/types/src/blueprints/discord/functions/fetch-messages.d.ts.map +1 -1
- package/dist/types/src/blueprints/discord/functions/index.d.ts +3 -11
- package/dist/types/src/blueprints/discord/functions/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/discord/index.d.ts +1 -0
- package/dist/types/src/blueprints/discord/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/github/functions/definitions.d.ts +7 -0
- package/dist/types/src/blueprints/github/functions/definitions.d.ts.map +1 -0
- package/dist/types/src/blueprints/github/functions/fetch-prs.d.ts +4 -2
- package/dist/types/src/blueprints/github/functions/fetch-prs.d.ts.map +1 -1
- package/dist/types/src/blueprints/github/functions/index.d.ts +3 -6
- package/dist/types/src/blueprints/github/functions/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/github/index.d.ts +1 -0
- package/dist/types/src/blueprints/github/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/index.d.ts +4 -3
- package/dist/types/src/blueprints/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/linear/blueprint.d.ts +2 -2
- package/dist/types/src/blueprints/linear/blueprint.d.ts.map +1 -1
- package/dist/types/src/blueprints/linear/functions/definitions.d.ts +6 -0
- package/dist/types/src/blueprints/linear/functions/definitions.d.ts.map +1 -0
- package/dist/types/src/blueprints/linear/functions/index.d.ts +3 -8
- package/dist/types/src/blueprints/linear/functions/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/linear/functions/sync-issues.d.ts +4 -6
- package/dist/types/src/blueprints/linear/functions/sync-issues.d.ts.map +1 -1
- package/dist/types/src/blueprints/linear/index.d.ts +1 -0
- package/dist/types/src/blueprints/linear/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/memory/blueprint.d.ts +4 -0
- package/dist/types/src/blueprints/memory/blueprint.d.ts.map +1 -0
- package/dist/types/src/blueprints/memory/blueprint.test.d.ts.map +1 -0
- package/dist/types/src/blueprints/memory/functions/definitions.d.ts +17 -0
- package/dist/types/src/blueprints/memory/functions/definitions.d.ts.map +1 -0
- package/dist/types/src/blueprints/memory/functions/delete.d.ts +10 -0
- package/dist/types/src/blueprints/memory/functions/delete.d.ts.map +1 -0
- package/dist/types/src/blueprints/memory/functions/index.d.ts +4 -0
- package/dist/types/src/blueprints/memory/functions/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/memory/functions/query.d.ts +8 -0
- package/dist/types/src/blueprints/memory/functions/query.d.ts.map +1 -0
- package/dist/types/src/blueprints/memory/functions/save.d.ts +8 -0
- package/dist/types/src/blueprints/memory/functions/save.d.ts.map +1 -0
- package/dist/types/src/blueprints/memory/index.d.ts +3 -0
- package/dist/types/src/blueprints/memory/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/planning/blueprint.d.ts +2 -2
- package/dist/types/src/blueprints/planning/blueprint.d.ts.map +1 -1
- package/dist/types/src/blueprints/planning/functions/definitions.d.ts +11 -0
- package/dist/types/src/blueprints/planning/functions/definitions.d.ts.map +1 -0
- package/dist/types/src/blueprints/planning/functions/index.d.ts +3 -9
- package/dist/types/src/blueprints/planning/functions/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/planning/functions/update-tasks.d.ts +5 -3
- package/dist/types/src/blueprints/planning/functions/update-tasks.d.ts.map +1 -1
- package/dist/types/src/blueprints/planning/index.d.ts +1 -0
- package/dist/types/src/blueprints/planning/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/project/blueprint.d.ts +2 -2
- package/dist/types/src/blueprints/project/blueprint.d.ts.map +1 -1
- package/dist/types/src/blueprints/project/functions/add-artifact.d.ts +4 -3
- package/dist/types/src/blueprints/project/functions/add-artifact.d.ts.map +1 -1
- package/dist/types/src/blueprints/project/functions/agent.d.ts +2 -60
- package/dist/types/src/blueprints/project/functions/agent.d.ts.map +1 -1
- package/dist/types/src/blueprints/project/functions/definitions.d.ts +158 -0
- package/dist/types/src/blueprints/project/functions/definitions.d.ts.map +1 -0
- package/dist/types/src/blueprints/project/functions/get-context.d.ts +6 -4
- package/dist/types/src/blueprints/project/functions/get-context.d.ts.map +1 -1
- package/dist/types/src/blueprints/project/functions/index.d.ts +3 -132
- package/dist/types/src/blueprints/project/functions/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/project/functions/qualifier.d.ts +30 -17
- package/dist/types/src/blueprints/project/functions/qualifier.d.ts.map +1 -1
- package/dist/types/src/blueprints/project/index.d.ts +2 -2
- package/dist/types/src/blueprints/project/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/project-wizard/blueprint.d.ts +4 -0
- package/dist/types/src/blueprints/project-wizard/blueprint.d.ts.map +1 -0
- package/dist/types/src/blueprints/project-wizard/functions/create-project.d.ts +51 -0
- package/dist/types/src/blueprints/project-wizard/functions/create-project.d.ts.map +1 -0
- package/dist/types/src/blueprints/project-wizard/functions/definitions.d.ts +96 -0
- package/dist/types/src/blueprints/project-wizard/functions/definitions.d.ts.map +1 -0
- package/dist/types/src/blueprints/project-wizard/functions/index.d.ts +4 -0
- package/dist/types/src/blueprints/project-wizard/functions/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/project-wizard/functions/project-rules.d.ts +4 -0
- package/dist/types/src/blueprints/project-wizard/functions/project-rules.d.ts.map +1 -0
- package/dist/types/src/blueprints/project-wizard/functions/sync-triggers.d.ts +48 -0
- package/dist/types/src/blueprints/project-wizard/functions/sync-triggers.d.ts.map +1 -0
- package/dist/types/src/blueprints/project-wizard/index.d.ts +3 -0
- package/dist/types/src/blueprints/project-wizard/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/testing.d.ts +5 -15
- package/dist/types/src/blueprints/testing.d.ts.map +1 -1
- package/dist/types/src/blueprints/websearch/blueprint.d.ts +2 -2
- package/dist/types/src/blueprints/websearch/blueprint.d.ts.map +1 -1
- package/dist/types/src/blueprints/websearch/blueprint.test.d.ts.map +1 -0
- package/dist/types/src/blueprints/websearch/functions/definitions.d.ts +5 -0
- package/dist/types/src/blueprints/websearch/functions/definitions.d.ts.map +1 -0
- package/dist/types/src/blueprints/websearch/functions/fetch.d.ts +6 -0
- package/dist/types/src/blueprints/websearch/functions/fetch.d.ts.map +1 -0
- package/dist/types/src/blueprints/websearch/functions/index.d.ts +4 -0
- package/dist/types/src/blueprints/websearch/functions/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/websearch/index.d.ts +2 -1
- package/dist/types/src/blueprints/websearch/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/websearch/toolkit.d.ts +2 -0
- package/dist/types/src/blueprints/websearch/toolkit.d.ts.map +1 -1
- package/dist/types/src/crud/graph.d.ts +1 -1
- package/dist/types/src/crud/graph.d.ts.map +1 -1
- package/dist/types/src/errors.d.ts +41 -0
- package/dist/types/src/errors.d.ts.map +1 -0
- package/dist/types/src/functions/agent/definitions.d.ts +62 -0
- package/dist/types/src/functions/agent/definitions.d.ts.map +1 -0
- package/dist/types/src/functions/agent/index.d.ts +3 -84
- package/dist/types/src/functions/agent/index.d.ts.map +1 -1
- package/dist/types/src/functions/agent/prompt.d.ts +2 -82
- package/dist/types/src/functions/agent/prompt.d.ts.map +1 -1
- package/dist/types/src/functions/agent/prompt.test.d.ts +2 -0
- package/dist/types/src/functions/agent/prompt.test.d.ts.map +1 -0
- package/dist/types/src/functions/index.d.ts +0 -2
- package/dist/types/src/functions/index.d.ts.map +1 -1
- package/dist/types/src/sync/sync.d.ts.map +1 -1
- package/dist/types/src/testing/plugins.d.ts.map +1 -1
- package/dist/types/src/toolkits/WebToolkit.d.ts.map +1 -1
- package/dist/types/src/types/Agent.d.ts +77 -0
- package/dist/types/src/types/Agent.d.ts.map +1 -0
- package/dist/types/src/types/Chat.d.ts +32 -7
- package/dist/types/src/types/Chat.d.ts.map +1 -1
- package/dist/types/src/types/McpServer.d.ts +21 -0
- package/dist/types/src/types/McpServer.d.ts.map +1 -0
- package/dist/types/src/types/Memory.d.ts +12 -0
- package/dist/types/src/types/Memory.d.ts.map +1 -0
- package/dist/types/src/types/Plan.d.ts +23 -11
- package/dist/types/src/types/Plan.d.ts.map +1 -1
- package/dist/types/src/types/index.d.ts +3 -1
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/src/util/graphql.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +27 -31
- package/src/blueprints/automation/blueprint.ts +105 -0
- package/src/blueprints/automation/index.ts +5 -0
- package/src/blueprints/blueprint-manager/blueprint.conversations.json +1 -0
- package/src/blueprints/blueprint-manager/blueprint.test.ts +198 -0
- package/src/blueprints/blueprint-manager/blueprint.ts +49 -0
- package/src/blueprints/blueprint-manager/functions/definitions.ts +57 -0
- package/src/blueprints/blueprint-manager/functions/enable-blueprints.ts +43 -0
- package/src/blueprints/blueprint-manager/functions/index.ts +13 -0
- package/src/blueprints/blueprint-manager/functions/query-blueprints.ts +18 -0
- package/src/blueprints/blueprint-manager/functions/update-blueprints.ts +18 -0
- package/src/blueprints/blueprint-manager/index.ts +6 -0
- package/src/blueprints/browser/blueprint.test.ts +23 -32
- package/src/blueprints/browser/blueprint.ts +5 -6
- package/src/blueprints/database/blueprint.conversations.json +1 -1
- package/src/blueprints/database/blueprint.test.ts +308 -98
- package/src/blueprints/database/blueprint.ts +37 -10
- package/src/blueprints/database/functions/context-add.ts +15 -26
- package/src/blueprints/database/functions/context-remove.ts +16 -27
- package/src/blueprints/database/functions/definitions.ts +318 -0
- package/src/blueprints/database/functions/index.ts +18 -28
- package/src/blueprints/database/functions/load.ts +11 -23
- package/src/blueprints/database/functions/object-create.ts +28 -25
- package/src/blueprints/database/functions/object-delete.ts +13 -20
- package/src/blueprints/database/functions/object-update.ts +23 -25
- package/src/blueprints/database/functions/query.ts +48 -110
- package/src/blueprints/database/functions/relation-create.ts +25 -38
- package/src/blueprints/database/functions/relation-delete.ts +14 -21
- package/src/blueprints/database/functions/schema-add.ts +19 -31
- package/src/blueprints/database/functions/schema-list.ts +26 -27
- package/src/blueprints/database/functions/tag-add.ts +14 -24
- package/src/blueprints/database/functions/tag-remove.ts +14 -23
- package/src/blueprints/database/index.ts +16 -1
- package/src/blueprints/discord/blueprint.ts +6 -11
- package/src/blueprints/discord/functions/definitions.ts +70 -0
- package/src/blueprints/discord/functions/fetch-messages.test.ts +15 -25
- package/src/blueprints/discord/functions/fetch-messages.ts +98 -152
- package/src/blueprints/discord/functions/index.ts +4 -4
- package/src/blueprints/discord/index.ts +1 -0
- package/src/blueprints/github/functions/definitions.ts +26 -0
- package/src/blueprints/github/functions/fetch-prs.ts +15 -22
- package/src/blueprints/github/functions/index.ts +4 -4
- package/src/blueprints/github/index.ts +2 -0
- package/src/blueprints/index.ts +4 -3
- package/src/blueprints/linear/blueprint.ts +6 -11
- package/src/blueprints/linear/functions/definitions.ts +23 -0
- package/src/blueprints/linear/functions/index.ts +4 -4
- package/src/blueprints/linear/functions/linear.test.ts +7 -7
- package/src/blueprints/linear/functions/sync-issues.ts +31 -39
- package/src/blueprints/linear/index.ts +1 -0
- package/src/blueprints/memory/blueprint.conversations.json +1 -0
- package/src/blueprints/memory/blueprint.test.ts +139 -0
- package/src/blueprints/memory/blueprint.ts +41 -0
- package/src/blueprints/memory/functions/definitions.ts +68 -0
- package/src/blueprints/memory/functions/delete.ts +20 -0
- package/src/blueprints/memory/functions/index.ts +13 -0
- package/src/blueprints/memory/functions/query.ts +32 -0
- package/src/blueprints/memory/functions/save.ts +20 -0
- package/src/blueprints/memory/index.ts +6 -0
- package/src/blueprints/planning/blueprint.ts +5 -9
- package/src/blueprints/planning/functions/definitions.ts +137 -0
- package/src/blueprints/planning/functions/index.ts +4 -4
- package/src/blueprints/planning/functions/update-tasks.ts +35 -158
- package/src/blueprints/planning/index.ts +1 -0
- package/src/blueprints/project/blueprint.conversations.json +1 -0
- package/src/blueprints/project/blueprint.test.ts +246 -111
- package/src/blueprints/project/blueprint.ts +21 -25
- package/src/blueprints/project/functions/add-artifact.ts +19 -30
- package/src/blueprints/project/functions/agent.ts +43 -46
- package/src/blueprints/project/functions/definitions.ts +92 -0
- package/src/blueprints/project/functions/get-context.ts +36 -53
- package/src/blueprints/project/functions/index.ts +9 -10
- package/src/blueprints/project/functions/qualifier.ts +66 -72
- package/src/blueprints/project/index.ts +2 -2
- package/src/blueprints/project-wizard/blueprint.ts +52 -0
- package/src/blueprints/project-wizard/functions/create-project.ts +32 -0
- package/src/blueprints/project-wizard/functions/definitions.ts +63 -0
- package/src/blueprints/project-wizard/functions/index.ts +13 -0
- package/src/blueprints/project-wizard/functions/project-rules.ts +77 -0
- package/src/blueprints/project-wizard/functions/sync-triggers.ts +158 -0
- package/src/blueprints/project-wizard/index.ts +6 -0
- package/src/blueprints/testing.ts +7 -23
- package/src/blueprints/websearch/blueprint.conversations.json +1 -0
- package/src/blueprints/websearch/blueprint.test.ts +39 -0
- package/src/blueprints/websearch/blueprint.ts +6 -8
- package/src/blueprints/websearch/functions/definitions.ts +25 -0
- package/src/blueprints/websearch/functions/fetch.ts +18 -0
- package/src/blueprints/websearch/functions/index.ts +9 -0
- package/src/blueprints/websearch/index.ts +2 -1
- package/src/blueprints/websearch/toolkit.ts +6 -1
- package/src/crud/graph.test.ts +10 -12
- package/src/crud/graph.ts +2 -2
- package/src/errors.ts +25 -0
- package/src/functions/agent/definitions.ts +56 -0
- package/src/functions/agent/index.ts +4 -4
- package/src/functions/agent/prompt.conversations.json +1 -0
- package/src/functions/agent/prompt.test.ts +81 -0
- package/src/functions/agent/prompt.ts +212 -96
- package/src/functions/index.ts +0 -2
- package/src/sync/sync.ts +23 -12
- package/src/testing/plugins.tsx +10 -3
- package/src/toolkits/WebToolkit.ts +1 -1
- package/src/types/Agent.ts +240 -0
- package/src/types/Chat.ts +24 -10
- package/src/types/McpServer.ts +37 -0
- package/src/types/Memory.ts +24 -0
- package/src/types/Plan.ts +7 -4
- package/src/types/index.ts +3 -1
- package/dist/types/src/blueprints/design/blueprint.d.ts +0 -4
- package/dist/types/src/blueprints/design/blueprint.d.ts.map +0 -1
- package/dist/types/src/blueprints/design/blueprint.test.d.ts.map +0 -1
- package/dist/types/src/blueprints/design/index.d.ts +0 -2
- package/dist/types/src/blueprints/design/index.d.ts.map +0 -1
- package/dist/types/src/blueprints/markdown/blueprint.d.ts +0 -4
- package/dist/types/src/blueprints/markdown/blueprint.d.ts.map +0 -1
- package/dist/types/src/blueprints/markdown/functions/create.d.ts +0 -6
- package/dist/types/src/blueprints/markdown/functions/create.d.ts.map +0 -1
- package/dist/types/src/blueprints/markdown/functions/index.d.ts +0 -30
- package/dist/types/src/blueprints/markdown/functions/index.d.ts.map +0 -1
- package/dist/types/src/blueprints/markdown/functions/read.d.ts +0 -14
- package/dist/types/src/blueprints/markdown/functions/read.d.ts.map +0 -1
- package/dist/types/src/blueprints/markdown/functions/update.d.ts +0 -13
- package/dist/types/src/blueprints/markdown/functions/update.d.ts.map +0 -1
- package/dist/types/src/blueprints/markdown/index.d.ts +0 -3
- package/dist/types/src/blueprints/markdown/index.d.ts.map +0 -1
- package/dist/types/src/blueprints/planning-old/blueprint.d.ts +0 -4
- package/dist/types/src/blueprints/planning-old/blueprint.d.ts.map +0 -1
- package/dist/types/src/blueprints/planning-old/blueprint.test.d.ts.map +0 -1
- package/dist/types/src/blueprints/planning-old/functions/index.d.ts +0 -29
- package/dist/types/src/blueprints/planning-old/functions/index.d.ts.map +0 -1
- package/dist/types/src/blueprints/planning-old/functions/read.d.ts +0 -14
- package/dist/types/src/blueprints/planning-old/functions/read.d.ts.map +0 -1
- package/dist/types/src/blueprints/planning-old/functions/task-list.d.ts +0 -74
- package/dist/types/src/blueprints/planning-old/functions/task-list.d.ts.map +0 -1
- package/dist/types/src/blueprints/planning-old/functions/task-list.test.d.ts +0 -2
- package/dist/types/src/blueprints/planning-old/functions/task-list.test.d.ts.map +0 -1
- package/dist/types/src/blueprints/planning-old/functions/update.d.ts +0 -16
- package/dist/types/src/blueprints/planning-old/functions/update.d.ts.map +0 -1
- package/dist/types/src/blueprints/planning-old/index.d.ts +0 -2
- package/dist/types/src/blueprints/planning-old/index.d.ts.map +0 -1
- package/dist/types/src/blueprints/research/blueprint.d.ts +0 -4
- package/dist/types/src/blueprints/research/blueprint.d.ts.map +0 -1
- package/dist/types/src/blueprints/research/blueprint.test.d.ts.map +0 -1
- package/dist/types/src/blueprints/research/functions/document-create.d.ts +0 -10
- package/dist/types/src/blueprints/research/functions/document-create.d.ts.map +0 -1
- package/dist/types/src/blueprints/research/functions/index.d.ts +0 -19
- package/dist/types/src/blueprints/research/functions/index.d.ts.map +0 -1
- package/dist/types/src/blueprints/research/functions/research.d.ts +0 -14
- package/dist/types/src/blueprints/research/functions/research.d.ts.map +0 -1
- package/dist/types/src/blueprints/research/functions/research.test.d.ts +0 -2
- package/dist/types/src/blueprints/research/functions/research.test.d.ts.map +0 -1
- package/dist/types/src/blueprints/research/index.d.ts +0 -3
- package/dist/types/src/blueprints/research/index.d.ts.map +0 -1
- package/dist/types/src/blueprints/research/types/ResearchGraph.d.ts +0 -18
- package/dist/types/src/blueprints/research/types/ResearchGraph.d.ts.map +0 -1
- package/dist/types/src/blueprints/research/types/index.d.ts +0 -7
- package/dist/types/src/blueprints/research/types/index.d.ts.map +0 -1
- package/dist/types/src/functions/entity-extraction/entity-extraction.d.ts +0 -179
- package/dist/types/src/functions/entity-extraction/entity-extraction.d.ts.map +0 -1
- package/dist/types/src/functions/entity-extraction/entity-extraction.test.d.ts +0 -2
- package/dist/types/src/functions/entity-extraction/entity-extraction.test.d.ts.map +0 -1
- package/dist/types/src/functions/entity-extraction/index.d.ts +0 -179
- package/dist/types/src/functions/entity-extraction/index.d.ts.map +0 -1
- package/dist/types/src/functions/exa/data/exa-search-1748337321991.d.ts +0 -38
- package/dist/types/src/functions/exa/data/exa-search-1748337321991.d.ts.map +0 -1
- package/dist/types/src/functions/exa/data/exa-search-1748337331526.d.ts +0 -37
- package/dist/types/src/functions/exa/data/exa-search-1748337331526.d.ts.map +0 -1
- package/dist/types/src/functions/exa/data/exa-search-1748337344119.d.ts +0 -58
- package/dist/types/src/functions/exa/data/exa-search-1748337344119.d.ts.map +0 -1
- package/dist/types/src/functions/exa/data/index.d.ts +0 -3
- package/dist/types/src/functions/exa/data/index.d.ts.map +0 -1
- package/dist/types/src/functions/exa/exa.d.ts +0 -5
- package/dist/types/src/functions/exa/exa.d.ts.map +0 -1
- package/dist/types/src/functions/exa/index.d.ts +0 -9
- package/dist/types/src/functions/exa/index.d.ts.map +0 -1
- package/dist/types/src/functions/exa/mock.d.ts +0 -5
- package/dist/types/src/functions/exa/mock.d.ts.map +0 -1
- package/dist/types/src/types/Project.d.ts +0 -67
- package/dist/types/src/types/Project.d.ts.map +0 -1
- package/src/blueprints/browser/blueprint.conversations.json +0 -1
- package/src/blueprints/design/blueprint.test.ts +0 -96
- package/src/blueprints/design/blueprint.ts +0 -46
- package/src/blueprints/design/index.ts +0 -5
- package/src/blueprints/markdown/blueprint.ts +0 -38
- package/src/blueprints/markdown/functions/create.ts +0 -29
- package/src/blueprints/markdown/functions/index.ts +0 -13
- package/src/blueprints/markdown/functions/read.ts +0 -32
- package/src/blueprints/markdown/functions/update.ts +0 -32
- package/src/blueprints/markdown/index.ts +0 -6
- package/src/blueprints/planning-old/blueprint.test.ts +0 -122
- package/src/blueprints/planning-old/blueprint.ts +0 -110
- package/src/blueprints/planning-old/functions/index.ts +0 -11
- package/src/blueprints/planning-old/functions/read.ts +0 -34
- package/src/blueprints/planning-old/functions/task-list.test.ts +0 -99
- package/src/blueprints/planning-old/functions/task-list.ts +0 -165
- package/src/blueprints/planning-old/functions/update.ts +0 -52
- package/src/blueprints/planning-old/index.ts +0 -5
- package/src/blueprints/research/blueprint.test.ts +0 -7
- package/src/blueprints/research/blueprint.ts +0 -65
- package/src/blueprints/research/functions/document-create.ts +0 -73
- package/src/blueprints/research/functions/index.ts +0 -11
- package/src/blueprints/research/functions/research-instructions.tpl +0 -106
- package/src/blueprints/research/functions/research.conversations.json +0 -1
- package/src/blueprints/research/functions/research.test.ts +0 -149
- package/src/blueprints/research/functions/research.ts +0 -175
- package/src/blueprints/research/index.ts +0 -6
- package/src/blueprints/research/types/ResearchGraph.ts +0 -49
- package/src/blueprints/research/types/index.ts +0 -32
- package/src/functions/entity-extraction/entity-extraction.conversations.json +0 -1
- package/src/functions/entity-extraction/entity-extraction.test.ts +0 -74
- package/src/functions/entity-extraction/entity-extraction.ts +0 -181
- package/src/functions/entity-extraction/index.ts +0 -9
- package/src/functions/exa/data/exa-search-1748337321991.ts +0 -131
- package/src/functions/exa/data/exa-search-1748337331526.ts +0 -144
- package/src/functions/exa/data/exa-search-1748337344119.ts +0 -133
- package/src/functions/exa/data/index.ts +0 -11
- package/src/functions/exa/exa.ts +0 -37
- package/src/functions/exa/index.ts +0 -11
- package/src/functions/exa/mock.ts +0 -71
- package/src/types/Project.ts +0 -196
- /package/dist/types/src/blueprints/{design → blueprint-manager}/blueprint.test.d.ts +0 -0
- /package/dist/types/src/blueprints/{planning-old → memory}/blueprint.test.d.ts +0 -0
- /package/dist/types/src/blueprints/{research → websearch}/blueprint.test.d.ts +0 -0
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2026 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
// @import-as-namespace
|
|
6
|
+
|
|
7
|
+
import * as Effect from 'effect/Effect';
|
|
8
|
+
import * as Function from 'effect/Function';
|
|
9
|
+
import * as Schema from 'effect/Schema';
|
|
10
|
+
|
|
11
|
+
import { AiContextBinder, AiContextService } from '@dxos/assistant';
|
|
12
|
+
import { type Blueprint } from '@dxos/compute';
|
|
13
|
+
import { Annotation, Database, Feed, Format, Obj, Ref, Relation, Type } from '@dxos/echo';
|
|
14
|
+
import { Queue } from '@dxos/echo-db';
|
|
15
|
+
import { type ObjectNotFoundError } from '@dxos/echo/Err';
|
|
16
|
+
import { FormInputAnnotation } from '@dxos/echo/internal';
|
|
17
|
+
import { acquireReleaseResource } from '@dxos/effect';
|
|
18
|
+
import { QueueService } from '@dxos/functions';
|
|
19
|
+
import { invariant } from '@dxos/invariant';
|
|
20
|
+
import { Text } from '@dxos/schema';
|
|
21
|
+
|
|
22
|
+
import * as Chat from './Chat';
|
|
23
|
+
import * as Plan from './Plan';
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Agent schema definition.
|
|
27
|
+
*/
|
|
28
|
+
export const Agent = Schema.Struct({
|
|
29
|
+
name: Schema.optional(Schema.String),
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* When false, agent triggers are disabled after sync-triggers runs.
|
|
33
|
+
*/
|
|
34
|
+
enabled: Schema.optional(Schema.Boolean).annotations({
|
|
35
|
+
title: 'Enabled',
|
|
36
|
+
description: 'Master switch for agent automation; propagated to all triggers on sync.',
|
|
37
|
+
}),
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Instructions for the agent.
|
|
41
|
+
*/
|
|
42
|
+
instructions: Ref.Ref(Text.Text).pipe(
|
|
43
|
+
Format.FormatAnnotation.set(Format.TypeFormat.Markdown),
|
|
44
|
+
Schema.annotations({ title: 'Instructions' }),
|
|
45
|
+
),
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Primary chat for the agent.
|
|
49
|
+
*/
|
|
50
|
+
// TODO(dmaretskyi): Multiple chats; RB: branching hierarchy.
|
|
51
|
+
chat: Schema.optional(Ref.Ref(Chat.Chat).pipe(FormInputAnnotation.set(false))),
|
|
52
|
+
|
|
53
|
+
// TODO(burdon): Is this used? Should it be an artifact?
|
|
54
|
+
// Format.FormatAnnotation.set(Format.TypeFormat.Markdown)
|
|
55
|
+
plan: Ref.Ref(Plan.Plan).pipe(FormInputAnnotation.set(false)),
|
|
56
|
+
|
|
57
|
+
// TODO(burdon): Currently Memory.Memory objects are global to the space; make them artifacts?
|
|
58
|
+
artifacts: Schema.Array(
|
|
59
|
+
Schema.Struct({
|
|
60
|
+
// TODO(dmaretskyi): Consider gettings names from the artifact itself using Obj.getLabel.
|
|
61
|
+
name: Schema.String,
|
|
62
|
+
// TODO(burdon): Rename object.
|
|
63
|
+
data: Ref.Ref(Obj.Unknown),
|
|
64
|
+
}),
|
|
65
|
+
).pipe(FormInputAnnotation.set(false)),
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* References to objects with a canonical queue property.
|
|
69
|
+
* Schema must have the QueueAnnotation.
|
|
70
|
+
*/
|
|
71
|
+
// Change to trigger.
|
|
72
|
+
// TODO(dmaretskyi): Turn into an array of objects when form-data
|
|
73
|
+
subscriptions: Schema.Array(Ref.Ref(Obj.Unknown)).pipe(FormInputAnnotation.set(false)),
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Cron expression for a timer trigger that invokes the agent worker on a schedule.
|
|
77
|
+
* The timer trigger bypasses the qualifier and goes straight to the agent worker.
|
|
78
|
+
*/
|
|
79
|
+
// Change to trigger.
|
|
80
|
+
cron: Schema.optional(Schema.String).annotations({
|
|
81
|
+
title: 'Cron',
|
|
82
|
+
description: 'Cron expression for a timer trigger that invokes the agent on a schedule.',
|
|
83
|
+
}),
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Allow the agent to filter events.
|
|
87
|
+
* Related events will be added to the input queue of the agent.
|
|
88
|
+
* It is recommended to enable this.
|
|
89
|
+
* @deprecated
|
|
90
|
+
*/
|
|
91
|
+
filterEvents: Schema.optional(Schema.Boolean).annotations({
|
|
92
|
+
title: 'Filter events',
|
|
93
|
+
description: 'Allow the agent to filter events.',
|
|
94
|
+
}),
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Input feed for subscriptions.
|
|
98
|
+
* @deprecated Subscriptions will write directly to the agent.
|
|
99
|
+
*/
|
|
100
|
+
queue: Schema.optional(Ref.Ref(Queue).pipe(FormInputAnnotation.set(false))),
|
|
101
|
+
}).pipe(
|
|
102
|
+
Type.object({
|
|
103
|
+
typename: 'org.dxos.type.agent',
|
|
104
|
+
version: '0.1.0',
|
|
105
|
+
}),
|
|
106
|
+
Annotation.LabelAnnotation.set(['name']),
|
|
107
|
+
Annotation.IconAnnotation.set({
|
|
108
|
+
icon: 'ph--drone--regular',
|
|
109
|
+
hue: 'sky',
|
|
110
|
+
}),
|
|
111
|
+
);
|
|
112
|
+
|
|
113
|
+
export interface Agent extends Schema.Schema.Type<typeof Agent> {}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Creates a fully initialized Agent with chat, queue, and context bindings.
|
|
117
|
+
*
|
|
118
|
+
* @param props - Agent properties including spec, plan, blueprints, and context objects.
|
|
119
|
+
* @param blueprint - The blueprint to use for the agent context.
|
|
120
|
+
* @returns An Effect that yields the initialized Agent.
|
|
121
|
+
*/
|
|
122
|
+
export const makeInitialized = (
|
|
123
|
+
props: Omit<Obj.MakeProps<typeof Agent>, 'instructions' | 'plan' | 'artifacts' | 'subscriptions' | 'chat'> &
|
|
124
|
+
Partial<Pick<Obj.MakeProps<typeof Agent>, 'artifacts' | 'subscriptions'>> & {
|
|
125
|
+
instructions: string;
|
|
126
|
+
blueprints?: Ref.Ref<Blueprint.Blueprint>[];
|
|
127
|
+
contextObjects?: Ref.Ref<Obj.Any>[];
|
|
128
|
+
},
|
|
129
|
+
blueprint: Blueprint.Blueprint,
|
|
130
|
+
): Effect.Effect<Agent, never, QueueService | Feed.FeedService | Database.Service> =>
|
|
131
|
+
Effect.gen(function* () {
|
|
132
|
+
const agent = Obj.make(Agent, {
|
|
133
|
+
...props,
|
|
134
|
+
instructions: Ref.make(Text.make({ content: props.instructions })),
|
|
135
|
+
plan: Ref.make(Plan.makePlan({ tasks: [] })),
|
|
136
|
+
artifacts: props.artifacts ?? [],
|
|
137
|
+
subscriptions: props.subscriptions ?? [],
|
|
138
|
+
filterEvents: props.filterEvents ?? true,
|
|
139
|
+
enabled: props.enabled ?? true,
|
|
140
|
+
});
|
|
141
|
+
yield* Database.add(agent);
|
|
142
|
+
const feed = yield* Database.add(Feed.make());
|
|
143
|
+
const runtime = yield* Effect.runtime<Feed.FeedService>();
|
|
144
|
+
const contextBinder = new AiContextBinder({ feed, runtime });
|
|
145
|
+
// TODO(dmaretskyi): Blueprint registry.
|
|
146
|
+
const agentBlueprint = yield* Database.add(Obj.clone(blueprint, { deep: true }));
|
|
147
|
+
yield* Effect.promise(() =>
|
|
148
|
+
contextBinder.bind({
|
|
149
|
+
blueprints: [Ref.make(agentBlueprint), ...(props.blueprints ?? [])],
|
|
150
|
+
objects: [Ref.make(agent), ...(props.contextObjects ?? [])],
|
|
151
|
+
}),
|
|
152
|
+
);
|
|
153
|
+
const chat = yield* Database.add(
|
|
154
|
+
Chat.make({
|
|
155
|
+
[Obj.Parent]: agent,
|
|
156
|
+
feed: Ref.make(feed),
|
|
157
|
+
}),
|
|
158
|
+
);
|
|
159
|
+
Obj.setParent(feed, chat);
|
|
160
|
+
yield* Database.add(
|
|
161
|
+
Relation.make(Chat.CompanionTo, {
|
|
162
|
+
[Relation.Source]: chat,
|
|
163
|
+
[Relation.Target]: agent,
|
|
164
|
+
}),
|
|
165
|
+
);
|
|
166
|
+
|
|
167
|
+
const inputQueue = yield* QueueService.createQueue();
|
|
168
|
+
|
|
169
|
+
Obj.update(agent, (agent) => {
|
|
170
|
+
agent.chat = Ref.make(chat);
|
|
171
|
+
agent.queue = Ref.fromDXN(inputQueue.dxn);
|
|
172
|
+
});
|
|
173
|
+
|
|
174
|
+
return agent;
|
|
175
|
+
});
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Resets the agent chat history by rebuilding the chat context.
|
|
179
|
+
* Preserves the existing blueprints and objects from the current chat context.
|
|
180
|
+
*
|
|
181
|
+
* @param agent - The agent whose chat history should be reset. Must have an existing chat.
|
|
182
|
+
* @returns An Effect that resets the chat history.
|
|
183
|
+
*/
|
|
184
|
+
export const resetChatHistory = (
|
|
185
|
+
agent: Agent,
|
|
186
|
+
): Effect.Effect<void, ObjectNotFoundError, Feed.FeedService | Database.Service> =>
|
|
187
|
+
Effect.gen(function* () {
|
|
188
|
+
invariant(agent.chat, 'Agent must have an existing chat to reset.');
|
|
189
|
+
|
|
190
|
+
const existingFeed = yield* agent.chat.pipe(Database.load).pipe(
|
|
191
|
+
Effect.map((_) => _.feed),
|
|
192
|
+
Effect.flatMap(Database.load),
|
|
193
|
+
);
|
|
194
|
+
const runtime = yield* Effect.runtime<Feed.FeedService>();
|
|
195
|
+
const existingContextBinder = yield* acquireReleaseResource(
|
|
196
|
+
() =>
|
|
197
|
+
new AiContextBinder({
|
|
198
|
+
feed: existingFeed,
|
|
199
|
+
runtime,
|
|
200
|
+
}),
|
|
201
|
+
);
|
|
202
|
+
const blueprints = existingContextBinder.getBlueprints().map((blueprint) => Ref.make(blueprint));
|
|
203
|
+
const objects = existingContextBinder.getObjects().map((object) => Ref.make(object));
|
|
204
|
+
|
|
205
|
+
const feed = yield* Database.add(Feed.make());
|
|
206
|
+
const contextBinder = new AiContextBinder({ feed, runtime });
|
|
207
|
+
yield* Effect.promise(() =>
|
|
208
|
+
contextBinder.bind({
|
|
209
|
+
blueprints,
|
|
210
|
+
objects,
|
|
211
|
+
}),
|
|
212
|
+
);
|
|
213
|
+
|
|
214
|
+
const chat = yield* Database.add(
|
|
215
|
+
Chat.make({
|
|
216
|
+
feed: Ref.make(feed),
|
|
217
|
+
}),
|
|
218
|
+
);
|
|
219
|
+
Obj.setParent(feed, chat);
|
|
220
|
+
Obj.update(agent, (agent) => {
|
|
221
|
+
agent.chat = Ref.make(chat);
|
|
222
|
+
});
|
|
223
|
+
|
|
224
|
+
yield* Database.add(
|
|
225
|
+
Relation.make(Chat.CompanionTo, {
|
|
226
|
+
[Relation.Source]: chat,
|
|
227
|
+
[Relation.Target]: agent,
|
|
228
|
+
}),
|
|
229
|
+
);
|
|
230
|
+
}).pipe(Effect.scoped);
|
|
231
|
+
|
|
232
|
+
export const getFromChatContext: Effect.Effect<Agent, Error, AiContextService> = Effect.gen(function* () {
|
|
233
|
+
const agents = yield* Function.pipe(AiContextService.findObjects(Agent));
|
|
234
|
+
if (agents.length !== 1) {
|
|
235
|
+
return yield* Effect.fail(new Error(`There should be exactly one agent in context. Got: ${agents.length}`));
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
const agent = agents[0];
|
|
239
|
+
return agent;
|
|
240
|
+
});
|
package/src/types/Chat.ts
CHANGED
|
@@ -2,29 +2,29 @@
|
|
|
2
2
|
// Copyright 2024 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
+
// @import-as-namespace
|
|
6
|
+
|
|
5
7
|
import * as Schema from 'effect/Schema';
|
|
6
8
|
|
|
7
|
-
import { Annotation, Obj, Ref, Type } from '@dxos/echo';
|
|
9
|
+
import { Annotation, Feed, Obj, Ref, Type } from '@dxos/echo';
|
|
8
10
|
import { FormInputAnnotation, LabelAnnotation } from '@dxos/echo/internal';
|
|
9
|
-
import { Queue } from '@dxos/echo-db';
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* AI chat.
|
|
13
14
|
*/
|
|
14
15
|
export const Chat = Schema.Struct({
|
|
15
16
|
name: Schema.String.pipe(Schema.optional),
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
traceQueue: Ref.Ref(Queue).pipe(FormInputAnnotation.set(false), Schema.optional),
|
|
17
|
+
feed: Ref.Ref(Feed.Feed).pipe(FormInputAnnotation.set(false)),
|
|
18
|
+
view: Schema.String.pipe(Schema.optional),
|
|
19
19
|
}).pipe(
|
|
20
20
|
Type.object({
|
|
21
|
-
typename: 'dxos.
|
|
22
|
-
version: '0.
|
|
21
|
+
typename: 'org.dxos.type.assistant.chat',
|
|
22
|
+
version: '0.1.0',
|
|
23
23
|
}),
|
|
24
24
|
LabelAnnotation.set(['name']),
|
|
25
25
|
Annotation.IconAnnotation.set({
|
|
26
|
-
icon: 'ph--
|
|
27
|
-
hue: '
|
|
26
|
+
icon: 'ph--sparkle--regular',
|
|
27
|
+
hue: 'sky',
|
|
28
28
|
}),
|
|
29
29
|
);
|
|
30
30
|
|
|
@@ -32,6 +32,20 @@ export interface Chat extends Schema.Schema.Type<typeof Chat> {}
|
|
|
32
32
|
|
|
33
33
|
export const make = (props: Obj.MakeProps<typeof Chat>) => Obj.make(Chat, props);
|
|
34
34
|
|
|
35
|
+
/** @deprecated Use CompanionTo instead. */
|
|
36
|
+
export const LegacyCompanionTo = Schema.Struct({
|
|
37
|
+
id: Obj.ID,
|
|
38
|
+
}).pipe(
|
|
39
|
+
Type.relation({
|
|
40
|
+
typename: 'org.dxos.relation.assistant.companion-to',
|
|
41
|
+
version: '0.1.0',
|
|
42
|
+
source: Chat,
|
|
43
|
+
target: Obj.Unknown,
|
|
44
|
+
}),
|
|
45
|
+
);
|
|
46
|
+
|
|
47
|
+
export interface LegacyCompanionTo extends Schema.Schema.Type<typeof LegacyCompanionTo> {}
|
|
48
|
+
|
|
35
49
|
/**
|
|
36
50
|
* Relation between a Chat and companion objects (e.g., artifacts).
|
|
37
51
|
*/
|
|
@@ -39,7 +53,7 @@ export const CompanionTo = Schema.Struct({
|
|
|
39
53
|
id: Obj.ID,
|
|
40
54
|
}).pipe(
|
|
41
55
|
Type.relation({
|
|
42
|
-
typename: 'dxos.
|
|
56
|
+
typename: 'org.dxos.relation.assistant.companionTo',
|
|
43
57
|
version: '0.1.0',
|
|
44
58
|
source: Chat,
|
|
45
59
|
target: Obj.Unknown,
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2026 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
// @import-as-namespace
|
|
6
|
+
|
|
7
|
+
import * as Schema from 'effect/Schema';
|
|
8
|
+
|
|
9
|
+
import { McpServer as McpServerSpec } from '@dxos/compute';
|
|
10
|
+
import { Annotation, Type } from '@dxos/echo';
|
|
11
|
+
import { LabelAnnotation } from '@dxos/echo/internal';
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* MCP server configuration stored as a space-level ECHO object.
|
|
15
|
+
*
|
|
16
|
+
* Composes the canonical connection spec from `@dxos/compute` (`url`, `protocol`, `apiKey`)
|
|
17
|
+
* and adds instance-level fields (`name`, `enabled`) plus ECHO annotations.
|
|
18
|
+
*
|
|
19
|
+
* NOTE: `apiKey` is stored in plaintext and replicated to all peers with access to the space.
|
|
20
|
+
* A future iteration should move secrets to per-device credential storage or use envelope encryption.
|
|
21
|
+
*/
|
|
22
|
+
export const McpServer = Schema.Struct({
|
|
23
|
+
...McpServerSpec.McpServer.fields,
|
|
24
|
+
enabled: Schema.optional(Schema.Boolean),
|
|
25
|
+
}).pipe(
|
|
26
|
+
Type.object({
|
|
27
|
+
typename: 'org.dxos.type.assistant.mcpServer',
|
|
28
|
+
version: '0.1.0',
|
|
29
|
+
}),
|
|
30
|
+
LabelAnnotation.set(['name']),
|
|
31
|
+
Annotation.IconAnnotation.set({
|
|
32
|
+
icon: 'ph--plugs-connected--regular',
|
|
33
|
+
hue: 'sky',
|
|
34
|
+
}),
|
|
35
|
+
);
|
|
36
|
+
|
|
37
|
+
export interface McpServer extends Schema.Schema.Type<typeof McpServer> {}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2026 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import * as Schema from 'effect/Schema';
|
|
6
|
+
|
|
7
|
+
import { Annotation, Type } from '@dxos/echo';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Unit of knowledge generated by an agent.
|
|
11
|
+
*/
|
|
12
|
+
export const Memory = Schema.Struct({
|
|
13
|
+
title: Schema.String,
|
|
14
|
+
content: Schema.String,
|
|
15
|
+
}).pipe(
|
|
16
|
+
Type.object({ typename: 'org.dxos.type.memory', version: '0.1.0' }),
|
|
17
|
+
Annotation.LabelAnnotation.set(['title']),
|
|
18
|
+
Annotation.IconAnnotation.set({
|
|
19
|
+
icon: 'ph--brain--regular',
|
|
20
|
+
hue: 'pink',
|
|
21
|
+
}),
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
export interface Memory extends Schema.Schema.Type<typeof Memory> {}
|
package/src/types/Plan.ts
CHANGED
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
// Copyright 2026 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
+
// @import-as-namespace
|
|
6
|
+
|
|
5
7
|
import * as Schema from 'effect/Schema';
|
|
6
8
|
|
|
7
|
-
import { Obj, Ref, Type } from '@dxos/echo';
|
|
9
|
+
import { Annotation, Obj, Ref, Type } from '@dxos/echo';
|
|
8
10
|
|
|
9
11
|
import * as Chat from './Chat';
|
|
10
12
|
|
|
@@ -44,9 +46,10 @@ export const Plan = Schema.Struct({
|
|
|
44
46
|
tasks: Schema.Array(Task),
|
|
45
47
|
}).pipe(
|
|
46
48
|
Type.object({
|
|
47
|
-
typename: 'dxos.
|
|
49
|
+
typename: 'org.dxos.type.plan',
|
|
48
50
|
version: '0.1.0',
|
|
49
51
|
}),
|
|
52
|
+
Annotation.SystemTypeAnnotation.set(true),
|
|
50
53
|
);
|
|
51
54
|
export interface Plan extends Schema.Schema.Type<typeof Plan> {}
|
|
52
55
|
|
|
@@ -69,7 +72,7 @@ export const generateTaskId = (plan: Plan): TaskId => {
|
|
|
69
72
|
|
|
70
73
|
/**
|
|
71
74
|
* Add new tasks to a plan, generating IDs for new tasks.
|
|
72
|
-
* Use inside an `Obj.
|
|
75
|
+
* Use inside an `Obj.update` callback.
|
|
73
76
|
*/
|
|
74
77
|
export const addTasks = (
|
|
75
78
|
plan: Obj.Mutable<Plan>,
|
|
@@ -91,7 +94,7 @@ interface MakePlanProps {
|
|
|
91
94
|
|
|
92
95
|
export const makePlan = (props: MakePlanProps): Plan => {
|
|
93
96
|
const plan = Obj.make(Plan, { tasks: [] });
|
|
94
|
-
Obj.
|
|
97
|
+
Obj.update(plan, (plan) => {
|
|
95
98
|
addTasks(plan, props.tasks);
|
|
96
99
|
});
|
|
97
100
|
return plan;
|
package/src/types/index.ts
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blueprint.d.ts","sourceRoot":"","sources":["../../../../../src/blueprints/design/blueprint.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAkCzD,QAAA,MAAM,SAAS,EAAE,eAAe,CAAC,mBAIhC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blueprint.test.d.ts","sourceRoot":"","sources":["../../../../../src/blueprints/design/blueprint.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/blueprints/design/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blueprint.d.ts","sourceRoot":"","sources":["../../../../../src/blueprints/markdown/blueprint.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AA2BzD,QAAA,MAAM,SAAS,EAAE,eAAe,CAAC,mBAIhC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../../../src/blueprints/markdown/functions/create.ts"],"names":[],"mappings":";;;;AAWA,wBAiBG"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export declare const MarkdownFunctions: {
|
|
2
|
-
Create: import("@dxos/functions").FunctionDefinition<{
|
|
3
|
-
readonly name: string;
|
|
4
|
-
readonly content: string;
|
|
5
|
-
}, void, import("@dxos/functions").FunctionServices>;
|
|
6
|
-
Read: import("@dxos/functions").FunctionDefinition<{
|
|
7
|
-
readonly document: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
8
|
-
readonly name?: string | undefined;
|
|
9
|
-
readonly description?: string | undefined;
|
|
10
|
-
readonly fallbackName?: string | undefined;
|
|
11
|
-
readonly content: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
12
|
-
readonly content: string;
|
|
13
|
-
}>;
|
|
14
|
-
}>;
|
|
15
|
-
}, {
|
|
16
|
-
readonly content: string;
|
|
17
|
-
}, import("@dxos/functions").FunctionServices>;
|
|
18
|
-
Update: import("@dxos/functions").FunctionDefinition<{
|
|
19
|
-
readonly content: string;
|
|
20
|
-
readonly doc: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
21
|
-
readonly name?: string | undefined;
|
|
22
|
-
readonly description?: string | undefined;
|
|
23
|
-
readonly fallbackName?: string | undefined;
|
|
24
|
-
readonly content: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
25
|
-
readonly content: string;
|
|
26
|
-
}>;
|
|
27
|
-
}>;
|
|
28
|
-
}, void, import("@dxos/functions").FunctionServices>;
|
|
29
|
-
};
|
|
30
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/blueprints/markdown/functions/index.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI7B,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
declare const _default: import("@dxos/functions").FunctionDefinition<{
|
|
2
|
-
readonly document: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
3
|
-
readonly name?: string | undefined;
|
|
4
|
-
readonly description?: string | undefined;
|
|
5
|
-
readonly fallbackName?: string | undefined;
|
|
6
|
-
readonly content: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
7
|
-
readonly content: string;
|
|
8
|
-
}>;
|
|
9
|
-
}>;
|
|
10
|
-
}, {
|
|
11
|
-
readonly content: string;
|
|
12
|
-
}, import("@dxos/functions").FunctionServices>;
|
|
13
|
-
export default _default;
|
|
14
|
-
//# sourceMappingURL=read.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"read.d.ts","sourceRoot":"","sources":["../../../../../../src/blueprints/markdown/functions/read.ts"],"names":[],"mappings":";;;;;;;;;;;;AAWA,wBAoBG"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare const _default: import("@dxos/functions").FunctionDefinition<{
|
|
2
|
-
readonly content: string;
|
|
3
|
-
readonly doc: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
4
|
-
readonly name?: string | undefined;
|
|
5
|
-
readonly description?: string | undefined;
|
|
6
|
-
readonly fallbackName?: string | undefined;
|
|
7
|
-
readonly content: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
8
|
-
readonly content: string;
|
|
9
|
-
}>;
|
|
10
|
-
}>;
|
|
11
|
-
}, void, import("@dxos/functions").FunctionServices>;
|
|
12
|
-
export default _default;
|
|
13
|
-
//# sourceMappingURL=update.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../../../../src/blueprints/markdown/functions/update.ts"],"names":[],"mappings":";;;;;;;;;;;AAWA,wBAoBG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/blueprints/markdown/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blueprint.d.ts","sourceRoot":"","sources":["../../../../../src/blueprints/planning-old/blueprint.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAkGzD,QAAA,MAAM,SAAS,EAAE,eAAe,CAAC,mBAIhC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blueprint.test.d.ts","sourceRoot":"","sources":["../../../../../src/blueprints/planning-old/blueprint.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export declare const TaskFunctions: {
|
|
2
|
-
Read: import("@dxos/functions").FunctionDefinition<{
|
|
3
|
-
readonly doc: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
4
|
-
readonly name?: string | undefined;
|
|
5
|
-
readonly description?: string | undefined;
|
|
6
|
-
readonly fallbackName?: string | undefined;
|
|
7
|
-
readonly content: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
8
|
-
readonly content: string;
|
|
9
|
-
}>;
|
|
10
|
-
}>;
|
|
11
|
-
}, {
|
|
12
|
-
readonly content: string;
|
|
13
|
-
}, import("@dxos/functions").FunctionServices>;
|
|
14
|
-
Update: import("@dxos/functions").FunctionDefinition<{
|
|
15
|
-
readonly doc: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
16
|
-
readonly name?: string | undefined;
|
|
17
|
-
readonly description?: string | undefined;
|
|
18
|
-
readonly fallbackName?: string | undefined;
|
|
19
|
-
readonly content: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
20
|
-
readonly content: string;
|
|
21
|
-
}>;
|
|
22
|
-
}>;
|
|
23
|
-
readonly operations?: readonly any[] | undefined;
|
|
24
|
-
}, {
|
|
25
|
-
readonly content: string;
|
|
26
|
-
readonly numberedContent: string;
|
|
27
|
-
}, import("@dxos/functions").FunctionServices>;
|
|
28
|
-
};
|
|
29
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/blueprints/planning-old/functions/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGzB,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
declare const _default: import("@dxos/functions").FunctionDefinition<{
|
|
2
|
-
readonly doc: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
3
|
-
readonly name?: string | undefined;
|
|
4
|
-
readonly description?: string | undefined;
|
|
5
|
-
readonly fallbackName?: string | undefined;
|
|
6
|
-
readonly content: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
7
|
-
readonly content: string;
|
|
8
|
-
}>;
|
|
9
|
-
}>;
|
|
10
|
-
}, {
|
|
11
|
-
readonly content: string;
|
|
12
|
-
}, import("@dxos/functions").FunctionServices>;
|
|
13
|
-
export default _default;
|
|
14
|
-
//# sourceMappingURL=read.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"read.d.ts","sourceRoot":"","sources":["../../../../../../src/blueprints/planning-old/functions/read.ts"],"names":[],"mappings":";;;;;;;;;;;;AAWA,wBAsBG"}
|