agency-lang 0.13.1 → 0.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/agents/agency-agent/agent.js +9 -0
- package/dist/lib/agents/agency-agent/images/images.js +9 -0
- package/dist/lib/agents/agency-agent/lib/args.js +9 -0
- package/dist/lib/agents/agency-agent/lib/attachments.js +9 -0
- package/dist/lib/agents/agency-agent/lib/budget.js +9 -0
- package/dist/lib/agents/agency-agent/lib/capabilities.js +9 -0
- package/dist/lib/agents/agency-agent/lib/capabilitiesUi.js +9 -0
- package/dist/lib/agents/agency-agent/lib/commandPalette.js +9 -0
- package/dist/lib/agents/agency-agent/lib/config.js +9 -0
- package/dist/lib/agents/agency-agent/lib/coordinator.js +9 -0
- package/dist/lib/agents/agency-agent/lib/header.js +9 -0
- package/dist/lib/agents/agency-agent/lib/images.js +9 -0
- package/dist/lib/agents/agency-agent/lib/mcp.js +9 -0
- package/dist/lib/agents/agency-agent/lib/modelFilters.js +9 -0
- package/dist/lib/agents/agency-agent/lib/models.js +9 -0
- package/dist/lib/agents/agency-agent/lib/policy.js +9 -0
- package/dist/lib/agents/agency-agent/lib/repl.js +9 -0
- package/dist/lib/agents/agency-agent/lib/resolution.js +9 -0
- package/dist/lib/agents/agency-agent/lib/search.js +9 -0
- package/dist/lib/agents/agency-agent/lib/session.js +9 -0
- package/dist/lib/agents/agency-agent/lib/settings.js +9 -0
- package/dist/lib/agents/agency-agent/lib/slots.js +9 -0
- package/dist/lib/agents/agency-agent/lib/trace.js +9 -0
- package/dist/lib/agents/agency-agent/lib/utils/renderLLMCallResponse.js +9 -0
- package/dist/lib/agents/agency-agent/lib/utils.js +9 -0
- package/dist/lib/agents/agency-agent/prompts/codeSample.js +9 -0
- package/dist/lib/agents/agency-agent/shared.js +9 -0
- package/dist/lib/agents/agency-agent/subagents/brainstorm.js +9 -0
- package/dist/lib/agents/agency-agent/subagents/code.js +9 -0
- package/dist/lib/agents/agency-agent/subagents/explorer.js +9 -0
- package/dist/lib/agents/agency-agent/subagents/oracle.js +9 -0
- package/dist/lib/agents/agency-agent/subagents/research.js +9 -0
- package/dist/lib/agents/agency-agent/subagents/review.js +9 -0
- package/dist/lib/agents/agency-agent/subagents/supervisor.js +9 -0
- package/dist/lib/agents/agency-agent/tests/agentDir.js +9 -0
- package/dist/lib/agents/agency-agent/tests/agentTurn.js +9 -0
- package/dist/lib/agents/agency-agent/tests/attachments.js +9 -0
- package/dist/lib/agents/agency-agent/tests/attachmentsTurn.js +9 -0
- package/dist/lib/agents/agency-agent/tests/brainstorm.js +9 -0
- package/dist/lib/agents/agency-agent/tests/capabilities.js +9 -0
- package/dist/lib/agents/agency-agent/tests/execPolicy.js +9 -0
- package/dist/lib/agents/agency-agent/tests/gitPolicy.js +9 -0
- package/dist/lib/agents/agency-agent/tests/imageTool.js +9 -0
- package/dist/lib/agents/agency-agent/tests/mcpGating.js +9 -0
- package/dist/lib/agents/agency-agent/tests/memoryWiring.js +9 -0
- package/dist/lib/agents/agency-agent/tests/modelFilters.js +9 -0
- package/dist/lib/agents/agency-agent/tests/models.js +9 -0
- package/dist/lib/agents/agency-agent/tests/oneShotRounds.js +9 -0
- package/dist/lib/agents/agency-agent/tests/resolution.js +9 -0
- package/dist/lib/agents/agency-agent/tests/search.js +9 -0
- package/dist/lib/agents/agency-agent/tests/settings.js +9 -0
- package/dist/lib/agents/agency-agent/tests/slots.js +9 -0
- package/dist/lib/agents/agency-agent/tests/supervisor.js +9 -0
- package/dist/lib/agents/agency-agent/tests/toolWiring.js +9 -0
- package/dist/lib/agents/agency-agent/tests/turnFailure.js +9 -0
- package/dist/lib/agents/eval/goalJudge.js +9 -0
- package/dist/lib/agents/eval/judge.js +9 -0
- package/dist/lib/agents/eval/judgePairwise.js +9 -0
- package/dist/lib/agents/optimize/gepaReflect.js +9 -0
- package/dist/lib/agents/optimize/mutatePrompt.js +9 -0
- package/dist/lib/agents/policy/agent.js +9 -0
- package/dist/lib/agents/review/agent.js +9 -0
- package/dist/lib/cli/commands.js +4 -2
- package/dist/lib/cli/eval/ingest.d.ts +40 -0
- package/dist/lib/cli/eval/ingest.js +136 -0
- package/dist/lib/cli/eval/label.d.ts +0 -1
- package/dist/lib/cli/eval/label.js +2 -4
- package/dist/lib/cli/eval/labelCommand.d.ts +47 -0
- package/dist/lib/cli/eval/labelCommand.js +105 -0
- package/dist/lib/cli/logsView.d.ts +42 -0
- package/dist/lib/cli/logsView.js +111 -37
- package/dist/lib/cli/remote/commands/logs.d.ts +5 -0
- package/dist/lib/cli/remote/commands/logs.js +43 -0
- package/dist/lib/cli/remote/commands/logsMode.d.ts +19 -0
- package/dist/lib/cli/remote/commands/logsMode.js +28 -0
- package/dist/lib/cli/remote/commands/pull.d.ts +8 -0
- package/dist/lib/cli/remote/commands/pull.js +18 -0
- package/dist/lib/cli/remote/commands/util.d.ts +22 -0
- package/dist/lib/cli/remote/commands/util.js +59 -3
- package/dist/lib/cli/remote/logsBridge.d.ts +11 -0
- package/dist/lib/cli/remote/logsBridge.js +17 -0
- package/dist/lib/cli/remote/pullPlan.d.ts +28 -0
- package/dist/lib/cli/remote/pullPlan.js +186 -0
- package/dist/lib/cli/remote/render.d.ts +3 -0
- package/dist/lib/cli/remote/render.js +10 -2
- package/dist/lib/cli/serve.js +7 -4
- package/dist/lib/cli/statelog/accountClient.js +30 -41
- package/dist/lib/cli/statelog/projectClient.d.ts +27 -0
- package/dist/lib/cli/statelog/projectClient.js +128 -0
- package/dist/lib/cli/statelog/serveClient.js +31 -52
- package/dist/lib/config.js +3 -1
- package/dist/lib/eval/label/controller.d.ts +0 -1
- package/dist/lib/eval/label/controller.js +6 -9
- package/dist/lib/eval/label/corpus.d.ts +17 -6
- package/dist/lib/eval/label/corpus.js +22 -4
- package/dist/lib/eval/label/ids.d.ts +17 -13
- package/dist/lib/eval/label/ids.js +24 -15
- package/dist/lib/eval/label/jsonl.d.ts +40 -0
- package/dist/lib/eval/label/jsonl.js +17 -2
- package/dist/lib/eval/label/labelTui.d.ts +21 -0
- package/dist/lib/eval/label/labelTui.js +45 -5
- package/dist/lib/eval/label/load/discoverFiles.d.ts +25 -0
- package/dist/lib/eval/label/load/discoverFiles.js +59 -0
- package/dist/lib/eval/label/load/eligibility.d.ts +17 -0
- package/dist/lib/eval/label/load/eligibility.js +46 -0
- package/dist/lib/eval/label/load/files.d.ts +18 -0
- package/dist/lib/eval/label/load/files.js +37 -0
- package/dist/lib/eval/label/load/format.d.ts +14 -0
- package/dist/lib/eval/label/load/format.js +42 -0
- package/dist/lib/eval/label/load/index.d.ts +38 -0
- package/dist/lib/eval/label/load/index.js +91 -0
- package/dist/lib/eval/label/load/json.d.ts +14 -0
- package/dist/lib/eval/label/load/json.js +49 -0
- package/dist/lib/eval/label/load/run.d.ts +41 -0
- package/dist/lib/eval/label/load/run.js +173 -0
- package/dist/lib/eval/label/load/types.d.ts +30 -0
- package/dist/lib/eval/label/load/types.js +11 -0
- package/dist/lib/eval/label/occurrences.d.ts +17 -0
- package/dist/lib/eval/label/occurrences.js +33 -0
- package/dist/lib/eval/label/project.d.ts +14 -0
- package/dist/lib/eval/label/project.js +15 -0
- package/dist/lib/eval/label/runFixture.d.ts +24 -0
- package/dist/lib/eval/label/runFixture.js +57 -0
- package/dist/lib/eval/label/session.d.ts +3 -4
- package/dist/lib/eval/label/session.js +1 -2
- package/dist/lib/eval/label/store.d.ts +20 -4
- package/dist/lib/eval/label/store.js +158 -18
- package/dist/lib/eval/label/types.d.ts +75 -38
- package/dist/lib/eval/label/types.js +83 -24
- package/dist/lib/runtime/cost.d.ts +9 -5
- package/dist/lib/runtime/cost.js +13 -8
- package/dist/lib/runtime/costTelemetry.d.ts +40 -14
- package/dist/lib/runtime/costTelemetry.js +39 -21
- package/dist/lib/runtime/index.d.ts +3 -2
- package/dist/lib/runtime/index.js +2 -2
- package/dist/lib/runtime/interrupts.d.ts +10 -3
- package/dist/lib/runtime/interrupts.js +89 -65
- package/dist/lib/runtime/invocationUsage.d.ts +75 -0
- package/dist/lib/runtime/invocationUsage.js +111 -0
- package/dist/lib/runtime/ipc.d.ts +12 -27
- package/dist/lib/runtime/ipc.js +55 -5
- package/dist/lib/runtime/node.d.ts +18 -4
- package/dist/lib/runtime/node.js +131 -102
- package/dist/lib/runtime/prompt.js +5 -5
- package/dist/lib/runtime/recordPaidUsage.d.ts +48 -0
- package/dist/lib/runtime/recordPaidUsage.js +72 -0
- package/dist/lib/runtime/servedInvocationLifecycle.d.ts +22 -0
- package/dist/lib/runtime/servedInvocationLifecycle.js +29 -0
- package/dist/lib/runtime/state/context.d.ts +9 -0
- package/dist/lib/runtime/state/context.js +12 -0
- package/dist/lib/runtime/state/stateStack.js +4 -2
- package/dist/lib/serve/createServeHandler.js +8 -7
- package/dist/lib/serve/discovery.d.ts +2 -2
- package/dist/lib/serve/discovery.js +42 -27
- package/dist/lib/serve/http/adapter.d.ts +26 -3
- package/dist/lib/serve/http/adapter.js +39 -12
- package/dist/lib/serve/mcp/adapter.d.ts +2 -2
- package/dist/lib/serve/mcp/adapter.js +8 -5
- package/dist/lib/serve/testOutcome.d.ts +12 -0
- package/dist/lib/serve/testOutcome.js +21 -0
- package/dist/lib/serve/types.d.ts +12 -7
- package/dist/lib/templates/backends/typescriptGenerator/imports.d.ts +1 -1
- package/dist/lib/templates/backends/typescriptGenerator/imports.js +11 -0
- package/dist/lib/templates/cli/standaloneHttp.d.ts +1 -1
- package/dist/lib/templates/cli/standaloneHttp.js +1 -1
- package/dist/lib/templates/cli/standaloneMcp.d.ts +1 -1
- package/dist/lib/templates/cli/standaloneMcp.js +3 -2
- package/dist/lib/templates/cli/standaloneMcpHttp.d.ts +1 -1
- package/dist/lib/templates/cli/standaloneMcpHttp.js +3 -2
- package/dist/lib/tui/output/terminal.d.ts +2 -0
- package/dist/lib/tui/output/terminal.js +6 -2
- package/dist/scripts/agency.js +43 -17
- package/package.json +1 -1
- package/stdlib/agency/eval.js +9 -0
- package/stdlib/agency/local.js +9 -0
- package/stdlib/agency.js +9 -0
- package/stdlib/agent.js +9 -0
- package/stdlib/agents/agency/coding.js +9 -0
- package/stdlib/agents/agency/expert.js +9 -0
- package/stdlib/agents/agency/researcher.js +9 -0
- package/stdlib/agents/agency/review.js +9 -0
- package/stdlib/agents/agency/verifier.js +9 -0
- package/stdlib/agents/coding.js +9 -0
- package/stdlib/agents/composable/promptRewriter.js +9 -0
- package/stdlib/agents/composable/researcher.js +9 -0
- package/stdlib/agents/composable/utils.js +9 -0
- package/stdlib/agents/data.js +9 -0
- package/stdlib/agents/expert.js +9 -0
- package/stdlib/agents/explorer.js +9 -0
- package/stdlib/agents/lib/expertGuidance.js +9 -0
- package/stdlib/agents/lib/feedback.js +9 -0
- package/stdlib/agents/lib/search.js +9 -0
- package/stdlib/agents/lib/shared.js +9 -0
- package/stdlib/agents/lib/toolkits.js +9 -0
- package/stdlib/agents/oracle.js +9 -0
- package/stdlib/agents/planner.js +9 -0
- package/stdlib/agents/researcher.js +9 -0
- package/stdlib/agents/review.js +9 -0
- package/stdlib/agents/verifier.js +9 -0
- package/stdlib/args.js +9 -0
- package/stdlib/array.js +9 -0
- package/stdlib/auth/keyring.js +9 -0
- package/stdlib/auth/oauth.js +9 -0
- package/stdlib/calendar.js +9 -0
- package/stdlib/capabilities.js +9 -0
- package/stdlib/clipboard.js +9 -0
- package/stdlib/concurrency.js +9 -0
- package/stdlib/data/finance/dbnomics.js +9 -0
- package/stdlib/data/finance/edgar.js +9 -0
- package/stdlib/data/finance/fred.js +9 -0
- package/stdlib/data/finance/gdelt.js +9 -0
- package/stdlib/data/people/littlesis.js +9 -0
- package/stdlib/data/tech/hackernews.js +9 -0
- package/stdlib/data/tech/yc.js +9 -0
- package/stdlib/data/usaspending.js +9 -0
- package/stdlib/data/wikidata.js +9 -0
- package/stdlib/date.js +9 -0
- package/stdlib/docs/cli/eval.md +147 -1
- package/stdlib/fs.js +9 -0
- package/stdlib/git.js +9 -0
- package/stdlib/http.js +9 -0
- package/stdlib/image.js +9 -0
- package/stdlib/index.js +9 -0
- package/stdlib/llm.js +9 -0
- package/stdlib/markdown.js +9 -0
- package/stdlib/math.js +9 -0
- package/stdlib/mcp.js +9 -0
- package/stdlib/memory.js +9 -0
- package/stdlib/messaging/email.js +9 -0
- package/stdlib/messaging/imessage.js +9 -0
- package/stdlib/messaging/sms.js +9 -0
- package/stdlib/notes/apple.js +9 -0
- package/stdlib/object.js +9 -0
- package/stdlib/path.js +9 -0
- package/stdlib/policy.js +9 -0
- package/stdlib/safeBash/actions.js +9 -0
- package/stdlib/safeBash.js +9 -0
- package/stdlib/shell.js +9 -0
- package/stdlib/skills.js +9 -0
- package/stdlib/speech.js +9 -0
- package/stdlib/statelog.js +9 -0
- package/stdlib/strategy.js +9 -0
- package/stdlib/supervise.js +9 -0
- package/stdlib/syntax.js +9 -0
- package/stdlib/system.js +9 -0
- package/stdlib/tag.js +9 -0
- package/stdlib/thread.js +9 -0
- package/stdlib/ui/chart.js +9 -0
- package/stdlib/ui/cli.js +9 -0
- package/stdlib/ui/layout.js +9 -0
- package/stdlib/ui/table.js +9 -0
- package/stdlib/ui.js +9 -0
- package/stdlib/validation.js +9 -0
- package/stdlib/weather.js +9 -0
- package/stdlib/web/browser.js +9 -0
- package/stdlib/web/search.js +9 -0
- package/stdlib/wikipedia.js +9 -0
- package/dist/lib/eval/label/capture.d.ts +0 -45
- package/dist/lib/eval/label/capture.js +0 -219
|
@@ -68,8 +68,11 @@ import {
|
|
|
68
68
|
reportBudgetExceededAndExit,
|
|
69
69
|
isDebugger,
|
|
70
70
|
respondToInterrupts as _respondToInterrupts,
|
|
71
|
+
respondToInterruptsForServe as _respondToInterruptsForServe,
|
|
71
72
|
rewindFrom as _rewindFrom,
|
|
72
73
|
runExportedFunction as _runExportedFunction,
|
|
74
|
+
runExportedFunctionForServe as _runExportedFunctionForServe,
|
|
75
|
+
runNodeForServe as _runNodeForServe,
|
|
73
76
|
RestoreSignal,
|
|
74
77
|
AgencyAbort,
|
|
75
78
|
AbortedResult,
|
|
@@ -154,6 +157,9 @@ function pass() {
|
|
|
154
157
|
const respondToInterrupts = (interrupts, responses, opts) => _respondToInterrupts({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
155
158
|
const rewindFrom = (checkpoint2, overrides, opts) => _rewindFrom({ ctx: __globalCtx, checkpoint: checkpoint2, overrides, metadata: opts?.metadata });
|
|
156
159
|
const __invokeFunction = (fn, namedArgs) => _runExportedFunction({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
160
|
+
const __invokeFunctionForServe = (fn, namedArgs) => _runExportedFunctionForServe({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
161
|
+
const __invokeNodeForServe = (nodeName, data) => _runNodeForServe({ ctx: __globalCtx, nodeName, data, initializeGlobals: __initializeGlobals });
|
|
162
|
+
const __respondToInterruptsForServe = (interrupts, responses, opts) => _respondToInterruptsForServe({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
157
163
|
const __setDebugger = (dbg) => {
|
|
158
164
|
__globalCtx.debuggerState = dbg;
|
|
159
165
|
};
|
|
@@ -1611,7 +1617,10 @@ const __sourceMap = { "dist/lib/agents/agency-agent/agent.agency:setupSession":
|
|
|
1611
1617
|
export {
|
|
1612
1618
|
__getCheckpoints,
|
|
1613
1619
|
__invokeFunction,
|
|
1620
|
+
__invokeFunctionForServe,
|
|
1621
|
+
__invokeNodeForServe,
|
|
1614
1622
|
__mainNodeParams,
|
|
1623
|
+
__respondToInterruptsForServe,
|
|
1615
1624
|
__setDebugger,
|
|
1616
1625
|
__setLLMClient,
|
|
1617
1626
|
__setTraceFile,
|
|
@@ -15,8 +15,11 @@ import {
|
|
|
15
15
|
hasInterrupts,
|
|
16
16
|
isDebugger,
|
|
17
17
|
respondToInterrupts as _respondToInterrupts,
|
|
18
|
+
respondToInterruptsForServe as _respondToInterruptsForServe,
|
|
18
19
|
rewindFrom as _rewindFrom,
|
|
19
20
|
runExportedFunction as _runExportedFunction,
|
|
21
|
+
runExportedFunctionForServe as _runExportedFunctionForServe,
|
|
22
|
+
runNodeForServe as _runNodeForServe,
|
|
20
23
|
deepFreeze as __deepFreeze,
|
|
21
24
|
__UNINIT_STATIC,
|
|
22
25
|
__readStatic,
|
|
@@ -85,6 +88,9 @@ function pass() {
|
|
|
85
88
|
const respondToInterrupts = (interrupts, responses, opts) => _respondToInterrupts({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
86
89
|
const rewindFrom = (checkpoint2, overrides, opts) => _rewindFrom({ ctx: __globalCtx, checkpoint: checkpoint2, overrides, metadata: opts?.metadata });
|
|
87
90
|
const __invokeFunction = (fn, namedArgs) => _runExportedFunction({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
91
|
+
const __invokeFunctionForServe = (fn, namedArgs) => _runExportedFunctionForServe({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
92
|
+
const __invokeNodeForServe = (nodeName, data) => _runNodeForServe({ ctx: __globalCtx, nodeName, data, initializeGlobals: __initializeGlobals });
|
|
93
|
+
const __respondToInterruptsForServe = (interrupts, responses, opts) => _respondToInterruptsForServe({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
88
94
|
const __setDebugger = (dbg) => {
|
|
89
95
|
__globalCtx.debuggerState = dbg;
|
|
90
96
|
};
|
|
@@ -233,6 +239,9 @@ const __sourceMap = {};
|
|
|
233
239
|
export {
|
|
234
240
|
__getCheckpoints,
|
|
235
241
|
__invokeFunction,
|
|
242
|
+
__invokeFunctionForServe,
|
|
243
|
+
__invokeNodeForServe,
|
|
244
|
+
__respondToInterruptsForServe,
|
|
236
245
|
__setDebugger,
|
|
237
246
|
__setLLMClient,
|
|
238
247
|
__setTraceFile,
|
|
@@ -22,8 +22,11 @@ import {
|
|
|
22
22
|
hasInterrupts,
|
|
23
23
|
isDebugger,
|
|
24
24
|
respondToInterrupts as _respondToInterrupts,
|
|
25
|
+
respondToInterruptsForServe as _respondToInterruptsForServe,
|
|
25
26
|
rewindFrom as _rewindFrom,
|
|
26
27
|
runExportedFunction as _runExportedFunction,
|
|
28
|
+
runExportedFunctionForServe as _runExportedFunctionForServe,
|
|
29
|
+
runNodeForServe as _runNodeForServe,
|
|
27
30
|
RestoreSignal,
|
|
28
31
|
AgencyAbort,
|
|
29
32
|
AbortedResult,
|
|
@@ -101,6 +104,9 @@ function pass() {
|
|
|
101
104
|
const respondToInterrupts = (interrupts, responses, opts) => _respondToInterrupts({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
102
105
|
const rewindFrom = (checkpoint2, overrides, opts) => _rewindFrom({ ctx: __globalCtx, checkpoint: checkpoint2, overrides, metadata: opts?.metadata });
|
|
103
106
|
const __invokeFunction = (fn, namedArgs) => _runExportedFunction({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
107
|
+
const __invokeFunctionForServe = (fn, namedArgs) => _runExportedFunctionForServe({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
108
|
+
const __invokeNodeForServe = (nodeName, data) => _runNodeForServe({ ctx: __globalCtx, nodeName, data, initializeGlobals: __initializeGlobals });
|
|
109
|
+
const __respondToInterruptsForServe = (interrupts, responses, opts) => _respondToInterruptsForServe({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
104
110
|
const __setDebugger = (dbg) => {
|
|
105
111
|
__globalCtx.debuggerState = dbg;
|
|
106
112
|
};
|
|
@@ -389,6 +395,9 @@ const __sourceMap = { "dist/lib/agents/agency-agent/lib/args.agency:parseAgentAr
|
|
|
389
395
|
export {
|
|
390
396
|
__getCheckpoints,
|
|
391
397
|
__invokeFunction,
|
|
398
|
+
__invokeFunctionForServe,
|
|
399
|
+
__invokeNodeForServe,
|
|
400
|
+
__respondToInterruptsForServe,
|
|
392
401
|
__setDebugger,
|
|
393
402
|
__setLLMClient,
|
|
394
403
|
__setTraceFile,
|
|
@@ -27,8 +27,11 @@ import {
|
|
|
27
27
|
hasInterrupts,
|
|
28
28
|
isDebugger,
|
|
29
29
|
respondToInterrupts as _respondToInterrupts,
|
|
30
|
+
respondToInterruptsForServe as _respondToInterruptsForServe,
|
|
30
31
|
rewindFrom as _rewindFrom,
|
|
31
32
|
runExportedFunction as _runExportedFunction,
|
|
33
|
+
runExportedFunctionForServe as _runExportedFunctionForServe,
|
|
34
|
+
runNodeForServe as _runNodeForServe,
|
|
32
35
|
RestoreSignal,
|
|
33
36
|
AgencyAbort,
|
|
34
37
|
AbortedResult,
|
|
@@ -115,6 +118,9 @@ function pass() {
|
|
|
115
118
|
const respondToInterrupts = (interrupts, responses, opts) => _respondToInterrupts({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
116
119
|
const rewindFrom = (checkpoint2, overrides, opts) => _rewindFrom({ ctx: __globalCtx, checkpoint: checkpoint2, overrides, metadata: opts?.metadata });
|
|
117
120
|
const __invokeFunction = (fn, namedArgs) => _runExportedFunction({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
121
|
+
const __invokeFunctionForServe = (fn, namedArgs) => _runExportedFunctionForServe({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
122
|
+
const __invokeNodeForServe = (nodeName, data) => _runNodeForServe({ ctx: __globalCtx, nodeName, data, initializeGlobals: __initializeGlobals });
|
|
123
|
+
const __respondToInterruptsForServe = (interrupts, responses, opts) => _respondToInterruptsForServe({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
118
124
|
const __setDebugger = (dbg) => {
|
|
119
125
|
__globalCtx.debuggerState = dbg;
|
|
120
126
|
};
|
|
@@ -852,6 +858,9 @@ export {
|
|
|
852
858
|
SkippedFile,
|
|
853
859
|
__getCheckpoints,
|
|
854
860
|
__invokeFunction,
|
|
861
|
+
__invokeFunctionForServe,
|
|
862
|
+
__invokeNodeForServe,
|
|
863
|
+
__respondToInterruptsForServe,
|
|
855
864
|
__setDebugger,
|
|
856
865
|
__setLLMClient,
|
|
857
866
|
__setTraceFile,
|
|
@@ -23,8 +23,11 @@ import {
|
|
|
23
23
|
hasInterrupts,
|
|
24
24
|
isDebugger,
|
|
25
25
|
respondToInterrupts as _respondToInterrupts,
|
|
26
|
+
respondToInterruptsForServe as _respondToInterruptsForServe,
|
|
26
27
|
rewindFrom as _rewindFrom,
|
|
27
28
|
runExportedFunction as _runExportedFunction,
|
|
29
|
+
runExportedFunctionForServe as _runExportedFunctionForServe,
|
|
30
|
+
runNodeForServe as _runNodeForServe,
|
|
28
31
|
RestoreSignal,
|
|
29
32
|
AgencyAbort,
|
|
30
33
|
AbortedResult,
|
|
@@ -109,6 +112,9 @@ function pass() {
|
|
|
109
112
|
const respondToInterrupts = (interrupts, responses, opts) => _respondToInterrupts({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
110
113
|
const rewindFrom = (checkpoint2, overrides, opts) => _rewindFrom({ ctx: __globalCtx, checkpoint: checkpoint2, overrides, metadata: opts?.metadata });
|
|
111
114
|
const __invokeFunction = (fn, namedArgs) => _runExportedFunction({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
115
|
+
const __invokeFunctionForServe = (fn, namedArgs) => _runExportedFunctionForServe({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
116
|
+
const __invokeNodeForServe = (nodeName, data) => _runNodeForServe({ ctx: __globalCtx, nodeName, data, initializeGlobals: __initializeGlobals });
|
|
117
|
+
const __respondToInterruptsForServe = (interrupts, responses, opts) => _respondToInterruptsForServe({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
112
118
|
const __setDebugger = (dbg) => {
|
|
113
119
|
__globalCtx.debuggerState = dbg;
|
|
114
120
|
};
|
|
@@ -1479,6 +1485,9 @@ export {
|
|
|
1479
1485
|
TURN_BUDGET_LABEL,
|
|
1480
1486
|
__getCheckpoints,
|
|
1481
1487
|
__invokeFunction,
|
|
1488
|
+
__invokeFunctionForServe,
|
|
1489
|
+
__invokeNodeForServe,
|
|
1490
|
+
__respondToInterruptsForServe,
|
|
1482
1491
|
__setDebugger,
|
|
1483
1492
|
__setLLMClient,
|
|
1484
1493
|
__setTraceFile,
|
|
@@ -20,8 +20,11 @@ import {
|
|
|
20
20
|
hasInterrupts,
|
|
21
21
|
isDebugger,
|
|
22
22
|
respondToInterrupts as _respondToInterrupts,
|
|
23
|
+
respondToInterruptsForServe as _respondToInterruptsForServe,
|
|
23
24
|
rewindFrom as _rewindFrom,
|
|
24
25
|
runExportedFunction as _runExportedFunction,
|
|
26
|
+
runExportedFunctionForServe as _runExportedFunctionForServe,
|
|
27
|
+
runNodeForServe as _runNodeForServe,
|
|
25
28
|
RestoreSignal,
|
|
26
29
|
AgencyAbort,
|
|
27
30
|
AbortedResult,
|
|
@@ -106,6 +109,9 @@ function pass() {
|
|
|
106
109
|
const respondToInterrupts = (interrupts, responses, opts) => _respondToInterrupts({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
107
110
|
const rewindFrom = (checkpoint2, overrides, opts) => _rewindFrom({ ctx: __globalCtx, checkpoint: checkpoint2, overrides, metadata: opts?.metadata });
|
|
108
111
|
const __invokeFunction = (fn, namedArgs) => _runExportedFunction({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
112
|
+
const __invokeFunctionForServe = (fn, namedArgs) => _runExportedFunctionForServe({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
113
|
+
const __invokeNodeForServe = (nodeName, data) => _runNodeForServe({ ctx: __globalCtx, nodeName, data, initializeGlobals: __initializeGlobals });
|
|
114
|
+
const __respondToInterruptsForServe = (interrupts, responses, opts) => _respondToInterruptsForServe({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
109
115
|
const __setDebugger = (dbg) => {
|
|
110
116
|
__globalCtx.debuggerState = dbg;
|
|
111
117
|
};
|
|
@@ -2680,6 +2686,9 @@ export {
|
|
|
2680
2686
|
ResolvedCapabilities,
|
|
2681
2687
|
__getCheckpoints,
|
|
2682
2688
|
__invokeFunction,
|
|
2689
|
+
__invokeFunctionForServe,
|
|
2690
|
+
__invokeNodeForServe,
|
|
2691
|
+
__respondToInterruptsForServe,
|
|
2683
2692
|
__setDebugger,
|
|
2684
2693
|
__setLLMClient,
|
|
2685
2694
|
__setTraceFile,
|
|
@@ -27,8 +27,11 @@ import {
|
|
|
27
27
|
hasInterrupts,
|
|
28
28
|
isDebugger,
|
|
29
29
|
respondToInterrupts as _respondToInterrupts,
|
|
30
|
+
respondToInterruptsForServe as _respondToInterruptsForServe,
|
|
30
31
|
rewindFrom as _rewindFrom,
|
|
31
32
|
runExportedFunction as _runExportedFunction,
|
|
33
|
+
runExportedFunctionForServe as _runExportedFunctionForServe,
|
|
34
|
+
runNodeForServe as _runNodeForServe,
|
|
32
35
|
RestoreSignal,
|
|
33
36
|
AgencyAbort,
|
|
34
37
|
AbortedResult,
|
|
@@ -109,6 +112,9 @@ function pass() {
|
|
|
109
112
|
const respondToInterrupts = (interrupts, responses, opts) => _respondToInterrupts({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
110
113
|
const rewindFrom = (checkpoint2, overrides, opts) => _rewindFrom({ ctx: __globalCtx, checkpoint: checkpoint2, overrides, metadata: opts?.metadata });
|
|
111
114
|
const __invokeFunction = (fn, namedArgs) => _runExportedFunction({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
115
|
+
const __invokeFunctionForServe = (fn, namedArgs) => _runExportedFunctionForServe({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
116
|
+
const __invokeNodeForServe = (nodeName, data) => _runNodeForServe({ ctx: __globalCtx, nodeName, data, initializeGlobals: __initializeGlobals });
|
|
117
|
+
const __respondToInterruptsForServe = (interrupts, responses, opts) => _respondToInterruptsForServe({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
112
118
|
const __setDebugger = (dbg) => {
|
|
113
119
|
__globalCtx.debuggerState = dbg;
|
|
114
120
|
};
|
|
@@ -2595,6 +2601,9 @@ const __sourceMap = { "dist/lib/agents/agency-agent/lib/capabilitiesUi.agency:ca
|
|
|
2595
2601
|
export {
|
|
2596
2602
|
__getCheckpoints,
|
|
2597
2603
|
__invokeFunction,
|
|
2604
|
+
__invokeFunctionForServe,
|
|
2605
|
+
__invokeNodeForServe,
|
|
2606
|
+
__respondToInterruptsForServe,
|
|
2598
2607
|
__setDebugger,
|
|
2599
2608
|
__setLLMClient,
|
|
2600
2609
|
__setTraceFile,
|
|
@@ -22,8 +22,11 @@ import {
|
|
|
22
22
|
hasInterrupts,
|
|
23
23
|
isDebugger,
|
|
24
24
|
respondToInterrupts as _respondToInterrupts,
|
|
25
|
+
respondToInterruptsForServe as _respondToInterruptsForServe,
|
|
25
26
|
rewindFrom as _rewindFrom,
|
|
26
27
|
runExportedFunction as _runExportedFunction,
|
|
28
|
+
runExportedFunctionForServe as _runExportedFunctionForServe,
|
|
29
|
+
runNodeForServe as _runNodeForServe,
|
|
27
30
|
RestoreSignal,
|
|
28
31
|
AgencyAbort,
|
|
29
32
|
AbortedResult,
|
|
@@ -107,6 +110,9 @@ function pass() {
|
|
|
107
110
|
const respondToInterrupts = (interrupts, responses, opts) => _respondToInterrupts({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
108
111
|
const rewindFrom = (checkpoint2, overrides, opts) => _rewindFrom({ ctx: __globalCtx, checkpoint: checkpoint2, overrides, metadata: opts?.metadata });
|
|
109
112
|
const __invokeFunction = (fn, namedArgs) => _runExportedFunction({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
113
|
+
const __invokeFunctionForServe = (fn, namedArgs) => _runExportedFunctionForServe({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
114
|
+
const __invokeNodeForServe = (nodeName, data) => _runNodeForServe({ ctx: __globalCtx, nodeName, data, initializeGlobals: __initializeGlobals });
|
|
115
|
+
const __respondToInterruptsForServe = (interrupts, responses, opts) => _respondToInterruptsForServe({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
110
116
|
const __setDebugger = (dbg) => {
|
|
111
117
|
__globalCtx.debuggerState = dbg;
|
|
112
118
|
};
|
|
@@ -483,6 +489,9 @@ const __sourceMap = { "dist/lib/agents/agency-agent/lib/commandPalette.agency:bu
|
|
|
483
489
|
export {
|
|
484
490
|
__getCheckpoints,
|
|
485
491
|
__invokeFunction,
|
|
492
|
+
__invokeFunctionForServe,
|
|
493
|
+
__invokeNodeForServe,
|
|
494
|
+
__respondToInterruptsForServe,
|
|
486
495
|
__setDebugger,
|
|
487
496
|
__setLLMClient,
|
|
488
497
|
__setTraceFile,
|
|
@@ -23,8 +23,11 @@ import {
|
|
|
23
23
|
hasInterrupts,
|
|
24
24
|
isDebugger,
|
|
25
25
|
respondToInterrupts as _respondToInterrupts,
|
|
26
|
+
respondToInterruptsForServe as _respondToInterruptsForServe,
|
|
26
27
|
rewindFrom as _rewindFrom,
|
|
27
28
|
runExportedFunction as _runExportedFunction,
|
|
29
|
+
runExportedFunctionForServe as _runExportedFunctionForServe,
|
|
30
|
+
runNodeForServe as _runNodeForServe,
|
|
28
31
|
RestoreSignal,
|
|
29
32
|
AgencyAbort,
|
|
30
33
|
AbortedResult,
|
|
@@ -107,6 +110,9 @@ function pass() {
|
|
|
107
110
|
const respondToInterrupts = (interrupts, responses, opts) => _respondToInterrupts({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
108
111
|
const rewindFrom = (checkpoint2, overrides, opts) => _rewindFrom({ ctx: __globalCtx, checkpoint: checkpoint2, overrides, metadata: opts?.metadata });
|
|
109
112
|
const __invokeFunction = (fn, namedArgs) => _runExportedFunction({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
113
|
+
const __invokeFunctionForServe = (fn, namedArgs) => _runExportedFunctionForServe({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
114
|
+
const __invokeNodeForServe = (nodeName, data) => _runNodeForServe({ ctx: __globalCtx, nodeName, data, initializeGlobals: __initializeGlobals });
|
|
115
|
+
const __respondToInterruptsForServe = (interrupts, responses, opts) => _respondToInterruptsForServe({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
110
116
|
const __setDebugger = (dbg) => {
|
|
111
117
|
__globalCtx.debuggerState = dbg;
|
|
112
118
|
};
|
|
@@ -462,6 +468,9 @@ export {
|
|
|
462
468
|
SETTINGS_PATH,
|
|
463
469
|
__getCheckpoints,
|
|
464
470
|
__invokeFunction,
|
|
471
|
+
__invokeFunctionForServe,
|
|
472
|
+
__invokeNodeForServe,
|
|
473
|
+
__respondToInterruptsForServe,
|
|
465
474
|
__setDebugger,
|
|
466
475
|
__setLLMClient,
|
|
467
476
|
__setTraceFile,
|
|
@@ -64,8 +64,11 @@ import {
|
|
|
64
64
|
hasInterrupts,
|
|
65
65
|
isDebugger,
|
|
66
66
|
respondToInterrupts as _respondToInterrupts,
|
|
67
|
+
respondToInterruptsForServe as _respondToInterruptsForServe,
|
|
67
68
|
rewindFrom as _rewindFrom,
|
|
68
69
|
runExportedFunction as _runExportedFunction,
|
|
70
|
+
runExportedFunctionForServe as _runExportedFunctionForServe,
|
|
71
|
+
runNodeForServe as _runNodeForServe,
|
|
69
72
|
RestoreSignal,
|
|
70
73
|
AgencyAbort,
|
|
71
74
|
AbortedResult,
|
|
@@ -153,6 +156,9 @@ function pass() {
|
|
|
153
156
|
const respondToInterrupts = (interrupts, responses, opts) => _respondToInterrupts({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
154
157
|
const rewindFrom = (checkpoint2, overrides, opts) => _rewindFrom({ ctx: __globalCtx, checkpoint: checkpoint2, overrides, metadata: opts?.metadata });
|
|
155
158
|
const __invokeFunction = (fn, namedArgs) => _runExportedFunction({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
159
|
+
const __invokeFunctionForServe = (fn, namedArgs) => _runExportedFunctionForServe({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
160
|
+
const __invokeNodeForServe = (nodeName, data) => _runNodeForServe({ ctx: __globalCtx, nodeName, data, initializeGlobals: __initializeGlobals });
|
|
161
|
+
const __respondToInterruptsForServe = (interrupts, responses, opts) => _respondToInterruptsForServe({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
156
162
|
const __setDebugger = (dbg) => {
|
|
157
163
|
__globalCtx.debuggerState = dbg;
|
|
158
164
|
};
|
|
@@ -2352,6 +2358,9 @@ export {
|
|
|
2352
2358
|
START_AGENTS,
|
|
2353
2359
|
__getCheckpoints,
|
|
2354
2360
|
__invokeFunction,
|
|
2361
|
+
__invokeFunctionForServe,
|
|
2362
|
+
__invokeNodeForServe,
|
|
2363
|
+
__respondToInterruptsForServe,
|
|
2355
2364
|
__setDebugger,
|
|
2356
2365
|
__setLLMClient,
|
|
2357
2366
|
__setTraceFile,
|
|
@@ -25,8 +25,11 @@ import {
|
|
|
25
25
|
hasInterrupts,
|
|
26
26
|
isDebugger,
|
|
27
27
|
respondToInterrupts as _respondToInterrupts,
|
|
28
|
+
respondToInterruptsForServe as _respondToInterruptsForServe,
|
|
28
29
|
rewindFrom as _rewindFrom,
|
|
29
30
|
runExportedFunction as _runExportedFunction,
|
|
31
|
+
runExportedFunctionForServe as _runExportedFunctionForServe,
|
|
32
|
+
runNodeForServe as _runNodeForServe,
|
|
30
33
|
RestoreSignal,
|
|
31
34
|
AgencyAbort,
|
|
32
35
|
AbortedResult,
|
|
@@ -108,6 +111,9 @@ function pass() {
|
|
|
108
111
|
const respondToInterrupts = (interrupts, responses, opts) => _respondToInterrupts({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
109
112
|
const rewindFrom = (checkpoint2, overrides, opts) => _rewindFrom({ ctx: __globalCtx, checkpoint: checkpoint2, overrides, metadata: opts?.metadata });
|
|
110
113
|
const __invokeFunction = (fn, namedArgs) => _runExportedFunction({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
114
|
+
const __invokeFunctionForServe = (fn, namedArgs) => _runExportedFunctionForServe({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
115
|
+
const __invokeNodeForServe = (nodeName, data) => _runNodeForServe({ ctx: __globalCtx, nodeName, data, initializeGlobals: __initializeGlobals });
|
|
116
|
+
const __respondToInterruptsForServe = (interrupts, responses, opts) => _respondToInterruptsForServe({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
111
117
|
const __setDebugger = (dbg) => {
|
|
112
118
|
__globalCtx.debuggerState = dbg;
|
|
113
119
|
};
|
|
@@ -1048,6 +1054,9 @@ const __sourceMap = { "dist/lib/agents/agency-agent/lib/header.agency:sample": {
|
|
|
1048
1054
|
export {
|
|
1049
1055
|
__getCheckpoints,
|
|
1050
1056
|
__invokeFunction,
|
|
1057
|
+
__invokeFunctionForServe,
|
|
1058
|
+
__invokeNodeForServe,
|
|
1059
|
+
__respondToInterruptsForServe,
|
|
1051
1060
|
__setDebugger,
|
|
1052
1061
|
__setLLMClient,
|
|
1053
1062
|
__setTraceFile,
|
|
@@ -25,8 +25,11 @@ import {
|
|
|
25
25
|
hasInterrupts,
|
|
26
26
|
isDebugger,
|
|
27
27
|
respondToInterrupts as _respondToInterrupts,
|
|
28
|
+
respondToInterruptsForServe as _respondToInterruptsForServe,
|
|
28
29
|
rewindFrom as _rewindFrom,
|
|
29
30
|
runExportedFunction as _runExportedFunction,
|
|
31
|
+
runExportedFunctionForServe as _runExportedFunctionForServe,
|
|
32
|
+
runNodeForServe as _runNodeForServe,
|
|
30
33
|
RestoreSignal,
|
|
31
34
|
AgencyAbort,
|
|
32
35
|
AbortedResult,
|
|
@@ -106,6 +109,9 @@ function pass() {
|
|
|
106
109
|
const respondToInterrupts = (interrupts, responses, opts) => _respondToInterrupts({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
107
110
|
const rewindFrom = (checkpoint2, overrides, opts) => _rewindFrom({ ctx: __globalCtx, checkpoint: checkpoint2, overrides, metadata: opts?.metadata });
|
|
108
111
|
const __invokeFunction = (fn, namedArgs) => _runExportedFunction({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
112
|
+
const __invokeFunctionForServe = (fn, namedArgs) => _runExportedFunctionForServe({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
113
|
+
const __invokeNodeForServe = (nodeName, data) => _runNodeForServe({ ctx: __globalCtx, nodeName, data, initializeGlobals: __initializeGlobals });
|
|
114
|
+
const __respondToInterruptsForServe = (interrupts, responses, opts) => _respondToInterruptsForServe({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
109
115
|
const __setDebugger = (dbg) => {
|
|
110
116
|
__globalCtx.debuggerState = dbg;
|
|
111
117
|
};
|
|
@@ -711,6 +717,9 @@ const __sourceMap = { "dist/lib/agents/agency-agent/lib/images.agency:resolveEdi
|
|
|
711
717
|
export {
|
|
712
718
|
__getCheckpoints,
|
|
713
719
|
__invokeFunction,
|
|
720
|
+
__invokeFunctionForServe,
|
|
721
|
+
__invokeNodeForServe,
|
|
722
|
+
__respondToInterruptsForServe,
|
|
714
723
|
__setDebugger,
|
|
715
724
|
__setLLMClient,
|
|
716
725
|
__setTraceFile,
|
|
@@ -25,8 +25,11 @@ import {
|
|
|
25
25
|
hasInterrupts,
|
|
26
26
|
isDebugger,
|
|
27
27
|
respondToInterrupts as _respondToInterrupts,
|
|
28
|
+
respondToInterruptsForServe as _respondToInterruptsForServe,
|
|
28
29
|
rewindFrom as _rewindFrom,
|
|
29
30
|
runExportedFunction as _runExportedFunction,
|
|
31
|
+
runExportedFunctionForServe as _runExportedFunctionForServe,
|
|
32
|
+
runNodeForServe as _runNodeForServe,
|
|
30
33
|
RestoreSignal,
|
|
31
34
|
AgencyAbort,
|
|
32
35
|
AbortedResult,
|
|
@@ -107,6 +110,9 @@ function pass() {
|
|
|
107
110
|
const respondToInterrupts = (interrupts, responses, opts) => _respondToInterrupts({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
108
111
|
const rewindFrom = (checkpoint2, overrides, opts) => _rewindFrom({ ctx: __globalCtx, checkpoint: checkpoint2, overrides, metadata: opts?.metadata });
|
|
109
112
|
const __invokeFunction = (fn, namedArgs) => _runExportedFunction({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
113
|
+
const __invokeFunctionForServe = (fn, namedArgs) => _runExportedFunctionForServe({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
114
|
+
const __invokeNodeForServe = (nodeName, data) => _runNodeForServe({ ctx: __globalCtx, nodeName, data, initializeGlobals: __initializeGlobals });
|
|
115
|
+
const __respondToInterruptsForServe = (interrupts, responses, opts) => _respondToInterruptsForServe({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
110
116
|
const __setDebugger = (dbg) => {
|
|
111
117
|
__globalCtx.debuggerState = dbg;
|
|
112
118
|
};
|
|
@@ -1301,6 +1307,9 @@ const __sourceMap = { "dist/lib/agents/agency-agent/lib/mcp.agency:getMcpTools":
|
|
|
1301
1307
|
export {
|
|
1302
1308
|
__getCheckpoints,
|
|
1303
1309
|
__invokeFunction,
|
|
1310
|
+
__invokeFunctionForServe,
|
|
1311
|
+
__invokeNodeForServe,
|
|
1312
|
+
__respondToInterruptsForServe,
|
|
1304
1313
|
__setDebugger,
|
|
1305
1314
|
__setLLMClient,
|
|
1306
1315
|
__setTraceFile,
|
|
@@ -21,8 +21,11 @@ import {
|
|
|
21
21
|
hasInterrupts,
|
|
22
22
|
isDebugger,
|
|
23
23
|
respondToInterrupts as _respondToInterrupts,
|
|
24
|
+
respondToInterruptsForServe as _respondToInterruptsForServe,
|
|
24
25
|
rewindFrom as _rewindFrom,
|
|
25
26
|
runExportedFunction as _runExportedFunction,
|
|
27
|
+
runExportedFunctionForServe as _runExportedFunctionForServe,
|
|
28
|
+
runNodeForServe as _runNodeForServe,
|
|
26
29
|
RestoreSignal,
|
|
27
30
|
AgencyAbort,
|
|
28
31
|
AbortedResult,
|
|
@@ -100,6 +103,9 @@ function pass() {
|
|
|
100
103
|
const respondToInterrupts = (interrupts, responses, opts) => _respondToInterrupts({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
101
104
|
const rewindFrom = (checkpoint2, overrides, opts) => _rewindFrom({ ctx: __globalCtx, checkpoint: checkpoint2, overrides, metadata: opts?.metadata });
|
|
102
105
|
const __invokeFunction = (fn, namedArgs) => _runExportedFunction({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
106
|
+
const __invokeFunctionForServe = (fn, namedArgs) => _runExportedFunctionForServe({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
107
|
+
const __invokeNodeForServe = (nodeName, data) => _runNodeForServe({ ctx: __globalCtx, nodeName, data, initializeGlobals: __initializeGlobals });
|
|
108
|
+
const __respondToInterruptsForServe = (interrupts, responses, opts) => _respondToInterruptsForServe({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
103
109
|
const __setDebugger = (dbg) => {
|
|
104
110
|
__globalCtx.debuggerState = dbg;
|
|
105
111
|
};
|
|
@@ -350,6 +356,9 @@ export {
|
|
|
350
356
|
ModelFilters,
|
|
351
357
|
__getCheckpoints,
|
|
352
358
|
__invokeFunction,
|
|
359
|
+
__invokeFunctionForServe,
|
|
360
|
+
__invokeNodeForServe,
|
|
361
|
+
__respondToInterruptsForServe,
|
|
353
362
|
__setDebugger,
|
|
354
363
|
__setLLMClient,
|
|
355
364
|
__setTraceFile,
|
|
@@ -24,8 +24,11 @@ import {
|
|
|
24
24
|
hasInterrupts,
|
|
25
25
|
isDebugger,
|
|
26
26
|
respondToInterrupts as _respondToInterrupts,
|
|
27
|
+
respondToInterruptsForServe as _respondToInterruptsForServe,
|
|
27
28
|
rewindFrom as _rewindFrom,
|
|
28
29
|
runExportedFunction as _runExportedFunction,
|
|
30
|
+
runExportedFunctionForServe as _runExportedFunctionForServe,
|
|
31
|
+
runNodeForServe as _runNodeForServe,
|
|
29
32
|
RestoreSignal,
|
|
30
33
|
AgencyAbort,
|
|
31
34
|
AbortedResult,
|
|
@@ -111,6 +114,9 @@ function pass() {
|
|
|
111
114
|
const respondToInterrupts = (interrupts, responses, opts) => _respondToInterrupts({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
112
115
|
const rewindFrom = (checkpoint2, overrides, opts) => _rewindFrom({ ctx: __globalCtx, checkpoint: checkpoint2, overrides, metadata: opts?.metadata });
|
|
113
116
|
const __invokeFunction = (fn, namedArgs) => _runExportedFunction({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
117
|
+
const __invokeFunctionForServe = (fn, namedArgs) => _runExportedFunctionForServe({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
118
|
+
const __invokeNodeForServe = (nodeName, data) => _runNodeForServe({ ctx: __globalCtx, nodeName, data, initializeGlobals: __initializeGlobals });
|
|
119
|
+
const __respondToInterruptsForServe = (interrupts, responses, opts) => _respondToInterruptsForServe({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
114
120
|
const __setDebugger = (dbg) => {
|
|
115
121
|
__globalCtx.debuggerState = dbg;
|
|
116
122
|
};
|
|
@@ -2138,6 +2144,9 @@ export {
|
|
|
2138
2144
|
Resolved,
|
|
2139
2145
|
__getCheckpoints,
|
|
2140
2146
|
__invokeFunction,
|
|
2147
|
+
__invokeFunctionForServe,
|
|
2148
|
+
__invokeNodeForServe,
|
|
2149
|
+
__respondToInterruptsForServe,
|
|
2141
2150
|
__setDebugger,
|
|
2142
2151
|
__setLLMClient,
|
|
2143
2152
|
__setTraceFile,
|
|
@@ -24,8 +24,11 @@ import {
|
|
|
24
24
|
hasInterrupts,
|
|
25
25
|
isDebugger,
|
|
26
26
|
respondToInterrupts as _respondToInterrupts,
|
|
27
|
+
respondToInterruptsForServe as _respondToInterruptsForServe,
|
|
27
28
|
rewindFrom as _rewindFrom,
|
|
28
29
|
runExportedFunction as _runExportedFunction,
|
|
30
|
+
runExportedFunctionForServe as _runExportedFunctionForServe,
|
|
31
|
+
runNodeForServe as _runNodeForServe,
|
|
29
32
|
RestoreSignal,
|
|
30
33
|
AgencyAbort,
|
|
31
34
|
AbortedResult,
|
|
@@ -108,6 +111,9 @@ function pass() {
|
|
|
108
111
|
const respondToInterrupts = (interrupts, responses, opts) => _respondToInterrupts({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
109
112
|
const rewindFrom = (checkpoint2, overrides, opts) => _rewindFrom({ ctx: __globalCtx, checkpoint: checkpoint2, overrides, metadata: opts?.metadata });
|
|
110
113
|
const __invokeFunction = (fn, namedArgs) => _runExportedFunction({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
114
|
+
const __invokeFunctionForServe = (fn, namedArgs) => _runExportedFunctionForServe({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
115
|
+
const __invokeNodeForServe = (nodeName, data) => _runNodeForServe({ ctx: __globalCtx, nodeName, data, initializeGlobals: __initializeGlobals });
|
|
116
|
+
const __respondToInterruptsForServe = (interrupts, responses, opts) => _respondToInterruptsForServe({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
111
117
|
const __setDebugger = (dbg) => {
|
|
112
118
|
__globalCtx.debuggerState = dbg;
|
|
113
119
|
};
|
|
@@ -1060,6 +1066,9 @@ const __sourceMap = { "dist/lib/agents/agency-agent/lib/policy.agency:printPolic
|
|
|
1060
1066
|
export {
|
|
1061
1067
|
__getCheckpoints,
|
|
1062
1068
|
__invokeFunction,
|
|
1069
|
+
__invokeFunctionForServe,
|
|
1070
|
+
__invokeNodeForServe,
|
|
1071
|
+
__respondToInterruptsForServe,
|
|
1063
1072
|
__setDebugger,
|
|
1064
1073
|
__setLLMClient,
|
|
1065
1074
|
__setTraceFile,
|
|
@@ -63,8 +63,11 @@ import {
|
|
|
63
63
|
hasInterrupts,
|
|
64
64
|
isDebugger,
|
|
65
65
|
respondToInterrupts as _respondToInterrupts,
|
|
66
|
+
respondToInterruptsForServe as _respondToInterruptsForServe,
|
|
66
67
|
rewindFrom as _rewindFrom,
|
|
67
68
|
runExportedFunction as _runExportedFunction,
|
|
69
|
+
runExportedFunctionForServe as _runExportedFunctionForServe,
|
|
70
|
+
runNodeForServe as _runNodeForServe,
|
|
68
71
|
RestoreSignal,
|
|
69
72
|
AgencyAbort,
|
|
70
73
|
AbortedResult,
|
|
@@ -148,6 +151,9 @@ function pass() {
|
|
|
148
151
|
const respondToInterrupts = (interrupts, responses, opts) => _respondToInterrupts({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
149
152
|
const rewindFrom = (checkpoint2, overrides, opts) => _rewindFrom({ ctx: __globalCtx, checkpoint: checkpoint2, overrides, metadata: opts?.metadata });
|
|
150
153
|
const __invokeFunction = (fn, namedArgs) => _runExportedFunction({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
154
|
+
const __invokeFunctionForServe = (fn, namedArgs) => _runExportedFunctionForServe({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
155
|
+
const __invokeNodeForServe = (nodeName, data) => _runNodeForServe({ ctx: __globalCtx, nodeName, data, initializeGlobals: __initializeGlobals });
|
|
156
|
+
const __respondToInterruptsForServe = (interrupts, responses, opts) => _respondToInterruptsForServe({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
151
157
|
const __setDebugger = (dbg) => {
|
|
152
158
|
__globalCtx.debuggerState = dbg;
|
|
153
159
|
};
|
|
@@ -3146,6 +3152,9 @@ const __sourceMap = { "dist/lib/agents/agency-agent/lib/repl.agency:searchSlashC
|
|
|
3146
3152
|
export {
|
|
3147
3153
|
__getCheckpoints,
|
|
3148
3154
|
__invokeFunction,
|
|
3155
|
+
__invokeFunctionForServe,
|
|
3156
|
+
__invokeNodeForServe,
|
|
3157
|
+
__respondToInterruptsForServe,
|
|
3149
3158
|
__setDebugger,
|
|
3150
3159
|
__setLLMClient,
|
|
3151
3160
|
__setTraceFile,
|
|
@@ -24,8 +24,11 @@ import {
|
|
|
24
24
|
hasInterrupts,
|
|
25
25
|
isDebugger,
|
|
26
26
|
respondToInterrupts as _respondToInterrupts,
|
|
27
|
+
respondToInterruptsForServe as _respondToInterruptsForServe,
|
|
27
28
|
rewindFrom as _rewindFrom,
|
|
28
29
|
runExportedFunction as _runExportedFunction,
|
|
30
|
+
runExportedFunctionForServe as _runExportedFunctionForServe,
|
|
31
|
+
runNodeForServe as _runNodeForServe,
|
|
29
32
|
RestoreSignal,
|
|
30
33
|
AgencyAbort,
|
|
31
34
|
AbortedResult,
|
|
@@ -108,6 +111,9 @@ function pass() {
|
|
|
108
111
|
const respondToInterrupts = (interrupts, responses, opts) => _respondToInterrupts({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
109
112
|
const rewindFrom = (checkpoint2, overrides, opts) => _rewindFrom({ ctx: __globalCtx, checkpoint: checkpoint2, overrides, metadata: opts?.metadata });
|
|
110
113
|
const __invokeFunction = (fn, namedArgs) => _runExportedFunction({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
114
|
+
const __invokeFunctionForServe = (fn, namedArgs) => _runExportedFunctionForServe({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
115
|
+
const __invokeNodeForServe = (nodeName, data) => _runNodeForServe({ ctx: __globalCtx, nodeName, data, initializeGlobals: __initializeGlobals });
|
|
116
|
+
const __respondToInterruptsForServe = (interrupts, responses, opts) => _respondToInterruptsForServe({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
111
117
|
const __setDebugger = (dbg) => {
|
|
112
118
|
__globalCtx.debuggerState = dbg;
|
|
113
119
|
};
|
|
@@ -1712,6 +1718,9 @@ export {
|
|
|
1712
1718
|
SlotValue,
|
|
1713
1719
|
__getCheckpoints,
|
|
1714
1720
|
__invokeFunction,
|
|
1721
|
+
__invokeFunctionForServe,
|
|
1722
|
+
__invokeNodeForServe,
|
|
1723
|
+
__respondToInterruptsForServe,
|
|
1715
1724
|
__setDebugger,
|
|
1716
1725
|
__setLLMClient,
|
|
1717
1726
|
__setTraceFile,
|
|
@@ -24,8 +24,11 @@ import {
|
|
|
24
24
|
hasInterrupts,
|
|
25
25
|
isDebugger,
|
|
26
26
|
respondToInterrupts as _respondToInterrupts,
|
|
27
|
+
respondToInterruptsForServe as _respondToInterruptsForServe,
|
|
27
28
|
rewindFrom as _rewindFrom,
|
|
28
29
|
runExportedFunction as _runExportedFunction,
|
|
30
|
+
runExportedFunctionForServe as _runExportedFunctionForServe,
|
|
31
|
+
runNodeForServe as _runNodeForServe,
|
|
29
32
|
RestoreSignal,
|
|
30
33
|
AgencyAbort,
|
|
31
34
|
AbortedResult,
|
|
@@ -111,6 +114,9 @@ function pass() {
|
|
|
111
114
|
const respondToInterrupts = (interrupts, responses, opts) => _respondToInterrupts({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
112
115
|
const rewindFrom = (checkpoint2, overrides, opts) => _rewindFrom({ ctx: __globalCtx, checkpoint: checkpoint2, overrides, metadata: opts?.metadata });
|
|
113
116
|
const __invokeFunction = (fn, namedArgs) => _runExportedFunction({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
117
|
+
const __invokeFunctionForServe = (fn, namedArgs) => _runExportedFunctionForServe({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
118
|
+
const __invokeNodeForServe = (nodeName, data) => _runNodeForServe({ ctx: __globalCtx, nodeName, data, initializeGlobals: __initializeGlobals });
|
|
119
|
+
const __respondToInterruptsForServe = (interrupts, responses, opts) => _respondToInterruptsForServe({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
114
120
|
const __setDebugger = (dbg) => {
|
|
115
121
|
__globalCtx.debuggerState = dbg;
|
|
116
122
|
};
|
|
@@ -3011,6 +3017,9 @@ export {
|
|
|
3011
3017
|
ThinkingConfig,
|
|
3012
3018
|
__getCheckpoints,
|
|
3013
3019
|
__invokeFunction,
|
|
3020
|
+
__invokeFunctionForServe,
|
|
3021
|
+
__invokeNodeForServe,
|
|
3022
|
+
__respondToInterruptsForServe,
|
|
3014
3023
|
__setDebugger,
|
|
3015
3024
|
__setLLMClient,
|
|
3016
3025
|
__setTraceFile,
|
|
@@ -33,8 +33,11 @@ import {
|
|
|
33
33
|
hasInterrupts,
|
|
34
34
|
isDebugger,
|
|
35
35
|
respondToInterrupts as _respondToInterrupts,
|
|
36
|
+
respondToInterruptsForServe as _respondToInterruptsForServe,
|
|
36
37
|
rewindFrom as _rewindFrom,
|
|
37
38
|
runExportedFunction as _runExportedFunction,
|
|
39
|
+
runExportedFunctionForServe as _runExportedFunctionForServe,
|
|
40
|
+
runNodeForServe as _runNodeForServe,
|
|
38
41
|
RestoreSignal,
|
|
39
42
|
AgencyAbort,
|
|
40
43
|
AbortedResult,
|
|
@@ -116,6 +119,9 @@ function pass() {
|
|
|
116
119
|
const respondToInterrupts = (interrupts, responses, opts) => _respondToInterrupts({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
117
120
|
const rewindFrom = (checkpoint2, overrides, opts) => _rewindFrom({ ctx: __globalCtx, checkpoint: checkpoint2, overrides, metadata: opts?.metadata });
|
|
118
121
|
const __invokeFunction = (fn, namedArgs) => _runExportedFunction({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
122
|
+
const __invokeFunctionForServe = (fn, namedArgs) => _runExportedFunctionForServe({ ctx: __globalCtx, fn, namedArgs, initializeGlobals: __initializeGlobals });
|
|
123
|
+
const __invokeNodeForServe = (nodeName, data) => _runNodeForServe({ ctx: __globalCtx, nodeName, data, initializeGlobals: __initializeGlobals });
|
|
124
|
+
const __respondToInterruptsForServe = (interrupts, responses, opts) => _respondToInterruptsForServe({ ctx: __globalCtx, interrupts, responses, overrides: opts?.overrides, metadata: opts?.metadata });
|
|
119
125
|
const __setDebugger = (dbg) => {
|
|
120
126
|
__globalCtx.debuggerState = dbg;
|
|
121
127
|
};
|
|
@@ -2048,6 +2054,9 @@ export {
|
|
|
2048
2054
|
Session,
|
|
2049
2055
|
__getCheckpoints,
|
|
2050
2056
|
__invokeFunction,
|
|
2057
|
+
__invokeFunctionForServe,
|
|
2058
|
+
__invokeNodeForServe,
|
|
2059
|
+
__respondToInterruptsForServe,
|
|
2051
2060
|
__setDebugger,
|
|
2052
2061
|
__setLLMClient,
|
|
2053
2062
|
__setTraceFile,
|