@dxos/compute 0.9.1-main.c7dcc2e112 → 0.9.1-staging.ee54ba693a
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/README.md +4 -4
- package/dist/lib/neutral/AgentService.mjs +12 -0
- package/dist/lib/neutral/StorageService.mjs +3 -3
- package/dist/lib/neutral/{chunk-AFBNVFAY.mjs → chunk-2ZN64ZS7.mjs} +3 -3
- package/dist/lib/neutral/{chunk-JAU4E4EK.mjs → chunk-5VAXF6AH.mjs} +2 -2
- package/dist/lib/neutral/{chunk-QZS4G6PE.mjs → chunk-EVROJER7.mjs} +70 -25
- package/dist/lib/neutral/chunk-EVROJER7.mjs.map +7 -0
- package/dist/lib/neutral/{chunk-XEVFBI6S.mjs → chunk-PF7XP7XP.mjs} +13 -13
- package/dist/lib/neutral/{chunk-XEVFBI6S.mjs.map → chunk-PF7XP7XP.mjs.map} +3 -3
- package/dist/lib/neutral/{chunk-MEPE4HHX.mjs → chunk-SJ37RWHU.mjs} +3 -3
- package/dist/lib/neutral/chunk-VSAZPWSJ.mjs +25 -0
- package/dist/lib/neutral/chunk-VSAZPWSJ.mjs.map +7 -0
- package/dist/lib/neutral/{chunk-2B2KSJT6.mjs → chunk-WEO4FCQY.mjs} +3 -3
- package/dist/lib/neutral/fib-5XIYECL5.mjs +10 -0
- package/dist/lib/neutral/index.mjs +448 -399
- package/dist/lib/neutral/index.mjs.map +4 -4
- package/dist/lib/neutral/meta.json +1 -1
- package/dist/lib/neutral/reply-GCBRCUVM.mjs +10 -0
- package/dist/lib/neutral/sleep-XR6CL6W3.mjs +10 -0
- package/dist/lib/neutral/sleep-XR6CL6W3.mjs.map +7 -0
- package/dist/lib/neutral/testing/index.mjs +6 -6
- package/dist/types/src/AgentService.d.ts +71 -0
- package/dist/types/src/AgentService.d.ts.map +1 -0
- package/dist/types/src/Credential.d.ts +2 -0
- package/dist/types/src/Credential.d.ts.map +1 -1
- package/dist/types/src/Instructions.d.ts +33 -0
- package/dist/types/src/Instructions.d.ts.map +1 -0
- package/dist/types/src/McpServer.d.ts +1 -1
- package/dist/types/src/Operation.d.ts +92 -27
- package/dist/types/src/Operation.d.ts.map +1 -1
- package/dist/types/src/Operation.test.d.ts +2 -0
- package/dist/types/src/Operation.test.d.ts.map +1 -0
- package/dist/types/src/Process.d.ts +55 -21
- package/dist/types/src/Process.d.ts.map +1 -1
- package/dist/types/src/Runnable.d.ts +4 -0
- package/dist/types/src/Runnable.d.ts.map +1 -0
- package/dist/types/src/Script.d.ts +9 -11
- package/dist/types/src/Script.d.ts.map +1 -1
- package/dist/types/src/ServiceResolver.d.ts +1 -1
- package/dist/types/src/Skill.d.ts +157 -0
- package/dist/types/src/Skill.d.ts.map +1 -0
- package/dist/types/src/StorageService.d.ts +8 -8
- package/dist/types/src/StorageService.d.ts.map +1 -1
- package/dist/types/src/Template.d.ts +2 -4
- package/dist/types/src/Template.d.ts.map +1 -1
- package/dist/types/src/Trace.d.ts +16 -14
- package/dist/types/src/Trace.d.ts.map +1 -1
- package/dist/types/src/Trigger.d.ts +26 -61
- package/dist/types/src/Trigger.d.ts.map +1 -1
- package/dist/types/src/TriggerEvent.d.ts +3 -11
- package/dist/types/src/TriggerEvent.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +5 -3
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +21 -15
- package/src/AgentService.ts +90 -0
- package/src/Credential.ts +3 -0
- package/src/Instructions.ts +73 -0
- package/src/McpServer.ts +1 -1
- package/src/Operation.test.ts +39 -0
- package/src/Operation.ts +130 -54
- package/src/Process.ts +96 -26
- package/src/Runnable.ts +12 -0
- package/src/Script.ts +14 -14
- package/src/ServiceResolver.ts +1 -1
- package/src/Skill.ts +218 -0
- package/src/StorageService.ts +15 -12
- package/src/Template.ts +2 -1
- package/src/Trace.ts +13 -11
- package/src/Trigger.ts +57 -52
- package/src/index.ts +5 -3
- package/src/umbrella.test.ts +8 -6
- package/dist/lib/neutral/chunk-QZS4G6PE.mjs.map +0 -7
- package/dist/lib/neutral/fib-HBDUGQW7.mjs +0 -10
- package/dist/lib/neutral/reply-RJIAJ6FV.mjs +0 -10
- package/dist/lib/neutral/sleep-3T2CZ7RE.mjs +0 -10
- package/dist/types/src/Blueprint.d.ts +0 -182
- package/dist/types/src/Blueprint.d.ts.map +0 -1
- package/dist/types/src/Routine.d.ts +0 -54
- package/dist/types/src/Routine.d.ts.map +0 -1
- package/src/Blueprint.ts +0 -224
- package/src/Routine.ts +0 -69
- /package/dist/lib/neutral/{fib-HBDUGQW7.mjs.map → AgentService.mjs.map} +0 -0
- /package/dist/lib/neutral/{chunk-AFBNVFAY.mjs.map → chunk-2ZN64ZS7.mjs.map} +0 -0
- /package/dist/lib/neutral/{chunk-JAU4E4EK.mjs.map → chunk-5VAXF6AH.mjs.map} +0 -0
- /package/dist/lib/neutral/{chunk-MEPE4HHX.mjs.map → chunk-SJ37RWHU.mjs.map} +0 -0
- /package/dist/lib/neutral/{chunk-2B2KSJT6.mjs.map → chunk-WEO4FCQY.mjs.map} +0 -0
- /package/dist/lib/neutral/{reply-RJIAJ6FV.mjs.map → fib-5XIYECL5.mjs.map} +0 -0
- /package/dist/lib/neutral/{sleep-3T2CZ7RE.mjs.map → reply-GCBRCUVM.mjs.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/errors.ts":{"bytes":7958,"imports":[{"path":"@dxos/errors","kind":"import-statement","external":true}],"format":"esm"},"src/McpServer.ts":{"bytes":4583,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true}],"format":"esm"},"src/Operation.ts":{"bytes":54182,"imports":[{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Pipeable","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"format":"esm"},"src/Template.ts":{"bytes":14234,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/vendor-kbn-handlebars","kind":"import-statement","external":true},{"path":"src/errors.ts","kind":"import-statement","original":"./errors"},{"path":"src/Operation.ts","kind":"import-statement","original":"./Operation"}],"format":"esm"},"src/Blueprint.ts":{"bytes":22858,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"src/McpServer.ts","kind":"import-statement","original":"./McpServer"},{"path":"src/Template.ts","kind":"import-statement","original":"./Template"}],"format":"esm"},"src/Credential.ts":{"bytes":4058,"imports":[{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Redacted","kind":"import-statement","external":true}],"format":"esm"},"src/Header.ts":{"bytes":4731,"imports":[{"path":"@effect/platform/HttpClient","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClientRequest","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"src/Credential.ts","kind":"import-statement","original":"./Credential"}],"format":"esm"},"src/LayerSpec.ts":{"bytes":4210,"imports":[],"format":"esm"},"src/OperationHandlerSet.ts":{"bytes":17714,"imports":[{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"src/errors.ts","kind":"import-statement","original":"./errors"}],"format":"esm"},"src/OperationRegistry.ts":{"bytes":5298,"imports":[{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"src/Operation.ts","kind":"import-statement","original":"./Operation"},{"path":"src/OperationHandlerSet.ts","kind":"import-statement","original":"./OperationHandlerSet"}],"format":"esm"},"src/StorageService.ts":{"bytes":8269,"imports":[{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Pipeable","kind":"import-statement","external":true}],"format":"esm"},"src/Trace.ts":{"bytes":31612,"imports":[{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/Process.ts":{"bytes":41045,"imports":[{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/Operation.ts","kind":"import-statement","original":"./Operation"},{"path":"src/OperationHandlerSet.ts","kind":"import-statement","original":"./OperationHandlerSet"},{"path":"src/StorageService.ts","kind":"import-statement","original":"./StorageService"},{"path":"src/Trace.ts","kind":"import-statement","original":"./Trace"}],"format":"esm"},"src/Routine.ts":{"bytes":7246,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/Blueprint.ts","kind":"import-statement","original":"./Blueprint"}],"format":"esm"},"src/Script.ts":{"bytes":4382,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/Annotation","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"format":"esm"},"src/ServiceResolver.ts":{"bytes":17796,"imports":[{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Either","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"src/errors.ts","kind":"import-statement","original":"./errors"}],"format":"esm"},"src/Trigger.ts":{"bytes":19312,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/Annotation","kind":"import-statement","external":true},{"path":"@dxos/echo/Format","kind":"import-statement","external":true}],"format":"esm"},"src/TriggerEvent.ts":{"bytes":6006,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":3172,"imports":[{"path":"src/errors.ts","kind":"import-statement","original":"./errors"},{"path":"src/Blueprint.ts","kind":"import-statement","original":"./Blueprint"},{"path":"src/Credential.ts","kind":"import-statement","original":"./Credential"},{"path":"src/Header.ts","kind":"import-statement","original":"./Header"},{"path":"src/McpServer.ts","kind":"import-statement","original":"./McpServer"},{"path":"src/LayerSpec.ts","kind":"import-statement","original":"./LayerSpec"},{"path":"src/Operation.ts","kind":"import-statement","original":"./Operation"},{"path":"src/OperationHandlerSet.ts","kind":"import-statement","original":"./OperationHandlerSet"},{"path":"src/OperationRegistry.ts","kind":"import-statement","original":"./OperationRegistry"},{"path":"src/Process.ts","kind":"import-statement","original":"./Process"},{"path":"src/Routine.ts","kind":"import-statement","original":"./Routine"},{"path":"src/Script.ts","kind":"import-statement","original":"./Script"},{"path":"src/ServiceResolver.ts","kind":"import-statement","original":"./ServiceResolver"},{"path":"src/StorageService.ts","kind":"import-statement","original":"./StorageService"},{"path":"src/Template.ts","kind":"import-statement","original":"./Template"},{"path":"src/Trace.ts","kind":"import-statement","original":"./Trace"},{"path":"src/Trigger.ts","kind":"import-statement","original":"./Trigger"},{"path":"src/TriggerEvent.ts","kind":"import-statement","original":"./TriggerEvent"}],"format":"esm"},"src/testing/definitions.ts":{"bytes":4479,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"src/Operation.ts","kind":"import-statement","original":"../Operation"}],"format":"esm"},"src/testing/fib.ts":{"bytes":1848,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"src/Operation.ts","kind":"import-statement","original":"../Operation"},{"path":"src/testing/definitions.ts","kind":"import-statement","original":"./definitions"}],"format":"esm"},"src/testing/reply.ts":{"bytes":1503,"imports":[{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"src/Operation.ts","kind":"import-statement","original":"../Operation"},{"path":"src/testing/definitions.ts","kind":"import-statement","original":"./definitions"}],"format":"esm"},"src/testing/sleep.ts":{"bytes":1306,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"src/Operation.ts","kind":"import-statement","original":"../Operation"},{"path":"src/testing/definitions.ts","kind":"import-statement","original":"./definitions"}],"format":"esm"},"src/testing/index.ts":{"bytes":1811,"imports":[{"path":"src/OperationHandlerSet.ts","kind":"import-statement","original":"../OperationHandlerSet"},{"path":"src/testing/definitions.ts","kind":"import-statement","original":"./definitions"},{"path":"src/testing/fib.ts","kind":"import-statement","original":"./fib"},{"path":"src/testing/reply.ts","kind":"import-statement","original":"./reply"},{"path":"src/testing/sleep.ts","kind":"import-statement","original":"./sleep"},{"path":"src/testing/fib.ts","kind":"dynamic-import","original":"./fib"},{"path":"src/testing/reply.ts","kind":"dynamic-import","original":"./reply"},{"path":"src/testing/sleep.ts","kind":"dynamic-import","original":"./sleep"}],"format":"esm"}},"outputs":{"dist/lib/neutral/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93629},"dist/lib/neutral/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-XEVFBI6S.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-Z3Y7FQGN.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-QZS4G6PE.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/vendor-kbn-handlebars","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Redacted","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClient","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClientRequest","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/Annotation","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Either","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/Annotation","kind":"import-statement","external":true},{"path":"@dxos/echo/Format","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"exports":["Blueprint","Credential","FunctionError","FunctionNotFoundError","FunctionsAiMemoizationMissError","FunctionsAiUpstreamError","Header","InvalidOperationInputError","InvalidOperationOutputError","InvokerNotInitializedError","LayerSpec","McpServer","NoHandlerError","Operation","OperationHandlerSet","OperationRegistry","Process","Routine","Script","ServiceNotAvailableError","ServiceResolver","StorageService","Template","Trace","Trigger","TriggerEvent","TriggerStateNotFoundError"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/Blueprint.ts":{"bytesInOutput":4717},"src/McpServer.ts":{"bytesInOutput":1127},"src/Template.ts":{"bytesInOutput":3209},"src/Credential.ts":{"bytesInOutput":845},"src/Header.ts":{"bytesInOutput":958},"src/LayerSpec.ts":{"bytesInOutput":326},"src/OperationRegistry.ts":{"bytesInOutput":1041},"src/Process.ts":{"bytesInOutput":6065},"src/Trace.ts":{"bytesInOutput":6926},"src/Routine.ts":{"bytesInOutput":1649},"src/Script.ts":{"bytesInOutput":1087},"src/ServiceResolver.ts":{"bytesInOutput":3011},"src/Trigger.ts":{"bytesInOutput":4674},"src/TriggerEvent.ts":{"bytesInOutput":1370}},"bytes":38931},"dist/lib/neutral/StorageService.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/StorageService.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-XEVFBI6S.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"}],"exports":["StorageService","clear","deleteKey","get","key","list","set","withDefault"],"entryPoint":"src/StorageService.ts","inputs":{},"bytes":293},"dist/lib/neutral/chunk-XEVFBI6S.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4717},"dist/lib/neutral/chunk-XEVFBI6S.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Pipeable","kind":"import-statement","external":true}],"exports":["StorageService","StorageService_exports","clear","deleteKey","get","key","list","set","withDefault"],"inputs":{"src/StorageService.ts":{"bytesInOutput":1455}},"bytes":1698},"dist/lib/neutral/testing/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":729},"dist/lib/neutral/testing/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-Z3Y7FQGN.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-AFBNVFAY.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-MEPE4HHX.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-2B2KSJT6.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-JAU4E4EK.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-QZS4G6PE.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/fib-HBDUGQW7.mjs","kind":"dynamic-import"},{"path":"dist/lib/neutral/reply-RJIAJ6FV.mjs","kind":"dynamic-import"},{"path":"dist/lib/neutral/sleep-3T2CZ7RE.mjs","kind":"dynamic-import"}],"exports":["ExampleHandlers","Fibonacci","FibonacciHandler","Reply","ReplyHandler","Sleep","SleepHandler"],"entryPoint":"src/testing/index.ts","inputs":{"src/testing/index.ts":{"bytesInOutput":143}},"bytes":717},"dist/lib/neutral/chunk-Z3Y7FQGN.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13266},"dist/lib/neutral/chunk-Z3Y7FQGN.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true}],"exports":["FunctionError","FunctionNotFoundError","FunctionsAiMemoizationMissError","FunctionsAiUpstreamError","InvalidOperationInputError","InvalidOperationOutputError","InvokerNotInitializedError","NoHandlerError","OperationHandlerProvider","OperationHandlerSet_exports","ServiceNotAvailableError","TriggerStateNotFoundError","getHandler","getHandlerByKey","lazy"],"inputs":{"src/errors.ts":{"bytesInOutput":1737},"src/OperationHandlerSet.ts":{"bytesInOutput":3360}},"bytes":5624},"dist/lib/neutral/fib-HBDUGQW7.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/fib-HBDUGQW7.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-AFBNVFAY.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-JAU4E4EK.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-QZS4G6PE.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"}],"exports":["default"],"entryPoint":"src/testing/fib.ts","inputs":{},"bytes":226},"dist/lib/neutral/chunk-AFBNVFAY.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":955},"dist/lib/neutral/chunk-AFBNVFAY.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-JAU4E4EK.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-QZS4G6PE.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true}],"exports":["fib_default"],"inputs":{"src/testing/fib.ts":{"bytesInOutput":278}},"bytes":478},"dist/lib/neutral/reply-RJIAJ6FV.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/reply-RJIAJ6FV.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-MEPE4HHX.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-JAU4E4EK.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-QZS4G6PE.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"}],"exports":["default"],"entryPoint":"src/testing/reply.ts","inputs":{},"bytes":232},"dist/lib/neutral/chunk-MEPE4HHX.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":750},"dist/lib/neutral/chunk-MEPE4HHX.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-JAU4E4EK.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-QZS4G6PE.mjs","kind":"import-statement"},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true}],"exports":["reply_default"],"inputs":{"src/testing/reply.ts":{"bytesInOutput":227}},"bytes":427},"dist/lib/neutral/sleep-3T2CZ7RE.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/sleep-3T2CZ7RE.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-2B2KSJT6.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-JAU4E4EK.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-QZS4G6PE.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"}],"exports":["default"],"entryPoint":"src/testing/sleep.ts","inputs":{},"bytes":232},"dist/lib/neutral/chunk-2B2KSJT6.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":660},"dist/lib/neutral/chunk-2B2KSJT6.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-JAU4E4EK.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-QZS4G6PE.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true}],"exports":["sleep_default"],"inputs":{"src/testing/sleep.ts":{"bytesInOutput":166}},"bytes":366},"dist/lib/neutral/chunk-JAU4E4EK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2217},"dist/lib/neutral/chunk-JAU4E4EK.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-QZS4G6PE.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true}],"exports":["Fibonacci","Reply","Sleep"],"inputs":{"src/testing/definitions.ts":{"bytesInOutput":1021}},"bytes":1186},"dist/lib/neutral/chunk-QZS4G6PE.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":29239},"dist/lib/neutral/chunk-QZS4G6PE.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Pipeable","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"exports":["Operation_exports","PersistentOperation","deserialize","invoke","isIdempotent","make","withHandler"],"inputs":{"src/Operation.ts":{"bytesInOutput":8175}},"bytes":8411},"dist/lib/neutral/chunk-J5LGTIGS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/chunk-J5LGTIGS.mjs":{"imports":[],"exports":["__export"],"inputs":{},"bytes":235}}}
|
|
1
|
+
{"inputs":{"src/errors.ts":{"bytes":7958,"imports":[{"path":"@dxos/errors","kind":"import-statement","external":true}],"format":"esm"},"src/AgentService.ts":{"bytes":4824,"imports":[{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true}],"format":"esm"},"src/McpServer.ts":{"bytes":4575,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true}],"format":"esm"},"src/Operation.ts":{"bytes":63782,"imports":[{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Pipeable","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"format":"esm"},"src/Template.ts":{"bytes":14238,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/vendor-kbn-handlebars","kind":"import-statement","external":true},{"path":"src/errors.ts","kind":"import-statement","original":"./errors"},{"path":"src/Operation.ts","kind":"import-statement","original":"./Operation"}],"format":"esm"},"src/Runnable.ts":{"bytes":1049,"imports":[{"path":"src/Operation.ts","kind":"import-statement","original":"./Operation"}],"format":"esm"},"src/Trigger.ts":{"bytes":19468,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/Annotation","kind":"import-statement","external":true},{"path":"@dxos/echo/Format","kind":"import-statement","external":true},{"path":"src/Runnable.ts","kind":"import-statement","original":"./Runnable"}],"format":"esm"},"src/Skill.ts":{"bytes":21618,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"src/McpServer.ts","kind":"import-statement","original":"./McpServer"},{"path":"src/Template.ts","kind":"import-statement","original":"./Template"},{"path":"src/Trigger.ts","kind":"import-statement","original":"./Trigger"}],"format":"esm"},"src/Credential.ts":{"bytes":4238,"imports":[{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Redacted","kind":"import-statement","external":true}],"format":"esm"},"src/Header.ts":{"bytes":4731,"imports":[{"path":"@effect/platform/HttpClient","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClientRequest","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"src/Credential.ts","kind":"import-statement","original":"./Credential"}],"format":"esm"},"src/Instructions.ts":{"bytes":9298,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/Skill.ts","kind":"import-statement","original":"./Skill"}],"format":"esm"},"src/LayerSpec.ts":{"bytes":4210,"imports":[],"format":"esm"},"src/OperationHandlerSet.ts":{"bytes":17714,"imports":[{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"src/errors.ts","kind":"import-statement","original":"./errors"}],"format":"esm"},"src/OperationRegistry.ts":{"bytes":5298,"imports":[{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"src/Operation.ts","kind":"import-statement","original":"./Operation"},{"path":"src/OperationHandlerSet.ts","kind":"import-statement","original":"./OperationHandlerSet"}],"format":"esm"},"src/StorageService.ts":{"bytes":8321,"imports":[{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Pipeable","kind":"import-statement","external":true}],"format":"esm"},"src/Trace.ts":{"bytes":31904,"imports":[{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/Trigger.ts","kind":"import-statement","original":"./Trigger"}],"format":"esm"},"src/Process.ts":{"bytes":47956,"imports":[{"path":"@effect/rpc/RpcGroup","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/Operation.ts","kind":"import-statement","original":"./Operation"},{"path":"src/OperationHandlerSet.ts","kind":"import-statement","original":"./OperationHandlerSet"},{"path":"src/StorageService.ts","kind":"import-statement","original":"./StorageService"},{"path":"src/Trace.ts","kind":"import-statement","original":"./Trace"}],"format":"esm"},"src/Script.ts":{"bytes":4363,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/Annotation","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"format":"esm"},"src/ServiceResolver.ts":{"bytes":17754,"imports":[{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Either","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"src/errors.ts","kind":"import-statement","original":"./errors"}],"format":"esm"},"src/TriggerEvent.ts":{"bytes":6006,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":3514,"imports":[{"path":"src/errors.ts","kind":"import-statement","original":"./errors"},{"path":"src/AgentService.ts","kind":"import-statement","original":"./AgentService"},{"path":"src/Skill.ts","kind":"import-statement","original":"./Skill"},{"path":"src/Credential.ts","kind":"import-statement","original":"./Credential"},{"path":"src/Header.ts","kind":"import-statement","original":"./Header"},{"path":"src/Instructions.ts","kind":"import-statement","original":"./Instructions"},{"path":"src/LayerSpec.ts","kind":"import-statement","original":"./LayerSpec"},{"path":"src/McpServer.ts","kind":"import-statement","original":"./McpServer"},{"path":"src/Operation.ts","kind":"import-statement","original":"./Operation"},{"path":"src/OperationHandlerSet.ts","kind":"import-statement","original":"./OperationHandlerSet"},{"path":"src/OperationRegistry.ts","kind":"import-statement","original":"./OperationRegistry"},{"path":"src/Process.ts","kind":"import-statement","original":"./Process"},{"path":"src/Runnable.ts","kind":"import-statement","original":"./Runnable"},{"path":"src/Script.ts","kind":"import-statement","original":"./Script"},{"path":"src/ServiceResolver.ts","kind":"import-statement","original":"./ServiceResolver"},{"path":"src/StorageService.ts","kind":"import-statement","original":"./StorageService"},{"path":"src/Template.ts","kind":"import-statement","original":"./Template"},{"path":"src/Trace.ts","kind":"import-statement","original":"./Trace"},{"path":"src/Trigger.ts","kind":"import-statement","original":"./Trigger"},{"path":"src/TriggerEvent.ts","kind":"import-statement","original":"./TriggerEvent"}],"format":"esm"},"src/testing/definitions.ts":{"bytes":4479,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"src/Operation.ts","kind":"import-statement","original":"../Operation"}],"format":"esm"},"src/testing/fib.ts":{"bytes":1848,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"src/Operation.ts","kind":"import-statement","original":"../Operation"},{"path":"src/testing/definitions.ts","kind":"import-statement","original":"./definitions"}],"format":"esm"},"src/testing/reply.ts":{"bytes":1503,"imports":[{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"src/Operation.ts","kind":"import-statement","original":"../Operation"},{"path":"src/testing/definitions.ts","kind":"import-statement","original":"./definitions"}],"format":"esm"},"src/testing/sleep.ts":{"bytes":1306,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"src/Operation.ts","kind":"import-statement","original":"../Operation"},{"path":"src/testing/definitions.ts","kind":"import-statement","original":"./definitions"}],"format":"esm"},"src/testing/index.ts":{"bytes":1811,"imports":[{"path":"src/OperationHandlerSet.ts","kind":"import-statement","original":"../OperationHandlerSet"},{"path":"src/testing/definitions.ts","kind":"import-statement","original":"./definitions"},{"path":"src/testing/fib.ts","kind":"import-statement","original":"./fib"},{"path":"src/testing/reply.ts","kind":"import-statement","original":"./reply"},{"path":"src/testing/sleep.ts","kind":"import-statement","original":"./sleep"},{"path":"src/testing/fib.ts","kind":"dynamic-import","original":"./fib"},{"path":"src/testing/reply.ts","kind":"dynamic-import","original":"./reply"},{"path":"src/testing/sleep.ts","kind":"dynamic-import","original":"./sleep"}],"format":"esm"}},"outputs":{"dist/lib/neutral/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":98636},"dist/lib/neutral/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-VSAZPWSJ.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-PF7XP7XP.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-Z3Y7FQGN.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-EVROJER7.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/vendor-kbn-handlebars","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/Annotation","kind":"import-statement","external":true},{"path":"@dxos/echo/Format","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Redacted","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClient","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClientRequest","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@effect/rpc/RpcGroup","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/Annotation","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Either","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"exports":["AgentService","Credential","FunctionError","FunctionNotFoundError","FunctionsAiMemoizationMissError","FunctionsAiUpstreamError","Header","Instructions","InvalidOperationInputError","InvalidOperationOutputError","InvokerNotInitializedError","LayerSpec","McpServer","NoHandlerError","Operation","OperationHandlerSet","OperationRegistry","Process","Runnable","Script","ServiceNotAvailableError","ServiceResolver","Skill","StorageService","Template","Trace","Trigger","TriggerEvent","TriggerStateNotFoundError"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/Skill.ts":{"bytesInOutput":4617},"src/McpServer.ts":{"bytesInOutput":1127},"src/Template.ts":{"bytesInOutput":3207},"src/Trigger.ts":{"bytesInOutput":4355},"src/Runnable.ts":{"bytesInOutput":123},"src/Credential.ts":{"bytesInOutput":845},"src/Header.ts":{"bytesInOutput":958},"src/Instructions.ts":{"bytesInOutput":2125},"src/LayerSpec.ts":{"bytesInOutput":326},"src/OperationRegistry.ts":{"bytesInOutput":1038},"src/Process.ts":{"bytesInOutput":7058},"src/Trace.ts":{"bytesInOutput":6983},"src/Script.ts":{"bytesInOutput":1105},"src/ServiceResolver.ts":{"bytesInOutput":3018},"src/TriggerEvent.ts":{"bytesInOutput":1370}},"bytes":40372},"dist/lib/neutral/AgentService.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/AgentService.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-VSAZPWSJ.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"}],"exports":["AgentService","getSession","hydrate"],"entryPoint":"src/AgentService.ts","inputs":{},"bytes":205},"dist/lib/neutral/chunk-VSAZPWSJ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3220},"dist/lib/neutral/chunk-VSAZPWSJ.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true}],"exports":["AgentService","AgentService_exports","getSession","hydrate"],"inputs":{"src/AgentService.ts":{"bytesInOutput":519}},"bytes":715},"dist/lib/neutral/StorageService.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/StorageService.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-PF7XP7XP.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"}],"exports":["StorageService","cell","clear","deleteKey","get","list","set","withDefault"],"entryPoint":"src/StorageService.ts","inputs":{},"bytes":295},"dist/lib/neutral/chunk-PF7XP7XP.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4743},"dist/lib/neutral/chunk-PF7XP7XP.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Pipeable","kind":"import-statement","external":true}],"exports":["StorageService","StorageService_exports","cell","clear","deleteKey","get","list","set","withDefault"],"inputs":{"src/StorageService.ts":{"bytesInOutput":1453}},"bytes":1697},"dist/lib/neutral/testing/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":729},"dist/lib/neutral/testing/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-Z3Y7FQGN.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-2ZN64ZS7.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-SJ37RWHU.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-WEO4FCQY.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-5VAXF6AH.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-EVROJER7.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/fib-5XIYECL5.mjs","kind":"dynamic-import"},{"path":"dist/lib/neutral/reply-GCBRCUVM.mjs","kind":"dynamic-import"},{"path":"dist/lib/neutral/sleep-XR6CL6W3.mjs","kind":"dynamic-import"}],"exports":["ExampleHandlers","Fibonacci","FibonacciHandler","Reply","ReplyHandler","Sleep","SleepHandler"],"entryPoint":"src/testing/index.ts","inputs":{"src/testing/index.ts":{"bytesInOutput":143}},"bytes":717},"dist/lib/neutral/chunk-Z3Y7FQGN.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13266},"dist/lib/neutral/chunk-Z3Y7FQGN.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true}],"exports":["FunctionError","FunctionNotFoundError","FunctionsAiMemoizationMissError","FunctionsAiUpstreamError","InvalidOperationInputError","InvalidOperationOutputError","InvokerNotInitializedError","NoHandlerError","OperationHandlerProvider","OperationHandlerSet_exports","ServiceNotAvailableError","TriggerStateNotFoundError","getHandler","getHandlerByKey","lazy"],"inputs":{"src/errors.ts":{"bytesInOutput":1737},"src/OperationHandlerSet.ts":{"bytesInOutput":3360}},"bytes":5624},"dist/lib/neutral/fib-5XIYECL5.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/fib-5XIYECL5.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-2ZN64ZS7.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-5VAXF6AH.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-EVROJER7.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"}],"exports":["default"],"entryPoint":"src/testing/fib.ts","inputs":{},"bytes":226},"dist/lib/neutral/chunk-2ZN64ZS7.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":955},"dist/lib/neutral/chunk-2ZN64ZS7.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-5VAXF6AH.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-EVROJER7.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true}],"exports":["fib_default"],"inputs":{"src/testing/fib.ts":{"bytesInOutput":278}},"bytes":478},"dist/lib/neutral/reply-GCBRCUVM.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/reply-GCBRCUVM.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-SJ37RWHU.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-5VAXF6AH.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-EVROJER7.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"}],"exports":["default"],"entryPoint":"src/testing/reply.ts","inputs":{},"bytes":232},"dist/lib/neutral/chunk-SJ37RWHU.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":750},"dist/lib/neutral/chunk-SJ37RWHU.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-5VAXF6AH.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-EVROJER7.mjs","kind":"import-statement"},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true}],"exports":["reply_default"],"inputs":{"src/testing/reply.ts":{"bytesInOutput":227}},"bytes":427},"dist/lib/neutral/sleep-XR6CL6W3.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/sleep-XR6CL6W3.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-WEO4FCQY.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-5VAXF6AH.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-EVROJER7.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"}],"exports":["default"],"entryPoint":"src/testing/sleep.ts","inputs":{},"bytes":232},"dist/lib/neutral/chunk-WEO4FCQY.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":660},"dist/lib/neutral/chunk-WEO4FCQY.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-5VAXF6AH.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-EVROJER7.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true}],"exports":["sleep_default"],"inputs":{"src/testing/sleep.ts":{"bytesInOutput":166}},"bytes":366},"dist/lib/neutral/chunk-5VAXF6AH.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2217},"dist/lib/neutral/chunk-5VAXF6AH.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-EVROJER7.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true}],"exports":["Fibonacci","Reply","Sleep"],"inputs":{"src/testing/definitions.ts":{"bytesInOutput":1021}},"bytes":1186},"dist/lib/neutral/chunk-EVROJER7.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":33388},"dist/lib/neutral/chunk-EVROJER7.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Pipeable","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"exports":["NotifyOptions","Operation_exports","PersistentOperation","deserialize","invoke","isIdempotent","make","withHandler"],"inputs":{"src/Operation.ts":{"bytesInOutput":9638}},"bytes":9891},"dist/lib/neutral/chunk-J5LGTIGS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/chunk-J5LGTIGS.mjs":{"imports":[],"exports":["__export"],"inputs":{},"bytes":235}}}
|
|
@@ -3,23 +3,23 @@ import {
|
|
|
3
3
|
} from "../chunk-Z3Y7FQGN.mjs";
|
|
4
4
|
import {
|
|
5
5
|
fib_default
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-2ZN64ZS7.mjs";
|
|
7
7
|
import {
|
|
8
8
|
reply_default
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-SJ37RWHU.mjs";
|
|
10
10
|
import {
|
|
11
11
|
sleep_default
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-WEO4FCQY.mjs";
|
|
13
13
|
import {
|
|
14
14
|
Fibonacci,
|
|
15
15
|
Reply,
|
|
16
16
|
Sleep
|
|
17
|
-
} from "../chunk-
|
|
18
|
-
import "../chunk-
|
|
17
|
+
} from "../chunk-5VAXF6AH.mjs";
|
|
18
|
+
import "../chunk-EVROJER7.mjs";
|
|
19
19
|
import "../chunk-J5LGTIGS.mjs";
|
|
20
20
|
|
|
21
21
|
// src/testing/index.ts
|
|
22
|
-
var ExampleHandlers = lazy(() => import("../fib-
|
|
22
|
+
var ExampleHandlers = lazy(() => import("../fib-5XIYECL5.mjs"), () => import("../reply-GCBRCUVM.mjs"), () => import("../sleep-XR6CL6W3.mjs"));
|
|
23
23
|
export {
|
|
24
24
|
ExampleHandlers,
|
|
25
25
|
Fibonacci,
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as Context from 'effect/Context';
|
|
2
|
+
import * as Effect from 'effect/Effect';
|
|
3
|
+
import type * as Stream from 'effect/Stream';
|
|
4
|
+
import type { Database, Feed, Obj, Ref } from '@dxos/echo';
|
|
5
|
+
import { DXN } from '@dxos/keys';
|
|
6
|
+
import type * as Trace from './Trace';
|
|
7
|
+
/**
|
|
8
|
+
* Service interface for the agent session manager.
|
|
9
|
+
* Implementation lives in @dxos/functions-runtime.
|
|
10
|
+
*/
|
|
11
|
+
export interface Service {
|
|
12
|
+
/**
|
|
13
|
+
* Gets or creates a session for a feed.
|
|
14
|
+
*/
|
|
15
|
+
getSession: (feed: Feed.Feed, options?: GetSessionOptions) => Effect.Effect<Session>;
|
|
16
|
+
/**
|
|
17
|
+
* Hydrates agent processes persisted by a previous session.
|
|
18
|
+
* Each record is rehydrated with a fresh process built from the layer options.
|
|
19
|
+
*/
|
|
20
|
+
hydrate: () => Effect.Effect<void>;
|
|
21
|
+
}
|
|
22
|
+
declare const AgentService_base: Context.TagClass<AgentService, "@dxos/functions-runtime/AgentService", Service>;
|
|
23
|
+
export declare class AgentService extends AgentService_base {
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Handle to an agent session.
|
|
27
|
+
*/
|
|
28
|
+
export interface Session {
|
|
29
|
+
/**
|
|
30
|
+
* The feed that the session is associated with.
|
|
31
|
+
*/
|
|
32
|
+
readonly feed: Feed.Feed;
|
|
33
|
+
/**
|
|
34
|
+
* Gets the context objects from the agent.
|
|
35
|
+
*/
|
|
36
|
+
getContext: () => Effect.Effect<Ref.Ref<Obj.Unknown>[], never, Database.Service>;
|
|
37
|
+
/**
|
|
38
|
+
* Adds context objects to the agent.
|
|
39
|
+
*/
|
|
40
|
+
addContext: (context: Ref.Ref<Obj.Unknown>[]) => Effect.Effect<void, never, Database.Service>;
|
|
41
|
+
/**
|
|
42
|
+
* Submits a prompt to the agent.
|
|
43
|
+
*/
|
|
44
|
+
submitPrompt: (prompt: string) => Effect.Effect<void>;
|
|
45
|
+
/**
|
|
46
|
+
* Wait until agent has completed its work.
|
|
47
|
+
*/
|
|
48
|
+
waitForCompletion: () => Effect.Effect<void>;
|
|
49
|
+
/**
|
|
50
|
+
* Terminates the agent process and clears its durable storage.
|
|
51
|
+
*/
|
|
52
|
+
terminate: () => Effect.Effect<void>;
|
|
53
|
+
/**
|
|
54
|
+
* Subscribe to ephemeral trace events (e.g., streaming partial messages).
|
|
55
|
+
* Replays buffered events, then streams new ones until the process ends.
|
|
56
|
+
*
|
|
57
|
+
* When forking a collector from a short-lived parent (e.g. `useEffect` +
|
|
58
|
+
* `runPromise(Effect.forEach(subscribe))`), use {@link Effect.forkDaemon} so the
|
|
59
|
+
* stream survives after the parent scope closes; interrupt it on dispose.
|
|
60
|
+
*/
|
|
61
|
+
subscribeEphemeral: () => Stream.Stream<Trace.Message>;
|
|
62
|
+
}
|
|
63
|
+
export declare const getSession: (feed: Feed.Feed, options?: GetSessionOptions | undefined) => Effect.Effect<Session, never, AgentService>;
|
|
64
|
+
export declare const hydrate: () => Effect.Effect<void, never, AgentService>;
|
|
65
|
+
export interface GetSessionOptions {
|
|
66
|
+
readonly model?: DXN.DXN;
|
|
67
|
+
readonly provider?: DXN.DXN;
|
|
68
|
+
readonly systemPrompt?: string;
|
|
69
|
+
}
|
|
70
|
+
export {};
|
|
71
|
+
//# sourceMappingURL=AgentService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentService.d.ts","sourceRoot":"","sources":["../../../src/AgentService.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,MAAM,eAAe,CAAC;AAE7C,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAC3D,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,KAAK,KAAK,MAAM,SAAS,CAAC;AAEtC;;;GAGG;AACH,MAAM,WAAW,OAAO;IACtB;;OAEG;IACH,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,EAAE,iBAAiB,KAAK,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAErF;;;OAGG;IACH,OAAO,EAAE,MAAM,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;CACpC;;AAED,qBAAa,YAAa,SAAQ,iBAA4E;CAAG;AAEjH;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;IAEzB;;OAEG;IACH,UAAU,EAAE,MAAM,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,EAAE,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;IAEjF;;OAEG;IACH,UAAU,EAAE,CAAC,OAAO,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,KAAK,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;IAE9F;;OAEG;IACH,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAEtD;;OAEG;IACH,iBAAiB,EAAE,MAAM,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAE7C;;OAEG;IACH,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAErC;;;;;;;OAOG;IACH,kBAAkB,EAAE,MAAM,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;CACxD;AAED,eAAO,MAAM,UAAU,2GAA8E,CAAC;AAEtG,eAAO,MAAM,OAAO,gDAA2E,CAAC;AAEhG,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,KAAK,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC;IAGzB,QAAQ,CAAC,QAAQ,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC;IAC5B,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;CAChC"}
|
|
@@ -7,6 +7,8 @@ export type CredentialQuery = {
|
|
|
7
7
|
export type ServiceCredential = {
|
|
8
8
|
service: string;
|
|
9
9
|
apiKey?: string;
|
|
10
|
+
/** Non-secret secondary identifier carried alongside the credential (e.g. an account id or report id). */
|
|
11
|
+
account?: string;
|
|
10
12
|
};
|
|
11
13
|
declare const CredentialsService_base: Context.TagClass<CredentialsService, "@dxos/functions/CredentialsService", {
|
|
12
14
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Credential.d.ts","sourceRoot":"","sources":["../../../src/Credential.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAE5C,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAIF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"Credential.d.ts","sourceRoot":"","sources":["../../../src/Credential.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAE5C,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAIF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,0GAA0G;IAC1G,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;;IAKE;;OAEG;sBACe,CAAC,KAAK,EAAE,eAAe,KAAK,OAAO,CAAC,iBAAiB,EAAE,CAAC;IAE1E;;;OAGG;mBACY,CAAC,KAAK,EAAE,eAAe,KAAK,OAAO,CAAC,iBAAiB,CAAC;;AAZzE,qBAAa,kBAAmB,SAAQ,uBAcrC;IACD,MAAM,CAAC,aAAa,UAAW,eAAe,KAAG,MAAM,CAAC,MAAM,CAAC,iBAAiB,EAAE,KAAK,EAAE,kBAAkB,CAAC,CAIvG;IAEL,MAAM,CAAC,SAAS,UAAW,eAAe,KAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,kBAAkB,CAAC,CAO3G;CACN"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as Schema from 'effect/Schema';
|
|
2
|
+
import { Obj, Ref, Type } from '@dxos/echo';
|
|
3
|
+
import { Text } from '@dxos/schema';
|
|
4
|
+
import * as Skill from './Skill';
|
|
5
|
+
declare const Instructions_base: Type.ObjClass<Instructions, {
|
|
6
|
+
readonly name?: string | undefined;
|
|
7
|
+
readonly description?: string | undefined;
|
|
8
|
+
readonly input: import("@dxos/echo/internal").JsonSchemaType;
|
|
9
|
+
readonly output: import("@dxos/echo/internal").JsonSchemaType;
|
|
10
|
+
readonly text: import("@dxos/echo/internal").Ref<Text.Text & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
11
|
+
readonly skills: readonly import("@dxos/echo/internal").Ref<Skill.Skill & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>[];
|
|
12
|
+
readonly objects?: readonly import("@dxos/echo/internal").Ref<Obj.Unknown>[] | undefined;
|
|
13
|
+
}, {}>;
|
|
14
|
+
/**
|
|
15
|
+
* Prompt-based operation.
|
|
16
|
+
* May reference skills and additional context.
|
|
17
|
+
* Hidden from the navtree and object picker — accessed only through Routines.
|
|
18
|
+
*/
|
|
19
|
+
export declare class Instructions extends Instructions_base {
|
|
20
|
+
}
|
|
21
|
+
export type MakeProps = {
|
|
22
|
+
name?: string;
|
|
23
|
+
description?: string;
|
|
24
|
+
input?: Schema.Schema.AnyNoContext;
|
|
25
|
+
output?: Schema.Schema.AnyNoContext;
|
|
26
|
+
text?: string;
|
|
27
|
+
skills?: Ref.Ref<Skill.Skill>[];
|
|
28
|
+
objects?: Ref.Ref<Obj.Unknown>[];
|
|
29
|
+
};
|
|
30
|
+
/** Creates an Instructions object with an owned Markdown `text` body (parented so it cascades and deep-clones). */
|
|
31
|
+
export declare const make: ({ name, description, input, output, text, skills, objects }: MakeProps) => Instructions;
|
|
32
|
+
export {};
|
|
33
|
+
//# sourceMappingURL=Instructions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Instructions.d.ts","sourceRoot":"","sources":["../../../src/Instructions.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAuC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AACjF,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;;;;;;;;;;AAEjC;;;;GAIG;AACH,qBAAa,YAAa,SAAQ,iBA0BjC;CAAG;AAEJ,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC;IAChC,OAAO,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;CAClC,CAAC;AAEF,mHAAmH;AACnH,eAAO,MAAM,IAAI,gEAAsE,SAAS,KAAG,YAelG,CAAC"}
|
|
@@ -2,7 +2,7 @@ import * as Schema from 'effect/Schema';
|
|
|
2
2
|
/**
|
|
3
3
|
* MCP server connection spec — the minimal fields needed to dial an MCP server.
|
|
4
4
|
*
|
|
5
|
-
* Used as a value type embedded in
|
|
5
|
+
* Used as a value type embedded in skills and passed to runtime session connect logic.
|
|
6
6
|
* The user-facing ECHO object (`@dxos/assistant-toolkit` `McpServer`) composes this struct
|
|
7
7
|
* and adds instance-level fields (`name`, `enabled`) and ECHO annotations.
|
|
8
8
|
*/
|
|
@@ -2,9 +2,10 @@ import * as Context from 'effect/Context';
|
|
|
2
2
|
import * as Effect from 'effect/Effect';
|
|
3
3
|
import * as Layer from 'effect/Layer';
|
|
4
4
|
import * as Pipeable from 'effect/Pipeable';
|
|
5
|
+
import * as Schema from 'effect/Schema';
|
|
5
6
|
import * as Schema$ from 'effect/Schema';
|
|
6
7
|
import type * as Types from 'effect/Types';
|
|
7
|
-
import { DXN,
|
|
8
|
+
import { Annotation, DXN, type Key, Migration, Obj, Type } from '@dxos/echo';
|
|
8
9
|
import type { URI } from '@dxos/keys';
|
|
9
10
|
import type { NoHandlerError } from './errors';
|
|
10
11
|
import type { Operation } from './index';
|
|
@@ -198,12 +199,7 @@ export type Invoke = <I, O, E>(op: Definition<I, O>, input: I) => Effect.Effect<
|
|
|
198
199
|
export type InvokeRemote = <I, O, E>(op: Definition<I, O>, input: I, options?: {
|
|
199
200
|
timeout?: number;
|
|
200
201
|
}) => Effect.Effect<O, E>;
|
|
201
|
-
|
|
202
|
-
* Database record of an operation.
|
|
203
|
-
* The registry `key` and `version` live in the object meta — access via
|
|
204
|
-
* `Obj.getMeta(record).key` and `Obj.getMeta(record).version`.
|
|
205
|
-
*/
|
|
206
|
-
export declare const PersistentOperation: Type.Obj<{
|
|
202
|
+
declare const PersistentOperation_base: Type.ObjClass<PersistentOperation, {
|
|
207
203
|
readonly name: string;
|
|
208
204
|
readonly description?: string | undefined;
|
|
209
205
|
readonly updated?: string | undefined;
|
|
@@ -213,8 +209,14 @@ export declare const PersistentOperation: Type.Obj<{
|
|
|
213
209
|
readonly services?: readonly string[] | undefined;
|
|
214
210
|
readonly binding?: string | undefined;
|
|
215
211
|
readonly icon?: string | undefined;
|
|
216
|
-
},
|
|
217
|
-
|
|
212
|
+
}, {}>;
|
|
213
|
+
/**
|
|
214
|
+
* Database record of an operation.
|
|
215
|
+
* The registry `key` and `version` live in the object meta — access via
|
|
216
|
+
* `Obj.getMeta(record).key` and `Obj.getMeta(record).version`.
|
|
217
|
+
*/
|
|
218
|
+
export declare class PersistentOperation extends PersistentOperation_base {
|
|
219
|
+
}
|
|
218
220
|
/**
|
|
219
221
|
* Get the registry key for a persistent operation record (from the object meta).
|
|
220
222
|
*/
|
|
@@ -240,23 +242,57 @@ export declare const setFrom: (target: PersistentOperation, source: PersistentOp
|
|
|
240
242
|
* Defined locally to avoid a core dependency on UI translation packages; structurally compatible with
|
|
241
243
|
* the app-level `Label` type so values flow into UI toasts unchanged.
|
|
242
244
|
*/
|
|
243
|
-
export
|
|
244
|
-
ns:
|
|
245
|
-
count
|
|
246
|
-
defaultValue
|
|
247
|
-
}]
|
|
245
|
+
export declare const Label: Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
|
|
246
|
+
ns: typeof Schema.String;
|
|
247
|
+
count: Schema.optional<typeof Schema.Number>;
|
|
248
|
+
defaultValue: Schema.optional<typeof Schema.String>;
|
|
249
|
+
}>>>>]>;
|
|
250
|
+
export type Label = Schema.Schema.Type<typeof Label>;
|
|
248
251
|
/**
|
|
249
252
|
* Per-phase user notification messages for an invocation.
|
|
250
253
|
* A phase is notified to the user iff its message is provided; messages are translatable {@link Label}s.
|
|
251
254
|
*/
|
|
252
|
-
export
|
|
255
|
+
export declare const NotifyOptions: Schema.Struct<{
|
|
253
256
|
/** Shown when the invocation starts. */
|
|
254
|
-
start
|
|
257
|
+
start: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
|
|
258
|
+
ns: typeof Schema.String;
|
|
259
|
+
count: Schema.optional<typeof Schema.Number>;
|
|
260
|
+
defaultValue: Schema.optional<typeof Schema.String>;
|
|
261
|
+
}>>>>]>>;
|
|
255
262
|
/** Shown when the invocation succeeds. */
|
|
256
|
-
success
|
|
263
|
+
success: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
|
|
264
|
+
ns: typeof Schema.String;
|
|
265
|
+
count: Schema.optional<typeof Schema.Number>;
|
|
266
|
+
defaultValue: Schema.optional<typeof Schema.String>;
|
|
267
|
+
}>>>>]>>;
|
|
257
268
|
/** Shown when the invocation fails. */
|
|
258
|
-
error
|
|
259
|
-
|
|
269
|
+
error: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
|
|
270
|
+
ns: typeof Schema.String;
|
|
271
|
+
count: Schema.optional<typeof Schema.Number>;
|
|
272
|
+
defaultValue: Schema.optional<typeof Schema.String>;
|
|
273
|
+
}>>>>]>>;
|
|
274
|
+
}>;
|
|
275
|
+
export type NotifyOptions = Schema.Schema.Type<typeof NotifyOptions>;
|
|
276
|
+
/**
|
|
277
|
+
* Annotation that configures the process to notify the user at the given invocation phases.
|
|
278
|
+
*/
|
|
279
|
+
export declare const NotifyOptionsAnnotation: Annotation.Annotation<{
|
|
280
|
+
readonly start?: string | [string, {
|
|
281
|
+
ns: string;
|
|
282
|
+
count?: number | undefined;
|
|
283
|
+
defaultValue?: string | undefined;
|
|
284
|
+
}] | undefined;
|
|
285
|
+
readonly success?: string | [string, {
|
|
286
|
+
ns: string;
|
|
287
|
+
count?: number | undefined;
|
|
288
|
+
defaultValue?: string | undefined;
|
|
289
|
+
}] | undefined;
|
|
290
|
+
readonly error?: string | [string, {
|
|
291
|
+
ns: string;
|
|
292
|
+
count?: number | undefined;
|
|
293
|
+
defaultValue?: string | undefined;
|
|
294
|
+
}] | undefined;
|
|
295
|
+
}>;
|
|
260
296
|
/**
|
|
261
297
|
* Options for operation invocation.
|
|
262
298
|
*/
|
|
@@ -273,7 +309,7 @@ export interface InvokeOptions {
|
|
|
273
309
|
* URI of the conversation feed (queue) — today always an EID, but typed as
|
|
274
310
|
* `URI.URI` to accommodate future entity-kind extensions. Narrow with `EID.parse`
|
|
275
311
|
* at the point of use.
|
|
276
|
-
* Passed to the process environment so nested operations can resolve
|
|
312
|
+
* Passed to the process environment so nested operations can resolve HarnessService and related services.
|
|
277
313
|
*/
|
|
278
314
|
conversation?: URI.URI;
|
|
279
315
|
/**
|
|
@@ -291,6 +327,34 @@ export declare const IdempotentAnnotation: Annotation.Annotation<boolean>;
|
|
|
291
327
|
* Returns true when the operation is explicitly annotated as idempotent.
|
|
292
328
|
*/
|
|
293
329
|
export declare const isIdempotent: (op: Definition.Any) => boolean;
|
|
330
|
+
/**
|
|
331
|
+
* Attaches an annotation to an operation definition, returning a new definition.
|
|
332
|
+
* Combinators never mutate their input — operation definitions are module-level singletons
|
|
333
|
+
* shared across handler sets, skills, and the registry, so a fresh value keeps the
|
|
334
|
+
* annotated definition distinct from any other reference to the original.
|
|
335
|
+
*
|
|
336
|
+
* Type-preserving: an annotation does not change the operation's input/output/service types, so the
|
|
337
|
+
* returned definition keeps `Def` (preserving `withHandler` inference and downstream usage).
|
|
338
|
+
*/
|
|
339
|
+
export declare const annotate: <T>(annotation: Annotation.Annotation<T>, value: T) => <Def extends Definition.Any>(op: Def) => Def;
|
|
340
|
+
/**
|
|
341
|
+
* Marks an operation as visible on user-facing operation surfaces (trigger/automation pickers,
|
|
342
|
+
* manual invocation). Absent ⇒ internal: invoked programmatically by plugins and hidden from pickers.
|
|
343
|
+
*
|
|
344
|
+
* Polarity is inverted from the schema-level `HiddenAnnotation` (default visible): operations are
|
|
345
|
+
* hidden by default, since most are internal plugin machinery and only a minority are user-facing.
|
|
346
|
+
*/
|
|
347
|
+
export declare const VisibleAnnotation: Annotation.Annotation<boolean>;
|
|
348
|
+
/**
|
|
349
|
+
* Pipeable combinator that marks an operation visible. Apply at the definition site:
|
|
350
|
+
* `Operation.make({ ... }).pipe(Operation.visible)`.
|
|
351
|
+
*/
|
|
352
|
+
export declare const visible: <Def extends Definition.Any>(op: Def) => Def;
|
|
353
|
+
/**
|
|
354
|
+
* Returns true when an operation is annotated as visible on user-facing surfaces (trigger/automation
|
|
355
|
+
* pickers, manual invocation). Reads from the persisted operation — the form every consumer holds.
|
|
356
|
+
*/
|
|
357
|
+
export declare const isVisible: (op: PersistentOperation) => boolean;
|
|
294
358
|
/**
|
|
295
359
|
* Operation service interface - provides unified access to operation invocation and scheduling.
|
|
296
360
|
* This service is automatically provided to operation handlers.
|
|
@@ -359,11 +423,7 @@ export declare const schedule: <I, O>(op: Operation.Definition<I, O>, ...args: v
|
|
|
359
423
|
* Provides additional invocation options to all invocations.
|
|
360
424
|
*/
|
|
361
425
|
export declare const withInvocationOptions: (options: InvokeOptions) => Layer.Layer<Service, never, Service>;
|
|
362
|
-
|
|
363
|
-
* Persistent operation schema v0.1.0 — `key` and `version` are stored as data properties.
|
|
364
|
-
* @deprecated Use {@link PersistentOperation} (v0.2.0) instead; the `key` and `version` now live in the object meta.
|
|
365
|
-
*/
|
|
366
|
-
export declare const PersistentOperation_v0_1_0: Type.Obj<{
|
|
426
|
+
declare const PersistentOperation_v0_1_0_base: Type.ObjClass<PersistentOperation_v0_1_0, {
|
|
367
427
|
readonly key?: string | undefined;
|
|
368
428
|
readonly name: string;
|
|
369
429
|
readonly version: string;
|
|
@@ -374,8 +434,13 @@ export declare const PersistentOperation_v0_1_0: Type.Obj<{
|
|
|
374
434
|
readonly outputSchema?: import("@dxos/echo/internal").JsonSchemaType | undefined;
|
|
375
435
|
readonly services?: readonly string[] | undefined;
|
|
376
436
|
readonly binding?: string | undefined;
|
|
377
|
-
},
|
|
378
|
-
|
|
437
|
+
}, {}>;
|
|
438
|
+
/**
|
|
439
|
+
* Persistent operation schema v0.1.0 — `key` and `version` are stored as data properties.
|
|
440
|
+
* @deprecated Use {@link PersistentOperation} (v0.2.0) instead; the `key` and `version` now live in the object meta.
|
|
441
|
+
*/
|
|
442
|
+
export declare class PersistentOperation_v0_1_0 extends PersistentOperation_v0_1_0_base {
|
|
443
|
+
}
|
|
379
444
|
/**
|
|
380
445
|
* Schema migrations exported by this module.
|
|
381
446
|
* Exported as an array for extensibility — append future versions here.
|