@dxos/assistant-toolkit 0.8.4-main.cb12b3f963 → 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.
Files changed (102) hide show
  1. package/dist/lib/neutral/{add-artifact-TWTWAY3H.mjs → add-artifact-ZUJ5DMSY.mjs} +3 -3
  2. package/dist/lib/neutral/{agent-7ROVDSSY.mjs → agent-5NIKAYUK.mjs} +3 -3
  3. package/dist/lib/neutral/{chunk-2Q63LLSY.mjs → chunk-246ACKSH.mjs} +6 -6
  4. package/dist/lib/neutral/chunk-246ACKSH.mjs.map +7 -0
  5. package/dist/lib/neutral/{chunk-43U4ZAOZ.mjs → chunk-FIGO6CA6.mjs} +2 -2
  6. package/dist/lib/neutral/{chunk-J37DYY7A.mjs → chunk-GV66MKAQ.mjs} +12 -3
  7. package/dist/lib/neutral/chunk-GV66MKAQ.mjs.map +7 -0
  8. package/dist/lib/neutral/{chunk-CVUA23QI.mjs → chunk-IKBIORQX.mjs} +14 -14
  9. package/dist/lib/neutral/chunk-IKBIORQX.mjs.map +7 -0
  10. package/dist/lib/neutral/{chunk-DN4LTRFN.mjs → chunk-P4ZMYO4K.mjs} +27 -26
  11. package/dist/lib/neutral/chunk-P4ZMYO4K.mjs.map +7 -0
  12. package/dist/lib/neutral/{chunk-2XK7EWKJ.mjs → chunk-QO5SU37C.mjs} +5 -5
  13. package/dist/lib/neutral/{chunk-2XK7EWKJ.mjs.map → chunk-QO5SU37C.mjs.map} +3 -3
  14. package/dist/lib/neutral/{chunk-OHDGJMVE.mjs → chunk-XUF53B6B.mjs} +2 -2
  15. package/dist/lib/neutral/{context-add-IIDPRRVB.mjs → context-add-VB7AOY3G.mjs} +2 -2
  16. package/dist/lib/neutral/{context-remove-RDYV4PD4.mjs → context-remove-VCM3VPSO.mjs} +2 -2
  17. package/dist/lib/neutral/{create-project-WEQYCL7A.mjs → create-project-EIF4OJMY.mjs} +5 -5
  18. package/dist/lib/neutral/{get-context-S735CUYM.mjs → get-context-TN7X7U2H.mjs} +3 -3
  19. package/dist/lib/neutral/index.mjs +31 -19
  20. package/dist/lib/neutral/index.mjs.map +3 -3
  21. package/dist/lib/neutral/{load-LI7HHVD6.mjs → load-ALP3TK2E.mjs} +2 -2
  22. package/dist/lib/neutral/meta.json +1 -1
  23. package/dist/lib/neutral/{object-create-ZRBHR72E.mjs → object-create-Z57Y3X6Y.mjs} +2 -2
  24. package/dist/lib/neutral/{object-delete-I266YAXI.mjs → object-delete-X53LS37B.mjs} +2 -2
  25. package/dist/lib/neutral/{object-update-HY4GI7LA.mjs → object-update-GVKSBR7T.mjs} +2 -2
  26. package/dist/lib/neutral/{project-KEZSS5UM.mjs → project-HPHTZ2CI.mjs} +4 -4
  27. package/dist/lib/neutral/{project-rules-UGFRHIX7.mjs → project-rules-IVDHKSKI.mjs} +3 -3
  28. package/dist/lib/neutral/{prompt-NPOR2MVC.mjs → prompt-Y7NN7M5D.mjs} +8 -5
  29. package/dist/lib/neutral/{prompt-NPOR2MVC.mjs.map → prompt-Y7NN7M5D.mjs.map} +3 -3
  30. package/dist/lib/neutral/{qualifier-NW5VBP64.mjs → qualifier-VDOY5CWU.mjs} +3 -3
  31. package/dist/lib/neutral/{query-B3NOYFCK.mjs → query-PPJU5622.mjs} +2 -2
  32. package/dist/lib/neutral/{relation-create-E7VOVXHU.mjs → relation-create-XJ2IX6X3.mjs} +2 -2
  33. package/dist/lib/neutral/{relation-delete-LXY7W2YO.mjs → relation-delete-EP4KXAFL.mjs} +2 -2
  34. package/dist/lib/neutral/{schema-add-4TXJO2V7.mjs → schema-add-Z5CY6P24.mjs} +2 -2
  35. package/dist/lib/neutral/{schema-list-PJS5AFZ3.mjs → schema-list-W326VPVX.mjs} +2 -2
  36. package/dist/lib/neutral/{sync-triggers-RFM3YGKG.mjs → sync-triggers-CDMJVW6E.mjs} +4 -4
  37. package/dist/lib/neutral/{tag-add-5NOHUTIE.mjs → tag-add-VNIIOVJA.mjs} +2 -2
  38. package/dist/lib/neutral/{tag-remove-QTKYDJAW.mjs → tag-remove-6R2R27W3.mjs} +2 -2
  39. package/dist/lib/neutral/{update-tasks-QN2EMFUU.mjs → update-tasks-H7SWIFQL.mjs} +3 -3
  40. package/dist/types/src/blueprints/blueprint-manager/functions/definitions.d.ts +8 -4
  41. package/dist/types/src/blueprints/blueprint-manager/functions/definitions.d.ts.map +1 -1
  42. package/dist/types/src/blueprints/blueprint-manager/functions/enable-blueprints.d.ts +4 -2
  43. package/dist/types/src/blueprints/blueprint-manager/functions/query-blueprints.d.ts +4 -2
  44. package/dist/types/src/blueprints/database/functions/definitions.d.ts.map +1 -1
  45. package/dist/types/src/blueprints/project/functions/definitions.d.ts +4 -4
  46. package/dist/types/src/blueprints/project/functions/definitions.d.ts.map +1 -1
  47. package/dist/types/src/blueprints/project/functions/qualifier.d.ts +2 -2
  48. package/dist/types/src/blueprints/project-wizard/functions/create-project.d.ts +2 -2
  49. package/dist/types/src/blueprints/project-wizard/functions/definitions.d.ts +4 -4
  50. package/dist/types/src/blueprints/project-wizard/functions/sync-triggers.d.ts +2 -2
  51. package/dist/types/src/functions/agent/definitions.d.ts +6 -4
  52. package/dist/types/src/functions/agent/definitions.d.ts.map +1 -1
  53. package/dist/types/src/types/Agent.d.ts +2 -2
  54. package/dist/types/src/types/Agent.d.ts.map +1 -1
  55. package/dist/types/src/types/McpServer.d.ts +4 -1
  56. package/dist/types/src/types/McpServer.d.ts.map +1 -1
  57. package/dist/types/tsconfig.tsbuildinfo +1 -1
  58. package/package.json +25 -25
  59. package/src/blueprints/automation/blueprint.ts +1 -1
  60. package/src/blueprints/blueprint-manager/blueprint.ts +2 -2
  61. package/src/blueprints/browser/blueprint.test.ts +3 -3
  62. package/src/blueprints/browser/blueprint.ts +1 -1
  63. package/src/blueprints/database/blueprint.ts +1 -1
  64. package/src/blueprints/database/functions/definitions.ts +13 -13
  65. package/src/blueprints/discord/blueprint.ts +1 -1
  66. package/src/blueprints/linear/blueprint.ts +1 -1
  67. package/src/blueprints/memory/blueprint.ts +1 -1
  68. package/src/blueprints/project/blueprint.test.ts +4 -4
  69. package/src/blueprints/project/blueprint.ts +2 -2
  70. package/src/blueprints/project/functions/definitions.ts +4 -4
  71. package/src/functions/agent/definitions.ts +7 -2
  72. package/src/functions/agent/prompt.ts +4 -1
  73. package/src/types/Agent.ts +19 -18
  74. package/src/types/McpServer.ts +5 -5
  75. package/dist/lib/neutral/chunk-2Q63LLSY.mjs.map +0 -7
  76. package/dist/lib/neutral/chunk-CVUA23QI.mjs.map +0 -7
  77. package/dist/lib/neutral/chunk-DN4LTRFN.mjs.map +0 -7
  78. package/dist/lib/neutral/chunk-J37DYY7A.mjs.map +0 -7
  79. /package/dist/lib/neutral/{add-artifact-TWTWAY3H.mjs.map → add-artifact-ZUJ5DMSY.mjs.map} +0 -0
  80. /package/dist/lib/neutral/{agent-7ROVDSSY.mjs.map → agent-5NIKAYUK.mjs.map} +0 -0
  81. /package/dist/lib/neutral/{chunk-43U4ZAOZ.mjs.map → chunk-FIGO6CA6.mjs.map} +0 -0
  82. /package/dist/lib/neutral/{chunk-OHDGJMVE.mjs.map → chunk-XUF53B6B.mjs.map} +0 -0
  83. /package/dist/lib/neutral/{context-add-IIDPRRVB.mjs.map → context-add-VB7AOY3G.mjs.map} +0 -0
  84. /package/dist/lib/neutral/{context-remove-RDYV4PD4.mjs.map → context-remove-VCM3VPSO.mjs.map} +0 -0
  85. /package/dist/lib/neutral/{create-project-WEQYCL7A.mjs.map → create-project-EIF4OJMY.mjs.map} +0 -0
  86. /package/dist/lib/neutral/{get-context-S735CUYM.mjs.map → get-context-TN7X7U2H.mjs.map} +0 -0
  87. /package/dist/lib/neutral/{load-LI7HHVD6.mjs.map → load-ALP3TK2E.mjs.map} +0 -0
  88. /package/dist/lib/neutral/{object-create-ZRBHR72E.mjs.map → object-create-Z57Y3X6Y.mjs.map} +0 -0
  89. /package/dist/lib/neutral/{object-delete-I266YAXI.mjs.map → object-delete-X53LS37B.mjs.map} +0 -0
  90. /package/dist/lib/neutral/{object-update-HY4GI7LA.mjs.map → object-update-GVKSBR7T.mjs.map} +0 -0
  91. /package/dist/lib/neutral/{project-KEZSS5UM.mjs.map → project-HPHTZ2CI.mjs.map} +0 -0
  92. /package/dist/lib/neutral/{project-rules-UGFRHIX7.mjs.map → project-rules-IVDHKSKI.mjs.map} +0 -0
  93. /package/dist/lib/neutral/{qualifier-NW5VBP64.mjs.map → qualifier-VDOY5CWU.mjs.map} +0 -0
  94. /package/dist/lib/neutral/{query-B3NOYFCK.mjs.map → query-PPJU5622.mjs.map} +0 -0
  95. /package/dist/lib/neutral/{relation-create-E7VOVXHU.mjs.map → relation-create-XJ2IX6X3.mjs.map} +0 -0
  96. /package/dist/lib/neutral/{relation-delete-LXY7W2YO.mjs.map → relation-delete-EP4KXAFL.mjs.map} +0 -0
  97. /package/dist/lib/neutral/{schema-add-4TXJO2V7.mjs.map → schema-add-Z5CY6P24.mjs.map} +0 -0
  98. /package/dist/lib/neutral/{schema-list-PJS5AFZ3.mjs.map → schema-list-W326VPVX.mjs.map} +0 -0
  99. /package/dist/lib/neutral/{sync-triggers-RFM3YGKG.mjs.map → sync-triggers-CDMJVW6E.mjs.map} +0 -0
  100. /package/dist/lib/neutral/{tag-add-5NOHUTIE.mjs.map → tag-add-VNIIOVJA.mjs.map} +0 -0
  101. /package/dist/lib/neutral/{tag-remove-QTKYDJAW.mjs.map → tag-remove-6R2R27W3.mjs.map} +0 -0
  102. /package/dist/lib/neutral/{update-tasks-QN2EMFUU.mjs.map → update-tasks-H7SWIFQL.mjs.map} +0 -0
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AddArtifact
3
- } from "./chunk-2Q63LLSY.mjs";
3
+ } from "./chunk-246ACKSH.mjs";
4
4
  import {
5
5
  Agent_exports
6
- } from "./chunk-DN4LTRFN.mjs";
6
+ } from "./chunk-P4ZMYO4K.mjs";
7
7
  import "./chunk-NR3GTWRC.mjs";
8
8
  import "./chunk-KGU725LW.mjs";
9
9
  import "./chunk-J5LGTIGS.mjs";
@@ -27,4 +27,4 @@ var add_artifact_default = AddArtifact.pipe(Operation.withHandler(Effect.fnUntra
27
27
  export {
28
28
  add_artifact_default as default
29
29
  };
30
- //# sourceMappingURL=add-artifact-TWTWAY3H.mjs.map
30
+ //# sourceMappingURL=add-artifact-ZUJ5DMSY.mjs.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AgentWorker
3
- } from "./chunk-2Q63LLSY.mjs";
3
+ } from "./chunk-246ACKSH.mjs";
4
4
  import {
5
5
  Agent_exports
6
- } from "./chunk-DN4LTRFN.mjs";
6
+ } from "./chunk-P4ZMYO4K.mjs";
7
7
  import "./chunk-NR3GTWRC.mjs";
8
8
  import "./chunk-KGU725LW.mjs";
9
9
  import "./chunk-J5LGTIGS.mjs";
@@ -62,4 +62,4 @@ var agent_default = AgentWorker.pipe(Operation.withHandler(Effect.fnUntraced(fun
62
62
  export {
63
63
  agent_default as default
64
64
  };
65
- //# sourceMappingURL=agent-7ROVDSSY.mjs.map
65
+ //# sourceMappingURL=agent-5NIKAYUK.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Agent_exports
3
- } from "./chunk-DN4LTRFN.mjs";
3
+ } from "./chunk-P4ZMYO4K.mjs";
4
4
 
5
5
  // src/blueprints/project/functions/definitions.ts
6
6
  import * as Schema from "effect/Schema";
@@ -30,7 +30,7 @@ var AgentWorker = Operation.make({
30
30
  Trace.TraceService,
31
31
  OpaqueToolkit.OpaqueToolkitProvider
32
32
  ]
33
- });
33
+ }).pipe(Operation.intrinsic);
34
34
  var Qualifier = Operation.make({
35
35
  meta: {
36
36
  key: "org.dxos.function.agent.qualifier",
@@ -46,7 +46,7 @@ var Qualifier = Operation.make({
46
46
  AiService.AiService,
47
47
  Database.Service
48
48
  ]
49
- });
49
+ }).pipe(Operation.intrinsic);
50
50
  var GetContext = Operation.make({
51
51
  meta: {
52
52
  key: "org.dxos.function.agent.get-context",
@@ -69,7 +69,7 @@ var GetContext = Operation.make({
69
69
  AiContextService,
70
70
  Database.Service
71
71
  ]
72
- });
72
+ }).pipe(Operation.intrinsic);
73
73
  var AddArtifact = Operation.make({
74
74
  meta: {
75
75
  key: "org.dxos.function.agent.add-artifact",
@@ -89,7 +89,7 @@ var AddArtifact = Operation.make({
89
89
  AiContextService,
90
90
  Database.Service
91
91
  ]
92
- });
92
+ }).pipe(Operation.intrinsic);
93
93
 
94
94
  export {
95
95
  AgentWorker,
@@ -97,4 +97,4 @@ export {
97
97
  GetContext,
98
98
  AddArtifact
99
99
  };
100
- //# sourceMappingURL=chunk-2Q63LLSY.mjs.map
100
+ //# sourceMappingURL=chunk-246ACKSH.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/blueprints/project/functions/definitions.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2026 DXOS.org\n//\n\nimport * as Schema from 'effect/Schema';\n\nimport { AiService, OpaqueToolkit } from '@dxos/ai';\nimport { AiContextService } from '@dxos/assistant';\nimport { Trace, TriggerEvent, Operation, OperationRegistry } from '@dxos/compute';\nimport { Database, Feed, Obj, Ref } from '@dxos/echo';\nimport { QueueService } from '@dxos/functions';\n\nimport { Agent } from '../../../types';\n\nexport const AgentWorker = Operation.make({\n meta: {\n key: 'org.dxos.function.agent.worker',\n name: 'Agent Worker',\n description: 'Agentic worker that drives the agent autonomously.',\n },\n input: Schema.Struct({\n agent: Schema.suspend(() => Ref.Ref(Agent.Agent)),\n prompt: Schema.optional(Schema.String),\n event: Schema.optional(TriggerEvent.TriggerEvent),\n }),\n output: Schema.Void,\n services: [\n AiService.AiService,\n Database.Service,\n QueueService,\n Feed.FeedService,\n OperationRegistry.Service,\n Trace.TraceService,\n OpaqueToolkit.OpaqueToolkitProvider,\n ],\n}).pipe(Operation.intrinsic);\n\nexport const Qualifier = Operation.make({\n meta: {\n key: 'org.dxos.function.agent.qualifier',\n name: 'Agent Qualifier',\n description:\n 'Qualifier that determines if the event is relevant to the agent. Puts the data into the input queue of the agent.',\n },\n input: Schema.Struct({\n agent: Schema.suspend(() => Ref.Ref(Agent.Agent)),\n event: TriggerEvent.TriggerEvent,\n }),\n output: Schema.Void,\n services: [AiService.AiService, Database.Service],\n}).pipe(Operation.intrinsic);\n\nexport const GetContext = Operation.make({\n meta: {\n key: 'org.dxos.function.agent.get-context',\n name: 'Get Agent Context',\n description: 'Get the context of an agent.',\n },\n input: Schema.Struct({}),\n output: Schema.Struct({\n id: Schema.String,\n name: Schema.String,\n instructions: Schema.String,\n plan: Schema.String,\n artifacts: Schema.Array(\n Schema.Struct({\n name: Schema.String,\n type: Schema.optional(Schema.String),\n dxn: Schema.optional(Schema.String),\n }),\n ),\n }),\n services: [AiContextService, Database.Service],\n}).pipe(Operation.intrinsic);\n\nexport const AddArtifact = Operation.make({\n meta: {\n key: 'org.dxos.function.agent.add-artifact',\n name: 'Add artifact',\n description: 'Adds a new artifact.',\n },\n input: Schema.Struct({\n name: Schema.String.annotations({\n description: 'The name of the artifact to add.',\n }),\n artifact: Ref.Ref(Obj.Unknown).annotations({\n description: 'The artifact to add. Do NOT guess or try to generate the ID.',\n }),\n }),\n output: Schema.Void,\n services: [AiContextService, Database.Service],\n}).pipe(Operation.intrinsic);\n"],
5
+ "mappings": ";;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,WAAWC,qBAAqB;AACzC,SAASC,wBAAwB;AACjC,SAASC,OAAOC,cAAcC,WAAWC,yBAAyB;AAClE,SAASC,UAAUC,MAAMC,KAAKC,WAAW;AACzC,SAASC,oBAAoB;AAItB,IAAMC,cAAcC,UAAUC,KAAK;EACxCC,MAAM;IACJC,KAAK;IACLC,MAAM;IACNC,aAAa;EACf;EACAC,OAAcC,cAAO;IACnBC,OAAcC,eAAQ,MAAMC,IAAIA,IAAIC,cAAMA,KAAK,CAAA;IAC/CC,QAAeC,gBAAgBC,aAAM;IACrCC,OAAcF,gBAASG,aAAaA,YAAY;EAClD,C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",
6
+ "names": ["Schema", "AiService", "OpaqueToolkit", "AiContextService", "Trace", "TriggerEvent", "Operation", "OperationRegistry", "Database", "Feed", "Obj", "Ref", "QueueService", "AgentWorker", "Operation", "make", "meta", "key", "name", "description", "input", "Struct", "agent", "suspend", "Ref", "Agent", "prompt", "optional", "String", "event", "TriggerEvent", "output", "Void", "services", "AiService", "Database", "Service", "QueueService", "Feed", "FeedService", "OperationRegistry", "Trace", "TraceService", "OpaqueToolkit", "OpaqueToolkitProvider", "pipe", "intrinsic", "Qualifier", "GetContext", "id", "instructions", "plan", "artifacts", "Array", "type", "dxn", "AiContextService", "AddArtifact", "annotations", "artifact", "Obj", "Unknown"]
7
+ }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Plan_exports
3
- } from "./chunk-DN4LTRFN.mjs";
3
+ } from "./chunk-P4ZMYO4K.mjs";
4
4
 
5
5
  // src/blueprints/planning/functions/definitions.ts
6
6
  import * as Schema from "effect/Schema";
@@ -137,4 +137,4 @@ var UpdateTasks = Operation.make({
137
137
  export {
138
138
  UpdateTasks
139
139
  };
140
- //# sourceMappingURL=chunk-43U4ZAOZ.mjs.map
140
+ //# sourceMappingURL=chunk-FIGO6CA6.mjs.map
@@ -7,10 +7,11 @@ import * as Schema from "effect/Schema";
7
7
  import { AiService, OpaqueToolkit, ModelName } from "@dxos/ai";
8
8
  import { Routine, Trace, Operation, OperationRegistry } from "@dxos/compute";
9
9
  import { Database, Feed, Ref } from "@dxos/echo";
10
+ import { Text } from "@dxos/schema";
10
11
  var AgentPrompt = Operation.make({
11
12
  meta: {
12
13
  key: "org.dxos.function.prompt",
13
- name: "Agent",
14
+ name: "Run Routine",
14
15
  description: "Agentic worker that executes a provided prompt using blueprints and tools."
15
16
  },
16
17
  input: Schema.Struct({
@@ -35,6 +36,14 @@ var AgentPrompt = Operation.make({
35
36
  })
36
37
  }),
37
38
  output: Schema.Any,
39
+ // ECHO types that the handler loads via Database.load(). Declaring them here ensures the
40
+ // runtime registers their schema before remote invocation (e.g. via the EDGE function service).
41
+ types: [
42
+ Routine.Routine,
43
+ Text.Text,
44
+ Feed.Feed,
45
+ Chat
46
+ ],
38
47
  services: [
39
48
  AiService.AiService,
40
49
  Database.Service,
@@ -43,9 +52,9 @@ var AgentPrompt = Operation.make({
43
52
  OperationRegistry.Service,
44
53
  Trace.TraceService
45
54
  ]
46
- });
55
+ }).pipe(Operation.intrinsic);
47
56
 
48
57
  export {
49
58
  AgentPrompt
50
59
  };
51
- //# sourceMappingURL=chunk-J37DYY7A.mjs.map
60
+ //# sourceMappingURL=chunk-GV66MKAQ.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/functions/agent/definitions.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Schema from 'effect/Schema';\n\nimport { AiService, OpaqueToolkit, ModelName } from '@dxos/ai';\nimport { Routine, Trace, Operation, OperationRegistry } from '@dxos/compute';\nimport { Database, Feed, Ref } from '@dxos/echo';\nimport { Text } from '@dxos/schema';\n\nimport * as Chat from '../../types/Chat';\n\n// TODO(dmaretskyi): Rename to RunRoutine.\nexport const AgentPrompt = Operation.make({\n meta: {\n key: 'org.dxos.function.prompt',\n name: 'Run Routine',\n description: 'Agentic worker that executes a provided prompt using blueprints and tools.',\n },\n input: Schema.Struct({\n prompt: Ref.Ref(Routine.Routine),\n\n /**\n * When set, runs in this chat (history, queue, and bound context). Routine blueprints and context objects are merged into the conversation for this request.\n */\n chat: Schema.optional(Ref.Ref(Chat.Chat)),\n\n /**\n * @default @anthropic/claude-opus-4-6\n */\n\n model: Schema.optional(ModelName),\n /**\n * Input object or data.\n * References get auto-resolved.\n */\n input: Schema.Any.pipe(Schema.annotations({ title: 'Input' })),\n\n systemInstructions: Schema.optional(Schema.String).annotations({\n description: 'Additional system instructions to add to the system prompt.',\n }),\n }),\n output: Schema.Any,\n // ECHO types that the handler loads via Database.load(). Declaring them here ensures the\n // runtime registers their schema before remote invocation (e.g. via the EDGE function service).\n types: [Routine.Routine, Text.Text, Feed.Feed, Chat.Chat],\n services: [\n AiService.AiService,\n Database.Service,\n Feed.FeedService,\n OpaqueToolkit.OpaqueToolkitProvider,\n OperationRegistry.Service,\n Trace.TraceService,\n ],\n}).pipe(Operation.intrinsic);\n"],
5
+ "mappings": ";;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,WAAWC,eAAeC,iBAAiB;AACpD,SAASC,SAASC,OAAOC,WAAWC,yBAAyB;AAC7D,SAASC,UAAUC,MAAMC,WAAW;AACpC,SAASC,YAAY;AAKd,IAAMC,cAAcC,UAAUC,KAAK;EACxCC,MAAM;IACJC,KAAK;IACLC,MAAM;IACNC,aAAa;EACf;EACAC,OAAcC,cAAO;IACnBC,QAAQC,IAAIA,IAAIC,QAAQA,OAAO;;;;IAK/BC,MAAaC,gBAASH,IAAIA,IAASI,IAAI,CAAA;;;;IAMvCC,OAAcF,gBAASG,SAAAA;;;;;IAKvBT,OAAcU,WAAIC,KAAYC,mBAAY;MAAEC,OAAO;IAAQ,CAAA,CAAA;IAE3DC,oBAA2BR,gBAAgBS,aAAM,EAAEH,YAAY;MAC7Db,aAAa;IACf,CAAA;EACF,CAAA;EACAiB,QAAeN;;;EAGfO,OAAO;IAACb,QAAQA;IAASc,KAAKA;IAAMC,KAAKA;IAAWZ;;EACpDa,UAAU;IACRC,UAAUA;IACVC,SAASC;IACTJ,KAAKK;IACLC,cAAcC;IACdC,kBAAkBJ;IAClBK,MAAMC;;AAEV,CAAA,EAAGlB,KAAKjB,UAAUoC,SAAS;",
6
+ "names": ["Schema", "AiService", "OpaqueToolkit", "ModelName", "Routine", "Trace", "Operation", "OperationRegistry", "Database", "Feed", "Ref", "Text", "AgentPrompt", "Operation", "make", "meta", "key", "name", "description", "input", "Struct", "prompt", "Ref", "Routine", "chat", "optional", "Chat", "model", "ModelName", "Any", "pipe", "annotations", "title", "systemInstructions", "String", "output", "types", "Text", "Feed", "services", "AiService", "Database", "Service", "FeedService", "OpaqueToolkit", "OpaqueToolkitProvider", "OperationRegistry", "Trace", "TraceService", "intrinsic"]
7
+ }
@@ -83,7 +83,7 @@ var Query = Operation.make({
83
83
  services: [
84
84
  Database.Service
85
85
  ]
86
- });
86
+ }).pipe(Operation.intrinsic);
87
87
  var Load = Operation.make({
88
88
  meta: {
89
89
  key: "org.dxos.function.database.load",
@@ -104,7 +104,7 @@ var Load = Operation.make({
104
104
  services: [
105
105
  Database.Service
106
106
  ]
107
- });
107
+ }).pipe(Operation.intrinsic);
108
108
  var ObjectCreate = Operation.make({
109
109
  meta: {
110
110
  key: "org.dxos.function.database.object-create",
@@ -124,7 +124,7 @@ var ObjectCreate = Operation.make({
124
124
  services: [
125
125
  Database.Service
126
126
  ]
127
- });
127
+ }).pipe(Operation.intrinsic);
128
128
  var ObjectUpdate = Operation.make({
129
129
  meta: {
130
130
  key: "org.dxos.function.database.object-update",
@@ -146,7 +146,7 @@ var ObjectUpdate = Operation.make({
146
146
  services: [
147
147
  Database.Service
148
148
  ]
149
- });
149
+ }).pipe(Operation.intrinsic);
150
150
  var ObjectDelete = Operation.make({
151
151
  meta: {
152
152
  key: "org.dxos.function.database.object-delete",
@@ -162,7 +162,7 @@ var ObjectDelete = Operation.make({
162
162
  services: [
163
163
  Database.Service
164
164
  ]
165
- });
165
+ }).pipe(Operation.intrinsic);
166
166
  var SchemaAdd = Operation.make({
167
167
  meta: {
168
168
  key: "org.dxos.function.database.schema-add",
@@ -183,7 +183,7 @@ var SchemaAdd = Operation.make({
183
183
  services: [
184
184
  Database.Service
185
185
  ]
186
- });
186
+ }).pipe(Operation.intrinsic);
187
187
  var SchemaList = Operation.make({
188
188
  meta: {
189
189
  key: "org.dxos.function.database.schema-list",
@@ -199,7 +199,7 @@ var SchemaList = Operation.make({
199
199
  services: [
200
200
  Database.Service
201
201
  ]
202
- });
202
+ }).pipe(Operation.intrinsic);
203
203
  var ContextAdd = Operation.make({
204
204
  meta: {
205
205
  key: "org.dxos.function.database.context-add",
@@ -218,7 +218,7 @@ var ContextAdd = Operation.make({
218
218
  services: [
219
219
  AiContextService
220
220
  ]
221
- });
221
+ }).pipe(Operation.intrinsic);
222
222
  var ContextRemove = Operation.make({
223
223
  meta: {
224
224
  key: "org.dxos.function.database.context-remove",
@@ -237,7 +237,7 @@ var ContextRemove = Operation.make({
237
237
  services: [
238
238
  AiContextService
239
239
  ]
240
- });
240
+ }).pipe(Operation.intrinsic);
241
241
  var RelationCreate = Operation.make({
242
242
  meta: {
243
243
  key: "org.dxos.function.database.relation-create",
@@ -259,7 +259,7 @@ var RelationCreate = Operation.make({
259
259
  services: [
260
260
  Database.Service
261
261
  ]
262
- });
262
+ }).pipe(Operation.intrinsic);
263
263
  var RelationDelete = Operation.make({
264
264
  meta: {
265
265
  key: "org.dxos.function.database.relation-delete",
@@ -275,7 +275,7 @@ var RelationDelete = Operation.make({
275
275
  services: [
276
276
  Database.Service
277
277
  ]
278
- });
278
+ }).pipe(Operation.intrinsic);
279
279
  var TagAdd = Operation.make({
280
280
  meta: {
281
281
  key: "org.dxos.function.database.tag-add",
@@ -294,7 +294,7 @@ var TagAdd = Operation.make({
294
294
  services: [
295
295
  Database.Service
296
296
  ]
297
- });
297
+ }).pipe(Operation.intrinsic);
298
298
  var TagRemove = Operation.make({
299
299
  meta: {
300
300
  key: "org.dxos.function.database.tag-remove",
@@ -312,7 +312,7 @@ var TagRemove = Operation.make({
312
312
  services: [
313
313
  Database.Service
314
314
  ]
315
- });
315
+ }).pipe(Operation.intrinsic);
316
316
 
317
317
  export {
318
318
  Query,
@@ -329,4 +329,4 @@ export {
329
329
  TagAdd,
330
330
  TagRemove
331
331
  };
332
- //# sourceMappingURL=chunk-CVUA23QI.mjs.map
332
+ //# sourceMappingURL=chunk-IKBIORQX.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/blueprints/database/functions/definitions.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Schema from 'effect/Schema';\n\nimport { AiContextService } from '@dxos/assistant';\nimport { Operation } from '@dxos/compute';\nimport { Database, Obj, Ref, Relation, Tag } from '@dxos/echo';\nimport { trim } from '@dxos/util';\n\nexport const Query = Operation.make({\n meta: {\n key: 'org.dxos.function.database.query',\n name: 'Query',\n description: trim`\n Query for objects in ECHO.\n Use this tool when searching for information in the space (both automerge and queues).\n Currently, two types of queries are supported:\n - Full-text search - terms may appear anywhere in the object.\n - Type-based search - objects of a specific type.\n You can use them together, for example, to search for objects of a specific type that match a full-text query.\n Important: Whem querying by typename, make sure to list the schema first, to get the exact typename.\n\n Omit both typename and text to search for all objects.\n\n <output_format>\n You can choose to either return the full object data, or just the DXN, type and label.\n When expecting a lot of results, run with includeContent=false to not pollute the context, and then load specific objects using the load tool.\n\n You can choose to get the content right away, if you don't expect a lot of results.\n To load content right away, run with includeContent=true.\n When loading content, set an appropriate limit on the number of results to avoid overwhelming the context.\n </output_format>\n\n <example description=\"All tasks related to Cyberdyne and Bob\">\n {\n \"typename\": \"org.dxos.type.task\",\n \"text\": \"cyberdyne bob\",\n }\n </example>\n\n <example description=\"Financial report Q1 2026\">\n {\n \"typename\": \"org.dxos.type.document\",\n \"text\": \"financial report Q1 2026\",\n \"includeContent\": true\n \"limit\": 3\n }\n </example>\n\n <example description=\"Emails from specific mailboxes\">\n {\n \"in\": [{\"/\" : \"dxn:echo:@:YYYYYY\"}, {\"/\" : \"dxn:echo:@:XXXXXXX\"}],\n \"typename\": \"org.dxos.type.email\",\n \"includeContent\": true,\n \"limit\": 20\n }\n </example>\n `,\n },\n input: Schema.Struct({\n in: Schema.optional(\n Schema.Array(Ref.Ref(Obj.Unknown)).annotations({\n description:\n 'Scope the query to children of specific objects (transitively). ' +\n 'Use this to query items within containers such as feeds or folders. ' +\n 'For example, to find emails use `in: [mailbox1.feed, mailbox2.feed]`.',\n }),\n ),\n typename: Schema.optional(\n Schema.String.annotations({\n description: 'The typename of the objects to list.',\n example: 'org.dxos.type.task',\n }),\n ),\n text: Schema.optional(\n Schema.String.annotations({\n description: 'Full text search query.',\n example: 'email cyberdyne bob',\n }),\n ),\n includeContent: Schema.optional(\n Schema.Boolean.annotations({\n description: 'Include the full object data in the response.',\n default: false,\n }),\n ),\n limit: Schema.optional(\n Schema.Number.annotations({\n description: 'The maximum number of results to return.',\n default: 10,\n }),\n ),\n includeQueues: Schema.optional(\n Schema.Boolean.annotations({\n description: 'Search in queues as well as spaces. Only use this if searching for emails.',\n default: false,\n }),\n ),\n }),\n output: Schema.Array(Schema.Unknown),\n services: [Database.Service],\n}).pipe(Operation.intrinsic);\n\nexport const Load = Operation.make({\n meta: {\n key: 'org.dxos.function.database.load',\n name: 'Load object',\n description: trim`\n Loads the object or relation content.\n Can load multiple objects at at time.\n Use the to read the data when you have a DXN.\n Call this tool with an array of one or more DXNs or object IDs.\n When use see a reference ({ '/': 'dxn:...' }), you can call this function to load the object.\n Note that returned data is only a snapshot in time, and might have changed since the object was last loaded.\n `,\n },\n input: Schema.Struct({\n refs: Schema.Array(Ref.Ref(Obj.Unknown)),\n }),\n output: Schema.Unknown,\n services: [Database.Service],\n}).pipe(Operation.intrinsic);\n\nexport const ObjectCreate = Operation.make({\n meta: {\n key: 'org.dxos.function.database.object-create',\n name: 'Create object',\n description: trim`\n Creates a new object and adds it to the current space.\n Get the schema from the schema-list tool and ensure that the data matches the corresponding schema.\n References are provided in the following format: { \"/\": \"dxn:...\" }.\n Reference examples: { \"/\": \"dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4\" }, { \"/\": \"dxn:queue:data:01KG7R1ZXWFMWQ4DA1Q6TN1DG4:01KG7R1ZXWFMWQ4DA1Q6TN1DG4\" }\n `,\n },\n input: Schema.Struct({\n typename: Schema.String,\n data: Schema.Any,\n }),\n output: Schema.Unknown,\n services: [Database.Service],\n}).pipe(Operation.intrinsic);\n\nexport const ObjectUpdate = Operation.make({\n meta: {\n key: 'org.dxos.function.database.object-update',\n name: 'Update object',\n description: trim`\n Updates the object properties.\n References are provided in the following format: { \"/\": \"dxn:...\" }.\n Reference examples: { \"/\": \"dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4\" }, { \"/\": \"dxn:queue:data:01KG7R1ZXWFMWQ4DA1Q6TN1DG4:01KG7R1ZXWFMWQ4DA1Q6TN1DG4\" }\n `,\n },\n input: Schema.Struct({\n obj: Ref.Ref(Obj.Unknown),\n properties: Schema.Record({ key: Schema.String, value: Schema.Any }),\n }),\n output: Schema.Unknown,\n services: [Database.Service],\n}).pipe(Operation.intrinsic);\n\nexport const ObjectDelete = Operation.make({\n meta: {\n key: 'org.dxos.function.database.object-delete',\n name: 'Delete object',\n description: trim`\n Deletes the object.\n `,\n },\n input: Schema.Struct({\n obj: Ref.Ref(Obj.Unknown),\n }),\n output: Schema.Void,\n services: [Database.Service],\n}).pipe(Operation.intrinsic);\n\nexport const SchemaAdd = Operation.make({\n meta: {\n key: 'org.dxos.function.database.schema-add',\n name: 'Add schema',\n description: trim`\n Adds a schema to the space.\n The name will be used when displayed to the user.\n `,\n },\n input: Schema.Struct({\n name: Schema.String,\n typename: Schema.String.annotations({\n description: 'The typename of the schema in the format of \"com.example.type.type\".',\n }),\n jsonSchema: Schema.Any,\n }),\n output: Schema.Void,\n services: [Database.Service],\n}).pipe(Operation.intrinsic);\n\nexport const SchemaList = Operation.make({\n meta: {\n key: 'org.dxos.function.database.schema-list',\n name: 'List schemas',\n description: trim`\n Lists schemas definitions.\n `,\n },\n input: Schema.Struct({\n limit: Schema.optional(Schema.Number),\n }),\n output: Schema.Array(Schema.Unknown),\n services: [Database.Service],\n}).pipe(Operation.intrinsic);\n\nexport const ContextAdd = Operation.make({\n meta: {\n key: 'org.dxos.function.database.context-add',\n name: 'Add to context',\n description: trim`\n Adds the object to the chat context.\n Use this it for objects that are useful long-term for the conversation.\n `,\n },\n input: Schema.Struct({\n obj: Ref.Ref(Obj.Unknown).annotations({\n description: 'Object to add to the chat context.',\n }),\n }),\n output: Schema.Void,\n services: [AiContextService],\n}).pipe(Operation.intrinsic);\n\nexport const ContextRemove = Operation.make({\n meta: {\n key: 'org.dxos.function.database.context-remove',\n name: 'Remove from context',\n description: trim`\n Removes the object from the chat context.\n Use this it for objects that are no longer useful for the conversation.\n `,\n },\n input: Schema.Struct({\n obj: Ref.Ref(Obj.Unknown).annotations({\n description: 'Object to remove from the chat context.',\n }),\n }),\n output: Schema.Void,\n services: [AiContextService],\n}).pipe(Operation.intrinsic);\n\nexport const RelationCreate = Operation.make({\n meta: {\n key: 'org.dxos.function.database.relation-create',\n name: 'Create relation',\n description: trim`\n Creates a new relation and adds it to the current space.\n Get the schema from the schema-list tool and ensure that the data matches the corresponding schema.\n `,\n },\n input: Schema.Struct({\n typename: Schema.String,\n source: Ref.Ref(Obj.Unknown),\n target: Ref.Ref(Obj.Unknown),\n properties: Schema.Any.annotations({\n description: 'The data to be stored in the relation.',\n }),\n }),\n output: Schema.Unknown,\n services: [Database.Service],\n}).pipe(Operation.intrinsic);\n\nexport const RelationDelete = Operation.make({\n meta: {\n key: 'org.dxos.function.database.relation-delete',\n name: 'Delete relation',\n description: trim`\n Deletes the relation.\n `,\n },\n input: Schema.Struct({\n rel: Ref.Ref(Relation.Unknown),\n }),\n output: Schema.Void,\n services: [Database.Service],\n}).pipe(Operation.intrinsic);\n\nexport const TagAdd = Operation.make({\n meta: {\n key: 'org.dxos.function.database.tag-add',\n name: 'Add tag',\n description: trim`\n Adds a tag to an object.\n Tags are objects of type ${Tag.Tag.typename}.\n You must search database for available tags, or create a new one.\n `,\n },\n input: Schema.Struct({\n tag: Ref.Ref(Obj.Unknown),\n obj: Ref.Ref(Obj.Unknown),\n }),\n output: Schema.Unknown,\n services: [Database.Service],\n}).pipe(Operation.intrinsic);\n\nexport const TagRemove = Operation.make({\n meta: {\n key: 'org.dxos.function.database.tag-remove',\n name: 'Remove tag',\n description: trim`\n Removes a tag from an object.\n Tags are objects of type ${Tag.Tag.typename}.\n `,\n },\n input: Schema.Struct({\n tag: Ref.Ref(Obj.Unknown),\n obj: Ref.Ref(Obj.Unknown),\n }),\n output: Schema.Unknown,\n services: [Database.Service],\n}).pipe(Operation.intrinsic);\n"],
5
+ "mappings": ";AAIA,YAAYA,YAAY;AAExB,SAASC,wBAAwB;AACjC,SAASC,iBAAiB;AAC1B,SAASC,UAAUC,KAAKC,KAAKC,UAAUC,WAAW;AAClD,SAASC,YAAY;AAEd,IAAMC,QAAQP,UAAUQ,KAAK;EAClCC,MAAM;IACJC,KAAK;IACLC,MAAM;IACNC,aAAaN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6Cf;EACAO,OAAcC,cAAO;IACnBC,IAAWC,gBACFC,aAAMd,IAAIA,IAAID,IAAIgB,OAAO,CAAA,EAAGC,YAAY;MAC7CP,aACE;IAGJ,CAAA,CAAA;IAEFQ,UAAiBJ,gBACRK,cAAOF,YAAY;MACxBP,aAAa;MACbU,SAAS;IACX,CAAA,CAAA;IAEFC,MAAaP,gBACJK,cAAOF,YAAY;MACxBP,aAAa;MACbU,SAAS;IACX,CAAA,CAAA;IAEFE,gBAAuBR,gBACdS,eAAQN,YAAY;MACzBP,aAAa;MACbc,SAAS;IACX,CAAA,CAAA;IAEFC,OAAcX,gBACLY,cAAOT,YAAY;MACxBP,aAAa;MACbc,SAAS;IACX,CAAA,CAAA;IAEFG,eAAsBb,gBACbS,eAAQN,YAAY;MACzBP,aAAa;MACbc,SAAS;IACX,CAAA,CAAA;EAEJ,CAAA;EACAI,QAAeb,aAAaC,cAAO;EACnCa,UAAU;IAAC9B,SAAS+B;;AACtB,CAAA,EAAGC,KAAKjC,UAAUkC,SAAS;AAEpB,IAAMC,OAAOnC,UAAUQ,KAAK;EACjCC,MAAM;IACJC,KAAK;IACLC,MAAM;IACNC,aAAaN;;;;;;;;EAQf;EACAO,OAAcC,cAAO;IACnBsB,MAAanB,aAAMd,IAAIA,IAAID,IAAIgB,OAAO,CAAA;EACxC,CAAA;E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;EAC3CC,MAAM;IACJC,KAAK;IACLC,MAAM;IACNC,aAAaN;;;EAGf;EACAO,OAAcC,cAAO;IACnB0C,KAAKrD,IAAIA,IAAIC,SAASc,OAAO;EAC/B,CAAA;EACAY,QAAegB;EACff,UAAU;IAAC9B,SAAS+B;;AACtB,CAAA,EAAGC,KAAKjC,UAAUkC,SAAS;AAEpB,IAAMuB,SAASzD,UAAUQ,KAAK;EACnCC,MAAM;IACJC,KAAK;IACLC,MAAM;IACNC,aAAaN;;iCAEgBD,IAAIA,IAAIe,QAAQ;;;EAG/C;EACAP,OAAcC,cAAO;IACnB4C,KAAKvD,IAAIA,IAAID,IAAIgB,OAAO;IACxBuB,KAAKtC,IAAIA,IAAID,IAAIgB,OAAO;EAC1B,CAAA;EACAY,QAAeZ;EACfa,UAAU;IAAC9B,SAAS+B;;AACtB,CAAA,EAAGC,KAAKjC,UAAUkC,SAAS;AAEpB,IAAMyB,YAAY3D,UAAUQ,KAAK;EACtCC,MAAM;IACJC,KAAK;IACLC,MAAM;IACNC,aAAaN;;iCAEgBD,IAAIA,IAAIe,QAAQ;;EAE/C;EACAP,OAAcC,cAAO;IACnB4C,KAAKvD,IAAIA,IAAID,IAAIgB,OAAO;IACxBuB,KAAKtC,IAAIA,IAAID,IAAIgB,OAAO;EAC1B,CAAA;EACAY,QAAeZ;EACfa,UAAU;IAAC9B,SAAS+B;;AACtB,CAAA,EAAGC,KAAKjC,UAAUkC,SAAS;",
6
+ "names": ["Schema", "AiContextService", "Operation", "Database", "Obj", "Ref", "Relation", "Tag", "trim", "Query", "make", "meta", "key", "name", "description", "input", "Struct", "in", "optional", "Array", "Unknown", "annotations", "typename", "String", "example", "text", "includeContent", "Boolean", "default", "limit", "Number", "includeQueues", "output", "services", "Service", "pipe", "intrinsic", "Load", "refs", "ObjectCreate", "data", "Any", "ObjectUpdate", "obj", "properties", "Record", "value", "ObjectDelete", "Void", "SchemaAdd", "jsonSchema", "SchemaList", "ContextAdd", "ContextRemove", "RelationCreate", "source", "target", "RelationDelete", "rel", "TagAdd", "tag", "TagRemove"]
7
+ }
@@ -98,11 +98,11 @@ import * as Schema2 from "effect/Schema";
98
98
  import { AiContextBinder, AiContextService } from "@dxos/assistant";
99
99
  import { Annotation as Annotation2, Database, Feed, Format, Obj as Obj2, Ref as Ref2, Relation, Type as Type2 } from "@dxos/echo";
100
100
  import { Queue } from "@dxos/echo-db";
101
- import { FormInputAnnotation, LabelAnnotation } from "@dxos/echo/internal";
101
+ import { FormInputAnnotation } from "@dxos/echo/internal";
102
102
  import { acquireReleaseResource } from "@dxos/effect";
103
103
  import { QueueService } from "@dxos/functions";
104
104
  import { invariant } from "@dxos/invariant";
105
- import { QueueAnnotation, Text } from "@dxos/schema";
105
+ import { Text } from "@dxos/schema";
106
106
  var __dxlog_file = "/__w/dxos/dxos/packages/core/compute/assistant-toolkit/src/types/Agent.ts";
107
107
  var Agent = Schema2.Struct({
108
108
  name: Schema2.optional(Schema2.String),
@@ -135,47 +135,51 @@ var Agent = Schema2.Struct({
135
135
  data: Ref2.Ref(Obj2.Unknown)
136
136
  })).pipe(FormInputAnnotation.set(false)),
137
137
  /**
138
- * Input feed for subscriptions.
139
- */
140
- // TODO(burdon): Rename to Feed?
141
- // NOTE: Named `queue` to conform to subscribable schema (see QueueAnnotation).
142
- queue: Schema2.optional(Ref2.Ref(Queue).pipe(FormInputAnnotation.set(false))),
143
- /**
144
138
  * References to objects with a canonical queue property.
145
139
  * Schema must have the QueueAnnotation.
146
140
  */
141
+ // Change to trigger.
147
142
  // TODO(dmaretskyi): Turn into an array of objects when form-data
148
143
  subscriptions: Schema2.Array(Ref2.Ref(Obj2.Unknown)).pipe(FormInputAnnotation.set(false)),
149
144
  /**
145
+ * Cron expression for a timer trigger that invokes the agent worker on a schedule.
146
+ * The timer trigger bypasses the qualifier and goes straight to the agent worker.
147
+ */
148
+ // Change to trigger.
149
+ cron: Schema2.optional(Schema2.String).annotations({
150
+ title: "Cron",
151
+ description: "Cron expression for a timer trigger that invokes the agent on a schedule."
152
+ }),
153
+ /**
150
154
  * Allow the agent to filter events.
151
155
  * Related events will be added to the input queue of the agent.
152
156
  * It is recommended to enable this.
157
+ * @deprecated
153
158
  */
154
159
  filterEvents: Schema2.optional(Schema2.Boolean).annotations({
155
160
  title: "Filter events",
156
161
  description: "Allow the agent to filter events."
157
162
  }),
158
163
  /**
159
- * Cron expression for a timer trigger that invokes the agent worker on a schedule.
160
- * The timer trigger bypasses the qualifier and goes straight to the agent worker.
164
+ * Input feed for subscriptions.
165
+ * @deprecated Subscriptions will write directly to the agent.
161
166
  */
162
- cron: Schema2.optional(Schema2.String).annotations({
163
- title: "Cron",
164
- description: "Cron expression for a timer trigger that invokes the agent on a schedule."
165
- })
167
+ queue: Schema2.optional(Ref2.Ref(Queue).pipe(FormInputAnnotation.set(false)))
166
168
  }).pipe(Type2.object({
167
169
  typename: "org.dxos.type.agent",
168
170
  version: "0.1.0"
169
- }), LabelAnnotation.set([
171
+ }), Annotation2.LabelAnnotation.set([
170
172
  "name"
171
- ]), QueueAnnotation.set(true), Annotation2.IconAnnotation.set({
173
+ ]), Annotation2.IconAnnotation.set({
172
174
  icon: "ph--drone--regular",
173
175
  hue: "sky"
174
176
  }));
175
177
  var makeInitialized = (props, blueprint) => Effect.gen(function* () {
176
178
  const agent = Obj2.make(Agent, {
177
179
  ...props,
178
- instructions: Ref2.make(Text.make(props.instructions)),
180
+ instructions: Ref2.make(Text.make({
181
+ content: props.instructions
182
+ })),
179
183
  plan: Ref2.make(makePlan({
180
184
  tasks: []
181
185
  })),
@@ -221,7 +225,7 @@ var makeInitialized = (props, blueprint) => Effect.gen(function* () {
221
225
  return agent;
222
226
  });
223
227
  var resetChatHistory = (agent) => Effect.gen(function* () {
224
- invariant(agent.chat, "Agent must have an existing chat to reset.", { "~LogMeta": "~LogMeta", F: __dxlog_file, L: 143, S: this, A: ["agent.chat", "'Agent must have an existing chat to reset.'"] });
228
+ invariant(agent.chat, "Agent must have an existing chat to reset.", { "~LogMeta": "~LogMeta", F: __dxlog_file, L: 147, S: this, A: ["agent.chat", "'Agent must have an existing chat to reset.'"] });
225
229
  const existingFeed = yield* agent.chat.pipe(Database.load).pipe(Effect.map((_) => _.feed), Effect.flatMap(Database.load));
226
230
  const runtime2 = yield* Effect.runtime();
227
231
  const existingContextBinder = yield* acquireReleaseResource(() => new AiContextBinder({
@@ -266,19 +270,16 @@ __export(McpServer_exports, {
266
270
  McpServer: () => McpServer
267
271
  });
268
272
  import * as Schema3 from "effect/Schema";
273
+ import { McpServer as McpServerSpec } from "@dxos/compute";
269
274
  import { Annotation as Annotation3, Type as Type3 } from "@dxos/echo";
270
- import { LabelAnnotation as LabelAnnotation2 } from "@dxos/echo/internal";
275
+ import { LabelAnnotation } from "@dxos/echo/internal";
271
276
  var McpServer = Schema3.Struct({
272
- name: Schema3.String,
273
- url: Schema3.String,
274
- protocol: Schema3.Union(Schema3.Literal("sse"), Schema3.Literal("http")),
275
- /** Stored in plaintext; replicated to all peers in the space. */
276
- apiKey: Schema3.optional(Schema3.String),
277
+ ...McpServerSpec.McpServer.fields,
277
278
  enabled: Schema3.optional(Schema3.Boolean)
278
279
  }).pipe(Type3.object({
279
280
  typename: "org.dxos.type.assistant.mcpServer",
280
281
  version: "0.1.0"
281
- }), LabelAnnotation2.set([
282
+ }), LabelAnnotation.set([
282
283
  "name"
283
284
  ]), Annotation3.IconAnnotation.set({
284
285
  icon: "ph--plugs-connected--regular",
@@ -290,4 +291,4 @@ export {
290
291
  Agent_exports,
291
292
  McpServer_exports
292
293
  };
293
- //# sourceMappingURL=chunk-DN4LTRFN.mjs.map
294
+ //# sourceMappingURL=chunk-P4ZMYO4K.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/types/Plan.ts", "../../../src/types/Agent.ts", "../../../src/types/McpServer.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2026 DXOS.org\n//\n\n// @import-as-namespace\n\nimport * as Schema from 'effect/Schema';\n\nimport { Annotation, Obj, Ref, Type } from '@dxos/echo';\n\nimport * as Chat from './Chat';\n\nexport const TaskId = Schema.String.pipe(Schema.brand('@dxos/assistant-toolkit/TaskId'));\nexport type TaskId = Schema.Schema.Type<typeof TaskId>;\n\nexport const Task = Schema.Struct({\n /**\n * Short task ID unique within the plan.\n */\n id: TaskId,\n\n title: Schema.String.annotations({\n description: 'Task title and description.',\n }),\n\n status: Schema.Literal('todo', 'in-progress', 'done'),\n\n /**\n * Parent task ID.\n */\n parent: Schema.optional(TaskId).annotations({\n description: 'Parent task ID.',\n }),\n\n /**\n * Chat object that this task is associated with.\n */\n chat: Schema.optional(Ref.Ref(Chat.Chat)),\n});\nexport interface Task extends Schema.Schema.Type<typeof Task> {}\n\n/**\n * Hierarchical collection of tasks for humans and agents to track progress.\n */\nexport const Plan = Schema.Struct({\n tasks: Schema.Array(Task),\n}).pipe(\n Type.object({\n typename: 'org.dxos.type.plan',\n version: '0.1.0',\n }),\n Annotation.SystemTypeAnnotation.set(true),\n);\nexport interface Plan extends Schema.Schema.Type<typeof Plan> {}\n\nexport const generateTaskId = (plan: Plan): TaskId => {\n const existingIds = plan.tasks\n .map((task) => {\n const [num, letter] = task.id.split('-');\n return parseInt(num);\n })\n .filter((_) => !isNaN(_));\n let newId;\n if (existingIds.length === 0) {\n newId = 1;\n } else {\n newId = Math.max(...existingIds) + 1;\n }\n // Add random suffix to avoid collisions.\n return TaskId.make(`${newId}-${crypto.randomUUID().slice(0, 2)}`);\n};\n\n/**\n * Add new tasks to a plan, generating IDs for new tasks.\n * Use inside an `Obj.update` callback.\n */\nexport const addTasks = (\n plan: Obj.Mutable<Plan>,\n tasks: (Pick<Task, 'title'> & Partial<Pick<Task, 'status' | 'parent' | 'chat'>>)[],\n) => {\n for (const task of tasks) {\n const taskId = generateTaskId(plan);\n plan.tasks.push({ id: taskId, ...task, status: task.status ?? 'todo' });\n }\n return plan;\n};\n\ninterface MakePlanProps {\n tasks: {\n title: string;\n status?: 'todo' | 'in-progress' | 'done';\n }[];\n}\n\nexport const makePlan = (props: MakePlanProps): Plan => {\n const plan = Obj.make(Plan, { tasks: [] });\n Obj.update(plan, (plan) => {\n addTasks(plan, props.tasks);\n });\n return plan;\n};\n\n/**\n * Formats plan to markdown format.\n */\nexport const formatPlan = (plan: Plan): string => {\n return plan.tasks\n .map((task) => `- **${task.status?.toLocaleUpperCase()}**: ${task.title ?? 'No title'} <!-- id=${task.id} -->`)\n .join('\\n');\n};\n", "//\n// Copyright 2026 DXOS.org\n//\n\n// @import-as-namespace\n\nimport * as Effect from 'effect/Effect';\nimport * as Function from 'effect/Function';\nimport * as Schema from 'effect/Schema';\n\nimport { AiContextBinder, AiContextService } from '@dxos/assistant';\nimport { type Blueprint } from '@dxos/compute';\nimport { Annotation, Database, Feed, Format, Obj, Ref, Relation, Type } from '@dxos/echo';\nimport { Queue } from '@dxos/echo-db';\nimport { type ObjectNotFoundError } from '@dxos/echo/Err';\nimport { FormInputAnnotation } from '@dxos/echo/internal';\nimport { acquireReleaseResource } from '@dxos/effect';\nimport { QueueService } from '@dxos/functions';\nimport { invariant } from '@dxos/invariant';\nimport { Text } from '@dxos/schema';\n\nimport * as Chat from './Chat';\nimport * as Plan from './Plan';\n\n/**\n * Agent schema definition.\n */\nexport const Agent = Schema.Struct({\n name: Schema.optional(Schema.String),\n\n /**\n * When false, agent triggers are disabled after sync-triggers runs.\n */\n enabled: Schema.optional(Schema.Boolean).annotations({\n title: 'Enabled',\n description: 'Master switch for agent automation; propagated to all triggers on sync.',\n }),\n\n /**\n * Instructions for the agent.\n */\n instructions: Ref.Ref(Text.Text).pipe(\n Format.FormatAnnotation.set(Format.TypeFormat.Markdown),\n Schema.annotations({ title: 'Instructions' }),\n ),\n\n /**\n * Primary chat for the agent.\n */\n // TODO(dmaretskyi): Multiple chats; RB: branching hierarchy.\n chat: Schema.optional(Ref.Ref(Chat.Chat).pipe(FormInputAnnotation.set(false))),\n\n // TODO(burdon): Is this used? Should it be an artifact?\n // Format.FormatAnnotation.set(Format.TypeFormat.Markdown)\n plan: Ref.Ref(Plan.Plan).pipe(FormInputAnnotation.set(false)),\n\n // TODO(burdon): Currently Memory.Memory objects are global to the space; make them artifacts?\n artifacts: Schema.Array(\n Schema.Struct({\n // TODO(dmaretskyi): Consider gettings names from the artifact itself using Obj.getLabel.\n name: Schema.String,\n // TODO(burdon): Rename object.\n data: Ref.Ref(Obj.Unknown),\n }),\n ).pipe(FormInputAnnotation.set(false)),\n\n /**\n * References to objects with a canonical queue property.\n * Schema must have the QueueAnnotation.\n */\n // Change to trigger.\n // TODO(dmaretskyi): Turn into an array of objects when form-data\n subscriptions: Schema.Array(Ref.Ref(Obj.Unknown)).pipe(FormInputAnnotation.set(false)),\n\n /**\n * Cron expression for a timer trigger that invokes the agent worker on a schedule.\n * The timer trigger bypasses the qualifier and goes straight to the agent worker.\n */\n // Change to trigger.\n cron: Schema.optional(Schema.String).annotations({\n title: 'Cron',\n description: 'Cron expression for a timer trigger that invokes the agent on a schedule.',\n }),\n\n /**\n * Allow the agent to filter events.\n * Related events will be added to the input queue of the agent.\n * It is recommended to enable this.\n * @deprecated\n */\n filterEvents: Schema.optional(Schema.Boolean).annotations({\n title: 'Filter events',\n description: 'Allow the agent to filter events.',\n }),\n\n /**\n * Input feed for subscriptions.\n * @deprecated Subscriptions will write directly to the agent.\n */\n queue: Schema.optional(Ref.Ref(Queue).pipe(FormInputAnnotation.set(false))),\n}).pipe(\n Type.object({\n typename: 'org.dxos.type.agent',\n version: '0.1.0',\n }),\n Annotation.LabelAnnotation.set(['name']),\n Annotation.IconAnnotation.set({\n icon: 'ph--drone--regular',\n hue: 'sky',\n }),\n);\n\nexport interface Agent extends Schema.Schema.Type<typeof Agent> {}\n\n/**\n * Creates a fully initialized Agent with chat, queue, and context bindings.\n *\n * @param props - Agent properties including spec, plan, blueprints, and context objects.\n * @param blueprint - The blueprint to use for the agent context.\n * @returns An Effect that yields the initialized Agent.\n */\nexport const makeInitialized = (\n props: Omit<Obj.MakeProps<typeof Agent>, 'instructions' | 'plan' | 'artifacts' | 'subscriptions' | 'chat'> &\n Partial<Pick<Obj.MakeProps<typeof Agent>, 'artifacts' | 'subscriptions'>> & {\n instructions: string;\n blueprints?: Ref.Ref<Blueprint.Blueprint>[];\n contextObjects?: Ref.Ref<Obj.Any>[];\n },\n blueprint: Blueprint.Blueprint,\n): Effect.Effect<Agent, never, QueueService | Feed.FeedService | Database.Service> =>\n Effect.gen(function* () {\n const agent = Obj.make(Agent, {\n ...props,\n instructions: Ref.make(Text.make({ content: props.instructions })),\n plan: Ref.make(Plan.makePlan({ tasks: [] })),\n artifacts: props.artifacts ?? [],\n subscriptions: props.subscriptions ?? [],\n filterEvents: props.filterEvents ?? true,\n enabled: props.enabled ?? true,\n });\n yield* Database.add(agent);\n const feed = yield* Database.add(Feed.make());\n const runtime = yield* Effect.runtime<Feed.FeedService>();\n const contextBinder = new AiContextBinder({ feed, runtime });\n // TODO(dmaretskyi): Blueprint registry.\n const agentBlueprint = yield* Database.add(Obj.clone(blueprint, { deep: true }));\n yield* Effect.promise(() =>\n contextBinder.bind({\n blueprints: [Ref.make(agentBlueprint), ...(props.blueprints ?? [])],\n objects: [Ref.make(agent), ...(props.contextObjects ?? [])],\n }),\n );\n const chat = yield* Database.add(\n Chat.make({\n [Obj.Parent]: agent,\n feed: Ref.make(feed),\n }),\n );\n Obj.setParent(feed, chat);\n yield* Database.add(\n Relation.make(Chat.CompanionTo, {\n [Relation.Source]: chat,\n [Relation.Target]: agent,\n }),\n );\n\n const inputQueue = yield* QueueService.createQueue();\n\n Obj.update(agent, (agent) => {\n agent.chat = Ref.make(chat);\n agent.queue = Ref.fromDXN(inputQueue.dxn);\n });\n\n return agent;\n });\n\n/**\n * Resets the agent chat history by rebuilding the chat context.\n * Preserves the existing blueprints and objects from the current chat context.\n *\n * @param agent - The agent whose chat history should be reset. Must have an existing chat.\n * @returns An Effect that resets the chat history.\n */\nexport const resetChatHistory = (\n agent: Agent,\n): Effect.Effect<void, ObjectNotFoundError, Feed.FeedService | Database.Service> =>\n Effect.gen(function* () {\n invariant(agent.chat, 'Agent must have an existing chat to reset.');\n\n const existingFeed = yield* agent.chat.pipe(Database.load).pipe(\n Effect.map((_) => _.feed),\n Effect.flatMap(Database.load),\n );\n const runtime = yield* Effect.runtime<Feed.FeedService>();\n const existingContextBinder = yield* acquireReleaseResource(\n () =>\n new AiContextBinder({\n feed: existingFeed,\n runtime,\n }),\n );\n const blueprints = existingContextBinder.getBlueprints().map((blueprint) => Ref.make(blueprint));\n const objects = existingContextBinder.getObjects().map((object) => Ref.make(object));\n\n const feed = yield* Database.add(Feed.make());\n const contextBinder = new AiContextBinder({ feed, runtime });\n yield* Effect.promise(() =>\n contextBinder.bind({\n blueprints,\n objects,\n }),\n );\n\n const chat = yield* Database.add(\n Chat.make({\n feed: Ref.make(feed),\n }),\n );\n Obj.setParent(feed, chat);\n Obj.update(agent, (agent) => {\n agent.chat = Ref.make(chat);\n });\n\n yield* Database.add(\n Relation.make(Chat.CompanionTo, {\n [Relation.Source]: chat,\n [Relation.Target]: agent,\n }),\n );\n }).pipe(Effect.scoped);\n\nexport const getFromChatContext: Effect.Effect<Agent, Error, AiContextService> = Effect.gen(function* () {\n const agents = yield* Function.pipe(AiContextService.findObjects(Agent));\n if (agents.length !== 1) {\n return yield* Effect.fail(new Error(`There should be exactly one agent in context. Got: ${agents.length}`));\n }\n\n const agent = agents[0];\n return agent;\n});\n", "//\n// Copyright 2026 DXOS.org\n//\n\n// @import-as-namespace\n\nimport * as Schema from 'effect/Schema';\n\nimport { McpServer as McpServerSpec } from '@dxos/compute';\nimport { Annotation, Type } from '@dxos/echo';\nimport { LabelAnnotation } from '@dxos/echo/internal';\n\n/**\n * MCP server configuration stored as a space-level ECHO object.\n *\n * Composes the canonical connection spec from `@dxos/compute` (`url`, `protocol`, `apiKey`)\n * and adds instance-level fields (`name`, `enabled`) plus ECHO annotations.\n *\n * NOTE: `apiKey` is stored in plaintext and replicated to all peers with access to the space.\n * A future iteration should move secrets to per-device credential storage or use envelope encryption.\n */\nexport const McpServer = Schema.Struct({\n ...McpServerSpec.McpServer.fields,\n enabled: Schema.optional(Schema.Boolean),\n}).pipe(\n Type.object({\n typename: 'org.dxos.type.assistant.mcpServer',\n version: '0.1.0',\n }),\n LabelAnnotation.set(['name']),\n Annotation.IconAnnotation.set({\n icon: 'ph--plugs-connected--regular',\n hue: 'sky',\n }),\n);\n\nexport interface McpServer extends Schema.Schema.Type<typeof McpServer> {}\n"],
5
+ "mappings": ";;;;;;;;;;AAAA;;;;;;;;;;AAMA,YAAYA,YAAY;AAExB,SAASC,YAAYC,KAAKC,KAAKC,YAAY;AAIpC,IAAMC,SAAgBC,cAAOC,KAAYC,aAAM,gCAAA,CAAA;AAG/C,IAAMC,OAAcC,cAAO;;;;EAIhCC,IAAIN;EAEJO,OAAcN,cAAOO,YAAY;IAC/BC,aAAa;EACf,CAAA;EAEAC,QAAeC,eAAQ,QAAQ,eAAe,MAAA;;;;EAK9CC,QAAeC,gBAASb,MAAAA,EAAQQ,YAAY;IAC1CC,aAAa;EACf,CAAA;;;;EAKAK,MAAaD,gBAASE,IAAIA,IAASC,IAAI,CAAA;AACzC,CAAA;AAMO,IAAMC,OAAcZ,cAAO;EAChCa,OAAcC,aAAMf,IAAAA;AACtB,CAAA,EAAGF,KACDkB,KAAKC,OAAO;EACVC,UAAU;EACVC,SAAS;AACX,CAAA,GACAC,WAAWC,qBAAqBC,IAAI,IAAA,CAAA;AAI/B,IAAMC,iBAAiB,CAACC,SAAAA;AAC7B,QAAMC,cAAcD,KAAKV,MACtBY,IAAI,CAACC,SAAAA;AACJ,UAAM,CAACC,KAAKC,MAAAA,IAAUF,KAAKzB,GAAG4B,MAAM,GAAA;AACpC,WAAOC,SAASH,GAAAA;EAClB,CAAA,EACCI,OAAO,CAACC,MAAM,CAACC,MAAMD,CAAAA,CAAAA;AACxB,MAAIE;AACJ,MAAIV,YAAYW,WAAW,GAAG;AAC5BD,YAAQ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ACzC,CAAA,EAAGC,KACDP,MAAKQ,OAAO;EACVC,UAAU;EACVC,SAAS;AACX,CAAA,GACAT,gBAAgBU,IAAI;EAAC;CAAO,GAC5BZ,YAAWa,eAAeD,IAAI;EAC5BE,MAAM;EACNC,KAAK;AACP,CAAA,CAAA;",
6
+ "names": ["Schema", "Annotation", "Obj", "Ref", "Type", "TaskId", "String", "pipe", "brand", "Task", "Struct", "id", "title", "annotations", "description", "status", "Literal", "parent", "optional", "chat", "Ref", "Chat", "Plan", "tasks", "Array", "Type", "object", "typename", "version", "Annotation", "SystemTypeAnnotation", "set", "generateTaskId", "plan", "existingIds", "map", "task", "num", "letter", "split", "parseInt", "filter", "_", "isNaN", "newId", "length", "Math", "max", "make", "crypto", "randomUUID", "slice", "addTasks", "taskId", "push", "makePlan", "props", "Obj", "update", "formatPlan", "toLocaleUpperCase", "join", "Effect", "Function", "Schema", "AiContextBinder", "AiContextService", "Annotation", "Database", "Feed", "Format", "Obj", "Ref", "Relation", "Type", "Queue", "FormInputAnnotation", "acquireReleaseResource", "QueueService", "invariant", "Text", "Ref", "artifacts", "Array", "Schema", "String", "data", "Obj", "description", "typename", "version", "Annotation", "IconAnnotation", "set", "icon", "hue", "props", "instructions", "make", "Text", "plan", "Plan", "subscriptions", "filterEvents", "enabled", "Database", "agent", "runtime", "Effect", "contextBinder", "AiContextBinder", "feed", "agentBlueprint", "objects", "chat", "setParent", "Source", "Relation", "Target", "inputQueue", "queue", "fromDXN", "existingFeed", "pipe", "existingContextBinder", "acquireReleaseResource", "blueprints", "add", "scoped", "agents", "Error", "Schema", "McpServer", "McpServerSpec", "Annotation", "Type", "LabelAnnotation", "Struct", "fields", "enabled", "optional", "Boolean", "pipe", "object", "typename", "version", "set", "IconAnnotation", "icon", "hue"]
7
+ }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AddArtifact
3
- } from "./chunk-2Q63LLSY.mjs";
3
+ } from "./chunk-246ACKSH.mjs";
4
4
 
5
5
  // src/blueprints/project/blueprint.ts
6
6
  import { Blueprint, Template } from "@dxos/compute";
@@ -8,7 +8,7 @@ import { trim } from "@dxos/util";
8
8
 
9
9
  // src/blueprints/project/functions/index.ts
10
10
  import { OperationHandlerSet } from "@dxos/compute";
11
- var AgentBlueprintHandlers = OperationHandlerSet.lazy(() => import("./add-artifact-TWTWAY3H.mjs"), () => import("./agent-7ROVDSSY.mjs"), () => import("./get-context-S735CUYM.mjs"), () => import("./qualifier-NW5VBP64.mjs"));
11
+ var AgentBlueprintHandlers = OperationHandlerSet.lazy(() => import("./add-artifact-ZUJ5DMSY.mjs"), () => import("./agent-5NIKAYUK.mjs"), () => import("./get-context-TN7X7U2H.mjs"), () => import("./qualifier-VDOY5CWU.mjs"));
12
12
 
13
13
  // src/blueprints/project/blueprint.ts
14
14
  var BLUEPRINT_KEY = "org.dxos.blueprint.agent";
@@ -46,8 +46,8 @@ var make = () => Blueprint.make({
46
46
  inputs: [
47
47
  {
48
48
  name: "agent",
49
- kind: "function",
50
- function: "org.dxos.function.agent.get-context"
49
+ kind: "operation",
50
+ operation: "org.dxos.function.agent.get-context"
51
51
  }
52
52
  ]
53
53
  }),
@@ -67,4 +67,4 @@ export {
67
67
  AgentBlueprintHandlers,
68
68
  blueprint_default
69
69
  };
70
- //# sourceMappingURL=chunk-2XK7EWKJ.mjs.map
70
+ //# sourceMappingURL=chunk-QO5SU37C.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/blueprints/project/blueprint.ts", "../../../src/blueprints/project/functions/index.ts"],
4
- "sourcesContent": ["//\n// Copyright 2026 DXOS.org\n//\n\nimport { Blueprint, Template } from '@dxos/compute';\nimport { trim } from '@dxos/util';\n\nimport { AddArtifact } from './functions';\n\nconst BLUEPRINT_KEY = 'org.dxos.blueprint.agent';\n\n/**\n * Creates the Agent blueprint. This is a function to avoid circular dependency issues.\n */\n// TODO(dmaretskyi): Combine with Agent Wizard.\nconst make = () =>\n Blueprint.make({\n key: BLUEPRINT_KEY,\n name: 'Agent blueprint',\n instructions: Template.make({\n source: trim`\n You work on an agent. Each agent has instructions - the goal of the agent.\n The agent plan shows the current progress of the agent.\n Agent has a number of associated artifacts you can read/write.\n You can edit them if necessary.\n\n IMPORTANT: When creating a new artifact, always add it to the agent using the add-artifact function.\n\n {{#with agent}}\n <agent id=\"{{id}}\" name=\"{{name}}\">\n <instructions>\n {{instructions}}\n </instructions>\n <plan>\n {{plan}}\n </plan>\n\n <artifacts>\n {{#each artifacts}}\n <artifact type=\"{{type}}\" dxn=\"{{dxn}}\">\n {{name}}\n </artifact>\n {{/each}}\n </artifacts>\n </agent>\n {{/with}}\n `,\n inputs: [\n {\n name: 'agent',\n kind: 'function',\n function: 'org.dxos.function.agent.get-context',\n },\n ],\n }),\n tools: Blueprint.toolDefinitions({ operations: [AddArtifact] }),\n });\n\nconst blueprint: Blueprint.Definition = {\n key: BLUEPRINT_KEY,\n make,\n};\n\nexport default blueprint;\n", "//\n// Copyright 2026 DXOS.org\n//\n\nimport { OperationHandlerSet } from '@dxos/compute';\n\nexport * from './definitions';\n\nexport const AgentBlueprintHandlers = OperationHandlerSet.lazy(\n () => import('./add-artifact'),\n () => import('./agent'),\n () => import('./get-context'),\n () => import('./qualifier'),\n);\n"],
5
- "mappings": ";;;;;AAIA,SAASA,WAAWC,gBAAgB;AACpC,SAASC,YAAY;;;ACDrB,SAASC,2BAA2B;AAI7B,IAAMC,yBAAyBD,oBAAoBE,KACxD,MAAM,OAAO,6BAAA,GACb,MAAM,OAAO,sBAAA,GACb,MAAM,OAAO,4BAAA,GACb,MAAM,OAAO,0BAAA,CAAA;;;ADHf,IAAMC,gBAAgB;AAMtB,IAAMC,OAAO,MACXC,UAAUD,KAAK;EACbE,KAAKH;EACLI,MAAM;EACNC,cAAcC,SAASL,KAAK;IAC1BM,QAAQC;;;;;;;;;;;;;;;;;;;;;;;;;;;IA2BRC,QAAQ;MACN;QACEL,MAAM;QACNM,MAAM;QACNC,UAAU;MACZ;;EAEJ,CAAA;EACAC,OAAOV,UAAUW,gBAAgB;IAAEC,YAAY;MAACC;;EAAa,CAAA;AAC/D,CAAA;AAEF,IAAMC,YAAkC;EACtCb,KAAKH;EACLC;AACF;AAEA,IAAA,oBAAee;",
6
- "names": ["Blueprint", "Template", "trim", "OperationHandlerSet", "AgentBlueprintHandlers", "lazy", "BLUEPRINT_KEY", "make", "Blueprint", "key", "name", "instructions", "Template", "source", "trim", "inputs", "kind", "function", "tools", "toolDefinitions", "operations", "AddArtifact", "blueprint"]
4
+ "sourcesContent": ["//\n// Copyright 2026 DXOS.org\n//\n\nimport { Blueprint, Template } from '@dxos/compute';\nimport { trim } from '@dxos/util';\n\nimport { AddArtifact } from './functions';\n\nconst BLUEPRINT_KEY = 'org.dxos.blueprint.agent';\n\n/**\n * Creates the Agent blueprint. This is a function to avoid circular dependency issues.\n */\n// TODO(dmaretskyi): Combine with Agent Wizard.\nconst make = () =>\n Blueprint.make({\n key: BLUEPRINT_KEY,\n name: 'Agent blueprint',\n instructions: Template.make({\n source: trim`\n You work on an agent. Each agent has instructions - the goal of the agent.\n The agent plan shows the current progress of the agent.\n Agent has a number of associated artifacts you can read/write.\n You can edit them if necessary.\n\n IMPORTANT: When creating a new artifact, always add it to the agent using the add-artifact function.\n\n {{#with agent}}\n <agent id=\"{{id}}\" name=\"{{name}}\">\n <instructions>\n {{instructions}}\n </instructions>\n <plan>\n {{plan}}\n </plan>\n\n <artifacts>\n {{#each artifacts}}\n <artifact type=\"{{type}}\" dxn=\"{{dxn}}\">\n {{name}}\n </artifact>\n {{/each}}\n </artifacts>\n </agent>\n {{/with}}\n `,\n inputs: [\n {\n name: 'agent',\n kind: 'operation',\n operation: 'org.dxos.function.agent.get-context',\n },\n ],\n }),\n tools: Blueprint.toolDefinitions({ operations: [AddArtifact] }),\n });\n\nconst blueprint: Blueprint.Definition = {\n key: BLUEPRINT_KEY,\n make,\n};\n\nexport default blueprint;\n", "//\n// Copyright 2026 DXOS.org\n//\n\nimport { OperationHandlerSet } from '@dxos/compute';\n\nexport * from './definitions';\n\nexport const AgentBlueprintHandlers = OperationHandlerSet.lazy(\n () => import('./add-artifact'),\n () => import('./agent'),\n () => import('./get-context'),\n () => import('./qualifier'),\n);\n"],
5
+ "mappings": ";;;;;AAIA,SAASA,WAAWC,gBAAgB;AACpC,SAASC,YAAY;;;ACDrB,SAASC,2BAA2B;AAI7B,IAAMC,yBAAyBD,oBAAoBE,KACxD,MAAM,OAAO,6BAAA,GACb,MAAM,OAAO,sBAAA,GACb,MAAM,OAAO,4BAAA,GACb,MAAM,OAAO,0BAAA,CAAA;;;ADHf,IAAMC,gBAAgB;AAMtB,IAAMC,OAAO,MACXC,UAAUD,KAAK;EACbE,KAAKH;EACLI,MAAM;EACNC,cAAcC,SAASL,KAAK;IAC1BM,QAAQC;;;;;;;;;;;;;;;;;;;;;;;;;;;IA2BRC,QAAQ;MACN;QACEL,MAAM;QACNM,MAAM;QACNC,WAAW;MACb;;EAEJ,CAAA;EACAC,OAAOV,UAAUW,gBAAgB;IAAEC,YAAY;MAACC;;EAAa,CAAA;AAC/D,CAAA;AAEF,IAAMC,YAAkC;EACtCb,KAAKH;EACLC;AACF;AAEA,IAAA,oBAAee;",
6
+ "names": ["Blueprint", "Template", "trim", "OperationHandlerSet", "AgentBlueprintHandlers", "lazy", "BLUEPRINT_KEY", "make", "Blueprint", "key", "name", "instructions", "Template", "source", "trim", "inputs", "kind", "operation", "tools", "toolDefinitions", "operations", "AddArtifact", "blueprint"]
7
7
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Agent_exports
3
- } from "./chunk-DN4LTRFN.mjs";
3
+ } from "./chunk-P4ZMYO4K.mjs";
4
4
 
5
5
  // src/blueprints/project-wizard/functions/definitions.ts
6
6
  import * as Schema from "effect/Schema";
@@ -72,4 +72,4 @@ export {
72
72
  CreateAgent,
73
73
  SyncTriggers
74
74
  };
75
- //# sourceMappingURL=chunk-OHDGJMVE.mjs.map
75
+ //# sourceMappingURL=chunk-XUF53B6B.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ContextAdd
3
- } from "./chunk-CVUA23QI.mjs";
3
+ } from "./chunk-IKBIORQX.mjs";
4
4
  import "./chunk-J5LGTIGS.mjs";
5
5
 
6
6
  // src/blueprints/database/functions/context-add.ts
@@ -19,4 +19,4 @@ var context_add_default = ContextAdd.pipe(Operation.withHandler(Effect.fn(functi
19
19
  export {
20
20
  context_add_default as default
21
21
  };
22
- //# sourceMappingURL=context-add-IIDPRRVB.mjs.map
22
+ //# sourceMappingURL=context-add-VB7AOY3G.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ContextRemove
3
- } from "./chunk-CVUA23QI.mjs";
3
+ } from "./chunk-IKBIORQX.mjs";
4
4
  import "./chunk-J5LGTIGS.mjs";
5
5
 
6
6
  // src/blueprints/database/functions/context-remove.ts
@@ -19,4 +19,4 @@ var context_remove_default = ContextRemove.pipe(Operation.withHandler(Effect.fn(
19
19
  export {
20
20
  context_remove_default as default
21
21
  };
22
- //# sourceMappingURL=context-remove-RDYV4PD4.mjs.map
22
+ //# sourceMappingURL=context-remove-VCM3VPSO.mjs.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  CreateAgent,
3
3
  SyncTriggers
4
- } from "./chunk-OHDGJMVE.mjs";
4
+ } from "./chunk-XUF53B6B.mjs";
5
5
  import {
6
6
  blueprint_default
7
- } from "./chunk-2XK7EWKJ.mjs";
8
- import "./chunk-2Q63LLSY.mjs";
7
+ } from "./chunk-QO5SU37C.mjs";
8
+ import "./chunk-246ACKSH.mjs";
9
9
  import {
10
10
  Agent_exports
11
- } from "./chunk-DN4LTRFN.mjs";
11
+ } from "./chunk-P4ZMYO4K.mjs";
12
12
  import "./chunk-NR3GTWRC.mjs";
13
13
  import "./chunk-KGU725LW.mjs";
14
14
  import "./chunk-J5LGTIGS.mjs";
@@ -32,4 +32,4 @@ var create_project_default = CreateAgent.pipe(Operation.withHandler(Effect.fnUnt
32
32
  export {
33
33
  create_project_default as default
34
34
  };
35
- //# sourceMappingURL=create-project-WEQYCL7A.mjs.map
35
+ //# sourceMappingURL=create-project-EIF4OJMY.mjs.map